JPH01153219A - Thread cutting nc device for nc lathe - Google Patents
Thread cutting nc device for nc latheInfo
- Publication number
- JPH01153219A JPH01153219A JP30762887A JP30762887A JPH01153219A JP H01153219 A JPH01153219 A JP H01153219A JP 30762887 A JP30762887 A JP 30762887A JP 30762887 A JP30762887 A JP 30762887A JP H01153219 A JPH01153219 A JP H01153219A
- Authority
- JP
- Japan
- Prior art keywords
- deviation
- detected
- feed
- spindle
- synchronization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000001360 synchronised effect Effects 0.000 claims abstract description 9
- 238000001514 detection method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明はNC(数値制御)旋盤でねじ切りを行うための
NC装置に関し、特に、スピンドルの回転と刃物の送り
軸との同期誤差を排除するための改良に関ずろ。[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to an NC device for thread cutting on an NC (numerically controlled) lathe, and in particular, to eliminate synchronization errors between the rotation of a spindle and the feed axis of a cutter. Related to improvements.
〈従来の技術〉
NC旋盤におけるねじ切りは、スピンドルの回転に同期
して、刃物(工具)が付いている送り軸を移動させるこ
とにより行われる。<Prior Art> Thread cutting on an NC lathe is performed by moving a feed shaft to which a cutter (tool) is attached in synchronization with the rotation of a spindle.
そのための従来のねじ切りNC装置は、第2図に示すブ
ロック構成となっている。第2図においてスピンドル回
転微設定器1によりスピンドルの回転速度(θV)を設
定し、スピンドルサーボアンプ2によりスピンドルモー
タ3を回転駆動する。A conventional thread cutting NC device for this purpose has a block configuration shown in FIG. In FIG. 2, a spindle rotation speed (θV) is set by a spindle rotation fine setting device 1, and a spindle motor 3 is rotationally driven by a spindle servo amplifier 2.
スピンドルモータ3の回転角度(θ′)を回転角度検出
器4により検出し、検出した回転角度にねじのリードに
よって決まるねじ倍率(K、)をねじ定数掛算器5で掛
けて、送り軸の指令位置(θ)を出力する。The rotation angle (θ') of the spindle motor 3 is detected by the rotation angle detector 4, and the detected rotation angle is multiplied by the screw magnification (K,) determined by the screw lead by the screw constant multiplier 5, and the feed axis command is obtained. Output the position (θ).
一方、送り軸の現在位置(P)を位置検出器9により検
出し、指令位置と現在位置との位e偏差(e)即ち同期
偏差を同期偏差演算器6により求め、求めた偏差に比例
した速度で、送りサーボアンプ7により送りサーボモー
タ8を回転駆動する。On the other hand, the current position (P) of the feed axis is detected by the position detector 9, the position deviation (e) between the command position and the current position, that is, the synchronization deviation is calculated by the synchronization deviation calculator 6, and the The feed servo motor 8 is rotationally driven by the feed servo amplifier 7 at the same speed.
ここで、同期の関係は以下の通りである。Here, the synchronization relationship is as follows.
まず、スピンドル回転速度なθ9、時間をtとすると、
スピンドルモータ3の回転角度θ′は
θ′=θ ・t ・・・式(1)また、
ねじ倍率をKとすると、ねじ定数掛算器5が出力する指
令位置θは
θ=K・θ′
=K・θ ・t ・・・式(2)一方、送
り軸の実際の位置をPとすると、位置の同期偏差eは
e=θ−P
=K ・θ ・t−P ・・式(3)また、
同期偏差eと送り軸の現在位置Pとの関係は、
P=e −t ・・式(4)従っ
て、同期偏差eは式(3)と式(4)より、e=K ・
θ ・’ (11+t)
−→ K 、θ ・・・式(5)〈発明が解決
しようとする問題点〉
前述の如く、従来の技術ではスピンドル回転速度θ、に
比例し、時間tに依存する同期偏差eがあり、同期に誤
差が生じる。First, let θ9 be the spindle rotation speed and t be the time.
The rotation angle θ' of the spindle motor 3 is θ'=θ・t...Equation (1) Also,
When the screw magnification is K, the command position θ output by the screw constant multiplier 5 is θ=K・θ' =K・θ・t...Formula (2) On the other hand, when the actual position of the feed axis is P , the synchronization deviation e of the position is e=θ−P =K ・θ ・t−P ・・Equation (3) Also,
The relationship between the synchronization deviation e and the current position P of the feed axis is P = e - t...Formula (4) Therefore, the synchronization deviation e is determined by Equation (3) and Equation (4), e = K.
θ ・' (11+t) −→ K , θ ...Equation (5) <Problem to be solved by the invention> As mentioned above, in the conventional technology, the spindle rotation speed θ is proportional to the rotation speed θ, and it depends on the time t. There is a synchronization deviation e, which causes an error in synchronization.
従って、スピンドル回転速度θ、が変化あるいは変動す
ると、送り軸の位置との同期偏差が変化することにより
、ねじ切り精度が悪化するという欠点がある。Therefore, when the spindle rotational speed θ changes or fluctuates, the synchronization deviation with the position of the feed shaft changes, resulting in a disadvantage that thread cutting accuracy deteriorates.
また、送り速度が変化するねじ切り開始時と、終了時に
は同様の同期誤差が生じてしまい、不完全ねじ部が生じ
るが、その最小化のためには位置ループゲインの増大、
加減速時定数の短縮しか手段がなく、容易ではなかった
。In addition, similar synchronization errors occur at the start and end of thread cutting when the feed rate changes, resulting in incomplete threads, but in order to minimize this, increasing the position loop gain,
The only option was to shorten the acceleration/deceleration time constant, which was not easy.
本発明は上述した従来技術の問題点に鑑み、同期誤差を
排除したNC旋盤用ねじ切りNC装置を提供することを
目的とする。SUMMARY OF THE INVENTION In view of the problems of the prior art described above, it is an object of the present invention to provide a thread cutting NC device for an NC lathe that eliminates synchronization errors.
く問題点を解決するための手段〉
本発明によるNC旋盤用ねじ切りNC装置は、スピンド
ルモータの回転速度を設定するスピンドル回転数設定手
段と、設定された回転速度でスピンドルモータを回転さ
せるスピンドルサーボアンプと、スピンドルモータの回
転角度を検出する回転角度検出手段と、検出した回転角
度にねじ倍率を掛けて送り軸の指令位置を算出するねじ
定数掛算手段と、スピンドルモータの回転速度を検出す
る回転速度検出手段と、検出した回転速度にねじ倍率を
掛けて同期補正量を算出する同期偏差量算出手段と、送
り軸の指令位置に同期補正量を加算して送り軸の仮の指
令位置とする位置加算手段と、送り軸の位置を検出する
位置検出手段と、仮の指令位置と検出した位置との偏差
を求める同期偏差演算手段と、求めた偏差に比例した速
度で送りサーボモータを駆動する送りサーボアンプ、と
を具備することを特徴とする。Means for Solving Problems> The thread cutting NC device for an NC lathe according to the present invention includes a spindle rotation speed setting means for setting the rotation speed of a spindle motor, and a spindle servo amplifier for rotating the spindle motor at the set rotation speed. , a rotation angle detection means for detecting the rotation angle of the spindle motor, a screw constant multiplication means for calculating the command position of the feed shaft by multiplying the detected rotation angle by a screw magnification, and a rotation speed for detecting the rotation speed of the spindle motor. a detection means, a synchronization deviation amount calculation means that calculates a synchronization correction amount by multiplying the detected rotational speed by a screw magnification, and a position that adds the synchronization correction amount to the command position of the feed axis to obtain a temporary command position of the feed axis. an addition means, a position detection means for detecting the position of the feed axis, a synchronous deviation calculation means for calculating the deviation between the temporary command position and the detected position, and a feed for driving the feed servo motor at a speed proportional to the calculated deviation. A servo amplifier.
く作 用〉
上記構成において、スピンドルモータの回転速度をθ9
、ねじ倍率をKvとすると、同期補正量Δθは従来の同
期偏差量と同じであり、Δθ=K ・θ
・・・式(6)また、スピンドルモータの回転速度を
θ′とすると、送り軸の真の指令位置θは削成(2)の
通り
θ=K ・θ′
−に、θ 、t ・・・式(2)従って、
θ。を仮の指令位置とすると、θ = θ +Δ θ
二 〇 十 K ・ θ
=に、・θ、(1+t) =・式(7)となり
、予め同期偏差量を見込んだ値となる。Function> In the above configuration, the rotation speed of the spindle motor is set to θ9.
, when the screw magnification is Kv, the synchronization correction amount Δθ is the same as the conventional synchronization deviation amount, and Δθ=K ・θ
...Equation (6) Also, if the rotational speed of the spindle motor is θ', the true command position θ of the feed axis is θ=K ・θ′ − as shown in (2), and θ, t ・・・Equation (2) Therefore,
θ. If θ is a temporary command position, then θ = θ + Δθ 201 K · θ = θ, (1+t) = Equation (7), which is a value that takes into account the amount of synchronization deviation in advance.
一方、送り軸の実際の位置をPとすると、仮の指令位置
θ。に対する同期偏差eはe = θ −P
=K・θ (1−1−t) −P ・・・式(8)
であり、また削成(4)の通り
P=e −t ・・・式(4)式
(8)と式(4)より、同期偏差量eはe=K ・θ
・・・式(9)となるが、この同期
偏差量eは仮の指令位置θ−と対するものであり、式(
7)、より真の指令位置θはθ=θ。−に、・θ、であ
るから、真の同期偏差はゼロである。On the other hand, if the actual position of the feed axis is P, then the tentative command position θ. The synchronization deviation e from
And, as in Equation (4), P=e −t ... From Equation (4), Equation (8), and Equation (4), the synchronization deviation amount e is e=K ・θ
...Equation (9) is obtained, but this synchronization deviation amount e is with respect to the temporary command position θ-, and the equation (
7), the truer command position θ is θ=θ. -, ·θ, so the true synchronization deviation is zero.
従って、スピンドルの回転と刃物の送り軸の移動との同
期誤差が排除され、ねじ切りが高精度となり、また、不
完全ねじ部が短くなる。Therefore, synchronization errors between the rotation of the spindle and the movement of the feed shaft of the cutter are eliminated, thread cutting becomes highly accurate, and incomplete threads are shortened.
く実 施 例〉
第1図を参照して本発明によるNC*盤用ねじ切りNC
装置の一実施例を説明する。第1図に示す実施例のねじ
切りNC装置は、第2図の従来装置に、同期偏差it算
出器10と、位置加算器11と、回転速度検出器12と
を付加して構成しである。Embodiment Example With reference to FIG.
An example of the device will be described. The thread cutting NC device of the embodiment shown in FIG. 1 is constructed by adding a synchronization deviation it calculator 10, a position adder 11, and a rotational speed detector 12 to the conventional device shown in FIG.
第1図において、スピンドル回転数設定器1によりスピ
ンドルモータ3の回転進度θ、を設定し、スピンドルサ
ーボアンプ2によりスピンドルモータ3rf!設定速度
通りに回転駆動する。In FIG. 1, the spindle rotation speed setting device 1 sets the rotational progress θ of the spindle motor 3, and the spindle servo amplifier 2 sets the rotational progress θ of the spindle motor 3rf! Rotates according to the set speed.
スピンドルモータ3の回転に対し、回転角度検出器4に
より回転角度θ′を検出し、検出角度θ′をねし定数掛
算器5に与える。ねじ定数掛算器5はねじのリードで決
まるねじ倍率Kを検出角度θ′に掛け、送り軸の真の指
令位置θを位置加算器11に与える。With respect to the rotation of the spindle motor 3, a rotation angle θ' is detected by a rotation angle detector 4, and the detected angle θ' is provided to a Ness constant multiplier 5. The screw constant multiplier 5 multiplies the detected angle θ' by a screw magnification K determined by the lead of the screw, and provides the position adder 11 with the true commanded position θ of the feed shaft.
また、回転速度検出器12によりスピンドルモータ3の
実際の回転速度θ、を検出し、検出速度θ9を同期偏差
演算器10に与える。Further, the actual rotational speed θ of the spindle motor 3 is detected by the rotational speed detector 12, and the detected speed θ9 is provided to the synchronization deviation calculator 10.
同期偏差演算器10は、ねじ倍率に、を検出速度θ、に
掛け、同期補正量Δθを位置加算器11に与えろ。Δθ
= K、・θ9であり、Δθは従来の同期偏差量と同じ
。The synchronization deviation calculator 10 multiplies the screw magnification by the detected speed θ, and provides the synchronization correction amount Δθ to the position adder 11. Δθ
= K, ·θ9, and Δθ is the same as the conventional synchronization deviation amount.
真の指令値θと同期補正量Δθとを位置加算器11が加
算し、θ+Δθを仮の指令位置θ。として同期偏差演算
器6に与える。A position adder 11 adds the true command value θ and the synchronization correction amount Δθ, and sets θ+Δθ as a temporary command position θ. It is given to the synchronization deviation calculator 6 as .
同期偏差演算器6は、仮の指令位置θ。と、位置検出器
9で検出した送り軸の位置Pとの偏差eを求め、送りサ
ーボアンプ7に与える。The synchronization deviation calculator 6 calculates a temporary command position θ. The deviation e between the position P and the position P of the feed axis detected by the position detector 9 is determined and given to the feed servo amplifier 7.
送りサーボアンプ7は、偏差eに比例した速度で送りサ
ーボモータ8を駆動する。The feed servo amplifier 7 drives the feed servo motor 8 at a speed proportional to the deviation e.
動作としては、前述した如く仮の指令位置θ0に同期偏
差量e = K、・θ9が予め見込まれているから、真
の指令位置θに対する同期偏差がゼロとなる。即ち、ス
ピンドルモータの回転角度と刃物の送り軸との同期誤差
がゼロになる。As for the operation, since the synchronization deviation amount e=K,·θ9 is expected in advance for the tentative command position θ0 as described above, the synchronization deviation with respect to the true command position θ becomes zero. That is, the synchronization error between the rotation angle of the spindle motor and the feed axis of the cutter becomes zero.
″ な8、結果的に指令位置θに同期偏差量Δθが加
算されれば良いので、必ずしも演算を分離独立した機器
で行う必要はなく、適宜演算の組合せを変えることがで
きる。8. As a result, the synchronization deviation amount Δθ only needs to be added to the command position θ, so the calculations do not necessarily have to be performed by separate and independent equipment, and the combination of calculations can be changed as appropriate.
〈発明の効果〉
本発明によれば、送り軸の指令位置に同期偏差量を見込
んでおくことにより同期誤差がなくなり、スピンドルモ
ータと送りサーボモータいずれの回転の変化にも影響を
受けることなく、スピンドルの回転と送り軸を高精度に
同期運転することができる。従って、ねじ切り精度が高
精度になり、また不完全ねじ部が短くなる。<Effects of the Invention> According to the present invention, synchronization errors are eliminated by allowing for synchronization deviation in the command position of the feed axis, and the system is not affected by changes in the rotation of either the spindle motor or the feed servo motor. The rotation of the spindle and the feed axis can be operated in synchronization with high precision. Therefore, the thread cutting accuracy becomes high and the incomplete thread portion becomes short.
第1図は本発明の一実施例を示すブロック図、第2図は
従来例のブロック図である。
図面中、
1はスピンドル回転数設定器、
2はスピンドルサーボアンプ、
3はスピンドルモータ、
4は回転角度検出器、
5はねじ定数掛算器、
6は同期偏差演算器、
7は送りサーボアンプ、
8は送りサーボモータ、
9は位置検出器、
10は同期偏差演算器益、
11は位置加算器、
12は回転速度検出器である。FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram of a conventional example. In the drawing, 1 is a spindle rotation speed setting device, 2 is a spindle servo amplifier, 3 is a spindle motor, 4 is a rotation angle detector, 5 is a screw constant multiplier, 6 is a synchronization deviation calculator, 7 is a feed servo amplifier, 8 1 is a feed servo motor, 9 is a position detector, 10 is a synchronous deviation calculation device, 11 is a position adder, and 12 is a rotation speed detector.
Claims (1)
させてねじ切りを行うNC旋盤用ねじ切りNC装置にお
いて、 スピンドルモータの回転速度を設定するスピンドル回転
数設定手段と、設定された回転速度でスピンドルモータ
を回転させるスピンドルサーボアンプと、スピンドルモ
ータの回転角度を検出する回転角度検出手段と、検出し
た回転角度にねじ倍率を掛けて送り軸の指令位置を算出
するねじ定数掛算手段と、スピンドルモータの回転速度
を検出する回転速度検出手段と、検出した回転速度にね
じ倍率を掛けて同期補正量を算出する同期偏差量算出手
段と、送り軸の指令位置に同期補正量を加算して送り軸
の仮の指令位置とする位置加算手段と、送り軸の位置を
検出する位置検出手段と、仮の指令位置と検出した位置
との偏差を求める同期偏差演算手段と、求めた偏差に比
例した速度で送りサーボモータを駆動する送りサーボア
ンプとを具備することを特徴とするねじ切りNC装置。[Scope of Claims] A thread cutting NC device for an NC lathe that performs thread cutting by synchronizing the rotation of a spindle and the movement of a feed shaft equipped with a cutter, comprising: a spindle rotation speed setting means for setting the rotation speed of a spindle motor; a spindle servo amplifier that rotates the spindle motor at the specified rotation speed, a rotation angle detection means that detects the rotation angle of the spindle motor, and a screw constant multiplier that calculates the command position of the feed axis by multiplying the detected rotation angle by a screw magnification. means, a rotation speed detection means for detecting the rotation speed of the spindle motor, a synchronization deviation amount calculation means for calculating a synchronization correction amount by multiplying the detected rotation speed by a screw magnification, and a synchronization correction amount for the command position of the feed axis. position adding means for adding up to obtain a temporary command position of the feed axis; position detection means for detecting the position of the feed axis; synchronous deviation calculation means for calculating the deviation between the temporary command position and the detected position; A thread cutting NC device comprising a feed servo amplifier that drives a feed servo motor at a speed proportional to the deviation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30762887A JPH01153219A (en) | 1987-12-07 | 1987-12-07 | Thread cutting nc device for nc lathe |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30762887A JPH01153219A (en) | 1987-12-07 | 1987-12-07 | Thread cutting nc device for nc lathe |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01153219A true JPH01153219A (en) | 1989-06-15 |
Family
ID=17971323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30762887A Pending JPH01153219A (en) | 1987-12-07 | 1987-12-07 | Thread cutting nc device for nc lathe |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01153219A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03117516A (en) * | 1989-09-28 | 1991-05-20 | Okuma Mach Works Ltd | Threading device |
JPH048423A (en) * | 1990-04-26 | 1992-01-13 | Fanuc Ltd | Tapping method |
-
1987
- 1987-12-07 JP JP30762887A patent/JPH01153219A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03117516A (en) * | 1989-09-28 | 1991-05-20 | Okuma Mach Works Ltd | Threading device |
JPH048423A (en) * | 1990-04-26 | 1992-01-13 | Fanuc Ltd | Tapping method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3129622B2 (en) | Quadrant projection correction method in full closed loop system | |
JPH02290187A (en) | Synchronous control and device therefor | |
JPH0655037B2 (en) | Servo motor speed control method | |
US4386407A (en) | Lathe control system | |
JP2629729B2 (en) | Screw processing equipment | |
US4761597A (en) | Method and system for controlling synchronous drive systems | |
JP2004209558A (en) | Method and apparatus for controlling thread cutting | |
JP2757269B2 (en) | Rotary axis synchronous repetition control method and apparatus | |
JPH01153219A (en) | Thread cutting nc device for nc lathe | |
JPH02311218A (en) | Tapping method | |
WO2021230276A1 (en) | Machine tool control device and control system | |
JPH0651241B2 (en) | Y-axis processing method | |
JPS6222116A (en) | Method and apparatus for controlling angle setting of circular table or the like | |
JP2003047269A (en) | Servo controller | |
JPS63245325A (en) | Thread cutting device | |
JPS63251121A (en) | Screw machining device | |
JP2003271214A (en) | Numerical control device and pitch error correction method therefor | |
JPS63262082A (en) | Controller for motor | |
JPS5939260B2 (en) | Cutting feed control method for machine tools | |
JP2629728B2 (en) | Screw processing equipment | |
JPH0223285B2 (en) | ||
JPS632610A (en) | Thread cutting control method | |
JPH04111752A (en) | Spindle control device | |
JP2576224B2 (en) | Numerical control unit | |
JPS6180304A (en) | Integrated adjustment method of gain of multi-joint robot |