JP4059411B2 - NC machine tool controller - Google Patents

NC machine tool controller Download PDF

Info

Publication number
JP4059411B2
JP4059411B2 JP31992298A JP31992298A JP4059411B2 JP 4059411 B2 JP4059411 B2 JP 4059411B2 JP 31992298 A JP31992298 A JP 31992298A JP 31992298 A JP31992298 A JP 31992298A JP 4059411 B2 JP4059411 B2 JP 4059411B2
Authority
JP
Japan
Prior art keywords
spindle
tool
command
fluctuation control
rotation speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP31992298A
Other languages
Japanese (ja)
Other versions
JP2000126991A (en
Inventor
昌美 浅石
保則 瀬川
Original Assignee
森精機興産株式会社
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 森精機興産株式会社 filed Critical 森精機興産株式会社
Priority to JP31992298A priority Critical patent/JP4059411B2/en
Publication of JP2000126991A publication Critical patent/JP2000126991A/en
Application granted granted Critical
Publication of JP4059411B2 publication Critical patent/JP4059411B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、NC(数値制御)工作機械を制御して、加工中に発生するびびり振動を抑制するための制御装置に関する。
【0002】
【従来の技術】
NC旋盤,マシニングセンタ(以下、MCと記載)などNC工作機械は、コンピュータを内蔵したNC装置により制御されている。NC装置は、各種加工を行うためのNC加工プログラム(以下、NCプログラムと記載)を、NC加工プログラムメモリに記憶している。
加工作業を行う場合には、必要なNCプログラムをNC加工プログラムメモリから呼び出して、工作物と工具の相対位置等を制御することにより、工作物が加工される。
【0003】
この加工中に、工作物や工具の剛性,工具の形状,切削加工条件などに影響されて、工具等が振動する「びびり振動」が発生する場合がある。たとえば、荒加工時に発生するびびり振動の多くは、多重再生効果による自励びびり振動(いわゆる、再生びびり)であるといわれている。
この再生びびりは、初めのうちは微小な振動が、主軸の1回転の度に以前の切削面の軌跡の影響で次第に増幅,拡大され、切削不可能なほどの大きさになってしまうような振動である。
【0004】
この再生びびり振動を抑制する対策として、主軸の回転速度を変動させる技術が、特開昭49−105277号公報等に既に提案されている。
また、実公昭61−3522号公報には、補助機能コードで主軸の回転数(すなわち、回転速度)を変動させるか否かの指令を行い、工具毎に変動周期および変動幅を設定器で設定し、仕上げ加工時にびびり振動が生じた場合には、主軸を変速回転させて鏡面加工を行う汎用数値制御旋盤を用いた鏡面仕上げ装置に関する技術が開示されている。
【0005】
【発明が解決しようとする課題】
しかしながら、この実公昭61−3522号公報に記載の技術では、びびり振動の抑制のために各工具に対応して各種設定器を別途設ける必要がある。また、加工中にびびり振動が発生した場合には、加工状況に応じて主軸の回転速度の変動幅を調整したり、主軸回転速度の変動の有効・無効の切替え等を行う必要があり、そのための操作が面倒である。
たとえば、びびり振動が発生すると、オペレータは、プログラムの実行を中断し、びびり振動が生じたNCプログラムの実行箇所を探し、NCプログラムの編集を行って必要な補助機能コードを挿入するという煩雑な操作を行う必要があった。
また、この編集操作はNC装置の操作に熟練したオペレータでないと行うことが困難であるので、あまり熟練していないオペレータでも簡単に操作できる方法が求められていた。
【0006】
本発明は、このような課題を解決するためになされたもので、加工中のびびり振動の抑制を簡単な操作で行うことができるNC工作機械の制御装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
上述の目的を達成するため、本発明にかかるNC工作機械の制御装置は、NC工作機械の主軸を主軸用駆動体によって所定の回転速度に制御可能な主軸回転速度制御部と、前記主軸の回転速度を、指令された回転速度に対して所定の変動幅で変動させる主軸回転速度変動制御を有効または無効とするための主軸変動制御用補助機能指令の有無を判断する第1の判断部と、前記NC工作機械で使用する工具毎に前記主軸回転速度変動制御を有効指定または無効指定とする工具毎指令の有無を判断する第2の判断部と、前記第1の判断部および前記第2の判断部の少なくとも一方が、前記主軸回転速度変動制御が有効であると判断したとき、前記主軸回転速度制御部によって前記主軸の回転速度の変動制御を行う制御装置であって、前記NC工作機械で使用する前記工具の工具番号に対応させて前記主軸回転速度変動制御が有効か否かを表示する主軸回転速度変動制御画面を表示可能な表示手段と、少なくとも前記工具毎指令の入力が可能な入力手段とを備え、実際に加工を始めてみるとびびり振動が発生した場合、前記主軸回転速度変動制御画面を表示している状態でオペレータが前記工具毎指令を入力するようにしている。
【0008
前記主軸変動制御用補助機能指令は、前記主軸の回転速度の変動率を付加させることができるものであるのが好ましい。
前記主軸回転速度変動制御画面を表示している状態で入力する前記工具毎指令には、前記主軸の回転速度の変動率を付加させることができるのが好ましい。
【0009
【発明の実施の形態】
以下、本発明にかかる実施の形態の一例を図1から図5を参照して説明する。
図1は、本発明の一実施形態にかかるNC工作機械の制御装置(NC装置)のブロック図、図2は工具番号に対応して所定の主軸回転速度変動制御の有効・無効を付与した状態を示す表示画面の説明図、図3はNC加工プログラムの一部を示す説明図、図4は入力手段を示す正面図、図6は時間と主軸回転速度との関係を示すグラフである。
図1から図4に示すように、NC装置(数値制御装置)1は、NC旋盤,MC(マシニングセンタ),ターニングセンタ,研削盤などNC工作機械を制御して加工を行う。
本実施形態では、NC旋盤で工作物を旋削加工する場合を例にとって説明するが、他のNC工作機械であってもよい。
【0010
NC装置1により制御されるNC旋盤は、主軸を直接にまたは歯車列など回転駆動力伝達手段を介して回転駆動する主軸用駆動体としての主軸モータ2と、Z軸およびX軸用の各サーボモータ4,3等とを有する。
Z軸およびX軸用の各サーボモータ4,3は、NC旋盤で使用する工具が割出し可能にタレットに取付けられた刃物台を、主軸軸線と平行な方向であるZ方向およびこのZ軸方向と直交するX軸方向にそれぞれ移動させる。
そして、主軸の先端に取付けられたチャックで把持されて回転する工作物に対して、刃物台の工具をZ軸方向およびX軸方向にそれぞれ移動させることにより、工作物を旋削加工する。
【0011
NC装置1は、NC旋盤の主軸の回転速度を変動制御して旋削加工中のびびり振動を抑制する機能を有している。NC装置1は、CPU(中央処理装置)5により統括制御されており、CPU5にはバスライン6が接続されている。
オペレータがNC装置1を操作してデータや指令等を入力するための入力手段7と、文字,図形,表等を表示するための表示手段としてのディスプレイ8が、それぞれインターフェース9,10を介してバスライン6に接続されている。
表示手段としては、たとえば、液晶ディスプレイ,ELパネル,ブラウン管(CRT)等が使用され、入力手段7にはキーボード30,タッチパネル等が使用される。
【0012
バスライン6には、NC旋盤の各移動部位を数値制御等するためのシステムプログラム等を記憶しているROM11と、パラメータなど各種データを一時的に記憶するとともに、各種プログラム,データがロードされるRAM12と、一つまたは複数のNCプログラム(NC加工プログラム)13を記憶しているNC加工プログラムメモリ14とが接続されている。
CPU5は、RAM12にロードされたシステムプログラム,各種プログラムおよびデータに従って動作する。
NC旋盤によって工作物の各種加工を行うためのNCプログラム13は、所望の仕上げ形状を得るための工具軌跡である移動・位置決めデータ,主軸の回転速度や送り速度等のデータ,切削油剤の使用の有無等の指令を組み合わせたプログラムになっている。
【0013
主軸モータ2は、バスライン6に接続された主軸モータ制御部20に、アンプ21を介して接続されており、主軸回転速度指令(S****),主軸時計方向回転指令(M03)等に従って主軸を回転駆動する。
主軸モータ2の回転速度(回転数)は、主軸モータ用の検出器22により常時検出され、検出器22からの出力信号はアンプ21にフィードバックされるので、主軸モータ2は指令された所定の回転速度になるように制御される。
【0014
X軸用サーボモータ3は、バスライン6に接続されたX軸用の移動軸制御部23にアンプ24を介して接続されており、移動指令に従って刃物台を主軸に対して相対的にX軸方向に移動・位置決め制御する。
X軸用の検出器25から出力される速度データ,位置データは、フィードバック信号として移動軸制御部23とアンプ24にフィードバックされて、刃物台の相対移動のX軸方向の位置および移動速度が所定値になるように制御される。
Z軸用サーボモータ4は、X軸用サーボモータ3と同様に、バスライン6に接続されたZ軸用の移動軸制御部26にアンプ27を介して接続されている。Z軸用サーボモータ4は、刃物台を主軸に対して相対的にZ軸方向に移動・位置決め制御する。Z軸用の検出器28から出力される速度データ,位置データは、移動軸制御部26とアンプ27にフィードバックされる。
【0015
入力手段7は、NC装置1のデータ,指令等の入力に使用されるものであり、入力手段7の上部にはディスプレイ8が配設されている。入力手段7は、多数のキーが配列されたキーボード30と、キーボード30の上部に配設されたファンクションキー部31とを有している。ファンクションキー部31には、機能を選択するための複数のファンクションキーF 〜F が配列されている。
キーボード30には、カーソルキー32,ページキー33,表示画面(以下、画面と記載)34に表示されるデータを入力する場合等に使用される入力キー35等が配列されている。
【0016
カーソルキー32は、ディスプレイ8に表示された画面34上のカーソル36を上下,左右方向に移動させるためのキーである。ページキー33は、補正データなどを複数のページにわたって表示する場合、そのページを正方向または逆方向にめくるためのキーである。さらに、キーボード30には、数字キー41,英字キー42などが配列されている。
画面34内の下部には、ファンクション表示部43が表示されている。ファンクション表示部43に表示された機能に対応する位置にあるいずれかのファンクションキーをオン(押圧)すれば、その機能が実行され、また、必要に応じて画面34の表示が切り換わる。
【0017
ディスプレイ8は、図2に示すように、工具の工具番号Tに対応させて主軸回転速度変動制御(以下、主軸変動制御と記載)が有効か否かを表示する主軸回転速度変動制御画面(以下、主軸変動制御画面と記載)38を表示可能になっている。主軸変動制御画面38では、主軸回転速度変動制御一覧表(以下、主軸変動制御一覧表と記載)37が表示されている。
ファンクションキーF に対応するファンクション表示部43が「機能戻り」の表示になっている時にファンクションキーF をオンすると、主軸変動制御画面38を表示する以前の機能の表示(たとえば、総合画面(図示せず))に戻る。
【0018
主軸変動制御画面38中の主軸変動制御一覧表37は、工具番号Tに対応して、その工具の種別,工具名,主軸変動制御の変動率を指定するための指令値Bなどのデータを表示している。
主軸変動制御一覧表37の下部には、現在使用している工具の番号T,指令されている回転速度(指令回転数〔min−1〕S ),実際の回転速度(実回転数〔min−1〕S )等がリアルタイムで表示されている。
なお、画面34が総合画面の時にも、指令回転数S ,実回転数S は総合画面中に表示されている。
画面34の下部にはキー入力表示エリア44が設けられており、このエリア44には、キーボード30から入力された英数字等が表示される。
主軸変動制御一覧表37の工具を選択する場合には、カーソルキー32およびページキー33などを操作して、カーソル36を所望の工具の番号のところに移動させる。
【0019
本実施形態では、加工中のびびり振動を抑制するために所定の変動率で主軸の回転速度を変動させる制御を、プログラムの指令で指定するプログラム指令と、指定工具による加工時に主軸の回転速度を変動させる工具毎指令の、いずれか一方または両方の指令で行えるようにしている。
プログラム指令は、加工時にびびり振動が発生することが前もって分かっている工具の場合に、回転速度に対して所定の変動幅で変動させる主軸変動制御を行う指令をプログラムに挿入しておいて指令することになる。プログラム指令と工具毎指令の両方がある時にはプログラム指令が優先される。
【0020
プログラム指令の場合に、NCプログラム13に挿入される主軸変動制御用補助機能指令には、主軸変動制御を有効にする指令(たとえば、M285)と、主軸変動制御を無効にする指令(たとえば、M286)とがある。
主軸変動制御用補助機能指令は、主軸の回転速度の変動率を付加させることができるようになっている。主軸変動制御有効指令の場合には、主軸の回転速度の変動率(すなわち、指令値Bに対応する値)の指令を行うことができる。なお、指令値Bの指令を行わない場合には、所定の変動率が自動設定される。
この有効指令から主軸変動制御無効指令の間は、プログラム指令の指令値Bで主軸の変動制御が自動的に実行されて、主軸の回転速度が所定の変動率で変動する。
【0021
一方、びびり振動が予測できず、実際に加工を始めてみるとびびり振動が発生したような場合には、オペレータは、画面34を主軸変動制御画面38に切換えて工具指定を行う。
すなわち、NCプログラム13に主軸変動制御有効指令が挿入されていない場合でも、所望の工具に主軸変動制御を行えるように工具毎指定を指令することができる。この主軸変動制御画面38を表示している状態で入力する工具毎の指令でも、主軸の回転速度の変動率を設定して付加させることもできる。
この工具毎指定を行うと、加工時には、指定された工具のTコードが実行され、主軸の回転指令が実行されたとき主軸の回転速度の変動制御が実行されて、主軸の回転速度が所定の変動率で変動する。
【0022
NC装置1は、主軸回転速度制御部50と第1,第2の判断部51,52とを備え、主軸回転速度制御部50は、主軸の回転速度を変動制御可能な主軸変動制御データ演算部59aと、PLC(プログラマブル・ロジックコントローラ)60内の主軸変動制御指令演算部59bとからなっている。主軸変動制御データ演算部59aとPLC60は、それぞれバスライン6に接続されている。
主軸回転速度制御部50は、主軸を主軸モータ2によって所定の回転速度に制御することができるようになっている。主軸変動制御データ演算部59aは、主軸回転速度指令,変動率等から、主軸を変動制御させるためのデータである一周期波形分割数n,変動時間dt,変動回転速度dn(図6参照)を演算し、そのデータをPLC60の主軸変動制御指令演算部59bに送出する。なお、図6に示すグラフの横軸は時間t,縦軸は主軸回転速度Nである。
主軸変動制御指令演算部59bは、前記データに従って主軸変動させるための主軸回転速度指令値を演算して主軸モータ制御部20に出力し、主軸モータ2を所定の変動率で変動させる主軸変動制御を行う。
【0023
第1,第2の判断部51,52は、それぞれバスライン6に接続されている。第1の判断部51は、指令された回転速度に対して所定の変動幅で変動させる主軸変動制御を有効または無効にするための主軸変動制御用補助機能指令(すなわち、NCプログラム13に挿入される主軸変動制御有効指令または主軸変動制御無効指令)の有無を判断する。
第2の判断部52は、主軸変動制御画面38から入力手段7の操作で工具毎に設定された主軸変動制御の有効指定または無効指定を指令するための工具毎指令の有無を判断する。
【0024
第1,第2の判断部51,52の少なくとも一方の判断部が、主軸変動制御を有効と判断した場合には、主軸回転速度制御部50により主軸の回転速度を変動制御して、加工中のびびり振動を抑制している。
主軸回転速度制御部50は、第1の判断部51および第2の判断部52の両方が、主軸変動制御が有効であると判断したとき、第1の判断部51の判断を優先する制御を行っている。
したがって、プログラム指令と工具毎指令の両方がある場合には、NCプログラム13に挿入された主軸変動制御用補助機能指令が優先するので、オペレータの指示どおりに主軸の回転速度を所定の変動率で変動制御することができる。すなわち、同一工具でも変動制御を行う加工箇所と、変動制御を行わない加工箇所の指令を行うことができる。
【0025
さらに、NC装置1は主軸変動制御データ制御部54を備えている。この主軸変動制御データ制御部54は、工具の番号Tに対応した主軸変動制御データを一覧表形式で表示している主軸変動制御一覧表37を主軸変動制御画面38に表示させるとともに、主軸変動制御データを主軸変動制御データメモリ53に記憶する制御を行う。主軸変動制御データ制御部54および主軸変動制御データメモリ53は、それぞれバスライン6に接続されている。
このように、加工中のびびり振動を抑制することができるNC装置1は、主軸回転速度制御部50,第1,第2の判断部51,52,主軸変動制御データ制御部54および主軸変動制御データメモリ53を備えている。
【0026
次に、工具指定の方法について説明する。
カーソルキー32およびページキー33等を操作して、主軸変動制御一覧表37内でカーソル36を所望の工具番号Tの位置に移動させ工具の選択を行う。
主軸変動制御データ制御部54は、工具毎の有効指定または無効指定の選択の表示として、主軸変動制御一覧表37の工具番号Tの欄に表示された工具番号のうち、有効指定の工具の番号の近傍に、所定のマーク(たとえば、アスタリスク「*」)58を付与して表示している。
すなわち、主軸変動制御一覧表37を表示した主軸変動制御画面38で、特定された工具番号のところにマーク58を表示することにより、この工具の主軸変動制御を有効指定としたことが確認できる。
また、主軸変動制御データ制御部54は、主軸変動制御データメモリ53に有効指定の選択があった旨を、この工具番号に対応させて記憶させる。
なお、有効指定を示すその他の表示方法としては、たとえば、有効指定された工具番号の色を変える方法、工具番号を示す数字,文字等の反転表示を行う方法等であってもよい。
【0027
マーク58を付与する場合には、所望の工具の番号のところにカーソル36を位置させた後、ファンクション表示部43の「設定」に対応する位置にあるファンクションキーF をオンする。すると、所望の工具番号のところにマーク58が表示される。また、主軸変動制御データメモリ53に、設定されたことが記憶される。
一方、所望の工具のマーク58,指令値Bなどデータを消去する場合には、ファンクション表示部43の「データ消去」の位置に対応するファンクションキーF をオンすると、画面34上の主軸変動制御一覧表37のマーク58が消去される。
また、主軸変動制御データメモリ53に、この工具が無効指定となった旨をこの工具番号に対応させて記憶させる。すなわち、工具番号に対応させた有効指定のデータを消去する。また、データ(所望の工具のマーク58と指令値Bなど)は一括消去や個別消去ができるようにしてもよい。
なお、この「設定」,「データ消去」の操作を有効とするか否かを確認させる操作を行うと、操作ミスをする恐れがなくなる。
【0028
工具毎指定で主軸の回転速度の変動率を指定するためには、たとえば、主軸変動制御画面38上でカーソル36を主軸変動制御一覧表37の所望の工具の番号Tにおける指令値Bの位置に移動させた後、キーボード30で数値を入力する。この数値も、主軸変動制御データメモリ53の工具番号に対応した所定の記憶領域に記憶される。
これにより、所望の変動率を設定することができる。指令値Bに対応する変動率の一例を下記に示す。
(指令値B) (変動率)
50.0 → ±7.5%
100.0 → ±15%
110.0 → ±16.5%
200.0 → ±30%
【0029
また、主軸変動制御有効指令で主軸の回転速度の変動率を指定する場合には、変動率指定値を主軸変動制御有効指令に続けてプログラムすればよい。たとえば、「M285 A100.0;」とプログラムすれば、変動率が±15%で主軸変動制御を有効指令したことになる。主軸変動制御有効指令等は、この指令が実行されたときに、主軸変動制御データメモリ53に変動率が記憶される。
なお、変動率の指令値Bが指定されていない場合には、指令値Bを「100.0」に自動設定する。
さらに、この実施形態では、指令値を計算して変動率を求めているが、変動率の数値を直接指定してもよい。たとえば、指令値Bの値15.0が変動率±15%となるようにしてもよい。
【0030
たとえば、工具番号4の工具に関して指令値Bを100.0に設定し、この工具の所定の回転速度(指令回転数S)が800min−1の場合には、この工具で加工する時に、主軸の回転速度を、800min−1に対して±15%の変動率すなわち680〜920min−1の範囲で変動させることになる。
図2に示す例では、工具番号3,6の工具についてはNCプログラムに主軸変動制御有効指令を挿入して行っている。すなわち、工具番号3の工具で加工を行うNCプログラムには、「M285 A110.0;」の指令が挿入され、工具番号6の工具で加工を行うNCプログラムには、「M285 A100.0;」の指令が挿入されている。
また、工具番号4,9の工具は、工具毎指定で主軸変動制御を指令された工具である。
【0031
次に、主軸の回転速度を変動制御する手順について、図5のフローチャートを参照して説明する。
図1から図5に示すように、工作物を工具で加工する場合には、NC加工プログラムメモリ14に記憶されているNCプログラム13を1ブロック読み取る(ステップ101)。
読み取ったブロックがTコード(たとえば、NC旋盤の場合には刃物台割出し指令など)か否かが第2の判断部52で判断される(ステップ102)。Tコードの場合には、工具毎指定(マーク「*」58で表示)が付与された指定工具か否かが判断される(ステップ103)。
【0032
指定工具の場合には、主軸の回転速度を変動制御する主軸変動制御モードを有効に設定し(ステップ104)、刃物台割出し指令が実行されたのち(ステップ105)、ステップ101に戻って次のブロックを読み取る。指定工具でない場合には、ステップ105に移行し刃物台割出しを実行した後、ステップ101に戻る。
ステップ102でTコードでない場合には、第1の判断部51は、読み取ったブロックに主軸変動制御有効指令(すなわち、M285)があるか否かを判断する(ステップ106)。有効指令がある場合には、主軸変動制御モードを有効に設定した後(ステップ107)、ステップ101に戻って次のブロックを読み取る。
ステップ106で有効指令がない場合には、第1の判断部51は、読み取ったブロックに主軸変動制御無効指令(すなわち、M286)があるか否かを判断する(ステップ108)。無効指令がある場合には、主軸変動制御モードを無効に設定した後(ステップ109)、ステップ101に戻って次のブロックを読み取る。
【0033
ステップ108で無効指令(M286)がない場合には、主軸回転指令(たとえば、M03,M04)の有無が判断され(ステップ110)、主軸回転指令である場合には、ねじ切り加工の指令か否かが判断される(ステップ111)。ねじ切り加工の場合に、主軸変動制御で加工するのは不適切であるからである。
ねじ切り加工でない場合には、主軸変動制御モードが有効に設定されているか否かが判断される(ステップ112)。主軸変動制御モードが有効に設定されている場合には、NC加工プログラムメモリ14から主軸変動制御データ演算のプログラムデータを読み出す(ステップ113)。
主軸回転速度制御部50がこの主軸変動制御データ演算用プログラムを主軸変動制御データ演算部59aで実行することにより、図6に示すような一周期波形分割数n,変動時間dt,変動回転速度dnを求める。そして、PLC60にこのデータn,dt,dnを出力する。
PLC60は、主軸変動制御指令演算部59bで変速時間毎の主軸回転速度指令値を計算し、この主軸回転速度指令値を主軸モータ制御部20に指令する。この指令により、主軸モータ制御部20が主軸モータ2の回転速度を変動制御する主軸変動制御が実行される。
これにより、主軸は、指令値Bで指定された変動率で回転速度を変動させながら回転する(ステップ114)。
【0034
ねじ切り加工の場合と(ステップ111)、主軸変動制御モードが有効に設定されていない場合には(ステップ112)、主軸回転速度指令に従って主軸は通常の所定回転速度の回転が実行される。これにより、主軸は一定の回転速度で回転する(ステップ115)。
ステップ110で主軸回転指令でない場合には、プログラムエンドの指令(すなわち、M30,M02等)であるか否かが判断される(ステップ116)。このプログラムエンド指令である場合には処理を終了し、プログラムエンド指令でない場合には、読み取ったブロックの指令を実行してステップ101に戻る(ステップ117)。すなわち、工作物を工具で旋削するための軸移動指令であれば移動を行う。
ステップ114,115が終了した後も、同様にステップ101に戻って次のブロックを読み取る処理が続行される。
【0035
なお、この主軸変動制御は、周速一定制御状態および周速一定解除状態のどちらでも有効とすることができる。
図3のNCプログラム13に従ってさらに説明を行う。
図3(a)に示すように、「T0300」を読み取ると、ステップ102,103の処理によって、工具番号3の工具が工具毎指定されていないことが判断されるので、ステップ117の読取りブロックの実行で、工具番号3の工具を加工位置に割出す(図3中の手順200)。
「M285 A110.0」を読み取ると(図3中の201)、ステップ106,107の処理によって主軸変動制御を±16.5%の変動率として有効状態とする。
「S1000 M03」を読み取ると、ステップ110,112,113,114の処理により、主軸を835〜1165min−1(1000min−1±16.5%)の幅で変動回転させる(図3中の202)。
【0036
「G01…」を読み取ると、切削送りによる移動指令であるのでステップ117の処理で切削送りにより移動し、主軸変動制御による加工が行われる(図3中の203)。
「M286」を読み取ると、主軸変動制御を無効状態とする(図3中の204)。「T0400」を読み取ると、工具毎指定された工具であることがステップ102,103の処理によって判断されるので、主軸変動制御を±15%の変動率として有効状態とする(図3中の210)。
「S1500…」を読み取ると、1350〜1650min−1(1500min−1±10%)の幅で変動回転させる(図3中の211)。
【0037
「G01…」を読み取ると切削送り速度で軸移動させて、主軸変動制御による加工が行われる(図3中の212)。「T0500」を読み取ると、工具毎指定された工具でないことが判断される(図3中の220)。
「G01…」を読み取ると、主軸変動制御モードになっていないため、主軸回転速度指令で指令された回転速度で一定回転している状態で軸移動し、旋削加工が行われる(図3中の221)。
「T0600」を読み取った場合も、「T0300」を読み取った場合の200から204までの手順と同様にして、±15%の変動率として制御される。
【0038
また、図3(b)に示すように、「T0900」を読み取ると、工具毎指定された工具であることが判断されるので、主軸変動制御有効状態とし(図3中の240)、「G01…」で主軸変動制御による加工が行われる(図3中の241)。
「M286」を読み取ると、主軸変動制御無効指令であるとともにプログラム指令を優先することになっているため、主軸変動制御を無効状態とする(図3中の242)。「G01…」で主軸変動制御を無効にした一定回転している状態で加工が行われる(図3中の243)。
【0039
主軸を一定の回転速度で回転して加工している時にびびり振動が発生した場合には、そのまま加工し続けることはできないので、オペレータはNCプログラムを一旦休止する。
ディスプレイ8の画面34で主軸変動制御画面38を選択すると、この選択により、ディスプレイ8は図2に示す主軸変動制御画面38を表示する。そして、キーボード30を操作して、びびり振動が発生した工具の番号のところにマーク58を付与するとともに、所望の変動率になるような指令値Bの数値をキーボード30から入力する。これにより、びびり振動が発生した工具に関して、主軸変動制御を有効にするための工具毎指定を入力することができる。
その後、NCプログラムをプログラム休止したブロックから再開すると、図5に示す手順に従って、この工具での旋削加工の時には、主軸変動制御が実行されてびびり振動が抑制される。
【0040
このように、本発明によれば、びびり振動の発生が前もって分かっている工具の場合には、NCプログラムに主軸変動制御有効指令を挿入して、主軸の回転速度の変動制御を行うことができる。
また、びびり振動の発生を予測していなかったが実際に加工してみるとびびり振動が発生した工具の場合には、オペレータが工具毎指定を簡単な操作で短時間のうちに行うことができる。
したがって、従来必要としていた各種設定器などを設けなくとも、実際の加工状況に応じて臨機応変にびびり振動を抑制することができ、使い勝手も良好である。
また、工具毎指定の操作が簡単であるので、熟練したオペレータでなくても操作することができる。すなわち、オペレータがNCプログラムの各指令を読めなくても操作することができる。
さらに、この加工の結果をフィードバックして、熟練したオペレータがNCプログラムに主軸変動制御有効指令および無効指令を挿入すれば、工作物とNCプログラムとの対応がとれる。
【0041
図2に示す主軸変動制御画面38を表示すれば、オペレータは、マーク58の有無,指令値Bの数値により、プログラム指令および工具毎指定に関する内容を容易に確認することができる。
なお、総合画面中にも工具番号T,指令回転数S ,実回転数S が表示されているので、総合画面の表示中も、オペレータは、主軸変動制御が現在実行されているか否かを容易に確認することができる。
【0042
この実施形態では、NC装置1側で、一周期波形分割数n,変動時間dt,変動回転速度dnを計算してPLC60に出力し、PLC60側で変動する主軸回転速度指令値を作成して、主軸モータ制御部20を制御している説明を行っているが、NC装置側で主軸変動制御に必要なデータの計算と、変動主軸回転速度指令の作成を行い、主軸モータ制御部を制御してもよい。
なお、各図中同一符号は同一または相当部分を示す。
【0043
【発明の効果】
本発明は、実際に加工を始めてみるとびびり振動が発生した場合、主軸回転速度変動制御画面を表示している状態でオペレータが工具毎指令を入力するようにしたので、オペレータが工具毎指定を簡単な操作で短時間のうちに行うことができることになり、従来必要としていた各種設定器などを設けなくとも、実際の加工状況に応じて臨機応変にびびり振動を抑制することができる。また、工具毎指定の操作が簡単であるので、熟練したオペレータでなくても操作することができる。さらに、NCプログラムに主軸変動制御有効指令が挿入されていない場合でも、所望の工具に主軸変動制御を行えるように工具毎指定を指令することができる。
【図面の簡単な説明】
【図1】 図1から図5は本発明の一実施形態を示す図で、図1はNC工作機械の制御装置(NC装置)のブロック図である。
【図2】 表示画面の説明図である。
【図3】 NC加工プログラムの一部を示す説明図である。
【図4】 入力手段を示す正面図である。
【図5】 主軸の回転速度を変動制御する手順を示すフローチャートである。
【図6】 時間と主軸回転速度との関係を示すグラフである。
【符号の説明】
1 NC装置(NC工作機械の制御装置)
2 主軸モータ(主軸用駆動体)
7 入力手段
8 ディスプレイ(表示手段)
38 主軸回転速度変動制御画面
50 主軸回転速度制御部
51 第1の判断部
52 第2の判断部
T 工具番号
M285 主軸変動制御有効指令(主軸変動制御用補助機能指令)
M286 主軸変動制御無効指令(主軸変動制御用補助機能指令)
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a control device for controlling an NC (numerical control) machine tool to suppress chatter vibration generated during machining.
[0002]
[Prior art]
  NC machine tools such as an NC lathe and a machining center (hereinafter referred to as MC) are controlled by an NC device incorporating a computer. The NC device stores an NC machining program (hereinafter referred to as an NC program) for performing various machinings in an NC machining program memory.
  When performing a machining operation, a necessary NC program is called from the NC machining program memory, and the workpiece is machined by controlling the relative position between the workpiece and the tool.
[0003]
  During this processing, there is a case where “chatter vibration” in which the tool or the like vibrates is affected by the rigidity of the workpiece or the tool, the shape of the tool, the cutting processing conditions, or the like. For example, it is said that most of chatter vibration generated during rough machining is self-excited chatter vibration (so-called regenerative chatter) due to a multiple regenerative effect.
  In this regenerative chatter, a minute vibration is initially amplified and enlarged by the influence of the trajectory of the previous cutting surface every time the main shaft makes one rotation, and becomes so large that cutting is impossible. It is vibration.
[0004]
  As a countermeasure for suppressing the regenerative chatter vibration, a technique for changing the rotational speed of the main shaft has already been proposed in Japanese Patent Laid-Open No. 49-105277.
  In Japanese Utility Model Publication No. 61-3522, an auxiliary function code is used to instruct whether or not to change the rotation speed (ie, rotation speed) of the main spindle, and the fluctuation cycle and fluctuation width are set with a setting device for each tool. However, a technique related to a mirror finishing apparatus using a general-purpose numerically controlled lathe that performs mirror surface machining by rotating a main shaft at a variable speed when chatter vibration occurs during finishing machining is disclosed.
[0005]
[Problems to be solved by the invention]
  However, according to the technique described in Japanese Utility Model Publication No. 61-3522, various setting devices must be provided for each tool in order to suppress chatter vibration. In addition, if chatter vibration occurs during machining, it is necessary to adjust the fluctuation range of the spindle rotation speed according to the machining status, or to switch between valid and invalid fluctuations in the spindle rotation speed. Is troublesome.
  For example, when chatter vibration occurs, the operator interrupts the execution of the program, searches for the execution location of the NC program in which chatter vibration has occurred, edits the NC program, and inserts a necessary auxiliary function code. Had to do.
  Further, since this editing operation is difficult to perform unless an operator who is skilled in the operation of the NC apparatus, there has been a demand for a method that can be easily operated even by an unskilled operator.
[0006]
  The present invention has been made to solve such a problem, and an object of the present invention is to provide an NC machine tool control device capable of suppressing chatter vibration during machining with a simple operation.
[0007]
[Means for Solving the Problems]
  In order to achieve the above-described object, a control apparatus for an NC machine tool according to the present invention includes a spindle rotation speed control unit capable of controlling a spindle of an NC machine tool to a predetermined rotation speed by a spindle driving body, and rotation of the spindle. A first determination unit that determines whether or not there is a spindle fluctuation control auxiliary function command for validating or invalidating the spindle rotation speed fluctuation control for changing the speed within a predetermined fluctuation range with respect to the commanded rotation speed; A second determination unit that determines whether or not there is a command for each tool that designates the spindle rotational speed fluctuation control as valid or invalid for each tool used in the NC machine tool; the first determination unit; and the second determination unit When at least one of the determination units determines that the spindle rotational speed fluctuation control is effective, the spindle rotational speed control section performs fluctuation control of the spindle rotational speed.A display device capable of displaying a spindle rotational speed fluctuation control screen that displays whether or not the spindle rotational speed fluctuation control is valid corresponding to a tool number of the tool used in the NC machine tool; An input means capable of inputting at least the tool-by-tool command, and when chatter vibrations occur when machining is actually started, the operator can input the command-by-tool command while the spindle rotational speed fluctuation control screen is displayed. To enter.
0008]
  It is preferable that the auxiliary function command for spindle fluctuation control can add a fluctuation rate of the rotational speed of the spindle.
  It is preferable that a fluctuation rate of the rotation speed of the spindle can be added to the command for each tool input in a state where the spindle rotation speed fluctuation control screen is displayed.
0009]
DETAILED DESCRIPTION OF THE INVENTION
  Hereinafter, an example of an embodiment according to the present invention will be described with reference to FIGS.
  FIG. 1 is a block diagram of a control device (NC device) for an NC machine tool according to an embodiment of the present invention, and FIG. 2 is a state in which validity / invalidity of predetermined spindle rotational speed fluctuation control is given corresponding to a tool number. FIG. 3 is an explanatory diagram showing a part of the NC machining program, FIG. 4 is a front view showing the input means, and FIG. 6 is a graph showing the relationship between time and spindle rotational speed.
  As shown in FIGS. 1 to 4, an NC apparatus (numerical control apparatus) 1 performs machining by controlling NC machine tools such as an NC lathe, MC (machining center), turning center, and grinding machine.
  In the present embodiment, a case where a workpiece is turned by an NC lathe will be described as an example, but another NC machine tool may be used.
0010]
  The NC lathe controlled by the NC apparatus 1 includes a main shaft motor 2 as a main shaft driving body that rotates the main shaft directly or via a rotational driving force transmission means such as a gear train, and servos for the Z axis and the X axis. Motors 4, 3 and the like.
  The servo motors 4 and 3 for the Z-axis and the X-axis each have a turret attached to the turret so that the tool used in the NC lathe can be indexed, and the Z direction parallel to the spindle axis and the Z axis direction. Are moved in the X-axis direction perpendicular to the axis.
  Then, the workpiece is turned by moving the tool on the tool post in the Z-axis direction and the X-axis direction with respect to the workpiece gripped and rotated by the chuck attached to the tip of the spindle.
0011]
  The NC device 1 has a function of suppressing chatter vibration during turning by varying the rotational speed of the main spindle of the NC lathe. The NC device 1 is centrally controlled by a CPU (Central Processing Unit) 5, and a bus line 6 is connected to the CPU 5.
  An input unit 7 for an operator to operate the NC device 1 to input data, commands, and the like, and a display 8 as a display unit for displaying characters, figures, tables, etc. are connected via interfaces 9 and 10, respectively. It is connected to the bus line 6.
  As the display means, for example, a liquid crystal display, an EL panel, a cathode ray tube (CRT) or the like is used, and a keyboard 30, a touch panel or the like is used as the input means 7.
0012]
  The bus line 6 temporarily stores various data such as parameters and a ROM 11 storing a system program for numerically controlling each moving part of the NC lathe, and loaded with various programs and data. A RAM 12 and an NC machining program memory 14 storing one or a plurality of NC programs (NC machining programs) 13 are connected.
  The CPU 5 operates according to a system program, various programs, and data loaded in the RAM 12.
  The NC program 13 for performing various types of machining of workpieces with an NC lathe is used for moving / positioning data, which is a tool trajectory for obtaining a desired finished shape, data such as spindle rotation speed and feed speed, and the use of cutting fluid. It is a program that combines commands such as presence / absence.
0013]
  The spindle motor 2 is connected to a spindle motor control unit 20 connected to the bus line 6 via an amplifier 21, and a spindle rotation speed command (S ***), a spindle clockwise rotation command (M03), and the like. The spindle is driven to rotate according to
  The rotation speed (rotation speed) of the spindle motor 2 is always detected by the spindle motor detector 22, and the output signal from the detector 22 is fed back to the amplifier 21, so that the spindle motor 2 is instructed to the prescribed rotation. Controlled to be speed.
0014]
  The X-axis servo motor 3 is connected to an X-axis moving axis control unit 23 connected to the bus line 6 via an amplifier 24, and the tool post is moved relative to the main axis in accordance with the movement command. Move / position control in the direction.
  The velocity data and position data output from the X-axis detector 25 are fed back as feedback signals to the movement axis control unit 23 and the amplifier 24, and the relative movement of the tool post in the X-axis direction and the movement speed are predetermined. It is controlled to become a value.
  Similarly to the X-axis servomotor 3, the Z-axis servomotor 4 is connected to a Z-axis moving axis control unit 26 connected to the bus line 6 via an amplifier 27. The Z-axis servomotor 4 controls the movement / positioning of the tool post relative to the main axis in the Z-axis direction. Speed data and position data output from the Z-axis detector 28 are fed back to the moving axis control unit 26 and the amplifier 27.
0015]
  The input means 7 is used for inputting data, commands, and the like of the NC device 1, and a display 8 is disposed on the input means 7. The input means 7 includes a keyboard 30 on which a large number of keys are arranged, and a function key section 31 disposed on the upper portion of the keyboard 30. The function key section 31 includes a plurality of function keys F for selecting a function.1 ~ F9 Are arranged.
  On the keyboard 30, there are arranged cursor keys 32, page keys 33, input keys 35 used for inputting data to be displayed on a display screen (hereinafter referred to as a screen) 34, and the like.
0016]
  The cursor key 32 is a key for moving the cursor 36 on the screen 34 displayed on the display 8 in the vertical and horizontal directions. The page key 33 is a key for turning the page forward or backward when displaying correction data over a plurality of pages. Further, the keyboard 30 is arranged with numeric keys 41, alphabetic keys 42, and the like.
  A function display unit 43 is displayed at the bottom of the screen 34. If any function key at a position corresponding to the function displayed on the function display unit 43 is turned on (pressed), the function is executed, and the display on the screen 34 is switched as necessary.
0017]
  As shown in FIG. 2, the display 8 displays a spindle rotation speed fluctuation control screen (hereinafter referred to as “main spindle fluctuation control”) indicating whether or not the spindle rotation speed fluctuation control (hereinafter referred to as “main spindle fluctuation control”) is effective in correspondence with the tool number T of the tool. , Described as a spindle fluctuation control screen) 38 can be displayed. On the spindle fluctuation control screen 38, a spindle rotational speed fluctuation control list (hereinafter referred to as a spindle fluctuation control list) 37 is displayed.
  Function key F8 When the function display section 43 corresponding to is displayed as “function return”, the function key F8 When is turned on, the display returns to the function display (for example, the general screen (not shown)) before displaying the spindle fluctuation control screen 38.
0018]
  The spindle fluctuation control list 37 in the spindle fluctuation control screen 38 displays data such as a command value B for designating a tool type, a tool name, and a fluctuation rate of the spindle fluctuation control corresponding to the tool number T. is doing.
  The lower part of the spindle fluctuation control list 37 shows the tool number T currently used.1, Commanded speed (command speed [min-1] S1 ), Actual rotational speed (actual rotational speed [min-1] S2 ) Etc. are displayed in real time.
  Even when the screen 34 is a general screen, the command rotational speed S1 , Actual rotation speed S2 Is displayed in the general screen.
  A key input display area 44 is provided at the bottom of the screen 34, and alphanumeric characters or the like input from the keyboard 30 are displayed in this area 44.
  When selecting a tool in the spindle fluctuation control list 37, the cursor key 32 and the page key 33 are operated to move the cursor 36 to the desired tool number.
0019]
  In this embodiment, in order to suppress chatter vibration during machining, control for varying the rotation speed of the spindle at a predetermined fluctuation rate is performed by specifying a program command specified by a program command and a rotation speed of the spindle during machining by a specified tool. It can be performed with either one or both of the commands for each tool to be changed.
  The program command is issued by inserting into the program a command to perform spindle fluctuation control that fluctuates with a predetermined fluctuation range with respect to the rotation speed in the case of a tool whose chatter vibration is known in advance during machining. It will be. When there is both a program command and a tool-by-tool command, the program command has priority.
0020]
  In the case of a program command, the spindle fluctuation control auxiliary function command inserted into the NC program 13 includes a command for enabling spindle fluctuation control (for example, M285) and a command for invalidating spindle fluctuation control (for example, M286). )
  The auxiliary function command for spindle fluctuation control can add a fluctuation rate of the rotational speed of the spindle. In the case of the spindle fluctuation control valid command, a command for the fluctuation rate of the rotational speed of the spindle (that is, a value corresponding to the command value B) can be issued. When the command value B is not commanded, a predetermined variation rate is automatically set.
  Between this valid command and the spindle fluctuation control invalidation command, the spindle fluctuation control is automatically executed with the command value B of the program command, and the rotation speed of the spindle fluctuates at a predetermined fluctuation rate.
0021]
  On the other hand, when chatter vibration cannot be predicted and chatter vibration occurs when machining is actually started, the operator switches the screen 34 to the spindle fluctuation control screen 38 and specifies a tool.
  That is, even when the spindle fluctuation control valid command is not inserted in the NC program 13, designation of each tool can be commanded so that spindle fluctuation control can be performed on a desired tool. Even a command for each tool input in a state where the spindle fluctuation control screen 38 is displayed can be added by setting the fluctuation rate of the rotation speed of the spindle.
  When each tool is designated, the T code of the designated tool is executed during machining, and when the spindle rotation command is executed, fluctuation control of the spindle rotation speed is executed, and the spindle rotation speed is set to a predetermined value. It fluctuates at the rate of change.
0022]
  The NC device 1 includes a main shaft rotation speed control unit 50 and first and second determination units 51 and 52. The main shaft rotation speed control unit 50 is a main shaft fluctuation control data calculation unit capable of performing fluctuation control on the rotation speed of the main shaft. 59a and a spindle fluctuation control command calculation unit 59b in a PLC (programmable logic controller) 60. The spindle fluctuation control data calculation unit 59a and the PLC 60 are connected to the bus line 6, respectively.
  The main shaft rotational speed control unit 50 can control the main shaft to a predetermined rotational speed by the main shaft motor 2. The spindle fluctuation control data calculation unit 59a obtains the one-cycle waveform division number n, the fluctuation time dt, and the fluctuation rotation speed dn (see FIG. 6), which are data for fluctuation control of the spindle from the spindle rotation speed command, fluctuation rate, and the like. The calculation is performed and the data is sent to the spindle fluctuation control command calculation unit 59b of the PLC 60. The horizontal axis of the graph shown in FIG. 6 is time t, and the vertical axis is the spindle rotational speed N.
  The spindle fluctuation control command calculation unit 59b calculates a spindle rotation speed command value for changing the spindle according to the data and outputs the spindle rotation speed command value to the spindle motor control unit 20 to perform spindle fluctuation control for changing the spindle motor 2 at a predetermined fluctuation rate. Do.
0023]
  The first and second determination units 51 and 52 are each connected to the bus line 6. The first determination unit 51 is inserted into the spindle fluctuation control auxiliary function command (that is, inserted into the NC program 13) for validating or invalidating the spindle fluctuation control for changing the commanded rotational speed with a predetermined fluctuation range. Whether there is a spindle fluctuation control valid command or spindle fluctuation control invalid command).
  The second determination unit 52 determines whether or not there is a tool-by-tool command for instructing valid designation or invalid designation of the spindle fluctuation control set for each tool by operating the input means 7 from the spindle fluctuation control screen 38.
0024]
  When at least one of the first and second determination units 51 and 52 determines that the main shaft fluctuation control is valid, the main shaft rotation speed control unit 50 controls the main shaft rotation speed to control the main shaft fluctuation control. The chatter vibration is suppressed.
  The spindle rotational speed control unit 50 performs control to give priority to the determination of the first determination unit 51 when both the first determination unit 51 and the second determination unit 52 determine that the spindle fluctuation control is effective. Is going.
  Therefore, when there is both a program command and a tool-by-tool command, the spindle fluctuation control auxiliary function command inserted in the NC program 13 has priority, so that the spindle rotation speed is set at a predetermined fluctuation rate as instructed by the operator. Variable control is possible. That is, it is possible to issue a command for a machining location where variation control is performed and a machining location where variation control is not performed even with the same tool.
0025]
  Furthermore, the NC device 1 includes a spindle fluctuation control data control unit 54. The spindle fluctuation control data control unit 54 displays the spindle fluctuation control list 37 displaying the spindle fluctuation control data corresponding to the tool number T in the form of a list on the spindle fluctuation control screen 38 and the spindle fluctuation control. Control to store data in the spindle fluctuation control data memory 53 is performed. The spindle fluctuation control data control unit 54 and the spindle fluctuation control data memory 53 are each connected to the bus line 6.
  As described above, the NC device 1 capable of suppressing chatter vibration during machining includes the spindle rotation speed control unit 50, the first and second determination units 51 and 52, the spindle fluctuation control data control unit 54, and the spindle fluctuation control. A data memory 53 is provided.
0026]
  Next, a method for specifying a tool will be described.
  By operating the cursor key 32, the page key 33, etc., the cursor 36 is moved to the position of the desired tool number T in the spindle fluctuation control list 37 to select a tool.
  The spindle fluctuation control data control unit 54 displays the number of validly designated tools among the tool numbers displayed in the tool number T column of the spindle fluctuation control list 37 as an indication of valid designation or invalid designation for each tool. A predetermined mark (for example, an asterisk “*”) 58 is given and displayed in the vicinity of.
  That is, by displaying the mark 58 at the specified tool number on the spindle fluctuation control screen 38 displaying the spindle fluctuation control list 37, it can be confirmed that the spindle fluctuation control of this tool has been effectively designated.
  In addition, the spindle fluctuation control data control unit 54 stores the fact that the effective designation has been selected in the spindle fluctuation control data memory 53 in association with this tool number.
  Note that other display methods indicating valid designation may be, for example, a method of changing the color of a tool number designated as valid, a method of performing reverse display of numbers, characters, etc. indicating tool numbers.
0027]
  When the mark 58 is added, after the cursor 36 is positioned at the desired tool number, the function key F at the position corresponding to “setting” on the function display unit 43 is displayed.1 Turn on. Then, a mark 58 is displayed at the desired tool number. The setting is stored in the spindle fluctuation control data memory 53.
  On the other hand, when erasing data such as the desired tool mark 58 and the command value B, the function key F corresponding to the position of “data erasure” on the function display unit 43 is used.7 When is turned on, the mark 58 in the spindle fluctuation control list 37 on the screen 34 is deleted.
  Further, the spindle fluctuation control data memory 53 stores the fact that this tool is invalidated in correspondence with this tool number. That is, the valid designation data corresponding to the tool number is deleted. Further, the data (the desired tool mark 58 and the command value B, etc.) may be erased collectively or individually.
  If an operation for confirming whether or not the “setting” and “data erasing” operations are valid is performed, there is no risk of an operation error.
0028]
  In order to designate the fluctuation rate of the rotation speed of the spindle by specifying each tool, for example, the cursor 36 is moved to the position of the command value B at the desired tool number T in the spindle fluctuation control list 37 on the spindle fluctuation control screen 38. After the movement, a numerical value is input with the keyboard 30. This numerical value is also stored in a predetermined storage area corresponding to the tool number in the spindle fluctuation control data memory 53.
  Thereby, a desired variation rate can be set. An example of the variation rate corresponding to the command value B is shown below.
  (Command value B) (Variation rate)
      50.0 → ± 7.5%
    100.0 → ± 15%
    110.0 → ± 16.5%
    200.0 → ± 30%
0029]
  In addition, when the fluctuation rate of the rotation speed of the spindle is designated by the spindle fluctuation control valid command, the fluctuation rate designation value may be programmed following the spindle fluctuation control valid command. For example, if “M285 A100.0;” is programmed, the spindle fluctuation control is effectively commanded with a fluctuation rate of ± 15%. For the spindle fluctuation control valid command and the like, the fluctuation rate is stored in the spindle fluctuation control data memory 53 when this command is executed.
  If the command value B for the fluctuation rate is not designated, the command value B is automatically set to “100.0”.
  Furthermore, in this embodiment, the change rate is obtained by calculating the command value, but the change rate value may be directly specified. For example, the value 15.0 of the command value B may be a variation rate ± 15%.
0030]
  For example, the command value B is set to 100.0 for the tool with the tool number 4, and a predetermined rotational speed (command rotational speed S) of this tool is set.1) Is 800min-1In this case, when machining with this tool, the rotational speed of the spindle is set to 800 min.-1± 15% variation rate, that is, 680 to 920 min-1It will fluctuate within the range.
  In the example shown in FIG. 2, the tool numbers 3 and 6 are executed by inserting a spindle fluctuation control valid command into the NC program. That is, the command “M285 A110.0;” is inserted into the NC program that performs machining with the tool of tool number 3, and “M285 A100.0;” is entered into the NC program that performs machining with the tool of tool number 6. Is inserted.
  In addition, the tools of the tool numbers 4 and 9 are tools for which spindle fluctuation control is commanded by designation for each tool.
0031]
  Next, a procedure for performing fluctuation control on the rotation speed of the spindle will be described with reference to the flowchart of FIG.
  As shown in FIGS. 1 to 5, when machining a workpiece with a tool, one block of the NC program 13 stored in the NC machining program memory 14 is read (step 101).
  Whether or not the read block is a T code (for example, a tool post index command in the case of an NC lathe) is determined by the second determination unit 52 (step 102). In the case of the T code, it is determined whether or not it is a designated tool assigned with designation for each tool (indicated by a mark “*” 58) (step 103).
0032]
  In the case of a designated tool, the spindle fluctuation control mode for fluctuating and controlling the rotation speed of the spindle is set to be effective (step 104), the tool post indexing command is executed (step 105), and the process returns to step 101 to continue. Read the block. If the tool is not a designated tool, the process proceeds to step 105 to execute the tool post indexing, and then returns to step 101.
  If it is not the T code in step 102, the first determination unit 51 determines whether or not the spindle fluctuation control valid command (that is, M285) is in the read block (step 106). If there is a valid command, after the spindle fluctuation control mode is set to valid (step 107), the process returns to step 101 to read the next block.
  If there is no valid command in step 106, the first determination unit 51 determines whether or not there is a spindle fluctuation control invalid command (that is, M286) in the read block (step 108). If there is an invalid command, after setting the spindle fluctuation control mode to invalid (step 109), the process returns to step 101 to read the next block.
0033]
  If there is no invalid command (M286) in step 108, it is determined whether or not there is a spindle rotation command (for example, M03, M04) (step 110). If it is a spindle rotation command, whether or not it is a threading command? Is determined (step 111). This is because in the case of threading, it is inappropriate to perform machining with spindle fluctuation control.
  If it is not thread cutting, it is determined whether or not the spindle fluctuation control mode is set to be effective (step 112). When the spindle fluctuation control mode is set to be effective, program data for spindle fluctuation control data calculation is read from the NC machining program memory 14 (step 113).
  The spindle rotation speed control unit 50 executes this spindle fluctuation control data calculation program in the spindle fluctuation control data calculation unit 59a, whereby the one-cycle waveform division number n, the fluctuation time dt, and the fluctuation rotation speed dn as shown in FIG. Ask for. The data n, dt, and dn are output to the PLC 60.
  The PLC 60 calculates a spindle rotation speed command value for each shift time by the spindle fluctuation control command calculation unit 59b, and commands the spindle rotation speed command value to the spindle motor control unit 20. By this command, the spindle motor control unit 20 performs spindle fluctuation control in which the rotational speed of the spindle motor 2 is fluctuated.
  As a result, the spindle rotates while changing the rotation speed at the change rate specified by the command value B (step 114).
0034]
  In the case of threading (step 111) and when the spindle fluctuation control mode is not set to be effective (step 112), the spindle is rotated at a normal predetermined rotation speed in accordance with the spindle rotation speed command. As a result, the main shaft rotates at a constant rotational speed (step 115).
  If it is not a spindle rotation command in step 110, it is determined whether it is a program end command (ie, M30, M02, etc.) (step 116). If it is a program end command, the process is terminated. If it is not a program end command, the command of the read block is executed and the process returns to step 101 (step 117). That is, if an axis movement command for turning a workpiece with a tool is used, the workpiece is moved.
  Even after steps 114 and 115 are completed, the process returns to step 101 and the process of reading the next block is continued.
0035]
  This spindle fluctuation control can be effective in either the constant peripheral speed control state or the constant peripheral speed release state.
  Further description will be given according to the NC program 13 of FIG.
  As shown in FIG. 3A, when “T0300” is read, it is determined by the processing in steps 102 and 103 that the tool of tool number 3 is not designated for each tool. In execution, the tool of tool number 3 is indexed to the machining position (procedure 200 in FIG. 3).
  When "M285 A110.0" is read (201 in FIG. 3), the spindle fluctuation control is enabled with a fluctuation rate of ± 16.5% by the processing of steps 106 and 107.
  When “S1000 M03” is read, the spindle is moved from 835 to 1165 min by the processing of steps 110, 112, 113, and 114.-1(1000min-1The rotation is fluctuated with a width of ± 16.5% (202 in FIG. 3).
0036]
  When “G01...” Is read, it is a movement command by cutting feed, so that it moves by cutting feed in the process of step 117, and machining by spindle fluctuation control is performed (203 in FIG. 3).
  When “M286” is read, the spindle fluctuation control is disabled (204 in FIG. 3). When “T0400” is read, it is determined by the processing in steps 102 and 103 that the tool is designated for each tool, so that the spindle fluctuation control is enabled with a fluctuation rate of ± 15% (210 in FIG. 3). ).
  Reading "S1500 ..." 1350-1650min-1(1500min-1The rotation is fluctuated by a width of ± 10% (211 in FIG. 3).
0037]
  When “G01...” Is read, the shaft is moved at the cutting feed speed, and machining by the spindle fluctuation control is performed (212 in FIG. 3). When “T0500” is read, it is determined that the tool is not the designated tool (220 in FIG. 3).
  When “G01...” Is read, since the spindle fluctuation control mode is not set, the axis is moved in a state of constant rotation at the rotation speed commanded by the spindle rotation speed command, and turning is performed (in FIG. 3). 221).
  Even when “T0600” is read, the variation rate is controlled to be ± 15% in the same manner as the procedure from 200 to 204 when “T0300” is read.
0038]
  Also, as shown in FIG. 3B, when “T0900” is read, it is determined that the tool is designated for each tool, so that the spindle fluctuation control is enabled (240 in FIG. 3), and “G01” ... "is performed by spindle fluctuation control (241 in FIG. 3).
  When “M286” is read, since it is a spindle fluctuation control invalidation command and the program command is given priority, the spindle fluctuation control is invalidated (242 in FIG. 3). Machining is performed in a state of constant rotation with “G01...” Invalidating the spindle fluctuation control (243 in FIG. 3).
0039]
  If chatter vibration occurs when machining is performed while rotating the spindle at a constant rotational speed, machining cannot be continued as it is, so the operator temporarily stops the NC program.
  When the spindle fluctuation control screen 38 is selected on the screen 34 of the display 8, the display 8 displays the spindle fluctuation control screen 38 shown in FIG. Then, by operating the keyboard 30, a mark 58 is given to the number of the tool where chatter vibration has occurred, and a numerical value of the command value B that gives a desired variation rate is input from the keyboard 30. Thereby, for each tool in which chatter vibration has occurred, designation for each tool for enabling spindle fluctuation control can be input.
  After that, when the NC program is resumed from the block where the program has been suspended, according to the procedure shown in FIG. 5, at the time of turning with this tool, spindle fluctuation control is executed to suppress chatter vibration.
0040]
  As described above, according to the present invention, in the case of a tool in which the occurrence of chatter vibration is known in advance, it is possible to perform fluctuation control of the rotational speed of the spindle by inserting the spindle fluctuation control valid command into the NC program. .
  In addition, in the case of a tool that did not predict the occurrence of chatter vibration but chatter vibration occurred when actually processed, the operator can specify each tool in a short time with a simple operation. .
  Therefore, chatter vibration can be suppressed flexibly according to the actual machining situation without providing various setting devices that have been conventionally required, and the usability is also good.
  Further, since the operation for designating each tool is simple, the operation can be performed even by an unskilled operator. That is, the operation can be performed even if the operator cannot read each command of the NC program.
  Furthermore, if the result of this machining is fed back and a skilled operator inserts the spindle fluctuation control valid command and invalid command into the NC program, the workpiece can be matched with the NC program.
0041]
  If the spindle fluctuation control screen 38 shown in FIG. 2 is displayed, the operator can easily confirm the contents related to the program command and the designation for each tool by the presence / absence of the mark 58 and the numerical value of the command value B.
  Note that the tool number T and the command speed S are also displayed on the general screen.1 , Actual rotation speed S2 Is displayed, the operator can easily confirm whether or not the spindle fluctuation control is currently being executed even during the display of the general screen.
0042]
  In this embodiment, the NC device 1 side calculates the number of one-cycle waveform divisions n, the fluctuation time dt, and the fluctuation rotation speed dn, outputs them to the PLC 60, creates a spindle rotation speed command value that fluctuates on the PLC 60 side, Although the explanation of controlling the spindle motor control unit 20 has been given, the NC device side calculates the data necessary for spindle fluctuation control and creates a fluctuation spindle rotation speed command, and controls the spindle motor control part. Also good.
  In the drawings, the same reference numerals denote the same or corresponding parts.
0043]
【The invention's effect】
  The present inventionWhen chatter vibration occurs when machining is actually started, the operator inputs the command for each tool while the main spindle rotation speed fluctuation control screen is displayed. Therefore, chatter vibration can be suppressed flexibly according to the actual machining situation without providing various setting devices that have been required in the past. Further, since the operation for designating each tool is simple, the operation can be performed even by an unskilled operator. Furthermore, even when the spindle fluctuation control valid command is not inserted in the NC program, it is possible to command designation of each tool so that spindle fluctuation control can be performed on a desired tool.
[Brief description of the drawings]
FIG. 1 to FIG. 5 are diagrams showing an embodiment of the present invention, and FIG. 1 is a block diagram of a control device (NC device) of an NC machine tool.
FIG. 2 is an explanatory diagram of a display screen.
FIG. 3 is an explanatory diagram showing a part of an NC machining program.
FIG. 4 is a front view showing input means.
FIG. 5 is a flowchart showing a procedure for fluctuating and controlling the rotation speed of the main shaft.
FIG. 6 is a graph showing the relationship between time and spindle rotation speed.
[Explanation of symbols]
    1 NC device (NC machine tool control device)
    2 Spindle motor (spindle drive)
    7 Input means
    8 Display (display means)
    38 Spindle speed fluctuation control screen
    50 Spindle speed controller
    51 First determination unit
    52 Second determination unit
    T Tool number
    M285 Spindle fluctuation control valid command (auxiliary function command for spindle fluctuation control)
    M286 Spindle fluctuation control invalid command (auxiliary function command for spindle fluctuation control)

Claims (3)

NC工作機械の主軸を主軸用駆動体によって所定の回転速度に制御可能な主軸回転速度制御部と、
前記主軸の回転速度を、指令された回転速度に対して所定の変動幅で変動させる主軸回転速度変動制御を有効または無効とするための主軸変動制御用補助機能指令の有無を判断する第1の判断部と、
前記NC工作機械で使用する工具毎に前記主軸回転速度変動制御を有効指定または無効指定とする工具毎指令の有無を判断する第2の判断部とを備え、
前記第1の判断部および前記第2の判断部の少なくとも一方が、前記主軸回転速度変動制御が有効であると判断したとき、前記主軸回転速度制御部によって前記主軸の回転速度の変動制御を行う制御装置であって、
前記NC工作機械で使用する前記工具の工具番号に対応させて前記主軸回転速度変動制御が有効か否かを表示する主軸回転速度変動制御画面を表示可能な表示手段と、少なくとも前記工具毎指令の入力が可能な入力手段とを備え、
実際に加工を始めてみるとびびり振動が発生した場合、前記主軸回転速度変動制御画面を表示している状態でオペレータが前記工具毎指令を入力するようにしたことを特徴とするNC工作機械の制御装置。
A spindle rotational speed control unit capable of controlling the spindle of the NC machine tool to a predetermined rotational speed by a spindle driving body;
Determining whether or not there is a spindle fluctuation control auxiliary function command for validating or invalidating the spindle rotation speed fluctuation control for changing the rotation speed of the spindle with a predetermined fluctuation width with respect to the commanded rotation speed; A determination unit;
A second determination unit for determining whether or not there is a tool-by-tool command for validly specifying or invalidating the spindle rotational speed fluctuation control for each tool used in the NC machine tool,
When at least one of the first determination unit and the second determination unit determines that the spindle rotation speed fluctuation control is effective, the spindle rotation speed control section performs fluctuation control of the rotation speed of the spindle. A control device,
Display means capable of displaying a spindle rotation speed fluctuation control screen for displaying whether or not the spindle rotation speed fluctuation control is valid corresponding to the tool number of the tool used in the NC machine tool, and at least the command for each tool. Input means capable of input,
An NC machine tool control wherein an operator inputs the command for each tool while the main spindle rotational speed fluctuation control screen is displayed when chatter vibration occurs when machining is actually started. apparatus.
前記主軸変動制御用補助機能指令は、前記主軸の回転速度の変動率を付加させることができるものであることを特徴とする請求項1に記載のNC工作機械の制御装置。2. The NC machine tool control device according to claim 1, wherein the spindle fluctuation control auxiliary function command can add a fluctuation rate of a rotation speed of the spindle. 3. 前記主軸回転速度変動制御画面を表示している状態で入力する前記工具毎指令には、前記主軸の回転速度の変動率を付加させることができるものであることを特徴とする請求項に記載のNC工作機械の制御装置。Wherein the spindle speed variation control screen each of the tool command be entered in the condition of displaying the claim 1, characterized in that as it can be added to change rate of the rotational speed of the spindle NC machine tool controller.
JP31992298A 1998-10-24 1998-10-24 NC machine tool controller Expired - Fee Related JP4059411B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31992298A JP4059411B2 (en) 1998-10-24 1998-10-24 NC machine tool controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31992298A JP4059411B2 (en) 1998-10-24 1998-10-24 NC machine tool controller

Publications (2)

Publication Number Publication Date
JP2000126991A JP2000126991A (en) 2000-05-09
JP4059411B2 true JP4059411B2 (en) 2008-03-12

Family

ID=18115738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31992298A Expired - Fee Related JP4059411B2 (en) 1998-10-24 1998-10-24 NC machine tool controller

Country Status (1)

Country Link
JP (1) JP4059411B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3926739B2 (en) 2002-12-27 2007-06-06 オークマ株式会社 Threading control method and apparatus
JP4755846B2 (en) * 2005-05-11 2011-08-24 株式会社アマダ Grinding method and grinding machine
JP5674449B2 (en) * 2010-12-21 2015-02-25 オークマ株式会社 Machine Tools
JP5507410B2 (en) * 2010-10-20 2014-05-28 オークマ株式会社 Method and apparatus for monitoring spindle rotational speed in machine tool, machine tool
JP5665047B2 (en) 2010-10-27 2015-02-04 オークマ株式会社 Machine Tools
JP5705074B2 (en) 2011-09-20 2015-04-22 オークマ株式会社 Method and apparatus for monitoring rotational speed of rotating shaft in machine tool, machine tool
JP5908342B2 (en) * 2012-05-17 2016-04-26 オークマ株式会社 Machining vibration suppression method and machining vibration suppression device for machine tool
JP6139392B2 (en) 2013-12-11 2017-05-31 国立大学法人 東京大学 Processing method
JP6243260B2 (en) 2013-12-16 2017-12-06 国立大学法人 東京大学 Spindle motor control device
JP6442327B2 (en) 2015-03-06 2018-12-19 国立大学法人 東京大学 Machine tool and processing method of workpiece
WO2022196645A1 (en) * 2021-03-18 2022-09-22 ファナック株式会社 Machine tool controller
JP7345525B1 (en) * 2021-08-10 2023-09-15 Dmg森精機株式会社 speed regulator

Also Published As

Publication number Publication date
JP2000126991A (en) 2000-05-09

Similar Documents

Publication Publication Date Title
EP1195665B1 (en) Apparatus and method for setting control parameters of machining apparatus
US4604705A (en) Numerical control machining method and system therefor
JP4059411B2 (en) NC machine tool controller
US5315503A (en) Numerical control apparatus having a teaching function and a method of teaching a machining program thereby
JPH0248378B2 (en)
US5595525A (en) Numerically controlled grinding machine
US5327350A (en) Interactive type numerical control apparatus and method thereof
US5453674A (en) Numerical control apparatus
JPS624551A (en) Automatic drawing system of tool configuration
JP4639058B2 (en) Threading machine
US7136718B2 (en) Numerical control apparatus
JPH0746287B2 (en) Numerical control device
JP2606714B2 (en) Numerical control unit
US5060163A (en) Programming apparatus for lathes
JP4286940B2 (en) NC machining program creation method and apparatus for machine tools
JPS6147652B2 (en)
WO2024090371A1 (en) Nc program creation
JPH1165635A (en) Numerical controller with teaching playback function
JPS61257740A (en) Tool selection system
JPH01205954A (en) Automatic determination device for tool route of machine tool
JPS61241043A (en) Creation system of machining data
JPH11165238A (en) Feed speed control method in numerical control and device thereof
EP0394454A1 (en) Surface notching
JPH05265532A (en) Method for setting limit data in numerical controller
JPH05237741A (en) Nc data originating method

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20050908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070829

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071214

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131228

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees