JP2017102594A - Control device, machining tool, control method and computer program - Google Patents
Control device, machining tool, control method and computer program Download PDFInfo
- Publication number
- JP2017102594A JP2017102594A JP2015233887A JP2015233887A JP2017102594A JP 2017102594 A JP2017102594 A JP 2017102594A JP 2015233887 A JP2015233887 A JP 2015233887A JP 2015233887 A JP2015233887 A JP 2015233887A JP 2017102594 A JP2017102594 A JP 2017102594A
- Authority
- JP
- Japan
- Prior art keywords
- path
- point
- command
- intersection
- section
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/19—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
Abstract
Description
本発明は、工具を装着する主軸の移動を制御する制御装置、工作機械、制御方法及びコンピュータプログラムに関する。 The present invention relates to a control device, a machine tool, a control method, and a computer program for controlling movement of a spindle on which a tool is mounted.
工作機械は、工具を装着する主軸の移動を制御する制御装置を備える。制御装置は、主軸の位置を指示する複数の指令点を設定し、加工経路を設定する。主軸に装着した工具が3次元の曲面をワークに形成する場合、制御装置は指令点間の微小線分が連続した複数の曲線を演算し、生成する。 The machine tool includes a control device that controls movement of a spindle on which a tool is mounted. The control device sets a plurality of command points that indicate the position of the spindle and sets a machining path. When the tool mounted on the spindle forms a three-dimensional curved surface on the workpiece, the control device calculates and generates a plurality of curves in which minute line segments between command points are continuous.
例えば前後方向及び左右方向に平行な面(水平面)上に複数の曲線を生成する。複数の曲線は前後方向又は左右方向に並ぶ。制御装置は各曲線に上下方向の位置を設定する。また制御装置は、微小線分の繋ぎ目にて尖った部分が表れるので、スプライン曲線、ベジェ曲線等の滑らかな曲線に基づいて、生成した曲線を補間する。設定された各上下位置にて、補間した曲線に沿って主軸は移動し、ワークを加工する(例えば特許文献1参照)。 For example, a plurality of curves are generated on a plane (horizontal plane) parallel to the front-rear direction and the left-right direction. The plurality of curves are arranged in the front-rear direction or the left-right direction. The control device sets a vertical position for each curve. Further, the control device interpolates the generated curve based on a smooth curve such as a spline curve or a Bezier curve because a sharp portion appears at the joint of the minute line segment. At each set vertical position, the main axis moves along the interpolated curve to process the workpiece (see, for example, Patent Document 1).
しかし上述した補間を行っても、隣り合う曲線の傾きの差、制御装置での演算にて発生する量子化誤差等によって、ワーク表面に鱗状の模様が表れる。特許文献1は指令点を修正することなく、指令点間に滑らかな線となるように指令点を挿入している。従って、指令点そのものが誤っているにも関わらず、指令点を通ることになり、上述したワーク表面に鱗状の模様が表れるという問題があった。
However, even when the above-described interpolation is performed, a scale-like pattern appears on the workpiece surface due to a difference in slope between adjacent curves, a quantization error generated by calculation in the control device, and the like. In
本発明は斯かる事情に鑑みてなされたものであり、ワークに滑らかな曲面を形成することができる制御装置、工作機械、制御方法及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and an object thereof is to provide a control device, a machine tool, a control method, and a computer program that can form a smooth curved surface on a workpiece.
本発明に係る制御装置は、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置において、前記加工経路は環状をなし、前記加工経路に対して垂直になるように評価断面を設定する評価断面設定部と、該評価断面設定部が設定した評価断面及び前記加工経路の交点を演算する演算部と、該演算部が演算した交点の位置を修正する交点位置修正部と、該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部とを備えることを特徴とする。 A control device according to the present invention sets a machining path based on a plurality of command points that indicate a position of a spindle, and controls the movement of the spindle based on the machining path. An evaluation cross-section setting unit that sets an evaluation cross-section so as to be perpendicular to the machining path, a calculation unit that calculates an intersection of the evaluation cross-section set by the evaluation cross-section setting unit and the machining path, and the calculation An intersection position correcting unit that corrects the position of the intersection calculated by the unit, and a command point position correcting unit that corrects the position of the command point in the direction intersecting the machining path based on the intersection corrected by the intersection position correcting unit It is characterized by providing.
本発明に係る制御装置は、前記加工経路は、環状をなす第1経路部と、該第1経路部の内側に位置し、環状をなす第2経路部とを有し、前記評価断面設定部は、前記第1経路部上に第1基準点を設定する第1基準点設定部と、前記第2経路部上であって、前記第1基準点に最も近い位置に第2基準点を設定する第2基準点設定部と、前記第1基準点及び第2基準点に基づいて、前記評価断面を演算する評価断面演算部とを有することを特徴とする。 In the control device according to the present invention, the machining path includes an annular first path part and an annular second path part positioned inside the first path part, and the evaluation cross-section setting part A first reference point setting unit for setting a first reference point on the first path unit, and a second reference point on the second path unit and closest to the first reference point And a second reference point setting unit for calculating the evaluation cross section based on the first reference point and the second reference point.
本発明に係る制御装置は、前記加工経路は、前記第1経路部及び第2経路部を含む複数の経路部を含み、前記複数の経路部にて、前記第1経路部は最も外側に位置し、前記複数の経路部にて、前記第2経路部は最も内側に位置することを特徴とする。 In the control device according to the present invention, the machining path includes a plurality of path parts including the first path part and the second path part, and the first path part is located on the outermost side in the plurality of path parts. In the plurality of path portions, the second path portion is located on the innermost side.
本発明に係る制御装置は、前記加工経路は渦巻き状をなし、前記複数の指令点は、前記加工経路の始点に位置する始点指令点及び前記加工経路の終点に位置する終点指令点を含み、前記始点指令点と前記始点指令点とは異なる第1の前記指令点との間に前記第1経路部又は第2経路部の一方を設定する始点側経路部設定部と、前記終点指令点と前記終点指令点とは異なる第2の前記指令点との間に前記第1経路部又は第2経路部の他方を設定する終点側経路部設定部とを備えることを特徴とする。 In the control device according to the present invention, the machining path has a spiral shape, and the plurality of command points include a start point command point located at a start point of the machining path and an end point command point located at an end point of the machining path, A start-point-side path unit setting unit that sets one of the first path unit and the second path unit between the start-point command point and the first command point different from the start-point command point; and the end-point command point And an end point side path part setting unit that sets the other of the first path part or the second path part between the second command point different from the end point command point.
本発明に係る工作機械は、前述した何れかの制御装置と、前記主軸とを備えることを特徴とする。 A machine tool according to the present invention includes any one of the control devices described above and the spindle.
本発明に係る制御方法は、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御方法において、前記加工経路は環状をなし、前記加工経路に対して垂直になるように評価断面を設定し、設定した評価断面及び前記加工経路の交点を演算し、演算した交点の位置を修正し、修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正することを特徴とする。 A control method according to the present invention sets a machining path based on a plurality of command points that indicate the position of a spindle, and controls the movement of the spindle based on the machining path. The evaluation cross section is set to be perpendicular to the machining path, the intersection of the set evaluation cross section and the machining path is calculated, the position of the calculated intersection is corrected, based on the corrected intersection, The position of the command point in a direction intersecting the machining path is corrected.
本発明に係るコンピュータプログラムは、加工プログラムに従って、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置で実行可能なコンピュータプログラムであって、前記加工経路は環状をなし、前記制御装置を、前記加工経路に対して垂直になるように評価断面を設定する評価断面設定部、該評価断面設定部が設定した評価断面及び前記加工経路の交点を演算する演算部、該演算部が演算した交点の位置を修正する交点位置修正部、及び該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部として機能させることを特徴とする。 The computer program according to the present invention can be executed by a control device that sets a machining path based on a plurality of command points for instructing the position of the spindle according to the machining program and controls the movement of the spindle based on the machining path. An evaluation cross section setting unit that sets an evaluation cross section so that the processing path is perpendicular to the processing path, and an evaluation set by the evaluation cross section setting unit A processing unit that calculates the intersection of the cross section and the machining path, an intersection position correction unit that corrects the position of the intersection calculated by the calculation unit, and an intersection point corrected by the intersection position correction unit intersects the processing path. It is made to function as a command point position correction part which corrects the position of the command point in the direction.
本発明においては、環状の加工経路に対して垂直になるように評価断面を設定し、評価断面と加工経路の交点の位置を修正し、修正した交点の位置に基づいて、前記加工経路に交差する方向における指令点の位置を修正する。 In the present invention, the evaluation cross section is set to be perpendicular to the annular machining path, the position of the intersection of the evaluation cross section and the machining path is corrected, and the machining path is crossed based on the corrected position of the intersection. Correct the position of the command point in the direction.
本発明においては、外周側の第1経路部及び内周側の第2経路部に第1基準点及び第2基準点をそれぞれ設定する。第2基準点は第1基準点に最も近い位置にある。第1基準点及び第2基準点が評価断面上に位置するように、評価断面を設定することによって、評価断面は加工経路に対して略垂直になる。 In the present invention, the first reference point and the second reference point are set in the first path portion on the outer peripheral side and the second path portion on the inner peripheral side, respectively. The second reference point is located closest to the first reference point. By setting the evaluation cross section so that the first reference point and the second reference point are located on the evaluation cross section, the evaluation cross section becomes substantially perpendicular to the machining path.
本発明においては、第1経路部が最外周側に位置し、第2経路部が最内周側に位置することによって、評価断面同士が交差することを防止できる。 In the present invention, it is possible to prevent the evaluation cross sections from intersecting when the first path portion is positioned on the outermost peripheral side and the second path portion is positioned on the innermost peripheral side.
本発明においては、第1経路部又は第2経路部の一方が加工経路の始点側に位置し、他方が加工経路の終点側に位置する。渦巻き状の加工経路の中心部に始点が位置する場合、第1経路部は終点側に位置し、第2経路部は始点側に位置する。加工経路の中心部に終点が位置する場合、第2経路部は終点側に位置し、第1経路部は始点側に位置する。 In the present invention, one of the first path portion and the second path portion is located on the start point side of the machining path, and the other is located on the end point side of the machining path. When the starting point is located at the center of the spiral machining path, the first path part is located on the end point side, and the second path part is located on the start point side. When the end point is located at the center of the machining path, the second path part is located on the end point side, and the first path part is located on the start point side.
本発明に係る制御装置、工作機械、制御方法及びコンピュータプログラムにあっては、環状の加工経路に対して垂直になるように評価断面を設定し、評価断面と加工経路の交点の位置を修正し、修正した交点の位置に基づいて、前記加工経路に交差する方向における指令点の位置を修正する。環状の加工経路に対して、加工経路の中心から放射状に延びるように、複数の評価断面を設定した場合、評価断面の密度が高い部分と低い部分とが発生し、指令点に対する修正精度が低下することがある。本発明においては、評価断面を加工経路に対して垂直にすることによって、評価断面の密度に差が生じたとしても、指令点に対する修正精度の低下を防止することができる。 In the control device, machine tool, control method, and computer program according to the present invention, the evaluation cross section is set to be perpendicular to the annular machining path, and the position of the intersection of the evaluation cross section and the machining path is corrected. The position of the command point in the direction intersecting the machining path is corrected based on the corrected position of the intersection. When multiple evaluation sections are set to extend radially from the center of the processing path for an annular processing path, the evaluation section has a high density portion and a low density portion, and the correction accuracy for the command point decreases. There are things to do. In the present invention, by making the evaluation cross section perpendicular to the machining path, it is possible to prevent a reduction in correction accuracy with respect to the command point even if a difference occurs in the density of the evaluation cross section.
以下本発明を実施の形態に係る工作機械を示す図面に基づいて説明する。以下の説明では図において矢印で示す上下、左右及び前後を使用する。図1は工作機械を略示する斜視図である。 Hereinafter, the present invention will be described based on the drawings showing a machine tool according to an embodiment. In the following description, up and down, left and right, and front and rear indicated by arrows in the figure are used. FIG. 1 is a perspective view schematically showing a machine tool.
工作機械100は前後に延びた矩形の基台1を備える。基台1上部の前側にワークを保持するワーク保持部3が設けてある。ワーク保持部3は左右方向を軸方向としたA軸及び上下方向を軸方向としたC軸回りに回転可能である。
The
基台1上部の後側に後述するコラム4を支持する為の支持台2が設けてある。支持台2上部に、移動板16を前後方向に移動するY軸方向移動機構10が設けてある。Y軸方向移動機構10は、前後に延びた二つのレール11と、Y軸螺子軸12と、Y軸モータ13と、ベアリング14とを備える。
A
レール11は支持台2上部の左右夫々に設けてある。Y軸螺子軸12は前後に延び、二つのレール11の間に設けてある。Y軸螺子軸12の前端部及び中途部夫々にベアリング14が設けてある。なお中途部に設けたベアリングの図示は省略する。Y軸モータ13はY軸螺子軸12の後端部に連結している。
The
Y軸螺子軸12には転動体(図示略)を介してナット(図示略)が螺合している。転動体は例えばボールである。各レール11に複数の摺動子15が摺動可能に設けてある。ナット及び摺動子15の上部に移動板16が連結している。移動板16は水平方向に延びる。Y軸モータ13の回転によってY軸螺子軸12は回転し、ナットは前後方向に移動し、移動板16は前後方向に移動する。
A nut (not shown) is screwed onto the Y-
移動板16上面にコラム4を左右方向に移動するX軸方向移動機構20が設けてある。X軸方向移動機構20は、左右に延びた二つのレール21と、X軸螺子軸22と、X軸モータ23(図2参照)と、ベアリング24とを備える。
An X-axis
レール21は移動板16上面の前後夫々に設けてある。X軸螺子軸22は左右に延び、二つのレール21の間に設けてある。X軸螺子軸22の左端部及び中途部夫々にベアリング24が設けてある。なおX軸螺子軸22の中途部に設けたベアリングの記載は省略する。X軸モータ23はX軸螺子軸22の後端部に連結している。
The
X軸螺子軸22には転動体(図示略)を介してナット(図示略)が螺合している。X軸螺子軸22にグリスが塗布してある。各レール21に複数の摺動子26が摺動可能に設けてある。ナット及び摺動子26の上部にコラム4が連結している。コラム4は柱状をなす。X軸モータ23の回転によってX軸螺子軸22は回転し、ナットは左右方向に移動し、コラム4は左右方向に移動する。
A nut (not shown) is screwed onto the
コラム4の前面に主軸ヘッド5を上下方向に移動するZ軸方向移動機構30が設けてある。Z軸方向移動機構30は、上下に延びた二つのレール31と、Z軸螺子軸32と、Z軸モータ33と、ベアリング34とを備える。
A Z-axis
レール31はコラム4前面の左右夫々に設けてある。Z軸螺子軸32は上下に延び、二つのレール31の間に設けてある。Z軸螺子軸32の下端部及び中途部夫々にベアリング34が設けてある。なお中途部に設けたベアリングの図示は省略する。Z軸モータ33はZ軸螺子軸32の上端部に連結している。
The
Z軸螺子軸32には転動体(図示略)を介してナット(図示略)が螺合している。Z軸螺子軸32にグリスが塗布してある。各レール31に複数の摺動子35が摺動可能に設けてある。ナット及び摺動子35の前部に主軸ヘッド5が連結している。Z軸モータ33の回転によってZ軸螺子軸32は回転し、ナットは上下方向に移動し、主軸ヘッド5は上下方向に移動する。Z軸モータ33、Z軸螺子軸32、ナット及び転動体はボールねじ機構を構成する。
A nut (not shown) is screwed onto the Z-
上下に延びた主軸5aが主軸ヘッド5内に設けてある。主軸5aは軸回りに回転する。主軸ヘッド5の上端部に主軸モータ6が設けてある。主軸5aの下端部は工具を装着する。主軸モータ6の回転によって主軸5aが回転し、工具が回転する。回転した工具は、ワーク保持部3に保持したワークを加工する。
A main shaft 5 a extending vertically is provided in the
工作機械100は工具を交換する工具交換装置(図示略)を備える。工具交換装置は工具マガジン(図示略)に収容した工具と主軸5aに装着した工具を交換する。
The
図2は制御装置50の構成を略示するブロック図である。制御装置50は、CPU51、記憶部52、RAM53及び入出力インタフェース54を備える。記憶部52は書き換え可能なメモリであり、例えばEPROM、EEPROM等である。記憶部52は後述する交点テーブル、経路番号i、指令点Pk、交点Si d、kの最終番号、経路A、経路B、第1基準点Om 、及び第2基準点Lm 等を記憶する(d、i、k、mは自然数)。
FIG. 2 is a block diagram schematically showing the configuration of the
作業者が操作部7を操作した場合、操作部7から入出力インタフェース54に信号が入力する。操作部7は例えばキーボード、ボタン、タッチパネル等である。入出力インタフェース54は表示部8に信号を出力する。表示部8は文字、図形、記号等を表示する。表示部8は例えば液晶表示パネルである。
When the operator operates the
制御装置50は、X軸モータ23に対応したX軸制御回路55、サーボアンプ55a及び微分器23bを備える。X軸モータ23はエンコーダ23aを備える。X軸制御回路55はCPU51からの指令に基づいて、電流量を示す命令をサーボアンプ55aに出力する。サーボアンプ55aは前記命令を受け、X軸モータ23に駆動電流を出力する。
The
エンコーダ23aはX軸制御回路55に位置フィードバック信号を出力する。X軸制御回路55は位置フィードバック信号に基づいて、位置のフィードバック制御を実行する。
The
エンコーダ23aは微分器23bに位置フィードバック信号を出力し、微分器23bは位置フィードバック信号を速度フィードバック信号に変換して、X軸制御回路55に出力する。X軸制御回路55は、速度フィードバック信号に基づいて、速度のフィードバック制御を実行する。
The
サーボアンプ55aが出力した駆動電流の値を電流検出器55bが検出する。電流検出器55bは駆動電流の値をX軸制御回路55にフィードバックする。X軸制御回路55は駆動電流の値に基づいて、電流制御を実行する。
The
制御装置50は、Y軸モータ13に対応したY軸制御回路56、サーボアンプ56a及び微分器13bを備える。Y軸モータ13はエンコーダ13aを備える。Y軸制御回路56はCPU51からの指令に基づいて、電流量を示す命令をサーボアンプ56aに出力する。サーボアンプ56aは前記命令を受け、Y軸モータ13に駆動電流を出力する。
The
エンコーダ13aはY軸制御回路56に位置フィードバック信号を出力する。Y軸制御回路56は位置フィードバック信号に基づいて、位置のフィードバック制御を実行する。
The
エンコーダ13aは微分器13bに位置フィードバック信号を出力し、微分器13bは位置フィードバック信号を速度フィードバック信号に変換して、Y軸制御回路56に出力する。Y軸制御回路56は、速度フィードバック信号に基づいて、速度のフィードバック制御を実行する。
The
サーボアンプ56aが出力した駆動電流の値を電流検出器56bが検出する。電流検出器56bは駆動電流の値をY軸制御回路56にフィードバックする。Y軸制御回路56は駆動電流の値に基づいて、電流制御を実行する。
The
制御装置50は、Z軸モータ33に対応したZ軸制御回路57、サーボアンプ57a及び微分器33bを備える。Z軸モータ33はエンコーダ33aを備える。Z軸制御回路57はCPU51からの指令に基づいて、電流量を示す命令をサーボアンプ57aに出力する。サーボアンプ57aは前記命令を受け、Z軸モータ33に駆動電流を出力する。
The
エンコーダ33aはZ軸制御回路57に位置フィードバック信号を出力する。Z軸制御回路57は位置フィードバック信号に基づいて、位置のフィードバック制御を実行する。
The
エンコーダ33aは微分器33bに位置フィードバック信号を出力し、微分器33bは位置フィードバック信号を速度フィードバック信号に変換して、Z軸制御回路57に出力する。Z軸制御回路57は、速度フィードバック信号に基づいて、速度のフィードバック制御を実行する。
The
サーボアンプ57aが出力した駆動電流の値を電流検出器57bが検出する。電流検出器57bは駆動電流の値をZ軸制御回路57にフィードバックする。Z軸制御回路57は駆動電流の値に基づいて、電流制御を実行する。
The
制御装置50は主軸モータ6に対しても、X〜Z軸モータ23、13、33と同様なフィードバック制御を実行する。
The
工作機械100はマガジンモータ60と、マガジン制御回路58とを備える。マガジンモータ60の回転によって工具マガジンが駆動する。マガジン制御回路58はマガジンモータ60の回転を制御する。
The
記憶部52はワークを加工する加工プログラムを格納する。加工プログラムは、主軸5aの位置を指示する複数の指令点Pk を有する。kは加工プログラムを構成する命令の順番を示す。主軸5aは複数の指令点Pk を順次移動し、主軸5aに装着した工具はワークを加工する。
The
記憶部52は指令点Pk を予め記憶している。制御装置50は複数の指令点Pk に基づいて、主軸5aが移動する経路(加工経路)を設定する。制御装置50は加工経路に基づいて、主軸5aの移動を実行する。
The
加工経路の設定方法について説明する。図3はワークに対する加工経路及び評価断面を略示する平面図、図4はワークに対する評価断面を略示する斜視図である。なお図中X方向は左右方向を示し、Y方向は前後方向を示し、Z方向は上下方向を示す。また図3及び図4におけるワークの形状は加工後の形状を示している。 A processing path setting method will be described. FIG. 3 is a plan view schematically showing a machining path and an evaluation cross section for the work, and FIG. 4 is a perspective view schematically showing an evaluation cross section for the work. In the figure, the X direction indicates the left-right direction, the Y direction indicates the front-rear direction, and the Z direction indicates the up-down direction. Moreover, the shape of the workpiece | work in FIG.3 and FIG.4 has shown the shape after a process.
制御装置50は、ワークに対して評価断面Dd (dは断面番号を示し、自然数である)を設定する。例えば、図3に示すように、主軸5aが渦巻き状に周回移動する場合、加工経路は渦巻き方向に沿った経路となる。図3に示す如く、制御装置50は加工経路に略直交する方向に沿った評価断面Dd を複数設定する。複数の評価断面は加工経路の周方向に並ぶ。尚、作業者は、加工経路の方向が周方向であることを予め指示する。
The
制御装置50は加工経路設定処理を実行する。図5は、制御装置50による加工経路設定処理を説明するフローチャートである。
The
制御装置50のCPU51は、開始信号の入力があるまで待機する(ステップS1:NO)。例えば、ユーザは操作部7を操作して、開始信号を制御装置に入力する。
The
開始信号の入力があった場合(ステップS1:YES)、CPU51は、最外周/最内周演算処理を実行し(ステップS2)、評価断面設定処理を実行して(ステップS3)、指令点位置修正処理を実行する(ステップS4)。最外周/最内周演算処理、評価断面設定処理及び指令点位置修正処理の詳細は後述する。
When the start signal is input (step S1: YES), the
最外周/最内周演算処理について説明する。図6は、最外周/最内周演算処理を説明するフローチャート、図7は、渦巻き状に外周側から内周側に移動する主軸5aの加工経路を略示する模式図、図8は、渦巻き状に内周側から外周側に移動する主軸5aの加工経路を略示する模式図である。 The outermost / innermost circumference calculation process will be described. 6 is a flowchart for explaining the outermost / innermost circumference calculation process, FIG. 7 is a schematic view schematically showing the machining path of the spindle 5a moving from the outer circumference side to the inner circumference side in a spiral shape, and FIG. It is a schematic diagram which shows schematically the processing path of the main axis | shaft 5a which moves to the outer peripheral side from an inner peripheral side in a shape.
CPU51は、複数の指令点Pk について、加工経路の始点に位置する指令点(始点指令点)P1 から加工経路の終点に位置する指令点(終点指令点)PN まで順に識別子(番号)を設定する(ステップS11)。
The
CPU51は、始点指令点P1 に最も近い線分Pa Pa+1 を演算し(ステップS12)、終点指令点PN に最も近い線分Pb Pb+1 を演算する(ステップS13)。
The
CPU51は、始点指令点P1 と指令点Pa との間の加工経路を経路Aに設定し(ステップS14)、終点指令点PN と指令点Pb との間の加工経路を経路Bに設定する(ステップS15)。 CPU51 sets the machining path between the start command point P 1 and the command point P a to the route A (step S14), and the machining path between the endpoints command point P N and the command point P b on the path B Set (step S15).
図7に示す如く、外周側から内周側に主軸5aが移動する場合、経路Aは最も外側に位置し、経路Bは最も内側に位置する。図8に示す如く、内周側から外周側に主軸5aが移動する場合、経路Aは最も内側に位置し、経路Bは最も外側に位置する。経路A及び経路Bはそれぞれ略環状をなす。環状とは、図3に示すように渦巻き状のものも含む。最も近い線分Pa Pa+1 の演算は始点指令点P1 から各線分P2 P3 、P3 P4 、・・・までの最短距離を演算し、該最短距離の最大値から次第に小さくなった時の最小距離の線分を算出する。最も近い線分Pb Pb+1 の演算も同様である。 As shown in FIG. 7, when the main shaft 5a moves from the outer peripheral side to the inner peripheral side, the path A is positioned on the outermost side and the path B is positioned on the innermost side. As shown in FIG. 8, when the main shaft 5a moves from the inner circumference side to the outer circumference side, the path A is located on the innermost side and the path B is located on the outermost side. Each of the path A and the path B has a substantially circular shape. The annular shape includes a spiral shape as shown in FIG. The calculation of the nearest line segment P a P a + 1 is performed by calculating the shortest distance from the start point command point P 1 to each line segment P 2 P 3 , P 3 P 4 ,..., And gradually from the maximum value of the shortest distance. The line segment of the minimum distance when it becomes small is calculated. The same applies to the calculation of the nearest line segment P b P b + 1 .
CPU51は、経路AのX方向の最小値AX_min 及び最大値AX_max と、Y方向の最小値AY_min 及び最大値AY_max を演算する(ステップS16)。 CPU51 has the minimum value A x_min and the maximum value A X_max the X direction of the path A, and calculates the minimum value A Y_min and the maximum value A Y_max the Y direction (step S16).
CPU51は、経路BのX方向の最小値BX_min 及び最大値BX_max と、Y方向の最小値BY_min 及び最大値BY_max を演算する(ステップS17)。 CPU51 is the minimum value B x_min and the maximum value B X_max in the X direction of the path B, and calculating the minimum value B Y_min and the maximum value B Y_max the Y direction (step S17).
CPU51は、AX_min <BX_min <BX_max <AX_max 且つAY_min <BY_min <BY_max <AY_max であるのか否かを判定する(ステップS18)。AX_min <BX_min <BX_max <AX_max 且つAY_min <BY_min <BY_max <AY_max である場合(ステップS18:YES)、CPU51は、経路Aを最も外側に位置する最外周経路に決定し、経路Bを最も内側に位置する最内周経路に決定し(ステップS19、図7参照)、評価断面設定処理に処理を戻す(ステップS3、図5参照)。
The
AX_min <BX_min <BX_max <AX_max 且つAY_min <BY_min <BY_max <AY_max でない場合(ステップS18:NO)、CPU51は、BX_min <AX_min <AX_max <BX_max 且つBY_min <AY_min <AY_max <BY_max であるのか否かを判定する(ステップS20)。
If A X_min <B X_min <B X_max <A X_max and A Y_min <B Y_min <B Y_max <A Y_max (step S18: NO), the
BX_min <AX_min <AX_max <BX_max 且つBY_min <AY_min <AY_max <BY_max である場合(ステップS20:YES)、CPU51は、経路Aを最も内側に位置する最内周経路に決定し、経路Bを最も外側に位置する経路に決定し(ステップS21、図8参照)、評価断面設定処理に処理を戻す(ステップS3、図5参照)。経路A又はBの一方は第1経路部を構成し、他方は第2経路部を構成する。
When B X_min <A X_min <A X_max <B X_max and B Y_min <A Y_min <A Y_max <B Y_max (step S20: YES), the
BX_min <AX_min <AX_max <BX_max 且つBY_min <AY_min <AY_max <BY_max でない場合(ステップS20:NO)、CPU51は、エラーを報知し(ステップS22)、処理を終了する。例えば、最外周/最内周演算処理にエラーが生じたことを表示部8に表示する。
If B X_min <A X_min <A X_max <B X_max and B Y_min <A Y_min <A Y_max <B Y_max are not satisfied (step S20: NO), the
なおエラー報知後、作業者が指令値Pk の設定を再度行う等、データの調整又は変更を行い、開始信号を制御装置50に再度入力した場合に、CPU51は、最外周/最内周演算処理を再度実行するように構成してもよい。
After the error notification, when the operator adjusts or changes the data such as setting the command value P k again and inputs the start signal to the
次に評価断面設定処理について説明する。図9は、評価断面設定処理を説明するフローチャート、図10は、評価断面設定処理を説明する模式図である。 Next, the evaluation section setting process will be described. FIG. 9 is a flowchart for explaining the evaluation cross-section setting process, and FIG. 10 is a schematic diagram for explaining the evaluation cross-section setting process.
CPU51は、最外周経路上に、等距離離隔した複数の第1基準点Om (mは自然数)を設定し(ステップS31)、最内周経路上に複数の第2基準点Lm を設定する(ステップS32)。尚、第1基準点Om は始点指令点P1 から順に等間隔に設定する。第2基準点の設定については後述する。
The
CPU51は、最内周経路上であって、第1基準点Om から最も近い位置にある点を第2基準点Lm にする。CPU51は、第1基準点Om 及び第2基準点Lm に基づいて、評価断面Dd を演算し、設定する(ステップS33)。CPU51は、第1基準点Om 及び第2基準点Lm が評価断面Dd 上に位置するように、評価断面Dd を演算する。CPU51は、指令点位置修正処理に処理を戻す(ステップS4、図5参照)。評価断面Dd の演算はX−Y平面に対して垂直な面であり、上記第1基準点Om と第2基準点Lm を含む平面を演算する。
The
第2基準点Lm は、第1基準点Om から最も近い位置にあるので、評価断面Dd は、最内周経路及び最外周経路(加工経路)に対して略垂直になる。 Since the second reference point L m is closest to the first reference point O m , the evaluation cross section D d is substantially perpendicular to the innermost circumference path and the outermost circumference path (processing path).
図11は指令点Pk と、評価断面Dd 及び加工経路の交点とを略示する模式図、図12は交点テーブルの一例を示す概念図である。図11及び12において、「i」(iは自然数)は主軸5aの周回移動における経路番号を示す。図11に示すように、例えば経路番号1(i=1)の経路は、最外周経路を示し、経路番号2(i=2)の経路は経路番号1の経路よりも内側に位置する環状の経路を示す。経路番号3以下も同様である。主軸5aは経路番号順に移動する。
FIG. 11 is a schematic diagram schematically showing the command point P k , the evaluation section D d, and the intersection of the machining path, and FIG. 12 is a conceptual diagram showing an example of the intersection table. 11 and 12, “i” (i is a natural number) indicates a path number in the circular movement of the main shaft 5a. As shown in FIG. 11, for example, the route with the route number 1 (i = 1) indicates the outermost periphery route, and the route with the route number 2 (i = 2) is an annular shape located inside the route with the
図12に示すように、制御装置50は、各評価断面Dd において、移動経路Pk −Pk+1 との交点Si dを演算し、経路番号i、交点座標Si d及び移動経路Pk −Pk+1 を対応付けて、交点テーブルに記憶する。
As shown in FIG. 12, the
制御装置50は、評価断面Dd 上における交点位置を例えば第1の修正方法で修正する。図13は評価断面Dd 上における交点位置の第1の修正方法を説明する説明図である。制御装置50は、例えばZ方向の座標を漸次変更するように修正する。修正の対象となる交点座標Si dに対し、前後各二点の交点座標si-2 d、si-1 d、si+1 d、si+2 dを使用して修正点ti dを決定する。
四つの交点座標si-2 d、si-1 d、si+1 d、si+2 dの各Z座標値をzi-2 、zi-1 、zi+1 、zi+2 とし、修正点ti dのZ座標値をzi′とし、Z座標値の差分をd1 =zi-2 −zi-1、d2 =zi-1 −zi ′、d3 =zi ′−zi+1、d4 =zi+1 −zi+2とし、Z座標値の二回差分d12′、d23′、d34′(Z座標値の差分d1 、d2 、d3 、d4 の差分)が線形に変化するようなzi′を演算する。 Each Z coordinate value of the four intersection coordinates s i-2 d , s i-1 d , s i + 1 d , s i + 2 d is expressed as z i-2 , z i-1 , z i + 1 , z i. +2 and the Z coordinate value of the correction point t i d is z i ′, and the difference between the Z coordinate values is d 1 = z i−2 −z i−1 , d 2 = z i−1 −z i ′ , d 3 = z i ′ −z i + 1 , d 4 = z i + 1 −z i + 2, and Z coordinate value double difference d 12 ′, d 23 ′, d 34 ′ (Z coordinate value difference) z i ′ is calculated such that the difference between d 1 , d 2 , d 3 , and d 4 ) changes linearly.
Z座標値の二回差分d12′、d23′、d34′は次式で求まる。
d12′=d2 −d1 =(zi-1 −zi ′)−(zi-2 −zi-1)=2zi-1 −zi ′−zi-2 ・・・(1)
d23′=d3 −d2 =(zi ′−zi+1)−(zi-1 −zi ′)=2zi ′−zi+1 −zi-1 ・・・(2)
d34′=d4 −d3 =(zi+1 −zi+2 )−(zi ′−zi+1 )=2zi+1 −zi+2 −zi ′ ・・(3)
The two-time differences d 12 ′, d 23 ′, and d 34 ′ of the Z coordinate value are obtained by the following equations.
d 12 ′ = d 2 −d 1 = (z i−1 −z i ′) − (z i−2 −z i−1 ) = 2 z i−1 −z i ′ −z i−2. 1)
d 23 ′ = d 3 −d 2 = (z i ′ −z i + 1 ) − (z i−1 −z i ′) = 2 z i ′ −z i + 1 −z i−1 (2) )
d 34 ′ = d 4 −d 3 = (z i + 1 −z i + 2 ) − (z i ′ −z i + 1 ) = 2 z i + 1 −z i + 2 −z i ′ (3)
これらが線形に変化することから、
d23′=(d12′+d34′)/2 ・・・(4)
を満たす。
Since these change linearly,
d 23 ′ = (d 12 ′ + d 34 ′) / 2 (4)
Meet.
式(1)〜(4)に基づき、zi ′を解くと、
zi ′=(−zi-2 +4zi-1 +4zi+1 −zi+2 )/6
となる。
Solving z i ′ based on the equations (1) to (4),
z i ′ = (− z i−2 + 4z i−1 + 4z i + 1 −z i + 2 ) / 6
It becomes.
評価断面Dd 上における全ての交点Si dに対して上記修正を行う。なおZ座標値が他の交点のZ座標値と比較して、大きく離れた交点のみを修正してもよい。 Performing the modification for all intersections S i d on evaluation section D d. Note that it is also possible to correct only intersections whose Z coordinate values are far apart compared to the Z coordinate values of other intersections.
制御装置50は、評価断面Dd 上における交点位置を例えば第2の修正方法で修正する。図14は評価断面上における交点位置の第2の修正方法を説明する説明図である。図14において、uはXY座標に相当し、vはZ座標に相当する。制御装置50は、例えば修正の対象となる交点Si dの周囲にある他の複数の交点を使用して、滑らかな曲線(スプライン曲線、ベジェ曲線、NURBS曲線等)を作成し、該曲線上に修正の対象となる交点Si dを投影する。
滑らかな曲線として四つの交点si-2 d、si-1 d、si+1 d、si+2 dを使用する場合、評価断面Dd (uv平面)上における区間si-2 d〜si-1 d、区間si-1 d〜si+1 d、区間si+1 d〜si+2 dの夫々の曲線式v1(u)、v2(u)、v3(u)は、以下の式となる。
vj(u)=aj (u-uj )3 +bj (u-uj )2 +cj (u-uj )+dj
(j=1、2、3)
When the four intersections s i-2 d , s i-1 d , s i + 1 d , s i + 2 d are used as smooth curves, the section s i-2 on the evaluation section D d (uv plane) d to s i-1 d , sections s i-1 d to s i + 1 d , sections s i + 1 d to s i + 2 d , respectively, v 1 (u), v 2 (u), v 3 (u) is represented by the following equation.
v j (u) = a j (u−u j ) 3 + b j (u−u j ) 2 + c j (u−u j ) + d j
(J = 1, 2, 3)
交点si-2 d、si-1 d、si+1 d、si+2 dを通り、且つ境界点における一次導関数及び二次導関数が連続であることに基づいて、制御装置50はaj 〜dj を決定することができる。 Based on the fact that the first and second derivatives at the boundary points are continuous, passing through the intersections s i-2 d , s i-1 d , s i + 1 d , s i + 2 d 50 can determine a j to d j .
四つの交点の選択は、上述したように、交点Si dの両隣に位置する連続した二点を使用する場合に限らない。例えば交点si-3 d、si-1 d、si+1 d、si+3 dのように、二点毎に不連続に交点を選択してもよい。 The selection of the four intersection points is not limited to the case of using two consecutive points located on both sides of the intersection point S i d as described above. For example, intersection points may be selected discontinuously at every two points, such as intersection points s i-3 d , s i-1 d , s i + 1 d , and s i + 3 d .
図14に示すように、修正点ti d位置は、滑らかな曲線上において、修正の対象となる交点Si dからの距離が最小となる位置である。 As shown in FIG. 14, the correction point t i d position is a position on the smooth curve where the distance from the intersection S i d to be corrected is minimum.
d番目の評価断面Dd 上に存在する修正後の交点群Sd をTd とする。
Td ={ti d|d:断面番号、i:経路番号}
The corrected intersection group S d existing on the d-th evaluation section D d is defined as T d .
T d = {t i d | d: section number, i: route number}
制御装置50は、交点群をTd を使用して、指令点の位置を修正する。図15は指令点の修正方法を説明する説明図である。図15において、Pa 〜Pf は指令点を示す。
The
例えば指令点Pc が修正対象である場合、図15Aに示す如く、指令点Pc は断面Dd-1 と断面Dd の間に位置し、経路番号はiである。制御装置50は前述した交点テーブルを参照し、指令点Pc に関する断面位置及び経路番号を取得する。
For example, when the command point P c is a correction target, as shown in FIG. 15A, the command point P c is located between the cross section D d−1 and the cross section D d , and the path number is i. The
図15Bに示す如く、制御装置50は指令点Pc の周囲にある交点、例えば加工経路上に並んだ四つの交点ti d+1、ti d、ti d-1、ti d-2を探索する。制御装置50は四つの交点ti d+1、ti d、ti d-1、ti d-2から滑らかな曲線(スプライン曲線、ベジェ曲線、NURBS曲線等)を作成し、該曲線上に指令点Pc を投影し、修正点Pc ′を決定する。制御装置50は、滑らかな曲線を前述した第2の修正方法と同様な方法で求める。修正点Pc ′の位置は、滑らかな曲線上において、指令点Pc からの距離が最小となる位置である。制御装置50は他の指令点の位置を同様に修正する。
As shown in FIG. 15B, the
図16は、指令点位置修正処理を説明するフローチャートである。CPU51は、上述した評価断面設定処理(ステップS3、図5参照)にて、評価断面Dd を設定した後、交点テーブルを作成する(図11及び図12参照)。具体的には、CPU51は往復動作の経路番号を示す変数i及び加工プログラムを構成する命令の順番を示す変数kに「1」を設定する(ステップS41)。
FIG. 16 is a flowchart for explaining the command point position correction process. CPU51 is above evaluation section setting process (step S3, see FIG. 5) at, after setting the rated cross-section D d, creating an intersection table (see FIGS. 11 and 12). Specifically, the
そしてCPU51は移動経路Pk −Pk+1 を読み込む(ステップS42)。CPU51は移動経路Pk −Pk+1 が評価断面Dd と交差するか否かを判定する(ステップS43)。移動経路Pk −Pk+1 が評価断面Dd と交差しない場合(ステップS43:NO)、CPU51はkを一つインクリメントする(ステップS47)。
Then, the
移動経路Pk −Pk+1 が評価断面Dd と交差する場合(ステップS43:YES)、CPU51は、評価断面Dd と移動経路Pk −Pk+1 との交点Si dが既に存在しているか否かを判定する(ステップS44)。
When the movement path P k -P k + 1 intersects with the evaluation section D d (step S43: YES), the
評価断面Dd と移動経路Pk −Pk+1 との交点Si dが既に存在していない場合(ステップS44:NO)、CPU51は記憶部52の交点テーブル(図12参照)に、経路番号i、交点座標Si d及び移動経路Pk −Pk+1 を対応付けて記憶する(ステップS46)。
When the intersection S i d between the evaluation section D d and the movement route P k −P k + 1 does not already exist (step S44: NO), the
評価断面Dd と移動経路Pk −Pk+1 との交点Si dが既に存在している場合(ステップS44:YES)、CPU51はiを一つインクリメントし(ステップS45)、CPU51は記憶部52の交点テーブルに、経路番号i、交点座標Si d及び移動経路Pk −Pk+1 を対応付けて記憶し(ステップS46)、kを一つインクリメントする(ステップS47)。ステップS41〜S47は演算部を構成する。
When the intersection S i d between the evaluation section D d and the movement path P k −P k + 1 already exists (step S44: YES), the
kをインクリメントした後、CPU51はkが最終番号であるか否かを判定する(ステップS48)。kが最終番号でない場合(ステップS48:NO)、CPU51はステップS42に処理を戻す。kが最終番号である場合(ステップS48:YES)、CPU51は、上述したように、交点の位置を修正する(ステップS49、式(1)〜式(4)、図13及び図14参照)。
After incrementing k, the
CPU51は、上述したように、指令点の周囲にある交点を探索し(ステップS50)、指令点の位置を修正する(ステップS51、図15A及び図15B参照)。
As described above, the
上述した実施の形態においては、経路A及び経路Bは、最外周及び最内周に位置しているが、これに限定されない。経路A又は経路Bの一方が外周側に位置し、他方が内周側に位置すればよい。 In the above-described embodiment, the route A and the route B are located on the outermost periphery and the innermost periphery, but are not limited thereto. One of the route A or the route B may be positioned on the outer peripheral side, and the other may be positioned on the inner peripheral side.
実施の形態に係る制御装置50及び工作機械100にあっては、環状の加工経路に対して垂直になるように評価断面Dd を設定し、評価断面Dd と加工経路の交点Si dの位置を修正し、修正した交点Si dの位置に基づいて、前記加工経路に交差する方向における指令点Pk の位置を修正する。
In the
環状の加工経路に対して、加工経路の中心から放射状に延びるように、複数の評価断面Dd を設定した場合、評価断面Ddの密度が高い部分と低い部分とが発生し、指令点Pk に対する修正精度が低下することがある。上述した実施の形態においては、評価断面Dd を加工経路に対して垂直にすることによって、評価断面Dd の密度に差が生じたとしても、指令点Pk に対する修正精度の低下を防止することができる。 When a plurality of evaluation sections D d are set so as to extend radially from the center of the processing path with respect to the annular processing path, a high density portion and a low density portion of the evaluation cross section D d are generated, and the command point P The correction accuracy for k may be reduced. In the embodiment described above, by making the evaluation section D d perpendicular to the machining path, even if a difference occurs in the density of the evaluation section D d , it is possible to prevent a reduction in correction accuracy with respect to the command point P k . be able to.
また外周側の経路及び内周側の経路(経路A及び経路B)に第1基準点Om 及び第2基準点Lm をそれぞれ設定する。第2基準点Lm は第1基準点Om に最も近い位置にある。第1基準点Om 及び第2基準点Lm が評価断面Dd 上に位置するように、評価断面Dd を設定することによって、評価断面Dd は加工経路に対して略垂直になる。 In addition, the first reference point O m and the second reference point L m are set for the outer peripheral path and the inner peripheral path (path A and path B), respectively. The second reference point L m is at a position closest to the first reference point O m . As the first reference point O m and the second reference point L m is located on the evaluation section D d, by setting the evaluation section D d, evaluation section D d is substantially perpendicular to the machining path.
外周側の経路と内周側の経路との間の距離が小さい場合、僅かな演算誤差等によって、設定した評価断面Dd が加工経路に対して傾斜し、他の評価断面Dd と交差することがある。実施の形態にあっては、外周側の経路が最外周側に位置し、内周側の経路が最内周側に位置するので、外周側の経路と内周側の経路との間に十分に大きい距離を設けて、評価断面同士が交差することを防止できる。 When the distance between the outer circumferential path and the inner circumferential path is small, the set evaluation section D d is inclined with respect to the machining path and intersects with another evaluation section D d due to a slight calculation error or the like. Sometimes. In the embodiment, the outer circumferential path is located on the outermost circumferential side and the inner circumferential path is located on the innermost circumferential side, so that there is sufficient space between the outer circumferential path and the inner circumferential path. It is possible to prevent the evaluation cross sections from intersecting each other by providing a large distance.
また外周側の経路又は内周側の経路の一方が加工経路の始点側に位置し、他方が加工経路の終点側に位置する。渦巻き状の加工経路の中心部に始点が位置する場合、外周側の経路は終点側に位置し、内周側の経路は始点側に位置する。加工経路の中心部に終点が位置する場合、内周側の経路は終点側に位置し、外周側の経路は始点側に位置する。 One of the outer peripheral path and the inner peripheral path is located on the start point side of the machining path, and the other is located on the end point side of the machining path. When the starting point is located at the center of the spiral processing path, the outer peripheral path is positioned on the end point side, and the inner peripheral path is positioned on the starting point side. When the end point is located at the center of the machining path, the inner circumference side path is located on the end point side, and the outer circumference side path is located on the start point side.
5a 主軸
50 制御装置
51 CPU
52 記憶部
53 RAM
100 工作機械
52
100 machine tools
Claims (7)
前記加工経路は環状をなし、
前記加工経路に対して垂直になるように評価断面を設定する評価断面設定部と、
該評価断面設定部が設定した評価断面及び前記加工経路の交点を演算する演算部と、
該演算部が演算した交点の位置を修正する交点位置修正部と、
該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部と
を備えること
を特徴とする制御装置。 In a control device that sets a machining path based on a plurality of command points that indicate the position of the spindle, and controls the movement of the spindle based on the machining path.
The processing path is annular,
An evaluation cross-section setting unit that sets an evaluation cross-section so as to be perpendicular to the machining path;
A calculation unit that calculates an intersection of the evaluation cross section set by the evaluation cross section setting unit and the machining path;
An intersection position correction unit for correcting the position of the intersection calculated by the calculation unit;
And a command point position correcting unit that corrects the position of the command point in a direction intersecting the machining path based on the intersection corrected by the intersection position correcting unit.
環状をなす第1経路部と、
該第1経路部の内側に位置し、環状をなす第2経路部と
を有し、
前記評価断面設定部は、
前記第1経路部上に第1基準点を設定する第1基準点設定部と、
前記第2経路部上であって、前記第1基準点に最も近い位置に第2基準点を設定する第2基準点設定部と、
前記第1基準点及び第2基準点に基づいて、前記評価断面を演算する評価断面演算部と
を有すること
を特徴とする請求項1に記載の制御装置。 The machining path is
An annular first path portion;
A second path portion having an annular shape located inside the first path portion,
The evaluation cross-section setting unit is
A first reference point setting unit for setting a first reference point on the first path unit;
A second reference point setting unit configured to set a second reference point at a position closest to the first reference point on the second path unit;
The control device according to claim 1, further comprising: an evaluation cross section calculating unit that calculates the evaluation cross section based on the first reference point and the second reference point.
前記複数の経路部にて、前記第1経路部は最も外側に位置し、
前記複数の経路部にて、前記第2経路部は最も内側に位置すること
を特徴とする請求項2に記載の制御装置。 The machining path includes a plurality of path parts including the first path part and the second path part,
In the plurality of path portions, the first path portion is located on the outermost side,
The control device according to claim 2, wherein, in the plurality of path portions, the second path portion is located on the innermost side.
前記複数の指令点は、前記加工経路の始点に位置する始点指令点及び前記加工経路の終点に位置する終点指令点を含み、
前記始点指令点と前記始点指令点とは異なる第1の前記指令点との間に前記第1経路部又は第2経路部の一方を設定する始点側経路部設定部と、
前記終点指令点と前記終点指令点とは異なる第2の前記指令点との間に前記第1経路部又は第2経路部の他方を設定する終点側経路部設定部と
を備えることを特徴とする請求項2又は3に記載の制御装置。 The processing path has a spiral shape,
The plurality of command points include a start point command point located at the start point of the machining path and an end point command point located at the end point of the machining path,
A starting point side path part setting unit that sets one of the first path part or the second path part between the starting point command point and the first command point different from the starting point command point;
An end point side path part setting unit that sets the other of the first path part or the second path part between the end point command point and the second command point different from the end point command point, The control device according to claim 2 or 3.
前記主軸と
を備えることを特徴とする工作機械。 A control device according to any one of claims 1 to 4,
A machine tool comprising the spindle.
前記加工経路は環状をなし、
前記加工経路に対して垂直になるように評価断面を設定し、
設定した評価断面及び前記加工経路の交点を演算し、
演算した交点の位置を修正し、
修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正すること
を特徴とする制御方法。 In a control method for setting a machining path based on a plurality of command points that indicate the position of the spindle, and controlling the movement of the spindle based on the machining path,
The processing path is annular,
Set the evaluation cross section to be perpendicular to the machining path,
Calculate the intersection of the set evaluation cross section and the machining path,
Correct the calculated intersection point,
A control method comprising correcting a position of the command point in a direction intersecting the machining path based on the corrected intersection.
前記加工経路は環状をなし、
前記制御装置を、
前記加工経路に対して垂直になるように評価断面を設定する評価断面設定部、
該評価断面設定部が設定した評価断面及び前記加工経路の交点を演算する演算部、
該演算部が演算した交点の位置を修正する交点位置修正部、及び
該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部
として機能させることを特徴とするコンピュータプログラム。 According to a machining program, a computer program that can be executed by a control device that sets a machining path based on a plurality of command points that indicate the position of the spindle and controls the movement of the spindle based on the machining path,
The processing path is annular,
The control device;
An evaluation cross-section setting unit for setting an evaluation cross-section so as to be perpendicular to the machining path;
A calculation unit for calculating an intersection of the evaluation cross section set by the evaluation cross section setting unit and the machining path;
An intersection position correcting unit that corrects the position of the intersection calculated by the calculating unit, and a command point position that corrects the position of the command point in the direction intersecting the machining path based on the intersection corrected by the intersection position correcting unit A computer program that functions as a correction unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015233887A JP6672748B2 (en) | 2015-11-30 | 2015-11-30 | Control device, machine tool, control method, and computer program |
CN201610908151.6A CN106814692B (en) | 2015-11-30 | 2016-10-18 | Control device, lathe, control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015233887A JP6672748B2 (en) | 2015-11-30 | 2015-11-30 | Control device, machine tool, control method, and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017102594A true JP2017102594A (en) | 2017-06-08 |
JP6672748B2 JP6672748B2 (en) | 2020-03-25 |
Family
ID=59015488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015233887A Active JP6672748B2 (en) | 2015-11-30 | 2015-11-30 | Control device, machine tool, control method, and computer program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6672748B2 (en) |
CN (1) | CN106814692B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03240805A (en) * | 1990-02-19 | 1991-10-28 | Mitsubishi Heavy Ind Ltd | Production of path data for cornering tool |
JP2001134311A (en) * | 1999-11-01 | 2001-05-18 | Sigma:Kk | Method and device for preparing working data and recording medium |
JP2003330514A (en) * | 2002-05-17 | 2003-11-21 | Thk Co Ltd | Double spiral motion control method, apparatus and program as well as recording medium with the program recorded thereon |
JP2006068901A (en) * | 2005-11-16 | 2006-03-16 | Makino Milling Mach Co Ltd | Machine tool controller |
US20110027032A1 (en) * | 2008-09-18 | 2011-02-03 | David Keller | Systems And Methods For Machining Materials |
WO2012056588A1 (en) * | 2010-10-26 | 2012-05-03 | 株式会社牧野フライス製作所 | Method and device for generating tool path |
JP2013188807A (en) * | 2012-03-12 | 2013-09-26 | Fanuc Ltd | Method and device for machining of lens shape for performing measurement along curl-shaped measurement path |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2080774T3 (en) * | 1990-09-25 | 1996-02-16 | Heidenhain Gmbh Dr Johannes | PROCEDURE TO DETERMINE THE PATH CONTOUR OF THE UTIL FOR NUMERICAL CONTROL MACHINES. |
JP3408403B2 (en) * | 1997-06-06 | 2003-05-19 | ローランドディー.ジー.株式会社 | Method of removing abnormal tool path in cutting |
DE10341776B4 (en) * | 2003-09-10 | 2007-09-27 | P & L Gmbh & Co. Kg | Method for machining a workpiece by means of a rotating, cutting tool |
JP4708299B2 (en) * | 2006-10-04 | 2011-06-22 | 三菱電機株式会社 | Numerical controller |
JP4406034B2 (en) * | 2008-03-07 | 2010-01-27 | ファナック株式会社 | Numerical control device for controlling a 5-axis machine |
DE112010002839B4 (en) * | 2009-07-06 | 2019-02-21 | Mitsubishi Electric Corp. | AUTOMATIC PROGRAMMING DEVICE AND AUTOMATIC PROGRAMMING METHOD |
CN102906653B (en) * | 2010-05-20 | 2016-01-13 | 三菱电机株式会社 | Numerical control program generation method and device thereof |
JPWO2012056839A1 (en) * | 2010-10-26 | 2014-03-20 | 村田機械株式会社 | Unit configuration type machine tool, transfer device, processing equipment |
CN103744349B (en) * | 2013-10-08 | 2016-04-20 | 华中科技大学 | A kind of Non intrusive method generation method of square end mill processing fillet surface |
CN104128846B (en) * | 2014-07-21 | 2016-04-20 | 华中科技大学 | A kind of high-precision cutter bias On-line Measuring Method |
CN104400092B (en) * | 2014-11-28 | 2017-02-01 | 湖北三江航天险峰电子信息有限公司 | Milling finish machining method for three-dimensional profile with composite inclined surface on outline |
CN104875104B (en) * | 2015-05-14 | 2018-06-12 | 常州大思世成机电科技有限公司 | Wheel hub Irregular Boundary Surface polishing method based on CAD/CAM technologies |
-
2015
- 2015-11-30 JP JP2015233887A patent/JP6672748B2/en active Active
-
2016
- 2016-10-18 CN CN201610908151.6A patent/CN106814692B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03240805A (en) * | 1990-02-19 | 1991-10-28 | Mitsubishi Heavy Ind Ltd | Production of path data for cornering tool |
JP2001134311A (en) * | 1999-11-01 | 2001-05-18 | Sigma:Kk | Method and device for preparing working data and recording medium |
JP2003330514A (en) * | 2002-05-17 | 2003-11-21 | Thk Co Ltd | Double spiral motion control method, apparatus and program as well as recording medium with the program recorded thereon |
JP2006068901A (en) * | 2005-11-16 | 2006-03-16 | Makino Milling Mach Co Ltd | Machine tool controller |
US20110027032A1 (en) * | 2008-09-18 | 2011-02-03 | David Keller | Systems And Methods For Machining Materials |
WO2012056588A1 (en) * | 2010-10-26 | 2012-05-03 | 株式会社牧野フライス製作所 | Method and device for generating tool path |
JP2013188807A (en) * | 2012-03-12 | 2013-09-26 | Fanuc Ltd | Method and device for machining of lens shape for performing measurement along curl-shaped measurement path |
Also Published As
Publication number | Publication date |
---|---|
CN106814692B (en) | 2019-07-09 |
JP6672748B2 (en) | 2020-03-25 |
CN106814692A (en) | 2017-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6672702B2 (en) | Control device, machine tool, control method, and computer program | |
JP5266373B2 (en) | Numerical control device with tool trajectory display function | |
JP5845212B2 (en) | Deburring device with visual sensor and force sensor | |
JP5302371B2 (en) | Numerical control device with display function of physical data of machine tools | |
JP5562430B2 (en) | Tool path generation method and generation apparatus | |
JP6435962B2 (en) | Control device, machine tool and computer program | |
JP6133995B2 (en) | Tool path evaluation method, tool path generation method, and tool path generation device | |
JP2018077778A (en) | Numerical control system | |
JP5877866B2 (en) | Tool path display device that displays the tool path | |
JPWO2011132221A1 (en) | Numerical control method and apparatus | |
JP6582931B2 (en) | Control device, machine tool, control method, and computer program | |
JP6038331B2 (en) | Tool path generation method and tool path generation apparatus | |
JP2015134407A (en) | Visual sensor and deburring device provided with force sensor | |
JP6672748B2 (en) | Control device, machine tool, control method, and computer program | |
JP6623902B2 (en) | Processing path calculation device, processing path calculation method, and computer program | |
JP7061013B2 (en) | Path correction method and control device for multi-axis machine | |
JP6179870B1 (en) | Numerically controlled machine tool measuring device | |
JP7473321B2 (en) | Simulation device, numerical control device, and simulation method | |
JP6943556B2 (en) | Machining path calculation device, machining path calculation method and computer program | |
JP2019016216A (en) | Numerically controlled machine tool measuring apparatus | |
JP6894591B2 (en) | Measurement data generator, machining program generation system, measurement data generation method | |
JP6124721B2 (en) | Numerical control apparatus and numerical control method | |
JP2012240170A (en) | Geometric error identification device | |
JP2012078891A (en) | Numerical controller, travel path correction method, travel path correction program, and storage medium | |
JP6281315B2 (en) | Numerical control device and moving path correction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180628 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190520 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190528 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190722 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190917 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191118 |
|
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: 20200204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200217 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6672748 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |