JP6862133B2 - Cutting machine - Google Patents

Cutting machine Download PDF

Info

Publication number
JP6862133B2
JP6862133B2 JP2016183912A JP2016183912A JP6862133B2 JP 6862133 B2 JP6862133 B2 JP 6862133B2 JP 2016183912 A JP2016183912 A JP 2016183912A JP 2016183912 A JP2016183912 A JP 2016183912A JP 6862133 B2 JP6862133 B2 JP 6862133B2
Authority
JP
Japan
Prior art keywords
clamp
coordinate
reference point
rotation
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016183912A
Other languages
Japanese (ja)
Other versions
JP2018049422A (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.)
Roland DG Corp
Original Assignee
Roland DG 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 Roland DG Corp filed Critical Roland DG Corp
Priority to JP2016183912A priority Critical patent/JP6862133B2/en
Priority to US15/709,545 priority patent/US10259087B2/en
Publication of JP2018049422A publication Critical patent/JP2018049422A/en
Application granted granted Critical
Publication of JP6862133B2 publication Critical patent/JP6862133B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、切削加工機に関する。 The present invention relates to a cutting machine.

従来より、回転する加工ツールで被加工物を切削加工する切削加工機が知られている。この種の切削加工機では、例えば、特許文献1には、被加工物を切削する切削部と、被加工物を保持する保持部とを備えた切削加工機が開示されている。 Conventionally, a cutting machine that cuts a work piece with a rotating processing tool has been known. In this type of cutting machine, for example, Patent Document 1 discloses a cutting machine including a cutting portion for cutting a work piece and a holding part for holding the work piece.

また、この種の切削加工機には、切削部を、保持部に対して相対的に3次元方向に移動させる移動機構が備えられている。この移動機構によって、保持部が保持している被加工物と、切削部との相対的な位置関係を3次元で変化させて、切削部によって切削される被加工物の部位を適宜変更させることで、被加工物を所望の形状に切削することができる。 Further, this type of cutting machine is provided with a moving mechanism for moving the cutting portion in a three-dimensional direction relative to the holding portion. By this moving mechanism, the relative positional relationship between the workpiece held by the holding portion and the cutting portion is changed in three dimensions, and the part of the workpiece to be cut by the cutting portion is appropriately changed. Therefore, the workpiece can be cut into a desired shape.

特開2013−121466号公報Japanese Unexamined Patent Publication No. 2013-121466

ところで、この種の一部の切削加工機は、被加工物を2つの部材で挟み込み、所定の回転軸を中心にして被加工物を回転させる回転機構を備えている。このような回転機構は、切削加工機の本体などに取り付けられるものである。切削加工機は、回転機構によって被加工物を回転させながら、切削部によって切削される被加工物の部位を適宜変更させることで、被加工物を切削加工する。 By the way, some cutting machines of this type are provided with a rotation mechanism in which a work piece is sandwiched between two members and the work piece is rotated about a predetermined rotation axis. Such a rotation mechanism is attached to the main body of a cutting machine or the like. The cutting machine cuts the work piece by rotating the work piece by a rotation mechanism and appropriately changing the part of the work piece to be cut by the cutting portion.

しかしながら、仮に、回転機構を構成する部材の少なくとも一部が切削加工機の本体に対して、適切な位置から多少ズレた位置に取り付けられており、切削加工機に対する回転機構の組み付け誤差が生じていることがあり得る。このような回転機構の組み付け誤差が生じている場合、回転機構の回転軸がズレるため、被加工物を所望の形状に切削加工することができないおそれがあった。 However, if at least a part of the members constituting the rotating mechanism is attached to the main body of the cutting machine at a position slightly deviated from an appropriate position, an error in assembling the rotating mechanism to the cutting machine occurs. It is possible that there is. When such an assembly error of the rotation mechanism occurs, the rotation axis of the rotation mechanism is displaced, so that there is a possibility that the workpiece cannot be cut into a desired shape.

本発明はかかる点に鑑みてなされたものであり、その目的は、回転機構の組み付け誤差に起因して、被加工物を所望の形状に切削加工することができないことを抑制することが可能な切削加工機を提供することである。 The present invention has been made in view of this point, and an object of the present invention is to prevent the workpiece from being cut into a desired shape due to an assembly error of the rotation mechanism. To provide a cutting machine.

本発明に係る切削加工機は、本体と、切削ヘッドと、回転機構と、移動機構と、制御装置とを備えている。前記切削ヘッドは、加工ツールおよび検出ツールのうち何れか一方のツールを把持可能な把持部を有する。前記回転機構は、被加工物および検出治具のうち何れか一方の部材を挟み込む第1クランプおよび第2クランプと、第1クランプを回転させるモータとを有する。前記移動機構は、前記把持部を前記回転機構に対して相対的に3次元方向に移動させる。前記制御装置は、前記移動機構を制御する。前記回転機構には、前記第1クランプと前記第2クランプによって挟まれた部材を回転させる回転軸が設定されている。前記回転軸上には、第1基準点と第2基準点が設定されている。前記制御装置は、記憶部と、第1基準点検出部と、第2基準点検出部と、回転軸オフセット算出部と、移動制御部とを備えている。前記記憶部には、前記回転軸の設計上の位置である回転軸設計位置が記憶されている。前記第1基準点検出部は、前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第1基準点の実際の位置を検出する。前記第2基準点検出部は、前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第2基準点の実際の位置を検出する。前記回転軸オフセット算出部は、前記第1基準点および前記第2基準点に基づいて、前記回転軸の実際の位置である回転軸実位置を算出し、前記回転軸実位置と、前記回転軸設計位置とを比較することで回転軸の補正値である回転軸オフセットを算出する。前記移動制御部は、前記回転軸オフセットに基づいて、前記移動機構を制御する。 The cutting machine according to the present invention includes a main body, a cutting head, a rotating mechanism, a moving mechanism, and a control device. The cutting head has a grip portion capable of gripping one of a machining tool and a detection tool. The rotation mechanism includes a first clamp and a second clamp that sandwich one of the workpiece and the detection jig, and a motor that rotates the first clamp. The moving mechanism moves the grip portion in a three-dimensional direction relative to the rotating mechanism. The control device controls the moving mechanism. The rotation mechanism is set with a rotation shaft that rotates a member sandwiched between the first clamp and the second clamp. A first reference point and a second reference point are set on the rotation axis. The control device includes a storage unit, a first reference point detection unit, a second reference point detection unit, a rotation axis offset calculation unit, and a movement control unit. The storage unit stores the rotation axis design position, which is the design position of the rotation axis. The first reference point detection unit controls the movement mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp. Then, the actual position of the first reference point is detected. The second reference point detection unit controls the movement mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp. Then, the actual position of the second reference point is detected. The rotation axis offset calculation unit calculates the actual position of the rotation axis, which is the actual position of the rotation axis, based on the first reference point and the second reference point, and the actual position of the rotation axis and the rotation axis The rotation axis offset, which is the correction value of the rotation axis, is calculated by comparing with the design position. The movement control unit controls the movement mechanism based on the rotation axis offset.

上記切削加工機によれば、回転機構の回転軸上の第1基準点の実際の位置と、回転軸上の第2基準点の実際の位置とを検出している。第1基準点と第2基準点の2点から、回転機構の回転軸の実際の傾きなどの位置が得られる。よって、第1基準点と第2基準点とから、回転機構の組み付け誤差を算出することができ、かつ、回転軸の補正値である回転軸オフセットを算出することができる。したがって、切削加工する際、回転軸オフセットを考慮して、移動機構を制御することで、回転機構の回転軸がズレた場合であっても、そのズレを考慮して、切削ヘッドの把持部を回転機構に対して3次元方向に移動させることができる。その結果、回転機構の組み付け誤差が生じた場合であっても、被加工物を所望の形状に切削加工することができる。 According to the cutting machine, the actual position of the first reference point on the rotation axis of the rotation mechanism and the actual position of the second reference point on the rotation axis are detected. From the two points, the first reference point and the second reference point, the position such as the actual inclination of the rotation axis of the rotation mechanism can be obtained. Therefore, the assembly error of the rotation mechanism can be calculated from the first reference point and the second reference point, and the rotation axis offset, which is the correction value of the rotation axis, can be calculated. Therefore, when cutting, by controlling the movement mechanism in consideration of the rotation axis offset, even if the rotation axis of the rotation mechanism is deviated, the grip portion of the cutting head is adjusted in consideration of the deviation. It can be moved in a three-dimensional direction with respect to the rotation mechanism. As a result, the workpiece can be cut into a desired shape even when an assembly error of the rotation mechanism occurs.

本発明によれば、回転機構の組み付け誤差に起因して、被加工物を所望の形状に切削加工することができないことを抑制することが可能な切削加工機を提供することができる。 According to the present invention, it is possible to provide a cutting machine capable of suppressing the inability to cut a workpiece into a desired shape due to an assembly error of the rotation mechanism.

実施形態に係る切削加工機の斜視図である。It is a perspective view of the cutting machine which concerns on embodiment. フロントカバーが省略された状態を示す切削加工機を示す斜視図である。It is a perspective view which shows the cutting machine which shows the state which the front cover is omitted. 回転機構の平面図である。It is a top view of the rotation mechanism. 回転機構の正面図である。It is a front view of the rotation mechanism. マガジンの平面図である。It is a plan view of a magazine. マガジンの正面図である。It is a front view of a magazine. 切削加工機のブロック図である。It is a block diagram of a cutting machine. 制御装置のブロック図である。It is a block diagram of a control device. 制御装置のブロック図である。It is a block diagram of a control device. 回転軸オフセットを算出する手順を示したフローチャートである。It is a flowchart which showed the procedure of calculating the rotation axis offset. 偏心オフセットを算出する手順を示したフローチャートである。It is a flowchart which showed the procedure of calculating an eccentricity offset. 第1クランプの回転角度が0°のときの第1クランプの傾きを調整する手順を示したフローチャートである。It is a flowchart which showed the procedure of adjusting the inclination of the 1st clamp when the rotation angle of the 1st clamp is 0 °. 図3のXIII−XIII断面における検出治具の断面図である。It is sectional drawing of the detection jig in the cross section of XIII-XIII of FIG. 図3のXIV−XIV断面における検出治具の断面図である。It is sectional drawing of the detection jig in the cross section of XIV-XIV of FIG. 第1基準点および第2基準点を検出する手順を示したフローチャートである。It is a flowchart which showed the procedure for detecting the 1st reference point and the 2nd reference point. 第1クランプの回転量を補正する手順を示したフローチャートである。It is a flowchart which showed the procedure of correcting the rotation amount of the 1st clamp. 図3のXVII−XVII断面における第1クランプの断面図である。It is sectional drawing of the 1st clamp in the cross section of XVII-XVII of FIG.

以下、図面を参照しながら、本発明の実施形態に係る切削加工機について説明する。なお、ここで説明される実施形態は、当然ながら特に本発明を限定することを意図したものではない。また、同じ作用を奏する部材・部位には同じ符号を付し、重複する説明は適宜省略または簡略化する。 Hereinafter, the cutting machine according to the embodiment of the present invention will be described with reference to the drawings. It should be noted that the embodiments described here are, of course, not intended to particularly limit the present invention. In addition, members and parts that perform the same action are designated by the same reference numerals, and duplicate explanations will be omitted or simplified as appropriate.

図1は、本実施形態に係る切削加工機100の斜視図である。図2は、フロントカバー20が省略された状態を示す切削加工機100の斜視図である。以下の説明では、切削加工機100を正面から見たときに、切削加工機100から遠ざかる方を前方、切削加工機100に近づく方を後方とする。左、右、上、下とは、切削加工機100を正面から見たときの左、右、上、下をそれぞれ意味するものとする。また、図面中の符号F、Rr、L、R、U、Dは、それぞれ前、後、左、右、上、下を意味するものとする。ただし、上記方向は説明の便宜上定めた方向に過ぎず、切削加工機100の設置態様を何ら限定するものではなく、本発明を何ら限定するものでもない。また、図面中の符号Xは左右方向を示している。符号Yは前後方向を示している。符号Zは上下方向を示している。本実施形態では、切削加工機100を構成する部位などの位置は、XYZ直交座標系の座標で表されるものとする。ここでは、左右方向Xは、X軸方向であり、左側がX軸のマイナス側であり、右側がX軸のプラス側である。前後方向Yは、Y軸方向であり、前側がY軸のマイナス側であり、後側がY軸のプラス側である。上下方向Zは、Z軸方向であり、下側がZ軸のマイナス側であり、上側がZ軸のプラス側である。なお、X軸方向、Y軸方向、および、Z軸方向は特に限定されず、切削加工機100の形態に応じて適宜に設定可能である。 FIG. 1 is a perspective view of the cutting machine 100 according to the present embodiment. FIG. 2 is a perspective view of the cutting machine 100 showing a state in which the front cover 20 is omitted. In the following description, when the cutting machine 100 is viewed from the front, the side away from the cutting machine 100 is referred to as the front, and the side approaching the cutting machine 100 is referred to as the rear. The terms left, right, top, and bottom mean left, right, top, and bottom when the cutting machine 100 is viewed from the front. Further, the symbols F, Rr, L, R, U, and D in the drawing mean front, back, left, right, top, and bottom, respectively. However, the above-mentioned direction is merely a direction determined for convenience of explanation, and does not limit the installation mode of the cutting machine 100 at all, nor does it limit the present invention at all. Further, the reference numeral X in the drawing indicates the left-right direction. Reference numeral Y indicates a front-back direction. Reference numeral Z indicates a vertical direction. In the present embodiment, the positions of the parts and the like constituting the cutting machine 100 are represented by the coordinates of the XYZ Cartesian coordinate system. Here, the left-right direction X is the X-axis direction, the left side is the minus side of the X-axis, and the right side is the plus side of the X-axis. The front-rear direction Y is the Y-axis direction, the front side is the minus side of the Y-axis, and the rear side is the plus side of the Y-axis. The vertical direction Z is the Z-axis direction, the lower side is the negative side of the Z-axis, and the upper side is the positive side of the Z-axis. The X-axis direction, the Y-axis direction, and the Z-axis direction are not particularly limited, and can be appropriately set according to the form of the cutting machine 100.

図2に示すように、切削加工機100は、加工ツール6を回転させて、切削対象である被加工物5を切削加工するものである。本実施形態では、切削加工機100は、箱状に形成されている。図1に示すように、切削加工機100は、本体10と、フロントカバー20と、操作パネル25とを備えている。図2に示すように、本体10は、内部に空間を有しており、本体10の前部は開口している。本実施形態では、本体10は、ベース部11と、前壁部12と、後壁部13と、左壁部14と、右壁部15とを備えている。ベース部11は、板状の部材である。前壁部12は、ベース部11の前端から上方に向かって延びている。後壁部13は、ベース部11の後端から上方に向かって延びている。左壁部14は、ベース部11の左端から上方に向かって延びている。左壁部14の前端の下部は、前壁部12の左端に接続され、左壁部14の後端は、後壁部13の左端に接続されている。右壁部15は、ベース部11の右端から上方に向かって延びている。右壁部15の前端の下部は、前壁部12の右端に接続され、右壁部15の後端は、後壁部13の右端に接続されている。 As shown in FIG. 2, the cutting machine 100 rotates the machining tool 6 to cut the workpiece 5 to be cut. In this embodiment, the cutting machine 100 is formed in a box shape. As shown in FIG. 1, the cutting machine 100 includes a main body 10, a front cover 20, and an operation panel 25. As shown in FIG. 2, the main body 10 has a space inside, and the front portion of the main body 10 is open. In the present embodiment, the main body 10 includes a base portion 11, a front wall portion 12, a rear wall portion 13, a left wall portion 14, and a right wall portion 15. The base portion 11 is a plate-shaped member. The front wall portion 12 extends upward from the front end of the base portion 11. The rear wall portion 13 extends upward from the rear end of the base portion 11. The left wall portion 14 extends upward from the left end of the base portion 11. The lower part of the front end of the left wall portion 14 is connected to the left end of the front wall portion 12, and the rear end of the left wall portion 14 is connected to the left end of the rear wall portion 13. The right wall portion 15 extends upward from the right end of the base portion 11. The lower part of the front end of the right wall portion 15 is connected to the right end of the front wall portion 12, and the rear end of the right wall portion 15 is connected to the right end of the rear wall portion 13.

図1に示すように、フロントカバー20は、本体10の前部の開口を開閉自在に設けられている。例えば、フロントカバー20は、後端を軸に回転可能なように、本体10に支持されている。フロントカバー20には、本体10の内部の空間を目視するための窓部21が設けられていてもよい。窓部21は、例えば、透明のアクリル板によって形成されている。 As shown in FIG. 1, the front cover 20 is provided with an opening at the front portion of the main body 10 so as to be openable and closable. For example, the front cover 20 is supported by the main body 10 so as to be rotatable around the rear end. The front cover 20 may be provided with a window portion 21 for visually observing the space inside the main body 10. The window portion 21 is formed of, for example, a transparent acrylic plate.

操作パネル25は、ユーザが切削加工に関する操作などを行うものであり、前壁部12の中央部分に設けられている。操作パネル25には、例えば、切削に要する時間、切削状況などの切削に関する情報が表示される表示部25a、および、切削に関する情報をユーザが入力するための入力部25bなどが備えられている。 The operation panel 25 is provided at the central portion of the front wall portion 12 for the user to perform operations related to cutting. The operation panel 25 is provided with, for example, a display unit 25a for displaying information related to cutting such as the time required for cutting and a cutting status, and an input unit 25b for inputting information related to cutting by the user.

次に、切削加工機100の内部構成について説明する。図2に示すように、切削加工機100は、一対の第1ガイドレール30と、キャリッジ32と、切削ヘッド40と、テーブル50と、回転機構60と、マガジン70と、制御装置80(図7参照)とを備えている。 Next, the internal configuration of the cutting machine 100 will be described. As shown in FIG. 2, the cutting machine 100 includes a pair of first guide rails 30, a carriage 32, a cutting head 40, a table 50, a rotation mechanism 60, a magazine 70, and a control device 80 (FIG. 7). See) and.

一対の第1ガイドレール30は、切削ヘッド40を左右方向Xにガイドするものである。本実施形態では、第1ガイドレール30は、本体10内に2つ配置されている。一対の第1ガイドレール30は、上下方向Zに並んで配置されており、それぞれ左右方向Xに延びた部材である。一対の第1ガイドレール30の右端は、それぞれ左壁部14に接続されている。一対の第1ガイドレール30の左端は、それぞれ右壁部15に接続されている。なお、第1ガイドレール30の数は特に限定されない。例えば、第1ガイドレール30の数は、1つであってもよい。 The pair of first guide rails 30 guide the cutting head 40 in the left-right direction X. In this embodiment, two first guide rails 30 are arranged in the main body 10. The pair of first guide rails 30 are arranged side by side in the vertical direction Z, and are members extending in the horizontal direction X, respectively. The right ends of the pair of first guide rails 30 are connected to the left wall portion 14, respectively. The left ends of the pair of first guide rails 30 are connected to the right wall portion 15, respectively. The number of the first guide rails 30 is not particularly limited. For example, the number of the first guide rails 30 may be one.

キャリッジ32は、一対の第1ガイドレール30に対して摺動自在に設けられている。キャリッジ32は、一対の第1ガイドレール30に係合している。キャリッジ32は、2つの第1ガイドレール30に沿って左右方向Xに移動可能である。本実施形態では、キャリッジ32には、第1モータ32A(図7参照)が接続されている。第1モータ32Aの駆動力を受けて、キャリッジ32は、左右方向Xに移動する。 The carriage 32 is slidably provided with respect to the pair of first guide rails 30. The carriage 32 is engaged with a pair of first guide rails 30. The carriage 32 can move in the left-right direction X along the two first guide rails 30. In the present embodiment, the first motor 32A (see FIG. 7) is connected to the carriage 32. The carriage 32 moves in the left-right direction X by receiving the driving force of the first motor 32A.

本実施形態では、キャリッジ32は、キャリッジ用ケース34と、一対の第2ガイドレール35と、摺動部材36(図7参照)とを備えている。キャリッジ用ケース34は、一対の第1ガイドレール30に係合している。キャリッジ用ケース34は、内部に空間を有している。一対の第2ガイドレール35は、上下方向Zに延びた部材であり、キャリッジ用ケース34の内部の空間に設けられている。図7の摺動部材36は、図示は省略するが、一対の第2ガイドレール35に係合している。摺動部材36は、一対の第2ガイドレール35に沿って上下方向Zに移動することが可能である。本実施形態では、図7に示すように、摺動部材36には、第2モータ36Aが接続されている。第2モータ36Aの駆動力を受けて、摺動部材36は上下方向Zに移動する。図示は省略するが、摺動部材36には、切削ヘッド40が設けられている。 In the present embodiment, the carriage 32 includes a carriage case 34, a pair of second guide rails 35, and a sliding member 36 (see FIG. 7). The carriage case 34 is engaged with a pair of first guide rails 30. The carriage case 34 has a space inside. The pair of second guide rails 35 are members extending in the vertical direction Z, and are provided in the space inside the carriage case 34. Although not shown, the sliding member 36 of FIG. 7 is engaged with a pair of second guide rails 35. The sliding member 36 can move in the vertical direction Z along the pair of second guide rails 35. In the present embodiment, as shown in FIG. 7, the second motor 36A is connected to the sliding member 36. The sliding member 36 moves in the vertical direction Z in response to the driving force of the second motor 36A. Although not shown, the sliding member 36 is provided with a cutting head 40.

図2に示すように、切削ヘッド40は、加工ツール6を使用して、被加工物5を切削するものである。また、切削ヘッド40は、検出ツール7を使用して、マガジン70の実際の位置を検出するものでもある。本実施形態では、加工ツール6は、被加工物5を切削加工する際に使用されるものであり、下部に刃物部を有している。検出ツール7は、マガジン70などの切削加工機100を構成する部位の位置を検出するものであり、下部には刃物部が設けられておらず、滑らかな面となっている。 As shown in FIG. 2, the cutting head 40 cuts the workpiece 5 by using the machining tool 6. The cutting head 40 also uses the detection tool 7 to detect the actual position of the magazine 70. In the present embodiment, the machining tool 6 is used when cutting the workpiece 5, and has a cutting tool portion at the lower portion. The detection tool 7 detects the position of a portion constituting the cutting machine 100 such as the magazine 70, and has a smooth surface without a cutting tool portion at the lower portion.

切削ヘッド40は、キャリッジ32の左右方向Xへの移動に伴い、一対の第1ガイドレール30に沿って、左右方向Xへ移動する。また、切削ヘッド40は、摺動部材36(図7参照)の上下方向Zへの移動に伴い、一対の第2ガイドレール35に沿って上下方向Zへ移動する。本実施形態では、切削ヘッド40は、把持部42と、スピンドル44とを備えている。 The cutting head 40 moves in the left-right direction X along the pair of first guide rails 30 as the carriage 32 moves in the left-right direction X. Further, the cutting head 40 moves in the vertical direction Z along the pair of second guide rails 35 as the sliding member 36 (see FIG. 7) moves in the vertical direction Z. In the present embodiment, the cutting head 40 includes a grip portion 42 and a spindle 44.

把持部42は、加工ツール6および検出ツール7のうち何れか一方のツールを把持可能なものである。ここでは、図示は省略するが、把持部42は水平方向に並んだ複数の部材によって構成されており、これら複数の部材で加工ツール6の上端部を挟むことで、把持部42は、加工ツール6および検出ツール7のうちの何れかを把持することが可能となる。本実施形態では、把持部42の上端には、スピンドル44が設けられている。 The grip portion 42 can grip one of the machining tool 6 and the detection tool 7. Although not shown here, the grip portion 42 is composed of a plurality of members arranged in the horizontal direction, and by sandwiching the upper end portion of the machining tool 6 between these plurality of members, the grip portion 42 can be formed by the machining tool. It becomes possible to grasp any of 6 and the detection tool 7. In this embodiment, a spindle 44 is provided at the upper end of the grip portion 42.

スピンドル44は、把持部42に把持された加工ツール6または検出ツール7を回転させるものである。詳しくは、スピンドル44は、把持部42を回転させることで、把持部42によって把持された加工ツール6および検出ツール7の何れかを回転軸を中心にして回転させる。ここでは、回転軸は上下方向Z、すなわち、Z軸方向である。本実施形態では、スピンドル44には、スピンドル44を回転させる第3モータ44A(図7参照)が接続されている。第3モータ44Aの駆動力を受けて、スピンドル44が回転する。そして、スピンドル44の回転に伴って、把持部42に把持された加工ツール6および検出ツール7の何れかが回転する。図示は省略するが、スピンドル44は、一対の第2ガイドレール35に摺動可能に設けられた摺動部材36(図7参照)に設けられている。スピンドル44は、摺動部材36に対して回転可能に設けられている。ここでは、摺動部材36による上下方向Zへの移動に伴って、切削ヘッド40の把持部42、把持部42に把持された加工ツール6または検出ツール7、および、スピンドル44は、高さ方向Zへ移動する。 The spindle 44 rotates the machining tool 6 or the detection tool 7 gripped by the grip portion 42. Specifically, the spindle 44 rotates the grip portion 42 to rotate either the processing tool 6 or the detection tool 7 gripped by the grip portion 42 about the rotation axis. Here, the rotation axis is the vertical direction Z, that is, the Z-axis direction. In the present embodiment, the spindle 44 is connected to a third motor 44A (see FIG. 7) that rotates the spindle 44. The spindle 44 rotates under the driving force of the third motor 44A. Then, as the spindle 44 rotates, either the processing tool 6 or the detection tool 7 gripped by the grip portion 42 rotates. Although not shown, the spindle 44 is provided on a sliding member 36 (see FIG. 7) slidably provided on the pair of second guide rails 35. The spindle 44 is rotatably provided with respect to the sliding member 36. Here, as the sliding member 36 moves in the vertical direction Z, the grip portion 42 of the cutting head 40, the processing tool 6 or the detection tool 7 gripped by the grip portion 42, and the spindle 44 move in the height direction. Move to Z.

テーブル50は、回転機構60が取り付けられるものである。また、テーブル50には、マガジン70が設けられている。テーブル50は、本体10内に配置されている。テーブル50は、切削ヘッド40よりも下方に配置されている。 The table 50 is to which the rotation mechanism 60 is attached. Further, the table 50 is provided with a magazine 70. The table 50 is arranged in the main body 10. The table 50 is arranged below the cutting head 40.

本実施形態では、テーブル50は、前後方向Yに移動可能に構成されている。ここでは、図示は省略するが、ベース部11には、前後方向Yに延びた一対のレールが設けられている。テーブル50は、上記一対のレールに対して摺動可能に設けられている。本実施形態では、図4に示すように、テーブル50には、第4モータ50Aが接続されている。第4モータ50Aの駆動力を受けて、前後方向Yに移動する。 In the present embodiment, the table 50 is configured to be movable in the front-rear direction Y. Although not shown here, the base portion 11 is provided with a pair of rails extending in the front-rear direction Y. The table 50 is slidably provided with respect to the pair of rails. In this embodiment, as shown in FIG. 4, a fourth motor 50A is connected to the table 50. It moves in the front-rear direction Y by receiving the driving force of the fourth motor 50A.

次に、回転機構60について説明する。切削加工の際、回転機構60は、被加工物5を支持しながら回転させる機構である。回転機構60は、取り外し自在にテーブル50に設けられている。図3は、回転機構60の平面図である。図4は、回転機構60の正面図である。本実施形態では、図3に示すように、回転機構60は、回転機構本体61と、一対の第3ガイドレール63と、第1クランプ65と、第2クランプ67とを備えている。 Next, the rotation mechanism 60 will be described. At the time of cutting, the rotation mechanism 60 is a mechanism for rotating the workpiece 5 while supporting it. The rotation mechanism 60 is detachably provided on the table 50. FIG. 3 is a plan view of the rotation mechanism 60. FIG. 4 is a front view of the rotation mechanism 60. In the present embodiment, as shown in FIG. 3, the rotation mechanism 60 includes a rotation mechanism main body 61, a pair of third guide rails 63, a first clamp 65, and a second clamp 67.

図4に示すように、回転機構本体61は、底板61aと、左支持部材61bと、右支持部材61cとを有している。底板61aは、矩形状の板である。底板61aは、テーブル50上に配置されている。左支持部材61bは、底板61aから上方に向かって延びている。右支持部材61cは、底板61aの右端に固定されており、底板61aの右端から上方に向かって延びている。 As shown in FIG. 4, the rotation mechanism main body 61 has a bottom plate 61a, a left support member 61b, and a right support member 61c. The bottom plate 61a is a rectangular plate. The bottom plate 61a is arranged on the table 50. The left support member 61b extends upward from the bottom plate 61a. The right support member 61c is fixed to the right end of the bottom plate 61a and extends upward from the right end of the bottom plate 61a.

図3に示すように、一対の第3ガイドレール63は、左右方向Xに延びた部材であり、前後方向Yに並んで配置されている。一対の第3ガイドレール63の左端は、左支持部材61bにそれぞれ接続されている。一対の第3ガイドレール63の右端は、右支持部材61cにそれぞれ接続されている。本実施形態では、一対の第3ガイドレール63には、スライダ68が摺動自在に設けられている。 As shown in FIG. 3, the pair of third guide rails 63 are members extending in the left-right direction X, and are arranged side by side in the front-rear direction Y. The left ends of the pair of third guide rails 63 are connected to the left support member 61b, respectively. The right ends of the pair of third guide rails 63 are connected to the right support member 61c, respectively. In the present embodiment, the pair of third guide rails 63 are slidably provided with sliders 68.

第1クランプ65および第2クランプ67は、被加工物5を保持するものである。第1クランプ65と第2クランプ67によって被加工物5が挟まれることで、被加工物5は保持される。なお、図3および図4では、第1クランプ65および第2クランプ67は、検出治具4を保持している。検出治具4は、回転機構60の実際の位置を検出する際に使用されるものである。ここでは、検出治具4は、円筒形状である。検出治具4の横断面の形状は、円形状である。 The first clamp 65 and the second clamp 67 hold the workpiece 5. The workpiece 5 is held by sandwiching the workpiece 5 between the first clamp 65 and the second clamp 67. In addition, in FIGS. 3 and 4, the first clamp 65 and the second clamp 67 hold the detection jig 4. The detection jig 4 is used when detecting the actual position of the rotation mechanism 60. Here, the detection jig 4 has a cylindrical shape. The cross-sectional shape of the detection jig 4 is circular.

本実施形態では、第1クランプ65は、回転機構本体61の左支持部材61bに回転可能に設けられている。第2クランプ67は、一対の第3ガイドレール63に摺動自在に設けられたスライダ68に回転可能に設けられている。ここでは、第2クランプ67が一対の第3ガイドレール63に沿って移動することで、第1クランプ65と第2クランプ67との間隔を変更することができる。よって、被加工物5の左右方向Xの長さに応じて、第1クランプ65と第2クランプ67との間隔を変更することで、様々な大きさの被加工物5を第1クランプ65および第2クランプ67によって保持することができる。 In the present embodiment, the first clamp 65 is rotatably provided on the left support member 61b of the rotation mechanism main body 61. The second clamp 67 is rotatably provided on a slider 68 slidably provided on the pair of third guide rails 63. Here, the distance between the first clamp 65 and the second clamp 67 can be changed by moving the second clamp 67 along the pair of third guide rails 63. Therefore, by changing the distance between the first clamp 65 and the second clamp 67 according to the length of the workpiece 5 in the left-right direction X, the workpieces 5 of various sizes can be transferred to the first clamp 65 and the first clamp 65. It can be held by the second clamp 67.

本実施形態では、第1クランプ65は、左右方向X、すなわち、X軸方向に延びた回転軸を中心に自らが回転する。ここでは、第1クランプ65には、第1クランプ65を回転させる第5モータ65Aが接続されている。ただし、第5モータ65Aは、第2クランプ67に接続され、第2クランプ67を回転させるものであってもよい。ここでは、第5モータ65Aが駆動することによって、第1クランプ65が回転する。そして、第1クランプ65が回転することで、第1クランプ65と第2クランプ67によって保持された被加工物5がX軸方向に延びた回転軸を中心に回転する。なお、第2クランプ67は、第1クランプ65の回転に伴い、被加工物5とともに回転する。 In the present embodiment, the first clamp 65 rotates about the left-right direction X, that is, the rotation axis extending in the X-axis direction. Here, a fifth motor 65A that rotates the first clamp 65 is connected to the first clamp 65. However, the fifth motor 65A may be connected to the second clamp 67 to rotate the second clamp 67. Here, the first clamp 65 is rotated by driving the fifth motor 65A. Then, as the first clamp 65 rotates, the workpiece 5 held by the first clamp 65 and the second clamp 67 rotates about a rotation axis extending in the X-axis direction. The second clamp 67 rotates together with the workpiece 5 as the first clamp 65 rotates.

次に、マガジン70について説明する。図5は、マガジン70の平面図である。図6は、マガジン70の正面図である。マガジン70は、図6に示すように、検出ツール7、および、複数の加工ツール6を収容することが可能なものである。図2に示すように、マガジン70は、本体10内に配置されており、テーブル50に設けられている。図5に示すように、マガジン70は、マガジン本体72と、複数のストッカー74と、ツールセンサ76と、第1突起78aと、第2突起78bとを有している。マガジン本体72は、箱状に形成されている。 Next, the magazine 70 will be described. FIG. 5 is a plan view of the magazine 70. FIG. 6 is a front view of the magazine 70. As shown in FIG. 6, the magazine 70 can accommodate the detection tool 7 and a plurality of processing tools 6. As shown in FIG. 2, the magazine 70 is arranged in the main body 10 and is provided on the table 50. As shown in FIG. 5, the magazine 70 has a magazine main body 72, a plurality of stockers 74, a tool sensor 76, a first protrusion 78a, and a second protrusion 78b. The magazine body 72 is formed in a box shape.

複数のストッカー74には、加工ツール6および検出ツール7のうちの何れかが収容される。本実施形態では、マガジン本体72の上面に穴が形成されており、その穴がストッカー74である。複数のストッカー74は、左右方向Xに並んで配置されているが、複数のストッカー74の位置は特に限定されない。本実施形態では、ストッカー74の数は6つであり、本実施形態に係るマガジン70には、加工ツール6および検出ツール7を併せて6つ収容することが可能である。しかしながら、ストッカー74の数は特に限定されず、例えば、7つ以上であってもよい。 One of the machining tool 6 and the detection tool 7 is housed in the plurality of stockers 74. In the present embodiment, a hole is formed on the upper surface of the magazine body 72, and the hole is the stocker 74. The plurality of stockers 74 are arranged side by side in the left-right direction X, but the positions of the plurality of stockers 74 are not particularly limited. In the present embodiment, the number of stockers 74 is six, and the magazine 70 according to the present embodiment can accommodate a total of six processing tools 6 and detection tools 7. However, the number of stockers 74 is not particularly limited, and may be, for example, seven or more.

ツールセンサ76は、切削ヘッド40の把持部42に加工ツール6または検出ツール7が把持されているか否かを検出するものである。ツールセンサ76は、加工ツール6または検出ツール7が接触したことを検出することで、把持部42に加工ツール6または検出ツール7が把持されているか否かを確認する。ツールセンサ76が加工ツール6または検出ツール7の接触を検知する手法は特に限定されない。例えば、本実施形態では、ツールセンサ76は円柱形状である。ツールセンサ76の上面には凸部が設けられている。この凸部は、マガジン本体72の上面よりも上方に突出するように形成されている。ツールセンサ76の凸部には、オンおよびオフを機械的に切り替え可能なスイッチ76aを有する接触センサ(図示せず)が設けられている。この接触センサは、例えば、スイッチ76aの上面が微小荷重によって微小に変位することで、スイッチ76aにおけるオンおよびオフを機械的に切り替える。スイッチ76aがオンまたはオフに切り替わることによって、加工ツール6または検出ツール7の接触を検出する。本実施形態では、ツールセンサ76は、マガジン本体72におけるストッカー74が形成された部位よりも左方の部位に設けられている。しかしながら、ツールセンサ76の位置は特に限定されない。例えば、ツールセンサ76は、ストッカー74が形成されたマガジン本体72の部位よりも右方のマガジン本体72の部位に設けられていてもよい。 The tool sensor 76 detects whether or not the machining tool 6 or the detection tool 7 is gripped by the grip portion 42 of the cutting head 40. By detecting that the machining tool 6 or the detection tool 7 is in contact with the tool sensor 76, it is confirmed whether or not the machining tool 6 or the detection tool 7 is gripped by the grip portion 42. The method by which the tool sensor 76 detects the contact of the processing tool 6 or the detection tool 7 is not particularly limited. For example, in this embodiment, the tool sensor 76 has a cylindrical shape. A convex portion is provided on the upper surface of the tool sensor 76. The convex portion is formed so as to project upward from the upper surface of the magazine body 72. A contact sensor (not shown) having a switch 76a that can be mechanically switched on and off is provided on the convex portion of the tool sensor 76. In this contact sensor, for example, the upper surface of the switch 76a is slightly displaced by a minute load to mechanically switch on and off in the switch 76a. The contact of the machining tool 6 or the detection tool 7 is detected by switching the switch 76a on or off. In the present embodiment, the tool sensor 76 is provided at a portion of the magazine body 72 on the left side of the portion where the stocker 74 is formed. However, the position of the tool sensor 76 is not particularly limited. For example, the tool sensor 76 may be provided at a portion of the magazine body 72 to the right of the portion of the magazine body 72 on which the stocker 74 is formed.

第1突起78aおよび第2突起78bは、マガジン70の実際の位置を検出する際に使用される突起である。本実施形態では、図6に示すように、第1突起78aおよび第2突起78bは、マガジン本体72の上面に設けられており、マガジン本体72の上面よりも上方に向かって突出している。第1突起78aおよび第2突起78bのそれぞれの位置は特に限定されない。本実施形態では、図5に示すように、第1突起78aは、第2突起78bよりも左方に位置している。具体的には、第1突起78aは、平面視において、複数のストッカー74よりも左方に位置している。また、第1突起78aは、平面視において、ツールセンサ76よりも右方に位置している。すなわち、第1突起78aは、平面視において、ツールセンサ76と、複数のストッカー74のうち最も左に位置するストッカー74との間に配置されている。第2突起78bは、平面視において、複数のストッカー74よりも右方に位置している。第1突起78aと第2突起78bとの間には、複数のストッカー74が配置されている。本実施形態では、複数のストッカー74、ツールセンサ76、第1突起78aおよび第2突起78bは、平面視において、左右方向Xに並んでそれぞれ配置されている。図6に示すように、第1突起78aの上面の高さと、第2突起78bの上面の高さとは同じである。第1突起78aおよび第2突起78bは、それぞれ円筒形状である。なお、本実施形態では、第1突起78aは、本発明の「突起」の一例である。 The first protrusion 78a and the second protrusion 78b are protrusions used when detecting the actual position of the magazine 70. In the present embodiment, as shown in FIG. 6, the first protrusion 78a and the second protrusion 78b are provided on the upper surface of the magazine main body 72, and project upward from the upper surface of the magazine main body 72. The positions of the first protrusion 78a and the second protrusion 78b are not particularly limited. In the present embodiment, as shown in FIG. 5, the first protrusion 78a is located to the left of the second protrusion 78b. Specifically, the first protrusion 78a is located to the left of the plurality of stockers 74 in a plan view. Further, the first protrusion 78a is located to the right of the tool sensor 76 in a plan view. That is, the first protrusion 78a is arranged between the tool sensor 76 and the leftmost stocker 74 among the plurality of stockers 74 in a plan view. The second protrusion 78b is located to the right of the plurality of stockers 74 in a plan view. A plurality of stockers 74 are arranged between the first protrusion 78a and the second protrusion 78b. In the present embodiment, the plurality of stockers 74, the tool sensor 76, the first protrusion 78a, and the second protrusion 78b are arranged side by side in the left-right direction X in a plan view. As shown in FIG. 6, the height of the upper surface of the first protrusion 78a and the height of the upper surface of the second protrusion 78b are the same. The first protrusion 78a and the second protrusion 78b each have a cylindrical shape. In the present embodiment, the first protrusion 78a is an example of the "protrusion" of the present invention.

図7は、切削加工機100のブロック図である。図2および図7に示すように、本実施形態では、キャリッジ32に接続された第1モータ32Aが駆動して、キャリッジ32、および、キャリッジ32に設けられた切削ヘッド40が左右方向Xに移動することで、切削ヘッド40の把持部42に把持された加工ツール6または検出ツール7は、回転機構60に対して相対的に左右方向Xに移動する。摺動部材36に接続された第2モータ36Aが駆動して、摺動部材36、および、摺動部材36に設けられた切削ヘッド40が上下方向Zに移動することで、把持部42に把持された加工ツール6または検出ツール7は、回転機構60に対して相対的に上下方向Zに移動する。また、テーブル50に接続された第4モータ50Aが駆動して、テーブル50、および、テーブル50に取り付けられた回転機構60が前後方向Yに移動することで、把持部42に把持された加工ツール6または検出ツール7は、回転機構60に対して相対的に前後方向Xに移動する。本実施形態では、第1モータ32A、第2モータ36A、および、第4モータ50Aを総称して、移動機構90という。言い換えると、移動機構90は、第1モータ32Aと、第2モータ36Aと、第4モータ50Aを有しており、切削ヘッド40の把持部42を、回転機構60に対して相対的に3次元方向に移動させる機構である。 FIG. 7 is a block diagram of the cutting machine 100. As shown in FIGS. 2 and 7, in the present embodiment, the first motor 32A connected to the carriage 32 is driven, and the carriage 32 and the cutting head 40 provided on the carriage 32 move in the left-right direction X. As a result, the machining tool 6 or the detection tool 7 gripped by the grip portion 42 of the cutting head 40 moves in the left-right direction X relative to the rotation mechanism 60. The second motor 36A connected to the sliding member 36 is driven, and the sliding member 36 and the cutting head 40 provided on the sliding member 36 move in the vertical direction Z to be gripped by the grip portion 42. The machined tool 6 or the detection tool 7 moves in the vertical direction Z relative to the rotation mechanism 60. Further, the fourth motor 50A connected to the table 50 is driven to move the table 50 and the rotation mechanism 60 attached to the table 50 in the front-rear direction Y, so that the processing tool gripped by the grip portion 42 The 6 or the detection tool 7 moves in the front-rear direction X relative to the rotation mechanism 60. In the present embodiment, the first motor 32A, the second motor 36A, and the fourth motor 50A are collectively referred to as a moving mechanism 90. In other words, the moving mechanism 90 has a first motor 32A, a second motor 36A, and a fourth motor 50A, and the grip portion 42 of the cutting head 40 is three-dimensionally relative to the rotating mechanism 60. It is a mechanism that moves in a direction.

次に、本実施形態に係る制御装置80について説明する。制御装置80は、切削加工に関する制御、および、回転機構60の実際の位置の検出を行う装置である。制御装置80は、切削加工機100の本体10に設けられている。ただし、制御装置80の位置は特に限定されない。また、制御装置80の構成は特に限定されない。例えば、制御装置80は、マイクロコンピュータからなっており、中央処理装置(以下、CPUという。)と、CPUが実行するプログラムなどを格納したROMと、RAMなどを備えている。ここでは、マイクロコンピュータ内に保存されたプログラムを使用して、切削加工に関する制御、および、各部材の位置を調整する制御を行う。 Next, the control device 80 according to the present embodiment will be described. The control device 80 is a device that controls the cutting process and detects the actual position of the rotation mechanism 60. The control device 80 is provided on the main body 10 of the cutting machine 100. However, the position of the control device 80 is not particularly limited. Further, the configuration of the control device 80 is not particularly limited. For example, the control device 80 is composed of a microcomputer, and includes a central processing unit (hereinafter, referred to as a CPU), a ROM that stores a program executed by the CPU, a RAM, and the like. Here, the program stored in the microcomputer is used to control the cutting process and adjust the position of each member.

本実施形態では、図7に示すように、制御装置80は、操作パネル25に接続されている。操作パネル25をユーザが操作することで、操作パネル25から制御装置80に信号が送信される。制御装置80は、操作パネル25から受信した信号に基づいて切削加工に関する制御を行う。制御装置80は、キャリッジ32に接続された第1モータ32Aに接続されている。制御装置80は、第1モータ32Aの駆動を制御することで、キャリッジ32および切削ヘッド40の左右方向Yへの移動を制御する。制御装置80は、切削ヘッド40が設けられた摺動部材36に接続された第2モータ36Aに接続されている。制御装置80は、第2モータ36Aの駆動を制御することで、切削ヘッド40の上下方向Zへの移動を制御する。制御装置80は、スピンドル44に接続された第3モータ44Aに接続されている。制御装置80は、第3モータ44Aの駆動を制御することで、スピンドル44および把持部42に把持された加工ツール6または検出ツール7の回転を制御する。 In this embodiment, as shown in FIG. 7, the control device 80 is connected to the operation panel 25. When the user operates the operation panel 25, a signal is transmitted from the operation panel 25 to the control device 80. The control device 80 controls the cutting process based on the signal received from the operation panel 25. The control device 80 is connected to the first motor 32A connected to the carriage 32. The control device 80 controls the movement of the carriage 32 and the cutting head 40 in the left-right direction Y by controlling the drive of the first motor 32A. The control device 80 is connected to a second motor 36A connected to a sliding member 36 provided with a cutting head 40. The control device 80 controls the movement of the cutting head 40 in the vertical direction Z by controlling the drive of the second motor 36A. The control device 80 is connected to a third motor 44A connected to the spindle 44. The control device 80 controls the rotation of the machining tool 6 or the detection tool 7 gripped by the spindle 44 and the grip portion 42 by controlling the drive of the third motor 44A.

制御装置80は、テーブル50に接続された第4モータ50Aに接続されている。制御装置80は、第4モータ50Aの駆動を制御することで、テーブル50およびテーブル50に取り付けられた回転機構60の前後方向Yへの移動を制御する。制御装置80は、回転機構60の第1クランプ65に接続された第5モータ65Aに接続されている。制御装置80は、第5モータ65Aの駆動を制御することで、第1クランプ65、および、第1クランプ65と第2クランプ67によって把持された被加工物5の回転を制御する。制御装置80は、ツールセンサ76に接続されている。ここでは、制御装置80は、ツールセンサ76のスイッチ76a(図5参照)がオンまたはオフに切り替わることを検出することで、把持部42によって把持された加工ツール6または検出ツール7がツールセンサ76(詳しくは、スイッチ76a)に接触したか否かを検出する。また、制御装置80は、把持部42に把持された加工ツール6または検出ツール7の位置を記憶しており、例えば、把持部42に把持された検出ツール7が他の部位と接触した際の位置を検出することが可能である。 The control device 80 is connected to the fourth motor 50A connected to the table 50. The control device 80 controls the drive of the fourth motor 50A to control the movement of the table 50 and the rotation mechanism 60 attached to the table 50 in the front-rear direction Y. The control device 80 is connected to a fifth motor 65A connected to the first clamp 65 of the rotation mechanism 60. The control device 80 controls the drive of the fifth motor 65A to control the rotation of the first clamp 65 and the workpiece 5 gripped by the first clamp 65 and the second clamp 67. The control device 80 is connected to the tool sensor 76. Here, the control device 80 detects that the switch 76a (see FIG. 5) of the tool sensor 76 is switched on or off, so that the machining tool 6 or the detection tool 7 gripped by the grip portion 42 is the tool sensor 76. (Specifically, it detects whether or not the contact is made with the switch 76a). Further, the control device 80 stores the position of the processing tool 6 or the detection tool 7 gripped by the grip portion 42, and for example, when the detection tool 7 gripped by the grip portion 42 comes into contact with another portion. It is possible to detect the position.

図8および図9は、それぞれ制御装置80のブロック図である。本実施形態では、制御装置80は、記憶部81と、偏心オフセット算出部82と、傾き調整部83と、クランプ回転部84と、第1基準点検出部85と、第2基準点検出部86と、回転量補正部87と、回転軸オフセット算出部88と、移動制御部89とを備えている。なお、上述した各部は、ソフトウェアによって構成されていてもよいし、ハードウェアによって構成されていてもよい。例えば、上述した各部は、プロセッサによって行われるものであってもよい。 8 and 9 are block diagrams of the control device 80, respectively. In the present embodiment, the control device 80 includes a storage unit 81, an eccentric offset calculation unit 82, an inclination adjustment unit 83, a clamp rotation unit 84, a first reference point detection unit 85, and a second reference point detection unit 86. A rotation amount correction unit 87, a rotation axis offset calculation unit 88, and a movement control unit 89 are provided. It should be noted that each of the above-mentioned parts may be configured by software or hardware. For example, each of the above-mentioned parts may be performed by a processor.

以上、本実施形態に係る切削加工機100の構成について説明した。ところで、制御装置80の記憶部81には、回転機構60の設計上の位置が予め記憶されている。すなわち、記憶部81には、回転機構60の第1クランプ65および第2クランプ67のそれぞれの設計上の位置が予め記憶されている。なお、第1クランプ65および第2クランプ67の位置には、第1クランプ65および第2クランプ67の回転角度が含まれるものとする。これらの位置は、例えば、XYZ直交座標系のXYZ座標によって特定されるものである。このときのXYZ座標の原点位置は特に限定されない。本実施形態では、設計上、第1クランプ65と第2クランプ67に挟まれた被加工物5などの部材の回転機構60によって回転される際の軸(以下、回転軸ともいう。)の方向は、スピンドル44の回転軸と正面視において直交する方向である。ここでは、回転機構60の回転軸の方向は、X軸方向であり、スピンドル44の回転軸の方向は、Z軸方向である。切削加工機100は、回転機構60の設計上の位置に基づいて、第1クランプ65と第2クランプ67によって挟まれた被加工物5を回転させながら、切削ヘッド40の把持部42に把持された加工ツール6を被加工物5に接触させることで、被加工物5に関する切削加工を行う。なお、本実施形態において、「設計上の位置」とは、切削加工機100の理論上の位置であって、例えば、パーソナルコンピュータ上での設計段階で特定されるような位置のことをいう。 The configuration of the cutting machine 100 according to the present embodiment has been described above. By the way, the design position of the rotation mechanism 60 is stored in advance in the storage unit 81 of the control device 80. That is, the storage unit 81 stores in advance the design positions of the first clamp 65 and the second clamp 67 of the rotation mechanism 60. It is assumed that the positions of the first clamp 65 and the second clamp 67 include the rotation angles of the first clamp 65 and the second clamp 67. These positions are specified, for example, by the XYZ coordinates of the XYZ Cartesian coordinate system. The origin position of the XYZ coordinates at this time is not particularly limited. In the present embodiment, by design, the direction of the shaft (hereinafter, also referred to as a rotation shaft) when the member such as the workpiece 5 sandwiched between the first clamp 65 and the second clamp 67 is rotated by the rotation mechanism 60. Is a direction orthogonal to the rotation axis of the spindle 44 in front view. Here, the direction of the rotation axis of the rotation mechanism 60 is the X-axis direction, and the direction of the rotation axis of the spindle 44 is the Z-axis direction. The cutting machine 100 is gripped by the grip portion 42 of the cutting head 40 while rotating the workpiece 5 sandwiched between the first clamp 65 and the second clamp 67 based on the design position of the rotation mechanism 60. By bringing the machining tool 6 into contact with the work piece 5, cutting work related to the work piece 5 is performed. In the present embodiment, the "design position" means a theoretical position of the cutting machine 100, for example, a position specified at a design stage on a personal computer.

しかしながら、回転機構60を切削加工機100の本体10内に取り付ける際、本体10に対する回転機構60の組み付け誤差が生じることがあり得る。この回転機構60の組み付け誤差が生じている場合、回転機構60の実際の位置が回転機構60の設計上の位置とは異なることがあり得る。例えば、第1クランプ65または第2クランプ67の実際のそれぞれの位置が、第1クランプ65または第2クランプ67の設計上のそれぞれの位置とは異なることがあり得る。このように、回転機構60の実際の位置が回転機構60の設計上の位置とは異なる場合、回転機構60によって回転される被加工物5などの部材の軸(ここでは、回転機構60の回転軸)の方向が、設計上の方向とはズレることがあり得る。その結果、被加工物5を所望な形状に切削加工することができないことがあり得る。 However, when the rotating mechanism 60 is mounted in the main body 10 of the cutting machine 100, an error in assembling the rotating mechanism 60 with respect to the main body 10 may occur. When the assembly error of the rotation mechanism 60 occurs, the actual position of the rotation mechanism 60 may be different from the design position of the rotation mechanism 60. For example, the actual positions of the first clamp 65 or the second clamp 67 may differ from the design positions of the first clamp 65 or the second clamp 67. As described above, when the actual position of the rotation mechanism 60 is different from the design position of the rotation mechanism 60, the axis of the member such as the workpiece 5 rotated by the rotation mechanism 60 (here, the rotation of the rotation mechanism 60). The direction of the axis) may deviate from the design direction. As a result, it may not be possible to cut the workpiece 5 into a desired shape.

そこで、回転機構60を切削加工機100の本体10内に取り付けた際、回転機構60の回転軸の補正値である回転軸オフセットを算出する。そして、この回転軸オフセットに基づいて、移動機構90を制御する。切削加工する際に、この回転軸オフセットを考慮することとする。図10は、回転軸オフセットを算出する手順を示したフローチャートである。以下、回転軸オフセットを算出する手順について図10のフローチャートを用いて説明する。 Therefore, when the rotation mechanism 60 is mounted in the main body 10 of the cutting machine 100, the rotation axis offset, which is a correction value of the rotation axis of the rotation mechanism 60, is calculated. Then, the moving mechanism 90 is controlled based on the rotation axis offset. This rotation axis offset will be taken into consideration when cutting. FIG. 10 is a flowchart showing a procedure for calculating the rotation axis offset. Hereinafter, the procedure for calculating the rotation axis offset will be described with reference to the flowchart of FIG.

本実施形態では、第1クランプ65には、第1クランプ65および第2クランプ67によって挟まれた被加工物5などの部材を回転させる際の基準の位置である第1回転基準位置が予め設定されている。また、スピンドル44には、把持部42を回転させる際の基準の位置である第2回転基準位置が予め設定されている。制御装置80の記憶部81には、第1回転基準位置、および、第2回転基準位置が予め記憶されている。以下の説明において、第1クランプ65が第1回転基準位置に位置しているときの第1クランプ65の回転角度を0°とする。同様に、スピンドル44が第2回転基準位置に位置しているときのスピンドル44の回転角度を0°とする。本実施形態では、回転機構60の回転軸のオフセットを算出する際には、切削ヘッド40の把持部42には、検出ツール7が把持されている。また、回転機構60の回転軸のオフセットを算出する際には、第1クランプ65と第2クランプ67との間には、円筒状の検出治具4(図3参照)が挟まれている。ここでは、検出ツール7および検出治具4をそれぞれ使用して、回転機構60の回転軸のオフセットである回転軸オフセットを算出する。 In the present embodiment, the first clamp 65 is preset with a first rotation reference position, which is a reference position when rotating a member such as a workpiece 5 sandwiched between the first clamp 65 and the second clamp 67. Has been done. Further, the spindle 44 is preset with a second rotation reference position, which is a reference position when rotating the grip portion 42. The first rotation reference position and the second rotation reference position are stored in advance in the storage unit 81 of the control device 80. In the following description, the rotation angle of the first clamp 65 when the first clamp 65 is located at the first rotation reference position is 0 °. Similarly, the rotation angle of the spindle 44 when the spindle 44 is located at the second rotation reference position is set to 0 °. In the present embodiment, when calculating the offset of the rotation axis of the rotation mechanism 60, the detection tool 7 is gripped by the grip portion 42 of the cutting head 40. Further, when calculating the offset of the rotation axis of the rotation mechanism 60, a cylindrical detection jig 4 (see FIG. 3) is sandwiched between the first clamp 65 and the second clamp 67. Here, the detection tool 7 and the detection jig 4 are used to calculate the rotation axis offset, which is the offset of the rotation axis of the rotation mechanism 60.

まず、図10のステップS101では、偏心オフセット算出部82は、偏心オフセットを算出する。例えば、図2に示すように、切削ヘッド40の把持部42が検出ツール7(または、加工ツール6)を把持している場合、検出ツール7の軸の方向がスピンドル44の軸の方向と同じになるように把持することが好ましい。しかしながら、検出ツール7の軸の方向がスピンドル44の軸の方向と若干ズレるような向きで、把持部42が検出ツール7を把持することがあり得る。この場合、スピンドル44の回転角度によって、検出ツール7が他の部材と接触する位置(詳しくは、座標)が異なることがあり得る。本実施形態では、スピンドル44が回転した際の検出ツール7の位置の誤差を補正する値を偏心オフセットという。本実施形態では、偏心オフセットとは、スピンドル44の回転角度が0°のときにおける把持部42に把持された検出ツール7と、スピンドル44の回転角度が180°のときにおける把持部42に把持された検出ツール7との振れ幅のことをいう。ここでは、偏心オフセットは、X軸方向の偏心オフセットである偏心Xオフセットと、Y軸方向の偏心オフセットである偏心Yオフセットを有している。 First, in step S101 of FIG. 10, the eccentric offset calculation unit 82 calculates the eccentric offset. For example, as shown in FIG. 2, when the grip portion 42 of the cutting head 40 grips the detection tool 7 (or the machining tool 6), the direction of the axis of the detection tool 7 is the same as the direction of the axis of the spindle 44. It is preferable to grip it so as to be. However, the grip portion 42 may grip the detection tool 7 in a direction in which the axis direction of the detection tool 7 is slightly deviated from the direction of the axis of the spindle 44. In this case, the position where the detection tool 7 comes into contact with another member (specifically, the coordinates) may differ depending on the rotation angle of the spindle 44. In the present embodiment, a value that corrects an error in the position of the detection tool 7 when the spindle 44 rotates is referred to as an eccentric offset. In the present embodiment, the eccentric offset is defined by the detection tool 7 gripped by the grip portion 42 when the rotation angle of the spindle 44 is 0 ° and the grip portion 42 gripped by the grip portion 42 when the rotation angle of the spindle 44 is 180 °. It refers to the swing width with the detection tool 7. Here, the eccentric offset has an eccentric X offset which is an eccentric offset in the X-axis direction and an eccentric Y offset which is an eccentric offset in the Y-axis direction.

図11は、偏心オフセットを算出する手順を示したフローチャートである。本実施形態では、偏心オフセットは、図11のフローチャートに沿って、偏心オフセット算出部82によって算出される。ここでは、図8に示すように、偏心オフセット算出部82は、第1スピンドル回転部101と、第1角度X検出部102と、第1角度Y検出部103と、第2スピンドル回転部104と、第2角度X検出部105と、第2角度Y検出部106と、偏心Xオフセット算出部107と、偏心Yオフセット算出部108とを備えている。 FIG. 11 is a flowchart showing a procedure for calculating the eccentric offset. In the present embodiment, the eccentric offset is calculated by the eccentric offset calculation unit 82 according to the flowchart of FIG. Here, as shown in FIG. 8, the eccentric offset calculation unit 82 includes the first spindle rotation unit 101, the first angle X detection unit 102, the first angle Y detection unit 103, and the second spindle rotation unit 104. The second angle X detection unit 105, the second angle Y detection unit 106, the eccentric X offset calculation unit 107, and the eccentric Y offset calculation unit 108 are provided.

まず、図11に示すように、ステップS201では、第1スピンドル回転部101は、第2回転基準位置を基準にして、スピンドル44の回転角度が0°となるように、スピンドル44を回転させる。 First, as shown in FIG. 11, in step S201, the first spindle rotating portion 101 rotates the spindle 44 with reference to the second rotation reference position so that the rotation angle of the spindle 44 becomes 0 °.

次に、ステップS202では、第1角度X検出部102は、スピンドル44の回転角度が0°のとき、図5に示すように、第1突起測定点M1_X1のX座標を検出する。ここで、第1突起測定点M1_X1とは、第1突起78aの外周面上の点であって、左右方向X、すなわち、X軸方向における端(ここでは、左端)に位置する点である。本実施形態では、第1角度X検出部102は、把持部42に把持された検出ツール7を第1突起78aに接触させるように移動機構90を制御することで、第1突起測定点M1_X1のX座標を検出する。ここでは、ステップS202において、検出した第1突起測定点M1_X1のX座標のことを第1偏心X座標という。 Next, in step S202, when the rotation angle of the spindle 44 is 0 °, the first angle X detection unit 102 detects the X coordinate of the first protrusion measurement point M1_X1 as shown in FIG. Here, the first protrusion measurement point M1_X1 is a point on the outer peripheral surface of the first protrusion 78a, which is located at the end in the left-right direction X, that is, the end in the X-axis direction (here, the left end). In the present embodiment, the first angle X detection unit 102 controls the moving mechanism 90 so that the detection tool 7 gripped by the grip unit 42 comes into contact with the first protrusion 78a, so that the first protrusion measurement point M1_X1 Detect the X coordinate. Here, the X coordinate of the first protrusion measurement point M1_X1 detected in step S202 is referred to as the first eccentric X coordinate.

次に、図11のステップS203では、第1角度Y検出部103は、スピンドル44の回転角度が0°のとき、図5に示すように、第2突起測定点M1_Y1のY座標を検出する。ここで、第2突起測定点M1_Y1とは、第1突起78aの外周面上の点であって、前後方向Y、すなわち、Y軸方向における端(ここでは、前端)に位置する点である。本実施形態では、第1角度Y検出部103は、把持部42に把持された検出ツール7を第1突起78aに接触させるように移動機構90を制御することで、第2突起測定点M1_Y1のY座標を検出する。ここでは、ステップS203において、検出した第2突起測定点M1_Y1のY座標のことを第1偏心Y座標という。 Next, in step S203 of FIG. 11, when the rotation angle of the spindle 44 is 0 °, the first angle Y detection unit 103 detects the Y coordinate of the second protrusion measurement point M1_Y1 as shown in FIG. Here, the second protrusion measurement point M1_Y1 is a point on the outer peripheral surface of the first protrusion 78a, which is located at the end in the front-rear direction Y, that is, the end in the Y-axis direction (here, the front end). In the present embodiment, the first angle Y detection unit 103 controls the moving mechanism 90 so that the detection tool 7 gripped by the grip unit 42 comes into contact with the first protrusion 78a, so that the second protrusion measurement point M1_Y1 Detect the Y coordinate. Here, the Y coordinate of the second protrusion measurement point M1_Y1 detected in step S203 is referred to as the first eccentric Y coordinate.

次に、図11のステップS204では、第2スピンドル回転部104は、第2回転基準位置を基準にして、スピンドル44を180°回転させる。このとき、検出ツール7の左側に位置していた面は、右側に位置する。また、検出ツール7の前側に位置していた面は、後側に位置する。 Next, in step S204 of FIG. 11, the second spindle rotation unit 104 rotates the spindle 44 by 180 ° with reference to the second rotation reference position. At this time, the surface located on the left side of the detection tool 7 is located on the right side. Further, the surface located on the front side of the detection tool 7 is located on the rear side.

次に、ステップS205では、第2角度X検出部105は、スピンドル44の回転角度が180°のとき、第1突起測定点M1_X1のX座標を検出する。このときの検出手順は、上記ステップS202と同様である。ここでは、ステップS205において、検出した第1突起測定点M1_X1のX座標のことを第2偏心X座標という。 Next, in step S205, the second angle X detection unit 105 detects the X coordinate of the first protrusion measurement point M1_X1 when the rotation angle of the spindle 44 is 180 °. The detection procedure at this time is the same as in step S202. Here, the X coordinate of the first protrusion measurement point M1_X1 detected in step S205 is referred to as the second eccentric X coordinate.

次に、ステップS206では、第2角度Y検出部106は、スピンドル44の回転角度が180°のとき、第2突起測定点M1_Y1のY座標を検出する。このときの検出手順は、上記ステップS203と同様である。ここでは、ステップS206において、検出した第2突起測定点M1_Y1のY座標のことを第2偏心Y座標という。 Next, in step S206, the second angle Y detection unit 106 detects the Y coordinate of the second protrusion measurement point M1_Y1 when the rotation angle of the spindle 44 is 180 °. The detection procedure at this time is the same as in step S203. Here, the Y coordinate of the second protrusion measurement point M1_Y1 detected in step S206 is referred to as the second eccentric Y coordinate.

次に、ステップS207では、偏心Xオフセット算出部107は、第1角度X検出部102によって検出された第1偏心X座標と、第2角度X検出部105によって検出された第2偏心X座標とから、X軸方向の偏心オフセットである偏心Xオフセットを算出する。本実施形態では、偏心Xオフセット算出部107は、第1偏心X座標と、第2偏心X座標との差を偏心Xオフセットとする。 Next, in step S207, the eccentric X offset calculation unit 107 includes the first eccentric X coordinate detected by the first angle X detection unit 102 and the second eccentric X coordinate detected by the second angle X detection unit 105. From, the eccentric X offset, which is the eccentric offset in the X-axis direction, is calculated. In the present embodiment, the eccentric X offset calculation unit 107 uses the difference between the first eccentric X coordinate and the second eccentric X coordinate as the eccentric X offset.

その後、ステップS208では、偏心Yオフセット算出部108は、第1角度Y検出部103によって検出された第1偏心Y座標と、第2角度Y検出部106によって検出された第2偏心Y座標とから、Y軸方向の偏心オフセットである偏心Yオフセットを算出する。本実施形態では、偏心Yオフセット算出部108は、第1偏心Y座標と、第2偏心Y座標との差を偏心Yオフセットとする。以上のようにして、偏心オフセット算出部82は、偏心Xオフセット、および、偏心Yオフセットを算出することで、偏心オフセットを算出することができる。 After that, in step S208, the eccentricity Y offset calculation unit 108 uses the first eccentricity Y coordinate detected by the first angle Y detection unit 103 and the second eccentricity Y coordinate detected by the second angle Y detection unit 106. , The eccentric Y offset, which is the eccentric offset in the Y-axis direction, is calculated. In the present embodiment, the eccentric Y offset calculation unit 108 uses the difference between the first eccentric Y coordinate and the second eccentric Y coordinate as the eccentric Y offset. As described above, the eccentric offset calculation unit 82 can calculate the eccentric offset by calculating the eccentric X offset and the eccentric Y offset.

図10のステップS101において、偏心オフセットを算出した後、次にステップS102では、傾き調整部83は、第1クランプ65の回転角度が0°のときにおける第1クランプ65の傾きを調整する。例えば、回転機構60の組み付け誤差によって、設計上において第1クランプ65の回転角度を0°に設定したにも関わらず、実際の第1クランプ65の回転角度が0°ではないことがあり得る。このような場合、第1クランプ65の実際の回転角度を0°にするために、第1クランプ65の傾きを調整する。 After calculating the eccentric offset in step S101 of FIG. 10, in step S102, the tilt adjusting unit 83 adjusts the tilt of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. For example, due to an assembly error of the rotation mechanism 60, the actual rotation angle of the first clamp 65 may not be 0 ° even though the rotation angle of the first clamp 65 is set to 0 ° in the design. In such a case, the inclination of the first clamp 65 is adjusted in order to make the actual rotation angle of the first clamp 65 0 °.

この第1クランプ65の傾きを調整する具体的な手順は特に限定されないが、本実施形態では、図12のフローチャートに沿った手順を実行することで、傾き調整部83は、第1クランプ65の回転角度が0°のときにおける第1クランプ65の傾きを調整する。本実施形態では、図3に示すように、第1クランプ65の回転角度が0°のときの第1クランプ65の上面には、第1クランプ基準点A_Z1と、第2クランプ基準点A_Z2が設定されている。第1クランプ基準点A_Z1の位置と、第2クランプ基準点A_Z2の位置は特に限定されない。ここでは、第1クランプ基準点A_Z1と、第2クランプ基準点A_Z2とは、前後方向Yに並んでおり、X座標が同じである。第1クランプ基準点A_Z1は、第2クランプ基準点A_Z2よりも前方に位置している。傾き調整部83は、第1クランプ基準点A_Z1と、第2クランプ基準点A_Z2との実際の位置を検出することで、第1クランプ65の回転角度が0°のときにおける第1クランプ65の傾きを調整する。本実施形態では、図8に示すように、傾き調整部83は、第1クランプ基準点検出部111と、第2クランプ基準点検出部112と、クランプ傾き算出部113と、クランプ調整部114とを備えている。 The specific procedure for adjusting the inclination of the first clamp 65 is not particularly limited, but in the present embodiment, by executing the procedure according to the flowchart of FIG. 12, the inclination adjusting unit 83 of the first clamp 65 The inclination of the first clamp 65 when the rotation angle is 0 ° is adjusted. In the present embodiment, as shown in FIG. 3, a first clamp reference point A_Z1 and a second clamp reference point A_Z2 are set on the upper surface of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. Has been done. The position of the first clamp reference point A_Z1 and the position of the second clamp reference point A_Z2 are not particularly limited. Here, the first clamp reference point A_Z1 and the second clamp reference point A_Z2 are aligned in the front-rear direction Y and have the same X coordinate. The first clamp reference point A_Z1 is located in front of the second clamp reference point A_Z2. The tilt adjusting unit 83 detects the actual positions of the first clamp reference point A_Z1 and the second clamp reference point A_Z2, and thereby tilts the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. To adjust. In the present embodiment, as shown in FIG. 8, the tilt adjusting unit 83 includes a first clamp reference point detecting unit 111, a second clamp reference point detecting unit 112, a clamp tilt calculating unit 113, and a clamp adjusting unit 114. It has.

なお、記憶部81には、第1回転基準位置を基準にしたときの回転角度が0°のときの第1クランプ65の上面の設計上の傾きであるクランプ設計傾きが予め記憶されている。ここでは、第1クランプ65の回転角度が0°のとき、第1クランプ65の上面の設計上の傾きは、Z軸方向に対して直交するような傾きである。 The storage unit 81 stores in advance the clamp design inclination, which is the design inclination of the upper surface of the first clamp 65 when the rotation angle with respect to the first rotation reference position is 0 °. Here, when the rotation angle of the first clamp 65 is 0 °, the design inclination of the upper surface of the first clamp 65 is such that it is orthogonal to the Z-axis direction.

まず、図12のステップS301では、傾き調整部83は、クランプ回転部84によって、回転角度が0°になるように第1クランプ65を回転させる。 First, in step S301 of FIG. 12, the tilt adjusting unit 83 rotates the first clamp 65 by the clamp rotating unit 84 so that the rotation angle becomes 0 °.

次に、ステップS302では、第1クランプ基準点検出部111は、図3に示すように、第1クランプ65の回転角度が0°のときにおける第1クランプ基準点A_Z1のY座標およびZ座標を検出する。具体的には、第1クランプ基準点検出部111は、第1クランプ65の上方から、把持部42に把持された検出ツール7を第1クランプ65の上面の第1クランプ基準点A_Z1に接触させるようにして、移動機構90を制御する。このとき、第1クランプ基準点検出部111は、検出ツール7に第1クランプ65の第1クランプ基準点A_Z1が接触したときの検出ツール7の先端のY座標およびZ座標を、第1クランプ基準点A_Z1のY座標およびZ座標としてそれぞれ検出する。ここでは、第1クランプ65の回転角度が0°のときにおける第1クランプ基準点A_Z1のY座標のことを第1クランプY座標という。また、第1クランプ65の回転角度が0°のときにおける第1クランプ基準点A_Z1のZ座標のことを第1クランプZ座標という。 Next, in step S302, as shown in FIG. 3, the first clamp reference point detection unit 111 determines the Y coordinate and the Z coordinate of the first clamp reference point A_Z1 when the rotation angle of the first clamp 65 is 0 °. To detect. Specifically, the first clamp reference point detection unit 111 brings the detection tool 7 gripped by the grip portion 42 into contact with the first clamp reference point A_Z1 on the upper surface of the first clamp 65 from above the first clamp 65. In this way, the moving mechanism 90 is controlled. At this time, the first clamp reference point detection unit 111 sets the Y coordinate and Z coordinate of the tip of the detection tool 7 when the first clamp reference point A_Z1 of the first clamp 65 comes into contact with the detection tool 7 as the first clamp reference. It is detected as the Y coordinate and the Z coordinate of the point A_Z1, respectively. Here, the Y coordinate of the first clamp reference point A_Z1 when the rotation angle of the first clamp 65 is 0 ° is referred to as the Y coordinate of the first clamp. Further, the Z coordinate of the first clamp reference point A_Z1 when the rotation angle of the first clamp 65 is 0 ° is referred to as the Z coordinate of the first clamp.

次に、図12のステップS303では、第2クランプ基準点検出部112は、図3に示すように、第1クランプ65の回転角度が0°のときにおける第2クランプ基準点A_Z2のY座標およびZ座標を検出する。ここでは、第2クランプ基準点検出部112は、第1クランプ65の上方から、把持部42に把持された検出ツール7を第1クランプ65の上面の第2クランプ基準点A_Z2に接触させるようにして、移動機構90を制御する。このとき、第2クランプ基準点検出部112は、検出ツール7に第2クランプ基準点A_Z2が接触したときの検出ツール7の先端のY座標およびZ座標を、第2クランプ基準点A_Z2のY座標およびZ座標としてそれぞれ検出する。ここでは、第1クランプ65の回転角度が0°のときにおける第2クランプ基準点A_Z2のY座標のことを第2クランプY座標という。また、第1クランプ65の回転角度が0°のときにおける第2クランプ基準点A_Z2のZ座標のことを第2クランプZ座標という。 Next, in step S303 of FIG. 12, as shown in FIG. 3, the second clamp reference point detection unit 112 has the Y coordinate of the second clamp reference point A_Z2 and the Y coordinate of the second clamp reference point A_Z2 when the rotation angle of the first clamp 65 is 0 °. Detect the Z coordinate. Here, the second clamp reference point detection unit 112 brings the detection tool 7 gripped by the grip portion 42 into contact with the second clamp reference point A_Z2 on the upper surface of the first clamp 65 from above the first clamp 65. To control the moving mechanism 90. At this time, the second clamp reference point detection unit 112 sets the Y coordinate and Z coordinate of the tip of the detection tool 7 when the second clamp reference point A_Z2 comes into contact with the detection tool 7 to the Y coordinate of the second clamp reference point A_Z2. And Z coordinates are detected respectively. Here, the Y coordinate of the second clamp reference point A_Z2 when the rotation angle of the first clamp 65 is 0 ° is referred to as the second clamp Y coordinate. Further, the Z coordinate of the second clamp reference point A_Z2 when the rotation angle of the first clamp 65 is 0 ° is referred to as the second clamp Z coordinate.

次に、図12のステップS304では、クランプ傾き算出部113は、第1クランプ65の上面の実際の傾きであるクランプ実傾きを算出する。クランプ傾き算出部113は、ステップS302およびステップS303においてそれぞれ検出された、第1クランプY座標、第1クランプZ座標、第2クランプY座標、および、第2クランプY座標を使用して、クランプ実傾きを算出する。本実施形態では、クランプ実傾きは、YZ平面上における第1クランプ基準点A_Z1と第2クランプ基準点A_Z2を結ぶ線の傾きである。 Next, in step S304 of FIG. 12, the clamp inclination calculation unit 113 calculates the actual clamp inclination, which is the actual inclination of the upper surface of the first clamp 65. The clamp inclination calculation unit 113 uses the first clamp Y coordinate, the first clamp Z coordinate, the second clamp Y coordinate, and the second clamp Y coordinate detected in steps S302 and S303, respectively, to actually clamp. Calculate the slope. In the present embodiment, the actual clamp inclination is the inclination of the line connecting the first clamp reference point A_Z1 and the second clamp reference point A_Z2 on the YZ plane.

ここでは、クランプ実傾きをSL1、第1クランプY座標をA_Z1y、第1クランプZ座標をA_Z1z、第2クランプY座標をA_Z2y、第2クランプZ座標をA_Z2zとしたとき、クランプ傾き算出部113は、下記式(1)によって、クランプ実傾きSL1を算出する。なお、クランプ実傾きSL1の単位は、radである。しかしながら、クランプ実傾きSL1の単位は特に限定されない。

Figure 0006862133
Here, when the actual clamp inclination is SL1, the first clamp Y coordinate is A_Z1y, the first clamp Z coordinate is A_Z1z, the second clamp Y coordinate is A_Z2y, and the second clamp Z coordinate is A_Z2z, the clamp inclination calculation unit 113 , The actual clamp inclination SL1 is calculated by the following equation (1). The unit of the actual clamp inclination SL1 is rad. However, the unit of the actual clamp inclination SL1 is not particularly limited.
Figure 0006862133

次に、図12のステップS305では、クランプ調整部114は、第1クランプ65の回転角度が0°のときの第1クランプ65の位置を調整する。ここでは、クランプ調整部114は、上記式(1)によって算出されたクランプ実傾きと、記憶部81に記憶されたクランプ設計傾きとを比較し、クランプ実傾きがクランプ設計傾きになるように、第1クランプ65を回転させて調整する。クランプ調整部114は、クランプ実傾きを使用して、第1クランプ65の上面がスピンドル44の軸方向に対して垂直な面になるように、第1クランプ65の回転角度を調整する。ここでは、クランプ調整部114によって調整された後の第1クランプ65の回転位置は、第1クランプ65の設計上の第1回転基準位置である。 Next, in step S305 of FIG. 12, the clamp adjusting unit 114 adjusts the position of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. Here, the clamp adjusting unit 114 compares the actual clamp inclination calculated by the above equation (1) with the clamp design inclination stored in the storage unit 81 so that the actual clamp inclination becomes the clamp design inclination. The first clamp 65 is rotated to adjust. The clamp adjusting unit 114 adjusts the rotation angle of the first clamp 65 so that the upper surface of the first clamp 65 is perpendicular to the axial direction of the spindle 44 by using the actual clamp inclination. Here, the rotation position of the first clamp 65 after being adjusted by the clamp adjusting unit 114 is the design first rotation reference position of the first clamp 65.

以上のようにして、第1クランプ65の回転角度が0°における第1クランプ65の傾きが調整された後、図10のステップS103では、第1基準点A_P1および第2基準点A_P2を検出する。図13は、図3のXIII−XIII断面における検出治具4の断面図である。図14は、図3のXIV−XIV断面における検出治具4の断面図である。図13および図14に示すように、第1基準点A_P1と第2基準点A_P2は、回転機構60の回転軸R1上の点であり、所定の距離離れている。ここでは、第1基準点A_P1は、第2基準点A_P2よりも第1クランプ65に近い位置に配置されている。しかしながら、第1基準点A_P1および第2基準点A_P2のそれぞれの位置は特に限定されない。 After adjusting the inclination of the first clamp 65 when the rotation angle of the first clamp 65 is 0 ° as described above, in step S103 of FIG. 10, the first reference point A_P1 and the second reference point A_P2 are detected. .. FIG. 13 is a cross-sectional view of the detection jig 4 in the cross section of XIII-XIII of FIG. FIG. 14 is a cross-sectional view of the detection jig 4 in the XIV-XIV cross section of FIG. As shown in FIGS. 13 and 14, the first reference point A_P1 and the second reference point A_P2 are points on the rotation axis R1 of the rotation mechanism 60 and are separated by a predetermined distance. Here, the first reference point A_P1 is arranged at a position closer to the first clamp 65 than the second reference point A_P2. However, the positions of the first reference point A_P1 and the second reference point A_P2 are not particularly limited.

図10のステップS103では、第1基準点検出部85は、回転軸R1上の第1基準点A_P1の実際の位置を検出する。ここでは、第1基準点検出部85は、第1クランプ65と第2クランプ67によって挟まれた検出治具4に、把持部42に把持された検出ツール7を接触させるように移動機構90を制御することで、第1基準点A_P1の実際の位置を検出する。また、第2基準点検出部86は、回転軸R1上の第2基準点A_P2の実際の位置を検出する。ここでは、第2基準点検出部86は、第1クランプ65と第2クランプ67によって挟まれた検出治具4に、把持部42に把持された検出ツール7を接触させるように移動機構90を制御することで、第2基準点A_P2の実際の位置を検出する。第1基準点A_P1および第2基準点A_P2を検出する手順は特に限定されないが、本実施形態では、図15のフローチャートに沿った手順を実行することで、第1基準点A_P1および第2基準点A_P2をそれぞれ算出することができる。 In step S103 of FIG. 10, the first reference point detection unit 85 detects the actual position of the first reference point A_P1 on the rotation axis R1. Here, the first reference point detection unit 85 brings the moving mechanism 90 into contact with the detection jig 4 sandwiched between the first clamp 65 and the second clamp 67 so that the detection tool 7 gripped by the grip portion 42 is brought into contact with the detection jig 4. By controlling, the actual position of the first reference point A_P1 is detected. Further, the second reference point detection unit 86 detects the actual position of the second reference point A_P2 on the rotation axis R1. Here, the second reference point detection unit 86 brings the moving mechanism 90 into contact with the detection jig 4 sandwiched between the first clamp 65 and the second clamp 67 so that the detection tool 7 gripped by the grip portion 42 is brought into contact with the detection jig 4. By controlling, the actual position of the second reference point A_P2 is detected. The procedure for detecting the first reference point A_P1 and the second reference point A_P2 is not particularly limited, but in the present embodiment, by executing the procedure according to the flowchart of FIG. 15, the first reference point A_P1 and the second reference point A_P1 and the second reference point are executed. A_P2 can be calculated respectively.

ここでは、第1基準点検出部85は、図9に示すように、第1測定点検出部121と、第2測定点検出部122と、第3測定点検出部123と、第1基準点X算出部124と、第1基準点Y算出部125と、第1基準点Z算出部126とを備えている。第2基準点検出部86は、第4測定点検出部131と、第5測定点検出部132と、第6測定点検出部133と、第2基準点X算出部134と、第2基準点Y算出部135と、第2基準点Z算出部136とを備えている。 Here, as shown in FIG. 9, the first reference point detection unit 85 includes the first measurement point detection unit 121, the second measurement point detection unit 122, the third measurement point detection unit 123, and the first reference point. It includes an X calculation unit 124, a first reference point Y calculation unit 125, and a first reference point Z calculation unit 126. The second reference point detection unit 86 includes a fourth measurement point detection unit 131, a fifth measurement point detection unit 132, a sixth measurement point detection unit 133, a second reference point X calculation unit 134, and a second reference point. It includes a Y calculation unit 135 and a second reference point Z calculation unit 136.

なお、本実施形態では、記憶部81には、回転軸R1の設計上の位置である回転軸設計位置が予め記憶されている。例えば、回転軸R1の設計上の位置は、X軸方向に延びた方向の向きである。 In the present embodiment, the storage unit 81 stores in advance the rotation axis design position, which is the design position of the rotation axis R1. For example, the design position of the rotation axis R1 is the direction extending in the X-axis direction.

図15のステップS401では、回転角度が0°となるように第1クランプ65が回転された後である。ステップS401では、第1測定点検出部121は、第1クランプ65の回転角度が0°のときにおける第1測定点A_P1_Y1(図3参照)を検出する。第4測定点検出部131は、第1クランプ65の回転角度が0°のときにおける第4測定点A_P2_Y1(図3参照)を検出する。ここで、第1測定点A_P1_Y1とは、図13に示すように、検出治具4の外周面上の点であって、X座標が第1基準点A_P1のX座標と同じ点である。第4測定点A_P2_Y1とは、図14に示すように、検出治具4の外周面上の点であって、X座標が第2基準点A_P2のX座標と同じである。図3に示すように、第1測定点A_P1_Y1および第4測定点A_P2_Y1は、それぞれY軸のマイナス方向の端の点であって、検出治具4の最前点である。 In step S401 of FIG. 15, the first clamp 65 is rotated so that the rotation angle becomes 0 °. In step S401, the first measurement point detection unit 121 detects the first measurement point A_P1_Y1 (see FIG. 3) when the rotation angle of the first clamp 65 is 0 °. The fourth measurement point detection unit 131 detects the fourth measurement point A_P2_Y1 (see FIG. 3) when the rotation angle of the first clamp 65 is 0 °. Here, the first measurement point A_P1_Y1 is a point on the outer peripheral surface of the detection jig 4, and the X coordinate is the same as the X coordinate of the first reference point A_P1 as shown in FIG. As shown in FIG. 14, the fourth measurement point A_P2_Y1 is a point on the outer peripheral surface of the detection jig 4, and the X coordinate is the same as the X coordinate of the second reference point A_P2. As shown in FIG. 3, the first measurement point A_P1_Y1 and the fourth measurement point A_P2_Y1 are points at the negative end points of the Y axis, respectively, and are the front points of the detection jig 4.

第1測定点検出部121は、把持部42に把持された検出ツール7を前方から検出治具4に接触させるように移動機構90を制御する。このとき、第1測定点検出部121は、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のX座標を、第1測定点A_P1_Y1のX座標とし、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のY座標を、第1測定点A_P1_Y1のY座標とする。同様に、第4測定点検出部131は、把持部42に把持された検出ツール7を前方から検出治具4に接触させるように移動機構90を制御する。このとき、第4測定点検出部131は、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のX座標を、第4測定点A_P2_Y1のX座標とし、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のY座標を、第4測定点A_P2_Y1のY座標とする。 The first measurement point detection unit 121 controls the moving mechanism 90 so that the detection tool 7 gripped by the grip unit 42 comes into contact with the detection jig 4 from the front. At this time, the first measurement point detection unit 121 sets the X coordinate of the detection tool 7 when the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other as the X coordinate of the first measurement point A_P1_Y1 and sets the detection tool 7 as the X coordinate. The Y coordinate of the detection tool 7 when the outer peripheral surface of the detection jig 4 comes into contact with the detection jig 4 is set as the Y coordinate of the first measurement point A_P1_Y1. Similarly, the fourth measurement point detection unit 131 controls the moving mechanism 90 so that the detection tool 7 gripped by the grip unit 42 comes into contact with the detection jig 4 from the front. At this time, the fourth measurement point detection unit 131 sets the X coordinate of the detection tool 7 when the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other as the X coordinate of the fourth measurement point A_P2_Y1 and sets the detection tool 7 as the X coordinate. The Y coordinate of the detection tool 7 when the outer peripheral surface of the detection jig 4 comes into contact with the detection jig 4 is set as the Y coordinate of the fourth measurement point A_P2_Y1.

次に、図15のステップS402では、クランプ回転部84は、第1クランプ65の回転角度が180°になるように、第1クランプ65を回転させる。ステップS403では、第2測定点検出部122は、第1クランプ65の回転角度が180°における第2測定点A_P1_Y2(図3参照)を検出する。第5測定点検出部132は、第1クランプ65の回転角度が180°における第5測定点A_P2_Y2(図3参照)を検出する。ここで、第2測定点A_P1_Y2とは、図13に示すように、検出治具4の外周面上の点であって、X座標が第1基準点A_P1のX座標、および、第1測定点A_P1_Y1のX座標と同じ点である。第5測定点A_P2_Y2とは、図14に示すように、検出治具4の外周面上の点であって、X座標が第2基準点A_P2のX座標、および、第4測定点A_P2_Y1のX座標と同じである。図3に示すように、第2測定点A_P1_Y2および第5測定点A_P2_Y2は、それぞれY軸のプラス方向の端の点であって、検出治具4の最後点である。 Next, in step S402 of FIG. 15, the clamp rotating portion 84 rotates the first clamp 65 so that the rotation angle of the first clamp 65 is 180 °. In step S403, the second measurement point detection unit 122 detects the second measurement point A_P1_Y2 (see FIG. 3) when the rotation angle of the first clamp 65 is 180 °. The fifth measurement point detection unit 132 detects the fifth measurement point A_P2_Y2 (see FIG. 3) when the rotation angle of the first clamp 65 is 180 °. Here, the second measurement point A_P1_Y2 is a point on the outer peripheral surface of the detection jig 4, and the X coordinate is the X coordinate of the first reference point A_P1 and the first measurement point, as shown in FIG. It is the same point as the X coordinate of A_P1_Y1. As shown in FIG. 14, the fifth measurement point A_P2_Y2 is a point on the outer peripheral surface of the detection jig 4, and the X coordinate is the X coordinate of the second reference point A_P2 and the X of the fourth measurement point A_P2_Y1. It is the same as the coordinates. As shown in FIG. 3, the second measurement point A_P1_Y2 and the fifth measurement point A_P2_Y2 are points at the positive end points of the Y axis, respectively, and are the last points of the detection jig 4.

本実施形態では、第2測定点検出部122は、第1クランプ65と第2クランプ67によって挟まれた検出治具4よりも後方に、把持部42に把持された検出ツール7を移動させる。第2測定点検出部122は、第2測定点A_P1_Y2において、検出ツール7と検出治具4の外周面とを接触させるように移動機構90を制御する。このとき、第2測定点検出部122は、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のX座標を、第2測定点A_P1_Y2のX座標とし、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のY座標を、第2測定点A_P1_Y2のY座標とする。なお、第2測定点A_P1_Y2において、検出ツール7と接触した検出治具4の部位と、第1クランプ65の回転角度が0°における第1測定点A_P1_Y1において、検出ツール7と接触した検出治具4の部位とは同じである。 In the present embodiment, the second measurement point detection unit 122 moves the detection tool 7 gripped by the grip unit 42 behind the detection jig 4 sandwiched between the first clamp 65 and the second clamp 67. The second measurement point detection unit 122 controls the moving mechanism 90 so that the detection tool 7 and the outer peripheral surface of the detection jig 4 are brought into contact with each other at the second measurement point A_P1_Y2. At this time, the second measurement point detection unit 122 sets the X coordinate of the detection tool 7 when the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other as the X coordinate of the second measurement point A_P1_Y2, and sets the detection tool 7 as the X coordinate. The Y coordinate of the detection tool 7 when the outer peripheral surface of the detection jig 4 comes into contact with the detection jig 4 is set as the Y coordinate of the second measurement point A_P1_Y2. The part of the detection jig 4 that came into contact with the detection tool 7 at the second measurement point A_P1_Y2 and the detection jig that came into contact with the detection tool 7 at the first measurement point A_P1_Y1 when the rotation angle of the first clamp 65 was 0 °. It is the same as the part of 4.

同様に、第5測定点検出部132は、第1クランプ65と第2クランプ67によって挟まれた検出治具4よりも後方に、把持部42に把持された検出ツール7を移動させる。そして、第5測定点検出部132は、第5測定点A_P2_Y2において、検出ツール7と検出治具4の外周面とが接触するように、移動機構90を制御する。このとき、第5測定点検出部132は、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のX座標を、第5測定点A_P2_Y2のX座標とし、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のY座標を、第5測定点A_P2_Y2のY座標とする。なお、第5測定点A_P2_Y2において、検出ツール7と接触した検出治具4の部位と、第1クランプ65の回転角度が0°における第4測定点A_P2_Y1において、検出ツール7と接触した検出治具4の部位とは同じである。 Similarly, the fifth measurement point detection unit 132 moves the detection tool 7 gripped by the grip unit 42 behind the detection jig 4 sandwiched between the first clamp 65 and the second clamp 67. Then, the fifth measurement point detection unit 132 controls the moving mechanism 90 so that the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other at the fifth measurement point A_P2_Y2. At this time, the fifth measurement point detection unit 132 sets the X coordinate of the detection tool 7 when the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other as the X coordinate of the fifth measurement point A_P2_Y2, and sets the detection tool 7 as the X coordinate. The Y coordinate of the detection tool 7 when the outer peripheral surface of the detection jig 4 comes into contact with the detection jig 4 is set as the Y coordinate of the fifth measurement point A_P2_Y2. The part of the detection jig 4 that came into contact with the detection tool 7 at the fifth measurement point A_P2_Y2 and the detection jig that came into contact with the detection tool 7 at the fourth measurement point A_P2_Y1 when the rotation angle of the first clamp 65 was 0 °. It is the same as the part of 4.

次に、図15のステップS404では、クランプ回転部84は、第1クランプ65の回転角度が270°になるように、第1クランプ65を回転させる。ここで、第1クランプ65の回転角度が270°とは、X軸のプラス方向(ここでは、右方)から見て、反時計回りに第1回転基準位置から270°のことである。また、第1クランプ65の回転角度が270°とは、ステップS402における第1クランプ65の回転角度よりも、第1クランプ65をX軸のプラス方向から見て反時計回りに相対的に90°回転させることである。 Next, in step S404 of FIG. 15, the clamp rotating portion 84 rotates the first clamp 65 so that the rotation angle of the first clamp 65 is 270 °. Here, the rotation angle of the first clamp 65 is 270 °, which means 270 ° from the first rotation reference position counterclockwise when viewed from the positive direction (here, to the right) of the X axis. Further, the rotation angle of the first clamp 65 is 270 °, which means that the rotation angle of the first clamp 65 is 90 ° counterclockwise relative to the rotation angle of the first clamp 65 in step S402 when the first clamp 65 is viewed from the positive direction of the X axis. To rotate.

次に、ステップS405では、第3測定点検出部123は、第1クランプ65の回転角度が270°における第3測定点A_P1_Z(図3参照)を検出する。第6測定点検出部133は、第1クランプ65の回転角度が270°における第6測定点A_P2_Z(図3参照)を検出する。ここで、第3測定点A_P1_Zとは、図13に示すように、検出治具4の外周面上の点であって、X座標が第1基準点A_P1のX座標、第1測定点A_P1_Y1のX座標、および、第2測定点A_P1_Y2のX座標とそれぞれ同じ点である。第6測定点A_P2_Zとは、図14に示すように、検出治具4の外周面上の点であって、X座標が第2基準点A_P2のX座標、第4測定点A_P2_Y1のX座標、および、第5測定点A_P2_Y2のX座標とそれぞれ同じ点である。図4に示すように、第3測定点A_P1_Zおよび第6測定点A_P2_Zは、それぞれZ軸のプラス方向の端の点であって、検出治具4の最上点である。 Next, in step S405, the third measurement point detection unit 123 detects the third measurement point A_P1_Z (see FIG. 3) when the rotation angle of the first clamp 65 is 270 °. The sixth measurement point detection unit 133 detects the sixth measurement point A_P2_Z (see FIG. 3) when the rotation angle of the first clamp 65 is 270 °. Here, as shown in FIG. 13, the third measurement point A_P1_Z is a point on the outer peripheral surface of the detection jig 4, and the X coordinate is the X coordinate of the first reference point A_P1 and the first measurement point A_P1_Y1. It is the same point as the X coordinate and the X coordinate of the second measurement point A_P1_Y2. As shown in FIG. 14, the sixth measurement point A_P2_Z is a point on the outer peripheral surface of the detection jig 4, and the X coordinate is the X coordinate of the second reference point A_P2 and the X coordinate of the fourth measurement point A_P2_Y1. And, it is the same point as the X coordinate of the fifth measurement point A_P2_Y2. As shown in FIG. 4, the third measurement point A_P1_Z and the sixth measurement point A_P2_Z are points at the positive end points of the Z axis, respectively, and are the uppermost points of the detection jig 4.

本実施形態では、第3測定点検出部123は、第1クランプ65と第2クランプ67によって挟まれた検出治具4よりも上方に、把持部42に把持された検出ツール7を移動させる。そして、第3測定点検出部123は、第3測定点A_P1_Zにおいて、検出ツール7と検出治具4の外周面とが上方から接触するように移動機構90を制御する。このとき、第3測定点検出部123は、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のZ座標を、第3測定点A_P1_ZのZ座標とする。なお、第3測定点A_P1_Zにおいて、検出ツール7と接触した検出治具4の部位と、第1クランプ65の回転角度が0°における第1測定点A_P1_Y1において、検出ツール7と接触した検出治具4の部位とは同じである。 In the present embodiment, the third measurement point detection unit 123 moves the detection tool 7 gripped by the grip unit 42 above the detection jig 4 sandwiched between the first clamp 65 and the second clamp 67. Then, the third measurement point detection unit 123 controls the moving mechanism 90 so that the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other from above at the third measurement point A_P1_Z. At this time, the third measurement point detection unit 123 sets the Z coordinate of the detection tool 7 when the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other as the Z coordinate of the third measurement point A_P1_Z. The part of the detection jig 4 that came into contact with the detection tool 7 at the third measurement point A_P1_Z and the detection jig that came into contact with the detection tool 7 at the first measurement point A_P1_Y1 when the rotation angle of the first clamp 65 was 0 °. It is the same as the part of 4.

同様に、第6測定点検出部133は、第1クランプ65と第2クランプ67によって挟まれた検出治具4よりも上方に、把持部42に把持された検出ツール7を移動させる。そして、第6測定点検出部133は、第6測定点A_P2_Zにおいて、検出ツール7と検出治具4の外周面とが上方から接触するように移動機構90を制御する。このとき、第6測定点検出部133は、検出ツール7と検出治具4の外周面とが接触したときの検出ツール7のZ座標を、第6測定点A_P2_ZのZ座標とする。なお、第6測定点A_P2_Zにおいて、検出ツール7と接触した検出治具4の部位と、第1クランプ65の回転角度が0°における第4測定点A_P2_Y1において、検出ツール7と接触した検出治具4の部位とは同じである。 Similarly, the sixth measurement point detection unit 133 moves the detection tool 7 gripped by the grip unit 42 above the detection jig 4 sandwiched between the first clamp 65 and the second clamp 67. Then, the sixth measurement point detection unit 133 controls the moving mechanism 90 so that the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other from above at the sixth measurement point A_P2_Z. At this time, the sixth measurement point detection unit 133 sets the Z coordinate of the detection tool 7 when the detection tool 7 and the outer peripheral surface of the detection jig 4 come into contact with each other as the Z coordinate of the sixth measurement point A_P2_Z. The part of the detection jig 4 that came into contact with the detection tool 7 at the sixth measurement point A_P2_Z and the detection jig that came into contact with the detection tool 7 at the fourth measurement point A_P2_Y1 when the rotation angle of the first clamp 65 was 0 °. It is the same as the part of 4.

以上のように、各測定点を検出した後、図15のステップS406では、第1基準点A_P1と、第2基準点A_P2のそれぞれのX座標、Y座標、および、Z座標を算出する。ここでは、まず、第1基準点A_P1の算出について説明する。第1基準点X算出部124は、第1測定点A_P1_Y1のX座標を、第1基準点A_P1の実際のX座標に設定する。ただし、第1基準点X算出部124は、第2測定点A_P1_Y2のX座標を、第1基準点A_P1の実際のX座標に設定してもよい。 As described above, after detecting each measurement point, in step S406 of FIG. 15, the X coordinate, Y coordinate, and Z coordinate of the first reference point A_P1 and the second reference point A_P2 are calculated. Here, first, the calculation of the first reference point A_P1 will be described. The first reference point X calculation unit 124 sets the X coordinate of the first measurement point A_P1_Y1 to the actual X coordinate of the first reference point A_P1. However, the first reference point X calculation unit 124 may set the X coordinate of the second measurement point A_P1_Y2 to the actual X coordinate of the first reference point A_P1.

第1基準点Y算出部125は、第1基準点A_P1のY座標をA_P1y、第1測定点A_P1_Y1のY座標をA_P1_Y1y、第2測定点A_P1_Y2のY座標をA_P1_Y2yとしたとき、下記式(2)によって、第1基準点A_P1のY座標を算出する。
A_P1y=(A_P1_Y1y+A_P1_Y2y)/2 ・・・(2)
When the Y coordinate of the first reference point A_P1 is A_P1y, the Y coordinate of the first measurement point A_P1_Y1 is A_P1_Y1y, and the Y coordinate of the second measurement point A_P1_Y2 is A_P1_Y2y, the first reference point Y calculation unit 125 has the following equation (2). ), The Y coordinate of the first reference point A_P1 is calculated.
A_P1y = (A_P1_Y1y + A_P1_Y2y) / 2 ... (2)

第1基準点Z算出部126は、第1基準点A_P1のZ座標をA_P1z、第3測定点A_P1_ZのZ座標をA_P1_Zz、検出治具4の直径をWとしたとき、下記式(3)によって、第1基準点A_P1のZ座標を算出する。
A_P1z=A_P1_Zz−W/2 ・・・(3)
The first reference point Z calculation unit 126 uses the following equation (3) when the Z coordinate of the first reference point A_P1 is A_P1z, the Z coordinate of the third measurement point A_P1_Z is A_P1_Zz, and the diameter of the detection jig 4 is W. , The Z coordinate of the first reference point A_P1 is calculated.
A_P1z = A_P1_ZZ-W / 2 ... (3)

なお、検出治具4の直径Wは、第1測定点A_P1_Y1のY座標と、第2測定点A_P1_Y2のY座標との差で算出される。言い換えると、検出治具4の直径Wは、第1測定点A_P1_Y1と第2測定点A_P1_Y2との間の距離である。ただし、検出治具4の直径Wは、第4測定点A_P2_Y1のY座標と、第5測定点A_P2_Y2のY座標との差で算出されてもよい。検出治具4の直径Wは、第4測定点A_P2_Y1と、第5測定点A_P2_Y2との間の距離でもある。 The diameter W of the detection jig 4 is calculated by the difference between the Y coordinate of the first measurement point A_P1_Y1 and the Y coordinate of the second measurement point A_P1_Y2. In other words, the diameter W of the detection jig 4 is the distance between the first measurement point A_P1_Y1 and the second measurement point A_P1_Y2. However, the diameter W of the detection jig 4 may be calculated by the difference between the Y coordinate of the fourth measurement point A_P2_Y1 and the Y coordinate of the fifth measurement point A_P2_Y2. The diameter W of the detection jig 4 is also the distance between the fourth measurement point A_P2_Y1 and the fifth measurement point A_P2_Y2.

次に、第2基準点A_P2の算出について説明する。第2基準点X算出部134は、第4測定点A_P2_Y1のX座標を、第2基準点A_P2の実際のX座標に設定する。ただし、第2基準点X算出部134は、第5測定点A_P2_Y2のX座標を、第2基準点A_P2の実際のX座標に設定してもよい。第2基準点Y算出部135は、第2基準点A_P2のY座標をA_P2y、第4測定点A_P2_Y1のY座標をA_P2_Y1y、第5測定点A_P2_Y2のY座標をA_P2_Y2yとしたとき、下記式(4)によって、第2基準点A_P2のY座標を算出する。
A_P2y=(A_P2_Y1y+A_P2_Y2y)/2 ・・・(4)
Next, the calculation of the second reference point A_P2 will be described. The second reference point X calculation unit 134 sets the X coordinate of the fourth measurement point A_P2_Y1 to the actual X coordinate of the second reference point A_P2. However, the second reference point X calculation unit 134 may set the X coordinate of the fifth measurement point A_P2_Y2 to the actual X coordinate of the second reference point A_P2. The second reference point Y calculation unit 135 uses the following equation (4) when the Y coordinate of the second reference point A_P2 is A_P2y, the Y coordinate of the fourth measurement point A_P2_Y1 is A_P2_Y1y, and the Y coordinate of the fifth measurement point A_P2_Y2 is A_P2_Y2y. ), The Y coordinate of the second reference point A_P2 is calculated.
A_P2y = (A_P2_Y1y + A_P2_Y2y) / 2 ... (4)

第2基準点Z算出部136は、第2基準点A_P2のZ座標をA_P2z、第6測定点A_P2_ZのZ座標をA_P2_Zz、検出治具4の直径をWとしたとき、下記式(5)によって、第2基準点A_P2のZ座標を算出する。
A_P2z=A_P2_Zz−W/2 ・・・(5)
When the Z coordinate of the second reference point A_P2 is A_P2z, the Z coordinate of the sixth measurement point A_P2_Z is A_P2_Zz, and the diameter of the detection jig 4 is W, the second reference point Z calculation unit 136 is based on the following equation (5). , The Z coordinate of the second reference point A_P2 is calculated.
A_P2z = A_P2_ZZ-W / 2 ... (5)

なお、このように、第1基準点A_P1および第2基準点A_P2のそれぞれのXYZ座標を算出する際、偏心オフセット算出部82によって算出された偏心オフセット(偏心Xオフセットおよび偏心Yオフセット)を利用して補正をすることで、第1基準点A_P1および第2基準点A_P2のそれぞれのXYZ座標を算出してもよい。 In this way, when calculating the XYZ coordinates of the first reference point A_P1 and the second reference point A_P2, the eccentric offset (eccentric X offset and eccentric Y offset) calculated by the eccentric offset calculation unit 82 is used. The XYZ coordinates of the first reference point A_P1 and the second reference point A_P2 may be calculated by making corrections.

以上のようにして、図10のステップS103において、第1基準点A_P1と、第2基準点A_P2のそれぞれのX座標、Y座標、および、Z座標を算出することで、第1基準点A_P1の実際の位置、および、第2基準点A_P2の実際の位置をそれぞれ算出することができる。その後、図10のステップS104では、回転軸オフセット算出部88は、ステップS103において算出された第1基準点A_P1および第2基準点A_P2の実際のそれぞれの位置に基づいて、回転機構60の回転軸R1の実際の位置である回転軸実位置を算出する。この回転軸実位置は、回転軸R1の傾きである。そして、回転軸オフセット算出部88は、回転軸実位置と、記憶部81に記憶された回転軸設計位置とを比較することで、回転軸R1の補正値である回転軸オフセットを算出する。 As described above, in step S103 of FIG. 10, the X-coordinate, Y-coordinate, and Z-coordinate of the first reference point A_P1 and the second reference point A_P2 are calculated to obtain the first reference point A_P1. The actual position and the actual position of the second reference point A_P2 can be calculated respectively. After that, in step S104 of FIG. 10, the rotation axis offset calculation unit 88 uses the rotation axis of the rotation mechanism 60 based on the actual positions of the first reference point A_P1 and the second reference point A_P2 calculated in step S103. The actual position of the rotation axis, which is the actual position of R1, is calculated. The actual position of the rotation axis is the inclination of the rotation axis R1. Then, the rotation axis offset calculation unit 88 calculates the rotation axis offset, which is a correction value of the rotation axis R1, by comparing the actual position of the rotation axis with the rotation axis design position stored in the storage unit 81.

以上のようにして、回転軸オフセットを算出した後、移動制御部89(図7参照)は、切削加工する際、この回転軸オフセットに基づいて、移動機構90を制御して、把持部42を移動させる。このことによって、回転機構60の回転軸R1のズレを考慮して、移動機構90が制御されているため、被加工物を所望の形状に切削加工することができる。 After calculating the rotation axis offset as described above, the movement control unit 89 (see FIG. 7) controls the movement mechanism 90 based on the rotation axis offset during cutting to control the grip portion 42. Move it. As a result, since the moving mechanism 90 is controlled in consideration of the deviation of the rotating shaft R1 of the rotating mechanism 60, the workpiece can be cut into a desired shape.

なお、本実施形態では、図10のステップS105のように、回転量補正部87は、第1クランプ65の回転量の補正を行ってもよい。例えば、第1クランプ65を設計上において180°回転させた場合であっても、実際には、第1クランプ65の回転角度が180°未満の場合、または、180°よりも大きい場合があり得る。このとき、第1クランプ65を設計上において180°回転させた場合に、第1クランプ65の回転角度が実際にも180°になるように第1クランプ65の回転量を補正する。ここでは、図16のフローチャートに沿った手順を実行することで、回転量補正部87は、第1クランプ65の回転量の補正を行う。本実施形態では、図8に示すように、回転量補正部87は、第3クランプ基準点検出部141と、第4クランプ基準点検出部142と、第2クランプ傾き算出部143と、クランプ回転量補正部144とを備えている。 In this embodiment, as in step S105 of FIG. 10, the rotation amount correction unit 87 may correct the rotation amount of the first clamp 65. For example, even if the first clamp 65 is rotated by 180 ° by design, the rotation angle of the first clamp 65 may actually be less than 180 ° or larger than 180 °. .. At this time, when the first clamp 65 is rotated by 180 ° in design, the rotation amount of the first clamp 65 is corrected so that the rotation angle of the first clamp 65 is actually 180 °. Here, by executing the procedure according to the flowchart of FIG. 16, the rotation amount correction unit 87 corrects the rotation amount of the first clamp 65. In the present embodiment, as shown in FIG. 8, the rotation amount correction unit 87 includes the third clamp reference point detection unit 141, the fourth clamp reference point detection unit 142, the second clamp inclination calculation unit 143, and the clamp rotation. It is provided with an amount correction unit 144.

なお、記憶部81には、第1回転基準位置を基準にしたときの回転角度が180°のときの第1クランプ65の上面の設計上の傾きである第2クランプ設計傾きが予め記憶されている。図17は、図3のXVII−XVII断面における第1クランプ65の断面図である。図17では、第1クランプ65の回転角度が0°のときの第1クランプ65の断面図が示されている。第1クランプ65の回転角度が180°のときの第1クランプ65の上面とは、第1クランプ65の回転角度が0°のときの第1クランプ65の下面である。本実施形態では、第2クランプ設計傾きとは、Z軸方向に対して直交するような傾きである。 The storage unit 81 stores in advance the second clamp design inclination, which is the design inclination of the upper surface of the first clamp 65 when the rotation angle with respect to the first rotation reference position is 180 °. There is. FIG. 17 is a cross-sectional view of the first clamp 65 in the XVII-XVII cross section of FIG. FIG. 17 shows a cross-sectional view of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. The upper surface of the first clamp 65 when the rotation angle of the first clamp 65 is 180 ° is the lower surface of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. In the present embodiment, the second clamp design inclination is an inclination that is orthogonal to the Z-axis direction.

図16のステップS501では、クランプ回転部84は、第1クランプ65の回転角度が180°になるように第1クランプ65を回転させる。ここでは、クランプ回転部84は、図15のステップS404における第1クランプ65の回転角度(詳しくは、270°)よりも、第1クランプ65を、X軸のプラス方向(ここでは、右方)から見て反時計回りに270°回転させる。 In step S501 of FIG. 16, the clamp rotating portion 84 rotates the first clamp 65 so that the rotation angle of the first clamp 65 is 180 °. Here, the clamp rotating portion 84 makes the first clamp 65 in the positive direction of the X axis (here, to the right) rather than the rotation angle (specifically, 270 °) of the first clamp 65 in step S404 of FIG. Rotate 270 ° counterclockwise when viewed from.

次に、図16のステップS502において、第3クランプ基準点A_Z3(図17参照)を検出し、ステップS503において、第4クランプ基準点A_Z4(図17参照)を検出する。図17に示すように、第1クランプ65の回転角度が180°のときにおける上面(言い換えると、第1クランプ65の回転角度が0°のときにおける下面)には、第3クランプ基準点A_Z3と、第4クランプ基準点A_Z4が設定されている。第3クランプ基準点A_Z3と、第4クランプ基準点A_Z4は、前後方向Yに並んだ点であり、X座標が同じである。本実施形態では、平面視において、第3クランプ基準点A_Z3は、第2クランプ基準点A_Z2と一致する。平面視において、第4クランプ基準点A_Z4は、第1クランプ基準点A_Z1と一致する。 Next, in step S502 of FIG. 16, the third clamp reference point A_Z3 (see FIG. 17) is detected, and in step S503, the fourth clamp reference point A_Z4 (see FIG. 17) is detected. As shown in FIG. 17, the upper surface when the rotation angle of the first clamp 65 is 180 ° (in other words, the lower surface when the rotation angle of the first clamp 65 is 0 °) has a third clamp reference point A_Z3. , The fourth clamp reference point A_Z4 is set. The third clamp reference point A_Z3 and the fourth clamp reference point A_Z4 are points arranged in the front-rear direction Y and have the same X coordinate. In the present embodiment, the third clamp reference point A_Z3 coincides with the second clamp reference point A_Z2 in a plan view. In a plan view, the fourth clamp reference point A_Z4 coincides with the first clamp reference point A_Z1.

図16のステップS502において、第3クランプ基準点検出部141は、第3クランプ基準点A_Z3のY座標およびZ座標を検出する。ここでは、第3クランプ基準点検出部141は、第1クランプ65の回転角度が180°のときの第1クランプ65の上方から、把持部42に把持された検出ツール7を第1クランプ65の第3クランプ基準点A_Z3に接触させるようにして、移動機構90を制御する。このとき、第3クランプ基準点検出部141は、検出ツール7に第3クランプ基準点A_Z3が接触したときの検出ツール7の先端のY座標およびZ座標を、第3クランプ基準点A_Z3のY座標およびZ座標としてそれぞれ検出する。ここでは、第1クランプ65の回転角度が180°のときにおける第3クランプ基準点A_Z3のY座標のことを第3クランプY座標という。また、第1クランプ65の回転角度が180°のときにおける第3クランプ基準点A_Z3のZ座標のことを第3クランプZ座標という。 In step S502 of FIG. 16, the third clamp reference point detection unit 141 detects the Y coordinate and the Z coordinate of the third clamp reference point A_Z3. Here, the third clamp reference point detection unit 141 uses the detection tool 7 gripped by the grip portion 42 from above the first clamp 65 when the rotation angle of the first clamp 65 is 180 ° to the first clamp 65. The moving mechanism 90 is controlled so as to be in contact with the third clamp reference point A_Z3. At this time, the third clamp reference point detection unit 141 sets the Y coordinate and Z coordinate of the tip of the detection tool 7 when the third clamp reference point A_Z3 comes into contact with the detection tool 7, and the Y coordinate of the third clamp reference point A_Z3. And Z coordinates are detected respectively. Here, the Y coordinate of the third clamp reference point A_Z3 when the rotation angle of the first clamp 65 is 180 ° is referred to as the third clamp Y coordinate. Further, the Z coordinate of the third clamp reference point A_Z3 when the rotation angle of the first clamp 65 is 180 ° is referred to as the third clamp Z coordinate.

次に、図16のステップS503では、第4クランプ基準点検出部142は、図3に示すように、第1クランプ65の回転角度が180°のときにおける第4クランプ基準点A_Z4のY座標およびZ座標を検出する。ここでは、第4クランプ基準点検出部142は、第1クランプ65の回転角度が180°のときにおける第1クランプ65の上方から、把持部42に把持された検出ツール7を第1クランプ65の第4クランプ基準点A_Z4に接触させるようにして、移動機構90を制御する。このとき、第4クランプ基準点検出部142は、検出ツール7に第4クランプ基準点A_Z4が接触したときの検出ツール7の先端のY座標およびZ座標を、第4クランプ基準点A_Z4のY座標およびZ座標としてそれぞれ検出する。ここでは、第1クランプ65の回転角度が180°のときにおける第4クランプ基準点A_Z4のY座標のことを第4クランプY座標という。また、第1クランプ65の回転角度が180°のときにおける第4クランプ基準点A_Z4のZ座標のことを第4クランプZ座標という。 Next, in step S503 of FIG. 16, as shown in FIG. 3, the fourth clamp reference point detection unit 142 has the Y coordinate of the fourth clamp reference point A_Z4 and the Y coordinate of the fourth clamp reference point A_Z4 when the rotation angle of the first clamp 65 is 180 °. Detect the Z coordinate. Here, the fourth clamp reference point detection unit 142 uses the detection tool 7 gripped by the grip portion 42 from above the first clamp 65 when the rotation angle of the first clamp 65 is 180 ° to the first clamp 65. The moving mechanism 90 is controlled so as to be in contact with the fourth clamp reference point A_Z4. At this time, the fourth clamp reference point detection unit 142 sets the Y coordinate and Z coordinate of the tip of the detection tool 7 when the fourth clamp reference point A_Z4 comes into contact with the detection tool 7, and the Y coordinate of the fourth clamp reference point A_Z4. And Z coordinates are detected respectively. Here, the Y coordinate of the fourth clamp reference point A_Z4 when the rotation angle of the first clamp 65 is 180 ° is referred to as the Y coordinate of the fourth clamp. Further, the Z coordinate of the fourth clamp reference point A_Z4 when the rotation angle of the first clamp 65 is 180 ° is referred to as the Z coordinate of the fourth clamp.

次に、図16のステップS504では、第2クランプ傾き算出部143は、第1クランプ65の回転角度が180°のときの第1クランプ65の上面の実際の傾きである第2クランプ実傾きを算出する。第2クランプ傾き算出部143は、ステップS502およびステップS503においてそれぞれ検出された、第3クランプY座標、第3クランプZ座標、第4クランプY座標、および、第4クランプY座標を使用して、第2クランプ実傾きを算出する。本実施形態では、第2クランプ実傾きは、YZ平面上における第3クランプ基準点A_Z3と第4クランプ基準点A_Z4を結ぶ線の傾きである。 Next, in step S504 of FIG. 16, the second clamp inclination calculation unit 143 calculates the actual inclination of the second clamp, which is the actual inclination of the upper surface of the first clamp 65 when the rotation angle of the first clamp 65 is 180 °. calculate. The second clamp inclination calculation unit 143 uses the third clamp Y coordinate, the third clamp Z coordinate, the fourth clamp Y coordinate, and the fourth clamp Y coordinate detected in steps S502 and S503, respectively. Calculate the actual tilt of the second clamp. In the present embodiment, the actual inclination of the second clamp is the inclination of the line connecting the third clamp reference point A_Z3 and the fourth clamp reference point A_Z4 on the YZ plane.

本実施形態では、第2クランプ実傾きをSL2、第3クランプY座標をA_Z3y、第3クランプZ座標をA_Z3z、第4クランプY座標をA_Z4y、第4クランプZ座標をA_Z4zとしたとき、第2クランプ傾き算出部143は、下記式(6)によって、第2クランプ実傾きSL2を算出する。なお、第2クランプ実傾きSL2の単位は、radである。しかしながら、第2クランプ実傾きSL2の単位は特に限定されない。

Figure 0006862133
In the present embodiment, when the actual inclination of the second clamp is SL2, the Y coordinate of the third clamp is A_Z3y, the Z coordinate of the third clamp is A_Z3z, the Y coordinate of the fourth clamp is A_Z4y, and the Z coordinate of the fourth clamp is A_Z4z, the second clamp is used. The clamp inclination calculation unit 143 calculates the second clamp actual inclination SL2 by the following equation (6). The unit of the second clamp actual inclination SL2 is rad. However, the unit of the second clamp actual inclination SL2 is not particularly limited.
Figure 0006862133

次に、図16のステップS505では、クランプ回転量補正部144は、第1クランプ65の回転量を補正する。ここでは、クランプ回転量補正部144は、ステップS504において算出された第2クランプ実傾きが、記憶部81に記憶された第2クランプ設計傾きとなるように、第1クランプ65の回転量を補正する。このことによって、第1クランプ65を設計上において180°回転させた場合、第1クランプ65の回転角度を実際にも180°にすることができる。 Next, in step S505 of FIG. 16, the clamp rotation amount correction unit 144 corrects the rotation amount of the first clamp 65. Here, the clamp rotation amount correction unit 144 corrects the rotation amount of the first clamp 65 so that the actual inclination of the second clamp calculated in step S504 becomes the second clamp design inclination stored in the storage unit 81. To do. As a result, when the first clamp 65 is rotated by 180 ° in design, the rotation angle of the first clamp 65 can actually be 180 °.

本実施形態では、第1クランプ65の回転角度が180°のときの第1クランプ65の上面(言い換えると、第1クランプ65の回転角度が0°のときの第1クランプ65の下面)の第3クランプ基準点A_Z3と第4クランプ基準点A_Z4のそれぞれの位置を検出している。そして、第2クランプ傾き算出部143は、第3クランプ基準点A_Z3と第4クランプ基準点A_Z4の2点を結ぶ直線の傾きを算出することで、回転角度が180°のときの第1クランプ65の実際の傾きを算出している。このように、第3クランプ基準点A_Z3と第4クランプ基準点A_Z4の2点を検出することで、回転角度が180°における第1クランプ65の実際の傾きを容易に算出することができる。 In the present embodiment, the first upper surface of the first clamp 65 when the rotation angle of the first clamp 65 is 180 ° (in other words, the lower surface of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °). The positions of the 3 clamp reference point A_Z3 and the 4th clamp reference point A_Z4 are detected. Then, the second clamp inclination calculation unit 143 calculates the inclination of the straight line connecting the two points of the third clamp reference point A_Z3 and the fourth clamp reference point A_Z4, so that the first clamp 65 when the rotation angle is 180 °. The actual slope of is calculated. In this way, by detecting two points, the third clamp reference point A_Z3 and the fourth clamp reference point A_Z4, the actual inclination of the first clamp 65 at a rotation angle of 180 ° can be easily calculated.

本実施形態では、図13および図14に示すように、回転機構60の回転軸R1上の第1基準点A_P1の実際の位置と、回転軸R1上の第2基準点A_P2の実際の位置とを検出している。第1基準点A_P1と第2基準点A_P2の2点から、回転機構60の回転軸R1の実際の傾きなどの位置が得られる。よって、第1基準点A_P1と第2基準点A_P2とから、回転機構60の組み付け誤差を算出することができ、かつ、回転軸R1の補正値である回転軸オフセットを算出することができる。したがって、切削加工する際、回転軸オフセットを考慮して、移動機構90を制御することで、回転機構60の回転軸R1がズレた場合であっても、そのズレを考慮して、切削ヘッド40の把持部42を回転機構60に対して3次元方向に移動させることができる。その結果、回転機構60の組み付け誤差が生じた場合であっても、被加工物5を所望の形状に切削加工することができる。 In the present embodiment, as shown in FIGS. 13 and 14, the actual position of the first reference point A_P1 on the rotation axis R1 of the rotation mechanism 60 and the actual position of the second reference point A_P2 on the rotation axis R1 Is being detected. From the two points of the first reference point A_P1 and the second reference point A_P2, the position such as the actual inclination of the rotation axis R1 of the rotation mechanism 60 can be obtained. Therefore, the assembly error of the rotation mechanism 60 can be calculated from the first reference point A_P1 and the second reference point A_P2, and the rotation axis offset which is the correction value of the rotation axis R1 can be calculated. Therefore, by controlling the moving mechanism 90 in consideration of the rotation axis offset during cutting, even if the rotation axis R1 of the rotation mechanism 60 is displaced, the deviation is taken into consideration in the cutting head 40. The grip portion 42 of the above can be moved in the three-dimensional direction with respect to the rotation mechanism 60. As a result, the workpiece 5 can be cut into a desired shape even when an assembly error of the rotation mechanism 60 occurs.

本実施形態では、傾き調整部83は、第1クランプ65の回転角度が0°のときの第1クランプ65の傾きを調整している。例えば、回転機構60の組み付け誤差によって、設計上において第1クランプ65の回転角度を0°に設定したにも関わらず、実際の第1クランプ65の回転角度が0°ではないことがあり得る。この場合、第1クランプ65の実際の回転角度を0°にするために、傾き調整部83によって、第1クランプ65の傾きを調整することで、第1クランプ65の回転角度が0°のときの第1クランプ65の傾きを設計上の傾きと同じにすることができる。 In the present embodiment, the tilt adjusting unit 83 adjusts the tilt of the first clamp 65 when the rotation angle of the first clamp 65 is 0 °. For example, due to an assembly error of the rotation mechanism 60, the actual rotation angle of the first clamp 65 may not be 0 ° even though the rotation angle of the first clamp 65 is set to 0 ° in the design. In this case, when the rotation angle of the first clamp 65 is 0 ° by adjusting the inclination of the first clamp 65 by the inclination adjusting unit 83 in order to make the actual rotation angle of the first clamp 65 0 °. The inclination of the first clamp 65 of the above can be made the same as the inclination of the design.

本実施形態では、図3に示すように、第1クランプ65の回転角度が0°のときの第1クランプ65の上面の第1クランプ基準点A_Z1と第2クランプ基準点A_Z2のそれぞれの位置を検出している。そして、クランプ傾き算出部113は、第1クランプ基準点A_Z1と第2クランプ基準点A_Z2の2点を結ぶ直線の傾きを算出することで、第1クランプ65の回転角度が0°における第1クランプ65の実際の傾きを算出している。このように、第1クランプ基準点A_Z1と第2クランプ基準点A_Z2の2点を検出することで、第1クランプ65の実際の傾きを容易に算出することができる。 In the present embodiment, as shown in FIG. 3, the positions of the first clamp reference point A_Z1 and the second clamp reference point A_Z2 on the upper surface of the first clamp 65 when the rotation angle of the first clamp 65 is 0 ° are set. It is being detected. Then, the clamp inclination calculation unit 113 calculates the inclination of a straight line connecting the two points of the first clamp reference point A_Z1 and the second clamp reference point A_Z2, so that the first clamp at a rotation angle of 0 ° of the first clamp 65 is the first clamp. The actual slope of 65 is calculated. In this way, by detecting the two points of the first clamp reference point A_Z1 and the second clamp reference point A_Z2, the actual inclination of the first clamp 65 can be easily calculated.

図13に示すように、回転軸R1上の点である第1基準点A_P1は、検出治具4の内部に位置しているため、第1基準点A_P1を検出ツール7で直接検出することができない。そこで、本実施形態では、検出治具4の外周面上の点であって、第1基準点A_P1とX座標が同じ点である第1測定点A_P1_Y1、第2測定点A_P1_Y2、第3測定点A_P1_Zを検出している。よって、第1測定点A_P1_Y1、第2測定点A_P1_Y2、第3測定点A_P1_Zから、検出治具4の内部の点である第1基準点A_P1を検出することができる。 As shown in FIG. 13, since the first reference point A_P1 which is a point on the rotation axis R1 is located inside the detection jig 4, the first reference point A_P1 can be directly detected by the detection tool 7. Can not. Therefore, in the present embodiment, the first measurement point A_P1_Y1, the second measurement point A_P1_Y2, and the third measurement point, which are points on the outer peripheral surface of the detection jig 4 and have the same X coordinate as the first reference point A_P1. A_P1_Z is detected. Therefore, the first reference point A_P1, which is an internal point of the detection jig 4, can be detected from the first measurement point A_P1_Y1, the second measurement point A_P1_Y2, and the third measurement point A_P1_Z.

図14に示すように、回転軸R1上の点である第2基準点A_P2は、検出治具4の内部に位置しているため、第2基準点A_P2を検出ツール7で直接検出することができない。しかしながら、本実施形態では、検出治具4の外周面上の点であって、第2基準点A_P2とX座標が同じ点である第4測定点A_P2_Y1、第5測定点A_P2_Y2、第6測定点A_P2_Zを検出している。よって、第4測定点A_P2_Y1、第5測定点A_P2_Y2、および、第6測定点A_P2_Zから、検出治具4の内部の点である第2基準点A_P2を検出することができる。 As shown in FIG. 14, since the second reference point A_P2, which is a point on the rotation axis R1, is located inside the detection jig 4, the second reference point A_P2 can be directly detected by the detection tool 7. Can not. However, in the present embodiment, the fourth measurement point A_P2_Y1, the fifth measurement point A_P2_Y2, and the sixth measurement point, which are points on the outer peripheral surface of the detection jig 4 and have the same X coordinate as the second reference point A_P2. A_P2_Z is detected. Therefore, the second reference point A_P2, which is an internal point of the detection jig 4, can be detected from the fourth measurement point A_P2_Y1, the fifth measurement point A_P2_Y2, and the sixth measurement point A_P2_Z.

本実施形態では、偏心オフセット算出部82は、偏心オフセットを算出している。回転軸オフセット算出部88は、偏心オフセットに基づいて検出された第1基準点A_P1および第2基準点A_P2から、回転軸オフセットを算出している。このことによって、仮に、把持部42が検出ツール7を適切に把持していない場合であっても、偏心オフセットを算出して、把持部42に把持された検出ツール7の向きを補正することで、第1基準点A_P1および第2基準点A_P2を適切に算出することができる。よって、より適切な回転軸オフセットを得ることができる。 In the present embodiment, the eccentric offset calculation unit 82 calculates the eccentric offset. The rotation axis offset calculation unit 88 calculates the rotation axis offset from the first reference point A_P1 and the second reference point A_P2 detected based on the eccentric offset. As a result, even if the grip portion 42 does not properly grip the detection tool 7, the eccentric offset is calculated and the orientation of the detection tool 7 gripped by the grip portion 42 is corrected. , The first reference point A_P1 and the second reference point A_P2 can be appropriately calculated. Therefore, a more appropriate rotation axis offset can be obtained.

7 検出ツール
10 本体
40 切削ヘッド
42 把持部
60 回転機構
65 第1クランプ
65A 第5モータ(モータ)
67 第2クランプ
80 制御装置
81 記憶部
82 偏心オフセット算出部
84 クランプ回転部
85 第1基準点検出部
86 第2基準点検出部
88 回転軸オフセット算出部
89 移動制御部
90 移動機構
100 切削加工機
7 Detection tool 10 Main body 40 Cutting head 42 Grip part 60 Rotation mechanism 65 1st clamp 65A 5th motor (motor)
67 Second clamp 80 Control device 81 Storage unit 82 Eccentric offset calculation unit 84 Clamp rotation unit 85 First reference point detection unit 86 Second reference point detection unit 88 Rotation axis offset calculation unit 89 Movement control unit 90 Movement mechanism 100 Cutting machine

Claims (9)

本体と、
加工ツールおよび検出ツールのうち何れか一方のツールを把持可能な把持部を有する切削ヘッドと、
被加工物および検出治具のうち何れか一方の部材を挟み込む第1クランプおよび第2クランプと、前記第1クランプを回転させるモータとを有する回転機構と、
前記把持部を前記回転機構に対して相対的に3次元方向に移動させる移動機構と、
前記移動機構を制御する制御装置と、
を備え、
前記回転機構には、前記第1クランプと前記第2クランプによって挟まれた部材を回転させる回転軸が設定されており、
前記回転軸上には、第1基準点と第2基準点が設定されており、
前記制御装置は、
前記回転軸の設計上の位置である回転軸設計位置が記憶された記憶部と、
前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第1基準点の実際の位置を検出する第1基準点検出部と、
前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第2基準点の実際の位置を検出する第2基準点検出部と、
前記第1基準点および前記第2基準点に基づいて、前記回転軸の実際の位置である回転軸実位置を算出し、前記回転軸実位置と、前記回転軸設計位置とを比較することで回転軸の補正値である回転軸オフセットを算出する回転軸オフセット算出部と、
前記回転軸オフセットに基づいて、前記移動機構を制御する移動制御部と、
を備え
前記回転機構には、前記第1クランプを回転させる際の基準の位置である第1回転基準位置が設定されており、
前記記憶部には、前記第1回転基準位置を基準にしたときの回転角度が0°のときの前記第1クランプの上面の設計上の傾きであるクランプ設計傾きが記憶されており、
前記制御装置は、
回転角度が0°となるように前記第1クランプを回転させたときの前記第1クランプの上面の実際の傾きであるクランプ実傾きを算出するクランプ傾き算出部と、
前記クランプ実傾きが前記クランプ設計傾きとなるように、前記第1クランプを回転させて調整するクランプ調整部と、
を備え、
前記第1基準点検出部は、前記クランプ調整部によって前記第1クランプが調整された後、前記第1基準点の実際の位置を検出し、
前記第2基準点検出部は、前記クランプ調整部によって前記第1クランプが回転された後、前記第2基準点の実際の位置を検出する、切削加工機。
With the main body
A cutting head having a grip portion capable of gripping either a machining tool or a detection tool, and a cutting head.
A rotation mechanism having a first clamp and a second clamp for sandwiching one of the workpiece and the detection jig, and a motor for rotating the first clamp.
A moving mechanism that moves the grip portion in a three-dimensional direction relative to the rotating mechanism,
A control device that controls the movement mechanism and
With
The rotation mechanism is set with a rotation axis for rotating the member sandwiched between the first clamp and the second clamp.
A first reference point and a second reference point are set on the rotation axis.
The control device is
A storage unit that stores the rotation axis design position, which is the design position of the rotation axis,
By controlling the moving mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp, the actual first reference point is actually performed. The first reference point detector that detects the position of
By controlling the moving mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp, the actual second reference point is actually performed. The second reference point detector that detects the position of
By calculating the actual position of the rotation axis, which is the actual position of the rotation axis, based on the first reference point and the second reference point, and comparing the actual position of the rotation axis with the design position of the rotation axis. The rotation axis offset calculation unit that calculates the rotation axis offset, which is the correction value of the rotation axis,
A movement control unit that controls the movement mechanism based on the rotation axis offset,
Equipped with a,
The rotation mechanism is set with a first rotation reference position, which is a reference position when rotating the first clamp.
The storage unit stores the clamp design inclination, which is the design inclination of the upper surface of the first clamp when the rotation angle with respect to the first rotation reference position is 0 °.
The control device is
A clamp inclination calculation unit that calculates the actual clamp inclination, which is the actual inclination of the upper surface of the first clamp when the first clamp is rotated so that the rotation angle becomes 0 °.
A clamp adjusting unit that rotates and adjusts the first clamp so that the actual clamp inclination becomes the clamp design inclination.
With
The first reference point detecting unit detects the actual position of the first reference point after the first clamp is adjusted by the clamp adjusting unit.
The second reference point detecting unit is a cutting machine that detects the actual position of the second reference point after the first clamp is rotated by the clamp adjusting unit.
前記本体に対する前記回転機構の位置は、XYZ直交座標系の座標で表され、
前記第1クランプの回転角度が0°のときの前記第1クランプの上面には、所定の第1クランプ基準点と第2クランプ基準点が配置されており、
前記制御装置は、
前記第1クランプの回転角度が0°のときの前記第1クランプの上面に前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第1クランプ基準点のY座標である第1クランプY座標と、前記第1クランプ基準点のZ座標である第1クランプZ座標を検出する第1クランプ基準点検出部と、
前記第1クランプの回転角度が0°のときの前記第1クランプの上面に前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第2クランプ基準点のY座標である第2クランプY座標と、前記第2クランプ基準点のZ座標である第2クランプZ座標を検出する第2クランプ基準点検出部と、
を備え、
前記クランプ傾き算出部は、前記クランプ実傾きをSL1、前記第1クランプY座標をA_Z1y、前記第1クランプZ座標をA_Z1z、前記第2クランプY座標をA_Z2y、前記第2クランプZ座標をA_Z2zとしたとき、下記式によって、前記クランプ実傾きを算出する、請求項に記載された切削加工機。
Figure 0006862133
The position of the rotation mechanism with respect to the main body is represented by the coordinates of the XYZ Cartesian coordinate system.
A predetermined first clamp reference point and a second clamp reference point are arranged on the upper surface of the first clamp when the rotation angle of the first clamp is 0 °.
The control device is
By controlling the moving mechanism so that the detection tool gripped by the grip portion comes into contact with the upper surface of the first clamp when the rotation angle of the first clamp is 0 °, the first clamp reference point. The first clamp Y coordinate, which is the Y coordinate of, and the first clamp reference point detection unit, which detects the first clamp Z coordinate, which is the Z coordinate of the first clamp reference point.
By controlling the moving mechanism so that the detection tool gripped by the grip portion comes into contact with the upper surface of the first clamp when the rotation angle of the first clamp is 0 °, the second clamp reference point. The second clamp Y coordinate which is the Y coordinate of the second clamp, the second clamp reference point detecting unit which detects the second clamp Z coordinate which is the Z coordinate of the second clamp reference point, and the second clamp reference point detecting unit.
With
The clamp tilt calculation unit sets the actual clamp tilt as SL1, the first clamp Y coordinate as A_Z1y, the first clamp Z coordinate as A_Z1z, the second clamp Y coordinate as A_Z2y, and the second clamp Z coordinate as A_Z2z. when, according to the following formula to calculate the clamp actual slope, cutting machine according to claim 1.
Figure 0006862133
本体と、 With the main body
加工ツールおよび検出ツールのうち何れか一方のツールを把持可能な把持部を有する切削ヘッドと、 A cutting head having a grip portion capable of gripping either a machining tool or a detection tool, and a cutting head.
被加工物および検出治具のうち何れか一方の部材を挟み込む第1クランプおよび第2クランプと、前記第1クランプを回転させるモータとを有する回転機構と、 A rotation mechanism having a first clamp and a second clamp for sandwiching one of the workpiece and the detection jig, and a motor for rotating the first clamp.
前記把持部を前記回転機構に対して相対的に3次元方向に移動させる移動機構と、 A moving mechanism that moves the grip portion in a three-dimensional direction relative to the rotating mechanism,
前記移動機構を制御する制御装置と、 A control device that controls the movement mechanism and
を備え、With
前記回転機構には、前記第1クランプと前記第2クランプによって挟まれた部材を回転させる回転軸が設定されており、 The rotation mechanism is set with a rotation axis for rotating the member sandwiched between the first clamp and the second clamp.
前記回転軸上には、第1基準点と第2基準点が設定されており、 A first reference point and a second reference point are set on the rotation axis.
前記制御装置は、 The control device is
前記回転軸の設計上の位置である回転軸設計位置が記憶された記憶部と、 A storage unit that stores the rotation axis design position, which is the design position of the rotation axis,
前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第1基準点の実際の位置を検出する第1基準点検出部と、 By controlling the moving mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp, the actual first reference point is actually performed. The first reference point detector that detects the position of
前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第2基準点の実際の位置を検出する第2基準点検出部と、 By controlling the moving mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp, the actual second reference point is actually performed. The second reference point detector that detects the position of
前記第1基準点および前記第2基準点に基づいて、前記回転軸の実際の位置である回転軸実位置を算出し、前記回転軸実位置と、前記回転軸設計位置とを比較することで回転軸の補正値である回転軸オフセットを算出する回転軸オフセット算出部と、 By calculating the actual position of the rotation axis, which is the actual position of the rotation axis, based on the first reference point and the second reference point, and comparing the actual position of the rotation axis with the design position of the rotation axis. The rotation axis offset calculation unit that calculates the rotation axis offset, which is the correction value of the rotation axis,
前記回転軸オフセットに基づいて、前記移動機構を制御する移動制御部と、 A movement control unit that controls the movement mechanism based on the rotation axis offset,
を備え、With
前記回転機構には、前記第1クランプを回転させる際の基準の位置である第1回転基準位置が設定されており、 The rotation mechanism is set with a first rotation reference position, which is a reference position when rotating the first clamp.
前記記憶部には、前記第1回転基準位置を基準にしたときの回転角度が180°のときの前記第1クランプの上面の設計上の傾きである第2クランプ設計傾きが記憶されており、 The storage unit stores the second clamp design inclination, which is the design inclination of the upper surface of the first clamp when the rotation angle with respect to the first rotation reference position is 180 °.
前記制御装置は、 The control device is
回転角度が180°となるように前記第1クランプを回転させたときの前記第1クランプの上面の実際の傾きである第2クランプ実傾きを算出する第2クランプ傾き算出部と、 A second clamp tilt calculation unit that calculates the actual tilt of the second clamp, which is the actual tilt of the upper surface of the first clamp when the first clamp is rotated so that the rotation angle is 180 °.
前記第2クランプ実傾きが前記第2クランプ設計傾きとなるように、前記第1クランプの回転量を補正するクランプ回転量補正部と、 A clamp rotation amount correction unit that corrects the rotation amount of the first clamp so that the actual inclination of the second clamp becomes the design inclination of the second clamp.
を備えた、切削加工機。A cutting machine equipped with.
前記本体に対する前記回転機構の位置は、XYZ直交座標系で表され、 The position of the rotation mechanism with respect to the main body is represented by the XYZ Cartesian coordinate system.
回転角度が180°のときの前記第1クランプの上面には、所定の第3クランプ基準点と第4クランプ基準点が配置されており、 A predetermined third clamp reference point and a fourth clamp reference point are arranged on the upper surface of the first clamp when the rotation angle is 180 °.
前記制御装置は、 The control device is
前記第1クランプの回転角度が180°のときの前記第1クランプの上面に前記把持部に把持された前記検出ツールを接触させることで、前記第3クランプ基準点のY座標である第3クランプY座標と、前記第3クランプ基準点のZ座標である第3クランプZ座標を検出する第3クランプ基準点検出部と、 By bringing the detection tool gripped by the grip portion into contact with the upper surface of the first clamp when the rotation angle of the first clamp is 180 °, the third clamp which is the Y coordinate of the third clamp reference point The Y coordinate, the third clamp reference point detection unit that detects the third clamp Z coordinate, which is the Z coordinate of the third clamp reference point, and the third clamp reference point detection unit.
前記第1クランプの回転角度が180°のときの前記第1クランプの上面に前記把持部に把持された前記検出ツールを接触させることで、前記第4クランプ基準点のY座標である第4クランプY座標と、前記第4クランプ基準点のZ座標である第4クランプZ座標を検出する第4クランプ基準点検出部と、 By bringing the detection tool gripped by the grip portion into contact with the upper surface of the first clamp when the rotation angle of the first clamp is 180 °, the fourth clamp is the Y coordinate of the fourth clamp reference point. The Y coordinate, the fourth clamp reference point detection unit that detects the fourth clamp Z coordinate, which is the Z coordinate of the fourth clamp reference point, and the
を備え、With
前記第2クランプ傾き算出部は、前記第2クランプ実傾きをSL2、前記第3クランプY座標をA_Z3y、前記第3クランプZ座標をA_Z3z、前記第4クランプY座標をA_Z4y、前記第4クランプZ座標をA_Z4zとしたとき、下記式によって、前記第2クランプ実傾きを算出する、請求項3に記載された切削加工機。 The second clamp inclination calculation unit has SL2 for the actual inclination of the second clamp, A_Z3y for the Y coordinate of the third clamp, A_Z3z for the Z coordinate of the third clamp, A_Z4y for the Y coordinate of the fourth clamp, and Z for the fourth clamp. The cutting machine according to claim 3, wherein the actual inclination of the second clamp is calculated by the following formula when the coordinates are A_Z4z.
Figure 0006862133
Figure 0006862133
本体と、 With the main body
加工ツールおよび検出ツールのうち何れか一方のツールを把持可能な把持部を有する切削ヘッドと、 A cutting head having a grip portion capable of gripping either a machining tool or a detection tool, and a cutting head.
被加工物および検出治具のうち何れか一方の部材を挟み込む第1クランプおよび第2クランプと、前記第1クランプを回転させるモータとを有する回転機構と、 A rotation mechanism having a first clamp and a second clamp for sandwiching one of the workpiece and the detection jig, and a motor for rotating the first clamp.
前記把持部を前記回転機構に対して相対的に3次元方向に移動させる移動機構と、 A moving mechanism that moves the grip portion in a three-dimensional direction relative to the rotating mechanism,
前記移動機構を制御する制御装置と、 A control device that controls the movement mechanism and
を備え、With
前記回転機構には、前記第1クランプと前記第2クランプによって挟まれた部材を回転させる回転軸が設定されており、 The rotation mechanism is set with a rotation axis for rotating the member sandwiched between the first clamp and the second clamp.
前記回転軸上には、第1基準点と第2基準点が設定されており、 A first reference point and a second reference point are set on the rotation axis.
前記制御装置は、 The control device is
前記回転軸の設計上の位置である回転軸設計位置が記憶された記憶部と、 A storage unit that stores the rotation axis design position, which is the design position of the rotation axis,
前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第1基準点の実際の位置を検出する第1基準点検出部と、 By controlling the moving mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp, the actual first reference point is actually performed. The first reference point detector that detects the position of
前記第1クランプと前記第2クランプによって挟まれた前記検出治具に、前記把持部に把持された前記検出ツールを接触させるように前記移動機構を制御することで、前記第2基準点の実際の位置を検出する第2基準点検出部と、 By controlling the moving mechanism so that the detection tool gripped by the grip portion is brought into contact with the detection jig sandwiched between the first clamp and the second clamp, the actual second reference point is actually performed. The second reference point detector that detects the position of
前記第1基準点および前記第2基準点に基づいて、前記回転軸の実際の位置である回転軸実位置を算出し、前記回転軸実位置と、前記回転軸設計位置とを比較することで回転軸の補正値である回転軸オフセットを算出する回転軸オフセット算出部と、 By calculating the actual position of the rotation axis, which is the actual position of the rotation axis, based on the first reference point and the second reference point, and comparing the actual position of the rotation axis with the design position of the rotation axis. The rotation axis offset calculation unit that calculates the rotation axis offset, which is the correction value of the rotation axis,
前記回転軸オフセットに基づいて、前記移動機構を制御する移動制御部と、 A movement control unit that controls the movement mechanism based on the rotation axis offset,
を備え、With
前記切削ヘッドは、回転軸を中心に前記把持部を回転させるスピンドルを有し、 The cutting head has a spindle that rotates the grip portion about a rotation axis.
前記スピンドルには、前記把持部を回転させる際の基準の位置である第2回転基準位置が設定されており、 A second rotation reference position, which is a reference position when rotating the grip portion, is set on the spindle.
前記制御装置は、前記第2回転基準位置を基準にして回転角度が0°となるように前記スピンドルを回転させたときにおける前記把持部に把持された前記検出ツールと、前記第2回転基準位置を基準にして回転角度が180°となるように前記スピンドルを回転させたときにおける前記把持部に把持された前記検出ツールと、の振れ幅である偏心オフセットを算出する偏心オフセット算出部を備え、 The control device includes the detection tool gripped by the grip portion when the spindle is rotated so that the rotation angle becomes 0 ° with reference to the second rotation reference position, and the second rotation reference position. The detection tool gripped by the grip portion when the spindle is rotated so that the rotation angle becomes 180 ° with reference to the above, and an eccentric offset calculation unit for calculating the eccentric offset which is the swing width of the spindle are provided.
前記回転軸オフセット算出部は、前記偏心オフセットに基づいて、前記回転軸オフセットを算出する、切削加工機。 The rotation axis offset calculation unit is a cutting machine that calculates the rotation axis offset based on the eccentric offset.
前記本体内に配置された突起を備え、 It has a protrusion arranged in the main body and has a protrusion.
前記偏心オフセットは、XYZ直交座標系の座標で表され、 The eccentric offset is represented by the coordinates of the XYZ Cartesian coordinate system.
前記偏心オフセットは、X軸方向の前記偏心オフセットである偏心Xオフセットと、Y軸方向の前記偏心オフセットである偏心Yオフセットとを有し、 The eccentric offset has an eccentric X offset which is the eccentric offset in the X-axis direction and an eccentric Y offset which is the eccentric offset in the Y-axis direction.
前記偏心オフセット算出部は、 The eccentric offset calculation unit
前記第2回転基準位置を基準にして、前記スピンドルの回転角度が0°となるように前記スピンドルを回転させる第1スピンドル回転部と、 A first spindle rotating portion that rotates the spindle so that the rotation angle of the spindle becomes 0 ° with reference to the second rotation reference position.
前記スピンドルの回転角度が0°のとき、前記突起の外周面上の点であって、X軸方向における端に位置する第1突起測定点のX座標である第1偏心X座標を検出する第1角度X検出部と、 When the rotation angle of the spindle is 0 °, the first eccentric X coordinate, which is a point on the outer peripheral surface of the protrusion and is the X coordinate of the first protrusion measurement point located at the end in the X-axis direction, is detected. 1 angle X detector and
前記スピンドルの回転角度が0°のとき、前記突起の外周面上の点であって、Y軸方向における端に位置する第2突起測定点のY座標である第1偏心Y座標を検出する第1角度Y検出部と、 When the rotation angle of the spindle is 0 °, the first eccentric Y coordinate, which is a point on the outer peripheral surface of the protrusion and is the Y coordinate of the second protrusion measurement point located at the end in the Y-axis direction, is detected. 1 angle Y detector and
前記第2回転基準位置を基準にして、前記スピンドルの回転角度が180°となるように前記スピンドルを回転させる第2スピンドル回転部と、 A second spindle rotating portion that rotates the spindle so that the rotation angle of the spindle is 180 ° with reference to the second rotation reference position.
前記スピンドルの回転角度が180°のとき、前記第1突起測定点のX座標である第2偏心X座標を検出する第2角度X検出部と、 When the rotation angle of the spindle is 180 °, the second angle X detection unit that detects the second eccentricity X coordinate, which is the X coordinate of the first protrusion measurement point,
前記スピンドルの回転角度が180°のとき、前記第2突起測定点のY座標である第2偏心Y座標を検出する第2角度Y検出部と、 When the rotation angle of the spindle is 180 °, the second angle Y detection unit that detects the second eccentricity Y coordinate, which is the Y coordinate of the second protrusion measurement point,
前記第1偏心X座標と、前記第2偏心X座標との差を前記偏心Xオフセットとする偏心Xオフセット算出部と、 An eccentric X offset calculation unit that uses the difference between the first eccentric X coordinate and the second eccentric X coordinate as the eccentric X offset.
前記第1偏心Y座標と、前記第2偏心Y座標との差を前記偏心Yオフセットとする偏心Yオフセット算出部と、 An eccentric Y offset calculation unit that uses the difference between the first eccentric Y coordinate and the second eccentric Y coordinate as the eccentric Y offset.
を備えた、請求項5に記載された切削加工機。5. The cutting machine according to claim 5.
前記本体に対する前記回転機構の位置、および、前記第1基準点は、XYZ直交座標系の座標で表され、
前記回転機構には、前記第1クランプを回転させる際の基準の位置である第1回転基準位置が設定されており、
前記回転機構の前記回転軸の方向は、X軸方向であり、
前記制御装置は、前記第1回転基準位置を基準にして、前記第1クランプを回転させるクランプ回転部を備え、
前記第1基準点検出部は、
前記クランプ回転部によって、回転角度が0°となるように前記第1クランプを回転させ、前記第1クランプの回転角度が0°のとき、前記検出治具の外周面であって、X座標が前記第1基準点のX座標と同じであり、かつ、Y軸のマイナス方向の端の点である第1測定点を検出する第1測定点検出部と、
前記クランプ回転部によって、回転角度が180°となるように前記第1クランプを回転させ、第1クランプの回転角度が180°のとき、前記検出治具の外周面であって、X座標が前記第1測定点のX座標と同じであり、かつ、Y軸のプラス方向の端の点である第2測定点を検出する第2測定点検出部と、
前記クランプ回転部によって、回転角度がX軸のプラス方向から見て反時計回りに前記第1回転基準位置から270°となるように前記第1クランプを回転させ、前記第1クランプの回転角度がX軸のプラス方向から見て反時計回りに前記第1回転基準位置から270°のとき、前記検出治具の外周面であって、X座標が前記第1測定点のX座標と同じであり、Z軸のプラス方向の端の点である第3測定点を検出する第3測定点検出部と、
前記第1測定点のX座標を前記第1基準点のX座標とする第1基準点X算出部と、
前記第1基準点のY座標をA_P1y、前記第1測定点のY座標をA_P1_Y1y、前記第2測定点のY座標をA_P1_Y2yとしたとき、
A_P1y=(A_P1_Y1y+A_P1_Y2y)/2
で表される式によって、前記第1基準点のY座標を算出する第1基準点Y算出部と、
前記第1基準点のZ座標をA_P1z、前記第3測定点のZ座標をA_P1_Zz、前記検出治具の直径をWとしたとき、
A_P1z=A_P1_Zz−W/2
で表される式によって、前記第1基準点のZ座標を算出する第1基準点Z算出部と、
を備えた、請求項1からまでの何れか一つに記載された切削加工機。
The position of the rotation mechanism with respect to the main body and the first reference point are represented by the coordinates of the XYZ Cartesian coordinate system.
The rotation mechanism is set with a first rotation reference position, which is a reference position when rotating the first clamp.
The direction of the rotation axis of the rotation mechanism is the X-axis direction.
The control device includes a clamp rotating portion that rotates the first clamp with reference to the first rotation reference position.
The first reference point detection unit is
The first clamp is rotated by the clamp rotating portion so that the rotation angle is 0 °, and when the rotation angle of the first clamp is 0 °, it is the outer peripheral surface of the detection jig and the X coordinate is A first measurement point detection unit that detects a first measurement point that is the same as the X coordinate of the first reference point and is a point at the end in the minus direction of the Y axis.
The first clamp is rotated by the clamp rotating portion so that the rotation angle is 180 °, and when the rotation angle of the first clamp is 180 °, it is the outer peripheral surface of the detection jig and the X coordinate is the said. A second measurement point detection unit that detects a second measurement point that is the same as the X coordinate of the first measurement point and is a point at the positive end of the Y axis.
The clamp rotating portion rotates the first clamp so that the rotation angle is 270 ° from the first rotation reference position counterclockwise when viewed from the positive direction of the X axis, and the rotation angle of the first clamp is changed. When it is 270 ° from the first rotation reference position counterclockwise when viewed from the positive direction of the X axis, it is the outer peripheral surface of the detection jig, and the X coordinate is the same as the X coordinate of the first measurement point. , A third measurement point detector that detects the third measurement point, which is the point at the positive end of the Z axis.
A first reference point X calculation unit having the X coordinate of the first measurement point as the X coordinate of the first reference point,
When the Y coordinate of the first reference point is A_P1y, the Y coordinate of the first measurement point is A_P1_Y1y, and the Y coordinate of the second measurement point is A_P1_Y2y.
A_P1y = (A_P1_Y1y + A_P1_Y2y) / 2
The first reference point Y calculation unit that calculates the Y coordinate of the first reference point by the formula represented by
When the Z coordinate of the first reference point is A_P1z, the Z coordinate of the third measurement point is A_P1_Zz, and the diameter of the detection jig is W,
A_P1z = A_P1_ZZ-W / 2
The first reference point Z calculation unit that calculates the Z coordinate of the first reference point by the formula represented by
The cutting machine according to any one of claims 1 to 6, further comprising.
前記検出治具の直径は、前記第1測定点のY座標と、前記第2測定点のY座標との差で算出される、請求項に記載された切削加工機。 The cutting machine according to claim 7 , wherein the diameter of the detection jig is calculated by the difference between the Y coordinate of the first measurement point and the Y coordinate of the second measurement point. 前記第2基準点は、XYZ直交座標系の座標で表され、
前記第2基準点検出部は、
前記クランプ回転部によって、回転角度が0°となるように前記第1クランプを回転させ、前記第1クランプの回転角度が0°のとき、前記検出治具の外周面であって、X座標が前記第2基準点のX座標と同じであり、かつ、Y軸のマイナス方向の端の点である第4測定点を検出する第4測定点検出部と、
前記クランプ回転部によって、回転角度が180°となるように前記第1クランプを回転させ、第1クランプの回転角度が180°のとき、前記検出治具の外周面であって、X座標が前記第4測定点のX座標と同じであり、かつ、Y軸のプラス方向の端の点である第5測定点を検出する第5測定点検出部と、
前記クランプ回転部によって、回転角度がX軸のプラス方向から見て反時計回りに前記第1回転基準位置から270°となるように前記第1クランプを回転させ、前記第1クランプの回転角度がX軸のプラス方向から見て反時計回りに前記第1回転基準位置から270°のとき、前記検出治具の外周面であって、X座標が前記第4測定点のX座標と同じであり、Z軸のプラス方向の端の点である第6測定点を検出する第6測定点検出部と、
前記第4測定点のX座標を前記第2基準点のX座標とする第2基準点X算出部と、
前記第2基準点のY座標をA_P2y、前記第4測定点のY座標をA_P2_Y1y、前記第5測定点のY座標をA_P2_Y2yとしたとき、
A_P2y=(A_P2_Y1y+A_P2_Y2y)/2
で表される式によって、前記第2基準点のY座標を算出する第2基準点Y算出部と、
前記第2基準点のZ座標をA_P2z、前記第6測定点のZ座標をA_P2_Zz、前記検出治具の直径をWとしたとき、
A_P2z=A_P2_Zz−W/2
で表される式によって、前記第2基準点のZ座標を算出する第2基準点Z算出部と、
を備えた、請求項またはに記載された切削加工機。
The second reference point is represented by the coordinates of the XYZ Cartesian coordinate system.
The second reference point detection unit is
The first clamp is rotated by the clamp rotating portion so that the rotation angle is 0 °, and when the rotation angle of the first clamp is 0 °, it is the outer peripheral surface of the detection jig and the X coordinate is A fourth measurement point detection unit that detects a fourth measurement point that is the same as the X coordinate of the second reference point and is a point at the end in the minus direction of the Y axis.
The first clamp is rotated by the clamp rotating portion so that the rotation angle is 180 °, and when the rotation angle of the first clamp is 180 °, it is the outer peripheral surface of the detection jig and the X coordinate is the said. A fifth measurement point detector that detects the fifth measurement point, which is the same as the X coordinate of the fourth measurement point and is the point at the positive end of the Y axis.
The clamp rotating portion rotates the first clamp so that the rotation angle is 270 ° from the first rotation reference position counterclockwise when viewed from the positive direction of the X axis, and the rotation angle of the first clamp is changed. When it is 270 ° from the first rotation reference position counterclockwise when viewed from the positive direction of the X axis, it is the outer peripheral surface of the detection jig, and the X coordinate is the same as the X coordinate of the fourth measurement point. , The 6th measurement point detection unit that detects the 6th measurement point, which is the point at the positive end of the Z axis,
A second reference point X calculation unit having the X coordinate of the fourth measurement point as the X coordinate of the second reference point,
When the Y coordinate of the second reference point is A_P2y, the Y coordinate of the fourth measurement point is A_P2_Y1y, and the Y coordinate of the fifth measurement point is A_P2_Y2y.
A_P2y = (A_P2_Y1y + A_P2_Y2y) / 2
The second reference point Y calculation unit that calculates the Y coordinate of the second reference point by the formula represented by
When the Z coordinate of the second reference point is A_P2z, the Z coordinate of the sixth measurement point is A_P2_Zz, and the diameter of the detection jig is W,
A_P2z = A_P2_ZZ-W / 2
The second reference point Z calculation unit that calculates the Z coordinate of the second reference point by the formula represented by
The cutting machine according to claim 7 or 8.
JP2016183912A 2016-09-21 2016-09-21 Cutting machine Active JP6862133B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016183912A JP6862133B2 (en) 2016-09-21 2016-09-21 Cutting machine
US15/709,545 US10259087B2 (en) 2016-09-21 2017-09-20 Cutting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016183912A JP6862133B2 (en) 2016-09-21 2016-09-21 Cutting machine

Publications (2)

Publication Number Publication Date
JP2018049422A JP2018049422A (en) 2018-03-29
JP6862133B2 true JP6862133B2 (en) 2021-04-21

Family

ID=61766360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016183912A Active JP6862133B2 (en) 2016-09-21 2016-09-21 Cutting machine

Country Status (1)

Country Link
JP (1) JP6862133B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7330749B2 (en) * 2019-05-08 2023-08-22 Dgshape株式会社 Cutting machine and origin setting method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4066906B2 (en) * 2003-08-08 2008-03-26 株式会社ジェイテクト Numerical control device and NC data creation device
JP2006349388A (en) * 2005-06-13 2006-12-28 Roland Dg Corp Measuring method and measuring instrument for rotation center
GB0525306D0 (en) * 2005-12-13 2006-01-18 Renishaw Plc Method of machine tool calibration
JP4673346B2 (en) * 2007-07-02 2011-04-20 三菱電機株式会社 Numerical controller
US9164502B2 (en) * 2011-01-20 2015-10-20 Canon Kabushiki Kaisha Control device and control method of five-axis control machine tool, program, and mold
JP5789114B2 (en) * 2011-04-04 2015-10-07 オークマ株式会社 Correction value calculation method and program for machine tool

Also Published As

Publication number Publication date
JP2018049422A (en) 2018-03-29

Similar Documents

Publication Publication Date Title
US10259087B2 (en) Cutting device
JP5270299B2 (en) Combined lathe
JP5856212B2 (en) Jig and processing system for supporting a workpiece rotatably with respect to a tool of a machine tool
JP5481919B2 (en) Workpiece processing apparatus and control method thereof
JP2014040001A (en) Workpiece processing device and control method for the same
JP6773712B2 (en) Robot processing system
JP6490154B2 (en) Wire discharge system and relative position calculation method
JP6619947B2 (en) Work loader device
JP2014176940A (en) Robot system, method for controlling robot and method for manufacturing workpiece
JP2013184270A (en) Device for processing spectacle lens
WO2012101789A1 (en) Numerical control device
JP2009066733A (en) Robot hand for assembling
JP6862133B2 (en) Cutting machine
JP3969664B2 (en) Numerically controlled machine tool and machining program check method
CN110948089B (en) Robot control device for controlling arc motion of robot
JP4503326B2 (en) Tool path data generation device and control device including the same
CN109571136B (en) Control device and machine tool
JP6811574B2 (en) Cutting machine
US6988860B2 (en) Cutting tool and cutting method using the cutting tool
JP6054932B2 (en) Joint structure capable of optimizing the length margin of the striatum, and industrial robot equipped with the joint structure
US20210387354A1 (en) Automatic workpiece carrying machine
WO2018146728A1 (en) Machine tool
WO2019102561A1 (en) Machine tool
EP4215311A1 (en) Machine tool, positional information correction method, and positional information correction program
JP5740201B2 (en) Geometric error identification device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210331

R150 Certificate of patent or registration of utility model

Ref document number: 6862133

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150