JP4796936B2 - Processing control device - Google Patents

Processing control device Download PDF

Info

Publication number
JP4796936B2
JP4796936B2 JP2006297358A JP2006297358A JP4796936B2 JP 4796936 B2 JP4796936 B2 JP 4796936B2 JP 2006297358 A JP2006297358 A JP 2006297358A JP 2006297358 A JP2006297358 A JP 2006297358A JP 4796936 B2 JP4796936 B2 JP 4796936B2
Authority
JP
Japan
Prior art keywords
tool
axis
trajectory
speed
machining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006297358A
Other languages
Japanese (ja)
Other versions
JP2008117032A (en
JP2008117032A5 (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 JP2006297358A priority Critical patent/JP4796936B2/en
Priority to PCT/JP2007/001200 priority patent/WO2008053601A1/en
Priority to CN2007800407552A priority patent/CN101563661B/en
Publication of JP2008117032A publication Critical patent/JP2008117032A/en
Publication of JP2008117032A5 publication Critical patent/JP2008117032A5/ja
Application granted granted Critical
Publication of JP4796936B2 publication Critical patent/JP4796936B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/416Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control of velocity, acceleration or deceleration
    • G05B19/4163Adaptive control of feed or cutting velocity
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35012Cad cam
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/43Speed, acceleration, deceleration control ADC
    • G05B2219/43129Speed as function of curvature, in curves, corners smaller than in straight line
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Description

本発明は、加工物を加工する加工機を制御する加工制御装置およびそのプログラムに関するものである。   The present invention relates to a machining control device that controls a machining machine that machines a workpiece, and a program thereof.

従来、工作機械などの制御を行う数値制御装置は、予め作成されたNCプログラムのNCコードを解析して位置データや速度データを指令データとしてモータ制御装置に出力して、ワークを加工するように構成されている。このようなNCプログラムは、数値制御装置の操作パネルから直接入力されたり、CAMに加工する形状を入力して、CAMからNCプログラムを自動生成して数値制御装置に読み込ませていた。   Conventionally, a numerical control device that controls a machine tool or the like analyzes a NC code of a previously created NC program and outputs position data and speed data as command data to a motor control device to process a workpiece. It is configured. Such an NC program is directly input from the operation panel of the numerical control device, or a shape to be processed into the CAM is input, and the NC program is automatically generated from the CAM and read into the numerical control device.

近年、3次元CADの普及に伴い複雑な仕上げ形状の設計を3次元CADで行うようになり、3次元CADから、複雑な仕上げ形状がソリッドデータとして出力されるようになってきた。従来から用いられていたCAMではソリッドデータで定義されるような複雑な形状を入力するのは非常に手間のかかる作業であったため、複雑な形状を加工するNCデータを生成するのは困難であったが、三次元CADが出力したソリッドデータをCAMで受け取って工具軌跡を生成することにより、ソリッドデータで定義されるような複雑な形状を加工するNCプログラムを自動的に生成する方法が提案されている(例えば、特許文献1など)。
特開2003−295917号公報
In recent years, with the spread of 3D CAD, the design of complex finished shapes has been performed by 3D CAD, and complex finished shapes have been output as solid data from 3D CAD. In the conventional CAM, inputting a complicated shape as defined by solid data is very time-consuming work, so it is difficult to generate NC data for processing a complicated shape. However, there has been proposed a method for automatically generating an NC program for machining a complex shape as defined by solid data by receiving solid data output by 3D CAD with CAM and generating a tool trajectory. (For example, Patent Document 1).
Japanese Patent Laid-Open No. 2003-295917

このように、CAMで三次元のソリッドデータから直接NCプログラムを出力できるようになったおかげで、複雑な加工形状であってもNCプログラムが自動的に生成されるようになり、作業者の負担が大幅に軽減された。   In this way, thanks to the ability to output NC programs directly from 3D solid data with CAM, NC programs can be automatically generated even for complex machining shapes, which is burdened by workers. Was greatly reduced.

しかしながら、ソリッドモデルデータに基づいてCAMから生成されるNCプログラムは、複雑な形状を加工する工具軌跡を小さい線分に分けて直線で近似するようなデータが出力されるため長大であることが多く、CAMがNCプログラムを生成するのに時間がかかる。また、数値制御装置がNCプログラムを解読して加工機の各軸の移動量などを指令する指令値を計算しているが、数値制御装置が長大なNCプログラム解読するのにも時間がかかり、CAMで工具軌跡を生成してから加工するまでの作業効率を低下させている。 However, NC programs generated from CAM based on solid model data are often long because data that approximates a straight line by dividing a tool trajectory for machining a complex shape into small line segments is output. , It takes time for the CAM to generate the NC program. In addition, although the numerical control device decodes the NC program and calculates the command value for instructing the movement amount of each axis of the processing machine, it takes time for the numerical control device to decode the long NC program. The working efficiency from the generation of the tool trajectory by CAM to the machining is reduced.

さらに、CAMでは工具軌跡が曲線部分であるところ直線で近似して出力するため、仕上げ精度を維持するためにはかなり小さい線分に分ける必要があるが、数値制御装置の演算速度に制限されて、数値制御装置から加工機のサーボに対して出す指示が工具の移動に追いつかなくなることがある。そのため、あまり小さい線分に分けることができない。 Furthermore, in order to output the approximated by a straight line where the tool path in the CAM is a curve portion, it is necessary to divide the much smaller segments in order to maintain the finish precision, it is limited to the operation speed of the numerical controller As a result, an instruction issued from the numerical controller to the servo of the processing machine may not be able to keep up with the movement of the tool. Therefore, it cannot be divided into very small line segments.

そこで、本発明では、工具軌跡を生成してから加工するまでの時間を短縮させるとともに、加工精度を向上させる加工制御装置およびそのプログラムを提供することを目的とするものである。   Therefore, an object of the present invention is to provide a machining control device and a program for reducing the time from generation of a tool locus to machining and improving machining accuracy.

本発明の加工制御装置は、工具が加工物を加工する加工位置を複数の軸方向に移動させる加工機を制御する加工制御装置であって、
前記加工物を所定の形状に加工する工具軌跡を記憶する工具軌跡記憶手段と、
前記工具が前記加工物を加工する加工速度を記憶する加工速度記憶手段と、
前記工具軌跡を該工具軌跡の曲率が小さい部分は大きい間隔で分割し、該工具軌跡の曲率が大きくなるに従って小さい間隔で分割した分割軌跡を求める分割軌跡算出手段と、
前記工具を前記加工速度に従った速度で各分割軌跡上を移動させて前記加工物を加工するときの該分割軌跡上の各軸位置と各軸方向の速度の時間変化とを軸制御データとして求める軸制御データ算出手段と、
前記軸制御データに従って各軸方向の速度を変えながら前記加工位置を前記分割軌跡上で移動させる前記加工機の駆動部に、各分割軌跡の軸制御データを出力する出力手段とを備えたことを特徴とするものである。
The processing control device of the present invention is a processing control device that controls a processing machine that moves a processing position in which a tool processes a workpiece in a plurality of axial directions,
Tool path storage means for storing a tool path for processing the workpiece into a predetermined shape;
Processing speed storage means for storing a processing speed at which the tool processes the workpiece;
A division trajectory calculating means for dividing the tool trajectory at a portion where the curvature of the tool trajectory is small and dividing the tool trajectory at a small interval as the curvature of the tool trajectory increases;
As axis control data, each axis position on the division trajectory when the tool is moved on each division trajectory at a speed according to the machining speed and the time change of the speed in each axial direction is processed. Axis control data calculation means to be obtained;
An output means for outputting the axis control data of each divided locus is provided in the drive unit of the processing machine that moves the machining position on the divided locus while changing the speed in each axis direction according to the axis control data. It is a feature.

また、本発明のプログラムは、コンピュータを、
工具が加工物を加工する加工位置を複数の軸方向に移動させる加工機を用いて前記加工物を所定の形状に加工する工具軌跡を、該工具軌跡の曲率が小さい部分は大きい間隔で分割し、該工具軌跡の曲率が大きくなるに従って小さい間隔で分割した分割軌跡を求める分割軌跡算出手段と、
前記工具を予め記憶されている加工速度に従った速度で各分割軌跡上を移動させて前記加工物を加工するときの該分割軌跡上の各軸位置と各軸方向の速度の時間変化とを軸制御データとして求める軸制御データ算出手段と、
前記軸制御データに従って各軸方向の速度を変えながら前記加工位置を前記分割軌跡上で移動させる前記加工機の駆動部に、各分割軌跡の軸制御データを出力する出力手段として機能させることを特徴とするものである。
The program of the present invention is a computer,
A tool trajectory for processing the workpiece into a predetermined shape using a processing machine that moves a processing position where the tool processes the workpiece in a plurality of axial directions is divided at a large interval in a portion where the curvature of the tool trajectory is small. A divided trajectory calculating means for obtaining a divided trajectory divided at a small interval as the curvature of the tool trajectory increases;
Each axis position on the division trajectory when the tool is moved on each division trajectory at a speed according to the machining speed stored in advance and the workpiece is machined, and the time change of the speed in each axis direction Axis control data calculation means to be obtained as axis control data;
The drive unit of the processing machine that moves the machining position on the division trajectory while changing the speed in the direction of each axis according to the axis control data functions as an output unit that outputs the axis control data of each division trajectory. It is what.

「軸制御データ」とは、分割軌跡に従って工具の加工位置を移動させるときに各軸を制御するためのデータをいう。   “Axis control data” refers to data for controlling each axis when the machining position of the tool is moved according to the division trajectory.

「加工速度に従った速度」とは、加工速度に近くなるように分割軌跡上を工具を移動させる速度をいい、加工速度と同じ速度でない場合を含む。   The “speed according to the machining speed” refers to a speed at which the tool is moved on the divided trajectory so as to be close to the machining speed, and includes a case where the speed is not the same as the machining speed.

また、前記軸制御データ算出手段は、前記各軸方向の速度の時間変化を所定の時間間隔で求めるものでもよい。   Further, the axis control data calculation means may determine the time change of the speed in each axis direction at a predetermined time interval.

また、前記加工機の加工精度に関するパラメータを記憶するパラメータ記憶手段をさらに備え、
前記分割軌跡算出手段が、前記パラメータに応じて前記工具軌跡を分割する間隔を変えるものであってもよい。
The apparatus further comprises parameter storage means for storing parameters relating to the processing accuracy of the processing machine,
The division trajectory calculation means may change an interval for dividing the tool trajectory according to the parameter.

「加工機の加工精度に関するパラメータ」とは、慣性モーメントや剛性など加工機に依存する物理特性に応じて加工精度を調整するためのパラメータをいい、例えば、加速度や加加速度に関するパラメータがある。   “Parameters related to the processing accuracy of the processing machine” refers to parameters for adjusting the processing accuracy in accordance with physical characteristics that depend on the processing machine, such as moment of inertia and rigidity, for example, parameters related to acceleration and jerk.

さらに、前記軸制御データ算出手段が、前記パラメータに基づき、前記加工位置における前記分割軌跡の曲率が大きく、前記加工速度で加工を行ったときに該分割軌跡に沿って加工できないと予測される部分では、前記加工速度より小さくなるように前記各軸方向の速度を求めるものであってもよい。   Further, the axis control data calculating means is based on the parameter and is predicted to have a large curvature of the division locus at the machining position and cannot be machined along the division locus when machining is performed at the machining speed. Then, you may obtain | require the speed | rate of each said axial direction so that it may become smaller than the said processing speed.

本発明によれば、工具軌跡を曲率に応じて分割した分割軌跡単位で、加工機の各軸の速度と位置を制御する軸制御データを生成して加工機の駆動部に出力することにより、従来のように微小な線分で加工軌跡を近似することなく、加工機が加工軌跡に沿って加工位置を移動させることができるため、複雑な形状を精度良く加工することができる。また、従来のように微小な線分で近似したNCプログラムを出力することがないため、長大なNCプログラムの生成・解析を行う必要がないので時間を短縮することができる。   According to the present invention, by generating the axis control data for controlling the speed and position of each axis of the processing machine and outputting it to the drive unit of the processing machine, in divided trajectory units obtained by dividing the tool path according to the curvature, Since the processing machine can move the processing position along the processing trajectory without approximating the processing trajectory with a minute line segment as in the prior art, a complicated shape can be processed with high accuracy. In addition, since an NC program approximated by a minute line segment is not output as in the prior art, it is not necessary to generate and analyze a long NC program, so that time can be shortened.

加工精度に関するパラメータに応じて工具軌跡を分割する間隔を変えることによって、仕上げ精度が出るように工具軌跡上を正確に加工できるようにすることができる。   By changing the interval at which the tool path is divided according to the parameters relating to the processing accuracy, it is possible to accurately process the tool path so that the finishing accuracy can be obtained.

加工位置における前記分割軌跡の曲率が大きく、前記加工速度で加工を行ったときに該分割軌跡に沿って加工できないと予測される部分では、前記加工速度より小さくなるような軸制御データを生成することで、工具軌跡を外れることなく加工することができる。   In a portion where the curvature of the division trajectory at a machining position is large and machining is performed along the division trajectory when machining is performed at the machining speed, axis control data that is smaller than the machining speed is generated. Therefore, it can process without deviating from a tool locus.

以下、本発明の実施形態について、図面を用いて説明する。図1は本発明の加工制御装置を含む加工システムの概略構成図である。   Hereinafter, embodiments 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.

本発明の加工システム1は、加工形状を作成するCAD装置2と、加工機を制御する加工制御装置3と、加工物(ワーク)をテーブルに設置して工具でワークを加工する加工機4とからなる。CAD装置2と加工制御装置3とはネットワーク5で接続される。   A machining system 1 according to the present invention includes a CAD device 2 that creates a machining shape, a machining control device 3 that controls a machining machine, a machining machine 4 that sets a workpiece (work) on a table and works the workpiece with a tool, Consists of. The CAD device 2 and the machining control device 3 are connected by a network 5.

加工機4は、工具の取り付けられる主軸41と、ワークが設置されるテーブル42と、テーブルを移動させる送り軸(不図示)と、各軸(主軸、送り軸)を駆動させる駆動部45とを備える。通常、主軸は切削動力を伝える軸でありZ軸として表わし、テーブル42を移動させる送り軸をX軸とY軸として表す。   The processing machine 4 includes a main shaft 41 to which a tool is attached, a table 42 on which a workpiece is installed, a feed shaft (not shown) that moves the table, and a drive unit 45 that drives each shaft (main shaft, feed shaft). Prepare. Usually, the main axis is an axis for transmitting cutting power and is represented as a Z axis, and feed axes for moving the table 42 are represented as an X axis and a Y 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 drive 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 the 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 includes a high-performance microcomputer and a memory. The microcomputer executes a program stored in the memory to drive each of the X axis, the Y axis, and the Z axis. 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.

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は、各種パラメータ、加工速度F、加工形状をオフセットするオフセット値d、ワーク加工する工具を移動させる間隔であるピックフィードPickなどの入力を行う操作パネル31と、設定されたパラメータを記憶するパラメータ記憶手段311と、加工速度Fを記憶する加工速度記憶手段312と、オフセット値dを記憶するオフセット値記憶手段313と、ピックフィードPickを記憶するピックフィード記憶手段314と、CAD装置2で生成されたソリッドモデルMのデータを入力する入力手段32と、ソリッドモデルMのデータを記憶するモデルデータ記憶手段321と、ソリッドモデルMをオフセット値d分ほどオフセットした形状(曲面や曲線など)を生成するオフセット形状生成手段33と、オフセット形状からワークを加工する工具軌跡を求める工具軌跡生成手段34と、工具軌跡を記憶する工具軌跡記憶手段341と、工具軌跡の曲率に応じて工具軌跡を分割した分割軌跡を求める分割軌跡算出手段35と、工具を加工速度Fに従う速度で分割軌跡上を移動させるときの各軸の軸制御データAを求める軸制御データ算出手段36と、軸制御データAを駆動部に出力する出力手段37とを備える。 As shown in FIG. 3, the processing control unit 3, various parameters, processing speed F, the offset value offsetting the machining shape d, an operation panel for inputting such pick-feed Pick a distance for moving the tool for machining a workpiece 31, parameter storage means 311 for storing set parameters, processing speed storage means 312 for storing processing speed F, offset value storage means 313 for storing offset value d, and pick feed for storing pick feed Pick a storage unit 314, an input hand stage 3 2 for inputting data of a solid model M generated by the CAD apparatus 2, a model data storage unit 321 for storing data of a solid model M, the offset value d min of the solid model M An offset shape generation means 33 for generating a shape (curved surface, curved line, etc.) offset by Tool trajectory generating means 34 for obtaining a tool trajectory for machining a workpiece from a faceted shape, tool trajectory storage means 341 for storing the tool trajectory, and split trajectory calculating means for obtaining a split trajectory obtained by dividing the tool trajectory according to the curvature of the tool trajectory 35, an 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 machining speed F, and an output means 37 for outputting the axis control data A to the drive unit. Is provided.

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

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

工具軌跡生成手段34は、オフセット形状S1の上を工具を移動させる工具軌跡を生成する。ここでは、等高線加工でワークを加工する場合について説明する。ワークを加工する際には、図5に示すように、オフセット形状S1をXY平面に平行な等高平面Q上で切った交線Lに沿って工具を移動させながらワークを切削し、さらに、一定のピックフィードPickでZ軸方向(上→下)に等高平面Qを移動させながら彫り進めて行く。   The tool trajectory generating means 34 generates a tool trajectory for moving the tool on the offset shape S1. 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 L obtained by cutting the offset shape S1 on the contour plane Q parallel to the XY plane. Carving while moving the contour plane Q in the Z-axis direction (up → down) with a constant pick feed Pick.

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

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

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

つまり、工具軌跡の曲率が小さく(曲率が0に近い)略直線になるところでは大きい分割軌跡lを加工するようなデータを加工機に指示し、曲率が大きいところは短い分割軌跡lを加工するようなデータを加工機に指示する。   That is, when the curvature of the tool locus is small (curvature is close to 0), the processing machine is instructed to process data having a large divided locus l, and when the curvature is large, the short divided locus l is machined. Such data is instructed to the processing machine.

軸制御データ算出手段36は、分割した各分割軌跡l1,l2,l3,・・・,li,・・・に沿って工具を指定された加工速度Fで移動させるときの分割軌跡l上の各軸位置と所定の時間間隔で求めた各軸方向の速度の時間変化とを軸制御データAとして求める。軸制御データAには、分割軌跡上の各軸位置として、分割軌跡上の少なくとも1点の各軸の位置を含むものであればよい。例えば、軸制御データAに分割軌跡l上の始点の位置と分割軌跡に沿って移動させるときの各軸の速度変化とが記録されている場合には、始点の位置から各軸を速度変化に従うように各軸を制御することによって、分割軌跡lに沿って工具の加工位置に移動させることができる。   The axis control data calculation means 36 calculates each of the divided trajectories l when the tool is moved at the specified machining speed F along the respective divided trajectories l 1, l 2, l 3,. The axis position and the time change of the velocity in each axis direction obtained at a predetermined time interval are obtained as axis control data A. 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, if the axis control data A records the position of the starting point on the divided locus l and the speed change of each axis when moving along the divided locus, the axis follows the speed change from the position of the starting point. By controlling each axis in this way, the tool can be moved to the machining position along the division locus l.

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

そこで、図8に示すように、各分割軌跡l上を加工速度Fで工具を移動させるときの各軸を移動させる速度Vx,Vy,Vzの時間変化を表す速度曲線を求める。図8は、Z方向の移動がなくXY平面でのみの移動がある場合を示す。各軸の速度をこの速度曲線に従うように制御することにより、加工位置を分割軌跡lに沿って移動させることができる。そこで、軸制御データAに、例えば、各軸の速度曲線を短い一定の時間間隔Δtで分割した点における各軸の速さと、分割軌跡lの開始点を記録する。また、時間T0から時間Tnまでの速度曲線の積分値が時間T0から時間Tnまでに移動した距離となるので、時間Tnにおける各軸の位置は、分割軌跡lの開始点P0に速度曲線のT0〜Tn間の積分値を加えることにより各軸の位置が求められる。 Therefore, as shown in FIG. 8, a speed curve representing the time change of the speeds Vx, Vy, and Vz for moving the respective axes when the tool is moved at the machining speed F on each divided trajectory l 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 speed of each axis so as to follow this speed curve, the machining position can be moved along the division locus l. Therefore, for example, the speed of each axis at the point obtained by dividing the speed curve of each axis at a short constant time interval Δt and the starting point of the divided locus l are recorded in the axis control data A. Further, since the integral value of the velocity curve from time T0 to time Tn is the distance moved from time T0 to time Tn, the position of each axis at time Tn is at the start point P0 of the divided locus l at the velocity curve T0. The position of each axis is obtained by adding the integral value between ~ Tn.

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

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

ここで、本発明の加工システム1でワークを加工する流れについて、図9のフローチャートを用いて説明する。   Here, the flow of machining a workpiece by the machining system 1 of the present invention will be described with reference to the flowchart of FIG.

加工を行う際、加工機4や用いる工具によって、最大加速度、加加速度などに違いがあらわれる。加工を行う際にある程度の加工精度が出るようにするには、加工機4や用いられる工具に応じて制御方法を調整しなければならない。そこで、加工制御装置3の操作パネル31から、最大加速度、加加速度などに関する種々のパラメータを設定して、パラメータ記憶手段311に記憶する(S100)。 When processing, the maximum acceleration, jerk, and the like vary depending on the processing machine 4 and the tool used. In order to achieve a certain degree of processing accuracy when performing processing, the control method must be adjusted according to the processing machine 4 and the tool used. Therefore, the operation panel 31 in the pressurizing Engineering control unit 3, by setting the various parameters relating to such maximum acceleration, jerk, and stored in the parameter storage unit 311 (S100).

オペレータは、CAD装置2を用いて仕上げ形状を加工形状として入力し(S200)、入力された形状に基づいてCAD装置2からソリッドモデルMを出力する(S201)。ソリッドモデルMはネットワーク5を介して加工制御装置3に送信され、加工制御装置3は、入力手段32でCAD装置2から送信されたソリッドモデルMを受信してモデルデータ記憶手段321に記憶する(S101)。さらに、オペレータは加工制御装置3の操作パネル31から、ワークを加工する加工速度F、加工に用いる工具に応じたオフセット値dやピックフィードPickを入力し、加工速度記憶手段312、パラメータ記憶手段311、ピックフィード記憶手段314、オフセット値記憶手段313にそれぞれ記憶する(S102)。 The operator inputs the finished shape as a machining shape using the CAD device 2 (S200), and outputs the solid model M from the CAD device 2 based on the input shape (S201). The solid model M is transmitted to the machining control device 3 via the network 5, and the machining control device 3 receives the solid model M transmitted from the CAD device 2 by the input means 32 and stores it in the model data storage means 321 ( S101). Further, the operator inputs the machining speed F for machining the workpiece, the offset value d corresponding to the tool used for machining, and the pick feed Pick from the operation panel 31 of the machining control device 3, and machining speed storage means 312 and parameter storage means 311. The pick feed storage means 314 and the offset value storage means 313 are stored (S102).

加工制御装置3は、オフセット形状生成手段33でソリッドモデルMをオフセット値d分ほどオフセットしたオフセット形状S1を生成し(S103)、工具軌跡生成手段34でオフセット形状S1の上をピックフィードPick分ずつZ軸方向にXY平面に平行な加工面を移動させながらワークを加工するときの工具軌跡Lを生成する(S104)。生成した工具軌跡Lは工具軌跡記憶手段341に記憶される。   The machining control device 3 generates an offset shape S1 obtained by offsetting the solid model M by the offset value d by the offset shape generation means 33 (S103), and the tool trajectory generation means 34 above the offset shape S1 by pick feed Pick. A tool locus L is generated when machining a workpiece while moving a machining surface parallel to the XY plane in the Z-axis direction (S104). The generated tool path L is stored in the tool path storage unit 341.

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

出力手段37は、工具軌跡に沿った順番で分割軌跡l1,l2,l3,・・・,li,・・・の各軸制御データAを加工機4の駆動部45に出力する。駆動部45の軸制御データ受信部46で軸制御データAを受取り(S301)、信号生成部47で受け取った順に従って軸制御データAから各軸を駆動する信号を生成して主軸アンプ48、サーボアンプ49に出力する(S302)。この軸制御データAには分割軌跡の始点と一定の時間間隔Δtで各軸の速度変化が記録されており、各軸を各分割軌跡lの始点から一定の時間間隔Δtで各軸の速度を変えることで分割軌跡lに沿って加工位置を移動させることができる。駆動部45で各軸の速度を変化させるとともに、加工機4に各軸の位置を検出するエンコーダを設けて、加工位置が分割軌跡lからずれないように各軸の速度を調整するフィードバック機構を設けたものが望ましい。   The output means 37 outputs the axis control data A of the divided trajectories l1, l2, l3,..., Li,. The axis control data receiving unit 46 of the driving unit 45 receives the axis control data A (S301), 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. The signal is output to the amplifier 49 (S302). In this axis control data A, the change in speed of each axis is recorded at a constant time interval Δt from the start point of the divided trajectory, and the speed of each axis is measured from the start point of each divided trajectory l at a constant time interval Δt. By changing it, the machining position can be moved along the division trajectory l. A feedback mechanism that adjusts the speed of each axis so that the machining position does not deviate from the division trajectory l by changing the speed of each axis by the drive unit 45 and providing the processing machine 4 with an encoder that detects the position of each axis. The one provided is desirable.

上述の実施の形態では、ボールエンドミルを用いて加工を行うときのオフセット方法について説明したが、フラットエンドミルなど他のタイプの工具を用いて加工を行うときには、それに応じたオフセット形状を求めるようにすればよい。   In the above-described embodiment, the offset method when machining using a ball end mill has been described. However, when machining using another type of tool such as a flat end mill, an offset shape corresponding to the offset method is obtained. That's fine.

上述の実施の形態では、一定の時間間隔で速度変化を記録した軸制御データを用いて制御する場合について説明したが、決められた時間間隔であれば、一定の時間間隔でなくてもよい。   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, as long as the time interval is determined, the time interval may not be constant.

また、軸制御データにはある時間間隔で各軸の速度を記録する場合について説明したが、速度の変化分を記録するようにしてもよい。   Moreover, although the case where the 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.

上述の実施の形態では、一定の時間間隔で速度変化を記録した軸制御データを駆動部に出力する場合について説明したが、各軸方向の速度の時間変化を表す数式のデータを軸制御データとして駆動部に出力し、駆動部で受け取った数式に従って各軸の速度を変化させるようにしてもよい。   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. You may make it change the speed of each axis | shaft according to the numerical formula output to the drive part and received by the drive part.

以上、詳細に説明したように、工具軌跡を曲率に応じて分割した分割軌跡単位で、加工機の各軸の速度を制御する制御データを生成して加工機を駆動することにより、従来のように微小な線分で加工軌跡を近似することなく複雑な形状を加工することができるので、精度良く加工を行うことができる。また、従来は、一旦、NCデータに変換していたため、NCデータの解読に時間がかかっていたが、工具軌跡から直接制御データを生成するので、形状の入力から加工までの時間を短縮することができる。   As described above in detail, by generating control data for controlling the speed of each axis of the processing machine in units of divided trajectories obtained by dividing the tool trajectory according to the curvature, the processing machine is driven as before. Since a complicated shape can be machined without approximating the machining locus with very small line segments, machining can be performed with high accuracy. Conventionally, since it was once converted to NC data, it took time to decode the NC data. However, since control data is generated directly from the tool path, the time from shape input to machining can be shortened. Can do.

本実施の形態では、加工制御装置にソリッドモデルを入力して、軸制御データを生成する場合について説明したが、CAD装置から出力してソリッドモデルを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 is output from the CAD device to the CAM device, and the axis control is performed by the CAM device. Data may be generated and output to the machining control 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.

加工システムの概略構成図Schematic configuration diagram of processing system 加工機の駆動部の構成図Configuration diagram of the drive unit of the processing machine 加工制御装置の構成図Configuration diagram of machining control device 加工形状のオフセットした形状の求め方を説明するための図Diagram for explaining how to obtain the offset shape of the machining shape 工具軌跡の求め方を説明するための図Diagram for explaining how to find the tool path 工具軌跡を分割した分割軌跡の求め方を説明するための図The figure for explaining how to find the division trajectory by dividing the tool trajectory 分割軌跡と加工速度の関係を表す図Diagram showing the relationship between division trajectory and machining speed 各軸の速度変化を表した図Diagram showing speed change of each axis 加工システムの動作を説明するための図Diagram for explaining the operation of the machining system

符号の説明Explanation of symbols

1 加工システム
2 CAD装置
3 加工制御装置
4 加工機
5 ネットワーク
31 操作パネル
32 入力手段
33 オフセット形状生成手段
34 工具軌跡生成手段
35 分割軌跡算出手段
36 軸制御データ算出手段
37 出力手段
41 主軸
42 テーブル
43,44 送り軸
45 駆動部
46 軸制御データ受信部
47 信号生成部
48 主軸アンプ
48a,49a,49b モータ
49 サーボアンプ
311 パラメータ記憶手段
312 加工速度記憶手段
313 オフセット値記憶手段
314 ピックフィード記憶手段
321 モデルデータ記憶手段
341 工具軌跡記憶手段
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 37 Output means 41 Spindle 42 Table 43 , 44 Feed axis 45 Drive unit 46 Axis control data reception unit 47 Signal generation unit 48 Spindle amplifier 48a, 49a, 49b Motor 49 Servo amplifier 311 Parameter storage means 312 Processing speed storage means 313 Offset value storage means 314 Pick feed storage means 321 Model Data storage means 341 Tool path storage means

Claims (1)

工具が加工物を加工する加工位置を複数の軸方向に移動させる加工機を制御する加工制御装置であって、
最大加速度を前記加工機の加工精度に関するパラメータとして記憶するパラメータ記憶手段と、
加工形状のモデルから生成される曲線を前記加工物を所定の形状に加工する工具軌跡として前記工具軌跡を記憶する工具軌跡記憶手段と、
前記工具が前記加工物を加工する指定された加工速度を記憶する加工速度記憶手段と、
前記工具軌跡を該工具軌跡の曲率が小さい部分は大きい間隔で分割し該工具軌跡の曲率が大きくなるに従って小さい間隔で分割した分割軌跡を求める分割軌跡算出手段と、
前記工具を前記指定された加工速度に従った移動速度で各分割軌跡上を移動させて前記加工物を加工するときの、前記分割軌跡上における始点の各軸位置と、前記分割軌跡を所定の時間間隔Δtで分割した各点における前記分割軌跡の曲率に応じて前記各点毎に該点における前記工具の加速度が前記最大加速度を超えないように求めた各軸方向の移動速度と、を軸制御データとして求める軸制御データ算出手段と、
前記軸制御データに従って、前記各分割軌跡上における始点の位置から各軸方向の移動速度を変えながら前記加工位置を前記分割軌跡に沿って該分割軌跡の終点である次の前記分割軌跡の始点の位置まで移動させるとともに、前記分割軌跡の終点における各軸方向の移動速度が次の前記分割軌跡の始点の位置の各軸方向の移動速度に一致するように各軸の移動速度を変化させるように前記加工機の駆動部に各分割軌跡の軸制御データを出力する出力手段と、を備え、
前記所定の時間間隔Δtで求めた各軸方向の移動速度が、前記分割軌跡上の接線方向に前記工具が移動するよう決められたものであり、前記駆動部が、前記軸制御データの前記所定の時間間隔Δtで求めた時間Tiにおける前記各軸方向の移動速度Viが次の時間Ti+1(=Ti+Δt)までに次の時間Ti+1(=Ti+Δt)における前記各軸方向の移動速度Vi+1になるように前記各軸方向の移動速度を変えるものであることを特徴とする加工制御装置。
A processing control device that controls a processing machine that moves a processing position in which a tool processes a workpiece in a plurality of axial directions,
Parameter storage means for storing the maximum acceleration as a parameter relating to the processing accuracy of the processing machine;
Tool trajectory storage means for storing the tool trajectory as a tool trajectory for machining the workpiece into a predetermined shape with a curve generated from a machining shape model;
Processing speed storage means for storing a specified processing speed at which the tool processes the workpiece;
A division trajectory calculating means for dividing the tool trajectory at a portion where the curvature of the tool trajectory is small and dividing the tool trajectory at a small interval as the curvature of the tool trajectory increases;
When machining the workpiece is moved on each divided path at the moving speed in accordance with the processing speed of the tool is the specified, and each axis position of the starting point on the dividing path, the divided trajectory a predetermined the moving speed of each axis direction acceleration of the tool in said each point the each point depending on the curvature of the divided track is determined so as not to exceed the maximum acceleration at each point divided by the time interval Delta] t, Axis control data calculation means for obtaining A as axis control data;
According to the axis control data , the machining position is changed along the division trajectory to the end point of the next division trajectory that is the end point of the division trajectory while changing the moving speed in the axial direction from the position of the start point on the division trajectory. The movement speed of each axis is changed so that the movement speed in the direction of each axis at the end point of the divided locus coincides with the movement speed in the direction of each axis at the position of the start point of the next divided locus. Output means for outputting the axis control data of each division trajectory to the drive unit of the processing machine,
The movement 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 division trajectory, and the driving unit is configured to perform the predetermined control of the axis control data. The movement speed Vi in each axis direction at the time Ti obtained at the time interval Δt is the movement in each axis direction at the next time Ti + 1 (= Ti + Δt) until the next time Ti + 1 (= Ti + Δt). A machining control device characterized in that the moving speed in each of the axial directions is changed so as to be a speed Vi + 1.
JP2006297358A 2006-11-01 2006-11-01 Processing control device Active JP4796936B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006297358A JP4796936B2 (en) 2006-11-01 2006-11-01 Processing control device
PCT/JP2007/001200 WO2008053601A1 (en) 2006-11-01 2007-11-01 Working control device, and its program
CN2007800407552A CN101563661B (en) 2006-11-01 2007-11-01 Working control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006297358A JP4796936B2 (en) 2006-11-01 2006-11-01 Processing control device

Publications (3)

Publication Number Publication Date
JP2008117032A JP2008117032A (en) 2008-05-22
JP2008117032A5 JP2008117032A5 (en) 2009-11-12
JP4796936B2 true JP4796936B2 (en) 2011-10-19

Family

ID=39343953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006297358A Active JP4796936B2 (en) 2006-11-01 2006-11-01 Processing control device

Country Status (3)

Country Link
JP (1) JP4796936B2 (en)
CN (1) CN101563661B (en)
WO (1) WO2008053601A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2124118B1 (en) * 2008-05-19 2011-04-06 Siemens Aktiengesellschaft Control device for controlling a machine tool by which tools can be driven
JP4940266B2 (en) * 2009-05-18 2012-05-30 株式会社ソディック Numerical control device and control program thereof
JP5331068B2 (en) * 2010-07-29 2013-10-30 新日本工機株式会社 Numerical controller
CN104298174B (en) * 2014-09-26 2017-02-01 成都乐创自动化技术股份有限公司 Method for detecting and comparing tracks on basis of PCIe
CN104570925B (en) * 2014-12-25 2017-11-14 北京数码大方科技股份有限公司 Identify teeth processing route generating method and device
JP6541259B2 (en) * 2015-08-19 2019-07-10 株式会社ソディック Machining data generation device and machining data generation program
JP7011064B2 (en) * 2017-12-06 2022-01-26 ディーピー テクノロジー コーポレーション Toolpath Virtualization and Optimization Systems, Methods and Equipment
JP6587763B1 (en) * 2019-01-22 2019-10-09 株式会社ソディック Computing device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60107106A (en) * 1983-11-15 1985-06-12 Mitsubishi Electric Corp Curve interpolation system
JPH0246207U (en) * 1988-09-27 1990-03-29
JPH0561528A (en) * 1991-08-30 1993-03-12 Makino Milling Mach Co Ltd Feed speed control method for numerical control
JPH08202425A (en) * 1995-01-26 1996-08-09 Fanuc Ltd Involute interpolation acceleration control system
JPH09160624A (en) * 1995-12-06 1997-06-20 Toyota Motor Corp Tool path determining method
JP2929996B2 (en) * 1996-03-29 1999-08-03 トヨタ自動車株式会社 Tool point sequence generation method
JPH1128641A (en) * 1997-07-08 1999-02-02 Asahi Glass Co Ltd Plate machining device
JP3236579B2 (en) * 1999-05-21 2001-12-10 三菱電機株式会社 Numerical control device and curve path interpolation method
JP2003076410A (en) * 2001-08-30 2003-03-14 Mitsubishi Electric Corp Speed control device, speed control method and program for carrying the method with computer
JP2003223208A (en) * 2002-01-29 2003-08-08 Mitsubishi Electric Corp Numerical control system
JP3951049B2 (en) * 2002-07-26 2007-08-01 オークマ株式会社 Machining time estimation method and apparatus
CN1214231C (en) * 2003-03-28 2005-08-10 中国科学院力学研究所 Measuring method of space three dimension freedom curve

Also Published As

Publication number Publication date
JP2008117032A (en) 2008-05-22
WO2008053601A1 (en) 2008-05-08
CN101563661B (en) 2012-10-31
CN101563661A (en) 2009-10-21

Similar Documents

Publication Publication Date Title
JP4847428B2 (en) Machining simulation apparatus and program thereof
JP4796936B2 (en) Processing control device
JP6457432B2 (en) Servo control device, control method and computer program for machine tool for rocking cutting
JP6646027B2 (en) Post-processor device, machining program generation method, CNC machining system, and machining program generation program
JP4802170B2 (en) Machining time calculation device and program thereof
JP6426662B2 (en) Numerical control device for skiving control
JP6740199B2 (en) Numerical control device, CNC machine tool, numerical control method, and numerical control program
CN102331744A (en) Numerical controller for machine tool with function of controlling speed of arc operation
US6539275B1 (en) Machine controller and process with two-step interpolation
CN105334805A (en) Numerical controller having corner path generation function in consideration of post-interpolation acceleration/deceleration
JP4995976B1 (en) Numerical control device that performs in-position check of rotating shaft
CN108873818B (en) Numerical controller
JP4940266B2 (en) Numerical control device and control program thereof
JP4900968B2 (en) Processing control device
EP0487738A1 (en) System for correcting quantity of deformation of tool
JP4982170B2 (en) Machining control device and machining control program
US6658317B2 (en) Method for setting a moving position in a machine tool
JP2007172325A (en) Method of machining free curve and numerical control device
WO2022138843A1 (en) Numerical control device
JP7355951B1 (en) Control device and computer readable recording medium
JP7175340B2 (en) Machine tools, information processing devices and information processing programs
WO2022185640A1 (en) Program, cl data editing device, and machine tool
JPH0474205A (en) Correction system for tool diameter
JP2021002194A (en) Numerical control apparatus, cnc machine tool, numerical control method, and numerical control program
CN115605815A (en) Machining path generating device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090929

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090929

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20090929

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20091126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100506

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101012

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110513

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4796936

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250