JPH03161241A - Nc cutting device - Google Patents

Nc cutting device

Info

Publication number
JPH03161241A
JPH03161241A JP30100789A JP30100789A JPH03161241A JP H03161241 A JPH03161241 A JP H03161241A JP 30100789 A JP30100789 A JP 30100789A JP 30100789 A JP30100789 A JP 30100789A JP H03161241 A JPH03161241 A JP H03161241A
Authority
JP
Japan
Prior art keywords
tool
cutting
load
value
override
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP30100789A
Other languages
Japanese (ja)
Other versions
JPH0794103B2 (en
Inventor
Tetsuo Kato
哲生 加藤
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.)
Mitsubishi Motors Corp
Original Assignee
Mitsubishi Motors Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Motors Corp filed Critical Mitsubishi Motors Corp
Priority to JP30100789A priority Critical patent/JPH0794103B2/en
Publication of JPH03161241A publication Critical patent/JPH03161241A/en
Publication of JPH0794103B2 publication Critical patent/JPH0794103B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To reduce operator's load of manual operation and previously prevent breakage trouble of a tool by modifying a tool feed speed indicated by numerical control data according to an override quantity computed with an override computing device, and relatively moving the cutting tool at this modified tool feed speed. CONSTITUTION:A plurality of driving motors 11, 15, 17, 18 for X-axis, Y-axis, Z-axis, and a main spindle to rotate and move a cutting tool 20 in the multi-axis direction are provided. Cutting load of the cutting tool 20 is detected with motor load sensors of X-axis, Y-axis, Z-axis, and a main spindle 41-44, from the addition sum of current load of at least two or more of these driving motors 11, 15, 17, 18. An override quantity is computed with an override computing device 32 according to the tool cutting load detected with these load sensors 41-44. Nextly, NC computing device 30 modifies the tool feed speed indicated by numerical control data according to the override quantity computed with the override computing device 32, and relatively moves the cutting tool 20 at this modified tool feed speed.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、NC切削装置に関し、特に、NC型彫機等
に好適に適用され、オーバライド機能を有する切削装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an NC cutting device, and particularly to a cutting device that is suitably applied to an NC die-sinking machine and has an override function.

(従来の技術) 例えば、自動車のドアパネルやフエンダパネル等の外板
はプレス加工され、このプレス加工には、形状変化に富
んだプレス金型が必要となる。プレス金形は、NC型彫
機を使用して鋳物型を荒加工し、曲面形状が付与された
後、型用モデルを基準に細部の仕上げがなされる。
(Prior Art) For example, the outer panels of automobiles, such as door panels and fender panels, are press-formed, and this press-forming requires a press mold that has a wide variety of shapes. For press molds, a casting mold is roughly machined using an NC die carving machine to give it a curved shape, and then detailed finishing is done based on the mold model.

NC型彫機による荒加工は、予め記憶されているNCデ
ータに従い、スピンドルに取り付けたポールエンドミル
をワークに対し相対的にX, Y,Z等の方向(多軸方
向)に所要の速度で所要量だけ順次移動させると共に、
スピンドルの回転速度が制御されて所要の形状に戊形さ
れる。そして、x,y,z方向の工具送り速度や、スピ
ンドルの回転速度は、工具折損や切削時間の短縮等を考
慮して最適値に設定される。
Rough machining with an NC die-sinking machine involves moving a pole end mill attached to a spindle in X, Y, Z, etc. directions (multi-axis directions) relative to the workpiece at the required speed according to pre-stored NC data. While sequentially moving the amount,
The rotational speed of the spindle is controlled to form the desired shape. The tool feed speed in the x, y, and z directions and the spindle rotation speed are set to optimal values in consideration of tool breakage, cutting time reduction, and the like.

(発明が解決すべき課題) 従来のNC型彫機による荒加工においては、鋳造時の製
造誤差に起因して、個々のワークの外形寸法を正確に把
握することが困難であり、ワークの外形寸法を正確に把
握できない場合に、数値制御データにより指定される切
削条件で切削すると、予め設定された最適切込み量や切
込み幅から大きく逸脱して工具に大きな負荷が掛かり、
工具の折損事故が生じる等の問題があった。そのため、
荒加工における切削開始時や荒加工初期段階においては
、作業者が工具の送り量や送り速度を手操作により調整
する必要があり、作業者の負担が大きく、又、作業者の
経験や熟練が必要であった。更に、急激な形状変化によ
る工具負荷の急変を避けるために、工具の送り速度を大
きく設定することが出来ず、加工に時間が掛かるという
問題もあった。
(Problem to be solved by the invention) In rough machining using a conventional NC die-sinking machine, it is difficult to accurately grasp the external dimensions of each workpiece due to manufacturing errors during casting, and the external dimensions of the workpiece If the dimensions cannot be accurately determined and cutting is performed using the cutting conditions specified by numerical control data, the tool will deviate significantly from the optimum depth of cut and width of cut, placing a large load on the tool.
There were problems such as tool breakage accidents. Therefore,
At the start of cutting or at the initial stage of rough machining, the operator must manually adjust the feed rate and feed rate of the tool, which places a heavy burden on the operator and requires less experience and skill. It was necessary. Furthermore, in order to avoid a sudden change in the tool load due to a sudden change in shape, the feed rate of the tool cannot be set high, resulting in the problem that machining takes time.

本発明は、このような課題を解決するためになされたも
ので、被削材の外形形状が充分に把握されていない場合
であっても、切削工具の切削負荷を正確に検出して工具
送り速度を最適値に常時調節し、工具折損事故を未然に
防止し、もって加工時間の短縮を図ったNC切削装置を
提供することを目的とする。
The present invention was made to solve these problems, and even when the external shape of the workpiece is not fully understood, the cutting load on the cutting tool can be accurately detected and the tool can be fed. It is an object of the present invention to provide an NC cutting device that constantly adjusts the speed to an optimal value, prevents tool breakage accidents, and thereby shortens machining time.

(課題を解決する手段) 上述の目的を達成するために本発明に依れば、外部デー
タ読込装置からNC演算装置に読み込まれた数値制御デ
ータに基づき、切削工具を、被切削物に対して相対的に
、多軸方向の所要の位置に、所要の速度で順次移動させ
、被切削物を所要の形状に切削するNC切削装置におい
て、前記切削工具を、回転を含む多軸方向に移動させる
複数の駆動電動機と、これらの複数の駆動電動機の内の
、少なくとも2以上の電流負荷の加算和から前記切削工
具の切削負荷を検出する負荷センサと、該負荷センサが
検出した工具切削負荷に応じてオーバライド量を演算す
るオーバライド演算装置とを備え、前記NC演算装置は
、オーバライド演算装置が演算するオーバライド量に応
じて前記数値制御データが指定する工具送り速度を修正
し、この修正した工具送り速度で前記切削工具を相対移
動させることを特徴とするNC切削装置が提供される。
(Means for Solving the Problems) In order to achieve the above-mentioned object, according to the present invention, the cutting tool is moved against the workpiece based on the numerical control data read into the NC calculation device from the external data reading device. In an NC cutting device that cuts a workpiece into a desired shape by sequentially moving the cutting tool to required positions in multiple axial directions at a required speed, the cutting tool is moved in multiple axial directions including rotation. a plurality of drive motors; a load sensor that detects the cutting load of the cutting tool from the sum of current loads of at least two of the plurality of drive motors; an override calculation device that calculates an override amount based on the override calculation device; There is provided an NC cutting device characterized in that the cutting tool is moved relative to each other.

好ましくは、基準電動機を定め、前記複数の駆動電動機
の、少なくとも一つから検出される電流負荷は、前記基
準電動機の電流負荷に換算し、この換算した電流負荷を
用いて前記電流負荷の加算和を求めることが望ましい。
Preferably, a reference motor is determined, and the current load detected from at least one of the plurality of drive motors is converted to the current load of the reference motor, and the converted current load is used to calculate the sum of the current loads. It is desirable to seek

(作用) オーバライド演算装置は、工具切削負荷に応じて、工具
送り速度適正化のためのオーバライド量を常時演算して
おり、NC演算装置が、このオーバライド量に応じ、数
値制御データが指定する工具送り速度を修正することに
より、工具切削負荷の急変に自動的に対処することが可
能になる。このとき、負荷センサは、複数の駆動電動機
の内の、少なくとも2以上の電流負荷の加算和から切削
工具の切削負荷を検出しており、個々の駆動電動機の電
流負荷から切削負荷を求めるより外乱を排除し、検出精
度の上で有利となる。
(Function) The override calculation device constantly calculates the override amount for optimizing the tool feed rate according to the tool cutting load. By modifying the feed rate, it is possible to automatically cope with sudden changes in the tool cutting load. At this time, the load sensor detects the cutting load of the cutting tool from the sum of the current loads of at least two of the plurality of drive motors. This is advantageous in terms of detection accuracy.

(実施例) 以下本発明の一実施例を図面に基づいて詳細に説明する
。尚、本発明は種々のNC切削装置に適用可能であるが
、この実施例では、ボールエンドミルによりプレス金型
を荒加工するNC型彫機に適用したものを例に説明する
(Example) An example of the present invention will be described in detail below based on the drawings. Although the present invention is applicable to various NC cutting devices, in this embodiment, an example in which the present invention is applied to an NC die carving machine for rough machining a press die using a ball end mill will be described.

旦旦皿彪量史構瓜 先ず、第1図を参照してNC型彫機1の概略構戊を示す
。NC型彫機lのテーブルIOは、ワークWを載置固定
し、X軸モータ(サーポモータ)11によりX軸方向に
移動可能である。左右のコラムl2には、クロスビーム
14が架け渡され、このクロスビームl4は、Z軸モー
タ(サーポモータ)15により、X軸方向に直交する上
下方向(Z軸方向)に移動可能である。クロスビームl
4には主軸ヘッドl6が取り付けられ、この主軸ヘッド
l6は、Y軸モータ(サーポモータ)17によりクロス
ビームl4の長手方向、即ち、X軸及び・Z軸に直交す
る方向(Y軸方向)に沿って移動可能である。
First, the general structure of the NC die carving machine 1 is shown with reference to FIG. The table IO of the NC die carving machine 1 places and fixes the workpiece W, and is movable in the X-axis direction by an X-axis motor (servo motor) 11. A cross beam 14 spans the left and right columns l2, and this cross beam l4 is movable in the vertical direction (Z-axis direction) perpendicular to the X-axis direction by a Z-axis motor (servo motor) 15. cross beam l
4 is attached with a spindle head l6, and this spindle head l6 is driven by a Y-axis motor (servo motor) 17 along the longitudinal direction of the cross beam l4, that is, the direction perpendicular to the X-axis and the Z-axis (Y-axis direction). It is possible to move.

主軸ヘッドl6には、主軸モータl8によって回転駆動
される主軸(図示せず)がZ軸方向に回転自在に軸支さ
れ、主軸にはカッタ(ポールエンドミル)20が取り付
けられている。そして、主軸ヘッドl6の下端面のカッ
タ20近傍には、カッタ20の切削時に発生する振動音
を検出するAEセンサ40が取り付けられている。この
AEセンサ40は入力装置34を介して後述する速度制
御装置32に電気的に接続されて、検出信号をこの速度
制御装置32に供給する。
A main shaft (not shown) rotatably driven by a main shaft motor 18 is rotatably supported in the main shaft head l6 in the Z-axis direction, and a cutter (pole end mill) 20 is attached to the main shaft. An AE sensor 40 is attached near the cutter 20 on the lower end surface of the spindle head l6 to detect vibration noise generated when the cutter 20 cuts. The AE sensor 40 is electrically connected to a speed control device 32 (described later) via an input device 34, and supplies a detection signal to the speed control device 32.

忽理装豆Q構底 型彫機1の作動制御は、NC制御装置30、前述した速
度制御装置32、入力装置34、NCデータ読取装置3
6、マニアル操作盤39等によって行なわれる。入力装
置34の入力側には前述のAEセンサ40の他に、前述
した各モータの負荷(電売値)を検出するX軸モータ負
荷センサ4l、Y軸モータ負荷センサ42、Z軸モータ
負荷センサ43、主軸モータ負荷センサ44がそれぞれ
接続され、これらの負荷センサは各モータの負荷検出信
号を入力装置34を介して速度制御装置32に供給する
。入力装置34は、増幅回路、フィルタ回路、A/D変
換回路等により構成されている。
The operation of the Risou Bean Q structure bottom carving machine 1 is controlled by an NC control device 30, the aforementioned speed control device 32, an input device 34, and an NC data reading device 3.
6. This is performed using the manual operation panel 39 or the like. On the input side of the input device 34, in addition to the above-mentioned AE sensor 40, there are an X-axis motor load sensor 4l, a Y-axis motor load sensor 42, and a Z-axis motor load sensor 43 that detect the load (electricity sales price) of each motor mentioned above. , and main shaft motor load sensors 44 are connected to each of the motors, and these load sensors supply load detection signals of each motor to the speed control device 32 via the input device 34. The input device 34 includes an amplifier circuit, a filter circuit, an A/D conversion circuit, and the like.

NCデータ読取装置36は、NCテープ等により外部か
らNCデータ(数値制御データ)を読み取り、これをN
C制御装置30のNC演算部30a及び速度制御装置3
2に供給する。速度制御装置32の出力側は切換スイッ
チ38を介してNC制御装置30の演算部30aに接続
されている。速度制御装置32は、後述するようにオー
バライド量演算プログラムを有しており、この演算プロ
グラムにより、NCデータが指定する位置・速度指令値
、工具径、被削材の種類による工具送り速度、及び各サ
ーボモー夕の電流データと、前述の負荷センサ4l〜4
4が検出する各モータの負荷とから、カッタ20の工具
送り速度が、目標速度(この場合、X, Y,  Z軸
方向の送り速度及び主軸の回転速度が含まれる)になる
ように、オーバライド量を演算してこれをNC演算部3
0aに供給する。
The NC data reading device 36 reads NC data (numerical control data) from the outside using an NC tape or the like, and reads the NC data from the outside.
NC calculation section 30a of C control device 30 and speed control device 3
Supply to 2. The output side of the speed control device 32 is connected to the calculation section 30a of the NC control device 30 via a changeover switch 38. The speed control device 32 has an override amount calculation program as described later, and this calculation program calculates the position/speed command value specified by the NC data, the tool diameter, the tool feed rate depending on the type of workpiece material, and Current data of each servo motor and the load sensors 4l to 4 mentioned above
Based on the load of each motor detected by 4, override is performed so that the tool feed speed of the cutter 20 reaches the target speed (in this case, the feed speed in the X, Y, and Z axis directions and the rotation speed of the main shaft are included). Calculate the amount and send it to the NC calculation unit 3
Supply to 0a.

切換スイッチ38の入力側にはマニアル操作盤39が接
続され、マニアル操作盤39の盤面の操作キー(図示せ
ず)を操作することによりオーバライド量を設定し、こ
れをマニアル操作盤39側に切り換えられた切換スイッ
チ38を介してNC演算部30aに供給する。切換スイ
ッチ38の切り換えは、通常マニアル操作盤39の特定
のキー操作により切り換えられると共に、速度制御装置
32やNC演算部30aからの切換指令によっても切り
換えられる。また、マニアル操作盤39の出力側は速度
制御装置32にも接続され、マニアル操作盤39から作
業者によってイップットされる作業指令信号を速度制御
装置32にも供給できるようになっている。
A manual operation panel 39 is connected to the input side of the changeover switch 38, and an override amount is set by operating an operation key (not shown) on the surface of the manual operation panel 39, and this is switched to the manual operation panel 39 side. The signal is supplied to the NC calculation unit 30a via the selected changeover switch 38. The switching of the changeover switch 38 is normally performed by operating a specific key on the manual operation panel 39, and also by a switching command from the speed control device 32 or the NC calculation unit 30a. The output side of the manual operation panel 39 is also connected to the speed control device 32, so that a work command signal inputted by the operator from the manual operation panel 39 can also be supplied to the speed control device 32.

NC演算部30aは、詳細は後述するように、NCデー
タ読取装置36からのNCデータにより指定される、カ
ッタ20の移動位置、工具送り速度、並びに速度制御装
置32が出力するオーバライド量あるいはマニアル操作
盤39が出力するオーバライド量を基に、各軸モータl
 1,  I 5, 17.18の駆動量を演算し、演
算した駆動量に応じた制御信号をサーポモータ駆動制御
部30bに供給する。サーボモータ駆動制御部30bは
、制御信号に応じて各軸モータ11,15,IT,18
を駆動する。
As will be described in detail later, the NC calculation unit 30a calculates the moving position of the cutter 20, the tool feed speed specified by the NC data from the NC data reading device 36, and the override amount or manual operation output by the speed control device 32. Based on the override amount output by the panel 39, each axis motor l
1, I5, and 17.18 are calculated, and a control signal corresponding to the calculated driving amount is supplied to the servo motor drive control section 30b. The servo motor drive control unit 30b controls each axis motor 11, 15, IT, 18 according to the control signal.
to drive.

速   装 によるオーバライド量の生或次に、速度制
御装置32によりオーバライド量を自動生成する手順を
、第2A図ないし第2G図を参照して説明する。
Generation of Override Amount by Speed Control Next, a procedure for automatically generating an override amount by the speed control device 32 will be explained with reference to FIGS. 2A to 2G.

速度制御装置32は、先ず、ステップS10において、
各種の制御変数、定数、等の記憶値のイニシャライズ(
初期化)を行なう。これらの記憶値には、工具刃長、工
具径、彼削材の種類、各軸モータの電流データ、種々の
判別値等が含まれる。
First, the speed control device 32, in step S10,
Initialization of memory values of various control variables, constants, etc.
initialization). These stored values include the tool blade length, tool diameter, type of cutting material, current data for each axis motor, various discrimination values, and the like.

又、レジスタのクリアもこのステップで行なわれ次に、
ステップS12に進み、運転条件入力ルーチンが実行さ
れ、NCデータ読取装置36から型彫機lの運転条件を
入力する。そして、各負荷センサからの入力信号の有無
を判別し(ステップSl4)、どのセンサからも人力信
号がなければ、ステップS15を実行してステップSl
2に戻る。
Also, the registers are cleared in this step, and then
Proceeding to step S12, an operating condition input routine is executed, and operating conditions of the die engraving machine 1 are input from the NC data reading device 36. Then, it is determined whether there is an input signal from each load sensor (step Sl4), and if there is no human input signal from any sensor, step S15 is executed and step Sl
Return to 2.

前述のステップS15では、オーバライド量KORを1
00%に設定し、これをNC演算部30aに出力する。
In step S15 described above, the override amount KOR is set to 1.
00% and outputs this to the NC calculation section 30a.

このオーバライド量l00%の信号は、NC演算部30
aにおいて、NCデータにより演算された工具送り速度
VTLになんら修正を加えずに、各モータを駆動するこ
とを意味する。尚、オーバライド量KORがl00%以
下の値に設定されることは、送り速度VTLを、送り速
度VTLにオーバライド量KORを掛け合わせた値(V
TLXKOR÷100)に修正して減速させることを意
味する。例えば、オーバライド量50%は、NCデータ
で指定される送り速度の50%に減速し、オーバライド
量0%の場合には、送り速度を0%、即ち、停止させる
ことを意味する。逆に、オーバライド量が100%を超
える値の場合には、送り速度をその値に修正して加速さ
せることを意味する。
This override amount l00% signal is sent to the NC calculation unit 30.
In a, it means that each motor is driven without making any correction to the tool feed speed VTL calculated by NC data. Note that setting the override amount KOR to a value of 100% or less means that the feed speed VTL is set to the value (V
TLXKOR÷100). For example, an override amount of 50% means deceleration to 50% of the feed speed specified by the NC data, and an override amount of 0% means that the feed speed is 0%, that is, stopped. Conversely, if the override amount exceeds 100%, it means that the feed rate is corrected to that value and accelerated.

負荷センサからの入力がある場合には、ステップSl6
に進み、AE信号入力ルーチンが実行され、AEセンサ
40からのAE信号を取り込む。
If there is input from the load sensor, step Sl6
Then, the AE signal input routine is executed and the AE signal from the AE sensor 40 is taken in.

AE信号入力ルーチンでは、AEセンサ40から出力さ
れる信号を増幅、フィルタリング等が行なわれる。そし
て、AE信号の有無を判別、即ち、カッタ20による切
削が開始されたか否かを判別する(ステップ818)。
In the AE signal input routine, the signal output from the AE sensor 40 is amplified, filtered, etc. Then, the presence or absence of the AE signal is determined, that is, it is determined whether cutting by the cutter 20 has started (step 818).

この判別は、ステップ816で読み込んだAE信号が所
定の閾値より大であるか否かにより行なわれる。
This determination is made based on whether the AE signal read in step 816 is greater than a predetermined threshold.

ステップ318において、AE信号が検出されなかった
場合、ステップ820に進み、切削フラグCFLが値l
であるか否かを判別する。この切削フラグCFLは、前
回ループで切削を行っていたことを記憶するためのプロ
グラム制御変数であり、この切削フラグCFLが値lで
ある場合には値Oにリセットし(ステップS22)、レ
ジスタをクリアして(ステップS24)、前述のステッ
プSl5を経由してステップS12に戻る。一方、切削
フラグCFLが値lでない場合にはそのままステップS
15を経由してステップS12に戻る。
If the AE signal is not detected in step 318, the process proceeds to step 820, where the cutting flag CFL is set to the value l.
Determine whether or not. This cutting flag CFL is a program control variable for remembering that cutting was performed in the previous loop, and if this cutting flag CFL is the value l, it is reset to the value O (step S22) and the register is It is cleared (step S24), and the process returns to step S12 via the aforementioned step Sl5. On the other hand, if the cutting flag CFL is not the value l, then step S
The process returns to step S12 via step S15.

四皿園垣豊凶魁興 前回ループで切削が行われておらず、今回ループでAE
信号を検出して切削が開始されたことを検出した場合、
即ち、ステップSl8において、AE信号を検出した場
合、ステップS26に進む。
Cutting was not done in the previous loop, and AE was not performed in this loop.
If a signal is detected to indicate that cutting has started,
That is, if the AE signal is detected in step Sl8, the process advances to step S26.

この切削開始が検出されるのは、加工開始時の場合もあ
るし、断続的な切削が繰り返され、ワークの非切削部か
ら切削部に移行した時点の場合もある。
The start of cutting may be detected at the start of machining, or at the time when intermittent cutting is repeated and the workpiece transitions from a non-cutting section to a cutting section.

ステップ326では、AE信号により工具異常が発生し
たか否かを判別する。AEセンサ40は、工具に異常な
負荷が掛かった場合や工具が折損した場合に発生する異
常振動信号や異常音響信号を検出することができ、AE
信号に異常がなければ、第2B図のステップS30に進
む。
In step 326, it is determined based on the AE signal whether or not a tool abnormality has occurred. The AE sensor 40 can detect abnormal vibration signals and abnormal acoustic signals that occur when an abnormal load is applied to the tool or when the tool breaks.
If there is no abnormality in the signal, the process advances to step S30 in FIG. 2B.

ステップS30では、切削フラグCFLがセット(CF
L=1)されているか否かを判別する。
In step S30, the cutting flag CFL is set (CF
L=1).

切削開始時(第4図の10時点)にはこの判別は否定で
あるから、ステップ832に進み、切削開始減速処理ル
ーチンが実行される。
Since this determination is negative at the start of cutting (time point 10 in FIG. 4), the process proceeds to step 832, where a cutting start deceleration processing routine is executed.

第3図は、切削開始減速処理ルーチンのフローチャート
を示し、速度制御装置32はオーバライド量KORを所
定値Xinに設定してこれをNC演算部30aに出力す
る(ステップS321)。そして、ステップS322に
進みで所定時間Tinの経過を待ち(第4図(b)参照
)、当該ルーチンを終了する。尚、オーバライド量KO
Rを入力したNC演算部30aは、NCデータの指令に
より設定した工具送り速度VTLにオーバライド量KO
Rを乗算し、修正した値(VTLX KOR+ 100
 )を制御信号として、これを所定期間Tinに亘って
駆動制御部30bに供給することになる(第4図(b)
のto時点からtl時点間の期間参照)。
FIG. 3 shows a flowchart of the cutting start deceleration processing routine, in which the speed control device 32 sets the override amount KOR to a predetermined value Xin and outputs it to the NC calculation unit 30a (step S321). Then, the process advances to step S322, waits for the predetermined time Tin to elapse (see FIG. 4(b)), and ends the routine. In addition, override amount KO
The NC calculation unit 30a that receives R inputs an override amount KO to the tool feed speed VTL set by the NC data command.
Multiply R and corrected value (VTLX KOR + 100
) as a control signal, which is supplied to the drive control section 30b over a predetermined period Tin (see FIG. 4(b)).
(see the period between time to and time tl).

このように、切削開始減速処理ルーチンでは、AEせ4
0によりカッタ20がワークに接触して切削開始を検出
すると工具送り速度を一旦減速して所定期間Tinに亘
りその値に保持するのである。
In this way, in the cutting start deceleration processing routine, the AE
0, when the cutter 20 comes into contact with the workpiece and the start of cutting is detected, the tool feed rate is once decelerated and held at that value for a predetermined period of time Tin.

次に、第2B図のステップS34に進み、速度制御装置
32は、減速させた工具送り速度を元の指令速度VTL
に戻すに必要な立上げ量HX(%)を次式(AI)によ
り演算し、これを記憶しておく。
Next, the process proceeds to step S34 in FIG. 2B, where the speed control device 32 changes the decelerated tool feed speed to the original command speed VTL.
The amount of rise HX (%) required to return to the current value is calculated using the following formula (AI), and this is stored.

HX = 1 0 0 −KOR      −・・・
・・(Al)そして、ステップS36及び838におい
て、後述する減速フラグDFL及び切削フラグCFLを
値lにセットして、ステップS12に戻る。
HX = 1 0 0 - KOR -...
(Al) Then, in steps S36 and 838, a deceleration flag DFL and a cutting flag CFL, which will be described later, are set to the value 1, and the process returns to step S12.

ワークWの正常な切削が開始されると、前述のステップ
S12,818,S26等が順次実行され、ステップ8
30における判別結果が、今度は肯定となり、後続のス
テップ840〜349が順次実行され、工具切削負荷T
Aが検出される。この工具切削負荷TAの検出方法につ
いての詳細は後述する。そして、ステップS50におい
て、工具切削負荷TAを所定判別値X MAXと比較す
ることにより過大な負荷がカッタ20に掛かっていない
ことを確認した後、第2D図のステップS52に進む。
When normal cutting of the workpiece W is started, steps S12, 818, S26, etc. described above are sequentially executed, and step 8
The determination result in step 30 is now positive, and the subsequent steps 840 to 349 are sequentially executed, and the tool cutting load T
A is detected. Details of the method for detecting this tool cutting load TA will be described later. Then, in step S50, after confirming that no excessive load is applied to the cutter 20 by comparing the tool cutting load TA with a predetermined determination value XMAX, the process proceeds to step S52 in FIG. 2D.

ステップS52では、工具切削負荷TAが所定の基準値
Xstより大であるか否かが判別され、判別結果が肯定
の場合には後述する減速演算処理が実行される。一方、
ステップS52の判別結果が否定の場合には、ステップ
S54に進み、工具切削負荷TAが所定の基準値Xst
より小であるか否かが判別される。そして、この判別結
果が肯定の場合には前述した減速フラグDFLが値lで
あるか否かを判別する(ステップ856)。このフラグ
DFLは、前述した切削開始減速処理ルーチンの実行に
より値lに設定されており、切削開始減速処理が実行さ
れた直後ではこの判別結果は肯定となり、後述のステッ
プS84に進み、減速処理後の復帰処理が実行される。
In step S52, it is determined whether the tool cutting load TA is greater than a predetermined reference value Xst, and if the determination result is affirmative, a deceleration calculation process to be described later is executed. on the other hand,
If the determination result in step S52 is negative, the process proceeds to step S54, where the tool cutting load TA is set to a predetermined reference value Xst.
It is determined whether or not it is smaller than that. If the result of this determination is affirmative, it is determined whether the deceleration flag DFL described above is the value 1 (step 856). This flag DFL is set to the value l by executing the cutting start deceleration processing routine described above, and immediately after the cutting start deceleration processing is executed, this determination result becomes affirmative, and the process proceeds to step S84, which will be described later. The recovery process is executed.

尚、減速フラグDFLが値lにセットされていなければ
、ステップS56の判別結果は否定となり、ステップS
70に進んで、後述の加速演算処理ルーチンが実施され
る。
Note that if the deceleration flag DFL is not set to the value l, the determination result in step S56 is negative, and step S
Proceeding to 70, an acceleration calculation processing routine to be described later is executed.

一方、ステップS54の判別結果が否定の場合、即ち、
工具切削負荷TAが所定の基準値Xstと等しく、減速
演算処理でもなく加速演算処理でもない場合、ステップ
858に進み、このステップにおいても減速フラグDF
Lが値lであるか否かが判別される。そして、減速フラ
グDFLが値lに設定されている場合には、ステップS
84に進んで減速処理後の復帰処理が実行され、値lに
設定されていなければ、ステップS80に進み、後述す
る速度維持処理が実行される。
On the other hand, if the determination result in step S54 is negative, that is,
If the tool cutting load TA is equal to the predetermined reference value Xst and neither deceleration calculation processing nor acceleration calculation processing is performed, the process advances to step 858, and the deceleration flag DF is also set in this step.
It is determined whether L is the value l. Then, if the deceleration flag DFL is set to the value l, step S
The process advances to step S84, where a return process after the deceleration process is executed, and if the value l has not been set, the process proceeds to step S80, where a speed maintenance process, which will be described later, is executed.

このように、切削開始減速処理ルーチンが実行された直
後では、工具切削負荷TAが所定の基準値Xstより大
で切削速度を減速すべき場合には、この減速処理が優先
されるが、工具切削負荷TAが所定の基準値Xstより
小、ないしは等しく、加速演算処理ないしは速度維持処
理を実行すべき場合であっても、減速フラグDFLのセ
ットにより、これらの処理が無視されて、後述するステ
ップS84以降の復帰処理が優先して実行されることに
なる。
In this way, immediately after the cutting start deceleration processing routine is executed, if the tool cutting load TA is greater than the predetermined reference value Xst and the cutting speed should be reduced, this deceleration processing is given priority, but the tool cutting Even if the load TA is smaller than or equal to the predetermined reference value Xst and acceleration calculation processing or speed maintenance processing should be executed, these processing will be ignored by setting the deceleration flag DFL, and the process will be ignored in step S84, which will be described later. Subsequent return processing will be executed with priority.

尚、減速フラグDFLが値1にセットされるのは、上述
した切削開始減速処理ルーチンの他に、後述する減速演
算処理ルーチンの実行直後にもセツトされ、このような
場合にも後述のステップS84に進んで、復帰処理が実
行される。
It should be noted that the deceleration flag DFL is set to the value 1 not only in the cutting start deceleration processing routine described above but also immediately after the deceleration calculation processing routine described later is executed, and in such a case also in step S84 described below. Then, the recovery process is executed.

復帰処理のステップS84では、立上げ量HXがOであ
るか否か、即ち、前回ループにおいて設定されたオーバ
ライド量KORが既に100%に復帰しているか否かを
判別する。切削開始減速処理が実行された直後(第4図
のto時点直後)では、この立上げ量HXは0でないか
ら、ステップS85が実行され、立上げ量HXが所定値
XHX(例えば、40%)より大であるか否かが判別さ
れる。切削開始減速処理が実行された直後では、この判
別結果は肯定の筈であり、ステップS86の立上げ処理
が実行される。
In step S84 of the return process, it is determined whether the start-up amount HX is O, that is, whether the override amount KOR set in the previous loop has already returned to 100%. Immediately after the cutting start deceleration process is executed (immediately after time 0 in FIG. 4), this start-up amount HX is not 0, so step S85 is executed, and the start-up amount HX is set to a predetermined value XHX (for example, 40%). It is determined whether or not the value is larger than that. Immediately after the cutting start deceleration process is executed, this determination result should be affirmative, and the start-up process of step S86 is executed.

第5図は、10%立上げ処理ルーチンのフローチャート
を示し、先ず、ダウンカウンタが計数するカウント値N
UPがOであるか否かを判別する(ステップ8860)
。このダウンカウンタは、セットないしはリセットされ
ると、カウント値が初期値に戻され、所定時間毎にカウ
ント値を、その値が0になるまで減じていくものであり
、所定時間TUP(第4図(b)参照)を計時するタイ
マである。
FIG. 5 shows a flowchart of the 10% start-up processing routine. First, the count value N counted by the down counter is
Determine whether UP is O (step 8860)
. When this down counter is set or reset, the count value is returned to the initial value, and the count value is decremented at predetermined time intervals until the value becomes 0. This is a timer that measures the time (see (b)).

切削開始減速処理ルーチンが実行された直後、この10
%立上げ処理ルーチンが実行された場合には、ダウンカ
ウンタのカウント値NUPはOである筈であり、ステッ
プ8860の判別結果は肯定となり、ステップ8861
に進む。
Immediately after the cutting start deceleration processing routine is executed, this 10
When the % startup processing routine is executed, the count value NUP of the down counter should be O, and the determination result in step 8860 is affirmative, and step 8861 is executed.
Proceed to.

ステップ8861では、前回設定したオーバライド量K
OHに第1の所定値ΔKl(例えば、10%)が加算さ
れ、この加算値を新たなオーバライド量KOR(=KO
R+ΔKl)として記憶する。そして、前述の式(Al
)により立上げ量HXを演算し(ステップS862)、
ダウンカウンタをセットして当該ルーチンを終了する(
ステップ8863)。
In step 8861, the previously set override amount K
A first predetermined value ΔKl (for example, 10%) is added to OH, and this added value is converted to a new override amount KOR (=KO
R+ΔKl). Then, the above formula (Al
) to calculate the rise amount HX (step S862),
Set the down counter and end the routine (
Step 8863).

このルーチンは、復帰処理が実行され、前述のステップ
S85の判別結果が肯定である限り繰り返し実行される
。そして、ステップ8860の判別結果が肯定になるま
で、即ち、ダウンカウンタが初期値にセットされ、カウ
ントダウンし終え、所定時間TUPが経過する迄は、同
じオーバライド量KORが保持され、所定時間TUPが
経過する毎にオーバライド量KORはその値を所定値Δ
Kl宛増加させると共に、立上げ量HXを所定値ΔKl
宛減少させていく(第4図(b)のtl時点からt2時
点間)。
This routine is repeatedly executed as long as the return process is executed and the determination result in step S85 is affirmative. Then, the same override amount KOR is maintained until the determination result in step 8860 becomes affirmative, that is, until the down counter is set to the initial value and finishes counting down, and the predetermined time TUP has elapsed. Each time, the override amount KOR changes its value to a predetermined value Δ
Kl, and the start-up amount HX is increased to a predetermined value ΔKl.
(from time t1 to time t2 in FIG. 4(b)).

立上げ量HXが所定値XHX以下になると、ステップS
85の判別結果が否定となり、ステップS87に進み、
今度は20%立上げ処理ルーチンが実行される。
When the start-up amount HX becomes less than the predetermined value XHX, step S
The determination result of 85 is negative, and the process advances to step S87.
This time, the 20% startup processing routine is executed.

第6図は、20%立上げ処理ルーチンのフローチャート
を示し、先ず、ダウンカウンタが計数するカウント値N
UPが0であるか否かを判別する(ステップS 8 7
 0)。このダウンカウンタは、前述の10%立上げ処
理ルーチンで使用したものと同じダウンカウンタを用い
てもよいし、初期値が異なる値に設定される、即ち、計
時時間の異なる別のダウンカウンタを使用してもよい。
FIG. 6 shows a flowchart of the 20% start-up processing routine. First, the count value N counted by the down counter is
Determine whether UP is 0 (step S87
0). This down counter may be the same as that used in the 10% start-up processing routine described above, or it may be a different down counter whose initial value is set to a different value, that is, whose clock time is different. You may.

そして、カウント値NUPがOでなければ、オーバライ
ド量KORおよび立上げ量HXに変更を加えずに当該ル
ーチンを終了するが、所定時間TUPが経過してカウン
ト値NuPが0になると、即ち、所定時間TLIPの経
過毎に次ステップS871以降の各ステップが実行され
る。
Then, if the count value NUP is not O, the routine ends without changing the override amount KOR and the start-up amount HX, but when the predetermined time TUP has elapsed and the count value NuP becomes 0, Each step after the next step S871 is executed every time the time TLIP elapses.

ステップS871では、前回設定したオーバライド量K
OHに、前述の第1の所定値ΔK 1 (IOX)より
大きい値に設定されている第2の所定値ΔK2(例えば
、20%)が加算され、この加算値を新たなオーバライ
ド量KOR(=KOR+ΔK2)として記憶する。そし
て、新たに設定したオーバライド量KORが100%以
下であるか否かを判別し、以下であればそのままステッ
プS874に進むが、100%より大であれば、オーバ
ライド量KORを100%に設定し直して(ステップS
 8 7 3)、ステップS874に進む。即ち、この
20%立上げ処理ルーチンにおいて、オーバライド量K
ORが100%より大きい値に設定されることはない。
In step S871, the previously set override amount K
A second predetermined value ΔK2 (for example, 20%) that is set to a value larger than the first predetermined value ΔK 1 (IOX) described above is added to OH, and this added value is used as a new override amount KOR (= KOR+ΔK2). Then, it is determined whether the newly set override amount KOR is less than or equal to 100%, and if it is less than or equal to 100%, the process directly proceeds to step S874, but if it is greater than 100%, the override amount KOR is set to 100%. Fix it (Step S)
8 7 3), the process advances to step S874. That is, in this 20% startup processing routine, the override amount K
OR is never set to a value greater than 100%.

次に、立上げ量HXを前述の式(A)により演算し(ス
テップS874)、ステップS875に進む。
Next, the rise amount HX is calculated using the above-mentioned formula (A) (step S874), and the process proceeds to step S875.

ステップS875ではダウンカウンタをセットしてカウ
ント値を初期値に戻し、当該ルーチンを終了する。
In step S875, a down counter is set to return the count value to the initial value, and the routine ends.

この20%立上げ処理ルーチンは、復帰処理が実行され
、前述のステップS84の判別結果が肯定である限り繰
り返し実行され、所定時間TUPが経過する毎にオーバ
ライド量KORはその値を所定値ΔK2宛増加させると
共に、立上げ量HXは所定値ΔK2宛減少させる(第4
図(b)のt2時点からt3時点間)。
This 20% startup processing routine is repeatedly executed as long as the return processing is executed and the determination result in step S84 is positive, and each time the predetermined time TUP elapses, the override amount KOR transfers its value to the predetermined value ΔK2. At the same time, the start-up amount HX is decreased by a predetermined value ΔK2 (fourth
(between time t2 and time t3 in Figure (b)).

立上げ量HXが0に到達し、ステップ384において、
判別結果が肯定になると、ステップ388に進み、減速
゛フラグDFLを0にリセットして復帰処理が終了する
。尚、上述のように設定さたオーバライド量KORは、
後述するステップS90およびS91において上限値及
び下限値のチェックが行われた後、NC演算部30aに
出力されるが、この処理については、通常の工具切削負
荷に応じたオーバライド量制御と同じであるから、その
詳細は後述する。
When the start-up amount HX reaches 0, in step 384,
If the determination result is affirmative, the process proceeds to step 388, where the deceleration flag DFL is reset to 0, and the return process is completed. Note that the override amount KOR set as described above is
After the upper limit value and lower limit value are checked in steps S90 and S91, which will be described later, they are output to the NC calculation unit 30a, but this process is the same as the override amount control according to the normal tool cutting load. The details will be described later.

このように、切削開始時において工具送り速度を一旦減
速させた後、これを漸増させるようにしたので、切削開
始時に切削を滑らかに進行させることが出来、工具負荷
の急変による工具折損事故を未然に防止することが出来
る。しかも、従来、切削開始時に作業者がマニアル操作
によって行っていた工具送り速度の減速を自動的に行う
ことが出来る。
In this way, the tool feed rate is first decelerated at the start of cutting, and then gradually increased, so cutting can proceed smoothly at the start of cutting, and tool breakage accidents caused by sudden changes in tool load can be prevented. can be prevented. Furthermore, the tool feed rate can be automatically reduced, which was conventionally done manually by the operator at the start of cutting.

尚、第2E図に示す復帰処理において、立上げ量HXが
所定値XHXに到達した後、20%立上げ処理を実行し
てオーバライド量KORを第2の所定値ΔK2宛漸増さ
せるようにしたが、本発明はこの実施例に限定されず、
立上げflHXが所定値XHXに到達したとき、オーバ
ライド量KORを100%まで一気に立ち上げるように
してもよい。
In the return process shown in FIG. 2E, after the start-up amount HX reaches the predetermined value XHX, the 20% start-up process is executed to gradually increase the override amount KOR to the second predetermined value ΔK2. , the invention is not limited to this example,
When the start-up flHX reaches the predetermined value XHX, the override amount KOR may be raised all at once to 100%.

切削が開始され、AEセンサ40により切削異常が検出
されない限り(ステップ326の判別結果により異常信
号が検出されない場合)、後述するように、工具切削負
荷に応じたオーバライド量KORが設定され、NCデー
タが設定する工具送り速度をオーバライド量KORで修
正することにより工具送り速度が制御される。ここで、
工具切削負荷の検出方法について説明する。
As long as cutting is started and no cutting abnormality is detected by the AE sensor 40 (if no abnormal signal is detected according to the determination result in step 326), an override amount KOR is set according to the tool cutting load as described later, and the NC data is The tool feed rate is controlled by modifying the tool feed rate set by the override amount KOR. here,
A method for detecting tool cutting load will be explained.

本発明に依れば、外乱や測定誤差等による制御ミスを最
小限に抑制するため、各軸モータに供給される電流値を
夫々所定サンプリング回数XNIだけ検出してこれらの
総和を求め、この総和から工具切削負荷の大きさが判定
される。より具体的に説明すると、速度制御装置32は
、第2B図のステップS40ないしS43において、各
軸モータ負荷センサ4l〜44が検出した電流値As,
AX,AZ,AYINをサンプリングして取り込む。
According to the present invention, in order to minimize control errors due to disturbances, measurement errors, etc., the current value supplied to each axis motor is detected a predetermined number of sampling times XNI, and the sum of these is calculated. The magnitude of the tool cutting load is determined from More specifically, in steps S40 to S43 in FIG. 2B, the speed control device 32 calculates the current values As,
Sample and import AX, AZ, AYIN.

次いで、ステップS44ないしS46において、Y軸モ
ータl7の電流値AYINに対して基準モータ換算処理
を行う。この換算処理を行うのは、下記の理由による。
Next, in steps S44 to S46, reference motor conversion processing is performed on the current value AYIN of the Y-axis motor l7. This conversion process is performed for the following reasons.

無負荷状態において、各軸モータを駆動すると、無負荷
であるにも拘ず各軸モータに供給される電流値が異なる
。第7図は、無負荷状態(非切削状態)において、X軸
モータ11およびY軸モータl7に供給される各電流値
Aと、送り速度VPとの関係を示し、図から明白なよう
に、電流比率(AX /AY)が略7倍から40倍程度
もある。また、第8図は、X軸モータ1lおよびY軸モ
ータl7の送り速度VFをそれぞれ700mm/min
に設定して被削材を切削したときの、切込み量と各モー
クの電流値Aとの関係を示したもので、図から明白なよ
うに、この場合の電流比率(AX /AY)も略1.2
倍から1.4倍程度もある。これらの供給電流値の相違
は、テーブル10や主軸ヘッド16の摺動抵抗、重量の
相違、モータの容量の相違等によるものであり、これら
の相違を考慮に入れずに各軸方向の工具切削負荷を求め
ることは出来ない。そこで、上述した摺動抵抗等の影響
が無視できない軸モータに対しては、基準となる軸モー
タの電流値に換算することにより工具切削負荷を正確に
把握しようとするものである。尚、基準となる軸モータ
は、上述した軸モータ11, 15. 17. 18の
内の一つを選択してこれを基準モータとしてもよいし、
仮想軸モータを基準モータとしてもよい。
When each axis motor is driven in a no-load state, the current value supplied to each axis motor differs even though there is no load. FIG. 7 shows the relationship between each current value A supplied to the X-axis motor 11 and the Y-axis motor 17 and the feed rate VP in a no-load state (non-cutting state), and as is clear from the figure, The current ratio (AX/AY) is approximately 7 times to 40 times. In addition, FIG. 8 shows that the feed speed VF of the X-axis motor 1l and the Y-axis motor 17 is each 700 mm/min.
This figure shows the relationship between the depth of cut and the current value A of each mork when cutting the workpiece material with the settings set to 1.2
It is about 1.4 times to 1.4 times. These differences in supply current values are due to sliding resistance of the table 10 and spindle head 16, differences in weight, differences in motor capacity, etc., and tool cutting in each axis direction is performed without taking these differences into account. It is not possible to calculate the load. Therefore, for shaft motors where the influence of the above-mentioned sliding resistance etc. cannot be ignored, it is attempted to accurately grasp the tool cutting load by converting it into a reference current value of the shaft motor. Note that the reference shaft motors are the shaft motors 11, 15. 17. You can select one of the 18 and use it as the reference motor,
The virtual axis motor may be used as the reference motor.

実施例では、X軸モータ11を基準モータとして、Y軸
モータl7の実電流値AYINを基準モー夕の電流値に
換算することにより、電流検出条件を揃えるようにして
いる。そこで、Y軸モータ17の実電流値AYINが所
定判別値XAYより小であるか否かを判別する(ステッ
プS44)。この判別値XAYは、Y軸モータl7が無
負荷で駆動されているか、即ち、空切削中であるか、或
いは切削中であるかを判別することが出来る値、例えば
、2OAに設定される。そして、実電流値AYINが所
定判別値XAYより小である場合には、空切削中と判定
し、ステップS45に進み、Y軸モータl7の基準換算
電流値AYを次式(B1)により演算する。
In the embodiment, current detection conditions are made uniform by using the X-axis motor 11 as a reference motor and converting the actual current value AYIN of the Y-axis motor 17 into the current value of the reference motor. Therefore, it is determined whether the actual current value AYIN of the Y-axis motor 17 is smaller than a predetermined determination value XAY (step S44). This discrimination value XAY is set to a value, for example, 2OA, which allows it to be determined whether the Y-axis motor 17 is being driven with no load, that is, in idle cutting, or in cutting. If the actual current value AYIN is smaller than the predetermined determination value XAY, it is determined that idle cutting is in progress, and the process proceeds to step S45, where the reference converted current value AY of the Y-axis motor l7 is calculated using the following equation (B1). .

AY =AYIN +XK1       ・・・・・
・(Bl)ここに、XKIは補正定数であり、例えば、
15Aに設定される。
AY=AYIN+XK1...
・(Bl) Here, XKI is a correction constant, for example,
It is set to 15A.

ステップ344の判別結果が否定、即ち、実電流値AV
INが所定判別値XAYより大である場合には、切削中
と判定し、ステップS46に進み、Y軸モータl7の基
準換算電流値AYを次式(B2)により演算する。
If the determination result in step 344 is negative, that is, the actual current value AV
If IN is larger than the predetermined determination value XAY, it is determined that cutting is in progress, and the process proceeds to step S46, where the reference converted current value AY of the Y-axis motor l7 is calculated using the following equation (B2).

AY =AYIN xK 1       ・−・・−
・(82)ここに、Klは補正係数であり、例えば、値
1.4に設定される。第9図は、上述のように換算され
た基準換算電流値AYと実電流値AYINとの関係を示
す。
AY=AYIN xK 1 ・−・・−
(82) Here, Kl is a correction coefficient, and is set to a value of 1.4, for example. FIG. 9 shows the relationship between the reference current value AY converted as described above and the actual current value AYIN.

このように、基準電流値換算の必要な電流値の換算が終
わると、ステップS47に進み、前回ループで演算した
電流値の総和TAに、今回ループで得た各軸モータの電
流値を加算して今回値TAを次式(B3)により演算す
る。
In this way, when the conversion of the current value necessary for the reference current value conversion is completed, the process proceeds to step S47, and the current value of each axis motor obtained in the current loop is added to the total sum TA of the current values calculated in the previous loop. Then, the current value TA is calculated using the following equation (B3).

TA=TA+AS+AX+AY+AZ  −・−・(1
33)そして、第2C図のステップ34Bに進み、サン
プリング回数Nlが所定値XNIに到達したか否かを判
別する。到達していなければ、サンプリング回数Nlに
値lを加算した後(ステップS49)、ステップ312
に戻り、各軸モータの電流値の検出を繰り返す。そして
、サンプリング回数Nlが所定値XNIに到達したら、
上述のようにして加算した各軸モータのXNI回のサン
プリング値の総和を工具切削負荷TAとしてこれを記憶
し、前述のステップS50に進む。
TA=TA+AS+AX+AY+AZ -・-・(1
33) The process then proceeds to step 34B in FIG. 2C, where it is determined whether the number of sampling times Nl has reached a predetermined value XNI. If the value has not been reached, after adding the value l to the sampling number Nl (step S49), step 312
Return to , and repeat the detection of the current value of each axis motor. Then, when the sampling number Nl reaches the predetermined value XNI,
The sum of the XNI sampling values of each axis motor added as described above is stored as the tool cutting load TA, and the process proceeds to step S50 described above.

尚、この実施例では主軸モータを含む各軸モータの電流
値を加算して工具切削負荷TAを求めたが、場合によっ
ては上記軸複数の軸モータの内、2以上の電流値を加算
し、この加算和から工具切削負荷TAを求めてもよい。
In this example, the tool cutting load TA was obtained by adding the current values of the motors of each axis including the main axis motor, but in some cases, the current values of two or more of the motors of the plurality of axes may be added, The tool cutting load TA may be determined from this addition sum.

韮迷直見旦里 つぎに、上述のようにして求めた工具切削負荷TAに応
じて実行される減速演算処理について説明する。
Next, the deceleration calculation process executed in response to the tool cutting load TA determined as described above will be described.

速度制御装置32は、ステップS52において、上述の
ようにして求めた工具切削負荷TAが所定基準値Xst
より大であるか否かを判別する。この工具切削負荷TA
と基準値Xstとの関係は、第10図に示される。工具
切削負荷TAは、XNI回のサンプリングにより各軸モ
ータの電流値を総和した値であり、同図中斜線で示す部
分の面積が工具切削負荷TAに相当する。これに対して
、基準値X s tは、基準電流値AstをXNI回加
算した値であり、同図中、点0−XNI−D−Ast−
0で囲まれる面積に対応する。このように、工具切削負
荷TAは、各サンプリング毎の電流検出値を基準値と比
較するのではなく、第lO図に示すような面積比較によ
り工具切削負荷TAの大きさを基準値と比較するので、
外乱の影響や検出誤差を最小限に抑えることが出来る。
In step S52, the speed control device 32 controls the tool cutting load TA obtained as described above to a predetermined reference value Xst.
Determine whether the value is greater than or not. This tool cutting load TA
The relationship between and the reference value Xst is shown in FIG. The tool cutting load TA is a value obtained by summing the current values of the respective axis motors by sampling XNI times, and the area of the shaded portion in the figure corresponds to the tool cutting load TA. On the other hand, the reference value X s t is the value obtained by adding the reference current value Ast XNI times, and in the same figure, the reference value
Corresponds to the area surrounded by 0. In this way, the tool cutting load TA is determined by comparing the size of the tool cutting load TA with the reference value by comparing the areas as shown in Figure 1O, rather than comparing the detected current value for each sampling with the reference value. So,
The influence of disturbances and detection errors can be minimized.

ステップ352の判別結果が肯定、即ち、工具切削負荷
TAが所定基準値Xstより大であれば、ステップ36
0に進み、減速演算処理ルーチンが実行される。
If the determination result in step 352 is affirmative, that is, the tool cutting load TA is greater than the predetermined reference value Xst, step 36
0, and a deceleration calculation processing routine is executed.

第11A図及び第11B図は、この減速演算処理ルーチ
ンのフローチャートを示し、速度制御装置32は、先ず
、工具切削負荷TAに応じたオーバライド量KORを設
定する(ステップS601)。
11A and 11B show a flowchart of this deceleration calculation processing routine, and the speed control device 32 first sets an override amount KOR according to the tool cutting load TA (step S601).

第12図は工具切削負荷TAと、この工具切削負荷TA
に応じて設定されるオーバライド量KORとの関係を示
し、工具切削負荷TAが所定基準値Xstである場合に
はオーバライド量KORは値100%に設定され、この
基準値Xstより大の場合には、工具切削負荷TAの増
加に伴って減少する値に、工具切削負荷TAが切削最大
値X MAXに到達すると、0%に設定される。ここで
、基準値Xstはカッタ20による切込み量を所定値に
設定し、このときの切削負荷に対応する値である。又、
切削最大値XMAXは、切込み量が工具刃長に到達した
ときの最大許容切込み量に対応する切削負荷電流値であ
り、工具切削負荷TAの最大値をこの値に制限すること
で工具折損を防止している。第12図に示す関係は工具
1刃当りの取り代を略一定にするように設定されており
、切込み量が増加するとこれに反比例して工具送り速度
を遅く設定している。
Figure 12 shows the tool cutting load TA and this tool cutting load TA.
The relationship between the override amount KOR and the override amount KOR that is set according to the tool cutting load TA is shown. , the value decreases as the tool cutting load TA increases, and is set to 0% when the tool cutting load TA reaches the maximum cutting value X MAX. Here, the reference value Xst is a value corresponding to the cutting load at this time when the cutting amount by the cutter 20 is set to a predetermined value. or,
The maximum cutting value XMAX is the cutting load current value corresponding to the maximum allowable depth of cut when the depth of cut reaches the tool blade length, and tool breakage is prevented by limiting the maximum value of the tool cutting load TA to this value. are doing. The relationship shown in FIG. 12 is set to keep the machining allowance per tool tooth approximately constant, and as the depth of cut increases, the tool feed rate is set to slow in inverse proportion to this.

このとき、工具送り速度に比例して主軸の回転速度も遅
くした方が工具寿命上好ましい。
At this time, it is preferable for the life of the tool to slow down the rotation speed of the spindle in proportion to the tool feed speed.

次に、速度制御装置32は、減速フラグDFLが値lに
セットされているか否かを判別する。この減速演算処理
ルーチンが初めて実行された場合には、通常このフラグ
はセットされていないから、後続のステップをスキップ
して当該ルーチンを終了する。即ち、この場合、オーバ
ライド量KORは、工具切削負荷TAに対応した値にそ
のまま設定されて当該ルーチンを終了することになる。
Next, the speed control device 32 determines whether the deceleration flag DFL is set to the value l. When this deceleration calculation processing routine is executed for the first time, this flag is normally not set, so the subsequent steps are skipped and the routine ends. That is, in this case, the override amount KOR is set as is to the value corresponding to the tool cutting load TA, and the routine ends.

減速演算処理ルーチンが終了すると、ステップS62に
おいて、減速フラグDFLを値1にセットした後、ステ
ップS64において、立上げ量HX(=100−KOR
)が前述の式(AI)により演算される。
When the deceleration calculation processing routine ends, the deceleration flag DFL is set to the value 1 in step S62, and then the start-up amount HX (=100-KOR
) is calculated by the above-mentioned formula (AI).

次に、第2F図のステップS90に進み、オーバライド
量KORが上限値MAXより大であるか否かを判別し、
大であれば、この上限値MAXにオーバライド量KOR
を設定し直してステップ396に進む。一方、オーバラ
イド量KORが上限値MAX以下であれば、ステップS
91に進み、今度は下限値MINと比較し、下限値MI
Nより小であれば、この下限値MINに設定し直し、下
限値MIN以上であれば、オーバライド量KORに変更
を加えずにステップS96に進む。
Next, proceeding to step S90 in FIG. 2F, it is determined whether the override amount KOR is larger than the upper limit value MAX,
If it is large, the override amount KOR is set to this upper limit value MAX.
is set again and the process proceeds to step 396. On the other hand, if the override amount KOR is less than the upper limit value MAX, step S
Proceed to step 91, this time compare it with the lower limit value MIN, and find the lower limit value MI.
If it is smaller than N, the lower limit value MIN is set again, and if it is greater than or equal to the lower limit value MIN, the process proceeds to step S96 without changing the override amount KOR.

尚、この実施例では、下限値MINは0%に、上限値M
AXは、例えば120%に設定されており、許容範囲以
外の値で送り速度が制御されることを防止している。こ
れらの上下限値の設定は、型彫機の性能等により適宜値
に設定出来ることば勿論のことである。
In this embodiment, the lower limit value MIN is set to 0%, and the upper limit value M is set to 0%.
AX is set to 120%, for example, to prevent the feed rate from being controlled at a value outside the allowable range. It goes without saying that these upper and lower limit values can be set to appropriate values depending on the performance of the die carving machine and the like.

ステップ396では、上述のようにして設定したオーバ
ライド量KORをNC演算部30aに出力して、NCデ
ータにより指定されるカッタ20の送り速度をこのオー
バライド量KORで減速修正し、工具切削負荷TAの急
変に対処される。
In step 396, the override amount KOR set as described above is output to the NC calculation section 30a, the feed speed of the cutter 20 specified by the NC data is decelerated and corrected by this override amount KOR, and the tool cutting load TA is reduced. Sudden changes will be dealt with.

減速演算処理ルーチンのステップS602において、減
速フラグDFLが値1にセットされている場合、即ち、
前回ループにおいて減速演算処理が実行され、今回ルー
プにおいても引続き減速演算処理が実行されると、ステ
ップS603に進み、今回ループのステップS601に
おいて設定されたオーバライド量K ORnと前回NC
演算部30aに出力されたオーバライド量KORn−1
の偏差Δkを演算する。
In step S602 of the deceleration calculation processing routine, if the deceleration flag DFL is set to the value 1, that is,
When the deceleration calculation process was executed in the previous loop and the deceleration calculation process is continued in the current loop, the process advances to step S603, where the override amount KORn set in step S601 of the current loop and the previous NC are calculated.
Override amount KORn-1 output to the calculation unit 30a
The deviation Δk is calculated.

Δk = KQRn − KORn−1      =
・=lCl)次いで、この偏差Δkが負値であるか否か
、即ち、今回設定されたオーバライド量K ORnは、
前回NC演算部30aに出力されたオーバライド量KO
Rn−1より小であるか否かを判別する。判別結果が肯
定である場合、即ち、前回より大きい工具切削負荷TA
が検出された場合には、ステップS601で設定された
オーバライド量KORに変更を加えずにこれをNC演算
部30aに出力することになる。
Δk = KQRn - KORn-1 =
・=lCl) Next, whether or not this deviation Δk is a negative value, that is, the override amount KORn set this time is,
Override amount KO output to the NC calculation unit 30a last time
It is determined whether it is smaller than Rn-1. If the determination result is positive, that is, the tool cutting load TA is larger than the previous one.
If detected, the override amount KOR set in step S601 is output to the NC calculation section 30a without being changed.

一方、ステップS604の判別結果が否定の場合、第l
lB図のステップ8606に進み、ダウンカウンタが計
数するカウント値NUPがOであるか否かを判別する。
On the other hand, if the determination result in step S604 is negative, the l-th
Proceeding to step 8606 in the IB diagram, it is determined whether the count value NUP counted by the down counter is O.

このダウンカウンタも、前述の10%立上げ処理ルーチ
ンで使用したものと同じダウンカウンタを用いてもよい
し、初期値が異なる値に設定される別のダウンカウンタ
を使用してもよい。そして、カウント値NIJPが0で
なければ、オーバライド量KORを前回NC演算部30
aに出力した値と同じ値KORn−1に設定し(ステッ
プS607)、当該減速演算処理ルーチンを終了する。
This down counter may be the same as that used in the above-described 10% startup processing routine, or may be another down counter whose initial value is set to a different value. If the count value NIJP is not 0, the override amount KOR is calculated from the previous NC calculation unit 30.
The same value KORn-1 as the value outputted to a is set (step S607), and the deceleration calculation processing routine ends.

そして、ステップ8601で演算したオーバライド量K
ORが前回NC演算部30aに出力した値以上である限
り、上述したダウンカウンタのカウント値NUPが0に
なるまで、繰り返しステップS607が実行され、オー
バライド量KORが一定値に保持される。
Then, the override amount K calculated in step 8601
As long as OR is greater than or equal to the value output to the NC calculation section 30a last time, step S607 is repeatedly executed until the count value NUP of the down counter described above becomes 0, and the override amount KOR is maintained at a constant value.

ダウンカウンタのカウント値NUPが0に到達すると、
ステップ8606の判別結果が肯定となり、ステップ8
608に進む。立上げ量HXが所定値XHX(40%)
より大であるか否かが判別される。
When the count value NUP of the down counter reaches 0,
The determination result in step 8606 is affirmative, and step 8
Proceed to 608. The start-up amount HX is the predetermined value XHX (40%)
It is determined whether or not it is larger than that.

この判別は前述した復帰処理の判別と同じであり、この
判別結果が肯定であれば、ステップS609に進み、前
述の偏差Δkが、前述の第1の所定値ΔKl(10%)
より大きいか否かを判別する。即ち、前回と今回のオー
バライド量KORの差が所定値ΔKlより大きいか否か
を判別し、大きければ、前記ステップS601で演算し
たオーバライド量KORをそのまま用いずに、前回NC
演算部30aに出力したオーバライド量KORn−1に
前記所定値ΔKlを加算し、これを今回ループでのオー
バライド量KORとする(ステップS610)。そして
、後述のステップ3616に進む。
This determination is the same as the determination in the restoration process described above, and if the determination result is affirmative, the process advances to step S609, and the aforementioned deviation Δk is set to the aforementioned first predetermined value ΔKl (10%).
Determine whether the value is greater than or not. That is, it is determined whether the difference between the previous and current override amounts KOR is larger than a predetermined value ΔKl, and if it is, the previous NC is used without directly using the override amount KOR calculated in step S601.
The predetermined value ΔKl is added to the override amount KORn-1 outputted to the calculation unit 30a, and this is set as the override amount KOR in the current loop (step S610). Then, the process advances to step 3616, which will be described later.

一方、ステップ$609において、判別結果が否定、即
ち、偏差Δkが所定値ΔK1以下の場合、前記ステップ
S601で演算したオーバライド量KORに変更を加え
ずにステップS616に進む。
On the other hand, in step $609, if the determination result is negative, that is, the deviation Δk is less than or equal to the predetermined value ΔK1, the process proceeds to step S616 without changing the override amount KOR calculated in step S601.

即ち、第11A図のステップ$601で演算したオーバ
ライド量KORに対して、工具送り速度を増速すべきと
き、所定時間の経過毎に所定値を加算して、工具送り速
度を漸増させるのである。
That is, when the tool feed rate should be increased with respect to the override amount KOR calculated in step $601 of FIG. 11A, a predetermined value is added every time a predetermined time elapses to gradually increase the tool feed rate. .

ステップ8608において、判別結果が否定の場合、即
ち、立上げ量HXが所定値X}IXより小である場合、
ステップS612に進み、前述の偏差Δkが、前述の第
2の所定値ΔK 2 (20N>より大きいか否かを判
別する。即ち、前回と今回のオーバライド量KOHの差
が所定値ΔK2より大きいか否かを判別し、大きければ
、前記ステップS601で演算したオーバライド量KO
Rをそのまま用いずに、前回NC演算部30aに出力し
たオーバライド量KORn−1に前記所定値ΔK2を加
算し、これを今回ループでのオーバライド量KOR (
=KORn−1+ΔK2)とする(ステップS614)
In step 8608, if the determination result is negative, that is, if the rise amount HX is smaller than the predetermined value X}IX,
Proceeding to step S612, it is determined whether the deviation Δk is greater than the second predetermined value ΔK 2 (20N>). In other words, whether the difference between the previous and current override amounts KOH is greater than the predetermined value ΔK2. If it is large, the override amount KO calculated in step S601 is determined.
Instead of using R as is, the predetermined value ΔK2 is added to the override amount KORn-1 outputted to the NC calculation unit 30a last time, and this is used as the override amount KOR (
=KORn-1+ΔK2) (step S614)
.

一方、ステップ3612において、判別結果が否定、即
ち、偏差Δkが所定値ΔK2以下の場合、前記ステップ
3601で演算したオーバライド量KORに変更を加え
ずにステップS616に進む。
On the other hand, if the determination result in step 3612 is negative, that is, the deviation Δk is less than or equal to the predetermined value ΔK2, the process proceeds to step S616 without making any change to the override amount KOR calculated in step 3601.

このように、立上げ量HXが所定値XHX以下になると
、基準切削負荷に到達するまで、工具送り速度が加速さ
れ、切削時間の短縮が図られる。
In this way, when the start-up amount HX becomes equal to or less than the predetermined value XHX, the tool feed rate is accelerated until the reference cutting load is reached, and the cutting time is shortened.

尚、立上げ量HXが所定値X}IXに到達したとき、オ
ーバライド量KORを100%まで一気に立ち上げるよ
うにしてもよい。前述した通り、工具送り速度は工具の
切込み量に比例しており、減速演算処理の実施により、
切削負荷が工具の刃先近傍にだけ掛かっていたが、オー
バライド量KOHの増加により、工具に掛かる負荷の位
置が所定値XXHに対応する位置まで上昇し、切込み量
を一気に増加させても工具折損の虞はない。
Incidentally, when the rise amount HX reaches the predetermined value X}IX, the override amount KOR may be raised all at once to 100%. As mentioned above, the tool feed rate is proportional to the depth of cut of the tool, and by performing deceleration calculation processing,
The cutting load was applied only to the vicinity of the cutting edge of the tool, but as the override amount KOH increases, the position of the load applied to the tool increases to the position corresponding to the predetermined value XXH, and even if the depth of cut is suddenly increased, the tool will not break. There is no danger.

第13A図及び第13B図は、カッタ20の切込み量と
、NC演算部30aに出力されるオーバライド量KOH
の変化の例を示す。第13A図では、tlO. tll
, tl2の各時点で、切込み量の急変に伴う工具切削
負荷TAの増大が生じ、オーバライド量KORは、工具
切削負荷TAの変化を検出した時点で、その工具切削負
荷TAに応じた値に設定され、工具送り速度を減速させ
るようにしている。そして、tla時点で工具切削負荷
TAの減少を検出すると、オーバライド量KORをその
工具切削負荷TAに対応する値にまで一気に増加させず
、所定時間TUP(例えば、lsec)が経過する毎に
所定値ΔKl宛漸増させている(tl3時点から114
時点間)。
13A and 13B show the cutting depth of the cutter 20 and the override amount KOH output to the NC calculation section 30a.
An example of a change in is shown below. In FIG. 13A, tlO. tll
, tl2, the tool cutting load TA increases due to a sudden change in the depth of cut, and the override amount KOR is set to a value corresponding to the tool cutting load TA at the time when a change in the tool cutting load TA is detected. and the tool feed speed is reduced. When a decrease in the tool cutting load TA is detected at time tla, the override amount KOR is not increased all at once to the value corresponding to the tool cutting load TA, but is set to a predetermined value every time a predetermined time TUP (for example, lsec) elapses. Gradually increases to ΔKl (from tl3 to 114
between time points).

このように負荷の急増に対しては工具送り速度を直ちに
減速し、急減に対しては漸増させることにより工具の折
損を未然に防止している。
In this way, tool breakage is prevented by immediately reducing the tool feed rate in response to a sudden increase in load, and gradually increasing it in response to a sudden decrease in load.

第13B図において、120時点で工具切込み量の急変
により工具切削負荷TAが増加した後、t21時点で工
具切削負荷TAの減少によりオーバライド量KORが漸
増している。そして、t22時点で再び工具切削負荷T
Aが急増し、その負荷の大きさに応じたオーバライド量
KOHに急減させている。
In FIG. 13B, after the tool cutting load TA increases due to a sudden change in the tool depth of cut at time 120, the override amount KOR gradually increases due to a decrease in the tool cutting load TA at time t21. Then, at time t22, the tool cutting load T
A rapidly increases and is rapidly reduced to an override amount KOH corresponding to the magnitude of the load.

t23時点でふたたび負荷が軽減し、オーバライド量K
ORがその時点から漸増するが、t24時点で立上げ量
HXが所定値XHXに到達したため、オーバライド量K
OHの増加量をその時点から第2の所定量ΔK2で漸増
させている。
At time t23, the load is reduced again and the override amount K
OR gradually increases from that point, but since the start-up amount HX reaches the predetermined value XHX at t24, the override amount K
From that point on, the amount of increase in OH is gradually increased by a second predetermined amount ΔK2.

工具切削負荷TAが基準値Xstより大で減速演算処理
が実行され、その後、工具切削負荷TAが前述の基準値
Xstより小となったとき、工具送り速度をNCデータ
で指定される値より加速させるべきであるが、立上げ量
HXが末だO%に戻っていない場合には、前述のステッ
プS54及びステップS56の判別結果が肯定となり、
加速演算処理が無視されて、前述した、第2E図の復帰
処理が実行される。そして、立上げ量HXが一旦0に戻
り、ステップ388において減速フラグDFLが0にリ
セットされた後、加速演算処理(ステップS70)が実
行されることになる。
When the tool cutting load TA is larger than the reference value Xst, deceleration calculation processing is executed, and then when the tool cutting load TA becomes smaller than the above-mentioned reference value Xst, the tool feed rate is accelerated from the value specified by the NC data. However, if the start-up amount HX has not returned to 0%, the determination results in step S54 and step S56 described above become affirmative.
The acceleration calculation process is ignored, and the previously described return process shown in FIG. 2E is executed. After the start-up amount HX once returns to 0 and the deceleration flag DFL is reset to 0 in step 388, the acceleration calculation process (step S70) is executed.

又、工具切削負荷TAが基準値Xstより大で減速演算
処理が実行され、その後、工具切削負荷TAが基準値X
stに等しくなったとき、工具送り速度をNCデータで
指定される値に保持させるべきであるが、立上げ量HX
が未だO%に戻っていない場合には、前述のステップS
52及びステップ$54の判別結果がいずれも否定とな
り、且つ、ステップS58の判別結果が肯定となって速
度維持処理が無視され、前述した、第2E図の復帰処理
が実行される。そして、立上げ量HXが一旦0に戻り、
ステップ388において減速フラグDFLが0にリセッ
トされた後、速度維持処理(ステッフS 8 0)が実
行されることになる。
Further, when the tool cutting load TA is larger than the reference value Xst, deceleration calculation processing is executed, and then the tool cutting load TA becomes the reference value
When it becomes equal to st, the tool feed rate should be held at the value specified by the NC data, but the start-up amount HX
has not returned to O% yet, the step S described above is performed.
The determination results at step S52 and step S54 are both negative, and the determination result at step S58 is affirmative, so the speed maintenance process is ignored and the above-mentioned return process shown in FIG. 2E is executed. Then, the start-up amount HX returns to 0,
After the deceleration flag DFL is reset to 0 in step 388, the speed maintenance process (step S 8 0) is executed.

皿盈濃夏処旦 加速演算処理が実行される場合は、工具切削負荷TAが
基準値Xstより小であり、切削時間の短縮のため、工
具送り速度を加速させる。この場合、速度制御装置32
は、ステップ370において、工具切削負荷TAに応じ
た目標オーバライド量KORを、第12図に示すテーブ
ルから演算する。この場合、テーブルから読み出した値
をそのままNC演算部30aに出力するようにしてもよ
いし、目標オーバライド量に至るまで、実際に出力する
値を漸増させるようにしてもよい。尚、加速演算処理で
設定されたオーバライド量KORは、後述の上下限値チ
ェックを受けた後(ステップ390〜ステップS94)
 、NC演算部30aに出力される。
When the plate eino summer processing acceleration calculation process is executed, the tool cutting load TA is smaller than the reference value Xst, and the tool feed rate is accelerated to shorten the cutting time. In this case, the speed control device 32
In step 370, the target override amount KOR corresponding to the tool cutting load TA is calculated from the table shown in FIG. In this case, the value read from the table may be directly output to the NC calculation unit 30a, or the value actually output may be gradually increased until the target override amount is reached. Note that the override amount KOR set in the acceleration calculation process is checked after the upper and lower limit values are checked (step 390 to step S94), which will be described later.
, are output to the NC calculation section 30a.

盈襄樵葺皇旦 速度維持処理が実行される場合は、工具切削負荷TAが
基準値Xstと等しい場合であり、この場合にはオーバ
ライド量KORは100%に設定され、工具送り速度が
NCデータで指示された値に保持されることになる。
When the process of maintaining the speed of the Eishangshuki Kodan speed is executed, the tool cutting load TA is equal to the reference value Xst. In this case, the override amount KOR is set to 100% and the tool feed rate is set to the NC data It will be held at the value specified by .

且茎処里 ステップS26において、切削中にAEセンサ40によ
り異常振動や異常音響を検出した場合、あるいは、ステ
ップ350において、工具切削負荷TAが切削最大値X
MAX以上であることが検出された場合、第2G図のス
テップS27に進み、異常処理ルーチンが実行される。
In step S26, when abnormal vibration or abnormal sound is detected by the AE sensor 40 during cutting, or in step 350, the tool cutting load TA reaches the maximum cutting value X.
If it is detected that it is greater than or equal to MAX, the process advances to step S27 in FIG. 2G, and an abnormality handling routine is executed.

この異常処理ルーチンで実行される異常処理としては、
種々の処理方法が考えられ、例えば、NC演算装置の自
動運転を休止させ、主軸の回転を停止させ、オーバライ
ド量KORを0%に設定し、ショップエアや切削油の供
給を停止し、作業者に警報を発する、等の処理が実行さ
れる。
The abnormality processing executed by this abnormality processing routine is as follows:
Various processing methods can be considered. For example, the automatic operation of the NC processing unit is stopped, the rotation of the main shaft is stopped, the override amount KOR is set to 0%, the supply of shop air and cutting oil is stopped, and the operator Processing such as issuing a warning is executed.

上述の異常時の処理が終わると、速度制御装置32は、
マニアル操作盤39の特定のキーの信号レベルを入力し
(ステップ328)、この特定のキーから復帰信号が出
力されているか否かを判別する(ステップS29)。そ
して、この復帰信号が人力するまで、ステップ328及
び329を繰り返し実行する。即ち、速度制御装置32
は、上述の異常発生後に、作業者による異常処理が完了
するまで待機するのである。
After the abnormality processing described above is completed, the speed control device 32
The signal level of a specific key on the manual operation panel 39 is input (step 328), and it is determined whether a return signal is output from this specific key (step S29). Steps 328 and 329 are then repeatedly executed until this return signal is input manually. That is, the speed control device 32
After the above-mentioned abnormality occurs, the system waits until the operator completes the abnormality processing.

作業者による、カッタの取り替え等の異常処理が完了し
、復帰信号が入力されると、速度制御装置32は、第2
A図のステップSIOに戻り、記憶値のイニシャライズ
を再度実行して前述した工具送り速度の制御等を再開さ
せる。
When the operator completes abnormal processing such as replacing the cutter and a return signal is input, the speed control device 32
Returning to step SIO in Fig. A, the stored values are initialized again and the control of the tool feed rate, etc. described above is restarted.

尚、上述の実施例では、NC型彫機のテーブルIOは切
削工具(カッタ)20に対してX軸方向に移動したが、
このテーブルlOを固定して、切削工具20がテーブル
10に対して移動するものであってもよい。即ち、本発
明は、切削工具とワークとの間の相対移動速度をオーバ
ライド量で修正するものであり、切削工具及びワークの
いずれが移動してもよい。また、ワークを載置固定する
テーブルが回転し、これに対して切削工具がX,Y, 
Z方向に移動するNC切削装置であってもよいことは勿
論のことである。
In the above embodiment, the table IO of the NC die carving machine moved in the X-axis direction with respect to the cutting tool (cutter) 20.
The table IO may be fixed and the cutting tool 20 may be moved relative to the table 10. That is, the present invention corrects the relative movement speed between the cutting tool and the workpiece by an override amount, and either the cutting tool or the workpiece may be moved. In addition, the table on which the workpiece is placed and fixed rotates, and the cutting tool is
Of course, an NC cutting device that moves in the Z direction may also be used.

(発明の効果) 以上詳細に説明したように、本発明のNC切削装置に依
れば、切削工具を、回転を含む多軸方向に移動させる複
数の駆動電動機と、これらの複数の駆動電動機の内の、
少なくとも2以上の電流負荷の加算和から切削工具の切
削負荷を検出する負荷センサと、この負荷センサが検出
した工具切削負荷に応じてオーバライド量を演算するオ
ーバライド演算装置とを備え、NC演算装置は、オーバ
ライド演算装置が演算するオーバライド量に応じて数値
制御データが指定する工具送り速度を修正し、この修正
した工具送り速度で切削工具を相対移動させるようにし
たので、切削工具に掛かる負荷の急変に対応して工具送
り速度を自動的に調整することができ、作業者のマニア
ル操作の負担が軽減され、工具折損事故が未然に防止出
来ると共4. に、数値制御データにおいて工具送り速度指令値を高め
に設定することができ、切削加工時間を大幅に短縮させ
ることが出来る。
(Effects of the Invention) As described above in detail, the NC cutting device of the present invention includes a plurality of drive motors that move a cutting tool in multiple axial directions including rotation, and a plurality of drive motors that move a cutting tool in multiple axis directions including rotation. Inside,
The NC calculation device is equipped with a load sensor that detects the cutting load of the cutting tool from the sum of at least two or more current loads, and an override calculation device that calculates an override amount according to the tool cutting load detected by the load sensor. , the tool feed rate specified by the numerical control data is corrected according to the override amount calculated by the override calculation device, and the cutting tool is moved relatively at this corrected tool feed rate, thereby preventing sudden changes in the load applied to the cutting tool. 4. The tool feed speed can be automatically adjusted according to the situation, reducing the burden of manual operation on the operator and preventing tool breakage accidents. In addition, the tool feed rate command value can be set to a high value in the numerical control data, and the cutting time can be significantly shortened.

又、負荷センサは、複数の駆動電動機の内の、少なくと
も2以上の電流負荷の加算和から切削工具の切削負荷を
検出し、又、好ましくは、基準電動機を定め、複数の駆
動電動機の、少なくとも一つから検出される電流負荷は
、基準電動機の電流負荷に換算し、この換算した電流負
荷を用いて前記電流負荷の加算和を求めるので、外乱等
の影響を最小限に排除して工具切削負荷を正確に求める
ことができる。
Further, the load sensor detects the cutting load of the cutting tool from the sum of current loads of at least two or more of the plurality of drive motors, and preferably defines a reference motor, and The current load detected from one is converted to the current load of the reference motor, and the converted current load is used to calculate the sum of the current loads, so tool cutting can be performed while minimizing the effects of disturbances, etc. Load can be determined accurately.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明に係るNC型彫機の全体構成を示すブ
ロック図、第2A図ないし第2G図は、オーバライド量
KORが生成される手順を説明するためのフローチャー
ト、第3図は、切削開始減速処理ルーチンのフローチャ
ート、第4図は、ワーク外形形状と工具送り速度との関
係を示すタイミングチャート、第5図は、10%立上げ
処理ル−チンのフローチャート、第6図は、20%立上
げ処理ルーチンのフローチャート、第7図は、工具送り
速度VFと軸モータの負荷(電流値A)との関係を示す
グラフ、第8図は、切込み量と軸モータの負荷(電流値
A)との関係を示すグラフ、第9図は、Y軸モータの実
電流値と基準換算電流値との関係を示すグラフ、第10
図は、所定回数サンプリングされた各軸モータの電流値
の総和TAと、基準値Xstとの関係を示すためのグラ
フ、第11A図及び第11B図は、減速演算処理ルーチ
ンのフローチャート、第12図は、工具切削負荷TAと
、それによって設定されるオーバライド量KORとの関
係を示すグラフ、第13A図及び第13B図は、それぞ
れ工具切込み量とオーバライド量KORとの関係の一例
を示すタイミングチャートである。 l・・・NC型彫機、10・・・テーブル、l1・・・
X軸モータ、12・・・コラム、l4・・・クロスビー
ム、l5・・・Z軸モータ、l6・・・主軸ヘッド、1
7・・・Y軸モータ、18・・・主軸モータ、20・・
・カッタ(切削工具)30・・・NC演算装置、30a
・・・NC演算部、30b・・・サーポモータ駆動制御
部、32・・・速度制御装置(オーバライド演算装置)
、36・・・NCデータ読取装置、38・・・切換スイ
ッチ、39・・・マニアル操作盤、40・・・AEセン
サ、41〜44・・・軸モータ負荷センサ。
FIG. 1 is a block diagram showing the overall configuration of the NC die engraving machine according to the present invention, FIGS. 2A to 2G are flowcharts for explaining the procedure for generating the override amount KOR, and FIG. A flowchart of the cutting start deceleration processing routine, Fig. 4 is a timing chart showing the relationship between the workpiece external shape and tool feed speed, Fig. 5 is a flowchart of the 10% start-up processing routine, and Fig. 6 is a 20% % start-up processing routine, Fig. 7 is a graph showing the relationship between the tool feed speed VF and the shaft motor load (current value A), and Fig. 8 is a graph showing the relationship between the depth of cut and the shaft motor load (current value A). ) is a graph showing the relationship between the actual current value of the Y-axis motor and the reference converted current value, and FIG.
11A and 11B are flowcharts of the deceleration calculation processing routine, and FIG. 13A and 13B are timing charts each showing an example of the relationship between the tool depth of cut and the override amount KOR. be. l...NC die engraver, 10...table, l1...
X-axis motor, 12...Column, l4...Cross beam, l5...Z-axis motor, l6...Spindle head, 1
7... Y-axis motor, 18... Main shaft motor, 20...
・Cutter (cutting tool) 30...NC calculation device, 30a
...NC calculation section, 30b... Serpo motor drive control section, 32... Speed control device (override calculation device)
, 36... NC data reading device, 38... Changeover switch, 39... Manual operation panel, 40... AE sensor, 41-44... Shaft motor load sensor.

Claims (2)

【特許請求の範囲】[Claims] (1)外部データ読込装置からNC演算装置に読み込ま
れた数値制御データに基づき、切削工具を、被切削物に
対して相対的に、多軸方向の所要の位置に、所要の速度
で順次移動させ、被切削物を所要の形状に切削するNC
切削装置において、前記切削工具を、回転を含む多軸方
向に移動させる複数の駆動電動機と、これらの複数の駆
動電動機の内の、少なくとも2以上の電流負荷の加算和
から前記切削工具の切削負荷を検出する負荷センサと、
該負荷センサが検出した工具切削負荷に応じてオーバラ
イド量を演算するオーバライド演算装置とを備え、前記
NC演算装置は、オーバライド演算装置が演算するオー
バライド量に応じて前記数値制御データが指定する工具
送り速度を修正し、この修正した工具送り速度で前記切
削工具を相対移動させることを特徴とするNC切削装置
(1) Based on the numerical control data read into the NC processing unit from the external data reading device, the cutting tool is sequentially moved at the required speed to the required position in multiple axes relative to the workpiece. NC to cut the workpiece into the required shape
In a cutting device, a plurality of drive motors move the cutting tool in multiple axis directions including rotation, and a cutting load of the cutting tool is determined from the sum of current loads of at least two or more of the plurality of drive motors. A load sensor that detects the
and an override calculation device that calculates an override amount according to the tool cutting load detected by the load sensor, and the NC calculation device calculates the tool feed specified by the numerical control data according to the override amount calculated by the override calculation device. An NC cutting device characterized in that the speed is corrected and the cutting tool is relatively moved at the corrected tool feed rate.
(2)基準電動機を定め、前記複数の駆動電動機の、少
なくとも一つから検出される電流負荷は、前記基準電動
機の電流負荷に換算し、この換算した電流負荷を用いて
前記電流負荷の加算和を求めることを特徴とする請求項
1記載のNC切削装置。
(2) A reference motor is determined, and the current load detected from at least one of the plurality of drive motors is converted to the current load of the reference motor, and the converted current load is used to add the current loads. The NC cutting device according to claim 1, wherein the NC cutting device calculates the following.
JP30100789A 1989-11-20 1989-11-20 NC cutting device Expired - Fee Related JPH0794103B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30100789A JPH0794103B2 (en) 1989-11-20 1989-11-20 NC cutting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30100789A JPH0794103B2 (en) 1989-11-20 1989-11-20 NC cutting device

Publications (2)

Publication Number Publication Date
JPH03161241A true JPH03161241A (en) 1991-07-11
JPH0794103B2 JPH0794103B2 (en) 1995-10-11

Family

ID=17891710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30100789A Expired - Fee Related JPH0794103B2 (en) 1989-11-20 1989-11-20 NC cutting device

Country Status (1)

Country Link
JP (1) JPH0794103B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001079734A (en) * 1999-09-10 2001-03-27 Yoshiaki Kakino Tool abnormality detection device and numerical control device furnished with it
JP2012232387A (en) * 2011-05-06 2012-11-29 Toshiba Mach Co Ltd Device and method for driving main shaft unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001079734A (en) * 1999-09-10 2001-03-27 Yoshiaki Kakino Tool abnormality detection device and numerical control device furnished with it
US6384560B1 (en) 1999-09-10 2002-05-07 Yoshiaki Kakino Abnormality detection apparatus for tool and numerical control apparatus provided with same
JP2012232387A (en) * 2011-05-06 2012-11-29 Toshiba Mach Co Ltd Device and method for driving main shaft unit

Also Published As

Publication number Publication date
JPH0794103B2 (en) 1995-10-11

Similar Documents

Publication Publication Date Title
US5599142A (en) Drilling control apparatus
JP3331024B2 (en) Tool life management method
EP2634657A1 (en) Numerical control method
JP3285663B2 (en) Tool breakage detection device
JPH0384604A (en) Feed speed control method for numerical controller
US5931070A (en) Punch press system and its control method
JPH11129144A (en) Control device for nc machine tool
US5289367A (en) Numerical control apparatus using fuzzy control
JPH03161241A (en) Nc cutting device
JPH09500331A (en) CNC machine tool controller
JP2805119B2 (en) Numerical controller for processing non-circular workpieces
JP2008269483A (en) Numerical controller
JPH11202926A (en) Method and device for feed speed control in numerical control
JPH03161239A (en) Nc cutting device
JPH03161244A (en) Nc cutting device
WO2021193728A1 (en) Control device for machine tool, control system, and control method
JPH03161240A (en) Nc cutting device
JPH03161238A (en) Nc cutting device
JPH03161243A (en) Nc cutting device
JPH03161242A (en) Nc cutting device
JPH0751992A (en) Drilling work method
JPH06297296A (en) Numerical control device and automatic programming device
JP2622415B2 (en) Teaching data creation method and machining speed control method for numerical controller
JPH04100123A (en) Acceleration/deceleration time constant setting system for numerical controller
JP3349846B2 (en) Punch press material positioning method and punch press material positioning apparatus using the same

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees