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

JP5013482B2 - Processing simulation equipment - Google Patents

Processing simulation equipment Download PDF

Info

Publication number
JP5013482B2
JP5013482B2 JP2008114697A JP2008114697A JP5013482B2 JP 5013482 B2 JP5013482 B2 JP 5013482B2 JP 2008114697 A JP2008114697 A JP 2008114697A JP 2008114697 A JP2008114697 A JP 2008114697A JP 5013482 B2 JP5013482 B2 JP 5013482B2
Authority
JP
Japan
Prior art keywords
tool
data
trajectory
workpiece
simulation
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.)
Expired - Fee Related
Application number
JP2008114697A
Other languages
Japanese (ja)
Other versions
JP2009265943A (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.)
Sodick Co Ltd
Original Assignee
Sodick Co Ltd
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 Sodick Co Ltd filed Critical Sodick Co Ltd
Priority to JP2008114697A priority Critical patent/JP5013482B2/en
Publication of JP2009265943A publication Critical patent/JP2009265943A/en
Application granted granted Critical
Publication of JP5013482B2 publication Critical patent/JP5013482B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本発明は、加工機で工具によりワーク(被加工物)を加工するときの工具軌跡やワークの切削状態をシミュレーション表示する加工シミュレーション装置に関するものである。   The present invention relates to a machining simulation apparatus that displays a simulation of a tool locus and a cutting state of a workpiece when a workpiece (workpiece) is machined with a tool by a processing machine.

一般に、工作機械におけるワークの加工は数値制御装置において加工プログラムを実行しつつ行われるが、実際に加工を行うと加工形状を取り過ぎたり、取り残したりすることがある。このため、このような取り過ぎ等の不適切な加工状態を回避すべく、例えば加工プログラムに基づいてシミュレーションを行い事前に加工状態を把握する等している。このような場合の具体的な技術は、例えば、特許文献1に開示されている。 In general, machining of a workpiece in a machine tool is performed while executing a machining program in a numerical control device. However, when machining is actually performed, a machining shape may be excessively left or left behind. For this reason, in order to avoid such an inappropriate machining state such as excessive removal, for example, a simulation is performed based on a machining program to grasp the machining state in advance. A specific technique in such a case is disclosed in Patent Document 1, for example.

特開平02−019906号公報Japanese Patent Laid-Open No. 02-019906

ところで、上述したシミュレーションの際に不適切な加工状態を発見したときは、通常、前の不適切な状態の表示に戻り、その状態を詳細に確認する等する。しかしながら、従来は、シミュレーションの際に生成したデータを加工シミュレーション装置において記憶させることは行っておらず、前に戻って表示する場合は、最初からその状態までシミュレーションデータを生成し直す必要があり、シミュレーションを効率よく行うことができなかった。   By the way, when an inappropriate machining state is found during the above-described simulation, the display is normally returned to the previous inappropriate state, and the state is confirmed in detail. However, conventionally, the data generated at the time of simulation is not stored in the machining simulation device, and when displaying back to the previous, it is necessary to regenerate the simulation data from the beginning to the state, The simulation could not be performed efficiently.

本発明はこのような事情に鑑みてなされたもので、効率よくシミュレーションを行うことができる加工シミュレーション装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a machining simulation apparatus capable of performing simulation efficiently.

上記目的を達成するために、請求項1の加工シミュレーション装置に係る発明は、工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いてワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、工具がワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、最大加速度を加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、工具移動速度を変えながら工具位置を分割軌跡上で移動させる加工機の駆動部に出力するための、工具位置を指定工具移動速度に従った速度で各分割軌跡上を移動させてワークを加工するときの該分割軌跡上における始点の各軸位置、該各軸位置から曲率に応じて加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、工具がワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するためのシミュレーションデータを軸制御データに基づいて生成するデータ生成手段と、シミュレーションデータを記憶するデータ記憶手段と、データ記憶手段により記憶されたシミュレーションデータに基づいて工具軌跡またはワークの切削状態をシミュレーション表示するシミュレーション手段と、を備え、所定の時間間隔Δtで求めた各軸方向の工具移動速度が、分割軌跡上の接線方向に工具が移動するよう決められたものであり、駆動部が、軸制御データの所定の時間間隔Δtで求めた時間Tiにおける各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における各軸方向の工具移動速度Vi+1になるように各軸方向の工具移動速度を変えるものであることを特徴とする。 In order to achieve the above object, the invention according to the machining simulation apparatus of claim 1 is directed to machining a workpiece into a predetermined shape using a machining machine that moves a tool position where the tool machining the workpiece in a plurality of axial directions. Tool path storage means for storing a specified tool path specified in advance, tool movement speed storage means for storing a specified tool movement speed specified in advance when the tool processes a workpiece, and a maximum acceleration of the machine And a parameter storage means for storing as a parameter indicating an allowable limit of the specified tool path, and a specified tool path is divided at a large interval when the curvature of the specified tool path is small, and is divided at a small interval as the curvature of the specified tool path increases. A division trajectory calculating means for obtaining a plurality of division trajectories, and a tool for moving the tool position on the division trajectory while changing the tool moving speed. Permissible acceleration in accordance with the divided and each axis position of the starting point on the trajectory, the curvature from the respective axis position when moving the on each divided path at a speed in accordance with the tool position to the specified tool movement speed machining a workpiece Axis control data calculation means for obtaining , as axis control data , the tool movement speed in each axis direction obtained at a predetermined time interval Δt so as not to exceed the limit, and the tool path when the tool processes a workpiece or the tool path Based on the simulation data stored by the data storage means, the data storage means for storing the simulation data for displaying the simulation of the cutting state of the workpiece corresponding to the above, based on the axis control data, the data storage means for storing the simulation data and simulation means for simulating displaying a cutting state of the tool path or work Te with a predetermined The tool moving speed in each axial direction obtained at the time interval Δt is determined so that the tool moves in the tangential direction on the divided trajectory, and the drive unit obtains at the predetermined time interval Δt in the axis control data. Tool movement speed Vi in each axis direction at the time Ti, so that the tool movement speed Vi + 1 in each axis direction at the next time Ti + 1 (= Ti + Δt) until the next time Ti + 1 (= Ti + Δt) It is characterized by changing the speed .

本発明によれば、シミュレーションで生成されたシミュレーションデータを記憶し、該記憶されたシミュレーションデータに基づいて工具軌跡またはワークの切削状態をシミュレーション表示することとしたので、例えば再シミュレーションの際にシミュレーションデータを生成し直す必要がなくなる等、効率よくシミュレーションを行うことができる。 According to the present invention, the simulation data generated by the simulation is stored, and the tool path or the cutting state of the workpiece is simulated and displayed based on the stored simulation data. It is possible to perform simulation efficiently, such as eliminating the need to regenerate

請求項2の加工シミュレーション装置に係る発明は、工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いてワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、工具がワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、最大加速度を加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、工具移動速度を変えながら工具位置を分割軌跡上で移動させる加工機の駆動部に出力するための、工具位置を指定工具移動速度に従った速度で各分割軌跡上を移動させてワークを加工するときの該分割軌跡上における始点の各軸位置、該各軸位置から曲率に応じて加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、工具がワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するためのシミュレーションデータを軸制御データに基づいて生成するデータ生成手段と、シミュレーションデータに基づいて工具軌跡またはワークの切削状態をシミュレーション表示するシミュレーション手段と、シミュレーションデータを記憶するデータ記憶手段と、データ記憶手段に記憶されたシミュレーションデータに基づいて工具軌跡またはワークの切削状態を再度シミュレーション表示する再シミュレーション手段と、を備え、所定の時間間隔Δtで求めた各軸方向の工具移動速度が、分割軌跡上の接線方向に工具が移動するよう決められたものであり、駆動部が、軸制御データの所定の時間間隔Δtで求めた時間Tiにおける各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における各軸方向の工具移動速度Vi+1になるように各軸方向の工具移動速度を変えるものであることを特徴とする。 The invention related to the machining simulation apparatus according to claim 2 is a designated tool trajectory designated in advance when machining a workpiece into a predetermined shape by using a machining machine that moves a tool position where the tool works the workpiece in a plurality of axial directions. Tool trajectory storage means for storing the tool, tool movement speed storage means for storing a designated tool movement speed specified in advance when the tool processes the workpiece, and storing the maximum acceleration as a parameter indicating the allowable limit of acceleration of the processing machine Dividing the parameter storage means and the designated tool trajectory into a plurality of divided trajectories by dividing a portion where the curvature of the designated tool trajectory is small at a larger interval and dividing the specified tool trajectory at a smaller interval as the curvature of the designated tool trajectory increases. Specify the tool position to output to the trajectory calculation means and the drive unit of the processing machine that moves the tool position on the divided trajectory while changing the tool moving speed. Predetermined to move on each divided path at a speed in accordance to not exceed a respective axis position of the starting point on the divided trajectory when machining a workpiece, an allowable limit of acceleration in accordance with the curvature from the respective axis position Axis control data calculation means for obtaining the tool movement speed in each axial direction obtained at the time interval Δt as axis control data, and the tool trajectory when the tool processes the workpiece or the cutting state of the workpiece corresponding to the tool trajectory Generating means for generating simulation data for simulation display based on the axis control data, simulation means for simulating and displaying the tool path or the cutting state of the workpiece based on the simulation data, and data storage means for storing the simulation data And the tool path based on the simulation data stored in the data storage means. Or a re-simulation means for re-simulating and displaying the cutting state of the workpiece, and the tool movement speed in each axial direction determined at a predetermined time interval Δt is determined so that the tool moves in the tangential direction on the divided trajectory. The tool moving speed Vi in each axis direction at the time Ti obtained by the drive unit at the predetermined time interval Δt of the axis control data is the next time Ti + 1 (= Ti + Δt) until the next time Ti + 1 (= Ti + Δt). The tool movement speed in each axis direction is changed so that the tool movement speed Vi + 1 in each axis direction in (1) is obtained .

本発明によれば、シミュレーションで生成されたシミュレーションデータを記憶し、該記憶されたシミュレーションデータに基づいて工具軌跡またはワークの切削状態を再度シミュレーション表示することとしたので、シミュレーションデータを生成し直すことなく効率よく再シミュレーションを行うことができる。 According to the present invention, the simulation data generated by the simulation is stored, and the tool path or the cutting state of the workpiece is displayed again by simulation based on the stored simulation data. And re-simulation can be performed efficiently.

請求項3の加工シミュレーション装置に係る発明は、工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いてワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、工具がワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、最大加速度を加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、工具移動速度を変えながら工具位置を分割軌跡上で移動させる加工機の駆動部に出力するための、工具位置を指定工具移動速度に従った速度で各分割軌跡上を移動させてワークを加工するときの該分割軌跡上における始点の各軸位置、該各軸位置から曲率に応じて加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、工具がワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するために必要なシミュレーションステップ単位のデータを軸制御データに基づいてステップデータとして生成するステップデータ生成手段と、ステップデータに基づいて工具軌跡またはワークの切削状態をシミュレーション表示するシミュレーション手段と、ステップデータを所定のシミュレーションステップ数ごとにステップデータ群として区分し、該ステップデータ群の区分けと該ステップデータ群に含まれるステップデータとを関連させて記憶するデータ記憶手段と、データ記憶手段に記憶されたステップデータに基づいて工具軌跡またはワークの切削状態を再度シミュレーション表示する再シミュレーション手段と、を備え、所定の時間間隔Δtで求めた各軸方向の工具移動速度が、分割軌跡上の接線方向に工具が移動するよう決められたものであり、駆動部が、軸制御データの所定の時間間隔Δtで求めた時間Tiにおける各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における各軸方向の工具移動速度Vi+1になるように各軸方向の工具移動速度を変えるものであることを特徴とする。 The invention related to the machining simulation apparatus according to claim 3 is a specified tool path specified in advance when machining a workpiece into a predetermined shape using a machining machine that moves a tool position where the tool works the workpiece in a plurality of axial directions. Tool trajectory storage means for storing the tool, tool movement speed storage means for storing a designated tool movement speed specified in advance when the tool processes the workpiece, and storing the maximum acceleration as a parameter indicating the allowable limit of acceleration of the processing machine Dividing the parameter storage means and the designated tool trajectory into a plurality of divided trajectories by dividing a portion where the curvature of the designated tool trajectory is small at a larger interval and dividing the specified tool trajectory at a smaller interval as the curvature of the designated tool trajectory increases. Specify the tool position to output to the trajectory calculation means and the drive unit of the processing machine that moves the tool position on the divided trajectory while changing the tool moving speed. Predetermined to move on each divided path at a speed in accordance to not exceed a respective axis position of the starting point on the divided trajectory when machining a workpiece, an allowable limit of acceleration in accordance with the curvature from the respective axis position Axis control data calculation means for obtaining the tool movement speed in each axial direction obtained at the time interval Δt as axis control data, and the tool trajectory when the tool processes the workpiece or the cutting state of the workpiece corresponding to the tool trajectory A step data generating means for generating step unit data based on the axis control data, and a simulation means for displaying the tool path or the cutting state of the workpiece based on the step data. Step data is divided into step data groups for each predetermined number of simulation steps. A data storage means for storing the step data group and the step data included in the step data group in association with each other, and a tool path or a cutting state of the workpiece based on the step data stored in the data storage means Re-simulation means for displaying the simulation again, and the tool moving speed in each axis direction determined at a predetermined time interval Δt is determined so that the tool moves in the tangential direction on the divided trajectory. The tool movement speed Vi in each axial direction at the time Ti determined by the predetermined time interval Δt of the axis control data is the next time Ti + 1 (= Ti + Δt) until the next time Ti + 1 (= Ti + Δt). The tool moving speed in each axis direction is changed so that the tool moving speed Vi + 1 is obtained .

本発明によれば、シミュレーションで生成されたステップデータを記憶し、該記憶したステップデータに基づいて工具軌跡またはワークの切削状態を再度シミュレーション表示することとしたので、シミュレーション表示に必要なデータを生成し直すことなく効率よく再シミュレーションを行うことができる。 According to the present invention, the step data generated by the simulation is stored, and the tool path or the cutting state of the workpiece is displayed again by simulation based on the stored step data, so that data necessary for the simulation display is generated. Re-simulation can be performed efficiently without reworking.

また、本発明によれば、シミュレーションで生成されたステップデータを所定のステップ数ごとにステップデータ群として区分けし、該ステップデータ群の区分けと該ステップデータ群に含まれるステップデータとを関連させて記憶することとしたので、再シミュレーションに必要なステップデータを読み出す際には、必要なステップデータを含むステップデータ群の区分けをまず検索し、次いで該区分けの中から必要なステップデータを検索する等、膨大にステップデータが生成される場合にあってもデータ検索の効率化が図られ更に効率よく再シミュレーションを行うことができる。 Further, according to the present invention, the step data generated by the simulation is divided into a step data group for each predetermined number of steps, and the step data group is associated with the step data included in the step data group. Since the step data necessary for the re-simulation is read out, the division of the step data group including the necessary step data is first retrieved, and then the necessary step data is retrieved from the division. Even when a large amount of step data is generated, the efficiency of data retrieval is improved and re-simulation can be performed more efficiently.

請求項4の加工シミュレーション装置に係る発明は、工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いてワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、工具が前記ワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、最大加速度を加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、工具移動速度を変えながら工具位置を分割軌跡上で移動させる加工機の駆動部に出力するための、工具位置を指定工具移動速度に従った速度で各分割軌跡上を移動させてワークを加工するときの該分割軌跡上における始点の各軸位置、該各軸位置から曲率に応じて加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、工具がワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するために必要なシミュレーションステップ単位のステップデータを軸制御データに基づいてステップデータとして生成するステップデータ生成手段と、ステップデータに基づいて工具軌跡およびワークの切削状態をシミュレーション表示するシミュレーション手段と、ステップデータを積算して積算データを生成する積算データ生成手段と、積算データを記憶するデータ記憶手段と、データ記憶手段に記憶された積算データに基づいて工具軌跡およびワークの切削状態を再度シミュレーション表示する再シミュレーション手段と、を備え、所定の時間間隔Δtで求めた各軸方向の工具移動速度が、分割軌跡上の接線方向に工具が移動するよう決められたものであり、駆動部が、軸制御データの所定の時間間隔Δtで求めた時間Tiにおける各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における各軸方向の工具移動速度Vi+1になるように各軸方向の工具移動速度を変えるものであることを特徴とする。 The invention related to the machining simulation apparatus according to claim 4 is a predesignated tool trajectory designated when machining a workpiece into a predetermined shape by using a machining machine that moves a tool position where the tool works the workpiece in a plurality of axial directions. A tool trajectory storage means for storing the tool, a tool movement speed storage means for storing a specified tool movement speed specified in advance when the tool processes the workpiece , and a maximum acceleration as a parameter indicating an allowable limit of acceleration of the processing machine. The parameter storage means for storing and the designated tool trajectory are divided at a large interval when the curvature of the designated tool trajectory is small, and are divided at a small interval as the curvature of the designated tool trajectory increases to obtain a plurality of divided trajectories. The tool position to be output to the division trajectory calculation means and the drive unit of the processing machine that moves the tool position on the division trajectory while changing the tool moving speed is designated tool transfer. Each axial position of the starting point on the divided trajectory when moving the on each divided path at a speed in accordance with the speed machining a workpiece, so as not to exceed the allowable limit of acceleration in accordance with the curvature from the respective axis position Axis control data calculating means for obtaining the tool movement speed in each axial direction obtained at a predetermined time interval Δt as axis control data, and the tool trajectory when the tool processes the workpiece or cutting of the workpiece corresponding to the tool trajectory Step data generating means for generating step data for each simulation step necessary for displaying the simulation state as step data based on the axis control data, and a simulation for displaying the tool path and the cutting state of the workpiece based on the step data Means, and integrated data generating means for generating integrated data by integrating step data; Data storage means for storing integrated data, and re-simulation means for simulating and displaying the tool path and the cutting state of the workpiece based on the integrated data stored in the data storage means, and obtained at a predetermined time interval Δt The tool moving speed in each axial direction is determined so that the tool moves in the tangential direction on the divided trajectory, and each axial direction at the time Ti obtained by the drive unit at a predetermined time interval Δt of the axis control data. The tool movement speed Vi in each axis direction is changed so that the tool movement speed Vi + 1 in each axis direction at the next time Ti + 1 (= Ti + Δt) becomes the tool movement speed Vi + 1 in each axis before the next time Ti + 1 (= Ti + Δt). It is characterized by.

本発明によれば、シミュレーションで生成された積算データを記憶し、該記憶した積算データに基づいて工具軌跡またはワークの切削状態を再度シミュレーション表示することとしたので、シミュレーション表示に必要なデータを生成し直すことなく効率よく再シミュレーションを行うことができる。
また、本発明によれば、積算データに基づいて再度シミュレーション表示することで、再シミュレーションの際にデータ処理時間の短縮が図られ、膨大にステップデータが生成される場合にあっても更に効率よく再シミュレーションを行うことができる。
According to the present invention, the accumulated data generated by the simulation is stored, and the tool path or the cutting state of the workpiece is displayed again by simulation based on the stored accumulated data, so that the data necessary for the simulation display is generated. Re-simulation can be performed efficiently without reworking.
Further, according to the present invention, the simulation display is again performed based on the accumulated data, so that the data processing time can be shortened during the re-simulation, and even when a large amount of step data is generated, it is more efficient. Re-simulation can be performed.

ここで、積算データ生成手段は、加工工程ごとに積算データを生成することとすれば、各加工工程終了時の加工状態を効率よく再シミュレーションすることができる(請求項5)。
また、積算データ生成手段は、シミュレーションを中断した場合において該中断時までのステップデータを積算した積算データを生成することとすれば、シミュレーション中断後の再シミュレーションも効率よく行うことができる(請求項6)。
Here, if the integrated data generating means generates integrated data for each machining process, the machining state at the end of each machining process can be efficiently re-simulated (claim 5).
Further, if the integrated data generating means generates integrated data obtained by integrating the step data up to the interruption time when the simulation is interrupted, the re-simulation after the interruption of the simulation can be efficiently performed. 6).

なお、上記において「工具位置」とは、工具がワークを加工するときの工具のワークに対する相対的な位置をいい、ワークが移動せず工具のみが移動して加工が行なわれる場合は工具自体の位置を、ワークも移動して加工が行なわれる場合にはワークの工具に対する相対的移動を加味した工具の位置をいう。
「工具軌跡」とは、ワーク上を工具位置が移動した軌跡をいう。「工具軌跡」は、工具を移動させてワーク上の工具位置を移動させた軌跡であっても、ワークを移動させてワーク上の工具位置を移動させた軌跡であっても、ワークと工具の双方を移動させながらワーク上の工具位置を移動させた軌跡であってもよい。
In the above, the “tool position” means a relative position of the tool with respect to the workpiece when the tool processes the workpiece. When the workpiece does not move and only the tool moves, the tool itself is moved. In the case where machining is performed by moving the position of the workpiece, it means the position of the tool in consideration of relative movement of the workpiece with respect to the tool.
The “tool locus” refers to a locus on which the tool position moves on the workpiece. The “tool path” is a path in which the tool position on the workpiece is moved by moving the tool, or a path in which the tool position on the workpiece is moved by moving the workpiece. It may be a locus in which the tool position on the workpiece is moved while moving both.

「工具移動速度」とは、工具位置がワーク上を移動する速度をいう。また、指定工具移動速度は1のみ指定される場合に限られず、工具軌跡の場所に応じて複数の指定工具移動速度が指定される場合がある。
「指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割」とは、工具軌跡の曲率が大きくなるに従って、曲率の小さい部分を分割する大きい間隔よりも小さい間隔で分割することをいう。
「軸制御データ」とは、分割軌跡に従って工具位置を移動させるときに加工機の各軸を制御するためのデータをいう。
「指定工具移動速度に従った速度」とは、指定工具移動速度に近くなるように工具位置を移動させる速度をいい、指定工具移動速度と同じ速度でない場合を含む。
“Tool moving speed” refers to the speed at which the tool position moves on the workpiece. The designated tool movement speed is not limited to the case where only 1 is designated, and a plurality of designated tool movement speeds may be designated according to the location of the tool locus.
“A part with a small curvature of the designated tool path is divided at a large interval, and is divided at a small interval as the curvature of the designated tool path increases” means that a part with a small curvature is divided as the curvature of the tool path increases. Dividing at smaller intervals than larger intervals.
“Axis control data” refers to data for controlling each axis of the processing machine when the tool position is moved according to the divided trajectory.
The “speed according to the designated tool movement speed” refers to a speed for moving the tool position so as to be close to the designated tool movement speed, and includes a case where the speed is not the same as the designated tool movement speed.

本発明によれば、効率よくシミュレーションを行うことができる。 According to the present invention, simulation can be performed efficiently.

以下、本発明の第1実施形態について、図面を用いて説明する。図1は本発明の加工制御装置を含む加工システムの概略構成図である。
本発明の加工システム1は、加工形状を作成するCAD装置2と、加工機を制御する加工制御装置3と、ワーク(被加工物)をテーブルに載置して工具でワークを加工する加工機4とからなる。また、CAD装置2と加工制御装置3とはネットワーク5で接続されている。
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic configuration diagram of a machining system including a machining control device of the present invention.
A machining system 1 of the present invention includes a CAD device 2 that creates a machining shape, a machining control device 3 that controls a machining machine, and a machining machine that places a workpiece (workpiece) on a table and processes the workpiece with a tool. It consists of four. The CAD device 2 and the machining control device 3 are connected by a network 5.

加工機4は、工具が取り付けられる主軸41と、ワークが載置されるテーブル42と、テーブル42を移動させる送り軸(不図示)と、各軸(主軸、送り軸)を駆動させる駆動部45とを備えている。通常、主軸は切削動力を伝える軸でありZ軸として表わし、テーブル42を移動させる互いに直交する2つの送り軸をX軸とY軸として表す。X軸およびY軸はZ軸と直交している。 The processing machine 4 includes a main shaft 41 to which a tool is attached, a table 42 on which a workpiece is placed, a feed shaft (not shown) that moves the table 42, and a drive unit 45 that drives each shaft (main shaft, feed shaft). And. Usually, the main shaft is an axis for transmitting cutting power and is expressed as a Z-axis, and two feed axes orthogonal to each other for moving the table 42 are expressed as an X-axis and a Y-axis. The X axis and the Y axis are orthogonal to the Z axis.

図2に示すように、駆動部45は、加工制御装置3から各軸を制御する軸制御データAを受取る軸制御データ受信部46と、軸制御データAに従って主軸41であるZ軸の移動信号とテーブル42の送り軸43,44であるX軸とY軸の移動信号を生成する信号生成部47と、主軸を駆動するモータ48aに生成した信号を伝達する主軸アンプ48と、送り軸を駆動するモータ49a,49bに生成した信号を伝達するサーボアンプ49とを備える。なお、図2では回転型のモータが示されているが、リニアモータの場合も同様である。また、サーボアンプ49は、X軸とY軸のそれぞれにあるが、便宜上、図2のブロック図では1つにして示している。 As shown in FIG. 2, the driving unit 45 includes an axis control data receiving unit 46 that receives axis control data A for controlling each axis from the machining control device 3, and a movement signal for the Z axis that is the main shaft 41 according to the axis control data A. And a signal generator 47 for generating movement signals of the X and Y axes, which are the feed axes 43 and 44 of the table 42, a spindle amplifier 48 for transmitting the generated signal to a motor 48a for driving the spindle, and driving the feed axis And a servo amplifier 49 for transmitting the generated signal to the motors 49a and 49b. In FIG. 2, a rotary motor is shown, but the same applies to a linear motor. Further, although there are servo amplifiers 49 on each of the X axis and the Y axis, they are shown as one in the block diagram of FIG. 2 for convenience.

加工制御装置3は、高性能のマイクロコンピュータとメモリが内蔵されており、メモリに記憶されているプログラムをマイクロコンピュータが実行して、X軸、Y軸、Z軸の各軸を駆動する軸制御データAを生成する。プログラムは加工機4から発生するノイズなどの影響を受けて書き換えられることがないようにROMなどの書き換え不可能なメモリ上に記憶するのが望ましいが、加工機4が発生するノイズの影響を受けないような構成になっていれば、書き換え可能なメモリにプログラムをロードして実行するようにしてもよい。 The machining control device 3 has a built-in high-performance microcomputer and memory, and the microcomputer executes a program stored in the memory to drive each axis of the X axis, the Y axis, and the Z axis. Data A is generated. The program is preferably stored in a non-rewritable memory such as a ROM so that the program is not rewritten due to the influence of noise generated from the processing machine 4, but the program is affected by the noise generated by the processing machine 4. If the configuration does not exist, the program may be loaded into a rewritable memory and executed.

また、加工制御装置3は、加工シミュレーション装置としても機能するものである。すなわち、加工制御装置3は、軸制御データAを用いて工具位置が移動した工具軌跡をシミュレーションして表示させる機能を備えている。更に、加工制御装置3は、軸制御データAに基づく工具軌跡に対応するワークの切削状態をシミュレーションして表示させる機能を備えている。 Further, the machining control device 3 also functions as a machining simulation device. In other words, the machining control device 3 has a function of simulating and displaying a tool locus whose tool position has moved using the axis control data A. Further, the machining control device 3 has a function of simulating and displaying the cutting state of the workpiece corresponding to the tool path based on the axis control data A.

CAD装置2は、汎用コンピュータ(例えばワークステーション等)の補助記憶装置に読み込まれたCADプログラムが実行されることにより実現される。本実施の形態のCAD装置2は、オペレータが入力したワークの加工形状を、三次元のソリッドモデルMのデータとして出力するものである。 The CAD device 2 is realized by executing a CAD program read into an auxiliary storage device of a general-purpose computer (for example, a workstation). The CAD apparatus 2 according to the present embodiment outputs a workpiece machining shape input by an operator as data of a three-dimensional solid model M.

図3に示すように、加工制御装置3は、軸制御データAの生成に必要な情報として各種パラメータ、指定された工具移動速度である指定工具移動速度(以下、指定加工速度という)F、加工形状をオフセットするオフセット値d、ワークを加工する工具を移動させる間隔であるピックフィードPickなどの入力、シミュレーション表示に際し必要な情報として工具およびワークの形状や寸法およびワークをシミュレーション要素に分割するための分割情報などの入力、更にはシミュレーション表示に際して必要な各種操作を行う操作パネル31と、各種データの確認およびシミュレーション表示などを行うための表示装置315と、設定されたパラメータを記憶するパラメータ記憶手段311と、指定加工速度Fを記憶する工具移動速度記憶手段(以下、加工速度記憶手段という)312と、オフセット値dを記憶するオフセット値記憶手段313と、ピックフィードPickを記憶するピックフィード記憶手段314と、CAD装置2で生成されたソリッドモデルMのデータを入力する入力手段32と、ソリッドモデルMのデータを記憶するモデルデータ記憶手段321と、ソリッドモデルMをオフセット値d分ほどオフセットした形状(曲面や曲線などで定義される)を生成するオフセット形状生成手段33と、オフセット形状からワークを加工するときに工具位置を移動させる軌跡を指定工具軌跡として求める工具軌跡生成手段34と、指定工具軌跡を記憶する工具軌跡記憶手段341と、指定工具軌跡の曲率に応じて指定工具軌跡を分割した分割軌跡を求める分割軌跡算出手段35と、工具を指定加工速度Fに従う速度で分割軌跡上を移動させるときの各軸の軸制御データAを求める軸制御データ算出手段36と、軸制御データAを記憶する軸制御データ記憶手段361と、軸制御データAを駆動部45に出力する出力手段37と、軸制御データAを用いてワークを加工するときの工具軌跡のシミュレーションやワークの切削状態のシミュレーションを行なって表示装置315上にシミュレーション結果を表示するシミュレーション手段38と、シミュレーションにより生成されるデータに基づいて工具軌跡やワークの切削状態を再度シミュレーション表示する再シミュレーション手段39と、を備える。 As shown in FIG. 3, the machining control device 3 includes various parameters as information necessary for generating the axis control data A, a designated tool movement speed (hereinafter referred to as a designated machining speed) F, which is a designated tool movement speed, and machining. Input of offset value d for offsetting the shape, pick feed Pick, which is an interval for moving the tool for machining the workpiece, and the shape and size of the tool and workpiece and information for dividing the workpiece into simulation elements as necessary information for simulation display An operation panel 31 for inputting division information and the like, and further performing various operations necessary for simulation display, a display device 315 for confirming various data and performing simulation display, and parameter storage means 311 for storing set parameters. And tool movement speed record that stores the specified machining speed F Means (hereinafter referred to as processing speed storage means) 312, offset value storage means 313 for storing offset value d, pick feed storage means 314 for storing pick feed Pick, and solid model M generated by CAD device 2 An input unit 32 for inputting data, a model data storage unit 321 for storing data of the solid model M, and an offset for generating a shape (defined by a curved surface or a curve) obtained by offsetting the solid model M by an offset value d A shape generating means 33; a tool locus generating means 34 for obtaining a locus for moving a tool position when machining a workpiece from an offset shape as a designated tool locus; a tool locus storage means 341 for storing a designated tool locus; and a designated tool locus. Division trajectory calculation to obtain the division trajectory by dividing the specified tool trajectory according to the curvature of Means 35; axis control data calculation means 36 for obtaining axis control data A for each axis when the tool is moved on the divided trajectory at a speed according to the designated machining speed F; and axis control data storage means for storing the axis control data A. 361, an output means 37 for outputting the axis control data A to the drive unit 45, and a tool path simulation when machining the workpiece using the axis control data A and a cutting state simulation of the workpiece are performed on the display device 315. Simulation means 38 for displaying the simulation result, and re-simulation means 39 for again simulating and displaying the tool path and the cutting state of the workpiece based on the data generated by the simulation.

パラメータには、各加工機に依存する物理特性に関するパラメータ、特に最大加速度、最大加加速度など加速の許容限度を示すパラメータがあり、パラメータに応じて各軸の制御が行われる。また、取り付けられている工具によって最大加速度や最大加加速度などは異なるため、工具に応じてそれぞれパラメータを設定するようにしたものが好ましい。   The parameters include parameters relating to physical characteristics depending on each processing machine, in particular, parameters indicating allowable limits of acceleration such as maximum acceleration and maximum jerk, and each axis is controlled according to the parameters. In addition, since the maximum acceleration, maximum jerk, and the like differ depending on the attached tool, it is preferable to set parameters for each tool.

オフセット形状生成手段33は、オフセット値記憶手段313に記憶されたオフセット値d分ほどソリッドモデルMの形状をオフセットした形状を生成する。通常、CAD装置2には仕上げ形状が加工形状として入力され、CAD装置2からは仕上げ形状のソリッドモデルMのデータが出力される。しかし、加工機4に取り付けられた工具で加工を行う際、工具の中心が工具位置となるように各軸を移動させるため、仕上げ形状の表面形状を工具の中心を移動させて加工を行うと、ワークは仕上げ形状より工具半径分余分に切削されることになる。そこで、工具半径分をオフセット値dを用いてソリッドモデルMの表面形状をオフセットした形状を求める。例えば、図4に示すようなソリッドモデルMの表面形状E0を、ボールエンドミルを用いて加工する場合には、表面形状E0を法線方向tにオフセット値d分ほどオフセットした形状E1(以下、オフセット形状という)を求める。   The offset shape generation unit 33 generates a shape obtained by offsetting the shape of the solid model M by the offset value d stored in the offset value storage unit 313. Normally, the finished shape is input to the CAD device 2 as a processed shape, and the CAD device 2 outputs data of the solid model M having the finished shape. However, when machining with a tool attached to the processing machine 4, each axis is moved so that the center of the tool is the tool position. The workpiece is cut in excess of the tool radius from the finished shape. Therefore, a shape obtained by offsetting the surface shape of the solid model M is obtained by using the offset value d for the tool radius. For example, when the surface shape E0 of the solid model M as shown in FIG. 4 is processed using a ball end mill, the surface shape E0 is offset in the normal direction t by an offset value d (hereinafter referred to as offset). Shape).

工具軌跡生成手段34は、オフセット形状E1の上を工具を移動させる指定工具軌跡を生成する。ここでは、等高線加工でワークを加工する場合について説明する。ワークを加工する際には、図5に示すように、オフセット形状E1をXY平面に平行な等高平面Q上で切った交線Gに沿って工具を移動させながらワークを切削し、さらに、一定のピックフィードPickでZ軸方向(上→下)に等高平面Qを移動させながら彫り進めて行く。   The tool locus generating means 34 generates a designated tool locus for moving the tool on the offset shape E1. Here, the case where a workpiece is machined by contour machining will be described. When machining the workpiece, as shown in FIG. 5, the workpiece is cut while moving the tool along the intersection line G obtained by cutting the offset shape E1 on the contour plane Q parallel to the XY plane, Carving is carried out while moving the contour plane Q in the Z-axis direction (up to down) with a constant pick feed Pick.

ピックフィードPickは、工具径やワークの材質に応じて加工に適した値が操作パネル31から入力されてピックフィード記憶手段314に記憶され、XY平面と平行な等高平面Qを指定されたピックフィードPick分動かしながらオフセット形状E1との交線Gを算出して指定工具軌跡を求める。等高平面Qとオフセット形状E1との交線GはBスプラインなどのパラメトリック曲線で表し、パラメトリック曲線を指定工具軌跡Gとしてメモリ(工具軌跡記憶手段341)に記憶する。   In the pick feed Pick, a value suitable for machining is input from the operation panel 31 according to the tool diameter and the material of the workpiece, stored in the pick feed storage unit 314, and a pick having a specified contour plane Q parallel to the XY plane is designated. The specified tool trajectory is obtained by calculating the intersection line G with the offset shape E1 while moving the feed Pick. An intersection line G between the contour plane Q and the offset shape E1 is represented by a parametric curve such as a B-spline, and the parametric curve is stored as a designated tool locus G in a memory (tool locus storage means 341).

あるいは、ZX平面、YZ平面に平行な平面とオフセット形状E1との交線を求めて、X軸方向あるいはY軸方向に一定のピックフィードで平面を移動させて彫り進めて行くようにしてもよい。その他、走査加工やスパイラル加工などの加工方法に応じて指定工具軌跡Gを生成するようにしてもよい。 Alternatively, an intersection line between the plane parallel to the ZX plane and the YZ plane and the offset shape E1 may be obtained, and the plane may be moved with a constant pick feed in the X-axis direction or the Y-axis direction and carved. . In addition, the designated tool locus G may be generated according to a processing method such as scanning processing or spiral processing.

分割軌跡算出手段35は、指定工具軌跡Gの曲率に応じて指定工具軌跡Gを分割した分割軌跡を求める。加工機4は、指定された2点間を各軸の速度を制御しながら工具位置を移動させてワークを加工するが、指定工具軌跡Gの曲率が大きい部分では、加工機4の慣性モーメントや剛性などに影響されて、指定工具軌跡Gに沿って工具位置を移動させるのが難しい場合がある。また、加工機4に指定した2点間を結ぶ指定工具軌跡Gが、直線から大きく外れることがない方が好ましい。そこで、指定工具軌跡Gの曲率を求め、図6に示すように、指定工具軌跡Gを曲率が小さいところは大きい間隔で分割し、曲率が大きくなるに従って小さい間隔で分割し、指定工具軌跡G上の点P1,P2,P3,・・・,Pi,Pi+1,・・・で分割した複数の分割軌跡g1,g2,g3,・・・,gi,・・・に分ける。 The divided trajectory calculating means 35 obtains a divided trajectory obtained by dividing the designated tool locus G according to the curvature of the designated tool locus G. The processing machine 4 processes the workpiece by moving the tool position while controlling the speed of each axis between the two specified points. However, in the portion where the curvature of the specified tool locus G is large, the inertia moment of the processing machine 4 In some cases, it is difficult to move the tool position along the designated tool path G due to the influence of rigidity or the like. Moreover, it is preferable that the designated tool locus G connecting the two points designated to the processing machine 4 does not deviate greatly from the straight line. Accordingly, the curvature of the designated tool locus G is obtained, and as shown in FIG. 6, the designated tool locus G is divided at a large interval when the curvature is small, and is divided at a small interval as the curvature increases. .., Pi, Pi + 1,..., And divided into a plurality of divided trajectories g1, g2, g3,.

つまり、指定工具軌跡Gの曲率が小さく(曲率が0に近い)略直線になるところでは長い分割軌跡gを加工するようなデータを加工機に指示し、曲率が大きいところは短い分割軌跡gを加工するようなデータを加工機に指示できるように分割する。 That is, when the curvature of the designated tool locus G is small (curvature is close to 0), the processing machine is instructed to process data for a long divided locus g, and when the curvature is large, a short divided locus g is used. The data to be processed is divided so that it can be instructed to the processing machine.

軸制御データ算出手段36は、分割した各分割軌跡g1,g2,g3,・・・,gi,・・・に沿って工具を指定された指定加工速度Fで移動させるときの分割軌跡g上の各軸位置と所定の時間間隔で求めた各軸方向の工具移動速度(以下、軸速度という)の時間変化とを軸制御データAとして求める。軸制御データAには、分割軌跡上の各軸位置として、分割軌跡上の少なくとも1点の各軸の位置を含むものであればよい。例えば、軸制御データAに分割軌跡g上の始点の位置と分割軌跡に沿って移動させるときの各軸の速度変化とが記録されている場合には、始点の位置から各軸を速度変化に従うように各軸を制御することによって、分割軌跡gに沿って工具位置を移動させることができる。 The axis control data calculation means 36 is on the divided trajectory g when the tool is moved at the designated designated processing speed F along the divided trajectories g1, g2, g3,. Axis control data A is obtained as the change in time of each axis position and the tool movement speed in each axis direction (hereinafter referred to as axis speed) obtained at a predetermined time interval. The axis control data A only needs to include at least one axis position on the division locus as each axis position on the division locus. For example, when the axis control data A records the position of the starting point on the divided trajectory g and the speed change of each axis when moving along the divided trajectory, each axis follows the speed change from the position of the starting point. By controlling the respective axes as described above, the tool position can be moved along the division trajectory g.

例えば、図7に示すような分割軌跡gに沿って、指定された指定加工速度Fでワークを加工するには、工具位置を分割軌跡gの接線方向に指定加工速度Fで移動させることになる。つまり、指定加工速度Fを分割軌跡gの接線ベクトルのX,Y,Zの各成分に分け、X軸をX方向の速度成分で移動させ、Y軸をY方向の速度成分で移動させ、Z軸をZ方向の速度成分で移動させる。図7では、分割軌跡g上の始点の位置P1での各軸の速度成分(軸速度)は(V1x、V1y、V1z)となり、終点の位置P2での各軸の速度成分は(V2x、V2y、V2z)となるので、各軸を位置P1からP2に移動する間に各軸の軸速度をV1x→V2x、V1y→V2y、V1z→V2zに変化させる。また、分割軌跡gに沿うように工具を移動させるには、工具の進行方向が分割軌跡の接線方向に向くように短い時間間隔で各軸の軸速度を変える必要がある。 For example, in order to machine a workpiece at a designated designated machining speed F along a divided locus g as shown in FIG. 7, the tool position is moved at a designated machining speed F in the tangential direction of the divided locus g. . That is, the designated machining speed F is divided into X, Y, and Z components of the tangent vector of the divided trajectory g, the X axis is moved by the velocity component in the X direction, the Y axis is moved by the velocity component in the Y direction, and Z The axis is moved with the velocity component in the Z direction. In FIG. 7, the velocity components (axial velocity) of each axis at the starting point position P1 on the divided locus g are (V1x, V1y, V1z), and the velocity components of each axis at the ending point position P2 are (V2x, V2y). , V2z), the axis speed of each axis is changed from V1x → V2x, V1y → V2y, and V1z → V2z while moving each axis from the position P1 to P2. Further, in order to move the tool along the division trajectory g, it is necessary to change the axial speed of each axis at short time intervals so that the traveling direction of the tool is directed to the tangential direction of the division trajectory.

そこで、図8に示すように、各分割軌跡g上を指定加工速度Fで工具を移動させるときの各軸を移動させる軸速度Vx,Vy,Vzの時間変化を表す速度曲線を求める。図8は、Z方向の移動がなくXY平面でのみの移動がある場合を示している。各軸の軸速度をこの速度曲線に従うように制御することにより、工具位置を分割軌跡gに沿って移動させることができる。そこで、軸制御データAに、例えば、各軸の速度曲線を短い一定の時間間隔Δt(以下、セグメントタイムという)で分割した点における各軸の軸速度(つまり、一定の時間間隔で求めた各軸方向の軸速度の時間変化)と、分割軌跡gの開始点を記録する。このような軸制御データAでは、時間T0から時間Tnまでの速度曲線の積分値が時間T0から時間Tnまでに移動した距離となるので、時間Tnにおける各軸の位置は、分割軌跡gの開始点P0に速度曲線のT0〜Tn間の積分値を加えた位置になる。   Therefore, as shown in FIG. 8, a speed curve representing the temporal change of the axis speeds Vx, Vy, and Vz for moving the respective axes when the tool is moved on the divided trajectory g at the designated processing speed F is obtained. FIG. 8 shows a case where there is no movement in the Z direction and there is a movement only in the XY plane. By controlling the axial speed of each axis so as to follow this speed curve, the tool position can be moved along the division trajectory g. Therefore, for example, in the axis control data A, the axis speed of each axis at the point obtained by dividing the speed curve of each axis at a short constant time interval Δt (hereinafter referred to as segment time) (that is, each of the axes obtained at a constant time interval). A change in the axial speed in the axial direction with time) and the starting point of the divided trajectory g are recorded. In such axis control data A, the integrated value of the velocity curve from time T0 to time Tn is the distance traveled from time T0 to time Tn, so the position of each axis at time Tn is the start of the divided trajectory g. The position is obtained by adding an integral value between T0 and Tn of the speed curve to the point P0.

分割軌跡算出手段35では分割軌跡が直線から大きく外れることがないように指定工具軌跡Gの分割を行うが、加工機4には加速度や加加速度に限界があるため指定された指定加工速度Fを維持したまま、分割軌跡gに沿って工具位置を移動させることができないところがある。そこで、最大加速度や最大加加速度など加速の許容限度を示すパラメータに基づいて、工具位置における分割軌跡gの曲率が大きく、指定加工速度Fで加工を行ったときに分割軌跡gに沿って加工できないと予測される部分では、指定された指定加工速度Fより小さくなるように各軸方向の軸速度を求める。具体的には、指定された指定加工速度Fで各軸を移動させたときの加速度と加加速度を求めて、パラメータより加工機4の最大加速度や最大加加速度を超えていると判断される部分では、工具位置の移動速度を加工速度記憶手段312に記憶された指定加工速度Fよりも小さい速度にして最大加速度や最大加加速度を超えないように各軸方向の軸速度を求めて軸制御データAを生成する。   The division trajectory calculation means 35 divides the designated tool trajectory G so that the division trajectory does not greatly deviate from the straight line. However, since the processing machine 4 has a limit in acceleration and jerk, the designated machining speed F is designated. There is a place where the tool position cannot be moved along the division trajectory g while maintaining it. Therefore, the curvature of the divided trajectory g at the tool position is large based on parameters indicating the allowable acceleration limit such as the maximum acceleration and the maximum jerk, and machining cannot be performed along the divided trajectory g when machining is performed at the specified machining speed F. In the predicted portion, the axial speed in each axial direction is obtained so as to be smaller than the designated designated machining speed F. Specifically, the acceleration and jerk when each axis is moved at the designated designated machining speed F is obtained, and the portion determined to exceed the maximum acceleration or maximum jerk of the processing machine 4 from the parameters Then, the movement speed of the tool position is set to a speed lower than the designated machining speed F stored in the machining speed storage means 312 and the axis speed in each axis direction is obtained so as not to exceed the maximum acceleration or the maximum jerk. A is generated.

軸制御データ記憶手段361は、ハードディスクなどの大容量記憶装置上に形成され、軸制御データ算出手段36で生成した軸制御データAを記憶する。また、加工物は、複数の加工工程(荒加工、中仕上加工、仕上加工など)を経て仕上げられるが、軸制御データ記憶手段361には軸制御データAが各加工工程に分けて記憶される。   The axis control data storage unit 361 is formed on a large capacity storage device such as a hard disk and stores the axis control data A generated by the axis control data calculation unit 36. The workpiece is finished through a plurality of machining steps (rough machining, intermediate finishing, finishing, etc.), but the axis control data storage unit 361 stores the axis control data A for each machining process. .

加工機4の信号生成部47は、軸制御データAの速度変化に従って各軸の移動信号を生成して主軸アンプ48,サーボアンプ49に出力する。例えば、図8に示すように、軸制御データAにΔtの間隔で速度を変化させるためのデータが記録され、時間TiのときX軸方向の軸速度がVxiで、時間Ti+1のときX軸方向の軸速度がVx(i+1)であるときには、移動信号は時間Ti〜時間Ti+1の間で、X軸方向の軸速度がVxiからVx(i+1)に変化するような移動信号をサーボアンプ49に出力する。同様に、時間TiのときY軸方向の軸速度がVyiで、時間Ti+1のときY軸方向の軸速度がVy(i+1)であるときには、移動信号は時間Ti〜時間Ti+1の間で、Y軸方向の軸速度がVyiからVy(i+1)に変化するような移動信号をサーボアンプ49に出力する。図8の例では、Z軸方向の軸速度はないので、主軸アンプ48に対する移動信号の出力はない。このように各軸の速度を変えることで、分割軌跡gに沿って工具位置を始点の位置P1から終点の位置P2まで移動させることができる。   The signal generator 47 of the processing machine 4 generates a movement signal for each axis according to the speed change of the axis control data A, and outputs it to the spindle amplifier 48 and the servo amplifier 49. For example, as shown in FIG. 8, data for changing the speed at an interval of Δt is recorded in the axis control data A, and the axis speed in the X-axis direction is Vxi at time Ti, and the X-axis direction at time Ti + 1. When the axis speed of the axis is Vx (i + 1), the movement signal is output to the servo amplifier 49 so that the axis speed in the X-axis direction changes from Vxi to Vx (i + 1) between time Ti and time Ti + 1. To do. Similarly, when the axis velocity in the Y-axis direction is Vyi at time Ti and the axis velocity in the Y-axis direction is Vy (i + 1) at time Ti + 1, the movement signal is between time Ti and time Ti + 1, A movement signal that changes the axial speed in the direction from Vyi to Vy (i + 1) is output to the servo amplifier 49. In the example of FIG. 8, there is no axis speed in the Z-axis direction, and therefore no movement signal is output to the spindle amplifier 48. By changing the speed of each axis in this way, the tool position can be moved from the start point position P1 to the end point position P2 along the division locus g.

シミュレーション手段38は、上述したセグメントタイムをシミュレーションステップ単位として軸制御データAに従って工具が加工物を加工する際の工具軌跡や該工具軌跡に対応するワークの切削状態を表示装置315の画面上にシミュレーション表示する機能を有しており、図9に示すように、ワーク要素分割手段381、ステップデータ生成手段382、表示手段383、ステップデータ積算手段384、データ記憶制御手段385、データ記憶手段386、計数手段387を有している。   The simulation means 38 simulates on the screen of the display device 315 the tool trajectory when the tool processes a workpiece according to the axis control data A and the cutting state of the workpiece corresponding to the tool trajectory, using the segment time as a simulation step unit. As shown in FIG. 9, the work element dividing means 381, step data generating means 382, display means 383, step data integrating means 384, data storage control means 385, data storage means 386, counting are provided. Means 387 are included.

ワーク要素分割手段381は、操作パネル31から入力されたワークの形状や寸法およびシミュレーション要素の分割情報に基づいてワークを多数の要素に分割する。この分割情報には、例えば、シミュレーション要素の形状や寸法が含まれる。図10に示すように、本第1実施形態にあっては、ワークはZ軸方向に延びる四角柱形状の多数の要素に分割される。 The work element dividing means 381 divides the work into a number of elements based on the shape and size of the work and the simulation element division information input from the operation panel 31. This division information includes, for example, the shape and dimensions of the simulation element. As shown in FIG. 10, in the first embodiment, the workpiece is divided into a large number of quadrangular prism-shaped elements extending in the Z-axis direction.

ステップデータ生成手段382は、図11に示すように、シミュレーション表示するために必要なステップデータ(シミュレーションデータ)として、軸制御データAに基づいてシミュレーションステップ単位で工具位置データを生成するとともに、同じくシミュレーションステップ単位でワークが工具により切削される箇所を特定する切削位置データを生成する。 As shown in FIG. 11, the step data generation means 382 generates tool position data for each simulation step based on the axis control data A as step data (simulation data) necessary for simulation display, and also performs the simulation. Cutting position data for specifying a location where the workpiece is cut by the tool in units of steps is generated.

すなわち、軸制御データAには、図8に示すように、Δtの間隔で速度を変化させるデータが記録されているが、各軸の移動量はこの速度曲線を積分した値と一致する。例えば、時間TiのときX軸方向の軸速度がVxiで、時間Ti+1のときX軸方向の軸速度がVx(i+1)であるときには、時間Ti〜Ti+1の間の略台形(斜線部)の面積が時間Ti〜Ti+1の間のX軸方向の工具位置の移動量になる(図8参照)。各軸の工具位置は、各軸制御データAの開始点T0に移動量を加えたところに移動するので、ステップデータ生成手段382は、各加工工程の先頭の軸制御データAから順番に速度曲線を積分しながら各軸が移動する工具位置をシミュレーションステップ単位で求めて工具位置データを生成する。 That is, as shown in FIG. 8, the axis control data A includes data for changing the speed at intervals of Δt, but the movement amount of each axis coincides with the value obtained by integrating this speed curve. For example, when the axial velocity in the X-axis direction is Vxi at time Ti and the axial velocity in the X-axis direction is Vx (i + 1) at time Ti + 1, the area of the substantially trapezoid (shaded portion) between times Ti and Ti + 1. Is the amount of movement of the tool position in the X-axis direction between times Ti and Ti + 1 (see FIG. 8). Since the tool position of each axis moves to the start point T0 of each axis control data A plus the amount of movement, the step data generating means 382 starts with the speed curve from the first axis control data A of each machining step. The tool position data is generated by obtaining the tool position at which each axis moves while integrating.

また、ステップデータ生成手段382は、求められた工具位置とその工具の形状や寸法から工具と重なるワークのシミュレーション要素および該要素における切削部分の上下のZ軸座標をシミュレーションステップ単位で特定して切削位置データを生成する。なお、計数手段387によりシミュレーションステップ数(以下単にステップ数とする)が計数されており、ステップデータの生成に際しては、該ステップデータに計数されたステップ数が付加される。 Further, the step data generating means 382 specifies the simulation element of the workpiece that overlaps the tool and the upper and lower Z-axis coordinates of the cutting portion in the element from the determined tool position and the shape and dimensions of the tool, and performs cutting by specifying each simulation step. Generate position data. The number of simulation steps (hereinafter simply referred to as the number of steps) is counted by the counting means 387, and when the step data is generated, the counted number of steps is added to the step data.

表示手段383は、ステップデータ生成手段382により求められた工具位置を逐次つないで工具軌跡を表示装置315に表示させる。このようにして求めた工具軌跡は工具の中心位置が移動する軌跡と一致し、図12に示すような、ワイヤーフレームで表示を行なう。また、表示手段383は、ステップデータ生成手段382により求められた工具と重なるワークのシミュレーション要素の切削部分を除くことにより、図13に示すようにワークの切削状態を表示装置315に表示させる。 The display unit 383 causes the display device 315 to display the tool path by sequentially connecting the tool positions obtained by the step data generation unit 382. The tool trajectory obtained in this way coincides with the trajectory where the center position of the tool moves, and is displayed in a wire frame as shown in FIG. Further, the display unit 383 displays the cutting state of the workpiece on the display device 315 as shown in FIG. 13 by removing the cutting portion of the simulation element of the workpiece overlapping the tool obtained by the step data generation unit 382.

ステップデータ積算手段384は、ステップデータ生成手段382により生成されたステップデータを積算して積算データ(シミュレーションデータ)を生成する。すなわち、ステップデータ積算手段384は、ステップデータのうち工具位置データや切削位置データについてはシミュレーションの進行に伴って逐次積算するとともに、各データに付加されているステップ数については逐次更新して最後のステップ数のみを積算データとして引き継ぐ。この積算データは図14に示すように加工工程ごとに生成される。ここで、切削位置データの積算についてより詳しく説明すると、図15に示すように、ステップデータ積算手段384は、加工工程ごとに積算データを生成する際に、切削される部分が同一の要素でZ軸方向において連続しているときは、その要素における切削部分を示すZ軸の上下位置座標は連続している切削部分の上下位置座標のみとし中間のZ軸座標を省略する等、一まとめのデータとして編集する。 The step data integrating unit 384 integrates the step data generated by the step data generating unit 382 to generate integrated data (simulation data). That is, the step data integration means 384 sequentially integrates the tool position data and cutting position data of the step data as the simulation progresses, and sequentially updates the number of steps added to each data to the last. Only the number of steps is taken over as accumulated data. This integrated data is generated for each machining step as shown in FIG. Here, the integration of the cutting position data will be described in more detail. As shown in FIG. 15, when the step data integrating means 384 generates integrated data for each machining process, the portion to be cut is the same element as Z When it is continuous in the axial direction, the Z-axis vertical position coordinate indicating the cutting part of the element is only the vertical coordinate of the continuous cutting part, and the intermediate Z-axis coordinate is omitted. Edit as.

データ記憶制御手段385は、シミュレーションにより生成されたデータを、ステップデータ記憶手段386a、ステップデータ群記憶手段386b、および積算データ記憶手段386cからなるデータ記憶手段386に適宜記憶させる。 The data storage control unit 385 appropriately stores the data generated by the simulation in the data storage unit 386 including the step data storage unit 386a, the step data group storage unit 386b, and the integrated data storage unit 386c.

すなわち、図16に示すように、データ記憶制御手段385は、シミュレーションにより生成されたステップデータをまずステップデータ記憶手段386aに記憶させる。このステップデータ記憶手段386aへのステップデータの記憶数は計数手段387により計数され、データ記憶制御手段385は、ステップデータ記憶手段386aにおける記憶数が所定の許容記憶数MSに達するごとに、このステップデータ群をステップデータ群記憶手段386bに移し変える。ステップデータ群記憶手段386bにステップデータ群が移し変えられる回数(ステップデータ群記憶手段386bにステップデータ群が記憶される回数)は更に計数手段387により計数され、データ記憶制御手段385は、ステップデータ群が記憶される順に1,…,Nの如くファイル名を付する。 That is, as shown in FIG. 16, the data storage control unit 385 first stores the step data generated by the simulation in the step data storage unit 386a. The number of step data stored in the step data storage unit 386a is counted by the counting unit 387, and the data storage control unit 385 performs this step every time the number stored in the step data storage unit 386a reaches a predetermined allowable storage number MS. The data group is transferred to the step data group storage means 386b. The number of times the step data group is transferred to the step data group storage unit 386b (the number of times the step data group is stored in the step data group storage unit 386b) is further counted by the counting unit 387, and the data storage control unit 385 includes the step data File names are given as 1,..., N in the order in which the groups are stored.

このようにステップデータを記憶させることで図16に示すように例えばシミュレーション終了時のステップ数LがMSよりも大きい場合はステップデータ記憶手段386aにはステップ数がMS×N+1からLまでのステップデータが記憶され、ステップデータ群記憶手段386bにはステップ数が1からMS×Nまでのステップデータが記憶されることになる。そして、ステップデータ群記憶手段386bにおいて、ファイル名1にはステップ数が1からMSまでのステップデータ、…、ファイル名Nにはステップ数がMS×(N−1)+1からMS×Nまでのステップデータが記憶される。 By storing the step data in this way, as shown in FIG. 16, for example, when the number of steps L at the end of the simulation is larger than the MS, the step data storage means 386a stores the step data with the number of steps from MS × N + 1 to L. And the step data group storage means 386b stores step data from 1 to MS × N steps. In the step data group storage means 386b, the file name 1 has step data from 1 to MS for the number of steps,..., And the file name N has step numbers from MS × (N−1) +1 to MS × N. Step data is stored.

つまり、ステップデータ記憶手段386aおよびステップデータ群記憶手段386bとステップデータとはステップ数により関連づけられており、上述の如く各ステップデータにはステップ数が付加されているので、任意のステップ数におけるステップデータがステップデータ記憶手段386aおよびステップデータ群記憶手段386bのいずれに記憶されているかを容易に特定することができる。 That is, the step data storage unit 386a and the step data group storage unit 386b are associated with the step data by the number of steps, and the step number is added to each step data as described above. It can be easily specified whether the data is stored in the step data storage unit 386a or the step data group storage unit 386b.

更にステップデータ群記憶手段386bにおいてもステップデータ群のファイル名と該ファイルに含まれるステップデータがステップ数により関連づけられているので、任意のステップ数におけるステップデータがいずれのファイルに記憶されているかを容易に特定することができる。後に詳述するようにステップ数/MSなる演算の演算値をもって任意のステップ数におけるステップデータが記憶されているファイル名を特定することができる。 Further, in the step data group storage means 386b, the file name of the step data group and the step data included in the file are associated with each other by the number of steps. Therefore, in which file the step data at an arbitrary number of steps is stored. Can be easily identified. As will be described in detail later, a file name in which step data at an arbitrary number of steps is stored can be specified with a calculation value of the number of steps / MS.

なお、ステップデータ群記憶手段386bにステップデータ群が移し変えられたとき、該ステップデータ群に含まれるステップデータと同一のステップデータはステップデータ記憶手段386aから消去されるとともに、計数手段387におけるステップデータ記憶手段386aの記憶数の計数値がリセットされることはいうまでもない。 When the step data group is transferred to the step data group storage unit 386b, the same step data as the step data included in the step data group is deleted from the step data storage unit 386a and the step in the counting unit 387 is performed. Needless to say, the count value of the number stored in the data storage means 386a is reset.

また、データ記憶制御手段385は、ステップデータ積算手段384により加工工程ごとに生成された積算データを積算データ記憶手段386cに記憶させる。これにより積算データ記憶手段386cには、工具位置データや切削位置データについては加工工程ごとの積算値が記憶され、ステップ数については各加工工程終了時点のステップ数のみが記憶される。なお、本第1実施形態にあっては、ステップデータ記憶手段386aはメモリ上に形成され、ステップデータ群記憶手段386bおよび積算データ記憶手段386cはハードディスクのディスクスペース上に形成される。 Further, the data storage control unit 385 stores the integration data generated for each machining process by the step data integration unit 384 in the integration data storage unit 386c. Thus, the integrated data storage means 386c stores the integrated value for each machining process for the tool position data and the cutting position data, and stores only the number of steps at the end of each machining process for the number of steps. In the first embodiment, the step data storage unit 386a is formed on the memory, and the step data group storage unit 386b and the integrated data storage unit 386c are formed on the disk space of the hard disk.

再シミュレーション手段39は、シミュレーション手段38によるシミュレーションの終了後にデータ記憶手段386に記憶されているデータに基づいて工具軌跡やワークの切削状態を再度シミュレーションして表示させるべく、再表示ステップ数演算手段391、再表示用データ読み出し手段392、再表示用データ生成手段393、再表示手段394を有している。 The re-simulation unit 39 re-displays the step number calculation unit 391 so that the tool path and the cutting state of the workpiece are simulated again and displayed based on the data stored in the data storage unit 386 after the simulation by the simulation unit 38 is completed. A re-display data reading unit 392, a re-display data generating unit 393, and a re-display unit 394.

再表示ステップ数演算手段391は、操作パネル31により再表示操作が行われたときに再表示するステップ数を演算する。すなわち、本第1実施形態にあっては、図12および図13に示すように、表示画面上にUndo/Redoキーが設けられており、再表示操作としてUndo/Redo操作が行われたときは、再表示ステップ数演算手段391は、シミュレーション終了時のステップ数からUndo/Redo操作回数に応じたステップ数を加算または減算することにより再表示ステップ数を演算する。なお、本第1実施形態においては、1回のUndo/Redo操作で戻したり進めたりするステップ数や時間を操作パネル31から適宜設定することができる。 The redisplay step number calculating means 391 calculates the number of steps to be redisplayed when a redisplay operation is performed by the operation panel 31. That is, in the first embodiment, as shown in FIGS. 12 and 13, an Undo / Redo key is provided on the display screen, and when the Undo / Redo operation is performed as a re-display operation. The redisplay step number calculating means 391 calculates the redisplay step number by adding or subtracting the step number corresponding to the number of Undo / Redo operations from the step number at the end of the simulation. In the first embodiment, the number of steps and the time to return and advance by one Undo / Redo operation can be set as appropriate from the operation panel 31.

更に、本第1実施形態にあっては、同じく図12および図13に示すように、表示画面には現在表示されているシミュレーションが全体の中でどこまで進んだかがわかるようにステップ数に応じた長さのバー表示がされており、再表示操作としてバー操作を行うことによっても表示を戻したり進めたりすることができる。このようにバー操作が行われたときには、再表示ステップ数演算手段391は、バーの全移動可能長さB1と再表示操作後のバーの表示長さB2との割合および全ステップ数から再表示ステップ数を演算する。   Furthermore, in the first embodiment, as shown in FIGS. 12 and 13, the display screen is adapted to the number of steps so that it can be understood how far the simulation currently displayed has progressed in the whole. The length of the bar is displayed, and the display can be restored or advanced by performing a bar operation as a redisplay operation. When the bar operation is performed in this way, the redisplay step number calculation means 391 redisplays from the ratio of the total bar movable length B1 and the bar display length B2 after the redisplay operation and the total number of steps. Calculate the number of steps.

再表示用データ読み出し手段392は、再表示ステップ数演算手段391により演算された再表示ステップ数に基づいて再表示に必要な全てのステップデータを読み出す。この再表示用データ読み出し手段392によるデータの読み出しは、図16を例に次のように説明される。   The redisplay data read-out means 392 reads out all the step data necessary for redisplay based on the redisplay step number calculated by the redisplay step number calculating means 391. The reading of data by the redisplay data reading means 392 is described as follows with reference to FIG.

すなわち、図16は仕上げ加工途中の状態を再表示する場合を示しており、再表示用データ読み出し手段392は、まず再表示ステップ数LCと積算データに含まれる各加工工程終了時のステップ数LA,LB,Lとを比較して再表示ステップ数LCに最も近いステップ数を含む加工工程の積算データおよび該当する場合はその前の加工工程の積算データを積算データ記憶手段386cから読み出す。つまり例示においては、再表示ステップ数は中仕上げ加工工程終了時のステップ数LBに近いので、中仕上げ加工の積算データおよび荒加工の積算データが読み出される。 That is, FIG. 16 shows a case where the state during finishing machining is redisplayed. The redisplay data reading means 392 first displays the number of redisplay steps LC and the number of steps LA at the end of each machining step included in the integrated data. , LB, L are compared, and the integrated data of the machining process including the number of steps closest to the redisplay step number LC and, if applicable, the integrated data of the previous machining process are read from the integrated data storage means 386c. That is, in the example, since the number of redisplay steps is close to the number of steps LB at the end of the intermediate finishing process, the integrated data for intermediate finishing and the integrated data for roughing are read out.

次いで、再表示用データ読み出し手段392は、ステップ数LB+1から再表示ステップ数LCまでの全てのステップデータを読み出す。すなわち、図16に示すように、最後に生成されたステップデータ群のファイル名をNとしたとき、上述の如くステップデータ群記憶手段386bには最初のステップ数1からステップ数MS×Nまでのステップデータが記憶され、ステップデータ記憶手段386には最後のステップ数LからL−MS×N+1までのステップデータつまりMS×Nよりも大きいステップ数のステップデータが記憶されているので、再表示用データ読み出し手段392は、まずステップ数LB+1およびLCとMS×Nとの大小関係を比較する。例示においては、ステップ数LB+1およびLCはともにMS×Nよりも小さいので、いずれのステップデータもステップデータ群記憶手段386bにあることが特定される。よって、再表示用データ読み出し手段392は、ステップデータ群記憶手段386bからステップ数LB+1からLCまでの全てのステップデータを検索して読み出す。 Next, the redisplay data reading means 392 reads all the step data from the step number LB + 1 to the redisplay step number LC. That is, as shown in FIG. 16, when the file name of the last generated step data group is N, as described above, the step data group storage means 386b stores the first step number 1 to the step number MS × N. Step data is stored, and step data storage means 386 stores step data from the last step number L to L-MS × N + 1, that is, step data having a step number larger than MS × N. The data reading means 392 first compares the step numbers LB + 1 and LC with the magnitude relationship between MS × N. In the example, since the step numbers LB + 1 and LC are both smaller than MS × N, it is specified that any step data is in the step data group storage unit 386b. Therefore, the redisplay data reading unit 392 searches and reads all the step data from the step number LB + 1 to LC from the step data group storage unit 386b.

この検索方法を更に詳しく説明すると次のようになる。すなわち、再表示用データ読み出し手段392は、ステップ数LB+1およびLCのステップデータが記憶されたファイル名を特定すべく、(LB+1)/MSおよびLC/MSなる演算を行う。この演算値が小数部分を含まず過不足なく整数値で得られる場合は当該整数値によりファイル名を特定する。一方、演算値が少数部分を含んでいる場合は整数部分に1を加えることによりファイル名を特定する。例示においては、ステップ数LB+1についてはファイルNBが特定され、ステップ数LCについてはファイルNCが特定される。したがって、再表示用データ読み出し手段392は、ファイルNBの中からステップ数LB+1以後の全てのステップデータを読み出すとともに、ファイルNCの中からステップ数LC以前の全てのステップデータを読み出し、更にファイルNBとファイルNCとの間のステップデータはファイルごと全て読み出す。つまり、再表示用データ読み出し手段392は、再表示ステップ数に基づいて該当するファイルをまず検索し、次いで検索したファイルの中から必要なステップデータを検索する。   This search method will be described in more detail as follows. That is, the redisplay data reading means 392 performs the calculation of (LB + 1) / MS and LC / MS in order to specify the file name in which the step number LB + 1 and the LC step data are stored. When this calculated value is obtained as an integer value without including the decimal part and without an excess or deficiency, the file name is specified by the integer value. On the other hand, if the calculated value includes a decimal part, the file name is specified by adding 1 to the integer part. In the example, the file NB is specified for the step number LB + 1, and the file NC is specified for the step number LC. Accordingly, the redisplay data reading means 392 reads all the step data after the step number LB + 1 from the file NB, reads all the step data before the step number LC from the file NC, and further reads the file NB. All the step data with the file NC is read for each file. That is, the redisplay data reading unit 392 first searches for a corresponding file based on the number of redisplay steps, and then searches for necessary step data from the searched files.

再表示用データ生成手段393は、再表示用データ読み出し手段392により読み出されたステップデータおよび積算データに基づいて再表示用データを生成する。すなわち、再表示用データ生成手段393は、工具位置データおよび切削位置データについてはそれぞれ荒加工の積算値と中仕上げ加工の積算値とステップ数LB+1からLCにある全てのステップデータとを足し合わせるとともに、ステップ数は再表示ステップ数LCのみを引き継ぐ。なお、上述したステップデータ積算手段384と同様の手法で、切削位置データについては、切削部分が同一の要素でZ軸方向において連続しているときは、その要素における切削部分を示すZ軸の上下位置座標は連続している切削部分の上下位置座標のみとし、中間のZ軸座標を省略する等、一まとめのデータとして編集する。   The redisplay data generating unit 393 generates redisplay data based on the step data and the accumulated data read by the redisplay data reading unit 392. That is, the redisplay data generation means 393 adds up the integrated value of rough machining, the integrated value of intermediate finishing, and all the step data from LB + 1 to LC for the tool position data and the cutting position data, respectively. The number of steps takes over only the number of redisplay steps LC. In the same manner as the step data integration means 384 described above, when the cutting position data is the same element and the cutting part is continuous in the Z-axis direction, the Z-axis indicating the cutting part in the element is vertically The position coordinates are only the top and bottom position coordinates of the continuous cutting portion, and the intermediate Z-axis coordinates are omitted.

再表示手段394は、再表示用データに含まれる工具位置を逐次つないで表示ステップ数における工具軌跡を再表示する。また再表示手段394は、再表示用データに含まれる切削位置データに基づいてワークの各シミュレーション要素の切削部分を除くことにより再表示ステップ数におけるワークの切削状態を再表示する。   The re-display unit 394 re-displays the tool path at the number of display steps by sequentially connecting the tool positions included in the re-display data. The redisplay unit 394 redisplays the cutting state of the workpiece at the number of redisplay steps by removing the cutting portion of each simulation element of the workpiece based on the cutting position data included in the redisplay data.

ここで、本発明の加工システム1でワークを加工する流れについて、図17〜図20のフローチャートを用いて説明する。
加工を行う際、加工機4や用いる工具によって、最大加速度、最大加加速度などに違いがあるため、加工を行う際に一定の加工精度を維持するには、加工機4や用いられる工具に応じて制御方法を調整しなければならない。そこで、まず、加工制御装置3の操作パネル31から、オペレータが最大加速度、最大加加速度などに関する種々のパラメータを設定して、パラメータ記憶手段311に記憶する(S100)。
Here, the flow of machining a workpiece with the machining system 1 of the present invention will be described with reference to the flowcharts of FIGS.
When machining, there is a difference in the maximum acceleration, maximum jerk, etc. depending on the machine 4 and the tool used. Therefore, in order to maintain a certain machining accuracy when machining, it depends on the machine 4 and the tool used. Control method must be adjusted. Therefore, first, the operator sets various parameters relating to the maximum acceleration, the maximum jerk, and the like from the operation panel 31 of the machining control device 3, and stores them in the parameter storage means 311 (S100).

また、オペレータはCAD装置2を用いて仕上げ形状を加工形状として入力し(S200)、入力された形状に基づいてCAD装置2からソリッドモデルMのデータを出力する(S201)。ソリッドモデルMのデータはネットワーク5を介して加工制御装置3に送信され、加工制御装置3の入力手段32でCAD装置2から送信されたソリッドモデルMを入力してモデルデータ記憶手段321に記憶する(S101)。   The operator inputs the finished shape as a machining shape using the CAD device 2 (S200), and outputs data of the solid model M from the CAD device 2 based on the input shape (S201). The data of the solid model M is transmitted to the machining control device 3 via the network 5, and the solid model M transmitted from the CAD device 2 is input by the input unit 32 of the machining control device 3 and stored in the model data storage unit 321. (S101).

ワークは荒加工、中仕上げ加工、仕上げ加工などの複数の加工工程を経て加工されるが、これらの加工工程の順番や回数は、加工制御装置3の操作パネル31から入力され、荒加工、中仕上げ加工、仕上げ加工などの各加工工程に用いられる工具や主軸の回転速度に応じた指定加工速度F、オフセット値d、ピックフィードPickが加工速度記憶手段312、パラメータ記憶手段311、ピックフィード記憶手段314、オフセット値記憶手段313に複数記憶される。あるいは、CAD装置2からその加工工程の順番や回数と、各加工工程で使われる指定加工速度F、オフセット値d、ピックフィードPickを受け取るようにしてもよい(S102)。 The workpiece is processed through a plurality of processing steps such as roughing, intermediate finishing, and finishing. The order and the number of times of these processing steps are input from the operation panel 31 of the processing control device 3, and rough processing, A designated machining speed F, an offset value d, and a pick feed Pick corresponding to the rotation speed of the tool and spindle used in each machining process such as finishing and finishing are machining speed storage means 312, parameter storage means 311 and pick feed storage means. A plurality of offset values are stored in the offset value storage unit 313. Alternatively, the order and number of the machining steps, the designated machining speed F used in each machining step, the offset value d, and the pick feed Pick may be received from the CAD device 2 (S102).

加工制御装置3は、オフセット形状生成手段33でソリッドモデルMをオフセット値d分ほどオフセットしたオフセット形状E1を、各加工工程に応じて生成し(S103)、工具軌跡生成手段34でオフセット形状E1の上をピックフィードPick分ずつZ軸方向にXY平面に平行な加工面を移動させながらワークを加工するときの指定工具軌跡Gを生成して工具軌跡記憶手段341に記憶させる(S104)。実際に加工を行う際には、複数の加工工程(荒加工、中仕上加工、仕上加工など)を経て加工が行なわれるため、上述のオフセット形状生成手段33は、各加工工程で用いられる工具に応じたオフセット値を用いてオフセット形状を生成し、工具軌跡生成手段34では、各加工工程で用いられる工具に応じたピックフィードを用いて指定工具軌跡Gを生成する。 The machining control device 3 generates an offset shape E1 obtained by offsetting the solid model M by the offset value d by the offset shape generation unit 33 according to each machining process (S103), and the tool locus generation unit 34 sets the offset shape E1. A designated tool locus G for machining a workpiece while moving a machining surface parallel to the XY plane in the Z-axis direction by an amount corresponding to the pick feed Pick is generated and stored in the tool locus storage means 341 (S104). When machining is actually performed, machining is performed through a plurality of machining processes (rough machining, intermediate finishing, finishing, etc.), and thus the offset shape generation means 33 described above is used as a tool used in each machining process. An offset shape is generated using the corresponding offset value, and the tool trajectory generation means 34 generates a designated tool trajectory G using a pick feed corresponding to the tool used in each machining step.

次に、分割軌跡算出手段35で、指定工具軌跡Gの曲率に応じて指定工具軌跡Gを分割した分割軌跡gを求める(S105)。さらに、軸制御データ算出手段36で、分割軌跡gに沿って工具位置を指定された指定加工速度Fに従った速度で移動させるための軸制御データAを、各加工工程ごとに生成して軸制御データ記憶手段361に記憶する(S106)。   Next, a divided trajectory g obtained by dividing the designated tool locus G according to the curvature of the designated tool locus G is obtained by the divided locus calculating means 35 (S105). Further, the axis control data calculation means 36 generates axis control data A for moving the tool position at a speed according to the designated designated machining speed F along the divided trajectory g for each machining step. The data is stored in the control data storage unit 361 (S106).

次に、生成された軸制御データAを用いて工具軌跡やワークの切削状態のシミュレーションを行なう。
まず、オペレータが加工制御装置3の操作パネル31から工具およびワークの形状や寸法、ワークをシミュレーション要素に分割するための分割情報、およびステップデータ記憶手段386aにおける許容記憶数MSを入力するとともに、シミュレーションの開始操作を行う(S301)。
Next, simulation of the tool path and the cutting state of the workpiece is performed using the generated axis control data A.
First, the operator inputs the shape and dimensions of the tool and workpiece, the division information for dividing the workpiece into simulation elements, and the allowable storage number MS in the step data storage means 386a from the operation panel 31 of the machining control device 3, and the simulation. Is started (S301).

続いて、ワーク要素分割手段381がシミュレーション要素の分割情報に基づいて図10の如くワークを多数のシミュレーション要素に分割する(S302)。
次いで、ステップデータ生成手段382がステップデータを生成する(S303)。すなわち、図11に示すように、ステップデータ生成手段382は指定された軸制御データAを軸制御データ記憶手段361から読み出し、先頭の軸制御データAから順に各軸の移動量を算出してシミュレーションステップ単位で工具位置を求め工具位置データを生成するとともに、同じくシミュレーションステップ単位で求められた工具位置と重なるワークのシミュレーション要素の切削部分を特定して切削位置データを生成する。このステップデータの生成に際しては各ステップデータにステップ数を付加する。
Subsequently, the work element dividing means 381 divides the work into a large number of simulation elements as shown in FIG. 10 based on the division information of the simulation elements (S302).
Next, the step data generation means 382 generates step data (S303). That is, as shown in FIG. 11, the step data generation means 382 reads the designated axis control data A from the axis control data storage means 361, calculates the movement amount of each axis in order from the head axis control data A, and performs simulation. Tool position data is generated by obtaining the tool position in units of steps, and the cutting position data is generated by specifying the cutting portion of the simulation element of the workpiece that overlaps the tool position also obtained in units of simulation steps. When generating the step data, the number of steps is added to each step data.

そして、加工制御装置3は、表示装置315へのシミュレーション表示、ステップデータの記憶、ステップデータの積算を並行して行う。
すなわち、表示手段383は、図12および図13に示すように、求められた工具位置を逐次つないで工具軌跡として表示装置315に表示させるとともに、切削位置データとして求められた工具位置と重なるワークのシミュレーション要素の切削部分を逐次除くことによりワークの切削状態を表示装置315に表示させる(S304)。
Then, the machining control device 3 performs simulation display on the display device 315, storage of step data, and integration of step data in parallel.
That is, as shown in FIGS. 12 and 13, the display means 383 sequentially connects the obtained tool positions and causes the display device 315 to display the tool locus as a tool trajectory, and also displays the workpiece overlapping the tool position obtained as the cutting position data. By sequentially removing the cutting portions of the simulation elements, the cutting state of the workpiece is displayed on the display device 315 (S304).

また、表示手段383における表示に並行して、データ記憶制御手段385は、図16に示すように、生成されたステップデータを許容記憶数MSに達するまでステップデータ記憶手段386aに記憶させる(S305)。 In parallel with the display on the display unit 383, the data storage control unit 385 stores the generated step data in the step data storage unit 386a until the allowable storage number MS is reached as shown in FIG. 16 (S305). .

そして、更にデータ記憶制御手段385はステップデータ記憶手段386aにおける記憶数が許容記憶数MSに達するごとに、図16に示すようにこれらステップデータ(ステップデータ群)をステップデータ群記憶手段386bに移し変える。このステップデータ群の移し変え動作に際しては、ステップデータ群記憶手段386bにステップデータ群が移し変えられた回数をファイル名に付する(S306)。 Further, the data storage control unit 385 moves the step data (step data group) to the step data group storage unit 386b as shown in FIG. 16 every time the number stored in the step data storage unit 386a reaches the allowable storage number MS. Change. In this step data group transfer operation, the number of times the step data group is transferred to the step data group storage means 386b is added to the file name (S306).

更に、表示手段383における表示に並行して、ステップデータ積算手段384は、ステップデータを積算して積算データを生成する(S307)。すなわち、図14に示すように、ステップデータ積算手段384は、加工工程ごとに積算データを生成し、工具位置データや切削位置データについては逐次積算するとともに、各データに付加されているステップ数については逐次更新して最後のステップ数のみを積算データとして引き継ぐ。図15に示すように、同一要素の連続している切削部分におけるZ軸の上下位置座標は一まとめのデータとして編集される。 Further, in parallel with the display on the display unit 383, the step data integrating unit 384 integrates the step data to generate integrated data (S307). That is, as shown in FIG. 14, the step data integrating means 384 generates integrated data for each machining process, sequentially integrates the tool position data and cutting position data, and the number of steps added to each data. Is updated sequentially and only the last step number is taken over as integration data. As shown in FIG. 15, the vertical coordinate of the Z axis in a continuous cutting portion of the same element is edited as a set of data.

次いで、データ記憶制御手段385は、図16のように、積算データを加工工程ごとに積算データ記憶手段386cに記憶させる(S308)。
このように工具軌跡およびワークの切削状態のシミュレーションを行った後に、不適切な状態を発見したときは、再度シミュレーション表示を行う。再シミュレーションは以下のように行う。
Next, as shown in FIG. 16, the data storage control unit 385 stores the integrated data in the integrated data storage unit 386c for each machining step (S308).
If an inappropriate state is found after the simulation of the tool path and the cutting state of the workpiece as described above, the simulation display is performed again. The re-simulation is performed as follows.

すなわち、まずオペレータが操作パネル31より上述したUndo/Redo操作やバー操作等の再表示操作を行う(S401)。
次いで、再表示ステップ数演算手段391が再表示するステップ数を演算する(S402)。すなわち、再表示ステップ数演算手段391は、積算データ記憶手段386cに記憶された仕上げ加工の積算データからシミュレーション終了時のステップ数を読み出すとともに、読み出したシミュレーション終了時のステップ数とUndo/Redo操作回数や操作パネル31からの再表示操作後のバー表示長さに基づいて再表示ステップ数を演算する。
That is, first, the operator performs a re-display operation such as the above-described Undo / Redo operation and bar operation from the operation panel 31 (S401).
Next, the redisplay step number calculating means 391 calculates the number of steps to be redisplayed (S402). That is, the redisplay step number calculating means 391 reads out the number of steps at the end of the simulation from the integrated data of the finishing process stored in the integrated data storage means 386c, and also reads out the number of steps at the end of the simulation and the number of Undo / Redo operations. The number of redisplay steps is calculated based on the bar display length after the redisplay operation from the operation panel 31.

続いて、再表示用データ読み出し手段392は再表示に必要な全てのステップデータを読み出す。すなわち、図16の例示においては、再表示用データ読み出し手段382は、再表示ステップ数LCに最も近いステップ数LBを含む中仕上げ加工の積算データと中仕上げ加工の前の荒加工の積算データを積算データ記憶手段386cから読み出す(S403)。そして、再表示用データ読み出し手段392は、(LB+1)/MSおよびLC/MSなる演算を行いステップ数LB+1およびLCのステップデータが記憶されているファイルNBおよびNCを特定する(S404)。そして、更に、再表示用データ読み出し手段392は、再表示に必要なステップデータとしてステップ数LB+1からLCまでの全てのステップデータを全て読み出す(S405)。 Subsequently, the redisplay data reading means 392 reads all the step data necessary for redisplay. That is, in the illustration of FIG. 16, the redisplay data reading means 382 includes intermediate finish machining integrated data including the step number LB closest to the redisplay step number LC and rough machining integrated data before the intermediate finish machining. Reading from the integrated data storage means 386c (S403). Then, the redisplay data reading means 392 performs an operation of (LB + 1) / MS and LC / MS, and specifies the files NB and NC in which the step numbers LB + 1 and LC are stored (S404). Further, the redisplay data reading means 392 reads all the step data from the number of steps LB + 1 to LC as the step data necessary for redisplay (S405).

次に、再表示用データ生成手段393は、読み出されたステップデータおよび積算データに基づいて再表示用データを生成する。すなわち、図16の例示においては、工具位置データおよび切削位置データについてはそれぞれ荒加工の積算値と中仕上げ加工の積算値とステップ数LB+1からLCにある全てのステップのデータとを足し合わせることにより、再表示用データを生成する。同一要素の連続している切削部分におけるZ軸の上下位置座標は、ステップデータ積算手段384と同様の手法で、一まとめのデータとして編集される(S406)。   Next, the redisplay data generation means 393 generates redisplay data based on the read step data and integrated data. That is, in the illustration of FIG. 16, for the tool position data and the cutting position data, the integrated value of rough machining, the integrated value of intermediate finish machining, and the data of all steps in the number of steps LB + 1 to LC are added together. , Generate redisplay data. The vertical coordinate of the Z axis in the continuous cutting portion of the same element is edited as a set of data by the same method as the step data integrating means 384 (S406).

そして、再表示手段394が、再表示用データの工具位置を逐次つないで工具軌跡を再表示するとともに、再表示用データの切削位置データに基づいて当該位置に相当するワークのシミュレーション要素の切削部分を除いてワークの切削状態を再表示する(S407)。 Then, the redisplay unit 394 redisplays the tool path by sequentially connecting the tool positions of the redisplay data, and based on the cutting position data of the redisplay data, the cutting portion of the simulation element of the workpiece corresponding to the position The cutting state of the workpiece is redisplayed except for (S407).

このようにして、工具軌跡やワークの切削状態を確認して、加工に適さないと思われる部分があった場合には、その部分のソリッドモデルMの形状を変えて再度軸制御データAを生成するようにしてもよい。あるいは、特定の場所の指定加工速度Fを変えてもよい。   In this way, if there is a part that seems to be unsuitable for machining by checking the tool path and the cutting state of the workpiece, the shape of the solid model M of that part is changed and axis control data A is generated again. You may make it do. Alternatively, the designated processing speed F at a specific location may be changed.

各加工工程の工具軌跡やワークの切削状態などの確認を行った後に加工機で加工を行なう。加工制御装置3は、各加工工程ごとに軸制御データ記憶手段361に記憶されている軸制御データAを読み出し(S111)、出力手段37で工具軌跡に沿った順番で分割軌跡g1,g2,g3,・・・,gi,・・・の各軸制御データAを加工機4の駆動部45に出力する(S112)。駆動部45の軸制御データ受信部46で軸制御データAを受取り(S501)、信号生成部47で受け取った順に従って軸制御データAから各軸を駆動する信号を生成して主軸アンプ48、サーボアンプ49に出力する(S502)。この軸制御データAには分割軌跡の始点と一定の時間間隔Δtで各軸の速度変化が記録されており、各軸を各分割軌跡gの始点から一定の時間間隔Δtで各軸の軸速度を変えることで分割軌跡gに沿って工具位置を移動させる。このようにして全ての加工工程を指定された順番に実行して加工を行う。   After confirming the tool trajectory of each machining step and the cutting state of the workpiece, the machining is performed with a processing machine. The machining control device 3 reads the axis control data A stored in the axis control data storage unit 361 for each machining process (S111), and the output unit 37 outputs the divided tracks g1, g2, and g3 in the order along the tool track. ,..., Gi,... Are output to the drive unit 45 of the processing machine 4 (S112). The axis control data receiving unit 46 of the driving unit 45 receives the axis control data A (S501), and generates a signal for driving each axis from the axis control data A according to the order received by the signal generating unit 47 to generate the spindle amplifier 48 and the servo. Output to the amplifier 49 (S502). In this axis control data A, the speed change of each axis is recorded at a constant time interval Δt from the start point of the divided trajectory, and the axis speed of each axis is changed from the start point of each divided trajectory g at a constant time interval Δt. Is changed to move the tool position along the division trajectory g. In this way, processing is performed by executing all the processing steps in the specified order.

このように本第1実施形態においては、シミュレーションで生成されたシミュレーションデータを記憶し、該記憶されたシミュレーションデータに基づいて工具軌跡やワークの切削状態を再度シミュレーション表示することとしたので、シミュレーションデータを生成し直すことなく効率よく再シミュレーションを行うことができる。   As described above, in the first embodiment, the simulation data generated by the simulation is stored, and the tool path and the cutting state of the workpiece are displayed again by simulation based on the stored simulation data. Re-simulation can be performed efficiently without regenerating.

また、本第1実施形態においては、シミュレーションで生成されたステップデータを許容記憶数ごとにステップデータ群のファイルとして区分けし、該ステップデータ群のファイルと該ファイルに含まれるステップデータとをステップ数により関連させて記憶することとしたので、再度シミュレーション表示する際に必要なステップデータを読み出すときには、再表示ステップ数に基づいて必要なステップデータを含むステップデータ群のファイルをまず検索し、次いで該ファイルの中から必要なステップデータを検索する等、膨大にステップデータが生成される場合にあってもデータ検索の効率化が図られ更に効率よく再シミュレーションを行うことができる。 Further, in the first embodiment, the step data generated by the simulation is classified as a step data group file for each allowable storage number, and the step data group file and the step data included in the file are divided into the number of steps. Therefore, when reading out the step data necessary for the simulation display again, the file of the step data group including the necessary step data is first searched based on the number of redisplay steps, and then the Even when a large amount of step data is generated such as searching for necessary step data from a file, the efficiency of data search can be improved and re-simulation can be performed more efficiently.

更に、本第1実施形態においては、シミュレーションで生成されたステップデータを積算して積算データを生成し、該生成された積算データに基づいて再シミュレーションすることとしたので、再シミュレーションの際にデータ処理時間の短縮が図られ、更に効率よく再シミュレーションを行うことができる。 Furthermore, in the first embodiment, step data generated by simulation is integrated to generate integrated data, and re-simulation is performed based on the generated integrated data. Processing time can be shortened and re-simulation can be performed more efficiently.

更にまた、積算データは加工工程ごとに生成されるので、各加工工程終了時の加工状態を効率よく再シミュレーションすることができる。つまり、図12および図13に示すように、本第1実施形態においては、表示画面上に加工工程の切り替えキー315aが設けられており、該切り替えキー315aを操作パネル31より所要に操作することにより各加工工程終了時の加工状態が再表示可能となっている。なお、この再表示に際しては、再表示ステップ数演算手段391による再表示ステップ数の演算処理を介さずに、再表示用データ読み出し手段392が必要な積算データを直接読み出し、該読み出した積算データに基づいて再表示手段394が加工状態を再表示する。 Furthermore, since the integrated data is generated for each machining process, the machining state at the end of each machining process can be efficiently re-simulated. That is, as shown in FIGS. 12 and 13, in the first embodiment, a processing process switching key 315 a is provided on the display screen, and the switching key 315 a is operated as required from the operation panel 31. Thus, the processing state at the end of each processing step can be displayed again. At the time of this re-display, the re-display data reading means 392 directly reads out the necessary integrated data without going through the re-display step number calculating process by the re-display step number calculating means 391, and the read integrated data is included in the read integrated data. Based on this, the redisplay means 394 redisplays the machining state.

また更に、本第1実施形態においては、シミュレーションで生成されたステップデータを許容記憶数MSに達するごとにメモリ上に形成されたステップデータ記憶手段386aからハードディスク上に形成されたステップデータ群記憶手段386bに移し変えて記憶させることとしたので、膨大にステップデータが生成される場合にあってもメモリ容量を過度に増加させる必要がなく、加工制御装置(加工シミュレーション装置)3のコストダウンを図ることができる。 Furthermore, in the first embodiment, step data group storage means formed on the hard disk from step data storage means 386a formed on the memory every time the step data generated by the simulation reaches the allowable storage number MS. Since the memory is transferred to 386b and stored, even if a large amount of step data is generated, it is not necessary to excessively increase the memory capacity, and the cost of the machining control device (machining simulation device) 3 is reduced. be able to.

続いて、本発明の第2実施形態について図21乃至図24に基づいて説明する。すなわち、本発明の第2実施形態はシミュレーションを途中で中断させた場合に、中断時までの積算データを生成する構成を示している。
より詳しくは、オペレータが操作パネル31を所要に操作することにより、例えば、図21に示すように、仕上げ加工におけるシミュレーションを途中で中断した場合、ステップデータ積算手段384は、荒加工の積算データおよび中仕上げ加工の積算データを生成するとともに、仕上げ加工における最初のステップ数LB+1から中断ステップ数Lまでの積算データを生成する。そして、図22に示すように、データ記憶制御手段385は、仕上げ加工における中断時までの積算データを荒加工および中仕上げ加工の積算データとともに積算データ記憶手段386cに記憶させる。
Next, a second embodiment of the present invention will be described with reference to FIGS. That is, 2nd Embodiment of this invention has shown the structure which produces | generates the integration data until the time of interruption, when a simulation is interrupted on the way.
More specifically, when the operator operates the operation panel 31 as required, for example, as shown in FIG. 21, when the simulation in the finishing process is interrupted, the step data integrating means 384 includes the rough machining integrated data and In addition to generating integrated data for intermediate finishing, integrated data from the initial step number LB + 1 to the interrupted step number L in the finishing process is generated. Then, as shown in FIG. 22, the data storage control unit 385 stores the accumulated data until the interruption in the finishing process in the accumulated data storage unit 386 c together with the accumulated data of the roughing process and the intermediate finishing process.

つまり、オペレータがシミュレーションにおいて工具の食い込み等の不適切な加工状態を発見してシミュレーションを強制的に中断させた場合には、戻って再表示させたい不適切な加工状態と中断時点との時間差は通常は僅か数秒に過ぎない。 In other words, if an operator finds an inappropriate machining state such as a tool biting in a simulation and forcibly interrupts the simulation, the time difference between the inappropriate machining state that he wants to return and redisplay and the point of interruption is Usually only a few seconds.

したがって、本第2実施形態の如くシミュレーション中断時までの積算データを生成して記憶することで、シミュレーション中断後の再表示に際し、再表示用データ読み出し手段392および再表示用データ生成手段393等は中断時までの積算データ等と僅か数秒間のステップデータを読み出して再表示用データの生成処理をすれば足り、より一層のデータ処理時間の短縮が図られる。 Therefore, by generating and storing integrated data up to the time of simulation interruption as in the second embodiment, the re-display data read-out means 392, the re-display data generation means 393, etc. It is sufficient to read the accumulated data up to the time of interruption and the step data for only a few seconds and generate the data for redisplay, and the data processing time can be further shortened.

ここで、図21および図22においては、仕上げ加工における最初のステップ数LB+1から中断ステップ数Lまでの積算データを生成することとしているが、図23および図24に示すように、シミュレーションの中断時において、シミュレーション開始時のステップ数1から中断ステップ数Lまでの積算データを生成することとしても勿論構わない。この場合においては、再表示に際しての積算データの読み出しは中断時までの積算データのみで足り、荒加工および中仕上げ加工における積算データの読み出しは省略することができるので、更に一層のデータ処理時間の短縮が図られる。 Here, in FIGS. 21 and 22, integrated data from the initial step number LB + 1 to the interrupted step number L in the finishing process is generated. As shown in FIGS. 23 and 24, when the simulation is interrupted, Of course, it is also possible to generate integrated data from the number of steps 1 at the start of simulation to the number L of interrupted steps. In this case, it is sufficient to read out the integrated data at the time of redisplay, and only the integrated data up to the time of interruption is sufficient, and it is possible to omit reading of the integrated data in roughing and semi-finishing processing. Shortening is achieved.

なお、本発明は上述した実施形態に限定されるものではなく、必要に応じて種々の応用実施または変形実施が可能であることは勿論である。例えば、上述の実施形態では再表示ステップ数をUndo/Redo操作やバー操作の状況に基づいて演算することとしているが、例えば、表示画面上で直接再表示ステップ数を設定したり、あるいは再表示する切削時間を設定して再シミュレーションを行うこととしてもよい。本実施形態にあっては、セグメントタイムをシミュレーションステップ単位としているので、切削時間を設定して再表示する際にも容易に相当するステップ数を演算することができる。 In addition, this invention is not limited to embodiment mentioned above, Of course, various application implementation or deformation | transformation implementation is possible as needed. For example, in the above-described embodiment, the number of redisplay steps is calculated based on the status of the Undo / Redo operation or the bar operation. For example, the number of redisplay steps is set directly on the display screen, or the redisplay is performed. It is good also as re-simulating by setting the cutting time to perform. In this embodiment, since the segment time is set as a simulation step unit, the corresponding number of steps can be easily calculated even when the cutting time is set and displayed again.

更に上述の実施の形態では、一定の時間間隔で速度変化を記録した軸制御データを用いて制御する場合について説明したが、決められた時間間隔であれば、一定の時間間隔でなくてもよい。
また、軸制御データにはある時間間隔で各軸の軸速度を記録する場合について説明したが、速度の変化分を記録するようにしてもよい。
Further, in the above-described embodiment, the case where the control is performed using the axis control data in which the speed change is recorded at a constant time interval has been described. However, the fixed time interval may not be a constant time interval. .
Moreover, although the case where the shaft speed of each axis is recorded at a certain time interval has been described in the axis control data, the change in speed may be recorded.

上述の実施の形態では、一定の時間間隔で速度変化を記録した軸制御データを駆動部に出力する場合について説明したが、各軸方向の速度の時間変化を表す数式のデータを軸制御データとして駆動部に出力し、駆動部で受け取った数式に従って各軸の軸速度を変化させるようにしてもよい。
本実施の形態では、ワークの分割要素は、直方体形状としているが、このような形状に限らず、例えば、立法体(図25)やZ軸方向に延びる三角錐(図26)等の形状を採用してもよい。
In the above-described embodiment, the case where the axis control data in which the speed change is recorded at a constant time interval is output to the drive unit has been described. However, the mathematical formula data representing the time change of the speed in each axis direction is used as the axis control data. The shaft speed of each axis may be changed according to the mathematical expression output to the drive unit and received by the drive unit.
In the present embodiment, the workpiece dividing element has a rectangular parallelepiped shape. However, the shape is not limited to such a shape. For example, a shape such as a cubic body (FIG. 25) or a triangular pyramid (FIG. 26) extending in the Z-axis direction is used. It may be adopted.

また、本実施の形態では、加工制御装置にソリッドモデルを入力して、軸制御データを生成する場合について説明したが、CAD装置から出力したソリッドモデルをCAM装置に出力して、CAM装置に軸制御データ生成手段を設けて軸制御データを生成して加工制御装置に出力するようにしてもよい。また、CAM装置で軸制御データを生成する場合には、CAM装置側にさらにシミュレーション手段および再シミュレーション手段を設けて、軸制御データを用いたシミュレーションをCAM装置で行うようにしてもよい。   In the present embodiment, the case where the solid model is input to the machining control device and the axis control data is generated has been described. However, the solid model output from the CAD device is output to the CAM device, and the axis is input to the CAM device. Control data generating means may be provided to generate axis control data and output it to the machining control device. In addition, when axis control data is generated by the CAM device, a simulation unit and a re-simulation unit may be further provided on the CAM device side, and the simulation using the axis control data may be performed by the CAM device.

CAM装置は、汎用コンピュータ(例えばワークステーション等)の補助記憶装置に軸制御データを生成する機能を備えたプログラムが読み込まれて実行されることにより実現される。上記機能を備えたプログラムは記録媒体やネットワークを介して配布されてコンピュータにインストールされる。 The CAM device is realized by reading and executing a program having a function of generating axis control data in an auxiliary storage device of a general-purpose computer (for example, a workstation). A program having the above functions is distributed via a recording medium or a network and installed in a computer.

本発明は、加工シミュレーション装置において工具軌跡やワークの切削状態のシミュレーションを行う場合に役立つ。 The present invention is useful when simulating a tool path and a cutting state of a workpiece in a machining simulation apparatus.

加工システムの概略構成図Schematic configuration diagram of processing system 加工機の駆動部の構成図Configuration diagram of the drive unit of the processing machine 加工制御装置(加工シミュレーション装置)の構成図Configuration diagram of machining control device (machining simulation device) 加工形状のオフセットした形状の求め方を説明するための図Diagram for explaining how to obtain the offset shape of the machining shape 指定工具軌跡の求め方を説明するための図Diagram for explaining how to obtain the specified tool path 指定工具軌跡を分割した分割軌跡の求め方を説明するための図A figure for explaining how to find the division trajectory by dividing the specified tool trajectory 分割軌跡と加工速度の関係を表す図Diagram showing the relationship between division trajectory and machining speed 各軸の速度変化を表した図Diagram showing speed change of each axis シミュレーション手段および再シミュレーション手段の構成図Configuration diagram of simulation means and re-simulation means ワークを分割した要素の一例(その1)Example of an element that divides a work (part 1) ステップデータを示す図で、(a)は工具位置のステップデータ、(b)は切削位置のステップデータ、を示す図It is a figure which shows step data, (a) is step data of a tool position, (b) is a figure which shows step data of a cutting position. 工具軌跡の表示の一例Example of tool path display ワークの切削状態の表示の一例Example of workpiece cutting status display 積算データ(各加工工程ごと)の生成状態を説明するための図で、(a)は工具位置の積算データの生成状態、(b)は切削位置の積算データの生成状態、を説明するための図It is a figure for demonstrating the production | generation state of integration data (each machining process), (a) is the production | generation state of the integration data of a tool position, (b) is the production | generation state of the integration data of a cutting position. Figure 切削位置の積算データの編集方法を説明するための図Diagram for explaining how to edit cutting position integrated data データ記憶手段におけるデータの記憶状態を説明するための図The figure for demonstrating the memory | storage state of the data in a data storage means 加工システムの動作を説明するための第1のフローチャートFirst flowchart for explaining the operation of the machining system 加工システムの動作を説明するための第2のフローチャートSecond flowchart for explaining the operation of the machining system 加工システムの動作を説明するための第3のフローチャートThird flowchart for explaining the operation of the machining system 加工システムの動作を説明するための第4のフローチャートFourth flowchart for explaining the operation of the machining system シミュレーション中断時の積算データの生成状態を説明するための第1の図1st figure for demonstrating the production | generation state of the integration data at the time of a simulation interruption シミュレーション中断時の積算データのデータ記憶手段における記憶状態を説明するための第1の図1st figure for demonstrating the memory | storage state in the data storage means of the integration data at the time of a simulation interruption シミュレーション中断時の積算データの生成状態を説明するための第2の図2nd figure for demonstrating the production | generation state of the integration data at the time of a simulation interruption シミュレーション中断時の積算データのデータ記憶手段における記憶状態を説明するための第2の図2nd figure for demonstrating the memory | storage state in the data storage means of the integration data at the time of a simulation interruption ワークを分割した要素の一例(その2)An example of an element that divides a work (part 2) ワークを分割した要素の一例(その3)An example of an element that divides a work (part 3)

符号の説明Explanation of symbols

1 加工システム
2 CAD装置
3 加工制御装置
4 加工機
5 ネットワーク
31 操作パネル
32 入力手段
33 オフセット形状生成手段
34 工具軌跡生成手段
35 分割軌跡算出手段
36 軸制御データ算出手段
38 シミュレーション手段
39 再シミュレーション手段
41 主軸
42 テーブル
43,44 送り軸
45 駆動部
46 軸制御データ受信部
47 信号生成部
48 主軸アンプ
48a モータ
49 サーボアンプ
49a,49b モータ
311 パラメータ記憶手段
312 加工速度記憶手段(工具移動速度記憶手段)
313 オフセット値記憶手段
314 ピックフィード記憶手段
315 表示装置
315a 切り替えキー
321 モデルデータ記憶手段
341 工具軌跡記憶手段
361 軸制御データ記憶手段
381 ワーク要素分割手段
382 ステップデータ生成手段
383 表示手段
384 ステップデータ積算手段
385 データ記憶制御手段
386 データ記憶手段
386a ステップデータ記憶手段
386b ステップデータ群記憶手段
386c 積算データ記憶手段
387 計数手段
391 再表示ステップ数演算手段
392 再表示用データ読み出し手段
393 再表示用データ生成手段
394 再表示手段
M ソリッドモデル
MS 許容記憶数
d オフセット値
A 軸制御データ
L シミュレーションステップ数
N ステップデータ群がステップデータ記憶手段に記憶される回数(ステップデータ群のファイル名)
DESCRIPTION OF SYMBOLS 1 Processing system 2 CAD apparatus 3 Processing control apparatus 4 Processing machine 5 Network 31 Operation panel 32 Input means 33 Offset shape generation means 34 Tool locus generation means 35 Division locus calculation means 36 Axis control data calculation means 38 Simulation means 39 Resimulation means 41 Main shaft 42 Tables 43, 44 Feed shaft 45 Drive unit 46 Axis control data receiving unit 47 Signal generation unit 48 Main shaft amplifier 48a Motor 49 Servo amplifiers 49a, 49b Motor 311 Parameter storage means 312 Processing speed storage means (tool movement speed storage means)
313 Offset value storage means 314 Pick feed storage means 315 Display device 315a Switching key 321 Model data storage means 341 Tool path storage means 361 Axis control data storage means 381 Work element division means 382 Step data generation means 383 Display means 384 Step data integration means 385 Data storage control means 386 Data storage means 386a Step data storage means 386b Step data group storage means 386c Accumulated data storage means 387 Count means 391 Redisplay step number calculation means 392 Redisplay data read means 393 Redisplay data generation means 394 Redisplay means M Solid model MS Permissible storage number d Offset value A Axis control data L Number of simulation steps N Step data group is stored in step data storage means Number (step data group of the file name)

Claims (6)

工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いて前記ワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、
前記工具が前記ワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、
最大加速度を前記加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、
前記指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、
工具移動速度を変えながら前記工具位置を前記分割軌跡上で移動させる前記加工機の駆動部に出力するための、前記工具位置を前記指定工具移動速度に従った速度で各分割軌跡上を移動させて前記ワークを加工するときの該分割軌跡上における始点の各軸位置と、該各軸位置から前記曲率に応じて前記加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、
前記工具が前記ワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するためのシミュレーションデータを前記軸制御データに基づいて生成するデータ生成手段と、
前記シミュレーションデータを記憶するデータ記憶手段と、
前記データ記憶手段により記憶されたシミュレーションデータに基づいて前記工具軌跡または前記ワークの切削状態をシミュレーション表示するシミュレーション手段と、
を備え、
前記所定の時間間隔Δtで求めた各軸方向の工具移動速度が、前記分割軌跡上の接線方向に前記工具が移動するよう決められたものであり、
前記駆動部が、前記軸制御データの前記所定の時間間隔Δtで求めた時間Tiにおける前記各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における前記各軸方向の工具移動速度Vi+1になるように前記各軸方向の工具移動速度を変えるものであることを特徴とする加工シミュレーション装置。
Tool trajectory storage means for storing a designated tool trajectory designated in advance when machining the workpiece into a predetermined shape using a processing machine that moves a tool position where the tool processes the workpiece in a plurality of axial directions;
Tool movement speed storage means for storing a designated tool movement speed designated in advance when the tool processes the workpiece;
Parameter storage means for storing a maximum acceleration as a parameter indicating an allowable limit of acceleration of the processing machine;
A divided trajectory calculating means for dividing the designated tool trajectory at a portion where the curvature of the designated tool trajectory is small at a large interval and dividing the specified tool trajectory at a small interval as the curvature of the designated tool trajectory increases;
The tool position is moved on each divided trajectory at a speed according to the designated tool moving speed for outputting to the drive unit of the processing machine that moves the tool position on the divided trajectory while changing the tool moving speed. Each axis position of the starting point on the division trajectory when machining the workpiece, and each axis determined at a predetermined time interval Δt so as not to exceed the allowable acceleration limit according to the curvature from each axis position Axis control data calculating means for obtaining the tool movement speed in the direction as axis control data,
Data generating means for generating, based on the axis control data, simulation data for simulating and displaying a tool path when the tool processes the workpiece or a cutting state of the workpiece corresponding to the tool path;
Data storage means for storing the simulation data;
Simulation means for simulating and displaying the tool path or the cutting state of the workpiece based on the simulation data stored by the data storage means;
With
The tool moving speed in each axial direction obtained at the predetermined time interval Δt is determined so that the tool moves in a tangential direction on the divided trajectory,
The drive unit moves to the next time Ti + 1 before the next time Ti + 1 (= Ti + Δt) when the tool moving speed Vi in each axis direction at the time Ti obtained at the predetermined time interval Δt of the axis control data. A machining simulation apparatus characterized in that the tool moving speed in each axial direction is changed so that the tool moving speed Vi + 1 in each axial direction at (= Ti + Δt).
工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いて前記ワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、
前記工具が前記ワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、
最大加速度を前記加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、
前記指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、
工具移動速度を変えながら前記工具位置を前記分割軌跡上で移動させる前記加工機の駆動部に出力するための、前記工具位置を前記指定工具移動速度に従った速度で各分割軌跡上を移動させて前記ワークを加工するときの該分割軌跡上における始点の各軸位置と、該各軸位置から前記曲率に応じて前記加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、
前記工具が前記ワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するためのシミュレーションデータを前記軸制御データに基づいて生成するデータ生成手段と、
前記シミュレーションデータに基づいて前記工具軌跡または前記ワークの切削状態をシミュレーション表示するシミュレーション手段と、
前記シミュレーションデータを記憶するデータ記憶手段と、
前記データ記憶手段に記憶されたシミュレーションデータに基づいて前記工具軌跡または前記ワークの切削状態を再度シミュレーション表示する再シミュレーション手段と、
を備え、
前記所定の時間間隔Δtで求めた各軸方向の工具移動速度が、前記分割軌跡上の接線方向に前記工具が移動するよう決められたものであり、
前記駆動部が、前記軸制御データの前記所定の時間間隔Δtで求めた時間Tiにおける前記各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における前記各軸方向の工具移動速度Vi+1になるように前記各軸方向の工具移動速度を変えるものであることを特徴とする加工シミュレーション装置。
Tool trajectory storage means for storing a designated tool trajectory designated in advance when machining the workpiece into a predetermined shape using a processing machine that moves a tool position where the tool processes the workpiece in a plurality of axial directions;
Tool movement speed storage means for storing a designated tool movement speed designated in advance when the tool processes the workpiece;
Parameter storage means for storing a maximum acceleration as a parameter indicating an allowable limit of acceleration of the processing machine;
A divided trajectory calculating means for dividing the designated tool trajectory at a portion where the curvature of the designated tool trajectory is small at a large interval and dividing the specified tool trajectory at a small interval as the curvature of the designated tool trajectory increases;
The tool position is moved on each divided trajectory at a speed according to the designated tool moving speed for outputting to the drive unit of the processing machine that moves the tool position on the divided trajectory while changing the tool moving speed. Each axis position of the starting point on the division trajectory when machining the workpiece, and each axis determined at a predetermined time interval Δt so as not to exceed the allowable acceleration limit according to the curvature from each axis position Axis control data calculating means for obtaining the tool movement speed in the direction as axis control data,
Data generating means for generating, based on the axis control data, simulation data for simulating and displaying a tool path when the tool processes the workpiece or a cutting state of the workpiece corresponding to the tool path;
Simulation means for simulating and displaying the tool path or the cutting state of the workpiece based on the simulation data;
Data storage means for storing the simulation data;
Re-simulation means for re-simulating and displaying the tool path or the cutting state of the workpiece based on the simulation data stored in the data storage means;
With
The tool moving speed in each axial direction obtained at the predetermined time interval Δt is determined so that the tool moves in a tangential direction on the divided trajectory,
The drive unit moves to the next time Ti + 1 before the next time Ti + 1 (= Ti + Δt) when the tool moving speed Vi in each axis direction at the time Ti obtained at the predetermined time interval Δt of the axis control data. A machining simulation apparatus characterized in that the tool moving speed in each axial direction is changed so that the tool moving speed Vi + 1 in each axial direction at (= Ti + Δt).
工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いて前記ワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、
前記工具が前記ワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、
最大加速度を前記加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、
前記指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、
工具移動速度を変えながら前記工具位置を前記分割軌跡上で移動させる前記加工機の駆動部に出力するための、前記工具位置を前記指定工具移動速度に従った速度で各分割軌跡上を移動させて前記ワークを加工するときの該分割軌跡上における始点の各軸位置と、該各軸位置から前記曲率に応じて前記加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、
前記工具が前記ワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するために必要なシミュレーションステップ単位のデータを前記軸制御データに基づいてステップデータとして生成するステップデータ生成手段と、
前記ステップデータに基づいて前記工具軌跡または前記ワークの切削状態をシミュレーション表示するシミュレーション手段と、
前記ステップデータを所定のシミュレーションステップ数ごとにステップデータ群として区分し、該ステップデータ群の区分けと該ステップデータ群に含まれるステップデータとを関連させて記憶するデータ記憶手段と、
前記データ記憶手段に記憶されたステップデータに基づいて前記工具軌跡または前記ワークの切削状態を再度シミュレーション表示する再シミュレーション手段と、
を備え、
前記所定の時間間隔Δtで求めた各軸方向の工具移動速度が、前記分割軌跡上の接線方向に前記工具が移動するよう決められたものであり、
前記駆動部が、前記軸制御データの前記所定の時間間隔Δtで求めた時間Tiにおける前記各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における前記各軸方向の工具移動速度Vi+1になるように前記各軸方向の工具移動速度を変えるものであることを特徴とする加工シミュレーション装置。
Tool trajectory storage means for storing a designated tool trajectory designated in advance when machining the workpiece into a predetermined shape using a processing machine that moves a tool position where the tool processes the workpiece in a plurality of axial directions;
Tool movement speed storage means for storing a designated tool movement speed designated in advance when the tool processes the workpiece;
Parameter storage means for storing a maximum acceleration as a parameter indicating an allowable limit of acceleration of the processing machine;
A divided trajectory calculating means for dividing the designated tool trajectory at a portion where the curvature of the designated tool trajectory is small at a large interval and dividing the specified tool trajectory at a small interval as the curvature of the designated tool trajectory increases;
The tool position is moved on each divided trajectory at a speed according to the designated tool moving speed for outputting to the drive unit of the processing machine that moves the tool position on the divided trajectory while changing the tool moving speed. Each axis position of the starting point on the division trajectory when machining the workpiece, and each axis determined at a predetermined time interval Δt so as not to exceed the allowable acceleration limit according to the curvature from each axis position Axis control data calculating means for obtaining the tool movement speed in the direction as axis control data,
A step of generating, as step data, simulation step unit data necessary for simulation display of a tool path when the tool processes the workpiece or a cutting state of the workpiece corresponding to the tool path based on the axis control data Data generation means;
Simulation means for simulating and displaying the tool path or the cutting state of the workpiece based on the step data;
Data storage means for classifying the step data as a step data group for each predetermined number of simulation steps, and storing the step data group classification and step data included in the step data group in association with each other;
Re-simulation means for simulating and displaying the tool path or the cutting state of the workpiece based on the step data stored in the data storage means;
With
The tool moving speed in each axial direction obtained at the predetermined time interval Δt is determined so that the tool moves in a tangential direction on the divided trajectory,
The drive unit moves to the next time Ti + 1 before the next time Ti + 1 (= Ti + Δt) when the tool moving speed Vi in each axis direction at the time Ti obtained at the predetermined time interval Δt of the axis control data. A machining simulation apparatus characterized in that the tool moving speed in each axial direction is changed so that the tool moving speed Vi + 1 in each axial direction at (= Ti + Δt).
工具がワークを加工する工具位置を複数の軸方向に移動させる加工機を用いて前記ワークを所定の形状に加工する際の予め指定された指定工具軌跡を記憶する工具軌跡記憶手段と、
前記工具が前記ワークを加工する際の予め指定された指定工具移動速度を記憶する工具移動速度記憶手段と、
最大加速度を前記加工機の加速の許容限度を示すパラメータとして記憶するパラメータ記憶手段と、
前記指定工具軌跡を、該指定工具軌跡の曲率が小さい部分は大きい間隔で分割し、該指定工具軌跡の曲率が大きくなるに従って小さい間隔で分割して複数の分割軌跡を求める分割軌跡算出手段と、
工具移動速度を変えながら前記工具位置を前記分割軌跡上で移動させる前記加工機の駆動部に出力するための、前記工具位置を前記指定工具移動速度に従った速度で各分割軌跡上を移動させて前記ワークを加工するときの該分割軌跡上における始点の各軸位置と、該各軸位置から前記曲率に応じて前記加速の許容限度を超えないように所定の時間間隔Δtで求めた各軸方向の工具移動速度と、を軸制御データとして求める軸制御データ算出手段と、
前記工具が前記ワークを加工する際の工具軌跡または該工具軌跡に対応するワークの切削状態をシミュレーション表示するために必要なシミュレーションステップ単位のステップデータを前記軸制御データに基づいてステップデータとして生成するステップデータ生成手段と、
前記ステップデータに基づいて前記工具軌跡および前記ワークの切削状態をシミュレーション表示するシミュレーション手段と、
前記ステップデータを積算して積算データを生成する積算データ生成手段と、
前記積算データを記憶するデータ記憶手段と、
前記データ記憶手段に記憶された積算データに基づいて前記工具軌跡および前記ワークの切削状態を再度シミュレーション表示する再シミュレーション手段と、
を備え、
前記所定の時間間隔Δtで求めた各軸方向の工具移動速度が、前記分割軌跡上の接線方向に前記工具が移動するよう決められたものであり、
前記駆動部が、前記軸制御データの前記所定の時間間隔Δtで求めた時間Tiにおける前記各軸方向の工具移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における前記各軸方向の工具移動速度Vi+1になるように前記各軸方向の工具移動速度を変えるものであることを特徴とする加工シミュレーション装置。
Tool trajectory storage means for storing a designated tool trajectory designated in advance when machining the workpiece into a predetermined shape using a processing machine that moves a tool position where the tool processes the workpiece in a plurality of axial directions;
Tool movement speed storage means for storing a designated tool movement speed designated in advance when the tool processes the workpiece;
Parameter storage means for storing a maximum acceleration as a parameter indicating an allowable limit of acceleration of the processing machine;
A divided trajectory calculating means for dividing the designated tool trajectory at a portion where the curvature of the designated tool trajectory is small at a large interval and dividing the specified tool trajectory at a small interval as the curvature of the designated tool trajectory increases;
The tool position is moved on each divided trajectory at a speed according to the designated tool moving speed for outputting to the drive unit of the processing machine that moves the tool position on the divided trajectory while changing the tool moving speed. Each axis position of the starting point on the division trajectory when machining the workpiece, and each axis determined at a predetermined time interval Δt so as not to exceed the allowable acceleration limit according to the curvature from each axis position Axis control data calculating means for obtaining the tool movement speed in the direction as axis control data,
Based on the axis control data, step data is generated as simulation step unit data necessary for simulating and displaying a tool path when the tool processes the workpiece or a cutting state of the workpiece corresponding to the tool path. Step data generation means;
Simulation means for simulating and displaying the tool path and the cutting state of the workpiece based on the step data;
Integrated data generating means for integrating the step data to generate integrated data;
Data storage means for storing the integrated data;
Re-simulation means for re-simulating and displaying the tool path and the cutting state of the workpiece based on the accumulated data stored in the data storage means;
With
The tool moving speed in each axial direction obtained at the predetermined time interval Δt is determined so that the tool moves in a tangential direction on the divided trajectory,
The drive unit moves to the next time Ti + 1 before the next time Ti + 1 (= Ti + Δt) when the tool moving speed Vi in each axis direction at the time Ti obtained at the predetermined time interval Δt of the axis control data. A machining simulation apparatus characterized in that the tool moving speed in each axial direction is changed so that the tool moving speed Vi + 1 in each axial direction at (= Ti + Δt).
前記積算データ生成手段は、加工工程ごとに前記積算データを生成することを特徴とする請求項4に記載の加工シミュレーション装置 The machining simulation apparatus according to claim 4, wherein the integrated data generation unit generates the integrated data for each machining process. 前記積算データ生成手段は、シミュレーションを中断した場合において該中断時までのステップデータを積算した積算データを生成することを特徴とする請求項4または請求項5に記載の加工シミュレーション装置。 6. The machining simulation apparatus according to claim 4, wherein the integrated data generation unit generates integrated data obtained by integrating step data up to the interruption time when the simulation is interrupted.
JP2008114697A 2008-04-25 2008-04-25 Processing simulation equipment Expired - Fee Related JP5013482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008114697A JP5013482B2 (en) 2008-04-25 2008-04-25 Processing simulation equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008114697A JP5013482B2 (en) 2008-04-25 2008-04-25 Processing simulation equipment

Publications (2)

Publication Number Publication Date
JP2009265943A JP2009265943A (en) 2009-11-12
JP5013482B2 true JP5013482B2 (en) 2012-08-29

Family

ID=41391718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008114697A Expired - Fee Related JP5013482B2 (en) 2008-04-25 2008-04-25 Processing simulation equipment

Country Status (1)

Country Link
JP (1) JP5013482B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5246186B2 (en) * 2010-03-15 2013-07-24 オムロン株式会社 Controller support device, control program simulation method, controller support program, and computer-readable storage medium storing controller support program
CN103635864B (en) 2011-06-29 2016-05-25 三菱电机株式会社 Machining simulation machine and method
JP6376558B2 (en) * 2013-09-13 2018-08-22 株式会社ソディック Machining data calculation device and machining data calculation program
JP6440394B2 (en) * 2014-07-11 2018-12-19 三菱電機株式会社 Simulation image display device
JP7495516B2 (en) 2020-10-22 2024-06-04 ファナック株式会社 CONTROL DEVICE, MACHINE TOOL SYSTEM, AND CONTROL METHOD
JP6971416B1 (en) * 2021-03-01 2021-11-24 Dmg森精機株式会社 Program editing equipment and programs

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09160624A (en) * 1995-12-06 1997-06-20 Toyota Motor Corp Tool path determining method
JP2765691B2 (en) * 1996-08-19 1998-06-18 株式会社日立製作所 Simulation method
JPH10105220A (en) * 1996-09-30 1998-04-24 Okuma Mach Works Ltd Machining simulation method for numerically controlled machining
JPH11282517A (en) * 1998-03-12 1999-10-15 Internatl Business Mach Corp <Ibm> Pulse control method using multiplier and system therefor
JP3529373B2 (en) * 2001-11-09 2004-05-24 ファナック株式会社 Work machine simulation equipment
JP3785349B2 (en) * 2001-11-09 2006-06-14 ファナック株式会社 Simulation device
JP2004171268A (en) * 2002-11-20 2004-06-17 Yaskawa Electric Corp Command generator for numerical controller
JP2004227047A (en) * 2003-01-20 2004-08-12 Mitsubishi Heavy Ind Ltd Machining device
JP4505295B2 (en) * 2004-09-16 2010-07-21 ヤマザキマザック株式会社 NC machining simulation method and NC machining simulation apparatus

Also Published As

Publication number Publication date
JP2009265943A (en) 2009-11-12

Similar Documents

Publication Publication Date Title
JP4847428B2 (en) Machining simulation apparatus and program thereof
JP5013482B2 (en) Processing simulation equipment
JP4802170B2 (en) Machining time calculation device and program thereof
KR100752061B1 (en) Virtual teach-in system
KR100428413B1 (en) Apparatus and Method for Processing Simulation in Annecy Machining
JP6719790B1 (en) Automatic operation device for machining center based on CAD data
CN107664985B (en) CAD/CAM-CNC integrated system
JP4796936B2 (en) Processing control device
CN101957610A (en) The cutter path display device of lathe
EP1235125A2 (en) Control apparatus for cutting machine, cutting machine and cutting method
US5561601A (en) Non-manifold data structure based NC machining simulation system and method thereof
JP2019082852A (en) Postprocessor device, processing program generation method, cnc machining system, and program for processing program generation
JP4031627B2 (en) Machine tool performance evaluation apparatus and performance evaluation system including the same
JP5271549B2 (en) Control method of movable tool, input device and machine tool
Lee et al. A servo parameter tuning method for highspeed NC machine tools based on contouring error measurement
JP4815907B2 (en) Machining time prediction method and prediction device, and NC data editing device having machining time prediction function
JP2009266000A (en) Machining control device
WO1990006545A1 (en) Interpolation method in automatic programming
Sulitka et al. Strategy for implementating predictive process-oriented machine tool digital twins
US6658317B2 (en) Method for setting a moving position in a machine tool
JP4982170B2 (en) Machining control device and machining control program
JPS619705A (en) Numerically controlled machine tool
JPH09190211A (en) System for controlling route of numerically controlled device
JPS6147652B2 (en)
JP4124583B2 (en) Method and apparatus for creating operation path data of work robot

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110729

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120126

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5013482

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees