JP2011118840A - Numerical control device having motor load torque measuring function - Google Patents
Numerical control device having motor load torque measuring function Download PDFInfo
- Publication number
- JP2011118840A JP2011118840A JP2009277946A JP2009277946A JP2011118840A JP 2011118840 A JP2011118840 A JP 2011118840A JP 2009277946 A JP2009277946 A JP 2009277946A JP 2009277946 A JP2009277946 A JP 2009277946A JP 2011118840 A JP2011118840 A JP 2011118840A
- Authority
- JP
- Japan
- Prior art keywords
- load torque
- motor
- tool
- cutting operation
- measurement
- 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.)
- Pending
Links
Images
Landscapes
- Machine Tool Sensing Apparatuses (AREA)
- Numerical Control (AREA)
Abstract
Description
本発明は、工作機械を制御する数値制御装置に関し、特に、モータ負荷トルク測定機能を有する数値制御装置に関する。 The present invention relates to a numerical control device that controls a machine tool, and more particularly to a numerical control device having a motor load torque measurement function.
数値制御装置により制御される工作機械では、ワークを加工中の工具の折損や工具寿命の到来を検出するために、加工負荷の計測が行われている。加工中の負荷トルクは、工具の種類や摩耗の状態、そして加工動作により変化するため、工具毎および加工動作毎に計測する必要がある。 In a machine tool controlled by a numerical control device, a machining load is measured in order to detect breakage of a tool during machining of a workpiece and arrival of a tool life. Since the load torque during machining changes depending on the type of tool, the state of wear, and the machining operation, it is necessary to measure each tool and every machining operation.
特許文献1には、ワーク加工時の加工負荷の自動監視区間の設定が極めて容易になるとともに、加工負荷の上限値(破損値)の設定も容易にかつ誤りなくできるという効果がある。またモニタの加工負荷のグラフ表示が工具が変更される毎に更新表示されるため、各工具についての負荷変動をオペレータがより詳細に視認することができ、従ってオペレータの視認による工具の折損や摩耗状態の監視もより容易かつ確実に行うことができる技術が開示されている。
特許文献2には、位置決め動作時には、自動的にその位置決め動作で駆動される送り軸のサーボモータの負荷トルクが測定され、シーケンス番号を指定して、位置決め動作でも負荷トルクを測定しないブロックを選定し、送り軸の可動部の摩耗等を示す負荷トルクを、その摩耗度検出に適したブロックのみ選択することが可能な数値制御装置の技術が開示されている。 In Patent Document 2, the load torque of the servo motor of the feed shaft that is automatically driven by the positioning operation is measured during the positioning operation, the sequence number is specified, and a block that does not measure the load torque even in the positioning operation is selected. In addition, there is disclosed a technique of a numerical control device capable of selecting only a block suitable for detecting the degree of wear as a load torque indicating wear or the like of a movable portion of a feed shaft.
特許文献3には、試切削の加工負荷のサンプリングデータと実切削時の加工負荷の実測データを時間的に正確に比較して、加工状態を監視できる加工負荷監視方式の技術が開示されている。 Patent Document 3 discloses a technique of a processing load monitoring method that can accurately compare temporally the sampling data of the processing load of the trial cutting and the actual measurement data of the processing load at the actual cutting, and monitor the processing state. .
特許文献1に開示される技術では、工具毎に加工中の負荷トルクを計測するためには、加工プログラムを実行する前に手動で補助機能であるMコードを該加工プログラムに挿入するなどして、計測する工具や計測区間(各工具の切削動作区間)を決定する必要があった(図7参照)。図7に示す従来技術では、補助機能Mコード1(符号m1)、補助機能Mコード2(符号m2)、補助機能Mコード3(符号m3)、および補助機能Mコード4(符号m4)を手動で加工プログラムに挿入している。
In the technique disclosed in
上述したように、計測区間を決定する方法としては加工プログラムの計測区間の前後に補助機能Mコードを配置するのが一般的な方法であるが、手動で加工プログラムを変更する必要があり、これが加工プログラムの実行にも影響を与える可能性がある。また、計測区間内の工具と計測対象となるモータとの対応も予め手動で設定する必要があり、作業が煩雑である。 As described above, as a method of determining the measurement section, it is a general method to arrange the auxiliary function M code before and after the measurement section of the machining program. However, it is necessary to manually change the machining program. It may also affect the execution of the machining program. Further, it is necessary to manually set the correspondence between the tool in the measurement section and the motor to be measured in advance, and the work is complicated.
特許文献2に開示される技術では、加工プログラムのシーケンス番号により負荷トルクの計測区間を決定する必要があるが、計測区間となる指令ブロックにシーケンス番号を配置するために、加工プログラムの変更が必要となる。 In the technique disclosed in Patent Document 2, it is necessary to determine the load torque measurement section based on the sequence number of the machining program, but the machining program needs to be changed in order to place the sequence number in the command block serving as the measurement section. It becomes.
特許文献3に開示される技術では、負荷トルクの計測区間を加工プログラムの指令ブロック単位で決定し記録していることから、タップサイクル指令のように、1つの指令で異なる動作(穴あけ動作と逃げ動作)を連続で行う指令ブロックでは、各切削動作区間が判別できないため、負荷トルクを切削動作毎に計測することができなかった(図8参照)。図8は、負荷トルクの計測区間を加工プログラムの指令ブロック単位で決定し、記録している従来技術を説明する図である。図8に示されるように、計測区間の開始を指令する補助機能Mコード(符号ms)と計測区間の終了を指令する補助機能Mコード(符号me)の各ブロックを加工プログラムに挿入する。しかし、タップサイクル指令(ブロック番号:30)は、穴あけ動作(切削動作1)と逃げ動作(切削動作2)の2つの切削動作を行わせる指令である。このような指令ブロックでは各切削動作区間が判別できないため、切削動作毎に負荷トルクを分類することができない。 In the technique disclosed in Patent Document 3, since the load torque measurement section is determined and recorded in command block units of the machining program, different operations (such as drilling operation and clearance) are performed by one command, such as a tap cycle command. In the command block that performs (operation) continuously, each cutting operation section cannot be determined, and thus the load torque cannot be measured for each cutting operation (see FIG. 8). FIG. 8 is a diagram for explaining a conventional technique in which a load torque measurement section is determined and recorded in command block units of a machining program. As shown in FIG. 8, each block of the auxiliary function M code (symbol ms) for instructing the start of the measurement section and the auxiliary function M code (symbol me) for instructing the end of the measurement section is inserted into the machining program. However, the tap cycle command (block number: 30) is a command for performing two cutting operations, a drilling operation (cutting operation 1) and a relief operation (cutting operation 2). In such a command block, since each cutting operation section cannot be determined, the load torque cannot be classified for each cutting operation.
そこで本発明の目的は、実行中の加工プログラムの指令から、負荷トルクの計測対象となる工具とモータ、および計測区間を自動的に決定することで、加工プログラムの変更なしに工具毎の負荷トルクの計測を可能とするモータ負荷トルク測定機能を有する数値制御装置を提供することである。さらに、送り軸の移動方向から各切削動作区間を区別することで、切削動作毎の負荷トルクの計測を可能とするモータ負荷トルク測定機能を有する数値制御装置を提供することである。 Therefore, an object of the present invention is to automatically determine a tool and a motor to be subjected to measurement of load torque and a measurement section from a command of a machining program being executed, so that load torque for each tool can be changed without changing the machining program. It is to provide a numerical control device having a motor load torque measurement function capable of measuring the above. It is another object of the present invention to provide a numerical control device having a motor load torque measurement function that enables measurement of load torque for each cutting operation by distinguishing each cutting operation section from the moving direction of the feed shaft.
本願の請求項1に係る発明は、加工プログラムに従って工作機械の送り軸モータと主軸モータを駆動してワークと工具を相対移動させてワークの加工を行うとともに、負荷トルク計測手段によって加工中の該送り軸モータと該主軸モータの負荷トルクを測定するモータ負荷トルク測定機能を有する数値制御装置であって、前記加工プログラムの工具交換指令により指令された工具番号を読み取る工具番号読み取り手段と、工具交換後の前記加工プログラムで指令された動作が切削動作であるか非切削動作であるかを判別する切削動作判別手段と、前記切削動作判別手段により切削動作であると判別された時、該切削動作に使用される前記送り軸モータの移動開始から移動終了までの区間を負荷トルク測定区間として設定する負荷トルク測定区間設定手段と、前記負荷トルク測定区間設定手段により設定された負荷トルク測定区間において、前記送り軸モータと前記主軸モータの負荷トルクを前記負荷トルク計測手段によって計測し、前記工具番号読み取り手段により読み取った工具番号に対応付けて各送り軸モータおよび主軸モータのモータ負荷トルクを記憶する記憶手段と、を有することを特徴とするモータ負荷トルク測定機能を有する数値制御装置である。
請求項2に係る発明は、前記切削動作判別手段は、前記加工プログラムの1つの指令ブロックに、送り軸の移動方向が異なる切削動作がある場合は、これを別の切削動作と判断し、該1つの指令ブロックは複数の切削動作からなると判断する手段であり、切削動作毎に前記負荷トルクを計測し記憶することを特徴とする請求項1に記載のモータ負荷トルク測定機能を有する数値制御装置である。
The invention according to
According to a second aspect of the present invention, when there is a cutting operation in which the moving direction of the feed shaft is different in one command block of the machining program, the cutting operation determination unit determines this as another cutting operation, and 2. A numerical control apparatus having a motor load torque measurement function according to
本発明により、実行中の加工プログラムの指令から、負荷トルクの計測対象となる工具とモータ、および計測区間を自動的に決定することで、加工プログラムの変更なしに工具毎の負荷トルクの計測を可能とするモータ負荷トルク測定機能を有する数値制御装置を提供できる。
さらに、送り軸の移動方向から各切削動作区間を区別することで、切削動作毎の負荷トルクの計測を可能とするモータ負荷トルク測定機能を有する数値制御装置を提供できる。
According to the present invention, the load torque of each tool can be measured without changing the machining program by automatically determining the load torque measurement target tool and motor and the measurement section from the command of the machining program being executed. It is possible to provide a numerical control device having a motor load torque measurement function that can be performed.
Furthermore, by distinguishing each cutting operation section from the moving direction of the feed shaft, it is possible to provide a numerical control device having a motor load torque measurement function that enables measurement of load torque for each cutting operation.
以下、本発明の実施形態を図面と共に説明する。
図1は本発明の一実施形態の数値制御装置の要部と該数値制御装置で制御される工作機械の要部を示すブロック図である。数値制御装置10は、プロセッサ(CPU)11、ROM12、RAM13、サーボ制御部14、表示制御部15、PMC16、I/Oユニット17、および、スピンドル制御部18等を備え、バス19で接続されている。
プロセッサ11は、ROM12に格納されたシステムプログラムを読み出し、このシステムプログラムに従って、数値制御装置を全体的に制御する。RAM13は、一時的な計算データ、表示データ、図示していない入力インターフェースより入力された加工プログラム等が格納されるもので、特に本実施形態に関係して、工具番号に対応付けられた各送り軸付けて各送り軸モータおよび主軸モータのモータ負荷トルクを記憶する記憶手段である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a main part of a numerical control apparatus according to an embodiment of the present invention and a main part of a machine tool controlled by the numerical control apparatus. The
The processor 11 reads a system program stored in the
表示制御部15は、工作機械の各軸の現在位置、アラーム、各種パラメータ、画像データ等の画像信号、さらには、本実施形態に関係して、測定負荷トルクの現在値、負荷トルク、負荷トルクの平均値、最大値等の信号を表示器21に送信する。表示器21は、表示機能とデータ入力手段の機能を行うもので、この表示器21に上述した各種情報を表示する。また、アラームにするための負荷トルクの限界値等を設定する設定入力手段を構成する。
The
サーボ制御部14は、プロセッサやROM,RAMなどのメモリ等で構成され、加工プログラムに基づいて、数値制御装置10のプロセッサ(CPU)11から送られてくる各送り軸(この実施形態では直交するX,Y,Z軸の送り軸を備えているものとしている)への移動指令を受け、各軸のサーボアンプ22x,22y,22zを介して、各軸サーボモータMx,My,Mzを駆動する。
The
各軸のサーボモータMx,My,Mzには、位置・速度検出用のパルスエンコーダ(図示せず)が内蔵されている。各サーボアンプ22x,22y,22zには、各サーボモータMx,My,Mzの駆動電流を検出する電流検出器(図示せず)を備えている。サーボ制御部14は、プロセッサ11からの移動指令と、各パルスエンコーダ、及び各電流検出器からの位置、速度、電流のフィードバック信号に基づいて、位置ループ、速度ループ、電流ループの各処理を行い各軸のサーボモータMx,My,Mzの位置、速度を制御する。サーボ制御部14が有するプロセッサ(図示せず)には、外乱推定オブザーバが組み込まれており、このオブザーバによって、各送り軸の負荷トルクを推定するようにしている。
Each axis servo motor Mx, My, Mz incorporates a pulse encoder (not shown) for position / speed detection. Each servo amplifier 22x, 22y, 22z includes a current detector (not shown) that detects the drive current of each servo motor Mx, My, Mz. The
PMC(プログラマブル・マシン・コントローラ)16は、数値制御装置10に内蔵され、シーケンスプログラムを実行し機械を制御する。加工プログラムで指令されたM機能、S機能、T機能に従って、これらをシーケンスプログラムで工作機械側に必要な信号に変換し、I/Oユニット17から工作機械側に出力する。図示しない工作機械は、T機能に基づいたI/Oユニット17から入力した信号に従って、使用する工具を交換する。
A PMC (programmable machine controller) 16 is built in the
スピンドル制御部18は、プロセッサ11からスピンドル回転指令及びオリエンテーション等の指令及び図示しないポジションコーダからのフィードバック信号に基づいてスピンドルアンプ23を介してスピンドルモータMsを指令された回転速度で回転させる。また、オリエンテーション指令により、所定位置にスピンドルモータMsの回転位置を位置決めする。このスピンドル制御部18にも外乱推定オブザーバが組み込まれ、スピンドルモータMsに加わる負荷トルクを推定し検出するようにしている。
なお、サーボ制御部14やスピンドル制御部18に組み込まれた外乱推定オブザーバは、例えば特許文献3に開示されているように周知の技術であるので、詳細な説明を省略する。
The
Note that the disturbance estimation observer incorporated in the
工具の破損や摩耗は、工具により被加工物に対する切削がなされているとき、すなわち、切削指令(G01,G02,G03,G94等の指令)のブロックが実行されているときのサーボモータ、主軸モータの負荷トルクを測定して、負荷トルク計測データの統計をとることにより、監視することができる。 Servo motors and spindle motors when the tool is broken or worn when the workpiece is being cut by the tool, that is, when cutting commands (commands such as G01, G02, G03, G94) are executed. Can be monitored by measuring the load torque and taking statistics of the load torque measurement data.
前述したように、サーボ制御部14,スピンドル制御部18では、各軸のサーボモータMx,My,Mzに対する外乱推定オブザーバ、主軸モータMsに対する外乱推定オブザーバが組み込まれており、このオブザーバによって、各送り軸モータMx,My,Mz、主軸モータMsに加わる負荷トルクが求められている。このオブザーバによって求められた負荷トルクをRAM13の所定記憶領域に記憶する。
As described above, the
図2は、記憶手段に格納される負荷トルク計測データを説明する図である。RAM13の所定の記憶領域には、切削動作中における各モータの負荷トルクの計測データ(現在値、最大値、平均値)が、計測工具、計測区間毎に記憶される。現在値には、計測区間中に計測された負荷トルクの現在値が記憶される。最大値には、計測期間中に計測された負荷トルクの最大値が記憶される。また、平均値には、計測区間中に計測された負荷トルクの平均値が、計測区間終了後に記憶される。なお、負荷トルク計測データから最大値や平均値の算出する方法は周知の統計処理の手法を用いることができるので、詳細な説明は省略する。
FIG. 2 is a diagram for explaining load torque measurement data stored in the storage means. In a predetermined storage area of the
図2に示されるように、計測工具T01は計測対象の工具がT01であること、その計測を行う加工プログラムのブロックが100(シーケンス番号)であること、そして、ブロック100を2つの計測区間1,2に区別して、主軸1、主軸2、サーボ軸1・・・として各モータの負荷トルク計測データを記憶手段であるRAM13(図1参照)に格納する。また、計測工具T05や計測工具T20のように、計測ブロックを1つの計測区間として各モータの負荷トルク計測データを記憶する場合もある。これは、各計測ブロックで実行される切削動作に応じて、計測区間を複数に区分するか否かが判別されている。これについては、図5を用いて後述する。
As shown in FIG. 2, the measuring tool T01 is that the tool to be measured is T01, the machining program block that performs the measurement is 100 (sequence number), and the
測定され記憶された主軸モータMs、各送り軸のサーボモータMx,My,Mzの負荷トルクは、従来の数値制御装置が備える負荷トルク監視機能と同様に、最大値、平均値が求められる。
また、測定した負荷トルクの最大値、平均値が予め設定されている限界値を越えたときには、アラーム信号が出力される。なお、測定した負荷トルクの最大値、平均値が限界値を越えたときアラーム信号を出力する点は従来と同様であるから、詳細な説明は省略する。
As for the load torques of the main shaft motor Ms and the servo motors Mx, My, Mz of each feed shaft that are measured and stored, the maximum value and the average value are obtained in the same manner as the load torque monitoring function provided in the conventional numerical control device.
Also, an alarm signal is output when the measured maximum value and average value of the load torque exceed a preset limit value. In addition, since the point which outputs an alarm signal when the maximum value and average value of the measured load torque exceed a limit value is the same as that of the prior art, detailed description is omitted.
本発明の実施形態では、切削送り指令における負荷トルクの測定のみを行うようにしているが、切削動作以外の動作の位置決め(早送り)動作と判断することで、位置決め動作におけるサーボモータの負荷トルクを自動的に測定することも可能である。 In the embodiment of the present invention, only the load torque in the cutting feed command is measured, but the load torque of the servo motor in the positioning operation is determined by determining the positioning (rapid feed) operation other than the cutting operation. It is also possible to measure automatically.
上述した本発明の実施形態では、スピンドルモータMsや各送り軸のサーボモータMx,My,Mzの負荷トルクを外乱推定オブザーバで推定することによって負荷トルクを監視した例を述べた。外乱推定オブザーバを設けない場合には、モータの駆動電流の大きさを負荷トルクの大きさとして検出するようにしてもよい。この場合、モータ駆動電流の測定は、各モータの電流検出器で検出されフィードバックされる電流フィードバック信号を測定してもよく、又は速度ループから出力される電流指令(トルク指令)を負荷トルクとみなし測定するようにしてもよい。 In the above-described embodiment of the present invention, the example in which the load torque is monitored by estimating the load torque of the spindle motor Ms and the servo motors Mx, My, and Mz of each feed shaft with the disturbance estimation observer has been described. When the disturbance estimation observer is not provided, the magnitude of the motor drive current may be detected as the magnitude of the load torque. In this case, the motor drive current may be measured by measuring the current feedback signal detected and fed back by the current detector of each motor, or the current command (torque command) output from the speed loop is regarded as the load torque. You may make it measure.
図3は、本発明の実施形態を説明する図である。加工プログラム実行時において、工具交換指令から計測対象である工具を決定し、切削動作が指令された場合は、その切削動作に使用される送り軸のサーボモータを指令ブロックから自動的に決定する。そして、決定した送り軸の移動開始から移動終了までの間を負荷トルクの計測区間として、その区間の主軸モータとサーボモータの負荷トルクを自動的に計測する。 FIG. 3 is a diagram for explaining an embodiment of the present invention. When the machining program is executed, the tool to be measured is determined from the tool change command, and when a cutting operation is commanded, the servo motor of the feed axis used for the cutting operation is automatically determined from the command block. Then, the load torque is measured from the start of movement of the feed shaft to the end of movement as a load torque measurement section, and the load torque of the spindle motor and servo motor in that section is automatically measured.
図3において、加工プログラムは、工具交換指令(T01)のブロック、補間指令(ブロック番号:10、送り軸:Z軸、主軸:SP1)のブロック、工具交換指令(T03)のブロック、補間指令(ブロック番号:20、送り軸:Z軸、主軸:SP1)の各ブロックの指令を含んでいる。 In FIG. 3, the machining program includes a tool change command (T01) block, an interpolation command (block number: 10, feed axis: Z axis, spindle: SP1) block, a tool change command (T03) block, an interpolation command ( The command of each block of block number: 20, feed axis: Z axis, spindle: SP1) is included.
図4は、本発明に係る負荷トルクの計測を行う処理のアルゴリズムを示すフローチャートである。そして、図4に示すフローチャートの処理は、数値制御装置10のプロセッサ11が所定周期毎実行する。以下、各ステップに従って説明する。
●[ステップSA100]読み込まれた加工プログラムのブロックで工具交換が指令されたか否か判断し、工具交換指令がなされた場合にはステップSA101へ移行し、なされなかった場合にはステップS102へ移行する。
●[ステップSA101]加工プログラムの工具交換指令から計測対象の工具を決定し、図2に示されるように、計測対象の工具と、工具を駆動するサーボモータ、主軸モータの負荷トルク計測データを記憶する記録メモリを決定する。
●[ステップSA102]切削動作が指令されたか否か判断し、切削動作が指令された場合にはステップSA103へ移行し、されなかった場合にはステップSA109へ移行する。切削指令か否かは、ブロックの指令にG01やG02のコードがあるか否かで判断する。
●[ステップSA103]加工プログラムの切削指令ブロックから、計測対象の工具を駆動する送り軸のサーボモータを決定する。
●[ステップSA104]送り軸の移動開始か否か判断し、移動開始するのを待ってステップSA105へ移行する。
●[ステップSA105]各モータの負荷トルクの計測を実行する。
●[ステップSA106]負荷トルクの計測データを記録メモリに記録する。
●[ステップSA107]送り軸の移動終了か否か判断し、移動終了でない場合にはステップSA105へ戻り処理を継続し、移動終了の場合にはステップSA108へ移行する。
●[ステップSA108]切削動作を終了する。
●[ステップSA109]加工プログラムの終了か否か判断し、終了でない場合にはステップSA100へ戻り処理を継続し、終了の場合にはモータの負荷トルクを計測する処理を終了する。
FIG. 4 is a flowchart showing an algorithm of processing for measuring load torque according to the present invention. And the process of the flowchart shown in FIG. 4 is performed by the processor 11 of the
[Step SA100] It is determined whether or not tool change is instructed in the read machining program block. If a tool change instruction is issued, the process proceeds to Step SA101. If not, the process proceeds to Step S102. .
[Step SA101] The tool to be measured is determined from the tool change command of the machining program, and as shown in FIG. 2, the load torque measurement data of the tool to be measured, the servo motor that drives the tool, and the spindle motor are stored. Determine the recording memory to be used.
[Step SA102] It is determined whether or not a cutting operation has been commanded. If a cutting operation has been commanded, the process proceeds to Step SA103, and if not, the process proceeds to Step SA109. Whether or not it is a cutting command is determined by whether or not there is a G01 or G02 code in the block command.
[Step SA103] From the cutting command block of the machining program, the servo motor of the feed axis that drives the tool to be measured is determined.
[Step SA104] It is determined whether or not the movement of the feed axis is started, and the process proceeds to Step SA105 after waiting for the movement to start.
[Step SA105] The load torque of each motor is measured.
[Step SA106] The load torque measurement data is recorded in the recording memory.
[Step SA107] It is determined whether or not the movement of the feed axis is finished. If the movement is not finished, the process returns to Step SA105 to continue the process. If the movement is finished, the process goes to Step SA108.
[Step SA108] The cutting operation is terminated.
[Step SA109] It is determined whether or not the machining program is finished. If not finished, the process returns to Step SA100 to continue the process. If finished, the process for measuring the load torque of the motor is finished.
図5は、本発明の他の実施形態を説明する図である。加工プログラムの実行中において、1つの指令ブロックに送り軸の移動方向が異なる切削動作がある場合は、別の切削動作であると判断して、負荷トルクの計測区間を区別する。図5に示すタップサイクル指令の例では、穴あけ動作と逃げ動作を別の計測区間とし、計測した負荷トルクデータを計測区間から判別することができる。図5において、加工プログラムは、工具交換指令T01、タップサイクル指令(ブロック番号:30、送り軸:Z軸、主軸SP1)を備えている。 FIG. 5 is a diagram for explaining another embodiment of the present invention. During execution of the machining program, if there is a cutting operation in which the movement direction of the feed shaft is different in one command block, it is determined that the cutting operation is another, and the load torque measurement section is distinguished. In the example of the tap cycle command shown in FIG. 5, the drilling operation and the relief operation are set as separate measurement sections, and the measured load torque data can be determined from the measurement sections. In FIG. 5, the machining program includes a tool change command T01 and a tap cycle command (block number: 30, feed axis: Z axis, spindle SP1).
図6は、本発明に係る負荷トルクの計測を行う処理のアルゴリズムを示すフローチャートである(送り軸の移動方向が異なる切削動作がある場合)。以下、各ステップに従って説明する。
●[ステップSB100]読み込まれた加工プログラムのブロックで工具交換が指令されたか否か判断し、工具交換指令がなされた場合にはステップSB101へ移行し、なされなかった場合にはステップSB102へ移行する。
●[ステップSB101]計測対象の工具を決定する。
●[ステップSB102]切削動作が指令されたか否か判断し、切削動作が指令された場合にはステップSB103へ移行し、されなかった場合にはステップSB111へ移行する。切削指令か否かは、ブロックの指令にG01やG02のコードがあるか否かで判断する。
●[ステップSB103]送り軸のサーボモータを決定する。
●[ステップSB104]送り軸の移動開始か否か判断し、移動開始するのを待ってステップSB105へ移行する。
●[ステップSB105]送り軸の移動方向が異なる切削動作があるか否か判断し、異なる切削動作がある場合にはステップSB106へ移行し、ない場合にはステップSB107へ移行する。送り軸の移動方向が異なる切削動作の有無は、例えば、送り軸の移動方向ベクトルを監視することによって行う。
●[ステップSB106]計測区間を更新し、ステップSB107へ移行する。計測区間の更新は、図2に示されるように、送り軸の移動方向が異なる切削動作の場合に、計測対象の工具と、その工具を駆動するサーボモータと主軸モータの負荷トルク計測データを記憶する領域を、新たな計測区間として設定することを意味する。
●[ステップSB107]各モータの負荷トルクの計測を実行する。
●[ステップSB108]負荷トルクの計測データを記録メモリに記憶する。
●[ステップSB109]送り軸の移動終了か否か判断し、移動終了でない場合にはステップSB105へ戻り処理を継続し、移動終了の場合にはステップSB110へ移行する。
●[ステップSB110]切削動作を終了する。
●[ステップSB111]加工プログラムの終了か否か判断し、終了でない場合にはステップSB100へ戻り処理を継続し、終了の場合にはモータの負荷トルクを計測する処理を終了する。
FIG. 6 is a flowchart showing an algorithm of processing for measuring load torque according to the present invention (when there is a cutting operation in which the moving direction of the feed shaft is different). Hereinafter, it demonstrates according to each step.
[Step SB100] It is determined whether or not a tool change command is issued in the read machining program block. If a tool change command is issued, the process proceeds to Step SB101. If not, the process proceeds to Step SB102. .
[Step SB101] A tool to be measured is determined.
[Step SB102] It is determined whether or not a cutting operation has been commanded. If a cutting operation has been commanded, the process proceeds to Step SB103, and if not, the process proceeds to Step SB111. Whether or not it is a cutting command is determined by whether or not there is a G01 or G02 code in the block command.
[Step SB103] The servo motor for the feed axis is determined.
[Step SB104] It is determined whether or not the movement of the feed axis is started, and the process proceeds to Step SB105 after waiting for the movement to start.
[Step SB105] It is determined whether there is a cutting operation in which the moving direction of the feed axis is different. If there is a different cutting operation, the process proceeds to Step SB106, and if not, the process proceeds to Step SB107. The presence / absence of a cutting operation in which the moving direction of the feed shaft is different is performed by monitoring the moving direction vector of the feed shaft, for example.
[Step SB106] The measurement section is updated, and the process proceeds to Step SB107. As shown in FIG. 2, the measurement section is updated by storing the tool to be measured and load torque measurement data of the servo motor and spindle motor for driving the tool in the case of a cutting operation in which the moving direction of the feed axis is different. This means that the area to be set is set as a new measurement section.
[Step SB107] The load torque of each motor is measured.
[Step SB108] The load torque measurement data is stored in the recording memory.
[Step SB109] It is determined whether or not the movement of the feed axis is finished. If the movement is not finished, the process returns to Step SB105 and the process is continued. If the movement is finished, the process goes to Step SB110.
[Step SB110] The cutting operation is terminated.
[Step SB111] It is determined whether or not the machining program is finished. If not finished, the process returns to Step SB100 to continue the process. If finished, the process for measuring the load torque of the motor is finished.
上述したように、本発明によれば、負荷トルクの計測において複雑な設定作業や、加工プログラムの変更作業は一切必要ない。そのため、加工プログラムを新規作成したり、変更した場合においても、工具別および切削動作別に加工中のモータ負荷トルクを計測し、その統計を取る(切削動作中の平均値や最大値など)ことが容易になる。 As described above, according to the present invention, no complicated setting work or machining program change work is required in the measurement of load torque. Therefore, even when a machining program is newly created or changed, it is possible to measure the motor load torque during machining for each tool and cutting operation and take statistics (average value and maximum value during cutting operation, etc.) It becomes easy.
なお、本発明の実施形態において、負荷トルク以外にも、フィードバックされてくるモータの速度フィードバック信号や位置ループから出力される速度指令に基づくモータの速度、位置ループ処理で求められるエラー量(位置誤差)、さらには、熱シミュレーションによって得られる熱量等のモータの状態を、監視するようにしてもよい。 In the embodiment of the present invention, in addition to the load torque, the motor speed based on the speed feedback signal of the motor fed back and the speed command output from the position loop, the error amount (position error) obtained by the position loop processing In addition, the motor state such as the amount of heat obtained by the thermal simulation may be monitored.
10 数値制御装置
11 プロセッサ(CPU)
12 ROM
13 RAM
14 サーボ制御部
15 表示制御部
16 PMC
17 I/Oユニット
18 スピンドル制御部
19 バス
21 表示器
22x,22y,22z サーボアンプ
23 スピンドルアンプ
Mx X軸サーボモータ
My Y軸サーボモータ
Mz Z軸サーボモータ
Ms スピンドルモータ
10 Numerical Control Device 11 Processor (CPU)
12 ROM
13 RAM
14
17 I /
Claims (2)
前記加工プログラムの工具交換指令により指令された工具番号を読み取る工具番号読み取り手段と、
工具交換後の前記加工プログラムで指令された動作が切削動作であるか非切削動作であるかを判別する切削動作判別手段と、
前記切削動作判別手段により切削動作であると判別された時、該切削動作に使用される前記送り軸モータの移動開始から移動終了までの区間を負荷トルク測定区間として設定する負荷トルク測定区間設定手段と、
前記負荷トルク測定区間設定手段により設定された負荷トルク測定区間において、前記送り軸モータと前記主軸モータの負荷トルクを前記負荷トルク計測手段によって計測し、前記工具番号読み取り手段により読み取った工具番号に対応付けて各送り軸モータおよび主軸モータのモータ負荷トルクを記憶する記憶手段と、
を有することを特徴とするモータ負荷トルク測定機能を有する数値制御装置。 According to the machining program, the feed axis motor and the spindle motor of the machine tool are driven to move the workpiece and the tool relatively to process the workpiece, and the load torque of the feed axis motor and the spindle motor being processed by the load torque measuring means A numerical control device having a motor load torque measurement function for measuring
Tool number reading means for reading the tool number instructed by the tool change command of the machining program;
A cutting motion discriminating means for discriminating whether the motion commanded by the machining program after the tool change is a cutting motion or a non-cutting motion;
Load torque measurement section setting means for setting, as a load torque measurement section, a section from the start of movement to the end of movement of the feed shaft motor used for the cutting operation when it is determined by the cutting operation determination means. When,
In the load torque measurement section set by the load torque measurement section setting means, the load torque of the feed shaft motor and the spindle motor is measured by the load torque measurement means and corresponds to the tool number read by the tool number reading means. Storage means for storing the motor load torque of each feed shaft motor and main shaft motor;
A numerical control device having a motor load torque measurement function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009277946A JP2011118840A (en) | 2009-12-07 | 2009-12-07 | Numerical control device having motor load torque measuring function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009277946A JP2011118840A (en) | 2009-12-07 | 2009-12-07 | Numerical control device having motor load torque measuring function |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011118840A true JP2011118840A (en) | 2011-06-16 |
Family
ID=44284055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009277946A Pending JP2011118840A (en) | 2009-12-07 | 2009-12-07 | Numerical control device having motor load torque measuring function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011118840A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014068644A1 (en) * | 2012-10-29 | 2014-05-08 | 富士機械製造株式会社 | Automatic monitoring interval-setting device, machine tool, and automatic monitoring interval-setting method |
WO2016199591A1 (en) * | 2015-06-12 | 2016-12-15 | 三菱電機株式会社 | Control device for processing machine and control method for processing machine |
DE102016213152A1 (en) | 2015-08-03 | 2017-02-09 | Okuma Corporation | Information acquisition device of a machine tool |
JP2020078848A (en) * | 2018-11-14 | 2020-05-28 | 株式会社日立製作所 | Rotary tool diagnostic system |
CN111451837A (en) * | 2019-01-22 | 2020-07-28 | 发那科株式会社 | Preventive maintenance system for machine tools |
JP2020116666A (en) * | 2019-01-22 | 2020-08-06 | ファナック株式会社 | Tool management system of machine tool |
CN106873527B (en) * | 2015-12-11 | 2020-08-14 | 日立汽车系统(中国)有限公司 | Method, control device and system for measuring the service life of a cutting tool |
CN112440141A (en) * | 2019-08-30 | 2021-03-05 | 兄弟工业株式会社 | Numerical control device and control method |
JPWO2021261418A1 (en) * | 2020-06-24 | 2021-12-30 | ||
CN113977351A (en) * | 2020-12-11 | 2022-01-28 | 株式会社Mazin | Current measuring system and method of machine tool |
US11518304B2 (en) | 2018-08-31 | 2022-12-06 | Yamaha Hatsudoki Kabushiki Kaisha | Indicator data output device and indicator data output method |
-
2009
- 2009-12-07 JP JP2009277946A patent/JP2011118840A/en active Pending
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104768707A (en) * | 2012-10-29 | 2015-07-08 | 富士机械制造株式会社 | Automatic monitoring interval-setting device, machine tool, and automatic monitoring interval-setting method |
JPWO2014068644A1 (en) * | 2012-10-29 | 2016-09-08 | 富士機械製造株式会社 | Monitoring section automatic setting device, machine tool, and monitoring section automatic setting method |
US9910424B2 (en) | 2012-10-29 | 2018-03-06 | Fuji Machine Mfg. Co., Ltd. | Automatic monitoring interval-setting device, machine tool, and automatic monitoring interval-setting method |
WO2014068644A1 (en) * | 2012-10-29 | 2014-05-08 | 富士機械製造株式会社 | Automatic monitoring interval-setting device, machine tool, and automatic monitoring interval-setting method |
WO2016199591A1 (en) * | 2015-06-12 | 2016-12-15 | 三菱電機株式会社 | Control device for processing machine and control method for processing machine |
JPWO2016199591A1 (en) * | 2015-06-12 | 2017-08-31 | 三菱電機株式会社 | Processing machine control device and processing machine control method |
CN107405747A (en) * | 2015-06-12 | 2017-11-28 | 三菱电机株式会社 | The control device of machining tool and the control method of machining tool |
DE102016213152A1 (en) | 2015-08-03 | 2017-02-09 | Okuma Corporation | Information acquisition device of a machine tool |
CN106873527B (en) * | 2015-12-11 | 2020-08-14 | 日立汽车系统(中国)有限公司 | Method, control device and system for measuring the service life of a cutting tool |
US11518304B2 (en) | 2018-08-31 | 2022-12-06 | Yamaha Hatsudoki Kabushiki Kaisha | Indicator data output device and indicator data output method |
JP2020078848A (en) * | 2018-11-14 | 2020-05-28 | 株式会社日立製作所 | Rotary tool diagnostic system |
JP2020116666A (en) * | 2019-01-22 | 2020-08-06 | ファナック株式会社 | Tool management system of machine tool |
JP2020116667A (en) * | 2019-01-22 | 2020-08-06 | ファナック株式会社 | Preventive maintenance system of machine tool |
JP7148421B2 (en) | 2019-01-22 | 2022-10-05 | ファナック株式会社 | Preventive maintenance system for machine tools |
CN111451837A (en) * | 2019-01-22 | 2020-07-28 | 发那科株式会社 | Preventive maintenance system for machine tools |
US11520307B2 (en) | 2019-01-22 | 2022-12-06 | Fanuc Corporation | Tool management system of machine tool |
US11556901B2 (en) | 2019-01-22 | 2023-01-17 | Fanuc Corporation | Preventive maintenance system of machine tool |
CN112440141A (en) * | 2019-08-30 | 2021-03-05 | 兄弟工业株式会社 | Numerical control device and control method |
JPWO2021261418A1 (en) * | 2020-06-24 | 2021-12-30 | ||
CN113977351A (en) * | 2020-12-11 | 2022-01-28 | 株式会社Mazin | Current measuring system and method of machine tool |
EP4012521A1 (en) * | 2020-12-11 | 2022-06-15 | Mazin Inc. | Current measuring system and method for a machine tool |
US11913992B2 (en) | 2020-12-11 | 2024-02-27 | MAZIN Inc. | Current measuring system for machine tool and current measuring method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2011118840A (en) | Numerical control device having motor load torque measuring function | |
US11531319B2 (en) | Failure prediction device and machine learning device | |
JP5905158B2 (en) | Numerical controller | |
CN111687652B (en) | Grip force adjusting device and grip force adjusting system | |
US6937942B2 (en) | Method and apparatus of detecting tool abnormality in a machine tool | |
US11048227B2 (en) | Abnormality detection device of machine tool | |
JP4261470B2 (en) | Control device | |
JP2004130407A (en) | Apparatus for detecting or predicting tool breakage | |
JP7524230B2 (en) | CONTROL DEVICE FOR USE IN A NUMERICALLY CONTROLLED MACHINE TOOL, AND MACHINE TOOL COMPRISING THE CONTROL DEVICE - Patent application | |
JP2003326438A (en) | Tool anomaly detector | |
US20150104263A1 (en) | Machine tool | |
JP5400288B2 (en) | Numerical control device with load information display function | |
JP7277152B2 (en) | Tool management system for machine tools | |
JP2023029135A (en) | Current measurement system of machine tool and method therefor | |
US20160085231A1 (en) | Machine tool controller | |
JP2006085328A5 (en) | ||
JP2006085328A (en) | Machine tool controller | |
JP5236392B2 (en) | Numerical control device having theoretical machine position calculating means | |
JP5394093B2 (en) | Numerical control device for controlling a machine tool having a tool breakage detection function | |
JP6034835B2 (en) | Numerical control device for presenting information for shortening cycle time | |
KR100548874B1 (en) | Numerical control device with tool pull-out detection | |
JP3998846B2 (en) | Numerical control device using machining information | |
JPH08174383A (en) | Tool breakage detecting system | |
JP2004102568A (en) | Numerical value control device | |
CN105278450A (en) | Numerical controller performing repetitive machining |