JP2023051255A - Controller and speed control method - Google Patents

Controller and speed control method Download PDF

Info

Publication number
JP2023051255A
JP2023051255A JP2021161821A JP2021161821A JP2023051255A JP 2023051255 A JP2023051255 A JP 2023051255A JP 2021161821 A JP2021161821 A JP 2021161821A JP 2021161821 A JP2021161821 A JP 2021161821A JP 2023051255 A JP2023051255 A JP 2023051255A
Authority
JP
Japan
Prior art keywords
unit
inertia
time constant
unbalanced load
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021161821A
Other languages
Japanese (ja)
Inventor
太樹 小林
Taiki Kobayashi
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021161821A priority Critical patent/JP2023051255A/en
Publication of JP2023051255A publication Critical patent/JP2023051255A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

To appropriately control a table unit.SOLUTION: A numerical controller 1 includes a speed increase-decrease unit that increases or decreases a speed at which a table unit having plural components juxtaposed in one direction rotates about a rotation axis intersecting the one direction includes: a storage unit that stores a reference inertia, reference unbalanced load, and reference time constant; and a time constant arithmetic unit 205 that computes a time constant of the speed increase-decrease unit on the basis of the unbalanced load and inertia acquired from feedback information concerning the table unit according to a rotation angle of the table unit, and arithmetic elements including the reference inertia, reference unbalanced load, and reference time constant.SELECTED DRAWING: Figure 6

Description

本発明は、制御装置及び速度制御方法に関する。 The present invention relates to a controller and a speed control method.

特許文献1は、工作機械のモータを駆動する為の指令を決定する際、少なくともワーク保持部の偏荷重の影響を考慮した高精度なパラメータに基づき指令を決定し、決定した指令により工作機械を制御することについて開示している。 Patent Document 1 discloses that when determining a command for driving a motor of a machine tool, the command is determined based on highly accurate parameters that consider at least the influence of the unbalanced load of a work holding portion, and the machine tool is operated according to the determined command. It discloses controlling.

特開2020-181424号公報JP 2020-181424 A

例えば、ワークを保持する保持台と、該保持台を回転させる駆動部とを含む台ユニットの場合は前記駆動部の出力軸(C軸)と交差する方向、即ち前記保持台と前記駆動部の並設方向と交差する方向に延びる回転軸(A軸)の周りを前記台ユニットが回転する際、偏荷重が生じる虞がある。該偏荷重は台ユニットの回転角度に応じて変動する。また、前記偏荷重はワークの重さによっても変動する。よって、前記台ユニットが前記回転軸回りに回転するよう駆動するモータを制御する際、このような偏荷重の変動を考慮しないと適切な制御が出来ない。しかしながら、上述したような特許文献1の工作機械は、このような問題に対して考慮していない。 For example, in the case of a table unit that includes a holder that holds a workpiece and a drive section that rotates the holder, the direction intersecting the output shaft (C-axis) of the drive section, that is, the direction between the holder and the drive section When the base unit rotates around a rotation axis (A axis) extending in a direction that intersects with the side-by-side arrangement direction, there is a possibility that an unbalanced load may occur. The offset load varies according to the rotation angle of the stand unit. Moreover, the unbalanced load varies depending on the weight of the work. Therefore, when controlling the motor that drives the base unit to rotate about the rotation axis, proper control cannot be performed unless such variations in the unbalanced load are taken into consideration. However, the machine tool of Patent Document 1 as described above does not consider such a problem.

本発明は、斯かる事情に鑑みてなされたものであり、その目的とするところは、ワークを保持する保持台を含む複数の部品を有する台ユニットが前記複数の部品の並設方向と交差する方向に延びる回転軸周りを回転する際、より適切な制御ができる制御装置及び速度制御方法を提供することにある。 The present invention has been made in view of such circumstances, and its object is to provide a table unit having a plurality of parts including a holding table for holding a workpiece, which intersects the direction in which the plurality of parts are arranged side by side. To provide a control device and a speed control method capable of performing more appropriate control when rotating around a rotating shaft extending in a direction.

本発明に係る制御装置は、ワークの保持台を含む、一方向に並設した複数の部品を有する台ユニットが前記一方向と交差する回転軸の回りに回転する速度を加減する速度加減部を備える制御装置において、基準イナーシャ、基準偏荷重、基準時定数を記憶している記憶部と、前記台ユニットに関するフィードバック情報から、前記台ユニットの回転角度に応じて取得した取得偏荷重及び取得イナーシャと、前記基準イナーシャ、前記基準偏荷重、前記基準時定数を含む演算要素に基づいて前記速度加減部の時定数を演算する演算部を備える。 The control device according to the present invention includes a speed control unit for controlling the speed of rotation of a table unit having a plurality of parts arranged side by side in one direction, including a workpiece holding table, around a rotation axis intersecting the one direction. A control device comprising: a storage unit storing a reference inertia, a reference unbalanced load, and a reference time constant; and an obtained unbalanced load and an obtained inertia obtained according to the rotation angle of the base unit from feedback information about the base unit. and a calculation unit for calculating the time constant of the speed adjuster based on calculation elements including the reference inertia, the reference unbalanced load, and the reference time constant.

本発明にあっては、台ユニットの回転角度に応じて、台ユニットに関するフィードバック情報から取得する取得偏荷重及び取得イナーシャと、記憶部が記憶する基準イナーシャ、基準偏荷重、基準時定数等を用いて速度加減部の時定数を演算する。よって、台ユニットをより適切に制御できる。 In the present invention, the obtained unbalanced load and the obtained inertia obtained from the feedback information about the base unit and the reference inertia, the reference unbalanced load, the reference time constant, etc. stored in the storage unit are used according to the rotation angle of the base unit. to calculate the time constant of the speed adjuster. Therefore, the base unit can be controlled more appropriately.

本発明に係る制御装置は、前記速度加減部は、前記演算部が演算した時定数を用いて前記台ユニットの速度加減時の最大加速度を制限する移動平均フィルタを有する。 In the control device according to the present invention, the speed adjustment section has a moving average filter that limits the maximum acceleration during acceleration/deceleration of the base unit using the time constant calculated by the calculation section.

本発明にあっては、移動平均フィルタが台ユニットの速度加減時の最大加速度を制限する際、演算部が演算した、偏荷重の変動、ワークのイナーシャの変動を反映し時定数を用いる為、台ユニットの回転をより適切に制御できる。 In the present invention, when the moving average filter limits the maximum acceleration during speed acceleration/deceleration of the platform unit, the time constant calculated by the calculation unit reflecting the fluctuation of the unbalanced load and the inertia of the workpiece is used. Rotation of the base unit can be better controlled.

本発明に係る制御装置は、前記速度加減部は、前記移動平均フィルタを含む複数の移動平均フィルタを有する。 In the control device according to the present invention, the speed adjuster has a plurality of moving average filters including the moving average filter.

本発明にあっては、速度加減部が上述の移動平均フィルタ以外に、複数の移動平均フィルタを有し、これら複数の移動平均フィルタは固定値である。よって、使用条件によらず一定のフィルタ効果を得ることができる。 In the present invention, the speed adjuster has a plurality of moving average filters in addition to the moving average filter described above, and these plurality of moving average filters are fixed values. Therefore, a constant filter effect can be obtained regardless of the usage conditions.

本発明に係る制御装置は、前記台ユニットは、前記保持台が一端に配置し、前記保持台よりも重い他部品を含み、前記回転軸は、前記台ユニットの前記一端寄りに偏在する。 In the control device according to the present invention, the base unit has the holding base arranged at one end thereof, and includes other parts heavier than the holding base, and the rotating shaft is unevenly distributed near the one end of the base unit.

本発明にあっては、台ユニットの回転軸が該台ユニットの一端寄りに偏在するので、台ユニットの回転時、ワークのイナーシャの変動に加えて偏荷重の変動が生じるが、演算部が偏荷重の変動、ワークのイナーシャの変動を反映した時定数を演算し、演算した時係数を用いて台ユニットの回転を適切に制御する。 In the present invention, the rotating shaft of the table unit is unevenly distributed near one end of the table unit. A time constant reflecting changes in load and work inertia is calculated, and the calculated time coefficient is used to appropriately control the rotation of the base unit.

本発明に係る制御装置は、前記基準イナーシャ及び前記基準偏荷重は、前記台ユニットの偏荷重が最大である時のイナーシャ及び偏荷重である。 In the control device according to the present invention, the reference inertia and the reference unbalanced load are inertia and unbalanced load when the unbalanced load of the base unit is maximum.

本発明にあっては、演算部が時定数の演算時に用いる基準イナーシャ及び基準偏荷重は、台ユニットの偏荷重が最大であるという基準条件時のイナーシャ及び偏荷重である。よって、基準条件のみ試験を行い基準変数を決定すれば全条件での最適時定数を求めることができる。 In the present invention, the reference inertia and the reference unbalanced load used by the calculator when calculating the time constant are the inertia and the unbalanced load under the reference condition that the unbalanced load of the platform unit is maximum. Therefore, if only the reference condition is tested and the reference variable is determined, the optimum time constant under all conditions can be obtained.

本発明に係る制御装置は、前記演算要素は前記台ユニットの回動範囲を含む。 In the control device according to the present invention, the calculation element includes the rotation range of the base unit.

本発明にあっては、演算部は、時定数を演算する時に用いる演算要素として台ユニットの回動範囲を更に用いる。よって、台ユニットの回転をより適切に制御できる。 In the present invention, the calculation section further uses the rotation range of the base unit as a calculation element used when calculating the time constant. Therefore, the rotation of the base unit can be controlled more appropriately.

本発明に係る速度制御方法は、ワークの保持台を含む、一方向に並設した複数の部品を有する台ユニットが前記一方向と交差する回転軸の回りに回転する速度を制御する速度制御方法において、基準イナーシャ、基準偏荷重、基準時定数を記憶し、前記台ユニットに関するフィードバック情報から、前記台ユニットの回転角度に応じて偏荷重及びイナーシャを取得し、取得した偏荷重及びイナーシャと、既記憶の内容を含む演算要素に基づいて、前記速度の制御に用いる時定数を演算する。 A speed control method according to the present invention is a speed control method for controlling the speed at which a table unit having a plurality of parts arranged side by side in one direction, including a work holding table, rotates around a rotation axis that intersects with the one direction. stores the reference inertia, the reference unbalanced load, and the reference time constant, acquires the unbalanced load and the inertia according to the rotation angle of the base unit from the feedback information on the base unit, A time constant used for controlling the speed is calculated based on a calculation element including the stored contents.

本発明にあっては、台ユニットの回転角度に応じて、台ユニットに関するフィードバック情報から偏荷重及びイナーシャを取得し、取得した偏荷重及びイナーシャと、既に記憶している基準イナーシャ、基準偏荷重、基準時定数等を用いて速度加減部の時定数を演算する。よって、台ユニットをより適切に制御できる。 According to the present invention, the unbalanced load and inertia are obtained from the feedback information about the base unit according to the rotation angle of the base unit, and the obtained unbalanced load and inertia are combined with the already stored reference inertia, reference unbalanced load, The time constant of the speed adjuster is calculated using the reference time constant or the like. Therefore, the base unit can be controlled more appropriately.

本発明によれば、ワークを保持する保持台を含む複数の部品を有する台ユニットが前記複数の部品の並設方向と交差する方向に延びる回転軸周りを回転する際、より適切な制御ができる。 According to the present invention, it is possible to perform more appropriate control when a table unit having a plurality of parts including a holding table for holding a work rotates around a rotation axis extending in a direction intersecting the direction in which the plurality of parts are arranged side by side. .

実施形態1に係る工作機械を略示する斜視図である。1 is a schematic perspective view of a machine tool according to Embodiment 1. FIG. 工作機械の一部を省略した部分的斜視図である。FIG. 2 is a partial perspective view of a machine tool with a part omitted; 工作機械の台ユニットを拡大して示す拡大図である。It is an enlarged view which expands and shows the base unit of a machine tool. 台ユニットの回転を説明する例示図である。It is an illustration figure explaining rotation of a base unit. 工作機械の数値制御装置の要部構成を示すブロック図である。1 is a block diagram showing the configuration of a main part of a numerical controller for a machine tool; FIG. 工作機械の制御部の構成を説明するブロック図である。It is a block diagram explaining the structure of the control part of a machine tool. 制御部による時定数の更新処理を説明する流れ図である。FIG. 10 is a flow chart for explaining time constant update processing by a control unit; FIG. 実施形態2の工作機械の制御部の構成を説明するブロック図である。FIG. 7 is a block diagram illustrating the configuration of a control unit of the machine tool of Embodiment 2; 制御部による時定数の演算処理を説明する流れ図である。4 is a flowchart for explaining calculation processing of a time constant by a control unit;

(実施形態1)
以下、本発明の実施の形態に係る制御装置及び速度制御方法を工作機械に適用した場合を例として、図面に基づいて詳述する。
図1は実施形態1に係る工作機械100を略示する斜視図、図2は工作機械100の一部を省略した部分的斜視図である。以下の説明では図において矢印で示す上下、左右、前後を使用する。
(Embodiment 1)
Hereinafter, a case where a control device and a speed control method according to an embodiment of the present invention are applied to a machine tool will be described in detail with reference to the drawings.
FIG. 1 is a schematic perspective view of a machine tool 100 according to Embodiment 1, and FIG. 2 is a partial perspective view with a part of the machine tool 100 omitted. In the following description, up/down, left/right, and front/rear directions indicated by arrows in the drawings are used.

工作機械100はベース10、X方向移動装置21、Y方向移動装置20、Z方向移動装置23、立柱22、主軸ヘッド25、台ユニット30等を備える。工作機械100は台ユニット30でワークを保持し、上下方向に延びる主軸28の下端に装着した工具26でワークを加工する。工具26は主軸28の下端部に着脱可能に装着し、工具交換装置(図示略)により交換可能としてある。 The machine tool 100 includes a base 10, an X-direction moving device 21, a Y-direction moving device 20, a Z-direction moving device 23, a vertical column 22, a spindle head 25, a table unit 30, and the like. The machine tool 100 holds a work on a base unit 30 and processes the work with a tool 26 attached to the lower end of a vertically extending main shaft 28 . The tool 26 is detachably attached to the lower end of the spindle 28 and can be replaced by a tool changer (not shown).

主軸28を含む主軸ヘッド25はX方向、Y方向、Z方向に移動可能である。以下、X軸、Y軸、Z軸は主軸ヘッド25の移動方向を示す。工作機械100では、X軸、Y軸、Z軸の各軸に平行な軸回りにワークが回転できる。以下、ワークの回転軸はX軸、Y軸、Z軸に対応して夫々A軸(回転軸)、B軸、C軸と称する。但し、工作機械100のC軸の軸方向はA軸の回転に従って変化する。 A spindle head 25 including a spindle 28 is movable in the X, Y and Z directions. Hereinafter, the X-axis, Y-axis, and Z-axis indicate the moving directions of the spindle head 25 . In the machine tool 100, the workpiece can rotate around axes parallel to the X, Y, and Z axes. Hereinafter, the rotation axes of the work will be referred to as the A-axis (rotational axis), B-axis, and C-axis corresponding to the X-axis, Y-axis, and Z-axis, respectively. However, the axial direction of the C-axis of the machine tool 100 changes according to the rotation of the A-axis.

ベース10は、架台11、主軸基台13、一対のワーク基台14等を備える。架台11は前後方向に長い略直方体の形状をなす。主軸基台13は前後方向に長い略直方体状を呈し、架台11上の後方部に配置する。主軸基台13はX方向移動装置21とY方向移動装置20を支持する。X方向移動装置21は立柱22をX方向に駆動する。Y方向移動装置20は立柱22をY方向に駆動する。 The base 10 includes a frame 11, a spindle base 13, a pair of work bases 14, and the like. The mount 11 has a substantially rectangular parallelepiped shape elongated in the front-rear direction. The spindle base 13 has a substantially rectangular parallelepiped shape elongated in the front-rear direction, and is arranged at the rear portion of the mount 11 . The spindle base 13 supports an X-direction moving device 21 and a Y-direction moving device 20 . The X-direction moving device 21 drives the vertical column 22 in the X-direction. The Y-direction moving device 20 drives the vertical column 22 in the Y-direction.

一対のワーク基台14は架台11上の前方部の左右に夫々配置する。各ワーク基台14は略扁平な直方体形状をなしており、厚み方向が左右方向になるようにして、対向配置する。各ワーク基台14は下方の長辺部の中央部に切り欠きを有する。一対のワーク基台14の間には台ユニット30が配置する。一対のワーク基台14はA軸回りに回転可能に台ユニット30を支持する。 A pair of work bases 14 are arranged on the left and right sides of the front portion of the mount 11, respectively. Each work base 14 has a substantially flat rectangular parallelepiped shape, and is arranged to face each other so that the thickness direction is the left-right direction. Each work base 14 has a notch in the center of the lower long side. A stand unit 30 is arranged between the pair of work bases 14 . A pair of work bases 14 supports a base unit 30 rotatably around the A axis.

図3は工作機械100の台ユニット30を拡大して示す拡大図である。
台ユニット30は、ワークを保持する保持台33、台部32、保持台33を回転駆動する回転駆動部31(他部品)等を含む。保持台33、台部32、回転駆動部31は、同一の軸心上にて並設してある。保持台33、台部32、回転駆動部31の並設方向(以下、台ユニット30の並設方向)において、一端に保持台33が、他端に回転駆動部31が配置し、保持台33、回転駆動部31の間には、台部32が介在する。台部32は矩形の板形状をなしており、中央部に貫通孔を有している。保持台33は円筒形状であり、台部32の貫通孔に内嵌し、保持台33の上端部が台部32の上面から突出する。
FIG. 3 is an enlarged view showing the base unit 30 of the machine tool 100 in an enlarged manner.
The table unit 30 includes a holding table 33 that holds a workpiece, a table section 32, a rotation driving section 31 (other parts) that rotationally drives the holding table 33, and the like. The holding base 33, the base portion 32, and the rotation driving portion 31 are arranged side by side on the same axis. In the direction in which the holding base 33, the base portion 32, and the rotation driving portion 31 are arranged side by side (hereinafter, referred to as the direction in which the base unit 30 is arranged side by side), the holding base 33 is arranged at one end, and the rotation driving portion 31 is arranged at the other end. , and the rotation driving portion 31, a base portion 32 is interposed therebetween. The base portion 32 has a rectangular plate shape and has a through hole in the center. The holding base 33 has a cylindrical shape and fits inside the through hole of the base portion 32 , and the upper end portion of the holding base 33 protrudes from the upper surface of the base portion 32 .

回転駆動部31は、台ユニット30の並設方向を軸として保持台33を回転駆動する。図3では、台ユニット30の並設方向が上下方向、即ちC軸方向である。回転駆動部31の重量は台部32、保持台33をはるかに上回り、回転駆動部31は台ユニット30の大部分を占める。 The rotary drive unit 31 rotates the holding base 33 about the direction in which the base units 30 are arranged side by side. In FIG. 3, the side-by-side direction of the base units 30 is the vertical direction, that is, the C-axis direction. The weight of the rotary drive part 31 far exceeds the base part 32 and the holding table 33 , and the rotary drive part 31 occupies most of the base unit 30 .

各ワーク基台14は略中央部に厚み方向に貫通する貫通孔142を有し、台ユニット30を回転可能に支持する為の支軸141を有する。支軸141は、円柱形状であり、摺動可能に貫通孔142に内嵌する。連結部34が支軸141の一端を台ユニット30と連結する。連結部34は、台部32に向かって、前後方向の寸法が拡張し、上下方向の寸法が縮小し、上面に平面視台形の切り欠きを有する。 Each work base 14 has a through-hole 142 penetrating in the thickness direction in a substantially central portion, and has a support shaft 141 for rotatably supporting the base unit 30 . The support shaft 141 has a cylindrical shape and is slidably fitted in the through hole 142 . A connecting portion 34 connects one end of the support shaft 141 to the base unit 30 . The connecting portion 34 has a front-rear dimension that extends toward the base portion 32 and a vertical dimension that decreases, and has a trapezoidal notch in a plan view on its upper surface.

上述の如く、支軸141が摺動可能に貫通孔142に内嵌しているので、台ユニット30は支軸141の軸心を通るA軸回りを回転する。A軸は台ユニット30の上端付近、即ち、保持台33の上面よりも少し上方を通っており、台ユニット30の並設方向にて一端側に偏っている。故に、台ユニット30がA軸回りに回転する場合、偏荷重が生じる。 As described above, since the support shaft 141 is slidably fitted in the through hole 142 , the base unit 30 rotates around the A axis passing through the axis of the support shaft 141 . The A-axis passes near the upper end of the base unit 30, that is, slightly above the upper surface of the holding base 33, and is biased toward one end in the side-by-side arrangement direction of the base unit 30. Therefore, when the base unit 30 rotates around the A axis, an unbalanced load is generated.

図4は台ユニット30の回転を説明する例示図である。図4AはA軸角度が0°である場合を示し、図4Bは前記角度が90°である場合を示す。A軸角度が0°の場合、保持台33の回転軸が鉛直方向であり、且つ保持台33が上方に位置する。上述の如く、A軸が台ユニット30の一端側に偏っているので、図4Aの位置(角度が0°)では偏荷重が最小であり、図4Bの位置(角度が90°)では偏荷重が最大である。 4A and 4B are illustrative diagrams for explaining the rotation of the base unit 30. FIG. FIG. 4A shows the case where the A-axis angle is 0°, and FIG. 4B shows the case where the angle is 90°. When the A-axis angle is 0°, the rotation axis of the holding table 33 is vertical and the holding table 33 is positioned upward. As described above, since the A-axis is biased toward one end of the platform unit 30, the eccentric load is minimal at the position in FIG. is the maximum.

立柱22は前面にZ方向移動装置23を有する。Z方向移動装置23は主軸ヘッド25を上下方向に駆動する。主軸ヘッド25は主軸28を回転可能に収納する。主軸28は、主軸ヘッド25の上端に設けた主軸モータ27に接続する。主軸28は主軸モータ27の駆動で軸心回りに回転し、主軸28下端に装着した工具26が回転する。工具26は台ユニット30に保持したワークに対して切削加工を行う。 The vertical column 22 has a Z-direction moving device 23 on its front surface. The Z-direction moving device 23 drives the spindle head 25 vertically. A spindle head 25 rotatably accommodates a spindle 28 . The spindle 28 is connected to a spindle motor 27 provided at the upper end of the spindle head 25 . The main shaft 28 is driven by a main shaft motor 27 to rotate about its axis, and a tool 26 attached to the lower end of the main shaft 28 rotates. The tool 26 cuts the workpiece held on the base unit 30 .

工作機械100は、切削加工の実行を制御する数値制御装置1を有する。図5は工作機械100の数値制御装置1の要部構成を示すブロック図である。
数値制御装置1は制御部2、ROM3、RAM4、記憶部5、I/O(入出力部)6、各軸に対応する駆動回路71~76を備える。制御部2、ROM3、RAM4、記憶部5はI/O6を介して駆動回路71~76と接続する。また、I/O6は、駆動回路71~76、後述するエンコーダ91~96と、制御部2、ROM3、RAM4、記憶部5、操作部7、表示部8の間で各種信号の入出力を行う。記憶部5は書き換え可能な記憶媒体であり、例えばEPROM、EEPRPM、フラッシュメモリ等である。
The machine tool 100 has a numerical controller 1 that controls execution of cutting. FIG. 5 is a block diagram showing the main configuration of the numerical controller 1 of the machine tool 100. As shown in FIG.
The numerical controller 1 includes a control section 2, a ROM 3, a RAM 4, a storage section 5, an I/O (input/output section) 6, and drive circuits 71 to 76 corresponding to each axis. The control section 2, ROM 3, RAM 4 and storage section 5 are connected to drive circuits 71-76 via I/O6. Further, the I/O 6 inputs and outputs various signals between the drive circuits 71 to 76, the encoders 91 to 96 described later, the control section 2, the ROM 3, the RAM 4, the storage section 5, the operation section 7, and the display section 8. . The storage unit 5 is a rewritable storage medium such as EPROM, EEPROM, flash memory, or the like.

制御部2はCPU等を含み、工作機械100の動作を制御する。ROM3は切削加工に関する各種処理を実行する為の制御プログラム等を記憶する。RAM4は各種処理実行中に発生する各種データを記憶する。記憶部5はNCプログラム、後述する基準イナーシャ、基準偏荷重、基準時定数等を記憶する。 The control unit 2 includes a CPU and the like, and controls operations of the machine tool 100 . The ROM 3 stores control programs and the like for executing various processing related to cutting. The RAM 4 stores various data generated during execution of various processes. A storage unit 5 stores an NC program, a reference inertia, a reference unbalanced load, a reference time constant, and the like, which will be described later.

工作機械100は、X方向移動装置21、Y方向移動装置20、Z方向移動装置23を夫々駆動するX軸モータ81、Y軸モータ82、Z軸モータ83と、保持台33をC軸回りに回転駆動するC軸モータ84、台ユニット30をA軸回りに回転駆動するA軸モータ85、主軸28を回転駆動する主軸モータ86を備える。また、工作機械100は、X軸モータ81、Y軸モータ82、Z軸モータ83、C軸モータ84、A軸モータ85、主軸モータ86(以下、モータ81~86ともいう)に夫々対応するエンコーダ91~96を備える。モータ81~86は何れもサーボモータである。 The machine tool 100 includes an X-axis motor 81, a Y-axis motor 82, and a Z-axis motor 83 that drive the X-direction moving device 21, the Y-direction moving device 20, and the Z-direction moving device 23, respectively, and the holding base 33 around the C-axis. It has a C-axis motor 84 that rotates, an A-axis motor 85 that rotates the base unit 30 around the A-axis, and a spindle motor 86 that rotates the main shaft 28 . The machine tool 100 also includes encoders corresponding to the X-axis motor 81, the Y-axis motor 82, the Z-axis motor 83, the C-axis motor 84, the A-axis motor 85, and the spindle motor 86 (hereinafter also referred to as motors 81 to 86). 91-96. Motors 81 to 86 are all servo motors.

駆動回路71~76は夫々モータ81~86に対応し、制御部2が出力する指令に基づき、モータ81~86にパルス信号を出力する。エンコーダ91~96は、対応するモータ81~86の回転位置を検出し、該検出信号を駆動回路71~76及びI/O6にフィードバックする。エンコーダ91~96は一般的な絶対値エンコーダであり、回転位置の絶対位置を検出して出力する位置センサである。 Drive circuits 71 to 76 correspond to motors 81 to 86, respectively, and output pulse signals to motors 81 to 86 based on commands output from control unit 2. FIG. Encoders 91-96 detect the rotational positions of corresponding motors 81-86 and feed back the detected signals to drive circuits 71-76 and I/O6. The encoders 91 to 96 are general absolute value encoders, and are position sensors that detect and output the absolute position of the rotational position.

操作部7はユーザの操作によって指示の入力を受け付け、表示部8はユーザに通知する情報を表示する。 The operation unit 7 receives an instruction input by a user's operation, and the display unit 8 displays information to be notified to the user.

上述の如く、A軸は台ユニット30の並設方向にて一端側に偏っており、台ユニット30がA軸回りに回転する場合、偏荷重が生じ、該偏荷重は台ユニット30(並設方向)が鉛直方向となす角度によって変動する。更に、台ユニット30が保持するワークの重量によってイナーシャも変動する。A軸モータ85の制御の際、このような台ユニット30の偏荷重の変動、ワークのイナーシャの変動を考慮しないと、A軸モータ85のトルクが不足したり、又は、トルクが過剰過ぎて許容範囲を超える虞がある。工作機械100はこの問題に対応できる。 As described above, the A-axis is biased toward one end in the side-by-side arrangement direction of the stand unit 30, and when the stand unit 30 rotates around the A-axis, an unbalanced load is generated. direction) fluctuates depending on the angle formed with the vertical direction. Furthermore, the inertia also fluctuates depending on the weight of the work held by the base unit 30 . When controlling the A-axis motor 85, the torque of the A-axis motor 85 will be insufficient or excessive and will not be allowed unless the variations in the unbalanced load of the table unit 30 and the variations in the inertia of the workpiece are taken into consideration. There is a risk of exceeding the range. Machine tool 100 can address this problem.

図6は工作機械100の制御部2の構成を説明するブロック図である。便宜上、図6は制御部2と駆動回路75の関係のみを示す。以下、制御部2によるA軸モータ85の制御について説明する。 FIG. 6 is a block diagram for explaining the configuration of the control unit 2 of the machine tool 100. As shown in FIG. For convenience, FIG. 6 shows only the relationship between the control section 2 and the drive circuit 75. As shown in FIG. The control of the A-axis motor 85 by the controller 2 will be described below.

制御部2は、速度加減部201、時定数演算部205、イナーシャ・偏荷重取得部206を有する。
速度加減部201は、既定のA軸モータ85の速度の時系列変化(波形)を受け、速度の波形を調整して駆動回路75に出力する。速度加減部201は、台ユニット30が保持するワークの重さ、台ユニット30の偏荷重の変動に応じて速度の波形を調整する。
The control unit 2 has a speed adjustment unit 201 , a time constant calculation unit 205 , and an inertia/unbalanced load acquisition unit 206 .
The speed adjuster 201 receives the time-series change (waveform) of the speed of the A-axis motor 85 , adjusts the speed waveform, and outputs it to the drive circuit 75 . The speed adjuster 201 adjusts the waveform of the speed in accordance with the weight of the work held by the base unit 30 and variations in the unbalanced load of the base unit 30 .

速度加減部201は、速度の波形を調整して滑らかにする第一フィルタ202、第二フィルタ203、第三フィルタ204を有する。第一~第三フィルタ202~204は、移動平均フィルタである。第一フィルタ202は速度加減時の最大加速度を制限するためのフィルタ、第二フィルタ203、第三フィルタ204は軸の共振を抑制する為のローパスフィルタである。第一フィルタ202の時定数(以下、t1)は台ユニット30が保持するワークの重量に応じて可変し、第二フィルタ203の時定数(以下、t2)、第三フィルタ204の時定数(以下、t3)は固定値である。 The speed adjuster 201 has a first filter 202, a second filter 203, and a third filter 204 that adjust and smooth the waveform of speed. The first to third filters 202-204 are moving average filters. The first filter 202 is a filter for limiting the maximum acceleration during acceleration/deceleration, and the second filter 203 and third filter 204 are low-pass filters for suppressing resonance of the shaft. The time constant of the first filter 202 (hereinafter referred to as t1) varies according to the weight of the workpiece held by the base unit 30, the time constant of the second filter 203 (hereinafter referred to as t2), the time constant of the third filter 204 (hereinafter referred to as , t3) are fixed values.

イナーシャ・偏荷重取得部206は、エンコーダ95からのフィードバック情報に基づき、稼働時の台ユニット30の偏荷重、ワークのイナーシャを取得する。イナーシャ・偏荷重取得部206が偏荷重、イナーシャを取得する方法について説明する。 The inertia/unbalanced load acquisition unit 206 acquires the unbalanced load of the base unit 30 during operation and the inertia of the workpiece based on the feedback information from the encoder 95 . A method for the inertia/unbalanced load acquisition unit 206 to acquire the unbalanced load and inertia will be described.

偏荷重(Tw)を「Fθsin(θ)」(式一)と定義する。Fθは偏荷重係数であり、θは台ユニット30の並設方向と鉛直方向がなす角度である。図4A(θが0°)ではTwが最小であり、図4B(θが90°)ではTwが最大である。 An unbalanced load (Tw) is defined as "F θ sin(θ)" (Formula 1). F θ is an unbalanced load coefficient, and θ is an angle formed by the direction in which the stand units 30 are arranged side by side and the vertical direction. Tw is minimum in FIG. 4A (θ is 0°), and Tw is maximum in FIG. 4B (θ is 90°).

イナーシャ(J)は「Jθ″=u‐f」(式二)と定義する。θ″は角度θの二回時間微分を示し、uは駆動回路75がA軸モータ85に出力するトルクであり、駆動回路75より取得した測定値である。fは以下の式を満たす。
f=Fθsin(θ)+Fsign(θ′)+Dθ′ (式三)
式三において、θ′は角度θの一回時間微分を示し、Fは台ユニット30に関するクーロン摩擦であり、Dは台ユニット30に関する粘性摩擦係数である。
Inertia (J) is defined as "Jθ″=uf" (Formula 2). θ″ indicates the two-time time differentiation of the angle θ, u is the torque output by the drive circuit 75 to the A-axis motor 85, and is a measured value obtained from the drive circuit 75. f satisfies the following equation.
f=F θ sin(θ)+F c sign(θ′)+Dθ′ (Formula 3)
In Equation 3, .theta.' denotes the one time derivative of the angle .theta., Fc is the Coulomb friction for the platform unit 30, and D is the viscous friction coefficient for the platform unit 30.

イナーシャ・偏荷重取得部206は、エンコーダ95からのフィードバック情報が含むA軸モータ85の回転位置(角度θ)を用いて式一~式三から偏荷重(Tw)、イナーシャ(J)を取得する。以下、イナーシャ・偏荷重取得部206が取得したイナーシャ(J)、偏荷重(Tw)を夫々取得イナーシャJ、取得偏荷重Twと称する。 The inertia/unbalanced load acquisition unit 206 acquires the unbalanced load (Tw) and inertia (J) from equations 1 to 3 using the rotational position (angle θ) of the A-axis motor 85 included in the feedback information from the encoder 95. . Hereinafter, the inertia (J) and the unbalanced load (Tw) obtained by the inertia/unbalanced load obtaining unit 206 are referred to as the obtained inertia J and the obtained unbalanced load Tw, respectively.

時定数演算部205は、取得偏荷重Tw、取得イナーシャJと、基準イナーシャJb、基準偏荷重Twb、基準時定数tbとに基づき、時定数t1を演算する。基準イナーシャJb、基準偏荷重Twb、基準時定数tbはディフォルトとして記憶部5が記憶する値である。以下、時定数演算部205が時定数t1を演算する方法について説明する。 The time constant calculator 205 calculates the time constant t1 based on the acquired unbalanced load Tw, the acquired inertia J, the reference inertia J b , the reference unbalanced load Tw b and the reference time constant t b . The reference inertia J b , the reference unbalanced load Tw b , and the reference time constant t b are values stored in the storage unit 5 as defaults. A method for calculating the time constant t1 by the time constant calculator 205 will be described below.

回転運動においてトルクは、角加速度とイナーシャの積であるので、Twが最大である場合、即ちθが90°である場合(図4B参照)、以下の関係が成立すると推定できる。
maxb=(Tm-|Twb|)/J b (式四)
maxbは角加速度、TmはA軸モータ85の最大トルクである。
In rotational motion, torque is the product of angular acceleration and inertia, so when Tw is maximum, that is, when θ is 90° (see FIG. 4B), it can be estimated that the following relationship holds.
a maxb = (Tm-|Tw b |)/J b (Formula 4)
a maxb is the angular acceleration, and Tm is the maximum torque of the A-axis motor 85 .

この場合、amaxbと反比例する基準時定数tbは以下のように表現できる。
tb=Vmax /amaxb (式五)
maxは最大角速度である。
In this case, the reference time constant t b that is inversely proportional to a maxb can be expressed as follows.
t b = V max /a maxb (Formula 5)
V max is the maximum angular velocity.

式四と式五から、演算時における角加速度(a’max)と求めるべき時定数t1は以下の式で表現できる。
a’max=(Tm-|Tw|)/ J (式六)
t1=Vmax /a’max (式七)
Tw、Jは上述の如く、取得偏荷重Tw、取得イナーシャJである。
From Equations 4 and 5, the angular acceleration (a' max ) during calculation and the time constant t1 to be obtained can be expressed by the following equations.
a' max = (Tm-|Tw|)/ J (Formula 6)
t1= Vmax / a'max (Formula 7)
Tw and J are the obtained unbalanced load Tw and the obtained inertia J as described above.

式七のa’maxに式六を代入すると、
t1=(JVmax)/( Tm-|Tw|) (式八)である。
式四をTmに対して書き換えると、Tm=Jbmaxb+|Twb|となり、これを式八のTmに代入すると、
t1=(JVmax)/(Jbmaxb+|Twb|-|Tw|) (式九)である。
式五をamaxbに対して書き換えると、amaxb=Vmax/tbとなり、これを式九のamaxbに代入すると、以下の式になる。
t1=Jtb/{Jb+tb(|Twb|-|Tw|)/Vmax} (式十)
Substituting Formula 6 for a' max in Formula 7,
t1=(JV max )/(Tm−|Tw|) (equation 8).
Rewriting Equation 4 for Tm, Tm=J b a maxb +|Tw b |, and substituting this for Tm in Equation 8, we get
t1=(JV max )/(J b a max b +|Tw b |−|Tw|) (Formula 9).
Rewriting Equation 5 with respect to a maxb yields a maxb =V max /t b , and substituting this for a maxb in Equation 9 yields the following equation.
t1=Jt b / {J b + t b (|Tw b |−|Tw|)/V max } (Formula 10)

時定数演算部205は式十を用いて、時定数t1を演算し、記憶部5が記憶する基準時定数tbを演算結果の時定数t1に更新する。以降、速度加減部201は、更新した時定数t1を用いて、駆動回路75に出力するA軸モータ85の速度の波形を調整して滑らかにする。 The time constant computing unit 205 computes the time constant t1 using Equation 10, and updates the reference time constant tb stored in the storage unit 5 to the computed time constant t1. Thereafter, the speed adjuster 201 uses the updated time constant t1 to adjust and smooth the waveform of the speed of the A-axis motor 85 output to the drive circuit 75 .

図7は、制御部2による時定数t1の更新処理を説明する流れ図である。
A軸モータ85が駆動する際、制御部2はイナーシャ・偏荷重取得部206を監視することによって、イナーシャ・偏荷重取得部206が取得イナーシャJ、取得偏荷重Twを取得したか否かを判定する(ステップS101)。
FIG. 7 is a flowchart for explaining update processing of the time constant t1 by the control unit 2. As shown in FIG.
When the A-axis motor 85 is driven, the control unit 2 monitors the inertia/unbalanced load acquisition unit 206 to determine whether the inertia/unbalanced load acquisition unit 206 acquires the acquired inertia J and the acquired unbalanced load Tw. (step S101).

以上では、イナーシャ・偏荷重取得部206が式一~三を用いて取得イナーシャJ、取得偏荷重Twを演算する例を挙げているが、これに限定されるものではない。ユーザが操作部7を操作することによって取得イナーシャJ、取得偏荷重Twを入力し、イナーシャ・偏荷重取得部206が操作部7を介して取得イナーシャJ、取得偏荷重Twを取得するようにしても良い。 In the above example, the inertia/unbalanced load acquiring unit 206 calculates the acquired inertia J and the acquired unbalanced load Tw using Equations 1 to 3, but the present invention is not limited to this. The user operates the operation unit 7 to input the acquired inertia J and the acquired unbalanced load Tw, and the inertia/unbalanced load acquisition unit 206 acquires the acquired inertia J and the acquired unbalanced load Tw via the operation unit 7. Also good.

制御部2はイナーシャ・偏荷重取得部206が取得イナーシャJ、取得偏荷重Twを取得していないと判定した場合(ステップS101:NO)、該判定を繰り返す。制御部2が、イナーシャ・偏荷重取得部206が取得イナーシャJ、取得偏荷重Twを取得したと判定した場合(ステップS101:YES)、時定数演算部205は式十を用いて時定数t1を演算する(ステップS102)。 If the control unit 2 determines that the inertia/unbalanced load acquiring unit 206 has not acquired the acquired inertia J and the acquired unbalanced load Tw (step S101: NO), it repeats the determination. When the control unit 2 determines that the inertia/uneven load acquisition unit 206 has acquired the acquired inertia J and the acquired unbalanced load Tw (step S101: YES), the time constant calculation unit 205 calculates the time constant t1 using Equation 10. Calculate (step S102).

時定数演算部205による時定数t1の演算が完了すると、制御部2は、演算が完了した際、A軸モータ85が動作中であるか否かを判定する(ステップS103)。制御部2はA軸モータ85が動作中であると判定した場合(ステップS103:YES)、該判定を繰り返す。制御部2はA軸モータ85が動作中でないと判定した場合(ステップS103:NO)、記憶部5が記憶する基準時定数tbを演算結果の時定数t1に更新する(ステップS104)。 When the calculation of the time constant t1 by the time constant calculator 205 is completed, the controller 2 determines whether or not the A-axis motor 85 is in operation (step S103). If the control unit 2 determines that the A-axis motor 85 is in operation (step S103: YES), it repeats the determination. When the control unit 2 determines that the A-axis motor 85 is not in operation (step S103: NO), it updates the reference time constant tb stored in the storage unit 5 to the calculated time constant t1 (step S104).

以上の如く、実施形態1の工作機械100は、台ユニット30の偏荷重の変動、ワークのイナーシャの変動を反映してA軸モータ85の制御を行うので、A軸モータ85のトルクが不足したり、又は、過剰過ぎて許容範囲を超えることを事前に防止できる。 As described above, the machine tool 100 of the first embodiment controls the A-axis motor 85 by reflecting changes in the unbalanced load of the table unit 30 and changes in the inertia of the workpiece, so that the torque of the A-axis motor 85 is insufficient. Or, it can be prevented in advance from exceeding the allowable range due to excess.

工作機械100は、上述の如く、第二フィルタ203の時定数t2、第三フィルタ204の時定数t3が固定値であるので、使用条件によらず一定のフィルタ効果を得ることができる。 Since the time constant t2 of the second filter 203 and the time constant t3 of the third filter 204 are fixed values as described above, the machine tool 100 can obtain a constant filter effect regardless of the conditions of use.

工作機械100は、上述の如く、θが90°である場合を基準条件とし、この時のイナーシャ、偏荷重を用いて時定数t1を演算する。よって、基準条件のみ試験を行い基準変数を決定すれば全条件での最適時定数を求めることができる。 As described above, the machine tool 100 uses the case where θ is 90° as a reference condition, and calculates the time constant t1 using the inertia and unbalanced load at this time. Therefore, if only the reference condition is tested and the reference variable is determined, the optimum time constant under all conditions can be obtained.

(実施形態2)
図8は実施形態2の工作機械100の制御部2の構成を説明するブロック図である。便宜上、図8は制御部2と駆動回路75の関係のみを示す。以下、制御部2によるA軸モータ85の制御について説明する。
(Embodiment 2)
FIG. 8 is a block diagram illustrating the configuration of the control section 2 of the machine tool 100 of Embodiment 2. As shown in FIG. For convenience, FIG. 8 shows only the relationship between the control section 2 and the driving circuit 75. As shown in FIG. The control of the A-axis motor 85 by the controller 2 will be described below.

実施形態1と同様、制御部2は、速度加減部201、時定数演算部205、イナーシャ・偏荷重取得部206を有する。速度加減部201は、速度の波形を調整して滑らかにする第一フィルタ202、第二フィルタ203、第三フィルタ204を有する。速度加減部201、イナーシャ・偏荷重取得部206は実施形態1と同様であり、説明を省略する。 As in the first embodiment, the control unit 2 has a speed adjustment unit 201 , a time constant calculation unit 205 , and an inertia/unbalanced load acquisition unit 206 . The speed adjuster 201 has a first filter 202, a second filter 203, and a third filter 204 that adjust and smooth the waveform of speed. The speed adjusting unit 201 and the inertia/unbalanced load acquiring unit 206 are the same as those in the first embodiment, and the description thereof is omitted.

実施形態2では、制御部2は、位置決め指令生成部207を更に有する。位置決め指令生成部207は、記憶部5が記憶するNCプログラムに基づき、所謂早送り時の台ユニット30の位置を定める指令を生成する。早送りとは、加工開始前と終了後に工具を移動すること、即ち工具がワークに接触していないときに工具を移動することを言う。 In Embodiment 2, the controller 2 further has a positioning command generator 207 . The positioning command generation unit 207 generates a command for determining the position of the base unit 30 during so-called fast feed based on the NC program stored in the storage unit 5 . Rapid traverse refers to moving the tool before and after machining, that is, moving the tool when it is not in contact with the workpiece.

例えば、位置決め指令生成部207は、駆動回路75に出力すべき速度の波形を生成し、A軸モータ85の回転始点角度と回転終点角度を生成する。位置決め指令生成部207は、速度の波形を速度加減部201に出力し、回転始点角度と回転終点角度を時定数演算部205に出力する。 For example, the positioning command generator 207 generates a velocity waveform to be output to the drive circuit 75 and generates the rotation start angle and rotation end angle of the A-axis motor 85 . The positioning command generator 207 outputs the velocity waveform to the velocity adjuster 201 , and outputs the rotation start point angle and the rotation end point angle to the time constant calculator 205 .

実施形態2では、時定数演算部205が、取得偏荷重Tw、取得イナーシャJ、基準イナーシャJb、基準偏荷重Twb、基準時定数tbに加え、位置決め指令生成部207からの回転始点角度と回転終点角度に基づき、時定数t1を演算する。 In the second embodiment, the time constant calculator 205 calculates the rotation start angle from the positioning command generator 207 in addition to the acquired unbalanced load Tw, the acquired inertia J, the reference inertia Jb , the reference unbalanced load Twb, and the reference time constant tb . and the rotation end point angle, the time constant t1 is calculated.

実施形態2では、時定数演算部205は下記の式十一を用いて、時定数t1を演算する。
t1=Jtb/{Jb+tb(|Twb|‐k|Tw|)/Vmax} (式十一)
式十一においてkは以下の式によって定義する。
k=max{|sinθ|,θmin<θ<θmax}
θmin:回転始点角度、θmax:回転始点角度
In the second embodiment, the time constant calculator 205 uses Equation 11 below to calculate the time constant t1.
t1= Jtb /{ Jb + tb (| Twb |-k|Tw|)/ Vmax } (Equation 11)
In Equation 11, k is defined by the following equation.
k=max{|sinθ|,θmin<θ<θmax}
θmin: Rotation start angle, θmax: Rotation start angle

即ち、実施形態2の時定数演算部205は、時定数t1の演算に位置決め指令生成部207からの回転始点角度と回転終点角度を反映する。これによって、偏荷重が大きくかからない場合には、A軸のトルクに余裕ができるため加速度を大きくできる等、台ユニット30のA軸回りの回転をより適切に制御できる。 That is, the time constant calculator 205 of the second embodiment reflects the rotation start point angle and the rotation end point angle from the positioning command generator 207 in the calculation of the time constant t1. As a result, when the unbalanced load is not large, the rotation of the base unit 30 about the A-axis can be controlled more appropriately, such as by increasing the acceleration due to the extra torque of the A-axis.

時定数演算部205は式十一を用いて、時定数t1を演算し、速度加減部201は、演算後の時定数t1を用いて、駆動回路75に出力するA軸モータ85の速度の波形を調整して滑らかにする。 The time constant calculator 205 uses Equation 11 to calculate the time constant t1, and the speed adjuster 201 uses the calculated time constant t1 to generate the waveform of the speed of the A-axis motor 85 that is output to the drive circuit 75. to smooth it out.

図9は、制御部2による時定数t1の演算処理を説明する流れ図である。
制御部2は、記憶部5が記憶するNCプログラムを1行読み込み(ステップS201)、読み込んだプログラムの指令が早送り指令であるか否かを判定する(ステップS202)。制御部2は、読み込んだプログラムの指令が早送り指令でないと判定した場合(ステップS202:NO)、プログラムの指令に対応する処理を実行する(ステップS207)。以降、処理はステップS206に進む。
FIG. 9 is a flow chart for explaining calculation processing of the time constant t1 by the control unit 2. As shown in FIG.
The control unit 2 reads one line of the NC program stored in the storage unit 5 (step S201), and determines whether or not the command of the read program is a fast-forward command (step S202). If the controller 2 determines that the command of the read program is not the fast-forward command (step S202: NO), it executes processing corresponding to the command of the program (step S207). Henceforth, a process progresses to step S206.

制御部2が、読み込んだプログラムの指令が早送り指令であると判定した場合(ステップS202:YES)、前記プログラムの指令に応じて位置決め指令生成部207はA軸モータ85の回転始点角度と回転終点角度を生成し、時定数演算部205が位置決め指令生成部207から回転始点角度と回転終点角度を取得する(ステップS203)。 When the control unit 2 determines that the read program command is a fast-forward command (step S202: YES), the positioning command generation unit 207 determines the rotation start angle and the rotation end point of the A-axis motor 85 according to the program command. An angle is generated, and the time constant calculator 205 acquires the rotation start point angle and the rotation end point angle from the positioning command generator 207 (step S203).

時定数演算部205は式十一を用いて時定数t1を演算する(ステップS204)。速度加減部201は、時定数演算部205が演算した時定数t1を用いて、駆動回路75に出力するA軸モータ85の速度の波形を調整して速度を加減する(ステップS205)。 The time constant calculator 205 calculates the time constant t1 using Equation 11 (step S204). The speed adjuster 201 uses the time constant t1 calculated by the time constant calculator 205 to adjust the waveform of the speed of the A-axis motor 85 output to the drive circuit 75 to adjust the speed (step S205).

ステップS205又はステップS207の処理が完了した後、制御部2は、全プログラムの指令の実行が終了したか否かを判定する(ステップS206)。制御部2は、全プログラムの指令の実行が終了していないと判定した場合(ステップS206:NO)、処理をステップS201に戻し、記憶部5が記憶するNCプログラムから次の1行読み込む。制御部2は、全プログラムの指令の実行が終了したと判定した場合(ステップS206:YES)、処理を終了する。 After the processing of step S205 or step S207 is completed, the control unit 2 determines whether or not the execution of the instructions of all programs has been completed (step S206). If the control unit 2 determines that the execution of all program commands has not ended (step S206: NO), the process returns to step S201 and reads the next line from the NC program stored in the storage unit 5. If the control unit 2 determines that the execution of the commands of all programs has ended (step S206: YES), it ends the process.

実施の形態1と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same reference numerals are assigned to the same parts as in the first embodiment, and detailed description thereof will be omitted.

以上においては、台ユニット30がA軸の周りを回転する場合を例に説明したが、これに限定しない。台ユニット30が、A軸及びC軸と直交するB軸の周りを回転する場合も適用可能である。 In the above description, the case where the base unit 30 rotates around the A axis has been described as an example, but the present invention is not limited to this. It is also applicable when the base unit 30 rotates around the B-axis perpendicular to the A-axis and the C-axis.

1 数値制御装置
5 記憶部
30 台ユニット
31 回転駆動部
33 保持台
100 工作機械
201 速度加減部
202 第一フィルタ
203 第二フィルタ
204 第三フィルタ
205 時定数演算部
206 イナーシャ・偏荷重取得部
2 制御部
1 Numerical Control Device 5 Storage Part 30 Unit 31 Rotation Drive Part 33 Holding Base 100 Machine Tool 201 Speed Controlling Part 202 First Filter 203 Second Filter 204 Third Filter 205 Time Constant Calculating Part 206 Inertia/Uneven Load Acquiring Part 2 Control Department

Claims (7)

ワークの保持台を含む、一方向に並設した複数の部品を有する台ユニットが前記一方向と交差する回転軸の回りに回転する速度を加減する速度加減部を備える制御装置において、
基準イナーシャ、基準偏荷重、基準時定数を記憶している記憶部と、
前記台ユニットに関するフィードバック情報から、前記台ユニットの回転角度に応じて取得した取得偏荷重及び取得イナーシャと、前記基準イナーシャ、前記基準偏荷重、前記基準時定数を含む演算要素に基づいて前記速度加減部の時定数を演算する演算部と
を備える制御装置。
A control device comprising a speed adjuster that adjusts the speed of rotation of a table unit having a plurality of parts arranged side by side in one direction, including a workpiece holding table, around a rotation axis that intersects with the one direction,
a storage unit that stores a reference inertia, a reference unbalanced load, and a reference time constant;
The speed acceleration/deceleration is based on computational elements including the obtained unbalanced load and the obtained inertia obtained according to the rotation angle of the base unit, and the reference inertia, the reference unbalanced load, and the reference time constant from the feedback information regarding the base unit. and a controller for calculating the time constant of the part.
前記速度加減部は、前記演算部が演算した時定数を用いて前記台ユニットの速度加減時の最大加速度を制限する移動平均フィルタを有する請求項1に記載の制御装置。 2. The control device according to claim 1, wherein the speed control unit has a moving average filter that limits maximum acceleration during speed control of the base unit using the time constant calculated by the calculation unit. 前記速度加減部は、前記移動平均フィルタを含む複数の移動平均フィルタを有する請求項2に記載の制御装置。 3. The control device according to claim 2, wherein said speed adjuster has a plurality of moving average filters including said moving average filter. 前記台ユニットは、前記保持台が一端に配置し、前記保持台よりも重い他部品を含み、
前記回転軸は、前記台ユニットの前記一端寄りに偏在する請求項1に記載の制御装置。
The base unit includes another part, the holding base being arranged at one end and being heavier than the holding base,
2. The control device according to claim 1, wherein said rotating shaft is unevenly distributed near said one end of said base unit.
前記基準イナーシャ及び前記基準偏荷重は、前記台ユニットの偏荷重が最大である時のイナーシャ及び偏荷重である請求項1に記載の制御装置。 2. The control device according to claim 1, wherein the reference inertia and the reference unbalanced load are inertia and unbalanced load when the unbalanced load of the platform unit is maximum. 前記演算要素は前記台ユニットの回動範囲を含む請求項1から5の何れか一項に記載の制御装置。 6. The control device according to any one of claims 1 to 5, wherein the calculation element includes a rotation range of the base unit. ワークの保持台を含む、一方向に並設した複数の部品を有する台ユニットが前記一方向と交差する回転軸の回りに回転する速度を制御する速度制御方法において、
基準イナーシャ、基準偏荷重、基準時定数を記憶し、
前記台ユニットに関するフィードバック情報から、前記台ユニットの回転角度に応じて偏荷重及びイナーシャを取得し、
取得した偏荷重及びイナーシャと、既記憶の内容を含む演算要素に基づいて、前記速度の制御に用いる時定数を演算する
速度制御方法。









In a speed control method for controlling the speed at which a table unit having a plurality of parts arranged side by side in one direction, including a work holding table, rotates around a rotation axis intersecting the one direction,
Memorize the standard inertia, standard unbalanced load, and standard time constant,
obtaining an unbalanced load and inertia according to the rotation angle of the base unit from feedback information about the base unit;
A speed control method of calculating a time constant used for controlling the speed based on the obtained unbalanced load and inertia and calculation elements including the contents of the memory.









JP2021161821A 2021-09-30 2021-09-30 Controller and speed control method Pending JP2023051255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021161821A JP2023051255A (en) 2021-09-30 2021-09-30 Controller and speed control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021161821A JP2023051255A (en) 2021-09-30 2021-09-30 Controller and speed control method

Publications (1)

Publication Number Publication Date
JP2023051255A true JP2023051255A (en) 2023-04-11

Family

ID=85806348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021161821A Pending JP2023051255A (en) 2021-09-30 2021-09-30 Controller and speed control method

Country Status (1)

Country Link
JP (1) JP2023051255A (en)

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
WO2011077791A1 (en) Control parameter adjustment method and adjustment device
CN102331744A (en) Numerical controller for machine tool with function of controlling speed of arc operation
WO2014196066A1 (en) Numerical control device
JP2018140470A (en) Work-piece processing control device
JP2021104564A (en) Thermal displacement correction device
JP2019166604A (en) Cutting device and control method for the same
JP2012164200A (en) Numerical controller making in-position check on rotating shaft
US20210331261A1 (en) Gear machining apparatus
CN109324568A (en) Position control
JP2023051255A (en) Controller and speed control method
JP5734213B2 (en) High precision machining method and high precision machining apparatus
JPH0852621A (en) Wire squareness control method
JP5631468B1 (en) Machine Tools
US20190217469A1 (en) Robot controller
CN102033515A (en) Processing-control device and laser processing device
JP7226070B2 (en) Numerical controller
JP2021060809A (en) Machine tool
JP2021056902A (en) Machine tool, measurement method and computer program
JP4082598B2 (en) Method and apparatus for correcting thermal displacement of numerically controlled machine tool
JP2012056005A (en) Method and apparatus for setting parameter
KR100859397B1 (en) Numerical Control System and Method in a Work Machine
JP7436174B2 (en) Machine Tools
JP7238673B2 (en) Numerical controller and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240315