JP2012056005A - Method and apparatus for setting parameter - Google Patents

Method and apparatus for setting parameter Download PDF

Info

Publication number
JP2012056005A
JP2012056005A JP2010200794A JP2010200794A JP2012056005A JP 2012056005 A JP2012056005 A JP 2012056005A JP 2010200794 A JP2010200794 A JP 2010200794A JP 2010200794 A JP2010200794 A JP 2010200794A JP 2012056005 A JP2012056005 A JP 2012056005A
Authority
JP
Japan
Prior art keywords
inertia
machine tool
stored
parameter
storage unit
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
JP2010200794A
Other languages
Japanese (ja)
Other versions
JP5334932B2 (en
Inventor
Norio Mori
規雄 森
Naohiro Nishiguchi
直浩 西口
Masashi Nagaya
昌史 長屋
Koji Kasai
恒二 葛西
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 JP2010200794A priority Critical patent/JP5334932B2/en
Publication of JP2012056005A publication Critical patent/JP2012056005A/en
Application granted granted Critical
Publication of JP5334932B2 publication Critical patent/JP5334932B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily perform setup of a parameter for controlling a feed shaft of a machining tool in a short time.SOLUTION: A parameter setup apparatus 56 performs the setup of the parameter for controlling the feed shaft of the machining tool 10. The parameter setup apparatus includes: a determination part 84 for determining whether the inertia of a load object to be loaded on the machining tool is stored in a storage part 82 of a processing control system connected to the machining tool; a calculation part 76 for measuring the inertia of the load object and storing it when the inertia is not stored in the storage part, and also when the inertia is stored in the storage part, reading the stored inertia, and based on the measured or read inertia of the load object, calculating the parameter for controlling the feed shaft of the machining tool; and a setup part 86 for setting the control parameter calculated by the calculation part with respect to the feed shaft of the machining tool.

Description

本発明は、工作機械の送り軸の制御パラメータを設定するパラメータ設定方法およびその方法を実施するパラメータ設定装置に関する。   The present invention relates to a parameter setting method for setting a control parameter of a feed axis of a machine tool and a parameter setting device for implementing the method.

工作機械は一つ以上の直動送り軸および/または回転送り軸(以下、これら直動送り軸および回転送り軸を単に「送り軸」と呼ぶ)を含んでおり、これら送り軸を駆動するためのモータは数値制御装置により制御されている。工作機械においては、ワークの加工内容に応じて異なる工具が取り付けられ、また、ワークを工作機械に取り付けるためのジグもワークに応じて異なるものが使用される。   The machine tool includes one or more linear feed axes and / or rotary feed axes (hereinafter, these linear feed axes and rotary feed axes are simply referred to as “feed axes”) for driving these feed axes. These motors are controlled by a numerical controller. In machine tools, different tools are attached according to the machining content of the workpiece, and jigs for attaching the workpiece to the machine tool are also different depending on the workpiece.

このような工作機械を含むシステムにおいて、送り軸には、加減速時定数、反転補正値、各種ゲイン、フィルタなどの制御パラメータを設定する必要がある。そして、これら制御パラメータを設定するためには、工作機械の各送り軸に作用するイナーシャや粘性摩擦係数、クーロン摩擦力を取得する必要があり、特許文献1においては、そのようなイナーシャや粘性摩擦係数、クーロン摩擦力の取得方法を開示している。また、特許文献2は、条件に応じてパラメータを変更するようにした数値制御装置を開示している。   In a system including such a machine tool, it is necessary to set control parameters such as an acceleration / deceleration time constant, a reverse correction value, various gains, and a filter on the feed axis. In order to set these control parameters, it is necessary to acquire the inertia, the viscous friction coefficient, and the Coulomb friction force acting on each feed shaft of the machine tool. In Patent Document 1, such inertia and viscous friction are obtained. The acquisition method of the coefficient and Coulomb friction force is disclosed. Patent Document 2 discloses a numerical control device in which parameters are changed according to conditions.

特開平3−290706JP-A-3-290706 特開2006−346760号公報JP 2006-346760 A

しかしながら、或る工作機械に載置されるワークを他の工作機械で加工する場合には、再度、イナーシャや粘性摩擦係数、クーロン摩擦力を取得して制御パラメータを設定する必要があり、時間がかかる上に、その処理も煩雑である。また、複数の送り軸を備えた工作機械においても、或る送り軸に対してイナーシャや粘性摩擦係数、クーロン摩擦力を取得して制御パラメータを設定した後で、他の送り軸についても同様にイナーシャや粘性摩擦係数、クーロン摩擦力を取得する必要があり、単一の工作機械においても同様な問題が発生する。   However, when a workpiece placed on a certain machine tool is machined by another machine tool, it is necessary to set the control parameters by acquiring the inertia, the viscous friction coefficient, and the Coulomb friction force again. In addition, the processing is complicated. Similarly, in a machine tool having a plurality of feed axes, after obtaining inertia, viscous friction coefficient, and Coulomb friction force for a feed axis and setting control parameters, the same applies to other feed axes. It is necessary to acquire inertia, viscous friction coefficient, and Coulomb friction force, and the same problem occurs in a single machine tool.

本発明はこのような事情に鑑みてなされたものであり、或る工作機械に載置されるジグやワークを他の工作機械に載置して加工する場合または工作機械の或る送り軸に対して制御パラメータを設定した後で他の送り軸に対して制御パラメータを設定する場合であっても、制御パラメータの設定を簡易かつ短時間で行うことのできるパラメータ設定方法およびその方法を実施するパラメータ設定装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and when a jig or workpiece placed on a certain machine tool is placed on another machine tool for processing, or on a certain feed shaft of the machine tool. Even if the control parameters are set for other feed axes after setting the control parameters, the parameter setting method and method for setting the control parameters can be performed easily and in a short time. An object is to provide a parameter setting device.

前述した目的を達成するために1番目の発明によれば、工作機械の送り軸の制御パラメータを設定するパラメータ設定方法において、前記工作機械に載せる積載物のイナーシャが、記憶部に記憶されているか否かを判定し、前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読み込み、計測または読み込まれた積載物のイナーシャに基づいて前記工作機械の前記送り軸の制御パラメータを演算し、演算された制御パラメータを前記工作機械の前記送り軸に対して設定することを特徴とするパラメータ設定方法が提供される。   In order to achieve the above-described object, according to the first invention, in the parameter setting method for setting the control parameter of the feed axis of the machine tool, is the inertia of the load loaded on the machine tool stored in the storage unit? If the inertia is not stored in the storage unit, the inertia of the load is measured and stored. If the inertia is stored in the storage unit, the inertia is stored. Reading inertia, calculating control parameters of the feed axis of the machine tool based on measured or read inertia of the load, and setting the calculated control parameters for the feed axis of the machine tool A characteristic parameter setting method is provided.

2番目の発明によれば、工作機械の複数の送り軸のうちの一つの送り軸の制御パラメータを設定するパラメータ設定方法において、前記一つの送り軸について前記工作機械に載せる積載物のイナーシャが記憶部に記憶されているか否かを判定し、前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読み込み、計測または読み込まれた積載物のイナーシャに基づいて前記工作機械の前記一つの送り軸の制御パラメータを演算し、演算された制御パラメータを前記工作機械の前記一つの送り軸に対して設定することを特徴とするパラメータ設定方法が提供される。   According to the second invention, in the parameter setting method for setting a control parameter for one feed axis of a plurality of feed axes of a machine tool, the inertia of a load placed on the machine tool is stored for the one feed axis. When the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and the inertia is stored in the storage unit The stored inertia is read, the control parameter of the one feed axis of the machine tool is calculated based on the measured or read inertia of the load, and the calculated control parameter is calculated as the one of the machine tool. A parameter setting method is provided which is characterized by setting for one feed axis.

3番目の発明によれば、1番目または2番目の発明において、前記記憶部は、送り軸のクーロン摩擦および粘性摩擦の摩擦係数を記憶しており、前記制御パラメータは前記摩擦係数と前記イナーシャとに基づいて演算される。   According to a third aspect, in the first or second aspect, the storage unit stores a friction coefficient of coulomb friction and viscous friction of the feed shaft, and the control parameter includes the friction coefficient, the inertia, Is calculated based on

4番目の発明によれば、3番目の発明において、前記摩擦係数および前記イナーシャに応じて変化する制御パラメータと、前記摩擦係数および前記イナーシャの値の範囲毎に一定の値に設定される制御パラメータとが演算される。   According to a fourth aspect, in the third aspect, the control parameter that changes according to the friction coefficient and the inertia, and the control parameter that is set to a constant value for each range of the friction coefficient and the inertia value. And are calculated.

5番目の発明によれば、3番目の発明において、前記記憶部には、前記工作機械の送り軸を動作させるモータのモータ温度と該モータのトルク定数との関係が記憶されており、前記制御パラメータは前記関係と前記摩擦係数と前記イナーシャとに基づいて演算される。   According to a fifth aspect, in the third aspect, the storage unit stores a relationship between a motor temperature of a motor that operates the feed shaft of the machine tool and a torque constant of the motor, and the control unit The parameter is calculated based on the relationship, the friction coefficient, and the inertia.

6番目の発明によれば、工作機械の送り軸の制御パラメータを設定するパラメータ設定装置において、前記工作機械に載せる積載物のイナーシャが、前記工作機械に接続された加工管理システムの記憶部に記憶されているか否かを判定する判定部と、前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読込んで、計測または読込まれた積載物のイナーシャに基づいて前記工作機械の前記送り軸の制御パラメータを演算する演算部と、該演算部により演算された制御パラメータを前記工作機械の前記送り軸に対して設定する設定部と、を具備すること特徴とするパラメータ設定装置が提供される。   According to the sixth aspect of the invention, in the parameter setting device for setting the control parameter of the feed axis of the machine tool, the inertia of the load placed on the machine tool is stored in the storage unit of the machining management system connected to the machine tool. A determination unit that determines whether or not the load has been stored, and when the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and the inertia is stored in the storage unit Includes reading a stored inertia, calculating a control parameter for the feed axis of the machine tool based on the measured or read inertia of the load, and a control parameter calculated by the calculation unit. And a setting unit configured to set the feed axis of the machine tool.

7番目の発明によれば、工作機械の複数の送り軸のうちの一つの送り軸の制御パラメータを設定するパラメータ設定装置において、前記一つの送り軸について前記工作機械に載せるべき積載物のイナーシャが記憶部に記憶されているか否かを判定する判定部と、前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読込んで、計測または読込まれた積載物のイナーシャに基づいて前記工作機械の前記一つの送り軸の制御パラメータを演算する演算部と、該演算部により演算された制御パラメータを前記工作機械の前記一つの送り軸に対して設定する設定部と、を具備することを特徴とするパラメータ設定装置が提供される。   According to the seventh aspect, in the parameter setting device for setting the control parameter of one of the plurality of feed axes of the machine tool, the inertia of the load to be placed on the machine tool for the one feed axis is provided. A determination unit that determines whether or not the data is stored in a storage unit, and if the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and the inertia is stored in the storage unit If the stored inertia is read, the control unit calculates the control parameter of the one feed axis of the machine tool based on the measured or read inertia of the load, and the calculation unit A parameter setting device comprising: a setting unit configured to set the calculated control parameter for the one feed axis of the machine tool. It is subjected.

8番目の発明によれば、6番目または7番目の発明において、前記記憶部は、送り軸のクーロン摩擦および粘性摩擦の摩擦係数を記憶しており、前記制御パラメータは前記摩擦係数と前記イナーシャとに基づいて演算される。   According to an eighth invention, in the sixth or seventh invention, the storage unit stores a friction coefficient of Coulomb friction and viscous friction of the feed shaft, and the control parameter includes the friction coefficient, the inertia, Is calculated based on

9番目の発明によれば、8番目の発明において、前記摩擦係数および前記イナーシャに応じて変化する制御パラメータと、前記摩擦係数および前記イナーシャの値の範囲毎に一定の値に設定される制御パラメータとが演算される。   According to a ninth aspect, in the eighth aspect, the control parameter that changes according to the friction coefficient and the inertia, and the control parameter that is set to a constant value for each range of the friction coefficient and the inertia value. And are calculated.

10番目の発明によれば、6番目または7番目の発明において、前記記憶部には、前記工作機械の送り軸を動作させるモータのモータ温度と該モータのトルク定数との関係が記憶されており、前記制御パラメータは前記関係と前記摩擦係数と前記イナーシャとに基づいて演算されるようにした。   According to a tenth aspect, in the sixth or seventh aspect, the storage unit stores a relationship between a motor temperature of a motor that operates the feed shaft of the machine tool and a torque constant of the motor. The control parameter is calculated based on the relationship, the friction coefficient, and the inertia.

1番目または6番目の発明においては、或る工作機械に載置されるワークを他の工作機械で加工する場合であっても、或る工作機械で測定したイナーシャを他の工作機械で使用できる。従って、イナーシャの計測、演算回数を減らすことができ、その結果、制御パラメータの設定を簡易かつ短時間で行うことができる。   In the first or sixth invention, even when a workpiece placed on a certain machine tool is processed by another machine tool, the inertia measured by the certain machine tool can be used by another machine tool. . Accordingly, it is possible to reduce the number of times of inertia measurement and calculation, and as a result, the control parameters can be set easily and in a short time.

2番目または7番目の発明においては、工作機械の或る送り軸に対してパラメータを設定した後で他の送り軸に対して制御パラメータを設定する必要がある場合であっても、或る送り軸で測定したイナーシャを他の送り軸で使用できる。従って、イナーシャの計測、演算回数を減らすことができ、その結果、制御パラメータの設定を簡易かつ短時間で行うことができる。   In the second or seventh invention, even if it is necessary to set a control parameter for another feed axis after setting a parameter for a feed axis of a machine tool, Inertia measured on the axis can be used on other feed axes. Accordingly, it is possible to reduce the number of times of inertia measurement and calculation, and as a result, the control parameters can be set easily and in a short time.

3番目または8番目の発明においては、クーロン摩擦と粘性摩擦の両方を考慮しているので、制御パラメータをより精密に設定できる。   In the third or eighth invention, since both Coulomb friction and viscous friction are considered, the control parameter can be set more precisely.

4番目または9番目の発明においては、制御パラメータの特性に応じて制御パラメータの設定手法を変えているので、制御パラメータをより適切に設定できる。なお、摩擦係数とイナーシャとに応じて変化する制御パラメータは、加減速時定数および反転補正値などである。摩擦係数とイナーシャとの値の範囲毎に一定の値に設定される制御パラメータは、各種ゲインおよびフィルタ等である。   In the fourth or ninth invention, the control parameter setting method is changed according to the characteristics of the control parameter, so that the control parameter can be set more appropriately. The control parameters that change according to the friction coefficient and the inertia are an acceleration / deceleration time constant, a reverse correction value, and the like. Control parameters set to a constant value for each range of values of the friction coefficient and the inertia are various gains, filters, and the like.

5番目または10番目の発明においては、モータ温度を考慮して制御パラメータを設定しているので、制御パラメータをより精密に設定できる。   In the fifth or tenth invention, since the control parameter is set in consideration of the motor temperature, the control parameter can be set more precisely.

本発明の数値制御工作機械の概略図である。It is the schematic of the numerical control machine tool of this invention. 本発明の数値制御工作機械を制御する演算制御部の構成ブロック図である。It is a block diagram of the configuration of an arithmetic control unit that controls the numerically controlled machine tool of the present invention. 図2に示される演算制御部の追加の構成ブロック図である。FIG. 3 is an additional configuration block diagram of an arithmetic control unit shown in FIG. 2. 送り軸が直動軸である場合に制御パラメータを演算する演算手法のフローチャートである。It is a flowchart of the calculation method which calculates a control parameter when a feed axis is a linear motion axis. (a)粘性摩擦の場合におけるイナーシャと摩擦係数の関係を示す図である。(b)クーロン摩擦の場合におけるイナーシャと摩擦係数の関係を示す図である。(A) It is a figure which shows the relationship between an inertia in the case of viscous friction, and a friction coefficient. (B) It is a figure which shows the relationship between an inertia in the case of Coulomb friction, and a friction coefficient. 送り軸が回転送り軸である場合に制御パラメータを演算する演算手法のフローチャートである。It is a flowchart of the calculation method which calculates a control parameter when a feed axis is a rotation feed axis. イナーシャおよび摩擦係数を演算する演算手法を示すフローチャートである。It is a flowchart which shows the calculation method which calculates an inertia and a friction coefficient. トルク定数とモータ温度との間の関係を示す図である。It is a figure which shows the relationship between a torque constant and motor temperature. 制御パラメータを演算する演算手法を示すフローチャートである。It is a flowchart which shows the calculation method which calculates a control parameter. (a)イナーシャまたは摩擦係数に対して直線状に変化する制御パラメータを示す図である。(b)イナーシャまたは摩擦係数に対して曲線状に変化する制御パラメータを示す図である。(c)イナーシャまたは摩擦係数に対してステップ状に変化する制御パラメータを示す図である。(A) It is a figure which shows the control parameter which changes linearly with respect to an inertia or a friction coefficient. (B) It is a figure which shows the control parameter which changes in a curve shape with respect to an inertia or a friction coefficient. (C) It is a figure which shows the control parameter which changes in a step shape with respect to an inertia or a friction coefficient.

以下、添付図面を参照して本発明の実施形態を説明する。以下の図面において同様の部材には同様の参照符号が付けられている。理解を容易にするために、これら図面は縮尺を適宜変更している。
図1は本発明の数値制御工作機械の概略図である。図1において、数値制御工作機械10は所謂横形マシニングセンタであり、工場等の床面に設置されるベッド12を具備している。ベッド12の上面には、Z軸ガイドレール28が水平なZ軸方向(図1において左右方向)に延設されており、Z軸ガイドレール28には、ワーク用ジグGを介してワークWを固定するためのテーブル14が摺動自在に取り付けられている。図1は、テーブル14上にB軸方向に回転送り可能なNCロータリテーブルを固定し、その上にワークWを積載している例を示しているが、NCロータリテーブルを介在させることなくテーブル14上に直接ワークWを積載しても良い。
Embodiments of the present invention will be described below with reference to the accompanying drawings. In the following drawings, the same members are denoted by the same reference numerals. In order to facilitate understanding, the scales of these drawings are appropriately changed.
FIG. 1 is a schematic view of a numerically controlled machine tool of the present invention. In FIG. 1, a numerically controlled machine tool 10 is a so-called horizontal machining center and includes a bed 12 installed on a floor surface of a factory or the like. A Z-axis guide rail 28 extends in the horizontal Z-axis direction (left-right direction in FIG. 1) on the upper surface of the bed 12, and a workpiece W is placed on the Z-axis guide rail 28 via a workpiece jig G. A table 14 for fixing is slidably attached. FIG. 1 shows an example in which an NC rotary table that can be rotationally fed in the B-axis direction is fixed on a table 14 and a workpiece W is loaded thereon, but the table 14 is not provided with an NC rotary table interposed. The workpiece W may be loaded directly on the top.

ベッド12の上面には、更に、X軸ガイドレール36がZ軸に直交し、かつ水平なX軸方向(図1の紙面に垂直方向)に延設されており、X軸ガイドレール36にはコラム16が摺動自在に取り付けられている。コラム16においてワークWに対面する前面には、X軸およびZ軸に直交するY軸方向(図1において上下方向)にY軸ガイドレール34が延設されており、Y軸ガイドレール34には、主軸20を回転自在に支持する主軸頭18が摺動自在に取り付けられている。   An X-axis guide rail 36 is further extended on the upper surface of the bed 12 in a direction perpendicular to the Z-axis and in the horizontal X-axis direction (perpendicular to the paper surface of FIG. 1). A column 16 is slidably attached. A Y-axis guide rail 34 extends in the Y-axis direction (vertical direction in FIG. 1) orthogonal to the X-axis and the Z-axis on the front surface facing the workpiece W in the column 16. A spindle head 18 that rotatably supports the spindle 20 is slidably attached.

ベッド12内においてテーブル14の下側にはZ軸送りねじ24がZ軸方向に延設されており、テーブル14の下面にはZ軸送りねじ24に螺合するナット26が固定されている。Z軸送りねじ24の一端にはZ軸送りサーボモータMzが連結されており、Z軸送りサーボモータMzを駆動しZ軸送りねじ24を回転させることにより、テーブル14はZ軸ガイドレール28に沿って移動する。同様にベッド12内においてコラム16の下側にはX軸送りねじ(図示せず)がX軸方向に延設されており、コラム16の下面には前記X軸送りねじに螺合するナット(図示せず)が固定されている。   A Z-axis feed screw 24 extends in the Z-axis direction below the table 14 in the bed 12, and a nut 26 that is screwed to the Z-axis feed screw 24 is fixed to the lower surface of the table 14. A Z-axis feed servo motor Mz is connected to one end of the Z-axis feed screw 24, and the table 14 is attached to the Z-axis guide rail 28 by driving the Z-axis feed servo motor Mz to rotate the Z-axis feed screw 24. Move along. Similarly, an X-axis feed screw (not shown) extends in the X-axis direction below the column 16 in the bed 12, and a nut (threaded to the X-axis feed screw is engaged with the lower surface of the column 16. (Not shown) is fixed.

前記X軸送りねじの一端にはX軸送りサーボモータMxが連結されており、X軸送りサーボモータMxを駆動し前記X軸送りねじを回転させることにより、コラム16はX軸ガイドレール36に沿って移動する。更に、コラム16内にはY軸送りねじ32がY軸方向に延設されており、主軸頭18の背面にはY軸送りねじ32に螺合するナット30が固定されている。Y軸送りねじ32の上端にはY軸送りサーボモータMyが連結されており、Y軸送りサーボモータMyを駆動しY軸送りねじ32を回転させることにより、主軸頭18はY軸ガイドレール34に沿って移動する。   An X-axis feed servo motor Mx is connected to one end of the X-axis feed screw, and the column 16 is connected to the X-axis guide rail 36 by driving the X-axis feed servo motor Mx and rotating the X-axis feed screw. Move along. Further, a Y-axis feed screw 32 extends in the Y-axis direction in the column 16, and a nut 30 that is screwed to the Y-axis feed screw 32 is fixed to the back surface of the spindle head 18. A Y-axis feed servo motor My is connected to the upper end of the Y-axis feed screw 32. By driving the Y-axis feed servo motor My and rotating the Y-axis feed screw 32, the spindle head 18 is moved to the Y-axis guide rail 34. Move along.

主軸20の先端には工具22、例えばエンドミルが装着されている。工具22を回転させながら、コラム16、主軸頭18、テーブル14を各々X軸、Y軸、Z軸方向に動作させることにより、テーブル14に固定されたワークWを所望形状に切削加工する。NCロータリテーブルが固定されている場合、数値制御工作機械10は、更にB軸を有する4軸の数値制御工作機械と言える。   A tool 22, such as an end mill, is attached to the tip of the main shaft 20. While the tool 22 is rotated, the column 16, the spindle head 18, and the table 14 are moved in the X-axis, Y-axis, and Z-axis directions, respectively, thereby cutting the workpiece W fixed to the table 14 into a desired shape. When the NC rotary table is fixed, the numerically controlled machine tool 10 can be said to be a 4-axis numerically controlled machine tool having a B axis.

数値制御工作機械10は、コラム16、主軸頭18、テーブル14のX軸、Y軸、Z軸方向に移動させるX軸、Y軸、Z軸送りサーボモータMx、My、Mzを制御する数値制御部40を具備している。NCロータリテーブルを有する場合には、B軸送りサーボモータ(図示せず)を具備している。   The numerically controlled machine tool 10 is a numerical controller that controls the X axis, Y axis, and Z axis feed servo motors Mx, My, and Mz that move the column 16, spindle head 18, and table 14 in the X axis, Y axis, and Z axis directions. Part 40 is provided. When an NC rotary table is provided, a B-axis feed servo motor (not shown) is provided.

数値制御部40は、NCプログラム42を読み取りこれを解釈するプログラム読取解釈部44、解釈されたプログラムを一時的に記憶する解釈済みプログラム記憶部46、解釈済みプログラム記憶部46からプログラムを適宜引き出して実行プログラムデータを発するプログラム実行指令部48、プログラム実行指令部48からの実行プログラムデータに基づいてX軸、Y軸、Z軸の各々への位置指令値、速度指令値、加速度指令値を発する分配制御部50、分配制御部50からの位置指令値、速度指令値、加速度指令値および後述するフィードバック信号に基づいて送り軸モータ駆動部54へトルク指令値または電流指令値を発するサーボ制御部52を含んでいる。なお、B軸についても同様に、分配制御部50がB軸への位置指令値、角速度指令値、角加速度指令値を発する。   The numerical control unit 40 reads the NC program 42 and interprets the program read / interpretation unit 44, the interpreted program storage unit 46 that temporarily stores the interpreted program, and the interpreted program storage unit 46 appropriately pulling out the program. A program execution command unit 48 that issues execution program data, and a distribution that generates position command values, speed command values, and acceleration command values for each of the X, Y, and Z axes based on the execution program data from the program execution command unit 48 A servo control unit 52 that issues a torque command value or a current command value to the feed shaft motor drive unit 54 based on a position command value, a speed command value, an acceleration command value, and a feedback signal described later, from the control unit 50 and the distribution control unit 50 Contains. Similarly for the B axis, the distribution control unit 50 issues a position command value, an angular velocity command value, and an angular acceleration command value for the B axis.

送り軸モータ駆動部54は、サーボ制御部52からのトルク指令値または電流指令値に基づき電流を出力してX軸、Y軸、Z軸の各々の送り軸モータMx、My、Mzを駆動する。更に、本実施形態では、サーボ制御部52から送り軸モータ駆動部54へのトルク指令値または電流指令値を補正する演算制御部56が設けられている。   The feed shaft motor drive unit 54 outputs current based on the torque command value or current command value from the servo control unit 52 to drive the feed shaft motors Mx, My, Mz of the X axis, Y axis, and Z axis. . Furthermore, in the present embodiment, an arithmetic control unit 56 that corrects a torque command value or a current command value from the servo control unit 52 to the feed shaft motor drive unit 54 is provided.

図2は本発明の数値制御工作機械を制御する演算制御部の構成ブロック図である。図2の実施形態では、演算制御部56は、トルク演算部96およびパラメータ演算部98を備えた演算部76を具備している。図2において図1に対応する構成要素は同じ参照符号にて指示されている。演算部76は後述する各種の演算処理を行う。   FIG. 2 is a block diagram showing the configuration of an arithmetic control unit for controlling the numerically controlled machine tool of the present invention. In the embodiment of FIG. 2, the calculation control unit 56 includes a calculation unit 76 including a torque calculation unit 96 and a parameter calculation unit 98. In FIG. 2, the components corresponding to FIG. 1 are indicated by the same reference numerals. The calculation unit 76 performs various calculation processes described later.

サーボ制御部52は、分配制御部50からの位置指令値から、テーブル14に取り付けたデジタル直線スケール等の位置検出器SPの位置フィードバック信号を減算する減算器58、減算器58からの出力に基づき位置を制御する位置制御部60、位置制御部60から出力された速度指令から送り軸モータMに設けたパルスコーダPCからの速度フィードバック信号を減算する減算器62、減算器62の出力に基づき速度を制御する速度制御部64を含んでいる。   The servo control unit 52 subtracts the position feedback signal of the position detector SP such as a digital linear scale attached to the table 14 from the position command value from the distribution control unit 50 based on the output from the subtractor 58 and the subtractor 58. A position control unit 60 that controls the position, a subtractor 62 that subtracts a speed feedback signal from the pulse coder PC provided in the feed shaft motor M from a speed command output from the position control unit 60, and a speed based on the output of the subtractor 62. A speed control unit 64 for control is included.

一方、分配制御部50からの位置指令値、速度指令値、加速度指令値は、速度フィードフォワード制御部90および加速度フィードフォワード制御部92へも刻々と送出されている。速度フィードフォワード制御部90および加速度フィードフォワード制御部92は、分配制御部50からの位置指令値等に基づいて、速度フィードフォワード値および加速度フィードフォワード値を生成する。加速度フィードフォワード値と、速度制御部64からの出力とは、加算器94において加算され、送り軸モータ駆動部54に供給される。   On the other hand, the position command value, the speed command value, and the acceleration command value from the distribution control unit 50 are also sent to the speed feedforward control unit 90 and the acceleration feedforward control unit 92 every moment. The speed feedforward control unit 90 and the acceleration feedforward control unit 92 generate a speed feedforward value and an acceleration feedforward value based on the position command value and the like from the distribution control unit 50. The acceleration feedforward value and the output from the speed control unit 64 are added by the adder 94 and supplied to the feed shaft motor drive unit 54.

さらに、送り軸モータMには、送り軸モータMに流れる電流を検出する電流検出器72および送り軸モータMの温度を検出する温度センサ74が設けられている。電流検出器72により検出された電流値および温度センサ74により検出された温度はトルク演算部96に出力され、トルク演算部96は送り軸モータMに作用するトルクを演算する。さらに、パラメータ演算部98は、トルク演算部96により演算されたトルクと、パルスコーダPCからの速度フィードバック信号等とに基づいて制御パラメータを演算する。なお、演算部76はイナーシャや摩擦係数の演算等、他の演算処理を行う。   Further, the feed shaft motor M is provided with a current detector 72 that detects a current flowing through the feed shaft motor M and a temperature sensor 74 that detects the temperature of the feed shaft motor M. The current value detected by the current detector 72 and the temperature detected by the temperature sensor 74 are output to the torque calculator 96, and the torque calculator 96 calculates the torque acting on the feed shaft motor M. Further, the parameter calculation unit 98 calculates a control parameter based on the torque calculated by the torque calculation unit 96 and the speed feedback signal from the pulse coder PC. The calculation unit 76 performs other calculation processing such as calculation of inertia and friction coefficient.

図3は図2に示される演算制御部の追加の構成ブロック図である。演算制御部56の演算部76におけるパラメータ演算部98で設定された制御パラメータは設定部86に出力される。次いで設定部86は、対応する送り軸に対して制御パラメータを設定する。従って、演算制御部56はパラメータ設定装置としての役目を果たす。また、演算部76は、数値制御工作機械10とは別個の上位制御装置、例えば加工管理システム80に含まれていて各種データを含む記憶部82に接続されている。あるいは、記憶部82は、数値制御工作機械10の演算制御部56に内蔵されていてもよい。   FIG. 3 is an additional configuration block diagram of the arithmetic control unit shown in FIG. The control parameters set by the parameter calculation unit 98 in the calculation unit 76 of the calculation control unit 56 are output to the setting unit 86. Next, the setting unit 86 sets a control parameter for the corresponding feed axis. Therefore, the arithmetic control unit 56 serves as a parameter setting device. The arithmetic unit 76 is connected to a storage unit 82 that is included in a host control device separate from the numerically controlled machine tool 10, for example, the processing management system 80 and includes various data. Alternatively, the storage unit 82 may be built in the arithmetic control unit 56 of the numerically controlled machine tool 10.

記憶部82には、数値制御工作機械10に積載される積載物のイナーシャが記憶されている。イナーシャは、送り軸が直動送り軸である場合には積載物の慣性質量を意味し、送り軸が回転送り軸である場合(図1の矢印Bを参照されたい)には積載物の慣性モーメントを意味する。   The storage unit 82 stores the inertia of the load loaded on the numerically controlled machine tool 10. The inertia means the inertial mass of the load when the feed shaft is a linear feed shaft, and the inertia of the load when the feed shaft is a rotary feed shaft (see arrow B in FIG. 1). Mean moment.

積載物とは、ワークW、工具22、およびワーク用ジグG等の総称であり、ワーク用ジグGが含まれない場合もある。また、記憶部82には、ワークW、工具22、およびワーク用ジグGのそれぞれについてイナーシャが記憶されていてもよく、積載物全体として一つのイナーシャが記憶されていてもよい。また、積載物のイナーシャは数値制御工作機械10のX軸、Y軸、Z軸および回転B軸のそれぞれについて記憶されるものとする。さらに、図1に示される数値制御工作機械10以外の複数の工作機械についても、積載物のイナーシャが記憶部82に同様に記憶されている。なお、記憶部82には、積載物についての質量と摩擦係数との関係、およびイナーシャまたは摩擦係数と制御パラメータとの関係も工作機械毎、およびこれら工作機械の送り軸毎に記憶されている。   The load is a general term for the workpiece W, the tool 22, the workpiece jig G, and the like, and the workpiece jig G may not be included in some cases. The storage unit 82 may store inertia for each of the workpiece W, the tool 22, and the workpiece jig G, or may store one inertia for the entire load. The inertia of the load is stored for each of the X axis, the Y axis, the Z axis, and the rotation B axis of the numerically controlled machine tool 10. Further, the inertia of the load is similarly stored in the storage unit 82 for a plurality of machine tools other than the numerically controlled machine tool 10 shown in FIG. The storage unit 82 also stores the relationship between the mass of the load and the friction coefficient, and the relationship between the inertia or the friction coefficient and the control parameter for each machine tool and each feed axis of the machine tool.

判定部84は、数値制御工作機械10に載せる積載物のイナーシャが記憶部82に記憶されているか否かを判定する。さらに、判定部84は、数値制御工作機械10の一つの送り軸について数値制御工作機械10に載せる積載物のイナーシャが記憶部82に記憶されているか否かを判定することもできる。   The determination unit 84 determines whether the inertia of the load placed on the numerically controlled machine tool 10 is stored in the storage unit 82. Further, the determination unit 84 can also determine whether or not the inertia of the load placed on the numerical control machine tool 10 for one feed axis of the numerical control machine tool 10 is stored in the storage unit 82.

図4は送り軸が直動送り軸、例えばZ軸である場合に制御パラメータを演算する演算手法のフローチャートである。以下、図4を参照しつつ、本発明における制御パラメータの演算手法について説明する。   FIG. 4 is a flowchart of a calculation method for calculating control parameters when the feed axis is a linear feed axis, for example, the Z axis. Hereinafter, the control parameter calculation method in the present invention will be described with reference to FIG.

はじめに、積載物を数値制御工作機械10に搭載する。そして、ステップ110において記憶部82にアクセスし、判定部84は、その積載物をその数値制御工作機械10に載せたときのイナーシャが記憶部82に記憶されているかを判定する。なお、記憶部82が加工管理システム80にのみ内蔵されている場合には、ステップ110の前に、数値制御工作機械10を加工管理システム80に接続する動作を含む。   First, the load is mounted on the numerically controlled machine tool 10. In step 110, the storage unit 82 is accessed, and the determination unit 84 determines whether the inertia when the load is placed on the numerically controlled machine tool 10 is stored in the storage unit 82. When the storage unit 82 is incorporated only in the machining management system 80, an operation of connecting the numerically controlled machine tool 10 to the machining management system 80 is included before step 110.

そして、そのようなイナーシャが存在する場合には、ステップ120においてイナーシャを読み込む。一方、イナーシャが存在しない場合には、ステップ190においてその積載物についてのイナーシャと摩擦係数を計測、演算して、記憶部82に記憶する。このとき、求めたイナーシャから、構造体の質量と積載物の質量を分けて記憶部82に記憶しておく。イナーシャおよび摩擦係数の演算については、後述する。   If such inertia exists, the inertia is read in step 120. On the other hand, if there is no inertia, the inertia and the friction coefficient for the load are measured and calculated in step 190 and stored in the storage unit 82. At this time, the mass of the structure and the mass of the load are separately stored in the storage unit 82 from the obtained inertia. The calculation of the inertia and the friction coefficient will be described later.

次いで、ステップ130において、判定部84は、その積載物が搭載されているときの摩擦係数が記憶部82に記憶されているかを判定する。そして、そのような摩擦係数が記憶されている場合には、ステップ140でその摩擦係数を読み込み、記憶されていない場合には、演算部76は、イナーシャおよび摩擦係数の関係を用いてイナーシャから摩擦係数を演算する(ステップ150)。   Next, in step 130, the determination unit 84 determines whether or not the friction coefficient when the load is mounted is stored in the storage unit 82. If such a friction coefficient is stored, the friction coefficient is read in step 140. If not stored, the calculation unit 76 uses the relationship between the inertia and the friction coefficient to generate friction from the inertia. A coefficient is calculated (step 150).

ここで、図5(a)は、粘性摩擦の場合におけるイナーシャと摩擦係数の関係を示す図であり、図5(b)はクーロン摩擦の場合におけるイナーシャと摩擦係数の関係を示す図である。ステップ140、150では、粘性摩擦およびクーロン摩擦の両方における摩擦係数をこれらグラフから取得する。なお、図5(a)および図5(b)に示されるグラフの代わりに、イナーシャと摩擦係数の間の関係式を用いて摩擦係数を直接的に演算してもよい。   Here, FIG. 5A is a diagram showing the relationship between the inertia and the friction coefficient in the case of viscous friction, and FIG. 5B is a diagram showing the relationship between the inertia and the friction coefficient in the case of Coulomb friction. In steps 140 and 150, the friction coefficients for both viscous friction and Coulomb friction are obtained from these graphs. Note that, instead of the graphs shown in FIGS. 5A and 5B, the friction coefficient may be directly calculated using a relational expression between the inertia and the friction coefficient.

その後、ステップ160において、イナーシャおよび/または摩擦係数とに基づいてパラメータ演算部98が各種の制御パラメータを演算する。最終的に、演算された制御パラメータは設定部86によって対応する送り軸に対して設定され、処理を終了する。   Thereafter, in step 160, the parameter calculation unit 98 calculates various control parameters based on the inertia and / or the friction coefficient. Finally, the calculated control parameter is set for the corresponding feed axis by the setting unit 86, and the process ends.

このように、本発明においては、必要とされるイナーシャおよび/または摩擦係数が記憶部82に記憶されているか否かを判定し、記憶されている場合には、それらイナーシャおよび/または摩擦係数を使用するようにしている。従って、例えば同型の他の数値制御工作機械に載置された積載物を数値制御工作機械10で加工する場合においても、他の数値制御工作機械について既に記憶されたイナーシャなどを数値制御工作機械10において流用できる。このため、イナーシャ等の計測、演算回数を最小限に減らすことができ、その結果、制御パラメータの設定を簡易かつ短時間で行うことが可能となる。なお、或る工作機械のイナーシャ等のデータがどの工作機械で使用できるかについては予め定められている。   In this way, in the present invention, it is determined whether or not the required inertia and / or friction coefficient is stored in the storage unit 82, and if stored, the inertia and / or friction coefficient is determined. I am trying to use it. Therefore, for example, even when a load placed on another numerically controlled machine tool of the same type is processed by the numerically controlled machine tool 10, the inertia already stored for the other numerically controlled machine tool 10 is stored in the numerically controlled machine tool 10. Can be diverted. For this reason, the number of times of measurement of inertia and the number of calculations can be reduced to the minimum, and as a result, the control parameters can be set easily and in a short time. It should be noted that which machine tool can use data such as inertia of a certain machine tool is predetermined.

さらに、イナーシャ等の流用は、数値制御工作機械10の一つの送り軸、例えばZ軸と、同一の数値制御工作機械10の他の送り軸、例えばX軸および/またはY軸との間においても適用できる。従って、このような場合にも、イナーシャ等の計測、演算回数を減らすことができ、同様な効果が得られる。なお、この場合には、イナーシャなどを記憶する記憶部82が数値制御工作機械10に内蔵されていてもよい。また、或る送り軸のイナーシャ等のデータが同一の工作機械におけるどの送り軸で使用できるかについては予め定められている。   Furthermore, the use of inertia or the like is also possible between one feed axis of the numerically controlled machine tool 10 such as the Z axis and another feed axis of the same numerically controlled machine tool 10 such as the X axis and / or the Y axis. Applicable. Therefore, even in such a case, the number of times of measurement and calculation of inertia and the like can be reduced, and the same effect can be obtained. In this case, the numerically controlled machine tool 10 may include a storage unit 82 that stores inertia and the like. In addition, it is determined in advance which feed axis in the same machine tool can use data such as inertia of a feed axis.

図6は送り軸が回転送り軸、例えばB軸である場合に制御パラメータを演算する演算手法のフローチャートである。なお、送り軸が回転送り軸である場合には、或る工作機械10における回転送り軸の中心位置とワークの取付位置との間の相対位置が他の工作機械における同様な相対位置と相違するときと、相違しないときとがある。しかしながら、これらいずれの場合であっても、図6のフローチャートを採用できるものとする。   FIG. 6 is a flowchart of a calculation method for calculating a control parameter when the feed axis is a rotary feed axis, for example, the B axis. When the feed shaft is a rotary feed shaft, the relative position between the center position of the rotary feed shaft and the workpiece mounting position in a certain machine tool 10 is different from similar relative positions in other machine tools. There are times when there is no difference. However, in any of these cases, the flowchart of FIG. 6 can be adopted.

図6に示されるステップ110〜ステップ160、ステップ190は前述したのと同様であるので説明を省略し、ステップ180について主に説明する。図6に示されるように、ステップ130において摩擦係数が記憶部82に記憶されていない場合には、ステップ180に進む。そして、ステップ180においては、その積載物についての質量が記憶部82に記憶されているか否かが判定部84により判定される。そして、そのような質量が記憶されている場合にはステップ150に進み、記憶されていない場合にはステップ190に進む。最終的には、ステップ160で制御パラメータを同様に算出しているので、送り軸が回転送り軸である場合であっても、前述したのと同様な効果が得られるのが分かる。   Since Steps 110 to 160 and Step 190 shown in FIG. 6 are the same as those described above, description thereof will be omitted, and Step 180 will be mainly described. As shown in FIG. 6, when the friction coefficient is not stored in the storage unit 82 in step 130, the process proceeds to step 180. In step 180, the determination unit 84 determines whether or not the mass of the load is stored in the storage unit 82. And when such mass is memorize | stored, it progresses to step 150, and when not memorize | stored, it progresses to step 190. Finally, since the control parameters are calculated in the same manner in step 160, it can be seen that the same effect as described above can be obtained even when the feed axis is a rotary feed axis.

ここで、図4および図6のステップ190に示したイナーシャと摩擦係数の計測、演算手法について説明する。図7はイナーシャおよび摩擦係数を演算する演算手法を示すフローチャートである。   Here, the inertia and friction coefficient measurement and calculation method shown in step 190 of FIGS. 4 and 6 will be described. FIG. 7 is a flowchart showing a calculation method for calculating the inertia and the friction coefficient.

図7のステップ210においては、電流検出器72により送り軸モータMの電流値を計測し、温度センサ74により送り軸モータMの温度を計測すると共に、パルスコーダPCにより送り軸モータMの速度を計測する。さらに、送り軸モータMの速度から送り軸モータMの加速度を演算する。   In step 210 of FIG. 7, the current detector 72 measures the current value of the feed shaft motor M, the temperature sensor 74 measures the temperature of the feed shaft motor M, and the pulse coder PC measures the speed of the feed shaft motor M. To do. Further, the acceleration of the feed shaft motor M is calculated from the speed of the feed shaft motor M.

次いで、ステップ220においては、図8に示されるトルク定数とモータ温度との間の関係から、トルク定数を求め、求めたトルク定数と送り軸モータMの電流値からトルクを求める。このように本発明では、モータ温度に応じて定まるトルク定数を利用しているので、トルクをより正確に演算することができる。   Next, at step 220, the torque constant is obtained from the relationship between the torque constant and the motor temperature shown in FIG. 8, and the torque is obtained from the obtained torque constant and the current value of the feed shaft motor M. Thus, in the present invention, since the torque constant determined according to the motor temperature is used, the torque can be calculated more accurately.

そして、ステップ230において、トルク(力)、速度、加速度からイナーシャおよび摩擦係数を演算する。送り軸が直動送り軸の場合には、以下の式(1)が用いられる。

Figure 2012056005
In step 230, inertia and a friction coefficient are calculated from torque (force), speed, and acceleration. When the feed shaft is a linear feed shaft, the following equation (1) is used.
Figure 2012056005

式(1)において力F、速度V、加速度aおよび速度方向を示す単位ベクトルUは既知である。式(1)に加速度a、速度Vおよび速度方向の単位ベクトルUを代入して得られる力Fとの差の二乗和を最小化すると、式(2)に示される行列式が得られる。従って、上記の計測をn回(nは自然数)にわたって行うことにより、式(2)から慣性質量J、粘性摩擦係数Dおよびクーロン摩擦Cを演算することができる。

Figure 2012056005
In the equation (1), the unit vector U indicating the force F, the velocity V, the acceleration a, and the velocity direction is known. When the sum of squares of the difference from the force F obtained by substituting the acceleration a, the velocity V and the unit vector U in the velocity direction into the equation (1) is minimized, the determinant represented by the equation (2) is obtained. Therefore, by performing the above measurement n times (n is a natural number), the inertia mass J, the viscous friction coefficient D, and the Coulomb friction C can be calculated from the equation (2).
Figure 2012056005

また、送り軸が回転送り軸である場合には、以下の式(3)が用いられる。

Figure 2012056005
Further, when the feed shaft is a rotary feed shaft, the following equation (3) is used.
Figure 2012056005

式(3)においても、トルクτ、角速度ω、角加速度αおよび速度方向を示す係数Uが既知である。このため、同様な手法により、式(4)に示される行列式から慣性モーメントJ、粘性摩擦係数Dおよびクーロン摩擦Cを演算することができる。

Figure 2012056005
Also in the equation (3), the torque τ, the angular velocity ω, the angular acceleration α, and the coefficient U indicating the velocity direction are known. For this reason, the moment of inertia J, the viscous friction coefficient D, and the Coulomb friction C can be calculated from the determinant represented by Expression (4) by the same method.
Figure 2012056005

ここで、図4および図6に示されるステップ160におけるイナーシャおよび/または摩擦係数から各制御パラメータを演算する演算手法について具体的に説明する。図9は制御パラメータを演算する演算手法を示すフローチャートである。   Here, a calculation method for calculating each control parameter from the inertia and / or the friction coefficient in step 160 shown in FIGS. 4 and 6 will be specifically described. FIG. 9 is a flowchart showing a calculation method for calculating the control parameter.

図9のステップ310においては、求められるべき制御パラメータが、補間によって適切な値を決定できる制御パラメータであるか否かが判定される。具体的には、制御パラメータが加減速時定数、反転補正値などである場合には、これら制御パラメータはイナーシャまたは摩擦係数に応じて連続的に変化しうる。従って、加減速時定数、反転補正値などは、直線補間または曲線補間によって適切な値を決定できる制御パラメータである。   In step 310 of FIG. 9, it is determined whether or not the control parameter to be obtained is a control parameter that can determine an appropriate value by interpolation. Specifically, when the control parameter is an acceleration / deceleration time constant, a reverse correction value, or the like, these control parameters can be continuously changed according to inertia or a friction coefficient. Accordingly, the acceleration / deceleration time constant, the reverse correction value, and the like are control parameters that can determine appropriate values by linear interpolation or curve interpolation.

これに対し、制御パラメータが各種ゲイン、フィルタなどである場合には、これら制御パラメータは動作が安定であることを確認した複数のパラメータ値から作成したステップ関数の式またはグラフから決定される。従って、各種ゲイン、フィルタなどは摩擦係数とイナーシャとの値の範囲毎に一定の値に設定される制御パラメータである。言い換えれば、各種ゲイン、フィルタなどは摩擦係数および/またはイナーシャに対してステップ状に変化する制御パラメータである。   On the other hand, when the control parameters are various gains, filters, etc., these control parameters are determined from an equation or graph of a step function created from a plurality of parameter values whose operation has been confirmed to be stable. Therefore, various gains, filters, and the like are control parameters set to constant values for each range of values of the friction coefficient and the inertia. In other words, various gains, filters, and the like are control parameters that change stepwise with respect to the friction coefficient and / or inertia.

なお、ゲインは位置ループゲインおよび速度ループゲインを含んでおり、速度制御部64、速度フィードフォワード制御部90、加速度フィードフォワード制御部92などで利用される。また、トルクフィルタ等の所定の遮断帯域を有するフィルタは各種信号を送信する際に適宜使用される。しかしながら、このようなゲインおよびフィルタは公知であるので、詳細な説明を省略する。   The gain includes a position loop gain and a speed loop gain, and is used by the speed control unit 64, the speed feedforward control unit 90, the acceleration feedforward control unit 92, and the like. A filter having a predetermined cutoff band, such as a torque filter, is appropriately used when various signals are transmitted. However, since such a gain and a filter are well-known, detailed description is abbreviate | omitted.

ステップ310において制御パラメータを分類した後で、ステップ320においては、補間によって適切な値を決定できる制御パラメータのみを演算する。それぞれの制御パラメータ、例えば加減速時定数、反転補正値のそれぞれについて直線補間のグラフおよび/または曲線補間のグラフが予め実験等により求められ記憶部82に記憶されている。図10(a)および図10(b)はそれぞれイナーシャおよび/または摩擦係数と制御パラメータの関係を示す直線補間および曲線補間のグラフである。ステップ320においては、このような直線補間または曲線補間のグラフに基づいて制御パラメータを決定する。   After classifying the control parameters in step 310, in step 320, only control parameters for which an appropriate value can be determined by interpolation are calculated. For each control parameter, for example, acceleration / deceleration time constant and reverse correction value, a linear interpolation graph and / or a curve interpolation graph are obtained in advance through experiments or the like and stored in the storage unit 82. FIGS. 10A and 10B are graphs of linear interpolation and curve interpolation showing the relationship between the inertia and / or the friction coefficient and the control parameter, respectively. In step 320, control parameters are determined based on the graph of such linear interpolation or curved interpolation.

一方、ステップ330においては、摩擦係数および/またはイナーシャに対してステップ状に変化する制御パラメータを決定する。それぞれの制御パラメータ、例えば各種ゲイン、フィルタなどのそれぞれについてステップ関数のグラフが実験等により求められ記憶部82に記憶されている。図10(c)はイナーシャおよび/または摩擦係数と制御パラメータとの関係を示すステップ関数のグラフである。ステップ330においては、このようなステップ関数のグラフに基づいて制御パラメータを決定する。なお、制御パラメータによっては、摩擦係数およびイナーシャのうちの一方についての関係のみしか必要でない場合がある。   On the other hand, in step 330, a control parameter that changes stepwise with respect to the friction coefficient and / or inertia is determined. A graph of a step function for each control parameter, for example, various gains, filters, etc., is obtained by experiments and stored in the storage unit 82. FIG. 10C is a step function graph showing the relationship between the inertia and / or the friction coefficient and the control parameter. In step 330, control parameters are determined based on such a step function graph. Note that depending on the control parameter, only the relationship between one of the friction coefficient and the inertia may be required.

このように本発明においては、制御パラメータの種類に応じて、その演算手法を変更している。このため、制御パラメータをより精密に演算でき、その結果、数値制御工作機械10をより高速、高精度で制御できるようになる。さらに、制御パラメータを切り替えた場合であっても、数値制御工作機械10を安定かつ効果的に制御できる。   Thus, in the present invention, the calculation method is changed according to the type of the control parameter. For this reason, the control parameter can be calculated more precisely, and as a result, the numerically controlled machine tool 10 can be controlled with higher speed and higher accuracy. Furthermore, the numerically controlled machine tool 10 can be controlled stably and effectively even when the control parameters are switched.

10 数値制御工作機械
12 ベッド
16 コラム
20 主軸
22 工具
26 ナット
28 Z軸ガイドレール
36 X軸ガイドレール
40 数値制御部
44 プログラム読取解釈部
48 プログラム実行指令部
50 分配制御部
54 送り軸モータ駆動部
56 演算制御部(パラメータ設定装置)
60 位置制御部
64 速度制御部
72 電流検出器
74 温度センサ
76 演算部
80 加工管理システム
82 記憶部
84 判定部
86 設定部
92 加速度フィードフォワード制御部
96 トルク演算部
98 パラメータ演算部
W ワーク
DESCRIPTION OF SYMBOLS 10 Numerical control machine tool 12 Bed 16 Column 20 Spindle 22 Tool 26 Nut 28 Z-axis guide rail 36 X-axis guide rail 40 Numerical control part 44 Program reading interpretation part 48 Program execution command part 50 Distribution control part 54 Feed axis motor drive part 56 Operation control unit (parameter setting device)
Reference Signs List 60 position control unit 64 speed control unit 72 current detector 74 temperature sensor 76 calculation unit 80 processing management system 82 storage unit 84 determination unit 86 setting unit 92 acceleration feedforward control unit 96 torque calculation unit 98 parameter calculation unit W work

Claims (10)

工作機械の送り軸の制御パラメータを設定するパラメータ設定方法において、
前記工作機械に載せる積載物のイナーシャが、記憶部に記憶されているか否かを判定し、
前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読み込み、
計測または読み込まれた積載物のイナーシャに基づいて前記工作機械の前記送り軸の制御パラメータを演算し、
演算された制御パラメータを前記工作機械の前記送り軸に対して設定することを特徴とするパラメータ設定方法。
In the parameter setting method to set the control parameter of the feed axis of the machine tool,
Determining whether the inertia of the load placed on the machine tool is stored in the storage unit;
When the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and when the inertia is stored in the storage unit, the stored inertia is read.
Calculate control parameters of the feed axis of the machine tool based on the measured or read inertia of the load,
A parameter setting method, wherein the calculated control parameter is set for the feed axis of the machine tool.
工作機械の複数の送り軸のうちの一つの送り軸の制御パラメータを設定するパラメータ設定方法において、
前記一つの送り軸について前記工作機械に載せる積載物のイナーシャが記憶部に記憶されているか否かを判定し、
前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読み込み、
計測または読み込まれた積載物のイナーシャに基づいて前記工作機械の前記一つの送り軸の制御パラメータを演算し、
演算された制御パラメータを前記工作機械の前記一つの送り軸に対して設定することを特徴とするパラメータ設定方法。
In a parameter setting method for setting a control parameter of one feed axis among a plurality of feed axes of a machine tool,
Determining whether the inertia of the load placed on the machine tool for the one feed axis is stored in the storage unit;
When the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and when the inertia is stored in the storage unit, the stored inertia is read.
Calculate the control parameter of the one feed axis of the machine tool based on the measured or read inertia of the load,
A parameter setting method, comprising: setting a calculated control parameter for the one feed axis of the machine tool.
前記記憶部は、送り軸のクーロン摩擦および粘性摩擦の摩擦係数を記憶しており、前記制御パラメータは前記摩擦係数と前記イナーシャとに基づいて演算される請求項1または2に記載のパラメータ設定方法。   The parameter setting method according to claim 1, wherein the storage unit stores a friction coefficient of coulomb friction and viscous friction of a feed shaft, and the control parameter is calculated based on the friction coefficient and the inertia. . 前記摩擦係数および前記イナーシャに応じて変化する制御パラメータと、前記摩擦係数および前記イナーシャの値の範囲毎に一定の値に設定される制御パラメータとが演算される請求項3に記載のパラメータ設定方法。   4. The parameter setting method according to claim 3, wherein a control parameter that changes in accordance with the friction coefficient and the inertia, and a control parameter that is set to a constant value for each range of the friction coefficient and the inertia value are calculated. . 前記記憶部には、前記工作機械の送り軸を動作させるモータのモータ温度と該モータのトルク定数との関係が記憶されており、前記制御パラメータは前記関係と前記摩擦係数と前記イナーシャとに基づいて演算される請求項3に記載のパラメータ設定方法。   The storage unit stores a relationship between a motor temperature of a motor that operates the feed shaft of the machine tool and a torque constant of the motor, and the control parameter is based on the relationship, the friction coefficient, and the inertia. The parameter setting method according to claim 3, wherein the parameter setting method is calculated. 工作機械の送り軸の制御パラメータを設定するパラメータ設定装置において、
前記工作機械に載せる積載物のイナーシャが、前記工作機械に接続された加工管理システムの記憶部に記憶されているか否かを判定する判定部と、
前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読込んで、計測または読込まれた積載物のイナーシャに基づいて前記工作機械の前記送り軸の制御パラメータを演算する演算部と、
該演算部により演算された制御パラメータを前記工作機械の前記送り軸に対して設定する設定部と、
を具備すること特徴とするパラメータ設定装置。
In the parameter setting device that sets the control parameters of the feed axis of the machine tool,
A determination unit for determining whether inertia of a load placed on the machine tool is stored in a storage unit of a processing management system connected to the machine tool;
When the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and when the inertia is stored in the storage unit, the stored inertia is read and measured. Or a calculation unit for calculating a control parameter of the feed axis of the machine tool based on the read inertia of the load;
A setting unit for setting the control parameter calculated by the calculation unit for the feed axis of the machine tool;
A parameter setting device comprising:
工作機械の複数の送り軸のうちの一つの送り軸の制御パラメータを設定するパラメータ設定装置において、
前記一つの送り軸について前記工作機械に載せる積載物のイナーシャが記憶部に記憶されているか否かを判定する判定部と、
前記イナーシャが前記記憶部に記憶されていない場合には前記積載物のイナーシャを計測して記憶し、前記イナーシャが前記記憶部に記憶されている場合には、記憶されたイナーシャを読込んで、計測または読込まれた積載物のイナーシャに基づいて前記工作機械の前記一つの送り軸の制御パラメータを演算する演算部と、
該演算部により演算された制御パラメータを前記工作機械の前記一つの送り軸に対して設定する設定部と、
を具備することを特徴とするパラメータ設定装置。
In a parameter setting device for setting a control parameter of one feed axis among a plurality of feed axes of a machine tool,
A determination unit for determining whether inertia of a load placed on the machine tool with respect to the one feed axis is stored in a storage unit;
When the inertia is not stored in the storage unit, the inertia of the load is measured and stored, and when the inertia is stored in the storage unit, the stored inertia is read and measured. Or a calculation unit for calculating a control parameter of the one feed axis of the machine tool based on the inertia of the loaded load,
A setting unit for setting the control parameter calculated by the calculation unit for the one feed axis of the machine tool;
A parameter setting device comprising:
前記記憶部は、送り軸のクーロン摩擦および粘性摩擦の摩擦係数を記憶しており、前記制御パラメータは前記摩擦係数と前記イナーシャとに基づいて演算される請求項6または7に記載のパラメータ設定装置。   The parameter setting device according to claim 6 or 7, wherein the storage unit stores a friction coefficient of coulomb friction and viscous friction of a feed shaft, and the control parameter is calculated based on the friction coefficient and the inertia. . 前記摩擦係数および前記イナーシャに応じて変化する制御パラメータと、前記摩擦係数および前記イナーシャの値の範囲毎に一定の値に設定される制御パラメータとが演算される請求項8に記載のパラメータ設定装置。   9. The parameter setting device according to claim 8, wherein a control parameter that changes according to the friction coefficient and the inertia, and a control parameter that is set to a constant value for each range of the friction coefficient and the inertia value are calculated. . 前記記憶部には、前記工作機械の送り軸を動作させるモータのモータ温度と該モータのトルク定数との関係が記憶されており、前記制御パラメータは前記関係と前記摩擦係数と前記イナーシャとに基づいて演算される請求項6または7に記載のパラメータ設定装置。   The storage unit stores a relationship between a motor temperature of a motor that operates the feed shaft of the machine tool and a torque constant of the motor, and the control parameter is based on the relationship, the friction coefficient, and the inertia. The parameter setting device according to claim 6 or 7, wherein the parameter setting device is calculated.
JP2010200794A 2010-09-08 2010-09-08 Parameter setting method and parameter setting device Active JP5334932B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010200794A JP5334932B2 (en) 2010-09-08 2010-09-08 Parameter setting method and parameter setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010200794A JP5334932B2 (en) 2010-09-08 2010-09-08 Parameter setting method and parameter setting device

Publications (2)

Publication Number Publication Date
JP2012056005A true JP2012056005A (en) 2012-03-22
JP5334932B2 JP5334932B2 (en) 2013-11-06

Family

ID=46053727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010200794A Active JP5334932B2 (en) 2010-09-08 2010-09-08 Parameter setting method and parameter setting device

Country Status (1)

Country Link
JP (1) JP5334932B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118620A (en) * 2013-12-19 2015-06-25 オークマ株式会社 Motor control device
CN116300687A (en) * 2023-05-11 2023-06-23 深圳市正和楚基科技有限公司 Machining precision prediction method, system and medium based on numerical control machining

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6478308A (en) * 1987-09-19 1989-03-23 Fanuc Ltd Robot control system based on load conditions
JPH03290706A (en) * 1990-04-09 1991-12-20 Mitsubishi Electric Corp Numerical controller
JPH1063339A (en) * 1996-08-26 1998-03-06 Mori Seiki Co Ltd Controller of numerical value control machine tool
WO2001029628A1 (en) * 1999-10-20 2001-04-26 Makino Milling Machine Co., Ltd. Nc machine tool, and method of controlling nc machine tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6478308A (en) * 1987-09-19 1989-03-23 Fanuc Ltd Robot control system based on load conditions
JPH03290706A (en) * 1990-04-09 1991-12-20 Mitsubishi Electric Corp Numerical controller
JPH1063339A (en) * 1996-08-26 1998-03-06 Mori Seiki Co Ltd Controller of numerical value control machine tool
WO2001029628A1 (en) * 1999-10-20 2001-04-26 Makino Milling Machine Co., Ltd. Nc machine tool, and method of controlling nc machine tool

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118620A (en) * 2013-12-19 2015-06-25 オークマ株式会社 Motor control device
CN116300687A (en) * 2023-05-11 2023-06-23 深圳市正和楚基科技有限公司 Machining precision prediction method, system and medium based on numerical control machining
CN116300687B (en) * 2023-05-11 2023-08-08 深圳市正和楚基科技有限公司 Machining precision prediction method, system and medium based on numerical control machining

Also Published As

Publication number Publication date
JP5334932B2 (en) 2013-11-06

Similar Documents

Publication Publication Date Title
JP5566469B2 (en) Numerical control method
JP4291382B2 (en) Machine tool with automatic correction function of mounting error by contact detection
US10274939B2 (en) Feed shaft control method and numerical control work device
JP5936178B2 (en) Machining control method for machine tools
US20060089745A1 (en) Method and apparatus for correcting thermal displacement of machine tool
US7571669B2 (en) Machining apparatus for noncircular shapes
JP3699458B2 (en) Cutting force detection method, machining control method using cutting force, and control device
WO2012053352A1 (en) Load inertia estimation method and control parameter adjustment method
US10247301B2 (en) Servo control system with position compensation function for driven member
JP5249452B1 (en) Trajectory display device considering correction data
US9588509B2 (en) Correction method at time of feed axis reversal
TW201131325A (en) Module for on-line vibration detection and adjustment and tool machine using the same
JP2000250614A (en) Backlash correction device and numerical control system
JP2010120150A (en) Estimation method for thermal deformation compensation of machine tool
JP2019003646A (en) Controller for motor
JP5991249B2 (en) Numerical controller
JP2007072943A (en) Position controller
JP5334932B2 (en) Parameter setting method and parameter setting device
JP3686015B2 (en) Orbit boring control method
JP4503148B2 (en) Compensator for feeding mechanism of numerically controlled machine tool and numerically controlled machine tool
JP5369718B2 (en) Machine Tools
JP4842903B2 (en) Numerical control apparatus and numerical control method
CN111624942B (en) Method for separating related components of single-axis dynamic error instruction of numerical control machine tool
JPH1063339A (en) Controller of numerical value control machine tool
JP2021022272A (en) Numerical control device and control method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130730

R150 Certificate of patent or registration of utility model

Ref document number: 5334932

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150