[go: up one dir, main page]

JP2004261934A - Machine tool control method and machine tool - Google Patents

Machine tool control method and machine tool Download PDF

Info

Publication number
JP2004261934A
JP2004261934A JP2003055973A JP2003055973A JP2004261934A JP 2004261934 A JP2004261934 A JP 2004261934A JP 2003055973 A JP2003055973 A JP 2003055973A JP 2003055973 A JP2003055973 A JP 2003055973A JP 2004261934 A JP2004261934 A JP 2004261934A
Authority
JP
Japan
Prior art keywords
spindle
tool
warm
edge position
cutting edge
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
JP2003055973A
Other languages
Japanese (ja)
Other versions
JP4245375B2 (en
Inventor
Jun Yoshida
順 吉田
Hiroshi Kawana
啓 川名
Yasuhiro Kurahashi
康浩 倉橋
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.)
Makino Milling Machine Co Ltd
Original Assignee
Makino Milling Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Makino Milling Machine Co Ltd filed Critical Makino Milling Machine Co Ltd
Priority to JP2003055973A priority Critical patent/JP4245375B2/en
Publication of JP2004261934A publication Critical patent/JP2004261934A/en
Application granted granted Critical
Publication of JP4245375B2 publication Critical patent/JP4245375B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Machine Tool Sensing Apparatuses (AREA)

Abstract

【課題】必要以上に長い暖機運転を行うことなく、主軸の熱変位を安定させ、工作機械の加工効率及び加工精度を向上させる。
【解決手段】主軸15の暖機運転中に、主軸15に装着された工具Tの刃先位置を検出し、検出した工具Tの刃先位置の変化量が予め設定された許容範囲内に収まったときに、主軸15の暖機運転を終了する。
【選択図】 図1
An object of the present invention is to stabilize thermal displacement of a spindle without performing a warm-up operation longer than necessary, and to improve machining efficiency and machining accuracy of a machine tool.
A blade edge position of a tool T mounted on a spindle 15 is detected during a warm-up operation of a spindle 15, and a change in the detected blade edge position of the tool T falls within a preset allowable range. Then, the warm-up operation of the main shaft 15 is ended.
[Selection diagram] Fig. 1

Description

【0001】
【発明の属する技術分野】
本発明は、無駄時間のない適切な主軸の暖機運転を行うことができる工作機械の制御方法及び工作機械に関する。
【0002】
【従来の技術】
工作機械の主軸装置では、主軸を回転させる主軸モータが、または主軸の回転によって主軸の軸受部分が発熱し、この熱により主軸が熱変位を起こすことが知られている。この熱変位は、特に、主軸の始動時や回転開始時のように主軸の温度変化が激しいときに顕著である。
【0003】
こうした熱変位は、主軸に保持されている工具の刃先位置の変動を招くことから、加工精度に悪影響を与える。
【0004】
そこで、始動時や工具交換後などに加工を開始するに先立って、経験に基づいて定められた時間、主軸を回転させる暖機運転を行い、主軸の熱変位がほぼ安定してから、工具長又は工具刃先位置を検出し、加工を開始する方法がとられることが一般的であった。また、工具長又は工具刃先位置の検出時の主軸の温度が当該工具による加工開始時の主軸の温度とほぼ等しくなるように、主軸を冷却するための潤滑液温度調節装置を制御し、工具長又は工具刃先位置の検出時と加工開始時とにおける主軸の熱変位をほぼ等しくすることで、主軸の熱変位の影響を低減させる工作機械の制御方法がとられることもあった(例えば、特許文献1参照)。
【0005】
【特許文献1】
特開平8−267342号公報
【0006】
【発明が解決しようとする課題】
上記のような暖機運転の間や工具長又は工具刃先位置の検出時と加工開始時とにおける主軸の温度をほぼ等しくする温度調節の間は、加工を行うことができない一方、工具交換、工具長の検出又はワークの形状測定等のためには主軸の回転を停止させる必要があり、そのたびに暖機運転や温度調節を行わなければならないことから、暖機運転や温度調節は加工効率を低下させる要因となっていた。
【0007】
これを解決する方法として、特開平11−110021号公報や特開平11−99448号公報に記載されているように、次に行う加工の加工条件に基づいて、主軸の冷却に使用される冷却液の循環やその温度を制御し、より短時間で主軸の熱変位を安定させ、予め設定されたタイミングで工具長の測定を行う又は加工を開始させる精密加工方法がある。
【0008】
しかしながら、上記方法では、主軸の熱変位が安定したであろうタイミングを予測しているに過ぎず、主軸の熱変位が実際に安定しているか否かを確認してはおらず、主軸の熱変位が加工精度に与える影響を十分に除去することは困難であった。一方、主軸の熱変位が安定したことを確実にするためには、加工を開始させるタイミングを遅めに設定せざるを得ず、加工に直接寄与しない無駄な時間が長くなる傾向がある。
【0009】
よって、本発明の目的は、上記従来技術に存する問題を解消して、必要以上に長い暖機運転を行うことなく、主軸の熱変位を安定させ、工作機械の加工効率及び加工精度を向上させることができる工作機械の制御方法及び工作機械を提供することである。
【0010】
【課題を解決するための手段】
本発明は、上記目的に鑑み、加工条件に基づいて主軸を回転させながら、主軸に装着された工具の刃先位置を測定、演算し、工具の刃先位置が安定してから加工を開始するようにしている。
【0011】
すなわち、本発明は、工具とワークとを相対移動させて前記ワークを加工する工作機械の制御方法であって、前記工具を装着した主軸を所定の回転条件で回転させ前記主軸の暖機運転を開始するステップと、前記主軸の暖機運転中に前記主軸に装着した工具の刃先位置を測定するステップと、前記主軸の暖機運転中に測定した前記工具の刃先位置の変化量又は変化率が予め設定された範囲内になったとき前記主軸の暖機運転を終了するステップとを含む工作機械の制御方法を提供する。
【0012】
また、本発明は、工具とワークとを相対移動させて前記ワークを加工する工作機械において、前記工具を装着した主軸を所定の回転条件で回転させ前記主軸の暖機運転を行う主軸暖機運転制御手段と、前記主軸に装着した工具の刃先位置を予め決められた時間間隔で測定、演算し記憶する工具刃先位置測定演算手段と、前記主軸の暖機運転中に求めた前記工具の刃先位置の変化量又は変化率に基づいて、前記主軸の暖機運転を終了するか否かを判断する判断手段とを具備する工作機械を提供する。
【0013】
主軸の暖機運転中に工具の刃先位置を検出し、その工具刃先位置の変化が予め設定された許容範囲内に収まったことを確認することにより、暖機運転において主軸の熱変位が実際に安定し、暖機運転の必要がなくなったと判断することができる。よって、主軸の熱変位が確実に安定してから加工を行えるので、加工中に主軸の熱変位による工具刃先位置の変動を低減させることが可能となる。また、暖機運転中に工具刃先位置を検出しているので、無駄な暖機運転を行う必要がなくなり、暖機運転時間の短縮が可能となる。
【0014】
工具刃先位置の検出の際に、非接触式の測定手段を用いれば、主軸を回転させているときに主軸の回転を停止させることなく工具の刃先位置の検出を行うことができる。したがって、主軸を停止させることによって主軸が温度低下し、検出時の主軸の熱変位量が回転中の主軸の熱変位量から変動することを回避することができ、回転している主軸の正確な熱変位を検出することが可能となる。
【0015】
さらに、非接触センサ、好ましくは帯状の測定領域を有する光学式の測定手段を用いれば、主軸の位置を移動させることなく、工具刃先位置の変化を検出することが可能となる。
【0016】
【発明の実施の形態】
以下に、図面を参照して本発明の実施形態について説明する。
【0017】
まず、図1を参照して、本発明によるNC工作機械11の全体構成を説明する。NC工作機械11の工作機械本体部は、主軸頭13に回転可能に支持された主軸15と、ワーク(不図示)を載置、固定するテーブル17とを備え、NC装置19からの軸移動指令に基づいて、X軸送りモータM、Y軸送りモータM、Z軸送りモータMにより、主軸頭13及び主軸15とテーブル17とをX軸、Y軸及びZ軸の直交3軸方向に相対移動できるように構成されている。
【0018】
図1のNC工作機械11では、X軸送りモータM、Y軸送りモータM及びZ軸送りモータMによって主軸頭13をX軸方向、Y軸方向及びZ軸方向に移動させることにより、主軸頭13に支持された主軸15とテーブル17とを直交3軸方向に相対移動させているが、X軸送りモータMによってテーブル17をX軸方向に移動させ、Y軸送りモータM及びZ軸送りモータMによって主軸頭13をY軸方向及びZ軸方向に移動させるようにするなど、他の構成をとることも可能である。ここで、X軸及びY軸は主軸15の回転軸線と垂直な平面内の直交する2つの軸方向を指し、Z軸は主軸15の回転軸線と平行な軸方向を指す。
【0019】
そして、主軸15の先端に装着された工具Tを回転させながらワークに切り込み、主軸15とテーブル17とを相対移動させることにより工具TとワークとをX軸、Y軸、Z軸方向に相対移動させて、ワークを所望される形状に加工する。
【0020】
NC装置19は、加工プログラムなどの各種プログラムを格納しており、格納されているプログラムを解析し、プログラムに従って逐次移動指令を生成し、この移動指令に従ってX軸送りモータM、Y軸送りモータM、Z軸送りモータMを駆動する。
【0021】
また、NC工作機械11の機械本体部には、任意の瞬間のX軸、Y軸、Z軸の各送り軸の座標値を読み取る位置読取手段21が設けられており、位置読取手段21によって読み取られたテーブル17に対する主軸頭13の相対位置は逐次NC装置19へフィードバックされる。図1の実施形態では、位置読取手段21として、デジタルスケールを使用しているが、X軸送りモータM、Y軸送りモータM、Z軸送りモータMにそれぞれ取り付けられたエンコーダなど適宜の装置を使用することも可能である。
【0022】
さらに、NC工作機械11は、テーブル17上の加工の妨げとならない位置に設けられた工具刃先位置検出装置23と、NC装置19を介して暖機運転の制御を行う制御装置25とを備える。
【0023】
制御装置25は、図2に示すように、主軸暖機運転制御手段29、工具刃先位置測定演算手段31、及び主軸暖機運転判断手段39を備えて構成される。工具刃先位置測定演算手段31は、測定制御手段33、工具刃先位置演算手段35、記憶手段37、及び測定時間間隔決定手段41から成る。
【0024】
主軸暖機運転制御手段29は、NC装置19から主軸15の回転指令を受け、暖機運転ON,OFFの指令を返送する。工具刃先位置測定演算手段31の測定制御手段33は、NC装置19へ測定タイミング毎に測定指令を発するとともに、工具刃先位置演算手段35へ工具刃先位置検出装置23の検出値に基づいて工具Tの刃先位置を演算して求める指令を発する。記憶手段37は、演算して求めた工具刃先位置を記憶する。測定時間間隔決定手段41は、記憶した工具刃先位置から暖機運転経過時間に対する主軸の変位の変化傾向を演算し、演算結果から暖機運転中の工具刃先位置の適切な測定時間間隔を決定し、測定制御手段33へ発する。こうして工具刃先位置測定演算手段31で求めた工具刃先位置データを主軸暖機運転判断手段39へ送出すると、主軸暖機運転判断手段39は、刃先位置の変化量又は変化率を演算し、その値が許容範囲内に収ったことを確認して主軸暖機運転制御手段29へ暖機運転を終了するか否かの信号を発する。
【0025】
NC工作機械11では、暖機運転の際など工具Tの刃先位置を測定するときに、主軸15とテーブル17とを相対移動させて、工具刃先位置検出装置23によって主軸15に装着された工具Tの刃先位置を検出する。詳細には、工具刃先位置検出装置23の刃先検出位置はテーブル17に対して予め定められた位置となっていることから、主軸頭13及びテーブル17の位置が検出されれば、主軸頭13と工具刃先位置検出装置23の検出位置との距離が判明することを利用して、主軸頭13に対する工具Tの刃先位置を演算する。
【0026】
制御装置25は、暖機運転の際に、主軸15を回転させながら、工具刃先位置検出装置23によって工具Tの刃先位置を検出し、工具Tの刃先位置の変動、すなわち主軸15の熱変位が安定したことを確認して暖機運転が終了したと判断する。したがって、本発明のNC工作機械11は、暖機運転に必要最小限の時間しか要さない一方で、暖機運転終了の後の主軸15の熱変位を確実に安定させ、加工中に工具Tの刃先位置が主軸15の熱変位により変動する可能性を最小限に抑えることができる。
【0027】
工具Tの刃先位置を検出する方法は、主軸15を停止させ、すばやく工具刃先を接触式センサの基準位置に接触させることにより刃先位置を検出できる。しかし、工具Tの刃先位置を検出する際に、主軸15を停止させると、主軸15の温度が低下し、検出時の主軸15の熱変位量が回転中の主軸15の熱変位量から変化してしまうので、工具Tの刃先位置の検出は主軸15の回転を停止させることなく行われることが好ましい。この場合、非接触式の工具刃先位置検出装置23が用いられる。このため、図1に示されている実施形態では、光学式の工具刃先位置検出装置23が使用されている。しかしながら、非接触式の工具刃先位置検出装置23として、例えば、静電容量式、渦電流式などの非接触式センサを使用することもできる。
【0028】
また、工具刃先位置検出装置23は、1本の光線を用いた光学式センサでも良いが、図1に示されているように、工具Tの回転軸線を含む平面に沿って延びる帯状の検出領域を有している光学センサが好ましい。この特徴により、予め定められた位置に配置された主軸頭13に支持された主軸15が熱変位を起こし、主軸15に保持される工具Tの刃先位置が変化しても、工具Tの刃先の位置の変化を検出することができるという効果を奏する。
【0029】
次に、図3を参照して、図1に示されているNC工作機械における暖機運転の制御方法を説明する。
【0030】
NC工作機械11では、NC工作機械11を始動させたときや工具Tの交換を行ったときなど、主軸15を停止状態から回転状態に移行させるとき、加工を開始するに先立って、主軸15の暖機運転を行う。このために、制御装置25は、NC装置19を介して、X軸送りモータM、Y軸送りモータM、Z軸送りモータMを駆動させて、主軸頭13及びそれに支持される主軸15とテーブル17とを予め定められた相対位置に移動させ、主軸15に装着された工具Tの刃先を工具刃先位置検出装置23の検出領域内に配置させる。そして、主軸頭13とテーブル17とをこの相対位置に配置した状態で、NC装置19から指令された、当該工具を使用する加工において設定される加工条件の回転速度で主軸15を回転させ、主軸暖機運転制御手段29が主軸15の暖機運転を開始させる(ステップS1)。
【0031】
次に、測定制御手段33は、暖機運転中に、主軸15に装着された工具Tの刃先位置を工具刃先位置検出装置23によって検出し、その検出値に基づいて工具刃先位置演算手段35で工具Tの刃先位置を演算させる(ステップS2)。このとき演算された工具Tの刃先位置は、記憶手段37に記憶される(ステップS3)。さらに、予め設定された時間間隔を経た後、再度、ステップS2と同様にして、工具Tの刃先位置を演算し(ステップS4)、演算した工具Tの刃先位置を記憶手段37に記憶する(ステップS5)。なお、ステップS5は省略することも可能である。
【0032】
次に、主軸暖機運転判断手段39は、現在測定された工具Tの刃先位置と記憶手段37に記憶された前回の演算における工具Tの刃先位置とから、工具Tの刃先位置の変化量を求め(ステップS6)、求めた工具Tの刃先位置の変化量と予め設定された変化量の許容値とを比較する(ステップS7)。
【0033】
工具Tの刃先位置の変化量が許容値以上であるとき、すなわち工具Tの刃先位置の変化量が許容範囲を超えているとき、主軸15の熱変位が安定していないと判断して、ステップ4に戻り、工具Tの刃先位置の演算を継続する(ステップS7のNO)。一方、工具Tの刃先位置の変化量が予め設定された許容値以下であるとき、すなわち工具Tの刃先位置の変化量が予め設定された許容範囲内に収まったとき、主軸15の熱変位が安定したと判断する。主軸の熱変位が安定すると、もはや暖機運転の必要性はなくなるので、主軸暖機運転判断手段39は、暖機運転を終了させてもよいと判断し、主軸暖機運転制御手段29に暖機運転終了を指令し、NC装置19に加工を開始させる(ステップS7のYES)。工具刃先位置の変化量に代えて変化率を用いることもできる。
【0034】
このように、暖機運転中に主軸15に装着された工具Tの刃先位置を検出しているので、主軸15の熱変位が実際に安定したことを確認できると共に、主軸15の熱変位が安定した瞬間を検知できるので、無駄な暖機運転を行うことを回避することができる。測定時間間隔決定手段41で決定した適切な測定時間間隔を用いれば、暖機運転時間を最小にできる。
【0035】
【発明の効果】
以上、本発明によれば、主軸に装着された工具刃先位置の変動を暖機運転中に検出することにより、主軸の熱変位が安定したことを確認できるので、加工中の主軸の熱変位の影響を低減させることができ、加工精度の向上を図ることができる。また、主軸の熱変位が安定した瞬間を検知できるので、暖機運転に要する時間を最小限に抑えることが可能となり、加工効率の向上を図ることができる。
【図面の簡単な説明】
【図1】本発明による工作機械の要部構成図及びブロック図である。
【図2】図1に示されている制御装置の一実施形態を表わすブロック図である。
【図3】図1に示されている工作機械における暖機運転の制御方法を示しているフローチャートである。
【符号の説明】
11…NC工作機械
15…主軸
23…工具刃先位置検出装置
25…制御装置
29…主軸暖機運転制御手段
31…工具刃先位置測定演算手段
33…測定制御手段
35…工具刃先位置演算手段
37…記憶手段
39…主軸暖機運転判断手段
T…工具
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a machine tool control method and a machine tool capable of performing an appropriate warm-up operation of a spindle without wasting time.
[0002]
[Prior art]
2. Description of the Related Art In a spindle device of a machine tool, it is known that a spindle motor for rotating the spindle or a bearing portion of the spindle generates heat by rotation of the spindle, and the heat causes thermal displacement of the spindle. This thermal displacement is particularly remarkable when the temperature of the spindle changes greatly, such as when the spindle is started or when the rotation is started.
[0003]
Such thermal displacement causes a change in the position of the cutting edge of the tool held on the main shaft, and thus adversely affects machining accuracy.
[0004]
Therefore, before starting machining at the time of starting or after changing tools, a warm-up operation in which the spindle is rotated for a time determined based on experience is performed. Alternatively, a method of detecting the position of the tool edge and starting machining is generally employed. Further, the lubricating fluid temperature control device for cooling the spindle is controlled so that the temperature of the spindle when the tool length or the position of the tool edge is detected is substantially equal to the temperature of the spindle at the start of machining by the tool. Alternatively, a method of controlling a machine tool in which the influence of the thermal displacement of the spindle is reduced by making the thermal displacement of the spindle at the time of detection of the tool edge position and at the start of machining substantially equal to each other has been adopted (for example, Patent Document 1). 1).
[0005]
[Patent Document 1]
JP-A-8-267342
[Problems to be solved by the invention]
During the warm-up operation as described above or during the temperature adjustment to make the temperature of the spindle substantially equal between the detection of the tool length or the position of the tool edge and the start of the machining, machining cannot be performed, while tool change and tool change are not performed. It is necessary to stop the rotation of the spindle to detect the length or measure the shape of the workpiece.Each time, the warm-up operation and temperature adjustment must be performed. It was a factor to lower it.
[0007]
As a method for solving this, as described in JP-A-11-11021 and JP-A-11-99448, a cooling liquid used for cooling the spindle based on processing conditions for the next processing. There is a precision machining method that controls the circulation and temperature thereof, stabilizes the thermal displacement of the spindle in a shorter time, and measures the tool length or starts machining at a preset timing.
[0008]
However, the above method only predicts the timing at which the thermal displacement of the spindle will be stable, and does not confirm whether the thermal displacement of the spindle is actually stable. However, it was difficult to sufficiently remove the influence of the steel on the processing accuracy. On the other hand, in order to ensure that the thermal displacement of the spindle is stabilized, the timing for starting the processing must be set late, and there is a tendency that a useless time not directly contributing to the processing becomes long.
[0009]
Therefore, an object of the present invention is to solve the above-mentioned problems in the prior art, to stabilize the thermal displacement of the spindle, and to improve machining efficiency and machining accuracy of a machine tool without performing a warm-up operation longer than necessary. It is an object of the present invention to provide a machine tool control method and a machine tool that can perform the control.
[0010]
[Means for Solving the Problems]
In view of the above-mentioned object, the present invention measures and calculates the cutting edge position of a tool mounted on a spindle while rotating a spindle based on machining conditions, and starts machining after the cutting edge position of the tool is stabilized. ing.
[0011]
That is, the present invention is a method for controlling a machine tool that processes a workpiece by relatively moving a tool and a workpiece, and rotates a spindle on which the tool is mounted under predetermined rotation conditions to perform a warm-up operation of the spindle. Starting the step, measuring the position of the cutting edge of the tool mounted on the spindle during the warm-up operation of the spindle, and the amount or rate of change in the position of the cutting edge of the tool measured during the warm-up operation of the spindle. Ending the warm-up operation of the spindle when the temperature falls within a preset range.
[0012]
Further, the present invention provides a machine tool for processing the workpiece by relatively moving a tool and a workpiece, wherein a spindle warm-up operation for rotating the spindle mounted with the tool under predetermined rotation conditions to perform a warm-up operation of the spindle. Control means, tool edge position measurement calculating means for measuring, calculating and storing the edge position of the tool mounted on the spindle at predetermined time intervals, and the edge position of the tool determined during the warm-up operation of the spindle And a determining means for determining whether to terminate the warm-up operation of the spindle based on a change amount or a change rate of the main shaft.
[0013]
During the warm-up operation of the spindle, the position of the cutting edge of the tool is detected, and by confirming that the change in the position of the tool edge is within a predetermined allowable range, the thermal displacement of the spindle during the warm-up operation is actually reduced. It is stable and it can be determined that the warm-up operation is no longer necessary. Therefore, the machining can be performed after the thermal displacement of the spindle is reliably stabilized, so that it is possible to reduce a change in the position of the tool edge due to the thermal displacement of the spindle during the machining. In addition, since the tool edge position is detected during the warm-up operation, it is not necessary to perform useless warm-up operation, and the warm-up operation time can be reduced.
[0014]
If a non-contact type measuring means is used for detecting the position of the tool edge, the position of the tool edge can be detected without stopping the rotation of the main shaft while the main shaft is being rotated. Therefore, by stopping the spindle, the temperature of the spindle decreases, and the thermal displacement of the spindle at the time of detection can be prevented from fluctuating from the thermal displacement of the rotating spindle. Thermal displacement can be detected.
[0015]
Furthermore, if a non-contact sensor, preferably an optical measuring means having a band-like measuring area, is used, it is possible to detect a change in the position of the tool edge without moving the position of the main shaft.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0017]
First, an overall configuration of an NC machine tool 11 according to the present invention will be described with reference to FIG. The machine tool main body of the NC machine tool 11 includes a spindle 15 rotatably supported by a spindle head 13 and a table 17 on which a work (not shown) is mounted and fixed. based on, X-axis feed motor M X, Y axis feed motor M Y, the Z-axis feed motor M Z, X-axis and a spindle head 13 and the spindle 15 and the table 17, the three orthogonal axial direction of the Y-axis and Z-axis It is configured to be able to move relatively.
[0018]
In the NC machine tool 11 of FIG. 1, X-axis feed motor M X, by moving the spindle head 13 by the Y-axis feed motor M Y and Z-axis feed motor M Z X-axis direction, the Y-axis direction and the Z-axis direction , although by relatively moving the main spindle 15 and the table 17 supported on the spindle head 13 in three orthogonal directions, to move the table 17 in the X-axis direction by the X axis feed motor M X, Y axis feed motor M Y and spindle head 13 by the Z-axis feed motor M Z such as to move in the Y-axis direction and the Z-axis direction, it is also possible to adopt other configurations. Here, the X axis and the Y axis indicate two orthogonal axis directions in a plane perpendicular to the rotation axis of the main shaft 15, and the Z axis indicates an axis direction parallel to the rotation axis of the main shaft 15.
[0019]
Then, the tool T mounted on the tip of the spindle 15 is cut into the workpiece while rotating, and the tool T and the workpiece are relatively moved in the X-axis, Y-axis, and Z-axis directions by relatively moving the spindle 15 and the table 17. Then, the work is processed into a desired shape.
[0020]
NC device 19 stores a variety of programs such as a machining program, analyzes a program stored, generates sequential movement command according to a program, X-axis feed motor M X in accordance with the movement command, Y axis feed motor M Y, drives the Z-axis feed motor M Z.
[0021]
The machine body of the NC machine tool 11 is provided with position reading means 21 for reading the coordinate values of the X-axis, Y-axis, and Z-axis feed axes at an arbitrary moment. The relative position of the spindle head 13 with respect to the table 17 is sequentially fed back to the NC device 19. In the embodiment of FIG. 1, a digital scale is used as the position reading means 21, but an encoder attached to the X-axis feed motor M X , the Y-axis feed motor M Y , or the Z-axis feed motor M Z may be used as appropriate. It is also possible to use the device described above.
[0022]
Further, the NC machine tool 11 includes a tool edge position detecting device 23 provided at a position on the table 17 which does not hinder processing, and a control device 25 for controlling the warm-up operation via the NC device 19.
[0023]
As shown in FIG. 2, the control device 25 includes a spindle warm-up operation control unit 29, a tool edge position measurement calculation unit 31, and a spindle warm-up operation determination unit 39. The tool edge position measurement calculation means 31 includes a measurement control means 33, a tool edge position calculation means 35, a storage means 37, and a measurement time interval determination means 41.
[0024]
The spindle warm-up operation control means 29 receives a rotation command of the spindle 15 from the NC device 19, and returns warm-up operation ON / OFF commands. The measurement control means 33 of the tool edge position measurement calculation means 31 issues a measurement command to the NC device 19 at each measurement timing, and sends the tool T to the tool edge position calculation means 35 based on the detection value of the tool edge position detection device 23. A command is issued to calculate the position of the cutting edge. The storage means 37 stores the tool edge position calculated and obtained. The measurement time interval determination means 41 calculates a tendency of the displacement of the spindle with respect to the elapsed time of the warm-up operation from the stored tool edge position, and determines an appropriate measurement time interval of the tool edge position during the warm-up operation from the calculation result. , To the measurement control means 33. When the tool edge position data obtained by the tool edge position measurement calculating means 31 is transmitted to the spindle warm-up operation determining means 39 in this way, the spindle warm-up operation determining means 39 calculates the amount of change or the rate of change of the blade edge position and calculates the value. Is within the allowable range, and sends a signal to the spindle warm-up operation control means 29 as to whether or not to end the warm-up operation.
[0025]
In the NC machine tool 11, when measuring the position of the cutting edge of the tool T, such as during a warm-up operation, the spindle 15 and the table 17 are relatively moved, and the tool T mounted on the spindle 15 by the tool edge position detecting device 23. Of the cutting edge position is detected. Specifically, since the blade edge detection position of the tool edge position detection device 23 is a predetermined position with respect to the table 17, if the positions of the spindle head 13 and the table 17 are detected, the spindle head 13 and Using the fact that the distance from the detection position of the tool edge position detection device 23 is known, the edge position of the tool T with respect to the spindle head 13 is calculated.
[0026]
The controller 25 detects the cutting edge position of the tool T by the tool cutting edge position detecting device 23 while rotating the main shaft 15 during the warm-up operation, and the fluctuation of the cutting edge position of the tool T, that is, the thermal displacement of the main shaft 15 is reduced. After confirming the stability, it is determined that the warm-up operation has been completed. Therefore, the NC machine tool 11 of the present invention requires only a minimum time for the warm-up operation, while reliably stabilizing the thermal displacement of the spindle 15 after the end of the warm-up operation, and The possibility that the position of the cutting edge fluctuates due to the thermal displacement of the main shaft 15 can be minimized.
[0027]
The method of detecting the position of the cutting edge of the tool T can detect the position of the cutting edge by stopping the main shaft 15 and quickly bringing the tool cutting edge into contact with the reference position of the contact sensor. However, if the spindle 15 is stopped when detecting the cutting edge position of the tool T, the temperature of the spindle 15 decreases, and the thermal displacement of the spindle 15 at the time of detection changes from the thermal displacement of the rotating spindle 15. Therefore, it is preferable that the detection of the cutting edge position of the tool T is performed without stopping the rotation of the main shaft 15. In this case, a non-contact type tool edge position detecting device 23 is used. For this reason, in the embodiment shown in FIG. 1, an optical tool edge position detecting device 23 is used. However, as the non-contact type tool edge position detecting device 23, for example, a non-contact type sensor such as a capacitance type or an eddy current type may be used.
[0028]
Further, the tool edge position detecting device 23 may be an optical sensor using one light beam, but as shown in FIG. 1, a strip-shaped detection region extending along a plane including the rotation axis of the tool T. Are preferred. Due to this feature, even when the spindle 15 supported by the spindle head 13 arranged at a predetermined position causes thermal displacement and the position of the cutting edge of the tool T held by the spindle 15 changes, the cutting edge of the tool T There is an effect that a change in position can be detected.
[0029]
Next, a control method of the warm-up operation in the NC machine tool shown in FIG. 1 will be described with reference to FIG.
[0030]
In the NC machine tool 11, when the spindle 15 is shifted from the stopped state to the rotating state, for example, when the NC machine tool 11 is started or when the tool T is changed, the spindle 15 is moved before starting the machining. Perform warm-up operation. For this purpose, the control device 25 drives the X-axis feed motor M X , the Y-axis feed motor M Y , and the Z-axis feed motor M Z via the NC device 19 so that the spindle head 13 and the spindle supported by the spindle head 13 are driven. The tool 15 and the table 17 are moved to a predetermined relative position, and the cutting edge of the tool T mounted on the main shaft 15 is arranged in the detection area of the tool cutting edge position detecting device 23. Then, in a state where the spindle head 13 and the table 17 are arranged at this relative position, the spindle 15 is rotated at a rotation speed of a machining condition set in machining using the tool, which is commanded by the NC device 19, and The warm-up operation control means 29 starts the warm-up operation of the main shaft 15 (step S1).
[0031]
Next, the measurement control means 33 detects the cutting edge position of the tool T mounted on the spindle 15 by the tool cutting edge position detecting device 23 during the warm-up operation, and the tool cutting edge position calculating means 35 detects the cutting edge position based on the detected value. The position of the cutting edge of the tool T is calculated (step S2). The calculated cutting edge position of the tool T is stored in the storage means 37 (step S3). Further, after a predetermined time interval, the position of the cutting edge of the tool T is calculated again in the same manner as in step S2 (step S4), and the calculated cutting edge position of the tool T is stored in the storage means 37 (step S4). S5). Step S5 can be omitted.
[0032]
Next, the spindle warm-up operation determining means 39 calculates the change amount of the cutting edge position of the tool T from the currently measured cutting edge position of the tool T and the cutting edge position of the tool T in the previous calculation stored in the storage means 37. It is determined (step S6), and the obtained change amount of the cutting edge position of the tool T is compared with a preset allowable value of the change amount (step S7).
[0033]
When the amount of change in the position of the cutting edge of the tool T is equal to or greater than the allowable value, that is, when the amount of change in the position of the cutting edge of the tool T exceeds the allowable range, it is determined that the thermal displacement of the spindle 15 is not stable, and 4, the calculation of the cutting edge position of the tool T is continued (NO in step S7). On the other hand, when the amount of change in the position of the cutting edge of the tool T is equal to or less than a preset allowable value, that is, when the amount of change in the position of the cutting edge of the tool T falls within a preset allowable range, the thermal displacement of the main shaft 15 is reduced. Judge as stable. When the thermal displacement of the spindle is stabilized, there is no longer any need for the warm-up operation, so the spindle warm-up operation judging means 39 judges that the warm-up operation may be ended, A command to end the machine operation is issued, and the NC device 19 starts machining (YES in step S7). A change rate may be used instead of the change amount of the tool edge position.
[0034]
As described above, since the position of the cutting edge of the tool T mounted on the main shaft 15 is detected during the warm-up operation, it can be confirmed that the thermal displacement of the main shaft 15 is actually stable, and the thermal displacement of the main shaft 15 is stable. Since it is possible to detect the moment when the operation is performed, it is possible to avoid performing unnecessary warm-up operation. If an appropriate measurement time interval determined by the measurement time interval determination means 41 is used, the warm-up operation time can be minimized.
[0035]
【The invention's effect】
As described above, according to the present invention, it is possible to confirm that the thermal displacement of the spindle has been stabilized by detecting the change in the position of the tool tip mounted on the spindle during the warm-up operation, so that the thermal displacement of the spindle during machining can be confirmed. The influence can be reduced, and the processing accuracy can be improved. In addition, since the moment when the thermal displacement of the spindle is stabilized can be detected, the time required for the warm-up operation can be minimized, and the processing efficiency can be improved.
[Brief description of the drawings]
FIG. 1 is a configuration diagram and a block diagram of a main part of a machine tool according to the present invention.
FIG. 2 is a block diagram showing an embodiment of the control device shown in FIG.
FIG. 3 is a flowchart showing a control method of a warm-up operation in the machine tool shown in FIG. 1;
[Explanation of symbols]
11 ... NC machine tool 15 ... Spindle 23 ... Tool edge position detection device 25 ... Control device 29 ... Spindle warm-up operation control means 31 ... Tool edge position measurement / calculation means 33 ... Measurement control means 35 ... Tool edge position calculation means 37 ... Storage Means 39: Spindle warm-up operation determining means T: Tool

Claims (8)

工具とワークとを相対移動させて前記ワークを加工する工作機械の制御方法であって、
前記工具を装着した主軸を所定の回転条件で回転させ前記主軸の暖機運転を開始するステップと、
前記主軸の暖機運転中に前記主軸に装着した工具の刃先位置を測定するステップと、
前記主軸の暖機運転中に測定した前記工具の刃先位置の変化量又は変化率が予め設定された範囲内になったとき前記主軸の暖機運転を終了するステップと、
を含むことを特徴とした工作機械の制御方法。
A method of controlling a machine tool that processes a workpiece by relatively moving a tool and a workpiece,
Starting the warm-up operation of the spindle by rotating the spindle equipped with the tool under predetermined rotation conditions,
Measuring the position of the cutting edge of the tool mounted on the spindle during the warm-up operation of the spindle,
Ending the warm-up operation of the spindle when the change amount or the change rate of the cutting edge position of the tool measured during the warm-up operation of the spindle is within a preset range;
A method for controlling a machine tool, comprising:
前記主軸の暖機運転中に前記主軸に装着した工具の刃先位置を測定するステップは、前記主軸の暖機運転中の予め決められた時間間隔で前記主軸に装着した工具の刃先位置を測定し記憶するステップを含んで成る請求項1に記載の工作機械の制御方法。Measuring the position of the cutting edge of the tool mounted on the main spindle during the warm-up operation of the main spindle, measuring the position of the cutting edge of the tool mounted on the main spindle at a predetermined time interval during the warm-up operation of the main spindle. 2. The method according to claim 1, further comprising the step of storing. 前記主軸の暖機運転中に測定した前記工具の刃先位置の変化量又は変化率が予め設定された範囲内に収まったとき前記主軸の暖機運転を終了するステップは、前記主軸の暖機運転中に測定し記憶した値から前記工具刃先位置の変化量または変化率を演算し、演算結果から前記主軸の暖機運転を終了するステップを含んで成る請求項1又は2に記載の工作機械の制御方法。The step of ending the warm-up operation of the spindle when the change amount or the change rate of the cutting edge position of the tool measured during the warm-up operation of the spindle falls within a preset range includes the warm-up operation of the spindle. 3. The machine tool according to claim 1, further comprising: calculating a change amount or a change rate of the tool edge position from a value measured and stored therein, and ending the warm-up operation of the spindle from the calculation result. 4. Control method. 前記記憶した工具の刃先位置から暖機運転経過時間に対する前記主軸の変位の変化傾向を演算し、演算結果から前記主軸の暖機運転中の工具の刃先位置の測定時間間隔を決定するステップを含む請求項2又は3に記載の工作機械の制御方法。Calculating a change tendency of the displacement of the spindle with respect to the elapsed warm-up operation time from the stored tool edge position, and determining a measurement time interval of the tool edge position of the tool during the warm-up operation of the spindle from the calculation result. The method for controlling a machine tool according to claim 2. 前記主軸の暖機運転を開始するステップの前記主軸の所定の回転条件は、加工に使用する回転速度又は予め決められた回転速度である請求項1に記載の工作機械の制御方法。The machine tool control method according to claim 1, wherein the predetermined rotation condition of the spindle in the step of starting the warm-up operation of the spindle is a rotation speed used for machining or a predetermined rotation speed. 工具とワークとを相対移動させて前記ワークを加工する工作機械において、
前記工具を装着した主軸を所定の回転条件で回転させ前記主軸の暖機運転を行う主軸暖機運転制御手段と、
前記主軸に装着した工具の刃先位置を予め決められた時間間隔で測定、演算し記憶する工具刃先位置測定演算手段と、
前記主軸の暖機運転中に求めた前記工具の刃先位置の変化量又は変化率に基づいて、前記主軸の暖機運転を終了するか否かを判断する判断手段と、
を具備することを特徴とした工作機械。
In a machine tool that processes the work by relatively moving a tool and a work,
A spindle warm-up operation control means for rotating the spindle equipped with the tool under predetermined rotation conditions and performing a warm-up operation of the spindle;
Tool edge position measurement calculating means for measuring, calculating and storing the edge position of the tool mounted on the spindle at predetermined time intervals,
Determining means for determining whether to end the warm-up operation of the spindle, based on a change amount or a change rate of the cutting edge position of the tool determined during the warm-up operation of the spindle;
A machine tool comprising:
前記工具刃先位置測定演算手段は、記憶した工具の刃先位置から暖機運転経過時間に対する前記主軸の変位の変化傾向を演算し、演算結果から前記主軸の暖機運転中の工具の刃先位置の測定時間間隔を決定する手段を含んで成る請求項6に記載の工作機械。The tool edge position measurement calculating means calculates the change tendency of the displacement of the spindle with respect to the elapsed time of the warm-up operation from the stored tool edge position, and measures the edge position of the tool during the warm-up operation of the spindle from the calculation result. 7. The machine tool according to claim 6, comprising means for determining a time interval. 前記工具刃先位置測定演算手段は、工具刃先をセンサの検出部に接触させることで刃先位置を検出する測定手段、または少なくとも1本の光線若しくは帯状の光線を投光する投光部と前記光線を受光する受光部とが対向配置されて成り前記光線を工具刃先が遮光したときの受光状態により刃先位置を検出する測定手段のいずれかを用いる請求項6又は7に記載の工作機械。The tool edge position measurement calculating means is a measuring means for detecting the edge position by bringing the tool edge into contact with a detection unit of the sensor, or a light emitting unit that emits at least one light beam or a band-shaped light beam and the light beam The machine tool according to claim 6, wherein a light receiving unit that receives light is arranged to face the light receiving unit, and any one of a measuring unit that detects a position of the cutting edge based on a light receiving state when the tool cutting edge blocks the light beam is used.
JP2003055973A 2003-03-03 2003-03-03 Machine tool control method and machine tool Expired - Fee Related JP4245375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003055973A JP4245375B2 (en) 2003-03-03 2003-03-03 Machine tool control method and machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003055973A JP4245375B2 (en) 2003-03-03 2003-03-03 Machine tool control method and machine tool

Publications (2)

Publication Number Publication Date
JP2004261934A true JP2004261934A (en) 2004-09-24
JP4245375B2 JP4245375B2 (en) 2009-03-25

Family

ID=33119832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003055973A Expired - Fee Related JP4245375B2 (en) 2003-03-03 2003-03-03 Machine tool control method and machine tool

Country Status (1)

Country Link
JP (1) JP4245375B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008264883A (en) * 2007-04-16 2008-11-06 Jtekt Corp Machining device
WO2009060725A1 (en) * 2007-11-05 2009-05-14 Mitsubishi Heavy Industries, Ltd. Workpiece machining method of machine tool and behavior measuring device
JP2013110321A (en) * 2011-11-22 2013-06-06 Disco Abrasive Syst Ltd Cutting device
CN103240640A (en) * 2012-02-13 2013-08-14 发那科株式会社 Warm-up control device for machine tool
DE102015110290A1 (en) 2014-07-03 2016-01-07 Fanuc Corporation Control for a machine tool
KR20180044809A (en) * 2016-10-24 2018-05-03 가부시기가이샤 디스코 Cutting apparatus
JP2018118344A (en) * 2017-01-25 2018-08-02 株式会社ディスコ Cutting device
CN109396958A (en) * 2017-08-15 2019-03-01 麦克隆·阿杰·查米莱斯股份公司 In conjunction with lathe main shaft using geometry probe method and be configured to execute the method lathe
CN112008489A (en) * 2019-05-31 2020-12-01 上银科技股份有限公司 Warming-up method
JP2023084538A (en) * 2021-12-07 2023-06-19 オークマ株式会社 ERROR ESTIMATION METHOD IN MACHINE TOOL, CONTROL DEVICE FOR MACHINE TOOL
WO2024036350A1 (en) * 2022-08-16 2024-02-22 Fill Gesellschaft M.B.H. Method for determining whether a machine tool has warmed up, machine tool and method for machining workpieces
JP7711009B2 (en) 2022-02-09 2025-07-22 新日本工機株式会社 Machine tool control device, machine tool control program, machine tool

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5473846B2 (en) * 2010-09-17 2014-04-16 三菱重工業株式会社 Processing method
JP6538746B2 (en) * 2017-04-06 2019-07-03 ファナック株式会社 Warm-up operation planning device and warm-up operation planning method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008264883A (en) * 2007-04-16 2008-11-06 Jtekt Corp Machining device
WO2009060725A1 (en) * 2007-11-05 2009-05-14 Mitsubishi Heavy Industries, Ltd. Workpiece machining method of machine tool and behavior measuring device
JP2009113138A (en) * 2007-11-05 2009-05-28 Mitsubishi Heavy Ind Ltd Work processing method and behavior measuring device of machine tool
US8423171B2 (en) 2007-11-05 2013-04-16 Mitsubishi Heavy Industries, Ltd. Method for processing workpiece in tool machine and behavior measurement device
JP2013110321A (en) * 2011-11-22 2013-06-06 Disco Abrasive Syst Ltd Cutting device
CN103240640A (en) * 2012-02-13 2013-08-14 发那科株式会社 Warm-up control device for machine tool
DE102015110290A1 (en) 2014-07-03 2016-01-07 Fanuc Corporation Control for a machine tool
US9956660B2 (en) 2014-07-03 2018-05-01 Fanuc Corporation Controller for a machine tool to perform efficient warm-up control
KR20180044809A (en) * 2016-10-24 2018-05-03 가부시기가이샤 디스코 Cutting apparatus
KR102297839B1 (en) * 2016-10-24 2021-09-02 가부시기가이샤 디스코 Cutting apparatus
TWI738860B (en) * 2016-10-24 2021-09-11 日商迪思科股份有限公司 Cutting device
JP2018118344A (en) * 2017-01-25 2018-08-02 株式会社ディスコ Cutting device
CN109396958A (en) * 2017-08-15 2019-03-01 麦克隆·阿杰·查米莱斯股份公司 In conjunction with lathe main shaft using geometry probe method and be configured to execute the method lathe
CN112008489A (en) * 2019-05-31 2020-12-01 上银科技股份有限公司 Warming-up method
JP2023084538A (en) * 2021-12-07 2023-06-19 オークマ株式会社 ERROR ESTIMATION METHOD IN MACHINE TOOL, CONTROL DEVICE FOR MACHINE TOOL
JP7711009B2 (en) 2022-02-09 2025-07-22 新日本工機株式会社 Machine tool control device, machine tool control program, machine tool
WO2024036350A1 (en) * 2022-08-16 2024-02-22 Fill Gesellschaft M.B.H. Method for determining whether a machine tool has warmed up, machine tool and method for machining workpieces
AT526494A3 (en) * 2022-08-16 2024-11-15 Fill Gmbh Method for determining whether a machine tool has warmed up, machine tool and method for machining workpieces

Also Published As

Publication number Publication date
JP4245375B2 (en) 2009-03-25

Similar Documents

Publication Publication Date Title
JP4959508B2 (en) Work processing method and behavior measuring device of machine tool
JP4727634B2 (en) Processing method
JP2004261934A (en) Machine tool control method and machine tool
WO2006016420A1 (en) Method for machining work
JP6661674B2 (en) Machine tool nozzle control device
JP7473306B2 (en) On-machine measuring device, machine tool, and on-machine measuring method
JP2015006721A (en) Machine tool including measuring apparatus
JP5248030B2 (en) Machine tool having displacement correction function and correction method of machine tool
US6759825B2 (en) Control method and control apparatus for feed system
JP3547564B2 (en) Numerical control device and tool length correction method in numerical control device
JP4720774B2 (en) Processing equipment
JP5846400B2 (en) Machine tool and its thermal deformation correction method
JP2013255982A (en) Machine tool, and correction method of thermal deformation thereof
JP2009184063A (en) Grinding machine and grinding method
JP3756793B2 (en) Machine tool thermal displacement compensation device
JP4857861B2 (en) Cutting device and method thereof, method of calculating cutting radius of cutting blade, and method of manufacturing cut product
JP3236805B2 (en) Precision processing method and equipment
JP4236483B2 (en) Machine tools with tool wear compensation
JP7090018B2 (en) Machine Tools
JP3839197B2 (en) Cutting edge position alignment method for pre-use and post-use tools in machine tools
JP3792209B2 (en) Workpiece center position detection method and numerical control device in numerical control device
JP7707095B2 (en) Processing device and control method thereof
JP3678077B2 (en) Processing machine with thermal displacement correction mechanism and thermal displacement correction method
JPH06335844A (en) Method for measuring displacement quantity of machine tool
JPH0952187A (en) Laser beam machine system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050610

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080603

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080731

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090106

R150 Certificate of patent or registration of utility model

Ref document number: 4245375

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130116

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140116

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees