JP7062917B2 - Numerical control device and speed control method - Google Patents

Numerical control device and speed control method Download PDF

Info

Publication number
JP7062917B2
JP7062917B2 JP2017208789A JP2017208789A JP7062917B2 JP 7062917 B2 JP7062917 B2 JP 7062917B2 JP 2017208789 A JP2017208789 A JP 2017208789A JP 2017208789 A JP2017208789 A JP 2017208789A JP 7062917 B2 JP7062917 B2 JP 7062917B2
Authority
JP
Japan
Prior art keywords
constant speed
acceleration
speed section
speed
section
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.)
Active
Application number
JP2017208789A
Other languages
Japanese (ja)
Other versions
JP2019082774A (en
Inventor
友哉 石川
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 JP2017208789A priority Critical patent/JP7062917B2/en
Priority to CN201811277357.9A priority patent/CN109725605B/en
Publication of JP2019082774A publication Critical patent/JP2019082774A/en
Application granted granted Critical
Publication of JP7062917B2 publication Critical patent/JP7062917B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本発明は、数値制御装置と速度制御方法に関する。 The present invention relates to a numerical control device and a speed control method.

特許文献1に記載の数値制御装置は、送り方向が同一で早送りから切削送りに移行する場合、早送りの指令終点位置での送り速度が指令された切削送り速度となる様に減速を行う。数値制御装置は、送り方向が同一で切削速度から早送りに移行する場合、切削送りの指令終点位置まで指令された切削送り速度で送り、切削送りの指令終点位置から早送り速度に加速する。この様な速度制御方法は、補間前加減速と呼ばれている。つまり、補間前加減速は、予め設定された加減速曲線に従って速度の制御を行っている。 The numerical control device described in Patent Document 1 decelerates so that the feed speed at the command end point position of the fast feed becomes the commanded cutting feed speed when the feed direction is the same and the fast feed shifts to the cutting feed. When the feed direction is the same and the cutting speed shifts from the cutting speed to the fast feed, the numerical control device feeds the cutting feed to the commanded end point position of the cutting feed at the commanded cutting feed speed, and accelerates to the fast feed speed from the commanded end point position of the cutting feed. Such a speed control method is called pre-interpolation acceleration / deceleration. That is, the acceleration / deceleration before interpolation controls the speed according to a preset acceleration / deceleration curve.

補間前加減速で速度を制御する際、工作機械の振動が大きい場合等には、加減速曲線を移動平均フィルタでフィルタリングする。加減速曲線を移動平均フィルタでフィルタリングすることで、速度の変化がより滑らかになり、工作機械の振動を低減できるからである。 When controlling the speed by acceleration / deceleration before interpolation, if the vibration of the machine tool is large, the acceleration / deceleration curve is filtered by the moving average filter. By filtering the acceleration / deceleration curve with a moving average filter, the change in speed becomes smoother and the vibration of the machine tool can be reduced.

特開平6-138935号公報Japanese Unexamined Patent Publication No. 6-138935

しかしながら、加減速曲線を移動平均フィルタでフィルタリングすると、時間遅延が生じる。早送りから切削送りに移行する場合、早送りの指令終点位置での速度が指令された切削送り速度を超えてしまうという問題がある。切削送りから早送りに移行する場合、切削送りの指令終点位置より手前から早送りの速度に加速を開始してしまうという問題がある。 However, filtering the acceleration / deceleration curve with a moving average filter causes a time delay. When shifting from fast-forward to cutting feed, there is a problem that the speed at the command end point position of fast-forward exceeds the commanded cutting feed speed. When shifting from cutting feed to fast forward, there is a problem that acceleration starts at a speed of fast forward from before the command end point position of cutting feed.

本発明の目的は、同軸上且つ同一方向の二つの処理における異なる速度を、指令終点位置で指令速度に制御できる数値制御装置と速度制御方法を提供することである。 An object of the present invention is to provide a numerical control device and a speed control method capable of controlling different speeds in two processes coaxially and in the same direction to a command speed at a command end point position.

請求項1の数値制御装置は、主軸ヘッド又は加工対象を載置するテーブルをNCプログラムと所定の加減速に従って加減速曲線を作成し、該加減速曲線を移動平均フィルタでフィルタリングして制御する速度制御部を備えた数値制御装置において、前記NCプログラムは、一定の速度で移動する第一定速区間を有する第一指令ブロックと、前記第一定速区間における前記速度と異なる一定の速度で移動する第二定速区間を有する第二指令ブロックを有し、前記第一指令ブロックと前記第二指令ブロックは連続し且つ同軸上同一方向に移動する指令であり、前記加減速曲線の前記第一定速区間から前記第二定速区間へ加減速する部分は曲線且つ点対称であり、前記速度制御部は、前記第一定速区間の方が前記第二定速区間よりも高速の時、前記第一指令ブロックの終了部分に、前記第二定速区間における前記速度で移動する所定定速区間を設け且つ前記第一定速区間を前記所定定速区間の移動距離分短くした加減速曲線を作成し、前記第二定速区間の方が前記第一定速区間よりも高速の時、前記第二指令ブロックの開始部分に、前記第一定速区間における前記速度で移動する所定定速区間を設け且つ前記所定定速区間の移動距離分短くした加減速曲線を作成する処理を行うことを特徴とする。これにより、数値制御装置は、第一定速区間の方が第二定速区間よりも高速の時、第一指令ブロックの終了位置速度と第二速度との差を少なくできる。数値制御装置は、第二定速区間の方が第一定速区間よりも高速の時、第一指令ブロックから第二指令ブロックに加速を開始する位置のズレを少なくできる。 The numerical control device according to claim 1 creates an acceleration / deceleration curve according to an NC program and a predetermined acceleration / deceleration on a table on which a spindle head or a processing target is placed, and filters the acceleration / deceleration curve with a moving average filter to control the speed. In a numerical control device including a control unit, the NC program has a first command block having a first constant speed section moving at a constant speed, and a constant speed different from the speed in the constant speed section. It has a second command block having a moving second constant speed section, and the first command block and the second command block are commands that move continuously and coaxially in the same direction, and the acceleration / deceleration curve . The portion that accelerates and decelerates from the first constant speed section to the second constant speed section is curved and point-symmetrical, and the speed control unit uses the first constant speed section more than the second constant speed section. At high speed, a predetermined constant speed section that moves at the speed in the second constant speed section is provided at the end portion of the first command block, and the first constant speed section is shortened by the moving distance of the predetermined constant speed section. When the second constant speed section is faster than the first constant speed section, the acceleration / deceleration curve is created, and at the start portion of the second command block, at the speed in the first constant speed section. It is characterized in that a predetermined constant speed section to be moved is provided and a process of creating an acceleration / deceleration curve shortened by the movement distance of the predetermined constant speed section is performed . As a result, the numerical control device can reduce the difference between the speed at the end position of the first command block and the second speed when the first constant speed section is faster than the second constant speed section . The numerical control device can reduce the deviation of the position where acceleration starts from the first command block to the second command block when the speed of the second constant speed section is higher than that of the first constant speed section .

請求項の所定定速区間は、前記移動平均フィルタの時定数の半分の区間としても良い。これにより、第一定速区間から第二定速区間に減速する時、第一指令ブロックの終了位置における速度を第二定速区間の速度と等しくできる。数値制御装置は、第一定速区間から第二定速区間へ加速する時、第一指令ブロックの終了位置から第二指令ブロックに加速を開始できる。 The predetermined constant speed section of claim 2 may be a section that is half the time constant of the moving average filter . As a result, when decelerating from the first constant speed section to the second constant speed section, the speed at the end position of the first command block can be made equal to the speed in the second constant speed section . When accelerating from the first constant speed section to the second constant speed section , the numerical control device can start accelerating from the end position of the first command block to the second command block.

請求項前記第一指令ブロックが前記テーブルの早送りブロックで、前記第二指令ブロックが切削送りブロックの場合、前記第一定速区間の方が前記第二定速区間よりも高速であって、前記第一指令ブロックが前記切削送りブロックで、前記第二指令ブロックが前記テーブルの早送りブロックの場合、前記第二定速区間の方が前記第一定速区間よりも高速であっても良い。早送りから切削送りに移行する場合には、切削送り開始位置の速度が切削送りの速度となるので、数値制御装置は、加工不良を低減できる。切削送りから早送りに移行する場合には、切削送りの終了位置で加速を開始するので、数値制御装置は、切削送りの終了前に加速することを防ぐことができ、加工不良を低減できる。 When the first command block of claim 3 is the fast-forward block of the table and the second command block is the cutting feed block, the constant speed section is faster than the second constant speed section. When the first command block is the cutting feed block and the second command block is the fast-forward block of the table, the second constant speed section may be faster than the constant speed section. .. In the case of shifting from fast feed to cutting feed, the speed at the cutting feed start position becomes the cutting feed speed, so that the numerical control device can reduce machining defects. When shifting from cutting feed to fast feed, acceleration is started at the end position of cutting feed, so that the numerical control device can prevent acceleration before the end of cutting feed, and can reduce machining defects.

請求項前記第一指令ブロックが前記主軸ヘッドの早送りブロックで、前記第二指令ブロックが工具交換指令ブロックの場合、前記第一定速区間の方が前記第二定速区間よりも高速であって、前記第一指令ブロックが前記工具交換指令ブロックで、前記第二指令ブロックが前記主軸ヘッドの早送りブロックの場合、前記第二定速区間の方が前記第一定速区間よりも高速であっても良い。早送りブロックから工具交換指令ブロックに移行する場合には、早送りブロックの終了位置で工具交換指令ブロックの速度に減速できる。また、工具交換指令ブロックから早送りブロックに移行する場合には、工具交換指令ブロックの終了位置から早送り指令ブロックの速度に加速できる。工具交換時に主軸ヘッドの速度が工具交換指令ブロックの予め設定された速度となるので、数値制御装置は、例えば、高速で主軸ヘッドがグリップアームの把持部にぶつかるのを防止できる。故に、数値制御装置は、工作機械の振動を低減できる。 When the first command block of claim 4 is the fast-forward block of the spindle head and the second command block is the tool change command block, the constant speed section is faster than the second constant speed section. When the first command block is the tool change command block and the second command block is the fast-forward block of the spindle head, the second constant speed section is faster than the constant speed section . There may be. When shifting from the fast-forward block to the tool change command block, the speed can be reduced to the speed of the tool change command block at the end position of the fast -forward block. Further, when shifting from the tool change command block to the fast-forward block, the speed of the fast-forward command block can be accelerated from the end position of the tool change command block. Since the speed of the spindle head becomes a preset speed of the tool change command block at the time of tool change, the numerical control device can prevent the spindle head from hitting the grip portion of the grip arm at high speed, for example. Therefore, the numerical control device can reduce the vibration of the machine tool.

請求項の数値制御装置は、前記第一指令ブロックと前記第二指令ブロックが前記同軸上且つ前記同一方向の区間であるか判定する判定部を備え、前記速度制御部は、前記判定部が、前記第一指令ブロックと前記第二指令ブロックは前記同軸上且つ前記同一方向の区間であると判定した場合のみ前記処理を行っても良い。第一指令ブロックと第二指令ブロックは同軸上且つ同一方向の区間でない場合に、無駄な処理を省き、必要に応じて加減速曲線を移動平均フィルタによりフィルタリングできる。 The numerical control device according to claim 5 includes a determination unit for determining whether the first command block and the second command block are on the same axis and in the same direction, and the speed control unit is the determination unit. However, the processing may be performed only when it is determined that the first command block and the second command block are on the same axis and in the same direction. When the first command block and the second command block are not in the same direction on the same axis, unnecessary processing can be omitted and the acceleration / deceleration curve can be filtered by the moving average filter as needed.

請求項の加減速曲線は、直線を含んでも良い。第一定速区間及び第二定速区間へ加減速する際の曲線が直線であっても、直線は点対称なので、同様の効果を奏する。 The acceleration / deceleration curve of claim 6 may include a straight line. Even if the curve for accelerating / decelerating to the first constant speed section and the second constant speed section is a straight line, the straight line is point-symmetrical, so that the same effect can be obtained.

請求項の速度制御方法は、主軸ヘッド又は加工対象を載置するテーブルをNCプログラムと所定の加減速に従って加減速曲線を作成し、該加減速曲線を移動平均フィルタでフィルタリングして制御する速度制御ステップを備えた数値制御装置の速度制御方法において、前記NCプログラムは、一定の速度で移動する第一定速区間を有する第一指令ブロックと前記第一定速区間における前記速度と異なる一定速度で移動する第二定速区間を有する第二指令ブロックを有し、前記第一指令ブロックと前記第二指令ブロックは連続し且つ同軸上同一方向に移動する指令であり、前記加減速曲線の前記第一定速区間から前記第二定速区間へ加減速する部分は曲線且つ点対称であり、前記速度制御ステップは、前記第一定速区間の方が前記第二定速区間よりも高速の時、前記第一指令ブロックの終了部分に、前記第二定速区間における前記速度で移動する所定定速区間を設け且つ前記第一定速区間を前記所定定速区間の移動距離分短くした加減速曲線を作成し前記第二定速区間の方が前記第一定速区間よりも高速の時、前記第二指令ブロックの開始部分に、前記第一定速区間における前記速度で移動する前記所定定速区間を設け且つ前記所定定速区間の移動距離分短くした加減速曲線を作成することを特徴とする。数値制御装置は上記速度制御方法を行うので、請求項1と同様の効果を奏する。 The speed control method according to claim 7 is a speed at which an acceleration / deceleration curve is created according to an NC program and a predetermined acceleration / deceleration on a table on which a spindle head or a processing target is placed, and the acceleration / deceleration curve is filtered by a moving average filter to control the speed. In the speed control method of the numerical control device including the control step, the NC program has a first command block having a first constant speed section moving at a constant speed, and a constant speed different from the speed in the constant speed section. It has a second command block having a second constant speed section that moves at a speed, and the first command block and the second command block are commands that move continuously and coaxially in the same direction, and the acceleration / deceleration curve . The portion of acceleration / deceleration from the first constant speed section to the second constant speed section is curved and point-symmetrical, and in the speed control step, the first constant speed section is more than the second constant speed section. At high speed, a predetermined constant speed section that moves at the speed in the second constant speed section is provided at the end portion of the first command block, and the first constant speed section is shortened by the moving distance of the predetermined constant speed section. When the second constant speed section is faster than the first constant speed section, the acceleration / deceleration curve is created , and at the start portion of the second command block, at the speed in the first constant speed section. It is characterized in that the predetermined constant speed section to be moved is provided and an acceleration / deceleration curve shortened by the moving distance of the predetermined constant speed section is created . Since the numerical control device performs the speed control method, the same effect as that of claim 1 is obtained.

工作機械1の斜視図。A perspective view of the machine tool 1. 工作機械1の上半分の縦断面図。Vertical sectional view of the upper half of the machine tool 1. 数値制御装置30と工作機械1の電気的構成を示すブロック図。The block diagram which shows the electric composition of a numerical control device 30 and a machine tool 1. 移動平均フィルタによるフィルタリング前の加減速曲線とフィルタリング後の加減速曲線を示す図。The figure which shows the acceleration / deceleration curve before filtering by the moving average filter and the acceleration / deceleration curve after filtering. アルゴリズムを説明する為の図。The figure for explaining the algorithm. アルゴリズムを説明する為の図。The figure for explaining the algorithm. アルゴリズムを説明する為の図。The figure for explaining the algorithm. 早送りとATC送りを説明する為の図。The figure for demonstrating fast forward and ATC feed. アルゴリズムを説明する為の図。The figure for explaining the algorithm. アルゴリズムを説明する為の図。The figure for explaining the algorithm. 速度制御処理の流れ図。Flow chart of speed control processing. 変形例におけるアルゴリズムを説明する為の図。The figure for demonstrating the algorithm in the modification.

本発明の実施形態を説明する。以下説明は図中に矢印で示す左右、前後、上下を使用する。工作機械1の左右方向、前後方向、上下方向は、夫々、工作機械1のX軸方向、Y軸方向、Z軸方向である。 An embodiment of the present invention will be described. The following explanation uses left and right, front and back, and up and down indicated by arrows in the figure. The left-right direction, the front-back direction, and the up-down direction of the machine tool 1 are the X-axis direction, the Y-axis direction, and the Z-axis direction of the machine tool 1, respectively.

図1,図2を参照し、工作機械1の構造を説明する。工作機械1は、ベース2、コラム5、主軸ヘッド7、主軸9、制御箱6、テーブル10、工具交換装置20、操作パネル24(図3参照)等を備える。ベース2は略直方体状の鉄製土台である。コラム5はベース2上部後方に立設する。主軸ヘッド7はコラム5前面に設けた後述するZ軸移動機構22(図2参照)で上下方向に移動可能に設ける。主軸ヘッド7は内部に主軸9を回転可能に支持する。主軸9は工具ホルダ17(図2参照)を装着し、主軸モータ52の駆動で回転する。主軸モータ52は主軸ヘッド7上部に固定する。工具ホルダ17は工具4を保持する。制御箱6は数値制御装置30(図3参照)を格納する。数値制御装置30は工作機械1の動作を制御する。テーブル10はベース2上部に設け、X軸モータ53、Y軸モータ54(図3参照)、X軸-Y軸ガイド機構(不図示)で、X軸方向とY軸方向に移動可能である。 The structure of the machine tool 1 will be described with reference to FIGS. 1 and 2. The machine tool 1 includes a base 2, a column 5, a spindle head 7, a spindle 9, a control box 6, a table 10, a tool changer 20, an operation panel 24 (see FIG. 3), and the like. The base 2 is a substantially rectangular parallelepiped iron base. The column 5 is erected behind the upper part of the base 2. The spindle head 7 is provided on the front surface of the column 5 so as to be movable in the vertical direction by a Z-axis moving mechanism 22 (see FIG. 2) which will be described later. The spindle head 7 rotatably supports the spindle 9 inside. The spindle 9 is mounted with a tool holder 17 (see FIG. 2) and is rotated by driving the spindle motor 52. The spindle motor 52 is fixed to the upper part of the spindle head 7. The tool holder 17 holds the tool 4. The control box 6 stores the numerical control device 30 (see FIG. 3). The numerical control device 30 controls the operation of the machine tool 1. The table 10 is provided on the upper part of the base 2 and can be moved in the X-axis direction and the Y-axis direction by an X-axis motor 53, a Y-axis motor 54 (see FIG. 3), and an X-axis-Y-axis guide mechanism (not shown).

工具交換装置20は円盤状の工具マガジン21を備える。工具マガジン21は左右一対のフレーム8でコラム5前面側に支持する。工具マガジン21は外周に複数のグリップアーム90を放射状に支持する。グリップアーム90は工具ホルダ17を着脱自在に保持する。工具交換装置20は工具マガジン21を旋回して工具交換指令が指示する工具4を工具交換位置に割出して位置決めする。工具交換指令はNCプログラムで指令する。工具交換位置は工具マガジン21の最下部位置である。工具交換装置20は主軸9に装着する工具4と工具交換位置にある次工具4とを交換する。操作パネル24は入力部25と表示部28を備える(図3参照)。作業者は入力部25で、NCプログラム、工具4の種類、工具情報、各種パラメータ等を入力する。作業者が入力部25を操作すると、表示部28は各種入力画面と操作画面等を表示する。 The tool changer 20 includes a disk-shaped tool magazine 21. The tool magazine 21 is supported on the front side of the column 5 by a pair of left and right frames 8. The tool magazine 21 radially supports a plurality of grip arms 90 on the outer periphery. The grip arm 90 holds the tool holder 17 detachably. The tool changer 20 turns the tool magazine 21 to index and position the tool 4 instructed by the tool change command at the tool change position. The tool change command is commanded by the NC program. The tool change position is the lowest position of the tool magazine 21. The tool changing device 20 replaces the tool 4 mounted on the spindle 9 with the next tool 4 at the tool changing position. The operation panel 24 includes an input unit 25 and a display unit 28 (see FIG. 3). The operator inputs the NC program, the type of the tool 4, the tool information, various parameters, and the like with the input unit 25. When the operator operates the input unit 25, the display unit 28 displays various input screens, operation screens, and the like.

図2に示す如く、Z軸移動機構22は一対のZ軸リニアガイド(不図示)、Z軸ボール螺子26、Z軸モータ51(図3参照)を備える。Z軸リニアガイドはZ軸方向に延び且つ主軸ヘッド7をZ軸方向に案内する。Z軸ボール螺子26は一対のZ軸リニアガイドの間に配置し、上側軸受部27と下側軸受部(不図示)により回転可能に設ける。主軸ヘッド7は背面にナット29を備える。ナット29はZ軸ボール螺子26に螺合する。Z軸モータ51はZ軸ボール螺子26を正逆方向に回転する。故に主軸ヘッド7はナット29と共にZ軸方向に上下移動する。 As shown in FIG. 2, the Z-axis moving mechanism 22 includes a pair of Z-axis linear guides (not shown), a Z-axis ball screw 26, and a Z-axis motor 51 (see FIG. 3). The Z-axis linear guide extends in the Z-axis direction and guides the spindle head 7 in the Z-axis direction. The Z-axis ball screw 26 is arranged between a pair of Z-axis linear guides, and is rotatably provided by an upper bearing portion 27 and a lower bearing portion (not shown). The spindle head 7 is provided with a nut 29 on the back surface. The nut 29 is screwed into the Z-axis ball screw 26. The Z-axis motor 51 rotates the Z-axis ball screw 26 in the forward and reverse directions. Therefore, the spindle head 7 moves up and down in the Z-axis direction together with the nut 29.

図2を参照し、主軸ヘッド7の内部構造を説明する。主軸ヘッド7は内部に主軸9を回転可能に支持する。主軸9は上下方向に延びる。主軸9は主軸モータ52の下方に延びる駆動軸にカップリング23で連結する。主軸9は、テーパ装着穴18、ホルダ挟持部19、ドローバ69を備える。テーパ装着穴18は主軸9下端部に設ける。テーパ装着穴18は主軸ヘッド7下部に位置する。ホルダ挟持部19はテーパ装着穴18上方に設ける。ドローバ69は主軸9の中心を通る軸孔内に同軸上に挿入する。クランプばね(不図示)はドローバ69を上方に常時付勢する。 The internal structure of the spindle head 7 will be described with reference to FIG. The spindle head 7 rotatably supports the spindle 9 inside. The spindle 9 extends in the vertical direction. The spindle 9 is connected to a drive shaft extending below the spindle motor 52 by a coupling 23. The spindle 9 includes a taper mounting hole 18, a holder holding portion 19, and a drawbar 69. The taper mounting hole 18 is provided at the lower end of the spindle 9. The taper mounting hole 18 is located at the lower part of the spindle head 7. The holder holding portion 19 is provided above the taper mounting hole 18. The drawbar 69 is coaxially inserted into a shaft hole passing through the center of the main shaft 9. The clamp spring (not shown) constantly urges the drawbar 69 upward.

工具ホルダ17は一端側に工具4を保持し、他端側にテーパ装着部17Aとプルスタッド17Bを備える。テーパ装着部17Aは略円錐状である。プルスタッド17Bはテーパ装着部17Aの頂上部から軸方向に突出する。テーパ装着部17Aは主軸9のテーパ装着穴18に装着する。テーパ装着穴18にテーパ装着部17Aを装着すると、ホルダ挟持部19はプルスタッド17Bを挟持(クランプ)する。ドローバ69がホルダ挟持部19を下方に押圧すると、ホルダ挟持部19はプルスタッド17Bの挟持を解除する。 The tool holder 17 holds the tool 4 on one end side, and has a taper mounting portion 17A and a pull stud 17B on the other end side. The taper mounting portion 17A has a substantially conical shape. The pull stud 17B projects axially from the top of the tapered mounting portion 17A. The taper mounting portion 17A is mounted in the taper mounting hole 18 of the spindle 9. When the taper mounting portion 17A is mounted in the taper mounting hole 18, the holder holding portion 19 clamps the pull stud 17B. When the draw bar 69 presses the holder holding portion 19 downward, the holder holding portion 19 releases the holding of the pull stud 17B.

主軸ヘッド7は後方上部内側にレバー部材60を備える。レバー部材60は略L字型で支軸61を中心に揺動自在である。支軸61は主軸ヘッド7内部に固定する。レバー部材60は縦方向レバー63と横方向レバー62を備える。縦方向レバー63は支軸61からコラム5側に対して斜め上方に延びて中間部65で上方に折曲して更に上方に延びる。横方向レバー62は支軸61からコラム5前方に略水平に延びる。横方向レバー62の先端部はドローバ69に直交して突設するアンクランプピン58に上方から係合可能である。 The spindle head 7 includes a lever member 60 inside the upper rear portion. The lever member 60 is substantially L-shaped and can swing around the support shaft 61. The support shaft 61 is fixed inside the spindle head 7. The lever member 60 includes a vertical lever 63 and a horizontal lever 62. The vertical lever 63 extends diagonally upward from the support shaft 61 with respect to the column 5 side, bends upward at the intermediate portion 65, and further extends upward. The lateral lever 62 extends substantially horizontally from the support shaft 61 to the front of the column 5. The tip of the lateral lever 62 can be engaged from above with the unclamp pin 58 projecting orthogonally to the draw bar 69.

縦方向レバー63は上端部背面にアンクランプカム66を備える。アンクランプカム66は、例えば側面視略台形状に形成する。アンクランプカム66はコラム5側にカム面を備える。アンクランプカム66のカム面は、上側軸受部27に固定したアンクランプローラ67と接離可能である。アンクランプカム66のカム面については更に後述する。主軸ヘッド7の昇降により、アンクランプローラ67はアンクランプカム66のカム面を相対的に摺動する。引張ばね68は縦方向レバー63と主軸ヘッド7との間に弾力的に設ける。レバー部材60を右側面から見た場合、引張ばね68はレバー部材60を時計回りに常時付勢する。故に、引張ばね68は横方向レバー62によるアンクランプピン58の下方向への押圧を常時解除する方向にレバー部材60を付勢する。 The vertical lever 63 includes an unclamp cam 66 on the back surface of the upper end portion. The unclamp cam 66 is formed, for example, in a substantially trapezoidal shape as a side view. The unclamp cam 66 is provided with a cam surface on the column 5 side. The cam surface of the unclamp cam 66 can be brought into contact with and separated from the unclamp roller 67 fixed to the upper bearing portion 27. The cam surface of the unclamp cam 66 will be described later. As the spindle head 7 moves up and down, the unclamp roller 67 relatively slides on the cam surface of the unclamp cam 66. The tension spring 68 is elastically provided between the vertical lever 63 and the spindle head 7. When the lever member 60 is viewed from the right side, the tension spring 68 constantly urges the lever member 60 clockwise. Therefore, the tension spring 68 urges the lever member 60 in the direction of constantly releasing the downward pressure of the unclamp pin 58 by the lateral lever 62.

主軸9への工具ホルダ17の脱着動作を説明する。図2に示す如く、主軸9のテーパ装着穴18に、工具ホルダ17のテーパ装着部17Aが装着した状態で、主軸ヘッド7は上昇する。レバー部材60に設けたアンクランプカム66はアンクランプローラ67に接触して摺動する。アンクランプローラ67はアンクランプカム66のカム面を下方に摺動する。レバー部材60は引張ばね68の付勢力に抗して支軸61を中心に反時計回りに回転する。横方向レバー62はアンクランプピン58に上方から係合し、主軸9内部に設けたクランプばねの付勢力に抗してドローバ69を下方に押圧する。ドローバ69はホルダ挟持部19を下方に付勢する。ホルダ挟持部19はプルスタッド17Bの挟持を解除する。工具ホルダ17は主軸9のテーパ装着穴18から取り外し可能となる。 The operation of attaching / detaching the tool holder 17 to / from the spindle 9 will be described. As shown in FIG. 2, the spindle head 7 rises with the tapered mounting portion 17A of the tool holder 17 mounted in the tapered mounting hole 18 of the spindle 9. The unclamp cam 66 provided on the lever member 60 comes into contact with the unclamp roller 67 and slides. The unclamp roller 67 slides downward on the cam surface of the unclamp cam 66. The lever member 60 rotates counterclockwise around the support shaft 61 against the urging force of the tension spring 68. The lateral lever 62 engages with the unclamp pin 58 from above and presses the drawbar 69 downward against the urging force of the clamp spring provided inside the spindle 9. The drawbar 69 urges the holder holding portion 19 downward. The holder holding portion 19 releases the holding of the pull stud 17B. The tool holder 17 can be removed from the tapered mounting hole 18 of the spindle 9.

主軸9のテーパ装着穴18に、工具ホルダ17のテーパ装着部17Aが挿入した状態で、主軸ヘッド7は降下する。レバー部材60に設けたアンクランプカム66はアンクランプローラ67に摺動する。アンクランプローラ67はアンクランプカム66のカム面を上方に摺動する。レバー部材60は支軸61を中心に時計回りに回転する。横方向レバー62はアンクランプピン58から上方に離れ、ドローバ69の下方への押圧を解除する。ドローバ69はクランプばねで上方に移動し、ホルダ挟持部19の下方への付勢を解除する。ホルダ挟持部19はプルスタッド17Bを挟持し、主軸9への工具ホルダ17の装着は完了する。 The spindle head 7 descends with the taper mounting portion 17A of the tool holder 17 inserted into the taper mounting hole 18 of the spindle 9. The unclamp cam 66 provided on the lever member 60 slides on the unclamp roller 67. The unclamp roller 67 slides upward on the cam surface of the unclamp cam 66. The lever member 60 rotates clockwise around the support shaft 61. The lateral lever 62 separates upward from the unclamp pin 58 and releases the downward pressure on the drawbar 69. The drawbar 69 is moved upward by the clamp spring to release the downward urging of the holder holding portion 19. The holder holding portion 19 holds the pull stud 17B, and the mounting of the tool holder 17 on the spindle 9 is completed.

図2を参照し、工具交換装置20の構造を説明する。工具交換装置20は複数の支点台70を工具マガジン21裏面外周に等間隔で固定する。支点台70はグリップアーム90を前後方向に揺動可能に軸支する。グリップアーム90は一端部に把持部91を備える。把持部91は工具ホルダ17を着脱自在に把持する。グリップアーム90は支点台70近傍に主軸ヘッド7側に向けてローラ96と97を回転自在に軸支する。ローラ96は主軸ヘッド7の昇降により、主軸ヘッド7前面の右端部に沿って固定したDPカム11のカム面を摺動する。DPカム11のカム面は、直線部11Aと傾斜部11Bを備える。直線部11Aはカム面上部から下方に直線状に延びる部分である。傾斜部11Bは直線部11A下部から後方且つ下方に緩やかに湾曲しながら傾斜する部分である。 The structure of the tool changer 20 will be described with reference to FIG. The tool changer 20 fixes a plurality of fulcrum stands 70 to the outer periphery of the back surface of the tool magazine 21 at equal intervals. The fulcrum base 70 pivotally supports the grip arm 90 so as to be swingable in the front-rear direction. The grip arm 90 includes a grip portion 91 at one end thereof. The grip portion 91 grips the tool holder 17 in a detachable manner. The grip arm 90 rotatably supports the rollers 96 and 97 toward the spindle head 7 in the vicinity of the fulcrum base 70. The roller 96 slides on the cam surface of the DP cam 11 fixed along the right end portion on the front surface of the spindle head 7 by raising and lowering the spindle head 7. The cam surface of the DP cam 11 includes a straight portion 11A and an inclined portion 11B. The straight line portion 11A is a portion extending linearly downward from the upper part of the cam surface. The inclined portion 11B is a portion that inclines while gently curving backward and downward from the lower part of the straight portion 11A.

ローラ97は主軸ヘッド7の昇降により、主軸ヘッド7前面の左右方向中央部に固定した浮動カム12のカム面を摺動する。浮動カム12のカム面は、カム面上部から前方且つ下方に緩やかに傾斜し、更に下方に該中央部で前方に山なりに膨出する。ローラ96がDPカム11のカム面を摺動する際、浮動カム12はローラ96とDPカム11が離れない様に、グリップアーム90の動きを規制する。工具交換位置のグリップアーム90は支点台70を中心に揺動することで、把持部91を近接位置と退避位置の間を移動できる。近接位置は主軸9に近接して対向する位置、退避位置は主軸9から前方に離間する位置である。 The roller 97 slides on the cam surface of the floating cam 12 fixed to the central portion in the left-right direction on the front surface of the spindle head 7 by raising and lowering the spindle head 7. The cam surface of the floating cam 12 is gently inclined forward and downward from the upper part of the cam surface, and further downwardly bulges forward in a mountain shape at the central portion. When the roller 96 slides on the cam surface of the DP cam 11, the floating cam 12 regulates the movement of the grip arm 90 so that the roller 96 and the DP cam 11 do not separate from each other. The grip arm 90 at the tool changing position swings around the fulcrum base 70 so that the grip portion 91 can be moved between the close position and the retracted position. The close position is a position that is close to and faces the main shaft 9, and the retracted position is a position that is separated forward from the main shaft 9.

グリップアーム90は把持部91とは反対側の他端部に、鋼球92を圧縮コイルばね(不図示)で外側に付勢した状態で出退可能に保持する。工具マガジン21は断面円弧状の案内面81が周設された円筒状のグリップ支持カラー80を外挿する。鋼球92はグリップ支持カラー80の案内面81に弾力的に当接する。案内面81はグリップアーム90の他端部を案内する。故にグリップアーム90は支点台70を中心に安定して揺動できる。 The grip arm 90 holds the steel ball 92 at the other end on the opposite side of the grip portion 91 so as to be able to move in and out while being urged outward by a compression coil spring (not shown). The tool magazine 21 extrapolates a cylindrical grip support collar 80 having a guide surface 81 having an arcuate cross section. The steel ball 92 elastically contacts the guide surface 81 of the grip support collar 80. The guide surface 81 guides the other end of the grip arm 90. Therefore, the grip arm 90 can swing stably around the fulcrum base 70.

図3を参照し、数値制御装置30と工作機械1の電気的構成を説明する。数値制御装置30は、CPU(Central Processing Unit)31、記憶部32、入出力部33、駆動回路51A~55A等を備える。CPU31は数値制御装置30を制御する。CPU31は、判定部、速度制御部、フィルタ部としても機能する。判定部、速度制御部、フィルタ部の各処理の内容については後述する。 The electrical configuration of the numerical control device 30 and the machine tool 1 will be described with reference to FIG. The numerical control device 30 includes a CPU (Central Processing Unit) 31, a storage unit 32, an input / output unit 33, drive circuits 51A to 55A, and the like. The CPU 31 controls the numerical control device 30. The CPU 31 also functions as a determination unit, a speed control unit, and a filter unit. The contents of each process of the determination unit, the speed control unit, and the filter unit will be described later.

記憶部32は、ROM(Read Only Memory)、RAM(Random Access Memory)、不揮発性の記憶装置等で構成する。ROMは、速度制御処理プログラム等を記憶する。記憶部32は、詳しくは後述する移動平均フィルタの時定数TFを記憶する。CPU31は、速度制御処理プログラムを読み出し、詳しくは後述する速度制御処理(図11参照)を実行する。RAMは各種処理実行中の各種データを一時的に記憶する。記憶装置は不揮発性であり、例えばHDD(Hard Disc Drive)、フラッシュメモリ等である。記憶装置は作業者が入力部25で入力して登録したNCプログラム等を記憶する。NCプログラムは各種制御指令を含む複数のブロックで構成し、工作機械1の軸移動、工具交換等を含む各種動作をブロック単位で制御する。入出力部33は入力部25と表示部28に夫々接続する。 The storage unit 32 includes a ROM (Read Only Memory), a RAM (Random Access Memory), a non-volatile storage device, and the like. The ROM stores a speed control processing program and the like. The storage unit 32 stores the time constant TF of the moving average filter, which will be described in detail later. The CPU 31 reads out the speed control processing program and executes the speed control processing (see FIG. 11) described in detail later. The RAM temporarily stores various data during various processes. The storage device is non-volatile, and is, for example, an HDD (Hard Disc Drive), a flash memory, or the like. The storage device stores NC programs and the like input and registered by the operator in the input unit 25. The NC program is composed of a plurality of blocks including various control commands, and controls various operations including axis movement, tool change, etc. of the machine tool 1 in block units. The input / output unit 33 is connected to the input unit 25 and the display unit 28, respectively.

駆動回路51Aは電流検出器51CとZ軸モータ51とエンコーダ51Bに接続する。駆動回路52Aは電流検出器52Cと主軸モータ52とエンコーダ52Bに接続する。駆動回路53Aは電流検出器53CとX軸モータ53とエンコーダ53Bに接続する。駆動回路54Aは電流検出器54CとY軸モータ54とエンコーダ54Bに接続する。駆動回路55Aはマガジンモータ55とエンコーダ55Bに接続する。駆動回路51A~55AはCPU31から指令を受け、対応する各モータ51~55に駆動電流を夫々出力する。駆動回路51A~55Aはエンコーダ51B~55Bからフィードバック信号を受け、位置と速度のフィードバック制御を行う。フィードバック信号はパルス信号である。 The drive circuit 51A is connected to the current detector 51C, the Z-axis motor 51, and the encoder 51B. The drive circuit 52A is connected to the current detector 52C, the spindle motor 52, and the encoder 52B. The drive circuit 53A is connected to the current detector 53C, the X-axis motor 53, and the encoder 53B. The drive circuit 54A is connected to the current detector 54C, the Y-axis motor 54, and the encoder 54B. The drive circuit 55A is connected to the magazine motor 55 and the encoder 55B. The drive circuits 51A to 55A receive commands from the CPU 31 and output drive currents to the corresponding motors 51 to 55, respectively. The drive circuits 51A to 55A receive feedback signals from the encoders 51B to 55B and perform feedback control of position and speed. The feedback signal is a pulse signal.

電流検出器51C~54Cは駆動回路51A~55Aが夫々出力した駆動電流を検出する。電流検出器51C~54Cは検出した駆動電流を夫々駆動回路51A~54Aにフィードバックする。駆動回路51A~54Aは電流検出器51C~54Cが夫々フィードバックした駆動電流に基づき、電流(トルク)制御を行う。 The current detectors 51C to 54C detect the drive currents output by the drive circuits 51A to 55A, respectively. The current detectors 51C to 54C feed back the detected drive currents to the drive circuits 51A to 54A, respectively. The drive circuits 51A to 54A perform current (torque) control based on the drive currents fed back by the current detectors 51C to 54C, respectively.

図4を参照し、加減速曲線を移動平均フィルタでフィルタリングした場合の問題を、より詳しく説明する。曲線は、直線を含む概念である。曲線a(t)は、時定数TFの移動平均フィルタでフィルタリングする前の加減速曲線である。加減速曲線a(t)は、二段階の定速区間を有しており、同軸上且つ同一方向の第一処理と第二処理の加減速曲線である。本具体例においては、加減速曲線a(t)の時間区間[0,T0]の部分が、第一処理の加減速曲線であり、時間T0以降の部分が第二処理の加減速曲線である。NCプログラムにおいて、連続する2つのブロックの内、前のブロックは早送り指令であり、後のブロックは切削送り指令である。早送り指令は第一処理の加減速曲線となり、切削送り指令は第二処理の加減速曲線となる。以下、移動平均フィルタの時定数は"TF"とする。曲線b(t)は、移動平均フィルタでフィルタリングした後の加減速曲線である。移動平均フィルタは、LPF(Low Pass Filter)の一種であるので、フィルタリングすることで遅延が発生する。図4に示す様に、第二処理の指令速度V0になる時間が遅延する。この遅延により、第二処理を開始する指令開始位置でのフィルタリング後の速度と第二処理の指令速度との間にズレが発生する。 With reference to FIG. 4, the problem when the acceleration / deceleration curve is filtered by the moving average filter will be described in more detail. A curve is a concept that includes a straight line. The curve a (t) is an acceleration / deceleration curve before filtering by the moving average filter of the time constant TF. The acceleration / deceleration curve a (t) has a two-stage constant speed section, and is an acceleration / deceleration curve of the first process and the second process coaxially and in the same direction. In this specific example, the portion of the acceleration / deceleration curve a (t) in the time interval [0, T0] is the acceleration / deceleration curve of the first process, and the portion after the time T0 is the acceleration / deceleration curve of the second process. .. In the NC program, of the two consecutive blocks, the front block is the fast-forward command and the rear block is the cutting feed command. The fast-forward command is the acceleration / deceleration curve of the first process, and the cutting feed command is the acceleration / deceleration curve of the second process. Hereinafter, the time constant of the moving average filter is set to "TF". The curve b (t) is an acceleration / deceleration curve after filtering with a moving average filter. Since the moving average filter is a kind of LPF (Low Pass Filter), a delay occurs by filtering. As shown in FIG. 4, the time to reach the command speed V0 of the second process is delayed. Due to this delay, a deviation occurs between the speed after filtering at the command start position at which the second process is started and the command speed of the second process.

加減速曲線a(t)の第二処理の指令開始位置は、時間区間[0,T0]の加減速曲線a(t)の面積に基づき算出できる。第二処理の指令開始位置から第二処理を開始する為には、加減速曲線a(t)の時間区間[0,T0]の面積と等しい加減速曲線b(t)の時間区間の終点の位置で第二処理を開始する必要がある。しかし、加減速曲線b(t)の時間区間[0,T2]の面積は、加減速曲線a(t)の時間区間[0,T0]の面積より大きいので、第二処理はフィルタリングした後の加減速曲線b(t)が指令速度V0に減速する時点T2より前に第二処理を開始することになる。つまり、図4に示すように、加減速曲線a(t)の時間区間[0,T0]の面積と等しい加減速曲線b(t)の時間区間の終点は、時間T1である。時間T1での速度V1は、第二処理の指令速度V0より速い。 The command start position of the second process of the acceleration / deceleration curve a (t) can be calculated based on the area of the acceleration / deceleration curve a (t) in the time interval [0, T0]. In order to start the second process from the command start position of the second process, the end point of the time section of the acceleration / deceleration curve b (t) equal to the area of the time interval [0, T0] of the acceleration / deceleration curve a (t). It is necessary to start the second process at the position. However, since the area of the time interval [0, T2] of the acceleration / deceleration curve b (t) is larger than the area of the time interval [0, T0] of the acceleration / deceleration curve a (t), the second process is performed after filtering. The second process is started before the time point T2 when the acceleration / deceleration curve b (t) decelerates to the command speed V0. That is, as shown in FIG. 4, the end point of the time section of the acceleration / deceleration curve b (t) equal to the area of the time interval [0, T0] of the acceleration / deceleration curve a (t) is the time T1. The speed V1 at the time T1 is faster than the command speed V0 of the second process.

図5と図6を参照し、第一処理が早送りで、第二処理が切削送りの場合のアルゴリズムを説明する。本アルゴリズムは、上述した問題を解決し、移動平均フィルタにより加減速曲線をフィルタリングしても、第二処理の指令開始位置において指令速度により第二処理を開始できるアルゴリズムである。 With reference to FIGS. 5 and 6, the algorithm in the case where the first process is fast forward and the second process is cutting feed will be described. This algorithm solves the above-mentioned problem, and even if the acceleration / deceleration curve is filtered by the moving average filter, the second process can be started at the command start position of the second process at the command speed.

図5(A)は、第一処理と第二処理のフィルタリング前の加減速曲線c(t)を示している。加減速曲線c(t)は、速い速度から遅い速度に移行する加減速曲線である。第二処理部分の加減速曲線c(t)は、点線で示している。第一処理部分の加減速曲線c(t)において、加減速部分は直線状に加減速している。故に、加減速部分は点対称である。対称点はt=区間Aの2分の1と速度が0からV2に加速する直線との交点、t=区間Cの2分の1と速度がV2からV3に減速する直線との交点となる。図中の速度V2、V3は、夫々、第一処理の指令速度、第二処理の指令速度である。第一処理の移動距離は、加減速曲線c(t)の時間区間[0,T3]の領域A1の面積と等しい。時点T3は、第一処理の終了時である。領域A1の面積は、加減速曲線c(t)が第二処理の指令速度V2になる迄の移動距離である。以下に示す式一~三の式中の"A","TF","B","C"は、いずれも図5(A)の時間軸の区間である。区間Aは、速度"0"から指令速度V2に加速する加速区間、区間TF,Bは指令速度V2の定速区間、区間Cは指令速度V2から指令速度V3に減速する減速区間である。
(式一)
(領域A1の面積)=A×V2/2+(TF+B)×V2+(V2+V3)×C/2
FIG. 5A shows an acceleration / deceleration curve c (t) before filtering in the first process and the second process. The acceleration / deceleration curve c (t) is an acceleration / deceleration curve that shifts from a high speed to a slow speed. The acceleration / deceleration curve c (t) of the second processed portion is shown by a dotted line. In the acceleration / deceleration curve c (t) of the first processing portion, the acceleration / deceleration portion linearly accelerates / decelerates. Therefore, the acceleration / deceleration portion is point-symmetrical. The point of symmetry is the intersection of t = half of the interval A and the straight line where the speed accelerates from 0 to V2, and t = half of the interval C and the intersection of the straight line where the speed decelerates from V2 to V3. .. The speeds V2 and V3 in the figure are the command speed of the first process and the command speed of the second process, respectively. The moving distance of the first process is equal to the area of the region A1 in the time interval [0, T3] of the acceleration / deceleration curve c (t). Time point T3 is the end of the first process. The area of the region A1 is the moving distance until the acceleration / deceleration curve c (t) becomes the command speed V2 of the second processing. "A", "TF", "B", and "C" in the following equations 1 to 3 are all sections of the time axis of FIG. 5 (A). The section A is an acceleration section that accelerates from the speed "0" to the command speed V2, the sections TF and B are constant speed sections of the command speed V2, and the section C is a deceleration section that decelerates from the command speed V2 to the command speed V3.
(Formula 1)
(Area of area A1) = A × V2 / 2 + (TF + B) × V2 + (V2 + V3) × C / 2

図5(B)は、第一処理と第二処理のフィルタリング前後の加減速曲線を、夫々、示している。フィルタリング後の加減速曲線は、加減速曲線d(t)である。上述した様に、加減速曲線c(t)の加減速部分は点対称であるので、移動平均フィルタの特性上、移動平均フィルタでフィルタリングした後も対応する加減速部分は点対称となる。故に、加減速曲線d(t)の時間区間[0,T4]の領域A2の面積は、加減速曲線d(t)の加速区間の始点と終点を結ぶ直線と、v=V2の直線と、加減速曲線d(t)の減速区間の始点と終点を結ぶ直線と、t=T4の直線と、v=0の直線で囲まれた領域A3の面積と等しい。領域A2の面積は、加減速曲線d(t)が第二処理の指令速度V2になる迄の移動距離である。
(式二)
(領域A2の面積)=
(A+TF)×V2/2+B×V2+(V2+V3)×(C+TF)/2
FIG. 5B shows acceleration / deceleration curves before and after filtering of the first process and the second process, respectively. The acceleration / deceleration curve after filtering is an acceleration / deceleration curve d (t). As described above, since the acceleration / deceleration portion of the acceleration / deceleration curve c (t) is point-symmetrical, the corresponding acceleration / deceleration portion is point-symmetrical even after filtering by the moving average filter due to the characteristics of the moving average filter. Therefore, the area of the region A2 in the time interval [0, T4] of the acceleration / deceleration curve d (t) is a straight line connecting the start point and the end point of the acceleration section of the acceleration / deceleration curve d (t), a straight line of v = V2, and a straight line. It is equal to the area of the region A3 surrounded by the straight line connecting the start point and the end point of the deceleration section of the acceleration / deceleration curve d (t), the straight line of t = T4, and the straight line of v = 0. The area of the region A2 is the moving distance until the acceleration / deceleration curve d (t) becomes the command speed V2 of the second processing.
(Equation 2)
(Area of area A2) =
(A + TF) x V2 / 2 + B x V2 + (V2 + V3) x (C + TF) / 2

加減速曲線d(t)が第二処理の指令速度になる迄の移動距離と加減速曲線c(t)が第二処理の指令速度になる迄の移動距離の差は、以下の式三で算出できる。
(式三)
(差)={(A+TF)×V2/2+B×V2+(V2+V3)×(C+TF)/2}-
{A×V2/2+(TF+B)×V2+(V2+V3)×C/2}
=TF×V2/2-TF×V2+(V2+V3)×TF/2=V3×TF/2
The difference between the movement distance until the acceleration / deceleration curve d (t) becomes the command speed of the second process and the movement distance until the acceleration / deceleration curve c (t) becomes the command speed of the second process is calculated by the following equation 3. Can be calculated.
(Equation 3)
(Difference) = {(A + TF) x V2 / 2 + B x V2 + (V2 + V3) x (C + TF) / 2}-
{A x V2 / 2 + (TF + B) x V2 + (V2 + V3) x C / 2}
= TF x V2 / 2-TF x V2 + (V2 + V3) x TF / 2 = V3 x TF / 2

加減速曲線d(t)が第二処理の指令速度になる迄の移動距離と加減速曲線c(t)が第二処理の指令速度になる迄の移動距離の差は、第二処理の指令速度V3に時定数TFの"1/2"を掛けた値(V3×TF/2)である。故に、フィルタリング前の加減速曲線は、図6(A)に示す様に、第一処理の終了時に、第一処理の加減速曲線として、速度V3、時間TF/2の定速区間αを設け、定速区間α分の移動距離だけ速度v=V2の定速区間を短くした加減速曲線c'(t)とする。つまり、指令速度v=V2の定速区間を、"V3×TF/(2×V2)"(s)だけ短くする。第二処理の指令開始位置までの第一処理の移動距離は、加減速曲線c'(t)の時間区間[0,T5]の領域A4の面積と等しい。以下に示す式四~六の式中の"A","TF","B'","C"は、いずれも図6(A)の時間軸の区間である。区間B'は、指令速度V2の定速区間であり、区間Bを低速区間α分の移動距離だけ短くした区間である。
(式四)
(領域A4の面積)=A×V2/2+(TF+B')×V2+(V2+V3)×C/2
+V3×TF/2
The difference between the movement distance until the acceleration / deceleration curve d (t) reaches the command speed of the second process and the movement distance until the acceleration / deceleration curve c (t) reaches the command speed of the second process is the command of the second process. It is a value (V3 × TF / 2) obtained by multiplying the speed V3 by “1/2” of the time constant TF. Therefore, as shown in FIG. 6A, the acceleration / deceleration curve before filtering is provided with a constant speed section α having a speed V3 and a time TF / 2 as an acceleration / deceleration curve of the first process at the end of the first process. , The acceleration / deceleration curve c'(t) is set by shortening the constant speed section of the speed v = V2 by the movement distance of the constant speed section α. That is, the constant speed section of the command speed v = V2 is shortened by "V3 x TF / (2 x V2)" (s). The moving distance of the first process to the command start position of the second process is equal to the area of the region A4 in the time interval [0, T5] of the acceleration / deceleration curve c'(t). "A", "TF", "B'", and "C" in the formulas 4 to 6 shown below are all sections of the time axis of FIG. 6 (A). The section B'is a constant speed section of the command speed V2, and is a section in which the section B is shortened by the moving distance of the low speed section α.
(Equation 4)
(Area of area A4) = A × V2 / 2 + (TF + B') × V2 + (V2 + V3) × C / 2
+ V3 x TF / 2

図6(B)は、第一処理のフィルタリング前後の加減速曲線を、夫々、示している。フィルタリング後の加減速曲線は、加減速曲線d'(t)である。上述した様に、加減速曲線c'(t)の加減速部分は点対称であるので、移動平均フィルタの特性上、移動平均フィルタでフィルタリングした後も対応する加減速部分は点対称となる。故に、加減速曲線d'(t)の時間区間[0,T6]の領域A5の面積は、加減速曲線d'(t)の加速区間の始点と終点を結ぶ直線と、v=V2の直線と、加減速曲線d'(t)の減速区間の始点と終点を結ぶ直線と、t=T6の直線と、v=0の直線で囲まれた領域A6の面積と等しい。領域A5の面積は、加減速曲線d'(t)が第二処理の指令速度V2になる迄の移動距離である。
(式五)
(領域A5の面積)=
(A+TF)×V2/2+B'×V2+(V2+V3)×(C+TF)/2
FIG. 6B shows the acceleration / deceleration curves before and after the filtering of the first process, respectively. The acceleration / deceleration curve after filtering is an acceleration / deceleration curve d'(t). As described above, since the acceleration / deceleration portion of the acceleration / deceleration curve c'(t) is point-symmetrical, the corresponding acceleration / deceleration portion is point-symmetrical even after filtering by the moving average filter due to the characteristics of the moving average filter. Therefore, the area of the region A5 in the time interval [0, T6] of the acceleration / deceleration curve d'(t) is a straight line connecting the start point and the end point of the acceleration section of the acceleration / deceleration curve d'(t) and a straight line of v = V2. It is equal to the area of the region A6 surrounded by the straight line connecting the start point and the end point of the deceleration section of the acceleration / deceleration curve d'(t), the straight line of t = T6, and the straight line of v = 0. The area of the region A5 is the moving distance until the acceleration / deceleration curve d'(t) becomes the command speed V2 of the second processing.
(Equation 5)
(Area of area A5) =
(A + TF) x V2 / 2 + B'x V2 + (V2 + V3) x (C + TF) / 2

加減速曲線d'(t)が第二処理の指令速度になる迄の移動距離と加減速曲線c'(t)が第二処理の指令速度になる迄の移動距離の差は、以下の式六で算出できる。
(式六)
(差)={(A+TF)×V2/2+B'×V2+(V2+V3)×(C+TF)/2}-
{A×V2/2+(TF+B')×V2+(V2+V3)×C/2+V3×TF/2}
=TF×V2/2-TF×V2+(V2+V3)×TF/2-V3×TF/2=0
The difference between the moving distance until the acceleration / deceleration curve d'(t) becomes the command speed of the second process and the moving distance until the acceleration / deceleration curve c'(t) becomes the command speed of the second process is as follows. It can be calculated by six.
(Equation 6)
(Difference) = {(A + TF) x V2 / 2 + B'x V2 + (V2 + V3) x (C + TF) / 2}-
{A x V2 / 2 + (TF + B') x V2 + (V2 + V3) x C / 2 + V3 x TF / 2}
= TF x V2 / 2-TF x V2 + (V2 + V3) x TF / 2-V3 x TF / 2 = 0

式六に示した様に、領域A4の面積と領域A5の面積の差は無いので、領域A4と領域A5の面積は等しい。故に、数値制御装置30は、加減速曲線c'(t)を移動平均フィルタでフィルタリングしても、早送りの指令終点位置における切削速度が指令速度となる様に速度制御できる。早送りの指令終点位置における切削送りの速度が指令速度となるので、数値制御装置30は、指令速度を超えてしまい加工不良を引き起こす問題を解決できる。 As shown in Equation 6, since there is no difference between the area of the area A4 and the area of the area A5, the areas of the area A4 and the area A5 are the same. Therefore, even if the acceleration / deceleration curve c'(t) is filtered by the moving average filter, the numerical control device 30 can control the speed so that the cutting speed at the command end point position of fast forward becomes the command speed. Since the cutting feed speed at the command end point position of the fast feed is the command speed, the numerical control device 30 can solve the problem that the command speed is exceeded and a machining defect is caused.

図7を参照し、第一処理が切削送りで第二処理が早送りのアルゴリズムを説明する。この場合、第一処理と第二処理の加減速曲線e(t)は、遅い速度v=V3から速い速度v=V2に移行する加減速曲線となる。加減速曲線e(t)は、第二処理の開始時に、第二処理の加減速曲線として、定速区間αを既に設け、定速区間α分の移動距離だけ速度v=V2の定速区間を短くした加減速曲線である。加減速曲線e(t)とt=T8とv=0で囲まれた領域A7の面積は、第二処理における移動距離である。式七~九の式中の"D","TF","E","F"は、いずれも図7の時間軸の区間である。区間Dは指令速度V3から指令速度V2への加速区間、区間TF,Eは指令速度V2の定速区間、区間Fは指令速度V2から速度"0"への減速区間である。
(式七)
(領域A7の面積)=V3×TF/2+(V2+V3)×D/2+(TF+E)×V2+
F×V2/2
An algorithm in which the first process is a cutting feed and the second process is a fast feed will be described with reference to FIG. 7. In this case, the acceleration / deceleration curves e (t) of the first process and the second process are acceleration / deceleration curves that shift from the slow speed v = V3 to the fast speed v = V2. The acceleration / deceleration curve e (t) already has a constant speed section α as the acceleration / deceleration curve of the second process at the start of the second process, and the constant speed section of speed v = V2 by the movement distance of the constant speed section α. It is an acceleration / deceleration curve with shortened. The area of the region A7 surrounded by the acceleration / deceleration curves e (t), t = T8, and v = 0 is the moving distance in the second process. "D", "TF", "E", and "F" in the equations 7 to 9 are all sections of the time axis in FIG. The section D is an acceleration section from the command speed V3 to the command speed V2, the sections TF and E are constant speed sections of the command speed V2, and the section F is a deceleration section from the command speed V2 to the speed "0".
(Equation 7)
(Area of area A7) = V3 × TF / 2 + (V2 + V3) × D / 2 + (TF + E) × V2 +
F × V2 / 2

加減速曲線e(t)をフィルタリング後の加減速曲線f(t)の第二処理部分の移動距離は、加減速曲線f(t)とt=T7とv=0に囲まれた領域A8の面積である。上述した様に、加減速曲線e(t)の加減速部分は直線状であり点対称なので、領域A8の面積は、領域A9の面積と等しい。領域A9は、t=T7と、加速部分の曲線の始点と終点を結んだ直線と、v=V2と、減速部分の曲線の始点と終点を結んだ直線と、v=0で囲まれた領域である。
(式八)
(領域A8の面積)=(V2+V3)×(D+TF)/2+E×V2
+(F+TF)×V2/2
The moving distance of the second processing portion of the acceleration / deceleration curve f (t) after filtering the acceleration / deceleration curve e (t) is the area A8 surrounded by the acceleration / deceleration curves f (t), t = T7, and v = 0. The area. As described above, since the acceleration / deceleration portion of the acceleration / deceleration curve e (t) is linear and point-symmetrical, the area of the region A8 is equal to the area of the region A9. Region A9 is a region surrounded by t = T7, a straight line connecting the start point and the end point of the curve of the acceleration part, v = V2, a straight line connecting the start point and the end point of the curve of the deceleration part, and v = 0. Is.
(Formula 8)
(Area of area A8) = (V2 + V3) × (D + TF) / 2 + E × V2
+ (F + TF) x V2 / 2

領域A7の面積と領域A8の面積の差は、以下の式九により算出できる。
(式九)
(差)={T3×TF/2+(V2+V3)×D/2+(TF+E)×V2+F×V2/2}-{(V2+V3)×(D+TF)/2+E×V2+(F+TF)×V2/2}
=T3×TF/2-(V2+V3)×TF/2+TF×V2-TF×V2/2=0
The difference between the area of the area A7 and the area of the area A8 can be calculated by the following equation 9.
(Formula 9)
(Difference) = {T3 x TF / 2 + (V2 + V3) x D / 2 + (TF + E) x V2 + F x V2 / 2}-{(V2 + V3) x (D + TF) / 2 + E x V2 + (F + TF) x V2 / 2}
= T3 x TF / 2- (V2 + V3) x TF / 2 + TF x V2-TF x V2 / 2 = 0

式九に示した様に、領域A7の面積と領域A8の面積の差は無いので、領域A7と領域A8の面積は等しい。故に、数値制御装置30は、加減速曲線e(t)を移動平均フィルタでフィルタリングしても、切削送りの指令速度から早送りの指令速度へ加速を開始する位置が切削送りの指令終点位置となる様に速度制御できる。切削送りの指令速度から早送りの指令速度へ加速を開始する位置が切削送りの指令終点位置となるので、数値制御装置30は、切削送りの速度が指令速度を超えてしまい加工不良を引き起こす問題を解決できる。 As shown in Equation 9, since there is no difference between the area of the area A7 and the area of the area A8, the areas of the area A7 and the area A8 are equal. Therefore, even if the numerical control device 30 filters the acceleration / deceleration curve e (t) with the moving average filter, the position where acceleration starts from the command speed of the cutting feed to the command speed of the fast feed becomes the command end point position of the cutting feed. The speed can be controlled in the same way. Since the position where acceleration starts from the command speed of the cutting feed to the command speed of the fast feed is the command end point position of the cutting feed, the numerical control device 30 has a problem that the speed of the cutting feed exceeds the command speed and causes a machining defect. Solvable.

図8を参照し、工具ホルダ17の交換時における、早送りの速度とATC速度(工具交換速度)について説明する。一般的に、Z原点からATC原点間のATC領域では、工具交換により発生する振動を抑える為に、加工領域における早送りの速度より低速に設定される。ATC原点とは、工具マガジン21が回転できる主軸ヘッド7のZ軸方向の位置である。図8の例では、ATC領域での上昇及び降下時のATC速度v=V5は"30000"(mm/min)であり、加工領域での上昇及び降下時の早送り速度v=V4は"50000"(mm/min)である。工具交換においても、高速な早送り速度から低速なATC速度への移行と低速なATC速度から高速な早送り速度への移行が行われる。故に、上述したアルゴリズムが適用できる。 With reference to FIG. 8, the fast-forward speed and the ATC speed (tool replacement speed) at the time of replacing the tool holder 17 will be described. Generally, in the ATC region between the Z origin and the ATC origin, the speed is set lower than the fast-forward speed in the machining region in order to suppress the vibration generated by the tool change. The ATC origin is a position in the Z-axis direction of the spindle head 7 on which the tool magazine 21 can rotate. In the example of FIG. 8, the ATC speed v = V5 during ascent and descent in the ATC region is "30000" (mm / min), and the fast-forward speed v = V4 during ascent and descent in the machining region is "50,000". (Mm / min). Also in tool change, a shift from a high-speed fast-forward speed to a low-speed ATC speed and a shift from a low-speed ATC speed to a high-speed fast-forward speed are performed. Therefore, the algorithm described above can be applied.

図9を参照し、第一処理が加工領域の上昇早送りで、第二処理がATC領域の上昇送りの場合のアルゴリズムを説明する。基本的な考えた方は、上述した、第一処理が早送りで、第二処理が切削送りの場合と同じである。第一処理と第二処理の加減速曲線g(t)は、図9に示す様に、既に、ATC領域の上昇送りの速度v=V5の時間TF/2の定速区間を、第一処理の加減速曲線として、第一処理の終了時に設け、設けた定速区間の移動距離分だけ早送りの速度v=V4の定速区間を短くした加減速曲線である。 With reference to FIG. 9, the algorithm in the case where the first process is the ascending fast-forwarding of the machining region and the second processing is the ascending feed of the ATC region will be described. The basic idea is the same as the above-mentioned case where the first process is fast forward and the second process is cutting feed. As shown in FIG. 9, the acceleration / deceleration curves g (t) of the first process and the second process have already set the constant speed section of the time TF / 2 at the ascending feed rate v = V5 in the ATC region as the first process. As the acceleration / deceleration curve of, the acceleration / deceleration curve is provided at the end of the first process, and the constant speed section of the fast-forward speed v = V4 is shortened by the moving distance of the provided constant speed section.

第一処理の移動距離は、加減速曲線g(t)をフィルタリングした後の加減速曲線h(t)と、t=T11と、v=0で囲まれた領域A11の面積である。加減速曲線h(t)の第一処理の加減速部分は点対称なので、領域A11の面積は、領域A12の面積と等しい。領域A12の面積は、上述した様に、加減速曲線g(t)と、t=T9と、v=0で囲まれた領域に、速度V5の時間TF/2の定速区間の領域を加えた領域A10の面積と等しい。故に、上昇早送りの指令終点位置における速度が、ATC領域の上昇送りの指令速度となる様に制御できる。ATC領域で指令速度を超えない様に指令速度を守ることができるので、数値制御装置30は、工具交換時の振動増加を防止できる。 The moving distance of the first process is the area of the acceleration / deceleration curve h (t) after filtering the acceleration / deceleration curve g (t), t = T11, and the region A11 surrounded by v = 0. Since the acceleration / deceleration portion of the first process of the acceleration / deceleration curve h (t) is point-symmetrical, the area of the region A11 is equal to the area of the region A12. As described above, the area of the region A12 is the region surrounded by the acceleration / deceleration curve g (t), t = T9, and v = 0, plus the region of the constant velocity section of the time TF / 2 at the velocity V5. It is equal to the area of the area A10. Therefore, the speed at the command end point position of the ascending fast forward can be controlled to be the command speed of the ascending feed in the ATC region. Since the command speed can be maintained so as not to exceed the command speed in the ATC region, the numerical control device 30 can prevent an increase in vibration during tool replacement.

図10を参照し、第一処理がATC領域の降下送りで、第二処理が加工領域の降下早送りの場合のアルゴリズムを説明する。基本的な考えた方は、上述した、第一処理が切削送りで、第二処理が早送りの場合と同じである。第一処理と第二処理の加減速曲線i(t)は、図10に示す様に、既に、ATC領域の降下送りの速度v=V5の時間TF/2の定速区間を、第二処理の加減速曲線として、第二処理の開始時に設け、設けた定速区間の移動距離分だけ早送りの速度v=V4の定速区間を短くした加減速曲線である。加減速曲線i(t)の第二処理の加減速部分は直線状なので、点対称である。故に、上述した様に、加減速曲線i(t)をフィルタリングした後の加減速曲線j(t)の第二処理の加減速部分は点対称となる。 With reference to FIG. 10, the algorithm in the case where the first process is the descent feed in the ATC region and the second process is the descent fast forward in the machining region will be described. The basic idea is the same as the above-mentioned case where the first process is cutting feed and the second process is fast feed. As shown in FIG. 10, the acceleration / deceleration curves i (t) of the first process and the second process have already set the constant speed section of the time TF / 2 at the descent feed rate v = V5 in the ATC region as the second process. As the acceleration / deceleration curve of, the acceleration / deceleration curve is provided at the start of the second process, and the constant speed section of the fast-forward speed v = V4 is shortened by the moving distance of the provided constant speed section. Since the acceleration / deceleration portion of the second process of the acceleration / deceleration curve i (t) is linear, it is point-symmetrical. Therefore, as described above, the acceleration / deceleration portion of the second process of the acceleration / deceleration curve j (t) after filtering the acceleration / deceleration curve i (t) is point-symmetrical.

第二処理の移動距離は、加減速曲線j(t)と、t=T12と、v=0で囲まれた領域A14の面積である。加減速曲線i(t)をフィルタリングした後の加減速曲線j(t)の第一処理の加減速部分は点対称なので、領域A14の面積は、領域A15の面積と等しい。領域A15の面積は、上述した様に、加減速曲線i(t)と、t=T12と、v=0で囲まれた領域に、速度V5の時間TF/2の定速区間の領域を加えた領域A13の面積と等しい。故に、ATC領域の降下送りの指令終点位置から加速を開始し降下早送りの指令速度となる様に制御できる。ATC領域で指令速度を超えない様に指令速度を守ることができるので、数値制御装置30は、工具交換時の振動増加を防止できる。 The moving distance of the second process is the area of the region A14 surrounded by the acceleration / deceleration curve j (t), t = T12, and v = 0. Since the acceleration / deceleration portion of the first process of the acceleration / deceleration curve j (t) after filtering the acceleration / deceleration curve i (t) is point-symmetrical, the area of the region A14 is equal to the area of the region A15. As described above, the area of the region A15 is the region surrounded by the acceleration / deceleration curve i (t), t = T12, and v = 0, plus the region of the constant velocity section of the time TF / 2 at the velocity V5. It is equal to the area of the area A13. Therefore, acceleration can be started from the command end point position of the descent feed in the ATC region, and the speed can be controlled to be the command speed of the descent fast forward. Since the command speed can be maintained so as not to exceed the command speed in the ATC region, the numerical control device 30 can prevent an increase in vibration during tool replacement.

図11を参照し、速度制御処理を説明する。速度制御処理は、CPU31が記憶部32から速度制御プログラムを読み出して実行することで開始する。速度制御処理は、少なくとも二つの速度が異なる移動処理の指令をトリガとして開始する。フィルタリング前の加減速曲線における、指令速度が速い方の処理の加減速部分が点対称であるものとする。 The speed control process will be described with reference to FIG. The speed control process is started by the CPU 31 reading a speed control program from the storage unit 32 and executing the speed control program. The speed control process is started by a command of at least two movement processes having different velocities as a trigger. It is assumed that the acceleration / deceleration portion of the process having the faster command speed in the acceleration / deceleration curve before filtering is point-symmetrical.

CPU31(判定部)は、第一処理と第二処理が同軸上の動作であるか判定する(S1)。CPU31(判定部)は、第一処理と第二処理が同軸上の動作でないと判定した場合には(S1:NO)、CPU31(速度制御部)は、上述した本アルゴリズムの加減速制御と異なる一般的な加減速制御により速度を制御する(S2)。CPU31は、S1に戻る。CPU31(判定部)は、第一処理と第二処理が同軸上の動作であると判定した場合には(S1:YES)、第一処理と第二処理が同一方向であるか判定する(S3)。 The CPU 31 (determination unit) determines whether the first process and the second process are coaxial operations (S1). When the CPU 31 (determination unit) determines that the first process and the second process are not coaxial operations (S1: NO), the CPU 31 (speed control unit) is different from the acceleration / deceleration control of the present algorithm described above. The speed is controlled by general acceleration / deceleration control (S2). The CPU 31 returns to S1. When the CPU 31 (determination unit) determines that the first process and the second process are coaxial operations (S1: YES), the CPU 31 (determination unit) determines whether the first process and the second process are in the same direction (S3). ).

CPU31(判定部)は、第一処理と第二処理が同一方向ではないと判定した場合には(S3:NO)、S2に進む。CPU31(判定部)は、第一処理と第二処理が同一方向であると判定した場合には(S3:YES)、CPU31は、第一処理と第二処理の指令速度を比較する(S4)。CPU31(判定部)は、第一処理の指令速度の方が速いか判定する(S5)。CPU31(判定部)は、第一処理の指令速度の方が遅いと判定した場合には(S5:NO)、CPU31(速度制御部)は、第二処理の加減速曲線として、第二処理の開始時に、第一処理の指令速度の時間TF/2の定速区間を設け、設けた定速区間の移動距離分だけ第二処理の指令速度の区間を短くする(S6)。CPU31は、S8に進む。 When the CPU 31 (determination unit) determines that the first process and the second process are not in the same direction (S3: NO), the process proceeds to S2. When the CPU 31 (determination unit) determines that the first process and the second process are in the same direction (S3: YES), the CPU 31 compares the command speeds of the first process and the second process (S4). .. The CPU 31 (determination unit) determines whether the command speed of the first process is faster (S5). When the CPU 31 (determination unit) determines that the command speed of the first process is slower (S5: NO), the CPU 31 (speed control unit) uses the acceleration / deceleration curve of the second process as the acceleration / deceleration curve of the second process. At the start, a constant speed section of the time TF / 2 of the command speed of the first process is provided, and the section of the command speed of the second process is shortened by the moving distance of the provided constant speed section (S6). The CPU 31 proceeds to S8.

CPU31(判定部)は、第一処理の指令速度の方が速いと判定した場合には(S5:YES)、CPU31(速度制御部)は、第一処理の加減速曲線として、第一処理の終了時に、第二処理の指令速度の時間TF/2の定速区間を設け、設けた定速区間の移動距離分だけ第一処理の指令速度の区間を短くする(S7)。CPU31(フィルタ部)は、定速区間を追加した後の加減速曲線を移動平均フィルタでフィルタリングする(S8)。CPU31(速度制御部)は、フィルタリング後の加減速曲線に基づき、第一処理と第二処理の速度を制御する(S9)。CPU31は、S1に戻り、上述の処理を繰り返す。 When the CPU 31 (determination unit) determines that the command speed of the first process is faster (S5: YES), the CPU 31 (speed control unit) uses the acceleration / deceleration curve of the first process as the acceleration / deceleration curve of the first process. At the end, a constant speed section of the time TF / 2 of the command speed of the second process is provided, and the section of the command speed of the first process is shortened by the moving distance of the provided constant speed section (S7). The CPU 31 (filter unit) filters the acceleration / deceleration curve after adding the constant speed section with the moving average filter (S8). The CPU 31 (speed control unit) controls the speeds of the first process and the second process based on the acceleration / deceleration curve after filtering (S9). The CPU 31 returns to S1 and repeats the above process.

図12を参照し、変形例の一つを説明する。上述した具体例では、フィルタリング前の加減速曲線は直線の組み合わせである。本変形例は、フィルタリング前の加減速曲線k(t)の指令速度が速い第一処理における加減速部分が点対称の曲線の場合である。図12(A)に示す加減速曲線k(t)は、第一処理の加減速曲線として、第一処理の終了時に、速度v=V7の時間TF/2の定速区間を設け、設けた定速区間の移動距離分だけ第一処理の指令速度V6の区間を短くした加減速曲線である。 One of the modified examples will be described with reference to FIG. In the specific example described above, the acceleration / deceleration curve before filtering is a combination of straight lines. This modification is a case where the acceleration / deceleration portion in the first process in which the command speed of the acceleration / deceleration curve k (t) before filtering is high is a point-symmetrical curve. The acceleration / deceleration curve k (t) shown in FIG. 12A is provided as an acceleration / deceleration curve of the first process by providing a constant speed section of time TF / 2 at a speed v = V7 at the end of the first process. It is an acceleration / deceleration curve in which the section of the command speed V6 of the first processing is shortened by the moving distance of the constant speed section.

加減速曲線k(t)と、t=T15と、v=0で囲まれた領域A16の面積は、加減速部分が点対称なので、加速曲線の始点と終点を結んだ直線と、v=V6と、v=0と、t=T14と、減速曲線の始点と終点を結んだ直線で囲まれた領域A17の面積に、速度v=V7の時間TF/2の定速区間の面積を加えた面積に等しい。故に、領域A16の面積は、以下の式十により算出できる。式十~十二の式中の"G","H","I"は、いずれも図12の時間軸の区間である。
(式十)
(領域A16の面積)=G×V6/2+(TF+H)×V6+(V6+V7)×I/2
+V7×TF/2
Since the acceleration / deceleration curve k (t), t = T15, and the area of the region A16 surrounded by v = 0 are point-symmetrical in the acceleration / deceleration portion, the straight line connecting the start point and the end point of the acceleration curve and v = V6. And v = 0, t = T14, and the area of the constant speed section of the time TF / 2 at the speed v = V7 is added to the area of the region A17 surrounded by the straight line connecting the start point and the end point of the deceleration curve. Equal to the area. Therefore, the area of the region A16 can be calculated by the following equation 10. "G", "H", and "I" in the equations 10 to 12 are all sections of the time axis in FIG.
(Formula 10)
(Area of area A16) = G × V6 / 2 + (TF + H) × V6 + (V6 + V7) × I / 2
+ V7 x TF / 2

図12(B)に示す加減速曲線l(t)は、加減速曲線k(t)をフィルタリングした後の加減速曲線である。上述した様に、フィルタリング前の加減速曲線の加減速部分の曲線が点対称である場合、フィルタリング後の加減速曲線の加減速部分の曲線は点対称となる。故に、加減速曲線l(t)と、t=T16と、v=0で囲まれた領域A18の面積は、加減速曲線l(t)の加速曲線の始点と終点を結ぶ直線と、v=V6と、v=0と、t=T16と、加減速曲線l(t)の減速曲線の始点と終点を結ぶ直線で囲まれた領域A19の面積と等しい。領域A18の面積は、以下の式十一により算出できる。
(式十一)
(領域A18の面積)=(G+TF)×V6/2+H×V6
+(V6+V7)×(I+TF)/2
The acceleration / deceleration curve l (t) shown in FIG. 12B is an acceleration / deceleration curve after filtering the acceleration / deceleration curve k (t). As described above, when the curve of the acceleration / deceleration portion of the acceleration / deceleration curve before filtering is point-symmetrical, the curve of the acceleration / deceleration portion of the acceleration / deceleration curve after filtering is point-symmetrical. Therefore, the area of the acceleration / deceleration curve l (t), t = T16, and the region A18 surrounded by v = 0 is the straight line connecting the start point and the end point of the acceleration curve of the acceleration / deceleration curve l (t), and v =. V6, v = 0, and t = T16 are equal to the area of the region A19 surrounded by a straight line connecting the start point and the end point of the deceleration curve of the acceleration / deceleration curve l (t). The area of the area A18 can be calculated by the following equation 11.
(Equation 11)
(Area of area A18) = (G + TF) × V6 / 2 + H × V6
+ (V6 + V7) x (I + TF) / 2

領域A16と領域A18の面積の差は、以下の式十二により算出できる。
(式十二)
(差)={G×V6/2+(TF+H)×V6+(V6+V7)×I/2+V7×TF/2}-{(G+TF)×V6/2+H×V6+(V6+V7)×(I+TF)/2}
=-TF×V6/2+TF×V6-V6×TF/2=0
The difference in area between the area A16 and the area A18 can be calculated by the following equation twelve.
(Equation 12)
(Difference) = {G x V6 / 2 + (TF + H) x V6 + (V6 + V7) x I / 2 + V7 x TF / 2}-{(G + TF) x V6 / 2 + H x V6 + (V6 + V7) x (I + TF) / 2}
= -TF x V6 / 2 + TF x V6-V6 x TF / 2 = 0

式十二に示した様に、領域A16と領域A18の面積の差は無いので、フィルタリング前の領域A16の面積とフィルタリング後の領域A18の面積は等しい。故に、数値制御装置30は、同様に、第一処理の指令終了位置における速度を第二処理の指令速度に制御することができる。本変形例では、第一処理の速度が第二処理の速度より速い場合を例に説明したが、第一処理の速度が第二処理の速度より遅い場合についても、上述したアルゴリズムを適用することができる。この場合、数値制御装置30は、第一処理の指令終点位置から加速を開始し第二処理の指令速度に制御することができる。 As shown in Equation 12, since there is no difference in the area between the area A16 and the area A18, the area of the area A16 before filtering and the area of the area A18 after filtering are equal. Therefore, the numerical control device 30 can similarly control the speed at the command end position of the first process to the command speed of the second process. In this modification, the case where the speed of the first processing is faster than the speed of the second processing has been described as an example, but the above-mentioned algorithm should be applied even when the speed of the first processing is slower than the speed of the second processing. Can be done. In this case, the numerical control device 30 can start acceleration from the command end point position of the first process and control it to the command speed of the second process.

上記実施形態では、数値制御装置30は、第一処理と第二処理が同軸上且つ同一方向であり、第一処理の指令速度が第二処理の指令速度より速い場合には、第一処理の終了時に、第一処理の加減速曲線として、第二処理の指令速度の所定の定速区間を設け、設けた定速区間の移動距離分だけ第一処理の指令速度の区間を短くする。数値制御装置30は、所定の定速区間を設けた後の加減速曲線を移動平均フィルタでフィルタリングし、フィルタリング後の加減速曲線に基づき、速度を制御する。数値制御装置30は、第一処理の指令速度が第二処理の指令速度より遅い場合には、第二処理の開始時に、第二処理の加減速曲線として、第一処理の指令速度の所定の定速区間を設け、設けた定速区間の移動距離分だけ第二処理の指令速度の区間を短くする。数値制御装置30は、所定の定速区間を設け、設けた定速区間の移動距離分だけ他の定速区間を短くした後の加減速曲線を移動平均フィルタでフィルタリングし、フィルタリング後の加減速曲線に基づき、速度を制御する。加減速曲線を移動平均フィルタでフィルタリングすると、時間遅延が生じるので、所定の位置における速度が所定の位置における予め設定された速度より早くなってしまう。より高速な定速区間を有する指令ブロックに他の指令ブロックの定速区間における速度の所定定速区間を設け、設けた定速区間の移動距離分だけより高速な定速区間を短くしたことで、数値制御装置30は、高速な指令ブロックの所定の終了位置における速度と予め設定された速度との差を少なくできる。数値制御装置30は、低速な指令ブロックから高速な指令ブロックに加速を開始する所定の位置のズレを少なくできる。 In the above embodiment, the numerical control device 30 performs the first process when the first process and the second process are coaxial and in the same direction and the command speed of the first process is faster than the command speed of the second process. At the end, a predetermined constant speed section of the command speed of the second process is provided as an acceleration / deceleration curve of the first process, and the section of the command speed of the first process is shortened by the moving distance of the provided constant speed section. The numerical control device 30 filters the acceleration / deceleration curve after providing a predetermined constant speed section with a moving average filter, and controls the speed based on the filtered acceleration / deceleration curve. When the command speed of the first process is slower than the command speed of the second process, the numerical control device 30 sets the command speed of the first process as a predetermined acceleration / deceleration curve of the second process at the start of the second process. A constant speed section is provided, and the section of the command speed of the second process is shortened by the moving distance of the provided constant speed section. The numerical control device 30 provides a predetermined constant speed section, filters the acceleration / deceleration curve after shortening the other constant speed sections by the moving distance of the provided constant speed section with a moving average filter, and accelerates / decelerates after filtering. Control the speed based on the curve. When the acceleration / deceleration curve is filtered by the moving average filter, a time delay occurs, so that the speed at the predetermined position becomes faster than the preset speed at the predetermined position. By providing a predetermined constant speed section of the speed in the constant speed section of another command block in the command block having a higher speed constant speed section, and shortening the higher speed constant speed section by the moving distance of the provided constant speed section. The numerical control device 30 can reduce the difference between the speed at a predetermined end position of the high-speed command block and the preset speed. The numerical control device 30 can reduce the deviation of the predetermined position at which acceleration starts from the low-speed command block to the high-speed command block.

上記実施形態では、数値制御装置30は、所定定速区間として、時間が移動平均フィルタの時定数TFの半分の区間を設ける。所定定速区間における速度を低速な処理の指令速度とし、時間を移動平均フィルタの時定数TFの半分にすることで、高速な処理の指令終了位置における速度が所定の速度と等しくなる。数値制御装置30は、低速な指令ブロックの所定の終了位置から高速な指令ブロックに加速を開始できる。 In the above embodiment, the numerical control device 30 provides a section of half the time constant TF of the moving average filter as a predetermined constant speed section. By setting the speed in the predetermined constant speed section as the command speed for the low-speed processing and setting the time to half the time constant TF of the moving average filter, the speed at the command end position of the high-speed processing becomes equal to the predetermined speed. The numerical control device 30 can start accelerating from a predetermined end position of the low-speed command block to the high-speed command block.

上記実施形態では、より高速な指令速度の処理は、テーブル10の早送りであり、他の処理は、切削送りである。早送りから切削送りに移行する場合には、切削送り開始位置の速度が切削送りの速度となるので、数値制御装置30は、加工不良を低減できる。切削送りから早送りに移行する場合には、切削送りの終了位置で加速を開始するので、数値制御装置30は、切削送りの終了前に加速することを防ぐことができ、加工不良を低減できる。 In the above embodiment, the processing of the higher command speed is the fast-forwarding of the table 10, and the other processing is the cutting feed. In the case of shifting from fast feed to cutting feed, the speed at the cutting feed start position becomes the cutting feed speed, so that the numerical control device 30 can reduce machining defects. When shifting from cutting feed to fast feed, acceleration is started at the end position of cutting feed, so that the numerical control device 30 can prevent acceleration before the end of cutting feed, and can reduce machining defects.

上記実施形態では、より高速な指令速度の処理は、主軸ヘッド7の早送りであり、他の処理は、ATC領域での送りである。工具交換時に主軸ヘッド7の速度が予め設定された速度となるので、数値制御装置30は、高速で主軸9がグリップアーム90の把持部91にぶつかるのを防止できる。故に、数値制御装置30は、工作機械1の振動を低減できる。数値制御装置30は、ATC領域における予め設定された位置から早送りの速度に加速できる。 In the above embodiment, the processing of the higher command speed is the fast-forwarding of the spindle head 7, and the other processing is the feeding in the ATC region. Since the speed of the spindle head 7 becomes a preset speed at the time of tool change, the numerical control device 30 can prevent the spindle 9 from hitting the grip portion 91 of the grip arm 90 at high speed. Therefore, the numerical control device 30 can reduce the vibration of the machine tool 1. The numerical control device 30 can accelerate to a fast-forward speed from a preset position in the ATC region.

上記実施形態では、数値制御装置30は、第一処理と第二処理が同軸上且つ同一方向であるか判定し、第一処理と第二処理が同軸上且つ同一方向であると判定した場合のみ、加減速曲線に所定定速区間を設け、所定定数区間を設け、設けた定速区間の移動距離分だけ他の定速区間を短くした後の加減速曲線を移動平均フィルタでフィルタリングする。第一処理と第二処理が同軸上且つ同一方向でない場合に、加減速曲線を移動平均フィルタによりフィルタリングするのは適切ではない。故に、数値制御装置30は、無駄な処理を省き、必要に応じて加減速曲線を移動平均フィルタによりフィルタリングできる。 In the above embodiment, the numerical control device 30 determines whether the first process and the second process are coaxial and the same direction, and only when it is determined that the first process and the second process are coaxial and the same direction. , A predetermined constant speed section is provided in the acceleration / deceleration curve, a predetermined constant speed section is provided, and the acceleration / deceleration curve after shortening the other constant speed sections by the moving distance of the provided constant speed section is filtered by the moving average filter. It is not appropriate to filter the acceleration / deceleration curve with a moving average filter when the first process and the second process are not coaxial and in the same direction. Therefore, the numerical control device 30 can omit unnecessary processing and filter the acceleration / deceleration curve by the moving average filter as needed.

上記実施形態では、曲線は、直線を含む概念である。第一処理及び第二処理へ加減速する際の曲線が直線であっても、直線は点対称なので、同様の効果を奏する。 In the above embodiment, the curve is a concept including a straight line. Even if the curve for accelerating or decelerating to the first process and the second process is a straight line, the straight line is point-symmetrical, so that the same effect can be obtained.

上記実施形態に限らず各種変形が可能なことはいうまでもない。上記実施形態のフィルタリング前の加減曲線は加減速部分が点対称である。これに限定されるわけではなく、フィルタリング前の加減曲線は加減速部分が点対称でなくても良い。加減速部分が点対称でなくても、数値制御装置30は、高速な指令ブロックの所定の終了位置における速度と予め設定された速度との差を少なくできる。数値制御装置30は、低速な指令ブロックから高速な指令ブロックに加速を開始する所定の位置のズレを少なくできる。 Needless to say, various modifications are possible not only in the above embodiment. The acceleration / deceleration portion of the acceleration / deceleration curve before filtering in the above embodiment is point-symmetrical. The acceleration / deceleration portion of the acceleration / deceleration curve before filtering does not have to be point-symmetrical. Even if the acceleration / deceleration portion is not point-symmetrical, the numerical control device 30 can reduce the difference between the speed at a predetermined end position of the high-speed command block and the preset speed. The numerical control device 30 can reduce the deviation of the predetermined position at which acceleration starts from the low-speed command block to the high-speed command block.

上記実施形態のアンクランプカム66はレバー部材60に固定し、アンクランプカム66のカム面を摺動するアンクランプローラ67をコラム5側に支持する。これに限定されるものではなく、アンクランプローラ67をレバー部材60に支持し、アンクランプカム66をコラム5側に固定しても良い。 The unclamp cam 66 of the above embodiment is fixed to the lever member 60, and the unclamp roller 67 sliding on the cam surface of the unclamp cam 66 is supported on the column 5 side. Not limited to this, the unclamp roller 67 may be supported on the lever member 60, and the unclamp cam 66 may be fixed to the column 5 side.

上記実施形態において、指令速度が異なる第一処理と第二処理を例に説明した。しかしながら、これに限定されるわけではなく、前後の処理の指令速度が異なれば、同軸上且つ同一方向の三以上の処理の加減速曲線に対しても、上述したアルゴリズムが適用できる。 In the above embodiment, the first process and the second process having different command speeds have been described as an example. However, the present invention is not limited to this, and if the command speeds of the front and rear processes are different, the above-mentioned algorithm can be applied to the acceleration / deceleration curves of three or more processes coaxially and in the same direction.

上記実施形態において、フィルタリング前の加減速曲線の加減速部分は直線のみ又は曲線のみであったが、一方が直線で、他方が点対称の曲線であっても良い。 In the above embodiment, the acceleration / deceleration portion of the acceleration / deceleration curve before filtering is only a straight line or only a curve, but one may be a straight line and the other may be a point-symmetrical curve.

上記実施形態の駆動回路51A~55Aは数値制御装置30に設けているが、工作機械1に設けても良い。 Although the drive circuits 51A to 55A of the above embodiment are provided in the numerical control device 30, they may be provided in the machine tool 1.

上記実施形態の工作機械1は、主軸9がZ軸方向に延びる立型工作機械であるが、主軸9が水平方向に延びる横型工作機械であっても良い。 The machine tool 1 of the above embodiment is a vertical machine tool in which the spindle 9 extends in the Z-axis direction, but may be a horizontal machine tool in which the spindle 9 extends in the horizontal direction.

本実施形態はCPU31の代わりに、マイクロコンピュータ、ASIC(Application Specific Integrated Circuits)、FPGA(Field Programmable Gate Array)等を、プロセッサとして用いても良い。CPU31とFPGA等によりプロセッサを実現しても良い。設定・確認処理は、複数のプロセッサによって分散処理しても良い。プログラムを記憶するROMと記憶装置は、例えばHDDと他の非一時的な記憶媒体の少なくとも一方で構成しても良い。非一時的な記憶媒体は、情報を記憶する期間に関わらず、情報を留めておくことが可能な記憶媒体であれば良い。非一時的な記憶媒体は、一時的な記憶媒体(例えば伝送される信号)を含まなくても良い。設定・確認処理プログラム、NCプログラム等の各種プログラムは、例えば、図示外のネットワークに接続されたサーバからダウンロードして(即ち、伝送信号として送信され)、フラッシュメモリ等の記憶装置等に記憶しても良い。この時、プログラムは、サーバに備えられたHDDなどの非一時的な記憶媒体に保存していれば良い。 In this embodiment, instead of the CPU 31, a microcomputer, an ASIC (Application Specific Integrated Circuits), an FPGA (Field Programmable Gate Array), or the like may be used as a processor. A processor may be realized by a CPU 31, FPGA, or the like. The setting / confirmation process may be distributed processing by a plurality of processors. The ROM and storage device for storing the program may be configured, for example, at least one of an HDD and another non-temporary storage medium. The non-temporary storage medium may be any storage medium capable of retaining information regardless of the period for storing the information. The non-temporary storage medium may not include a temporary storage medium (eg, a signal to be transmitted). Various programs such as setting / confirmation processing programs and NC programs are, for example, downloaded from a server connected to a network (not shown) (that is, transmitted as a transmission signal) and stored in a storage device such as a flash memory. Is also good. At this time, the program may be stored in a non-temporary storage medium such as an HDD provided in the server.

<その他>
第一処理、第二処理は、本発明の「指令ブロック」の一例である。
<Others>
The first process and the second process are examples of the "command block" of the present invention.

7 主軸ヘッド
10 テーブル
30 数値制御装置
31 CPU
TF 時定数
7 Spindle head 10 Table 30 Numerical control device 31 CPU
TF time constant

Claims (7)

主軸ヘッド又は加工対象を載置するテーブルをNCプログラムと所定の加減速に従って加減速曲線を作成し、該加減速曲線を移動平均フィルタでフィルタリングして制御する速度制御部を備えた数値制御装置において
前記NCプログラムは、一定の速度で移動する第一定速区間を有する第一指令ブロックと、前記第一定速区間における前記速度と異なる一定の速度で移動する第二定速区間を有する第二指令ブロックを有し、
前記第一指令ブロックと前記第二指令ブロックは連続し且つ同軸上同一方向に移動する指令であり、
前記加減速曲線の前記第一定速区間から前記第二定速区間へ加減速する部分は曲線且つ点対称であり、
前記速度制御部は、
前記第一定速区間の方が前記第二定速区間よりも高速の時、前記第一指令ブロックの終了部分に、前記第二定速区間における前記速度で移動する所定定速区間を設け且つ前記第一定速区間を前記所定定速区間の移動距離分短くした加減速曲線を作成し、
前記第二定速区間の方が前記第一定速区間よりも高速の時、前記第二指令ブロックの開始部分に、前記第一定速区間における前記速度で移動する所定定速区間を設け且つ前記所定定速区間の移動距離分短くした加減速曲線を作成する処理を行うことを特徴とする数値制御装置。
In a numerical control device equipped with a speed control unit that creates an acceleration / deceleration curve according to an NC program and a predetermined acceleration / deceleration on a table on which a spindle head or a machining target is placed, and filters the acceleration / deceleration curve with a moving average filter to control the acceleration / deceleration curve. ,
The NC program has a first command block having a first constant speed section that moves at a constant speed, and a second constant speed section that moves at a constant speed different from the speed in the first constant speed section. Has a second command block
The first command block and the second command block are commands that move continuously and coaxially in the same direction.
The portion of the acceleration / deceleration curve that accelerates / decelerates from the first constant speed section to the second constant speed section is curved and point-symmetrical.
The speed control unit
When the first constant speed section is faster than the second constant speed section, a predetermined constant speed section that moves at the speed in the second constant speed section is provided at the end portion of the first command block. An acceleration / deceleration curve is created by shortening the first constant speed section by the moving distance of the predetermined constant speed section.
When the second constant speed section is faster than the first constant speed section, a predetermined constant speed section that moves at the speed in the first constant speed section is provided at the start portion of the second command block. A numerical control device characterized by performing a process of creating an acceleration / deceleration curve shortened by the moving distance in the predetermined constant speed section.
前記所定定速区間は前記移動平均フィルタの時定数の半分の区間であることを特徴とする請求項1に記載の数値制御装置。 The numerical control device according to claim 1, wherein the predetermined constant speed section is a section obtained by half of the time constant of the moving average filter. 前記第一指令ブロックが前記テーブルの早送りブロックで、前記第二指令ブロックが切削送りブロックの場合、前記第一定速区間の方が前記第二定速区間よりも高速であって、
前記第一指令ブロックが前記切削送りブロックで、前記第二指令ブロックが前記テーブルの早送りブロックの場合、前記第二定速区間の方が前記第一定速区間よりも高速であることを特徴とする請求項1又は2に記載の数値制御装置。
When the first command block is the fast-forward block of the table and the second command block is the cutting feed block, the constant speed section is faster than the second constant speed section.
When the first command block is the cutting feed block and the second command block is the fast-forward block of the table, the second constant speed section is faster than the constant speed section. The numerical control device according to claim 1 or 2 .
前記第一指令ブロックが前記主軸ヘッドの早送りブロックで、前記第二指令ブロックが工具交換指令ブロックの場合、前記第一定速区間の方が前記第二定速区間よりも高速であって、
前記第一指令ブロックが前記工具交換指令ブロックで、前記第二指令ブロックが前記主軸ヘッドの早送りブロックの場合、前記第二定速区間の方が前記第一定速区間よりも高速であることを特徴とする請求項1~3の何れか一に記載の数値制御装置。
When the first command block is the fast-forward block of the spindle head and the second command block is the tool change command block, the constant speed section is faster than the second constant speed section.
When the first command block is the tool change command block and the second command block is the fast-forward block of the spindle head, the second constant speed section is faster than the first constant speed section. The numerical control device according to any one of claims 1 to 3, wherein the numerical control device is characterized.
前記第一指令ブロックと前記第二指令ブロックが前記同軸上且つ前記同一方向の区間であるか判定する判定部を備え、
前記速度制御部は、前記判定部が、前記第一指令ブロックと前記第二指令ブロックは前記同軸上且つ前記同一方向の区間であると判定した場合のみ前記処理を行うことを特徴とする請求項1~の何れか一に記載の数値制御装置。
A determination unit for determining whether the first command block and the second command block are on the same axis and in the same direction is provided.
The speed control unit is characterized in that the processing is performed only when the determination unit determines that the first command block and the second command block are on the same axis and in the same direction. The numerical control device according to any one of claims 1 to 4 .
前記加減速曲線は、直線を含むことを特徴とする請求項1~の何れか一に記載の数値制御装置。 The numerical control device according to any one of claims 1 to 5 , wherein the acceleration / deceleration curve includes a straight line. 主軸ヘッド又は加工対象を載置するテーブルをNCプログラムと所定の加減速に従って加減速曲線を作成し、該加減速曲線を移動平均フィルタでフィルタリングして制御する速度制御ステップを備えた数値制御装置の速度制御方法において
前記NCプログラムは、一定の速度で移動する第一定速区間を有する第一指令ブロックと前記第一定速区間における前記速度と異なる一定速度で移動する第二定速区間を有する第二指令ブロックを有し、
前記第一指令ブロックと前記第二指令ブロックは連続し且つ同軸上同一方向に移動する指令であり、
前記加減速曲線の前記第一定速区間から前記第二定速区間へ加減速する部分は曲線且つ点対称であり、
前記速度制御ステップは、
前記第一定速区間の方が前記第二定速区間よりも高速の時、前記第一指令ブロックの終了部分に、前記第二定速区間における前記速度で移動する所定定速区間を設け且つ前記第一定速区間を前記所定定速区間の移動距離分短くした加減速曲線を作成し
前記第二定速区間の方が前記第一定速区間よりも高速の時、前記第二指令ブロックの開始部分に、前記第一定速区間における前記速度で移動する前記所定定速区間を設け且つ前記所定定速区間の移動距離分短くした加減速曲線を作成することを特徴とする速度制御方法。
A numerical control device equipped with a speed control step for creating an acceleration / deceleration curve according to an NC program and a predetermined acceleration / deceleration on a table on which a spindle head or a machining target is placed and filtering the acceleration / deceleration curve with a moving average filter to control the acceleration / deceleration curve. In the speed control method
The NC program has a first command block having a first constant speed section moving at a constant speed, and a second command having a second constant speed section moving at a constant speed different from the speed in the first constant speed section. Have a block,
The first command block and the second command block are commands that move continuously and coaxially in the same direction.
The portion of the acceleration / deceleration curve that accelerates / decelerates from the first constant speed section to the second constant speed section is curved and point-symmetrical.
The speed control step is
When the first constant speed section is faster than the second constant speed section, a predetermined constant speed section that moves at the speed in the second constant speed section is provided at the end portion of the first command block. An acceleration / deceleration curve is created by shortening the first constant speed section by the moving distance of the predetermined constant speed section.
When the second constant speed section is faster than the first constant speed section, the predetermined constant speed section that moves at the speed in the first constant speed section is provided at the start portion of the second command block. Moreover , a speed control method characterized by creating an acceleration / deceleration curve shortened by the moving distance in the predetermined constant speed section.
JP2017208789A 2017-10-30 2017-10-30 Numerical control device and speed control method Active JP7062917B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017208789A JP7062917B2 (en) 2017-10-30 2017-10-30 Numerical control device and speed control method
CN201811277357.9A CN109725605B (en) 2017-10-30 2018-10-30 Numerical control device and speed control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017208789A JP7062917B2 (en) 2017-10-30 2017-10-30 Numerical control device and speed control method

Publications (2)

Publication Number Publication Date
JP2019082774A JP2019082774A (en) 2019-05-30
JP7062917B2 true JP7062917B2 (en) 2022-05-09

Family

ID=66295449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017208789A Active JP7062917B2 (en) 2017-10-30 2017-10-30 Numerical control device and speed control method

Country Status (2)

Country Link
JP (1) JP7062917B2 (en)
CN (1) CN109725605B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552239B (en) * 2019-06-03 2021-09-10 江西正皓瑞森精密智能制造有限公司 Cutter feeding speed control method and device and numerical control machining terminal
CN111813053A (en) * 2020-07-31 2020-10-23 上海维宏电子科技股份有限公司 Method and device for controlling corner speed overrun caused by speed filtering in numerical control system and storage medium thereof
CN113031525B (en) * 2021-03-03 2022-06-21 福州大学 Polynomial acceleration and deceleration motion control method and device applied to numerical control machining

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306118A (en) 2000-04-21 2001-11-02 Mitsubishi Electric Corp Control device and control method for mechanical system
JP2016081172A (en) 2014-10-14 2016-05-16 ファナック株式会社 Numerical control device provided with overlap function between discretionary blocks by common acceleration/deceleration control unit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0722860B2 (en) * 1990-03-15 1995-03-15 ブラザー工業株式会社 Automatic tool changer for machine tools
JP2925414B2 (en) * 1992-10-23 1999-07-28 株式会社 牧野フライス製作所 Speed control method and apparatus for numerically controlled machine tool
JP3536719B2 (en) * 1999-04-15 2004-06-14 日産自動車株式会社 Automatic tool changer
JP5482639B2 (en) * 2010-12-13 2014-05-07 ブラザー工業株式会社 Numerical control device, control program, and storage medium
CN103801973B (en) * 2012-11-09 2016-12-21 沈阳高精数控智能技术股份有限公司 The optimal control method of servomotor based on servo saddle controller
JP6051937B2 (en) * 2013-02-27 2016-12-27 ブラザー工業株式会社 Numerical controller
JP2015104766A (en) * 2013-11-29 2015-06-08 ブラザー工業株式会社 Tool changer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306118A (en) 2000-04-21 2001-11-02 Mitsubishi Electric Corp Control device and control method for mechanical system
JP2016081172A (en) 2014-10-14 2016-05-16 ファナック株式会社 Numerical control device provided with overlap function between discretionary blocks by common acceleration/deceleration control unit

Also Published As

Publication number Publication date
CN109725605B (en) 2021-09-21
JP2019082774A (en) 2019-05-30
CN109725605A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
JP7062917B2 (en) Numerical control device and speed control method
JP6617474B2 (en) Numerical control device and control method
JP6051937B2 (en) Numerical controller
CN108983697B (en) Numerical controller and machine tool control method
JP6107306B2 (en) Numerical control apparatus and drive control method
EP3278925B1 (en) Tool path-generating and drilling method
JP6912276B2 (en) Machine Tools
EP3432100A1 (en) Machining time prediction device, cutting system, and machining time prediction method
CN106814691B (en) Numerical control device and control method
US8632283B2 (en) Machine tool
CN101316679A (en) Method of reducing vibrations, occurring during a machining operation, of a machine element and/or of a workpiece
JP6268961B2 (en) Machine Tools
JP6693409B2 (en) Numerical control device and control method
JP6819414B2 (en) Numerical control device and control method
JP2003225806A (en) Frame structure for compound nc lathe
JP7035875B2 (en) Numerical control device, numerical control method, and numerical control program
JP2010055161A (en) Numerical control device of machine tool
JP2019177469A (en) Machine tool and smoothing method
JP2002001632A (en) Control device for automatic lathe
US9740196B2 (en) Numerical controller for controlling drilling operation
JP2019107751A (en) Machine tool, processing method, and processing program
JP7131454B2 (en) Numerical controllers, machine tools, control programs, and storage media
CN107885167B (en) Numerical controller
JP5143661B2 (en) NC lathe control method and control device
WO2023112136A1 (en) Machine tool

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180620

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210831

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211028

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220404

R150 Certificate of patent or registration of utility model

Ref document number: 7062917

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150