JP2012113430A - Drive control apparatus for servo motor with at least two feed shafts orthogonal with each other for moving table of machine tool or tool - Google Patents

Drive control apparatus for servo motor with at least two feed shafts orthogonal with each other for moving table of machine tool or tool Download PDF

Info

Publication number
JP2012113430A
JP2012113430A JP2010260406A JP2010260406A JP2012113430A JP 2012113430 A JP2012113430 A JP 2012113430A JP 2010260406 A JP2010260406 A JP 2010260406A JP 2010260406 A JP2010260406 A JP 2010260406A JP 2012113430 A JP2012113430 A JP 2012113430A
Authority
JP
Japan
Prior art keywords
servo motor
arc
tool
circle
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.)
Granted
Application number
JP2010260406A
Other languages
Japanese (ja)
Other versions
JP4927985B1 (en
Inventor
Heisuke Iwashita
平輔 岩下
Hiroyuki Kawamura
宏之 河村
Junichi Tezuka
淳一 手塚
Kazuyuki Sugiyama
和之 杉山
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2010260406A priority Critical patent/JP4927985B1/en
Priority to CN 201110273923 priority patent/CN102478810B/en
Application granted granted Critical
Publication of JP4927985B1 publication Critical patent/JP4927985B1/en
Publication of JP2012113430A publication Critical patent/JP2012113430A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a drive control apparatus for a servo motor in which, during arcuate cutting of a workpiece, a cut face of a workpiece is prevented from being dug in by excessive correction under learning control.SOLUTION: A data production section 5 produces coordinate data of a circular arc having a projecting portion which is formed correspondingly to an inversion position in a driving direction of a feed shaft of a servo motor 2 when performing an arcuate operation of a table so as to eliminate digging into a cut surface of a workpiece during arcuate cutting of the workpiece. The coordinate data are sent to a servo motor drive section 3 as a position command. The servo motor drive section 3 drives the servo motor 2 by outputting to the servo motor 2 a speed command determined on the basis of a positional deviation between the position command and an actual position of the servo motor 2, and repetitively performs the arcuate operation of the table. On the basis of the position command, a learning controller 4 determines correction data avoiding digging into the cut surface in inverting the driving direction of the feed shaft of the servo motor 2.

Description

本発明は、工作機械のテーブル又は工具を移動させる互いに直交した少なくとも二つの送り軸を有するサーボモータの駆動制御装置に関する。   The present invention relates to a drive control apparatus for a servo motor having at least two feed axes orthogonal to each other for moving a table or a tool of a machine tool.

工作機械のテーブルに取り付けられた被加工物を加工するために、テーブルを移動させる互いに直交した二つの送り軸を駆動するサーボモータが広く用いられる。このようなサーボモータを用いて被加工物を円(真円又は楕円)又は円弧(真円弧又は真楕円弧)切削する場合、サーボモータの駆動制御装置によって、サーボモータ又はテーブルに対する位置指令とサーボモータ又はテーブルの実際の位置との位置偏差に基づいて速度指令又はトルク指令を求め、速度指令又はトルク指令を所定周期ごとにサーボモータに出力し、サーボモータを駆動してテーブルの円又は円弧動作を繰り返し行わせる。   In order to process a workpiece attached to a table of a machine tool, a servo motor that drives two feed axes orthogonal to each other for moving the table is widely used. When a workpiece is cut into a circle (perfect circle or ellipse) or arc (true arc or ellipse arc) using such a servo motor, the servo motor drive control device and the servo motor or table position command and servo motor. Alternatively, the speed command or torque command is obtained based on the position deviation from the actual position of the table, the speed command or torque command is output to the servo motor at predetermined intervals, and the servo motor is driven to perform the circular or arc motion of the table. Let it be repeated.

X軸及びY軸の直交平面上を移動するテーブルに取り付けた被加工物に対して円又は円弧切削を繰り返し行う場合、例えば、円又は円弧中心を座標系の原点とすると、テーブルが正のX軸方向及び負のY軸方向に移動して円又は円弧切削を行っている途中で象限が変わり、テーブルが負のX軸方向及び負のY軸方向に移動する。この場合、テーブルのY軸方向の移動については、それまでの移動速度でテーブルが移動するようにサーボモータがY軸方向の送り軸を駆動して被加工物を切削するが、テーブルのX軸方向の移動については、X軸方向の送り軸の駆動方向の反転時(正のX軸方向から負のX軸方向への反転時)に摩擦の影響でテーブルは即座に反転することができず、テーブルのX軸方向の移動の遅れが生じる。また、テーブルの送りねじのバックラッシュによるテーブルのX軸方向の移動の遅れも生じる。その結果、円又は円弧切削を行っている途中で象限が変わるときのテーブルの移動の遅れにより被加工物の切削面に突起(以後、「象限突起」と称する。)が生じる。   When repeatedly performing circular or arc cutting on a workpiece mounted on a table that moves on a plane orthogonal to the X and Y axes, for example, if the center of the circle or arc is the origin of the coordinate system, the table is positive X The quadrant changes during the circular or arc cutting by moving in the axial direction and the negative Y-axis direction, and the table moves in the negative X-axis direction and the negative Y-axis direction. In this case, regarding the movement of the table in the Y-axis direction, the servomotor drives the feed axis in the Y-axis direction to cut the workpiece so that the table moves at the previous movement speed. For movement in the direction, the table cannot be reversed immediately due to the influence of friction when the drive direction of the feed axis in the X-axis direction is reversed (when reversing from the positive X-axis direction to the negative X-axis direction). There is a delay in the movement of the table in the X-axis direction. Further, there is a delay in the movement of the table in the X-axis direction due to the backlash of the table feed screw. As a result, a protrusion (hereinafter referred to as “quadrant protrusion”) is generated on the cutting surface of the workpiece due to a delay in the movement of the table when the quadrant changes during circular or arc cutting.

従来、このような象限突起を小さくするために速度指令又はトルク指令の補正データを学習制御により求め、テーブルの円又は円弧動作を行う際のサーボモータの駆動方向の反転時のテーブルの移動の遅れを低減することが提案されている(例えば、特許文献1)。このような学習制御により、テーブルの移動の軌跡は真円又は真円弧に近い軌跡となり、被加工物の切削面に生じる象限突起を小さくすることができる。   Conventionally, speed command or torque command correction data is obtained by learning control in order to reduce such quadrant projections, and table movement delays when the servo motor drive direction is reversed when performing table circular or arc motion Has been proposed (for example, Patent Document 1). By such learning control, the trajectory of the table movement becomes a trajectory close to a perfect circle or a true arc, and quadrant protrusions generated on the cutting surface of the workpiece can be reduced.

特許第3805309号公報Japanese Patent No. 3805309

速度指令又はトルク指令の補正データを学習制御により求める場合、被加工物の切削面に生じる象限突起が小さくなるが、真円の位置指令を学習制御部に入力し、サーボモータの駆動方向の反転時の補正データを求めると過剰な補正となり、被加工物の切削面に食い込み(窪み)が生じることがある。この場合、ある程度の象限突起は許容できても被加工物の切削面に生じる食い込みをなくしたいという要請に対応することができない。   When the correction data of the speed command or torque command is obtained by learning control, the quadrant projection generated on the cutting surface of the workpiece is reduced, but the perfect circle position command is input to the learning control unit, and the drive direction of the servo motor is reversed. If the correction data for the hour is obtained, the correction becomes excessive, and the cutting surface of the workpiece may bite (dent). In this case, even if a certain amount of quadrant projections can be allowed, it is not possible to meet the demand for eliminating the biting generated on the cutting surface of the workpiece.

本発明の目的は、象限突起を小さくするために速度指令又はトルク指令の補正データの学習制御を行いながら被加工物を円又は円弧切削する際に被加工物の切削面に食い込みが生じないようにすることができるサーボモータの駆動制御装置を提供することである。   The object of the present invention is to prevent the cutting surface of the workpiece from biting when the workpiece is subjected to circular or arc cutting while learning control of the correction data of the speed command or torque command to reduce the quadrant projection. It is an object of the present invention to provide a drive control device for a servo motor that can be used.

本発明によるサーボモータの駆動制御装置は、工作機械のテーブル又は工具を移動させる互いに直交した少なくとも二つの送り軸を有するサーボモータの駆動制御装置において、テーブルに取り付けられた被加工物を工具によって円又は円弧切削するために、サーボモータ、テーブル又は工具に対する位置指令とサーボモータ、テーブル又は工具の実際の位置との位置偏差に基づいて速度指令又はトルク指令を求め、速度指令又はトルク指令を所定周期ごとにサーボモータに出力することによって、サーボモータを駆動してテーブル又は工具の円又は円弧動作を繰り返し行わせるサーボモータ駆動部と、テーブル又は工具の円又は円弧動作を行う際の少なくとも二つの送り軸の一つの駆動方向の反転時のテーブル又は工具の移動の遅れを低減するために、速度指令又はトルク指令の補正データを学習制御により求める学習制御部と、被加工物の円又は円弧切削時に被加工物の切削面に食い込みが生じなくなるようにテーブル又は工具の円又は円弧動作を行う際の少なくとも二つの送り軸の一つの駆動方向の反転位置に対応して形成された突起部を有する円又は円弧の座標データを生成し、座標データを位置指令としてサーボモータ駆動部に送り出すデータ生成部と、を有することを特徴とする。   A servo motor drive control apparatus according to the present invention is a servo motor drive control apparatus having at least two feed axes orthogonal to each other for moving a table or a tool of a machine tool. Alternatively, in order to perform arc cutting, a speed command or torque command is obtained based on a positional deviation between the position command for the servo motor, table or tool and the actual position of the servo motor, table or tool, and the speed command or torque command is determined at a predetermined cycle. Output to the servo motor each time to drive the servo motor to repeat the circle or arc motion of the table or tool and at least two feeds when performing the circle or arc motion of the table or tool Reduces table or tool movement delay when reversing one drive direction of an axis Therefore, a learning control unit for obtaining correction data for speed command or torque command by learning control, and a table or tool circle or the like so that the cutting surface of the workpiece does not bite during the cutting of the workpiece circle or arc Servo motor drive unit that generates coordinate data of a circle or arc having a projection formed corresponding to the reversal position in one drive direction of at least two feed axes when performing an arc motion, and uses the coordinate data as a position command And a data generation unit to be sent out.

好適には、円又は円弧半径、円又は円弧動作時のテーブル又は工具の接線速度、及び、円又は円弧の中心と突起部の先端部の間の距離と円又は円弧半径との差に基づいて、少なくとも二つの送り軸の一つの駆動方向の反転位置における少なくとも二つの送り軸の一つの停止時間を算出する停止時間算出部を更に有し、データ生成部は、少なくとも二つの送り軸の一つの停止時間を用いて円又は円弧の座標データを生成する請求項1に記載のサーボモータの駆動制御装置。   Preferably, based on the circle or arc radius, the tangential speed of the table or tool during the circle or arc motion, and the difference between the circle or arc radius and the distance between the center of the circle or arc and the tip of the protrusion and the circle or arc radius A stop time calculating unit that calculates a stop time of one of the at least two feed axes at a reversal position in one drive direction of the at least two feed axes, and the data generation unit includes The servomotor drive control device according to claim 1, wherein coordinate data of a circle or an arc is generated using the stop time.

好適には、少なくとも二つの送り軸の一つの停止時間に基づいて、少なくとも二つの送り軸の一つの停止前と駆動再開後のテーブル又は工具の移動速度が連続するように少なくとも二つの送り軸の一つの駆動再開後のテーブル又は工具の移動速度を算出する移動速度算出部を更に有し、データ生成部は、少なくとも二つの送り軸の一つの駆動再開後のテーブル又は工具の移動速度を用いて円又は円弧の座標データを生成する。   Preferably, on the basis of the stop time of one of the at least two feed axes, the movement speed of the table or the tool before the stop of one of the at least two feed axes and after the restart of the driving is continued. It further has a moving speed calculation unit for calculating the moving speed of the table or tool after restarting one drive, and the data generation unit uses the moving speed of the table or tool after restarting one of the at least two feed axes. Generate coordinate data for a circle or arc.

好適には、円又は円弧半径、円又は円弧動作時のテーブル又は工具の接線速度、円又は円弧の中心と突起部の先端部の間の距離と円又は円弧半径との差、及び、突起部のパターンに基づいて、突起部の形状を指定する形状指定部を更に有し、データ生成部は、突起部の形状を用いて円又は円弧の座標データを生成する。   Preferably, the radius of the circle or arc, the tangential speed of the table or tool during the operation of the circle or arc, the difference between the distance between the center of the circle or arc and the tip of the projection and the radius of the circle or arc, and the projection And a shape designating unit for designating the shape of the projection based on the pattern, and the data generation unit generates coordinate data of a circle or an arc using the shape of the projection.

本発明によれば、被加工物の円又は円弧切削時に被加工物の切削面に食い込みが生じなくなるようにテーブル又は工具の円又は円弧動作を行う際の二つの送り軸の一つの駆動方向の反転位置に対応して形成された突起部を有する円又は円弧の座標データを生成し、座標データを位置指令としてサーボモータ駆動部に送り出す。このように突起部を有する円又は円弧の座標データを生成することによって、テーブル又は工具の移動の軌跡は、真円又は真円弧に近い軌跡ではなく、被加工物の円又は円弧切削時に被加工物の切削面に食い込みが生じなくなるように形成された突起部を有する円又は円弧の軌跡となる。したがって、象限突起を小さくするために速度指令又はトルク指令の補正データの学習制御を行いながら被加工物を円又は円弧切削する際に被加工物の切削面に食い込みが生じないようにすることができる。   According to the present invention, one of the two feed axes in the drive direction of the two feed shafts when performing the circle or arc movement of the table or tool so that the cutting surface of the workpiece does not bite during the cutting of the circle or arc of the workpiece. Coordinate data of a circle or arc having a protrusion formed corresponding to the reversal position is generated, and the coordinate data is sent to the servo motor drive unit as a position command. By generating coordinate data of a circle or arc having protrusions in this way, the trajectory of the movement of the table or tool is not a trajectory close to a true circle or true arc, but is processed when cutting a circle or arc of the workpiece. It becomes a locus of a circle or an arc having a projection formed so as to prevent biting on the cutting surface of the object. Therefore, it is possible to prevent the cutting surface of the workpiece from biting when the workpiece is subjected to circular or arc cutting while performing learning control of the correction data of the speed command or torque command in order to reduce the quadrant projection. it can.

本発明によるサーボモータの駆動制御装置の第1の実施の形態のブロック図である。1 is a block diagram of a first embodiment of a servo motor drive control device according to the present invention; FIG. サーボモータ駆動部を詳細に示す図である。It is a figure which shows a servomotor drive part in detail. 本発明によるサーボモータの駆動制御装置の第1の実施の形態の動作のフローチャートである。It is a flowchart of operation | movement of 1st Embodiment of the drive control apparatus of the servomotor by this invention. テーブルの円弧動作時の位置指令を説明するための図である。It is a figure for demonstrating the position command at the time of the circular arc motion of a table. 突起部を有する円弧を説明するための図である。It is a figure for demonstrating the circular arc which has a projection part. 復帰速度を算出した場合のテーブルの位置指令及び速度指令を説明するための図である。It is a figure for demonstrating the position command and speed command of a table at the time of calculating a return speed. 本発明によるサーボモータの駆動制御装置の第2の実施の形態のブロック図である。It is a block diagram of 2nd Embodiment of the drive control apparatus of the servomotor by this invention. 図7の形状指定部に入力される突起のパターンの例を示す図である。It is a figure which shows the example of the pattern of the protrusion input into the shape designation | designated part of FIG. 本発明によるサーボモータの駆動制御装置の第2の実施の形態の動作のフローチャートである。It is a flowchart of operation | movement of 2nd Embodiment of the drive control apparatus of the servomotor by this invention. サーボモータ駆動部の他の例を詳細に示す図である。It is a figure which shows the other example of a servomotor drive part in detail.

本発明によるサーボモータの駆動制御装置の実施の形態を、図面を参照しながら説明する。なお、図面中、同一構成要素には同一符号を付す。
図1は、本発明によるサーボモータの駆動制御装置の第1の実施の形態のブロック図である。サーボモータの駆動制御装置1は、図示しない工作機械のテーブルをX軸及びY軸の直交平面上で移動させる互いに直交したX軸方向の送り軸及びY軸方向の送り軸を駆動するサーボモータ2を駆動制御し、図示しないテーブルに対して円弧切削を繰り返し行う。このために、サーボモータの駆動制御装置1は、サーボモータ駆動部3と、学習コントローラ4と、データ生成部5と、停止時間算出部6と、復帰速度算出部7と、を有する。
Embodiments of a servo motor drive control apparatus according to the present invention will be described with reference to the drawings. In the drawings, the same components are denoted by the same reference numerals.
FIG. 1 is a block diagram of a first embodiment of a servo motor drive control apparatus according to the present invention. The servo motor drive control device 1 is a servo motor 2 that drives a feed axis in the X-axis direction and a feed axis in the Y-axis direction that are orthogonal to each other and moves a table of a machine tool (not shown) on a plane orthogonal to the X-axis and the Y-axis. Are controlled and arc cutting is repeatedly performed on a table (not shown). For this purpose, the servomotor drive control device 1 includes a servomotor drive unit 3, a learning controller 4, a data generation unit 5, a stop time calculation unit 6, and a return speed calculation unit 7.

サーボモータ駆動部3は、後に詳細に説明するように、図示しないテーブルに取り付けられた被加工物を図示しない工具によって円弧切削するために、サーボモータ2又は図示しないテーブルに対する位置指令とサーボモータ2又は図示しないテーブルの実際の位置との位置偏差に基づいて速度指令を求める。また、サーボモータ駆動部3は、後に詳細に説明するように、速度指令を所定周期ごとにサーボモータ2に出力することによって、サーボモータ2を駆動し、図示しないテーブルの円弧動作を繰り返し行わせる。   As will be described in detail later, the servo motor drive unit 3 is configured to cut a workpiece attached to a table (not shown) by a circular arc with a tool (not shown). Alternatively, a speed command is obtained based on a positional deviation from an actual position of a table (not shown). Further, as will be described in detail later, the servo motor drive unit 3 drives the servo motor 2 by outputting a speed command to the servo motor 2 at predetermined intervals, and repeatedly performs a circular arc operation of a table (not shown). .

学習コントローラ4は、後に詳細に説明するように、図示しないテーブルの円弧動作を行う際のX軸方向の送り軸とY軸方向の送り軸の一方の駆動方向の反転時の図示しないテーブルの移動の遅れを低減するために、速度指令の補正データを学習制御により求める学習制御部として機能する。   As will be described in detail later, the learning controller 4 moves the table (not shown) when reversing the drive direction of one of the feed axis in the X-axis direction and the feed axis in the Y-axis direction when performing an arc motion of the table (not shown). In order to reduce the delay, the learning control unit functions to obtain speed command correction data by learning control.

データ生成部5は、突起部を有する円弧の座標データを生成し、座標データを位置指令としてサーボモータ駆動部3に送り出す。なお、このような突起部は、図示しない被加工物の円弧切削時に図示しない被加工物の切削面に食い込みが生じなくなるように図示しないテーブルの円弧動作を行う際のX軸方向の送り軸とY軸方向の送り軸の一方の駆動方向の反転位置に対応して形成される。   The data generation unit 5 generates coordinate data of an arc having a protrusion, and sends the coordinate data to the servo motor drive unit 3 as a position command. In addition, such a protrusion is a feed axis in the X-axis direction when performing a circular motion of a table (not shown) so that the cutting surface of the workpiece (not shown) does not bite during arc cutting of the workpiece (not shown). It is formed corresponding to the reverse position of one drive direction of the feed axis in the Y-axis direction.

停止時間算出部6は、円弧半径r、円弧動作時の図示しないテーブルの接線速度F、及び、円弧の中心と突起部の先端部の間の距離と円弧半径rとの差d(以後、「突起量d」と称する。)が図示しない外部装置(例えば、コンピュータ)から入力され、これら円弧半径d、接線速度F及び突起量dに基づいて、X軸方向の送り軸とY軸方向の送り軸の一方の駆動方向の反転位置におけるX軸方向の送り軸とY軸方向の送り軸の一方の停止時間を算出する。また、停止時間算出部6は、算出した停止時間をデータ生成部5に出力し、データ生成部5は、円弧の座標データを生成する際に停止時間を用いる。   The stop time calculation unit 6 calculates the arc radius r, the tangential speed F of a table (not shown) during the arc operation, and the difference d between the arc radius and the distance between the center of the arc and the tip of the protrusion (hereinafter, “ Is input from an external device (not shown) (for example, a computer), and based on the arc radius d, tangential velocity F, and protrusion amount d, the feed axis in the X-axis direction and the feed in the Y-axis direction are input. The stop time of one of the feed axis in the X-axis direction and the feed axis in the Y-axis direction at the reversal position in one drive direction of the shaft is calculated. The stop time calculation unit 6 outputs the calculated stop time to the data generation unit 5, and the data generation unit 5 uses the stop time when generating the arc coordinate data.

移動速度算出部7は、停止時間が停止時間算出部6から入力され、X軸方向の送り軸とY軸方向の送り軸の一方の停止前と駆動再開後の図示しないテーブルの移動速度が連続するようにX軸方向の送り軸とY軸方向の送り軸の駆動再開後の図示しないテーブルの移動速度(復帰速度)を算出する。なお、テーブルの移動速度が連続であるとは、図示しないテーブルが円弧動作を行う間にテーブルの移動速度が増加する区間と減少する区間のうちのいずれか一方又はテーブルの移動速度が一定の区間が存在することを意味する。一方、テーブルの移動速度が不連続であるとは、図示しないテーブルが円弧動作を行う間にテーブルの移動速度が増加する区間と減少する区間の両方が存在ことを意味する。また、移動速度算出部7は、算出した移動速度をデータ生成部5に出力し、データ生成部5は、円弧の座標データを生成する際に図示しないテーブルの移動速度を用いる。   The movement speed calculation unit 7 receives the stop time from the stop time calculation unit 6, and the movement speed of a table (not shown) before the stop of one of the X-axis direction feed axis and the Y-axis direction feed axis and after the restart of driving continues. Thus, the moving speed (return speed) of the table (not shown) after the driving of the feed axis in the X axis direction and the feed axis in the Y axis direction is resumed. Note that the table moving speed is continuous means that either the section in which the table moving speed increases or the section in which the table moving speed increases or the table moving speed is constant while the table (not shown) performs an arc motion. Means that exists. On the other hand, the table moving speed being discontinuous means that there are both a section in which the moving speed of the table increases and a section in which the table moving speed decreases while the table (not shown) performs an arc motion. The movement speed calculation unit 7 outputs the calculated movement speed to the data generation unit 5, and the data generation unit 5 uses the movement speed of a table (not shown) when generating the arc coordinate data.

図2は、サーボモータ駆動部を詳細に示す図である。図2に示すように、サーボモータ駆動部3は、減算器8と、加算器9と、位置ループのポジションゲイン要素10と、積分要素11と、を有する。   FIG. 2 is a diagram showing the servo motor drive unit in detail. As shown in FIG. 2, the servo motor drive unit 3 includes a subtracter 8, an adder 9, a position gain element 10 of a position loop, and an integration element 11.

減算器8は、所定のサンプリング周期でデータ生成部5から送り出されるサーボモータ2又は図示しないテーブルに対する位置指令から、サーボモータ2又は図示しないテーブルの実際の位置のフィードバックを減算し、位置偏差を求める。また、学習コントローラ4は、求められた位置偏差を格納し、繰り返し指令される1周期前の位置偏差に基づいて補正量を求める。加算器9は、位置偏差と補正量とを加算し、補正された位置偏差を求める。位置ループのポジションゲイン要素10は、補正された位置偏差にポジションゲインKpを乗じて速度指令を求め、速度指令を所定周期ごとにサーボモータ2に出力することによって、サーボモータ2を駆動し、図示しないテーブルの円弧動作を繰り返し行わせる。積分要素11は、サーボモータ2に設けられた図示しない速度検出器からの速度フィードバックを積分し、サーボモータ2又は図示しないテーブルの実際の位置を求める。   The subtracter 8 subtracts the feedback of the actual position of the servo motor 2 or the table (not shown) from the position command for the servo motor 2 or the table (not shown) sent from the data generation unit 5 at a predetermined sampling period to obtain a position deviation. . Further, the learning controller 4 stores the obtained position deviation, and obtains a correction amount based on the position deviation one cycle before repeatedly commanded. The adder 9 adds the position deviation and the correction amount to obtain the corrected position deviation. The position gain element 10 of the position loop multiplies the corrected position deviation by the position gain Kp to obtain a speed command, and outputs the speed command to the servo motor 2 at predetermined intervals, thereby driving the servo motor 2. Do not repeat the arc movement of the table. The integrating element 11 integrates speed feedback from a speed detector (not shown) provided in the servo motor 2 to obtain an actual position of the servo motor 2 or a table (not shown).

学習コントローラ4は、同一形状を加工するために繰り返し指令される同一パターンの位置指令の1パターン周期間に所定周期ごとに求められる位置偏差に相当するデータを記憶する記憶部を有し、現在の周期で求められた位置偏差と1パターン周期前の位置偏差に基づいて記憶したデータとを加算し、フィルタ処理後に現在の周期のデータとして記憶する。また、学習コントローラ4は、1パターン周期前の記憶データを動特性補償処理して出力し、位置偏差に加算する。   The learning controller 4 has a storage unit that stores data corresponding to position deviations obtained every predetermined period during one pattern period of position commands of the same pattern repeatedly commanded to process the same shape, The position deviation obtained in the period and the data stored based on the position deviation one pattern period before are added and stored as data of the current period after the filter processing. In addition, the learning controller 4 outputs the storage data before one pattern period after performing dynamic characteristic compensation processing, and adds it to the position deviation.

象限突起が発生するような所定区間(この場合、円弧)を加工するために繰り返し指令される所定区間のパターンを、学習制御を行いながら複数回繰り返し実行すると、位置偏差は零に収束する。位置偏差が零に収束すると、学習コントローラ4により位置偏差が補正され、補正された位置偏差にポジションゲインKpが乗じられて求められた速度指令を速度指令の補正データとして取得する。この補正データは、高い精度を得るための速度指令とみなすことができる。この補正データを速度指令に加算して補正することは、フィードフォワードを適用することと同一効果が得られる。   When a pattern of a predetermined section that is repeatedly commanded to process a predetermined section (in this case, an arc) in which a quadrant protrusion is generated is repeatedly executed a plurality of times while performing learning control, the position deviation converges to zero. When the position deviation converges to zero, the position deviation is corrected by the learning controller 4, and a speed command obtained by multiplying the corrected position deviation by the position gain Kp is acquired as speed command correction data. This correction data can be regarded as a speed command for obtaining high accuracy. Correcting the correction data by adding it to the speed command has the same effect as applying feedforward.

フィードフォワードは、位置指令の微分値を速度指令に加算することによってポジションゲインによる位置制御の遅れを補償し、位置偏差を零に近づけることができるが、位置指令の微分値は、速度制御が十分な追従特性を持っている場合に限り理想的な速度指令となり、サーボモータ2に働くバックラッシの影響が強い場合には、サーボモータ2のX軸方向の送り軸とY軸方向の送り軸の一方の方向反転時に付加トルクが急激に変化するために十分な速度追従性が得られず、位置偏差すなわち象限突起が発生する。   Feed forward compensates for position control delay due to position gain by adding the differential value of the position command to the speed command and can bring the position deviation close to zero. However, the differential value of the position command is sufficient for speed control. Only when it has a proper tracking characteristic, it becomes an ideal speed command, and when the influence of backlash acting on the servo motor 2 is strong, one of the feed axis in the X-axis direction and the feed axis in the Y-axis direction of the servo motor 2 When the direction is reversed, the additional torque changes abruptly, so that sufficient speed followability cannot be obtained, and a position deviation, that is, a quadrant projection is generated.

学習制御を適用した場合には、速度制御が十分な追従特性を有し、かつ、象限突起を十分に抑えることができ、学習制御を適用して出力される指令速度は、通常のフィードフォワード制御より優れた実用上の理想的な速度指令とみなすことができる。このようにして取得した補正データは、理想的な速度指令に等しく、学習制御と同じタイミングで速度指令を補正データにより補正することによって、高い形状精度の加工ができ、被加工物の切削面に生じる象限突起を小さくすることができる。   When learning control is applied, the speed control has sufficient follow-up characteristics and quadrant protrusions can be sufficiently suppressed, and the command speed output by applying learning control is normal feedforward control. It can be regarded as a better practical ideal speed command. The correction data acquired in this way is equal to the ideal speed command, and by correcting the speed command with the correction data at the same timing as the learning control, machining with high shape accuracy can be performed, and the cutting surface of the workpiece can be processed. The resulting quadrant projections can be reduced.

図3は、本発明によるサーボモータの駆動制御装置の第1の実施の形態の動作のフローチャートである。図3に示す処理フローは、図示しないメモリに格納された制御プログラムをサーボモータの駆動制御装置1の各構成要素が実行することによって行われる。   FIG. 3 is a flowchart of the operation of the servo motor drive control apparatus according to the first embodiment of the present invention. The processing flow shown in FIG. 3 is performed by each component of the servo motor drive control device 1 executing a control program stored in a memory (not shown).

先ず、ステップS1において、休止時間算出部6は、円弧半径r、接線速度F及び突起量dを、図示しない外部装置(例えば、コンピュータ)から取得する。次に、ステップS2において、突起量dに応じた停止時間t0を算出する。   First, in step S1, the downtime calculation unit 6 acquires the arc radius r, the tangential velocity F, and the protrusion amount d from an external device (for example, a computer) (not shown). Next, in step S2, a stop time t0 corresponding to the projection amount d is calculated.

図4は、テーブルの円弧動作時の位置指令を説明するための図である。図4において、縦軸にX軸又はY軸方向の位置をプロットし、横軸に時間をプロットする。正弦波aは、X軸方向の位置指令に対応し、正弦波bは、Y軸方向の位置指令に対応する。時間0から時間Tまでサーボモータ2のX軸方向の送り軸とY軸方向の送り軸を駆動することによって、図示しないテーブルは、円弧中心を原点として(−r、0)から(0,r)までの真円弧区間及び(0,r)から(r,0)までの真円弧区間に沿って円弧動作を行う。   FIG. 4 is a diagram for explaining a position command at the time of a circular arc operation of the table. In FIG. 4, the position in the X-axis or Y-axis direction is plotted on the vertical axis, and the time is plotted on the horizontal axis. The sine wave a corresponds to a position command in the X-axis direction, and the sine wave b corresponds to a position command in the Y-axis direction. By driving the feed axis in the X-axis direction and the feed axis in the Y-axis direction of the servo motor 2 from time 0 to time T, the table (not shown) has an arc center as the origin and (−r, 0) to (0, r The arc motion is performed along the true arc section from (0, r) to (r, 0).

図5は、突起部を有する円弧を説明するための図である。図5において、縦軸に図示しないテーブルのY軸方向の位置をプロットし、横軸に図示しないテーブルのX軸方向の位置をプロットする。図示しないテーブルが円弧中心を原点として(−r、0)から(0、r)までの真円弧区間に沿って円弧動作を行う場合、図5の点P1と点P2との間の円弧のX軸方向の位置は、図4の正弦波aの点X1と点X2との間の曲線に対応し、図5の点P1と点P2との間の円弧のY軸方向の位置は、図4の正弦波bの点Y1と点Y2との間の曲線に対応する。また、図示しないテーブルが円弧中心を原点として(0,r)から(r,0)までの真円弧区間に沿って円弧動作を行う場合、図5の点P2と点P3との間の円弧のX軸方向の位置は、図4の正弦波aの点X2と点X3との間の曲線に対応し、図5の点P2と点P3との間の円弧のY軸方向の位置は、図4の正弦波bの点Y2と点Y3との間の曲線に対応する。   FIG. 5 is a diagram for explaining an arc having a protrusion. In FIG. 5, the position of the table (not shown) in the Y-axis direction is plotted on the vertical axis, and the position of the table (not shown) in the X-axis direction is plotted on the horizontal axis. When a table (not shown) performs an arc motion along a true arc section from (−r, 0) to (0, r) with the arc center as the origin, X of the arc between points P1 and P2 in FIG. The position in the axial direction corresponds to the curve between the point X1 and the point X2 of the sine wave a in FIG. 4, and the position in the Y-axis direction of the arc between the point P1 and the point P2 in FIG. Corresponds to the curve between the points Y1 and Y2 of the sine wave b. When a table (not shown) performs an arc motion along a true arc section from (0, r) to (r, 0) with the arc center as the origin, the arc between the points P2 and P3 in FIG. The position in the X-axis direction corresponds to the curve between the point X2 and the point X3 of the sine wave a in FIG. 4, and the position in the Y-axis direction of the arc between the point P2 and the point P3 in FIG. 4 corresponds to the curve between the point Y2 and the point Y3 of the sine wave b.

本実施の形態では、図示しない被加工物の円弧切削時に図示しない被加工物の切削面に食い込みが生じなくなるように、図示しないテーブルの円弧動作を行う際のY軸方向の送り軸の駆動方向の反転位置に対応して突起部が形成される。図5において、突起部は、点P2と点Q1との間の直線、点Q1と点Q2との間の直線又は曲線及び点P2と点Q2との間の円弧によって包囲された部分となり、突起量dを有する。   In the present embodiment, the drive direction of the feed axis in the Y-axis direction when performing the arc motion of the table (not shown) so that the cutting surface of the workpiece (not shown) does not bite during arc cutting of the workpiece (not shown). Projections are formed corresponding to the inverted positions. In FIG. 5, the protruding portion is a portion surrounded by a straight line between the point P2 and the point Q1, a straight line or a curve between the point Q1 and the point Q2, and an arc between the point P2 and the point Q2. Has the quantity d.

円弧運動を行う図示しないテーブルの角速度をωとした場合、接線速度F、半径r及び角速度ωとの間にはF=r・ωの関係式が成立する。また、図示しないテーブルの円弧動作を行う際のY軸方向の送り軸の駆動方向の反転位置に対応する点P2において、Y軸方向の送り軸をt0秒間停止させた場合、(r+d)2=r2+(r・sinωt0)2の関係式が成立する。この式をt0について解くことによって、突起量dに対する停止時間t0を求めることができる。 When the angular velocity of a table (not shown) that performs an arc motion is ω, the relational expression F = r · ω is established among the tangential velocity F, the radius r, and the angular velocity ω. Further, when the feed axis in the Y-axis direction is stopped for t0 seconds at the point P2 corresponding to the reversal position in the drive direction of the feed axis in the Y-axis direction when performing the arc motion of the table (not shown), (r + d) 2 = The relational expression r 2 + (r · sin ωt 0) 2 is established. By solving this equation for t0, the stop time t0 with respect to the protrusion amount d can be obtained.

次に、ステップS3において、移動速度算出部7は、復帰速度Vを算出する。ここで、図5に示すように、図示しないテーブルが、先ず、点P1と点P2との間で円弧運動を行い、次に、点P2と点Q1との間で直線運動を行い、次に、点Q1と点Q2との間で直線運動又は曲線運動を行い、最後に点Q2と点P3との間で円弧運動を行う場合について説明する。   Next, in step S3, the moving speed calculation unit 7 calculates the return speed V. Here, as shown in FIG. 5, a table (not shown) first performs an arc motion between the points P1 and P2, then performs a linear motion between the points P2 and Q1, and then A case where a linear motion or a curved motion is performed between the points Q1 and Q2 and an arc motion is finally performed between the points Q2 and P3 will be described.

図6Aは、復帰速度を算出した場合のテーブルの位置指令を説明するための図である。図6Aにおいて、縦軸にY軸方向の位置をプロットし、横軸に時間をプロットする。曲線cは、Y軸方向の位置指令に対応する。図6Aにおいて、点Y1,Y2,Y3,Y4,Y5は、図5の点P1,P2,P3,Q1,Q2のY座標にそれぞれ対応する。なお、曲線cは、時間をtとした場合、点Y2と点Y4との間及び点Y4と点Y5との間を除いてrsinωtで表される。   FIG. 6A is a diagram for explaining a table position command when the return speed is calculated. In FIG. 6A, the vertical axis plots the position in the Y-axis direction, and the horizontal axis plots time. A curve c corresponds to a position command in the Y-axis direction. In FIG. 6A, points Y1, Y2, Y3, Y4, Y5 correspond to the Y coordinates of points P1, P2, P3, Q1, Q2 in FIG. Note that the curve c is expressed by rsin ωt except for a point between the point Y2 and the point Y4 and a point Y4 and the point Y5 when the time is t.

図6Bは、復帰速度を算出した場合のテーブルの速度指令を説明するための図である。図6Bにおいて、縦軸にY軸方向の速度をプロットし、横軸に時間をプロットする。曲線dは、Y軸方向の速度指令に対応する。図6Bにおいて、点dY1,dY2,DY3,DY41,dY42,DY5は、図5の点P1,P2,P3,Q1,Q1,Q2にそれぞれ対応する。なお、曲線dは、時間をtとした場合、点dY2と点dY41との間、点dY41と点dY42との間及び点dY42と点dY5との間を除いてrωcosωtで表される。   FIG. 6B is a diagram for explaining a table speed command when the return speed is calculated. In FIG. 6B, the speed in the Y-axis direction is plotted on the vertical axis, and the time is plotted on the horizontal axis. Curve d corresponds to a speed command in the Y-axis direction. In FIG. 6B, points dY1, dY2, DY3, DY41, dY42, DY5 correspond to points P1, P2, P3, Q1, Q1, Q2 in FIG. Note that the curve d is expressed by rωcosωt except for a point between the points dY2 and dY41, a point dY41 and the point dY42, and a point dY42 and the point dY5, where time is t.

点Y5における時間t1における速度指令が連続となるようにするためには、曲線cが点Y5において連続するようにすればよいので、点Y4と点Y5との間の直線部分と点Y5と点Y3との境界点Y5における微分係数が一致するように速度Vを決定する。   In order for the speed command at time t1 at point Y5 to be continuous, the curve c only has to be continuous at point Y5, so the straight line between point Y4 and point Y5, point Y5 and point The speed V is determined so that the differential coefficient at the boundary point Y5 with Y3 matches.

点Y5における接線は、y−rsinωt1=rωcosωt1(t−t1)の関係式で表される。この接線は点Y4を通るので、y=r及びt=π/2ω+t0をこの関係式に代入すると、r−rsinωt1=rωcosωt1(π/2ω+t0−t1)すなわち1−sinωt1=ωcosωt1(π/2ω+t0−t1)の関係式が成立する。この関係式をt1について解き、速度V=rωcosωt1とすることによって、点dY5における速度指令が連続となる。   The tangent at the point Y5 is represented by the relational expression y-rsin ωt1 = rωcos ωt1 (t−t1). Since this tangent line passes through the point Y4, if y = r and t = π / 2ω + t0 are substituted into this relational expression, r−rsinωt1 = rωcosωt1 (π / 2ω + t0−t1), that is, 1−sinωt1 = ωcosωt1 (π / 2ω + t0−t1) ) Is established. By solving this relational expression for t1 and setting the speed V = rωcosωt1, the speed command at the point dY5 becomes continuous.

次に、ステップS4において、データ生成部5は、突起部を有する円弧の座標データを、停止時間t0及び復帰速度Vを用いて生成し、座標データを位置指令としてサーボモータ駆動部3に送り出す。   Next, in step S4, the data generation unit 5 generates the coordinate data of the arc having the projection using the stop time t0 and the return speed V, and sends the coordinate data to the servo motor drive unit 3 as a position command.

次に、ステップ5において、サーボモータ駆動部3は、図示しないカウンタの値Cを零にし、ステップS6において、サーボモータ駆動部3は、生成した位置指令とサーボモータ2又は図示しないテーブルの実際の位置との位置偏差に基づいて速度指令を求め、速度指令を所定周期ごとにサーボモータ2に出力することによって、サーボモータ2を駆動し、図示しないテーブルの円弧動作を行わせる。   Next, in step 5, the servo motor drive unit 3 sets the value C of a counter (not shown) to zero, and in step S6, the servo motor drive unit 3 detects the generated position command and the actual value of the servo motor 2 or a table (not shown). A speed command is obtained based on a position deviation from the position, and the speed command is output to the servo motor 2 at predetermined intervals, thereby driving the servo motor 2 to perform a circular motion of a table (not shown).

次に、ステップS7において、サーボモータ駆動部3は、図示しないカウンタの値Cが円弧動作の繰返回数に到達したか否か判断する。繰返回数に到達していない場合、ステップS8において、サーボモータ駆動部3は、図示しないカウンタの値Cを1増分し、ステップS6に戻る。それに対し、繰返回数に到達した場合、ステップS9において、学習コントローラ4は、補正データを算出し、本ルーチンを終了する。なお、ステップS9で学習コントローラ4によって算出された補正データは、サーボモータ2を駆動するために速度指令値としてサーボモータ2に出力される。   Next, in step S7, the servo motor drive unit 3 determines whether or not a counter value C (not shown) has reached the number of repetitions of the arc motion. If the number of repetitions has not been reached, the servo motor drive unit 3 increments the value C of a counter (not shown) by 1 in step S8, and returns to step S6. On the other hand, when the number of repetitions has been reached, in step S9, the learning controller 4 calculates correction data and ends this routine. The correction data calculated by the learning controller 4 in step S9 is output to the servo motor 2 as a speed command value for driving the servo motor 2.

ステップS4で生成される位置指令、すなわち、突起部を有する円弧形状に対応する位置指令は、真円弧すなわち突起部を有しない円弧の座標データを用いて生成される位置指令とは異なる。また、ステップS9で学習コントローラ4によって算出された補正データは、突起部を有しない円弧の座標データを用いて生成される位置指令に基づいて算出された補正データよりも補正量が小さくなる。したがって、ステップS6で行われる円弧動作の軌跡は、被加工物の円弧切削時に被加工物の切削面に食い込みが生じなくなるような突起部を有する円弧の軌跡となる。   The position command generated in step S4, that is, the position command corresponding to the arc shape having the protruding portion is different from the position command generated using the coordinate data of the true arc, that is, the arc having no protruding portion. In addition, the correction data calculated by the learning controller 4 in step S9 has a correction amount smaller than the correction data calculated based on the position command generated using the coordinate data of the arc having no protrusion. Therefore, the trajectory of the arc motion performed in step S6 is an arc trajectory having a protrusion that prevents the cutting surface of the workpiece from biting during the arc cutting of the workpiece.

本実施の形態によれば、被加工物の円弧切削時に被加工物の切削面に食い込みが生じなくなるように図示しないテーブルの円弧動作を行う際のY軸方向の送り軸駆動方向の反転位置に対応して形成された突起部を有する円弧の座標データを生成し、座標データを位置指令としてサーボモータ駆動部3に送り出す。このように突起部を有する円弧の座標データを生成することによって、図示しないテーブルの移動の軌跡は、円弧に近い軌跡ではなく、被加工物の円弧切削時に被加工物の切削面に食い込みが生じなくなるように形成された突起部を有する円弧の軌跡となる。したがって、象限突起を小さくするために速度指令の補正データの学習制御を行いながら被加工物を円弧切削する際に被加工物の切削面に食い込みが生じないようにすることができる。   According to the present embodiment, at the reversal position of the feed axis drive direction in the Y axis direction when performing the arc motion of the table (not shown) so that the cutting surface of the workpiece does not bite during the arc cutting of the workpiece. Coordinate data of an arc having a correspondingly formed protrusion is generated, and the coordinate data is sent to the servo motor drive unit 3 as a position command. By generating the coordinate data of the arc having the protrusions in this way, the movement trajectory of the table (not shown) is not a trajectory close to the arc, and the cutting surface of the work piece is bitten during the arc cutting of the work piece. The locus of a circular arc having a protrusion formed so as to disappear. Therefore, it is possible to prevent the cutting surface of the workpiece from biting when performing circular arc cutting of the workpiece while performing learning control of the correction data of the speed command in order to reduce the quadrant projection.

図7は、本発明によるサーボモータの駆動制御装置の第2の実施の形態のブロック図である。図7において、サーボモータの駆動制御装置21は、サーボモータ駆動部3と、学習コントローラ4と、データ生成部22と、形状指定部23と、を有する。サーボモータ駆動部3及び学習コントローラ4は、図1に示した第1の実施の形態のサーボモータの駆動制御装置1のサーボモータ駆動部3及び学習コントローラ4と同一構成を有するので、これらの説明を省略する。   FIG. 7 is a block diagram of a second embodiment of a servo motor drive control apparatus according to the present invention. In FIG. 7, the servo motor drive control device 21 includes a servo motor drive unit 3, a learning controller 4, a data generation unit 22, and a shape designation unit 23. The servo motor drive unit 3 and the learning controller 4 have the same configuration as the servo motor drive unit 3 and the learning controller 4 of the servo motor drive control device 1 according to the first embodiment shown in FIG. Is omitted.

データ生成部22は、停止時間及び復帰速度が入力される代わりに半径r、接線速度F及び突起部の形状のデータが入力され、これら半径r、接線速度F及び突起部の形状のデータを用いて円弧の座標データを生成する。   The data generation unit 22 receives radius r, tangential velocity F, and projection shape data instead of the stop time and return velocity, and uses the radius r, tangential velocity F, and projection shape data. To generate arc coordinate data.

形状指定部23は、突起量d及び突起のパターンが入力され、突起量d及び突起のパターンに基づいて突起部の形状を指定し、突起部の形状のデータをデータ生成部22に出力する。突起のパターンを、例えば、図8Aに示すような三角波形状又は図8Bに示すような方形波形状とすることができる。   The shape designation unit 23 receives the projection amount d and the projection pattern, designates the projection shape based on the projection amount d and the projection pattern, and outputs the projection shape data to the data generation unit 22. The pattern of protrusions can be, for example, a triangular wave shape as shown in FIG. 8A or a square wave shape as shown in FIG. 8B.

図9は、本発明によるサーボモータの駆動制御装置の第2の実施の形態の動作のフローチャートである。図2に示す処理フローは、図示しないメモリに格納された制御プログラムをサーボモータの駆動制御装置21の各構成要素が実行することによって行われる。   FIG. 9 is a flowchart of the operation of the second embodiment of the servo motor drive control apparatus according to the present invention. The processing flow shown in FIG. 2 is performed by each component of the servo motor drive control device 21 executing a control program stored in a memory (not shown).

この場合、ステップS2で停止時間を算出した後、ステップS11において、形状指定部23は、突起量d及び突起のパターンに基づいて突起部の形状を指定し、突起部の形状のデータをデータ生成部22に出力し、次に、ステップS12において、データ生成部22は、半径r、接線速度F及び突起部の形状のデータを用いて円弧の座標データを生成し、ステップS5に進む。   In this case, after calculating the stop time in step S2, in step S11, the shape designating unit 23 designates the shape of the projection based on the projection amount d and the pattern of the projection, and generates data on the shape of the projection. Next, in step S12, the data generation unit 22 generates arc coordinate data using the radius r, the tangential velocity F, and the projection shape data, and the process proceeds to step S5.

本実施の形態のように半径r、接線速度F及び突起部の形状のデータを用いて円弧の座標データを生成した場合でも、象限突起を小さくするために速度指令の補正データの学習制御を行いながら被加工物を円弧切削する際に被加工物の切削面に食い込みが生じないようにすることができる。   Even when the coordinate data of the arc is generated using the data of the radius r, the tangential velocity F, and the shape of the protrusion as in the present embodiment, learning control of the correction data of the speed command is performed in order to reduce the quadrant protrusion. However, it is possible to prevent the cut surface of the workpiece from biting when the workpiece is subjected to arc cutting.

本発明は、上記実施の形態に限定されるものではなく、幾多の変更及び変形が可能である。例えば、上記実施の形態において、被加工物を円弧切削する場合について説明したが、円切削の場合にも本発明を適用することができる。   The present invention is not limited to the above-described embodiment, and many changes and modifications can be made. For example, in the above embodiment, the case where the workpiece is subjected to arc cutting has been described, but the present invention can also be applied to the case of circular cutting.

また、上記実施の形態において、テーブルを移動させる互いに直交した二つの送り軸を有するサーボモータを駆動する場合について説明したが、テーブルの代わりに工具を移動させてもよく、三つ以上の送り軸を有する場合にも本発明を適用することができる。   Further, in the above embodiment, the case where the servo motor having two feed axes orthogonal to each other for moving the table has been described, but the tool may be moved instead of the table, and three or more feed axes may be used. The present invention can also be applied to cases where

また、図1に示すサーボモータの駆動制御装置1の停止時間算出部6及び移動速度算出部7を省略し、半径r、接線速度F及び突起量dをデータ生成部5に直接入力した場合でも、象限突起を小さくするために速度指令の補正データの学習制御を行いながら被加工物を円弧切削する際に被加工物の切削面に食い込みが生じないようにすることができる。   Further, even when the stop time calculation unit 6 and the movement speed calculation unit 7 of the drive control apparatus 1 for the servo motor shown in FIG. 1 are omitted, the radius r, the tangential speed F, and the protrusion amount d are directly input to the data generation unit 5. The cutting surface of the workpiece can be prevented from biting when the workpiece is circularly cut while performing learning control of the correction data of the speed command in order to reduce the quadrant projection.

また、上記実施の形態において、Y軸方向の送り軸の駆動方向を反転する場合について説明したが、X軸方向の送り軸の駆動方向を反転する場合にも本発明を適用することができる。   In the above embodiment, the case where the drive direction of the feed axis in the Y-axis direction is reversed has been described. However, the present invention can also be applied to the case where the drive direction of the feed axis in the X-axis direction is reversed.

さらに、上記実施の形態において、速度指令をサーボモータ2に出力する場合について説明したが、速度指令の代わりにトルク指令をサーボモータ2に出力することもできる。図10は、サーボモータ駆動部の他の例を詳細に示す図である。図10において、サーボモータ駆動部31は、図1又は図7のサーボモータ駆動部3の代わりに用いられ、減算器8と、加算器9と、位置ループのポジションゲイン要素10と、積分要素11と、減算器12と、速度コントローラ13と、を有する。減算器8、加算器9、位置ループのポジションゲイン要素10及び積分要素11は、図2に示すサーボモータ駆動部3の減算器8、加算器9、位置ループのポジションゲイン要素10及び積分要素11と同一構成を有するので、これらの説明を省略する。   Furthermore, although the case where the speed command is output to the servo motor 2 has been described in the above embodiment, a torque command can be output to the servo motor 2 instead of the speed command. FIG. 10 is a diagram illustrating another example of the servo motor drive unit in detail. In FIG. 10, a servo motor drive unit 31 is used instead of the servo motor drive unit 3 of FIG. 1 or FIG. 7, and a subtracter 8, an adder 9, a position gain element 10 of a position loop, and an integration element 11 And a subtractor 12 and a speed controller 13. The subtractor 8, the adder 9, the position gain element 10 and the integration element 11 of the position loop are the subtracter 8, the adder 9, the position gain element 10 and the integration element 11 of the servo motor driving unit 3 shown in FIG. Since they have the same configuration as those in FIG.

減算器12は、位置ループのポジションゲイン要素10からの速度指令から、サーボモータ2に設けられた図示しない速度検出器からの速度フィードバックを減算して速度偏差を求める。   The subtracter 12 subtracts a speed feedback from a speed detector (not shown) provided in the servo motor 2 from the speed command from the position gain element 10 of the position loop to obtain a speed deviation.

速度コントローラ13は、速度偏差に対してPI(比例積分)制御等を行ってトルク指令を求め、サーボモータ2に出力する。このようにサーボモータ2に出力されたトルク指令は、トルク指令の補正データとしても使用される。   The speed controller 13 performs PI (proportional integration) control or the like on the speed deviation to obtain a torque command and outputs it to the servo motor 2. The torque command output to the servo motor 2 in this manner is also used as torque command correction data.

1,21 サーボモータの駆動制御装置
2 サーボモータ
3,31 サーボモータ駆動部
4 学習コントローラ
5,22 データ生成部
6 停止時間算出部
7 移動速度算出部
8,12 減算器
9 加算器
10 位置ループのポジションゲイン要素
11 積分要素
13 速度コントローラ
23 形状指定部
1, 21 Servo motor drive control device 2 Servo motor 3, 31 Servo motor drive unit 4 Learning controller 5, 22 Data generation unit 6 Stop time calculation unit 7 Movement speed calculation unit 8, 12 Subtractor 9 Adder 10 Position loop Position gain element 11 Integration element 13 Speed controller 23 Shape specification part

Claims (4)

工作機械のテーブル又は工具を移動させる互いに直交した少なくとも二つの送り軸を有するサーボモータの駆動制御装置において、
前記テーブルに取り付けられた被加工物を前記工具によって円又は円弧切削するために、前記サーボモータ、前記テーブル又は前記工具に対する位置指令と前記サーボモータ、前記テーブル又は前記工具の実際の位置との位置偏差に基づいて速度指令又はトルク指令を求め、前記速度指令又は前記トルク指令を所定周期ごとに前記サーボモータに出力することによって、前記サーボモータを駆動して前記テーブル又は前記工具の円又は円弧動作を繰り返し行わせるサーボモータ駆動部と、
前記テーブル又は前記工具の円又は円弧動作を行う際の前記少なくとも二つの送り軸の一つの駆動方向の反転時の前記テーブル又は前記工具の移動の遅れを低減するために、前記速度指令又は前記トルク指令の補正データを学習制御により求める学習制御部と、
前記被加工物の円又は円弧切削時に前記被加工物の切削面に食い込みが生じなくなるように前記テーブル又は前記工具の円又は円弧動作を行う際の前記少なくとも二つの送り軸の一つの駆動方向の反転位置に対応して形成された突起部を有する円又は円弧の座標データを生成し、前記座標データを前記位置指令として前記サーボモータ駆動部に送り出すデータ生成部と、
を有することを特徴とするサーボモータの駆動制御装置。
In a drive control device for a servo motor having at least two feed axes orthogonal to each other for moving a table or tool of a machine tool,
The position of the servo motor, the table or the tool and the actual position of the servo motor, the table or the tool to cut the workpiece attached to the table with the tool. A speed command or a torque command is obtained based on the deviation, and the speed command or the torque command is output to the servo motor at predetermined intervals to drive the servo motor to perform a circular or arc motion of the table or the tool. Servo motor drive unit that repeatedly performs,
In order to reduce the movement delay of the table or the tool when reversing the driving direction of one of the at least two feed axes when performing the circular or arc motion of the table or the tool, the speed command or the torque A learning control unit for obtaining correction data of the command by learning control;
One of the at least two feed axes in the drive direction of the table or the tool when performing a circle or arc movement of the table or the tool so that the cutting surface of the workpiece does not bite during the circle or arc cutting of the workpiece. A data generation unit that generates coordinate data of a circle or an arc having a protrusion formed corresponding to the reversal position, and sends the coordinate data to the servo motor drive unit as the position command;
A drive control device for a servo motor, comprising:
円又は円弧半径、前記円又は円弧動作時の前記テーブル又は前記工具の接線速度、及び、前記円又は円弧の中心と前記突起部の先端部の間の距離と円又は円弧半径との差に基づいて、前記少なくとも二つの送り軸の一つの駆動方向の反転位置における前記少なくとも二つの送り軸の一つの停止時間を算出する停止時間算出部を更に有し、前記データ生成部は、前記少なくとも二つの送り軸の一つの停止時間を用いて前記円又は円弧の座標データを生成する請求項1に記載のサーボモータの駆動制御装置。   Based on the circle or arc radius, the tangential speed of the table or the tool during the circle or arc motion, and the difference between the circle or arc radius and the distance between the center of the circle or arc and the tip of the protrusion A stop time calculating unit that calculates a stop time of one of the at least two feed axes at a reversal position in one drive direction of the at least two feed axes, and the data generation unit includes the at least two The servo motor drive control device according to claim 1, wherein coordinate data of the circle or arc is generated using one stop time of the feed shaft. 前記少なくとも二つの送り軸の一つの停止時間に基づいて、前記少なくとも二つの送り軸の一つの停止前と駆動再開後の前記テーブル又は前記工具の移動速度が連続するように前記少なくとも二つの送り軸の一つの駆動再開後の前記テーブル又は前記工具の移動速度を算出する移動速度算出部を更に有し、前記データ生成部は、前記少なくとも二つの送り軸の一つの駆動再開後の前記テーブル又は前記工具の移動速度を用いて前記円又は円弧の座標データを生成する請求項2に記載のサーボモータの駆動制御装置。   Based on one stop time of the at least two feed axes, the at least two feed axes so that the moving speed of the table or the tool before the stop of one of the at least two feed axes and after the restart of driving is continuous. And a movement speed calculation unit for calculating a movement speed of the table or the tool after resumption of driving, and the data generation unit includes the table or the table after resumption of driving of one of the at least two feed axes. The servomotor drive control device according to claim 2, wherein coordinate data of the circle or arc is generated using a moving speed of a tool. 円又は円弧半径、前記円又は円弧動作時の前記テーブル又は前記工具の接線速度、前記円又は円弧の中心と前記突起部の先端部の間の距離と円又は円弧半径との差、及び、前記突起部のパターンに基づいて、前記突起部の形状を指定する形状指定部を更に有し、前記データ生成部は、前記突起部の形状を用いて前記円又は円弧の座標データを生成する請求項1に記載のサーボモータの駆動制御装置。   A circle or arc radius, a tangential speed of the table or the tool during the circle or arc motion, a difference between the center of the circle or arc and the tip of the protrusion and the circle or arc radius, and A shape designating unit for designating a shape of the projection based on a pattern of the projection, and the data generation unit generates coordinate data of the circle or arc using the shape of the projection. The drive control apparatus of the servomotor of 1.
JP2010260406A 2010-11-22 2010-11-22 Drive control apparatus for servo motor having at least two feed axes orthogonal to each other for moving table or tool of machine tool Active JP4927985B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010260406A JP4927985B1 (en) 2010-11-22 2010-11-22 Drive control apparatus for servo motor having at least two feed axes orthogonal to each other for moving table or tool of machine tool
CN 201110273923 CN102478810B (en) 2010-11-22 2011-09-07 Drive control apparatus for servo motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010260406A JP4927985B1 (en) 2010-11-22 2010-11-22 Drive control apparatus for servo motor having at least two feed axes orthogonal to each other for moving table or tool of machine tool

Publications (2)

Publication Number Publication Date
JP4927985B1 JP4927985B1 (en) 2012-05-09
JP2012113430A true JP2012113430A (en) 2012-06-14

Family

ID=46091488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010260406A Active JP4927985B1 (en) 2010-11-22 2010-11-22 Drive control apparatus for servo motor having at least two feed axes orthogonal to each other for moving table or tool of machine tool

Country Status (2)

Country Link
JP (1) JP4927985B1 (en)
CN (1) CN102478810B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015100877A (en) * 2013-11-25 2015-06-04 キヤノン株式会社 Robot control method, and robot control device
WO2022124150A1 (en) * 2020-12-08 2022-06-16 スター精密株式会社 Machine tool

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6034835B2 (en) * 2014-08-26 2016-11-30 ファナック株式会社 Numerical control device for presenting information for shortening cycle time
TWI558495B (en) * 2014-11-12 2016-11-21 財團法人工業技術研究院 Machining assistance method and the apparatus using the same
JP6469065B2 (en) 2016-10-28 2019-02-13 ファナック株式会社 Machine learning device and machining time prediction device
DE112016007507T5 (en) * 2016-12-08 2019-09-05 Mitsubishi Electric Corporation NUMERICAL CONTROL DEVICE
TWI717985B (en) 2020-01-30 2021-02-01 財團法人工業技術研究院 Machine tool adjustment method and system thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0239574A (en) * 1988-07-29 1990-02-08 Nippon Denso Co Ltd Semiconductor pressure sensor
JPH1063325A (en) * 1996-08-21 1998-03-06 Toshiba Mach Co Ltd Servomotor control method
JP2008080434A (en) * 2006-09-27 2008-04-10 Hitachi Via Mechanics Ltd Method and machine for processing printed board

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004227163A (en) * 2003-01-21 2004-08-12 Fanuc Ltd Servo control device
JP3805309B2 (en) * 2003-01-30 2006-08-02 ファナック株式会社 Servo motor drive control device
JP2005327191A (en) * 2004-05-17 2005-11-24 Fanuc Ltd Servo control device
JP4174543B2 (en) * 2007-01-29 2008-11-05 ファナック株式会社 Servo motor control device
JP4741637B2 (en) * 2008-06-30 2011-08-03 ファナック株式会社 Servo motor drive control device and drive control method
JP4620148B2 (en) * 2008-10-15 2011-01-26 ファナック株式会社 Servo motor control device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0239574A (en) * 1988-07-29 1990-02-08 Nippon Denso Co Ltd Semiconductor pressure sensor
JPH1063325A (en) * 1996-08-21 1998-03-06 Toshiba Mach Co Ltd Servomotor control method
JP2008080434A (en) * 2006-09-27 2008-04-10 Hitachi Via Mechanics Ltd Method and machine for processing printed board

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015100877A (en) * 2013-11-25 2015-06-04 キヤノン株式会社 Robot control method, and robot control device
WO2022124150A1 (en) * 2020-12-08 2022-06-16 スター精密株式会社 Machine tool

Also Published As

Publication number Publication date
CN102478810B (en) 2013-10-30
JP4927985B1 (en) 2012-05-09
CN102478810A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
JP4927985B1 (en) Drive control apparatus for servo motor having at least two feed axes orthogonal to each other for moving table or tool of machine tool
JP4980453B2 (en) Servo control system for high-precision machining
JP5762625B2 (en) Trajectory control device
TWI558089B (en) Synchronous control system for multi-axis motors and method thereof
JP5628940B2 (en) Motor controller for correcting backlash
JP2004280772A (en) Servo motor drive control device
US10471563B2 (en) Control device for machine tool performing oscillation cutting
KR101269272B1 (en) Motor control device
JP2017182336A (en) Servo controller, control method, and computer program for oscillation-cutting machine tool
JP2015134400A (en) Spindle motor control device
JP2019008472A (en) Machine learning device, servo control device, servo control system, and machine learning method
JPH0549284A (en) Method of controlling speed of synchronous type ac servo-motor
JP5221735B2 (en) Motor control device with deadband processing section
JP5919346B2 (en) Motor controller for correcting inter-axis interference
US20180307196A1 (en) Control device for machine tool performing oscillation cutting
US10452051B2 (en) Numerical control device
JP2020163486A (en) Servo control device
JP2005094964A (en) Motor control device and method therefor
JP2019136841A (en) Robot system and control method of the same performing learning control based on processing result
CN107645979B (en) Robot system for synchronizing the movement of a robot arm
JP2018112972A (en) Servo motor control apparatus, servo motor control method, and servo motor control program
JP2018041333A (en) Servo motor control device, servo motor control method, and program for servo motor control
JP2008217405A (en) Actuator control device and actuator control method
WO2018142868A1 (en) Position control device and method
JP7381270B2 (en) Servo motor control device

Legal Events

Date Code Title Description
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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120209

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

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4927985

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150