Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0323296B2 - - Google Patents
[go: Go Back, main page]

JPH0323296B2 - - Google Patents

Info

Publication number
JPH0323296B2
JPH0323296B2 JP2239283A JP2239283A JPH0323296B2 JP H0323296 B2 JPH0323296 B2 JP H0323296B2 JP 2239283 A JP2239283 A JP 2239283A JP 2239283 A JP2239283 A JP 2239283A JP H0323296 B2 JPH0323296 B2 JP H0323296B2
Authority
JP
Japan
Prior art keywords
rotation speed
spindle
calculation
control
output
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.)
Expired
Application number
JP2239283A
Other languages
Japanese (ja)
Other versions
JPS59146736A (en
Inventor
Shoji Momoi
Kaneyuki Kajita
Ryoichi Furuhashi
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.)
Yamazaki Mazak Corp
Original Assignee
Yamazaki Mazak Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamazaki Mazak Corp filed Critical Yamazaki Mazak Corp
Priority to JP2239283A priority Critical patent/JPS59146736A/en
Publication of JPS59146736A publication Critical patent/JPS59146736A/en
Publication of JPH0323296B2 publication Critical patent/JPH0323296B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/416Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by control of velocity, acceleration or deceleration
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49375Minimalizing machine time, number of tool change

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Turning (AREA)
  • Automatic Control Of Machine Tools (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は、急激な主軸回転数の変化を抑える、
4軸数値制御旋盤における主軸回転数の制御方法
に関する。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention provides a system for suppressing rapid changes in spindle rotation speed.
The present invention relates to a method for controlling the spindle rotation speed in a 4-axis numerically controlled lathe.

(b) 技術の背景 通常、この種の旋盤においては、一方の刃物台
での加工中に、他方の刃物台による加工が開始さ
れることが多々あるが、こうした場合、主軸回転
数は、第5図に示すように、それまでの1台の刃
物台による加工に適した回転数NAから、2台の
刃物台による加工に適した回転数NBへと切換え
られる。
(b) Background of the technology Normally, in this type of lathe, machining using one turret is often started while the other turret is working, but in such cases, the spindle rotation speed is As shown in Fig. 5, the rotation speed N A suitable for machining with one tool post is changed to the rotation speed N B suitable for machining with two tool rests.

(c) 従来技術と問題点 第4図は主軸回転数切換え時の、工具の退避状
態を示す図、第5図は従来の主軸回転数の変化態
様を示すタイムチヤートである。
(c) Prior art and problems FIG. 4 is a diagram showing the retracted state of the tool when switching the spindle rotation speed, and FIG. 5 is a conventional time chart showing how the spindle rotation speed changes.

従来、こうした主軸回転数の切換えは、第5図
に示すように、ごく短かい時間TSで行なわれて
いたので、回転数の変化が急激に生じ、それに伴
なつて、加工中の工具1がチツピングを起し易く
なり、加工精度が悪化する不都合が生じていた。
Conventionally, as shown in Fig. 5, this switching of the spindle rotation speed was carried out in a very short time T S , so the rotation speed suddenly changed, and the tool 1 during machining was changed accordingly. This has caused problems such as chipping, which deteriorates machining accuracy.

そこで、主軸回転数を切換える際には、第4図
に示すように、それまで加工中の工具1も含めて
各刃物台21,22の工具1をワーク2から退避
させ、主軸回転数が安定したところで、各工具1
によるワーク2の加工を再開していたが、この方
法では、主軸回転数が切換えられる度に、工具1
を切削状態から退避させる必要があるために、全
体の加工時間が長くなり、しかも刃物台21,2
2を制御するための加工プログラムが繁雑化する
欠点があつた。
Therefore, when switching the spindle rotation speed, as shown in Fig. 4, the tools 1 of each tool rest 21, 22, including the tool 1 being processed up to that point, are evacuated from the workpiece 2 to stabilize the spindle rotation speed. Now, each tool 1
However, with this method, every time the spindle speed is changed, tool 1 is restarted.
Since it is necessary to remove the tool from the cutting state, the overall machining time becomes longer, and the tool rests 21, 2
There was a drawback that the machining program for controlling 2 became complicated.

(d) 発明の目的 本発明は、前述の欠点を解消すべく、主軸回転
数がどのように変化しても刃物台を退避させる必
要がなく、しかもチツピングや加工精度の低下を
来たすことなく加工を継続することができ、全体
の加工時間を短縮化し、更に加工プログラムも簡
略化することが可能な4軸数値制御旋盤における
主軸回転数の制御方法を提供することを目的とす
るものである。
(d) Purpose of the Invention In order to eliminate the above-mentioned drawbacks, the present invention eliminates the need to retract the turret no matter how the spindle rotational speed changes, and also enables machining without chipping or deterioration of machining accuracy. It is an object of the present invention to provide a method for controlling the main spindle rotation speed in a four-axis numerically controlled lathe, which allows continuous processing, shortens the overall machining time, and simplifies the machining program.

(e) 発明の構成 即ち、本発明は、加工プログラムの格納された
メモリ、ワークの保持される主軸及び、2個の刃
物台を有する4軸数値制御旋盤において、刃物台
の前記主軸軸心に対して直角な方向の位置を検出
すると共に、前記メモリに格納された加工プログ
ラム中で指令された周速及び前記刃物台の前記軸
心に対して直角な方向の位置に応じて主軸回転数
を演算決定する主軸回転数の第1の演算決定手段
を設け、第1の演算決定手段からの主軸回転数の
変化指令が出力された時点からの遅延時間に応じ
た、所定単位時間毎の目標回転数を演算決定する
第2の演算決定手段を設け、前記主軸の制御手段
を設け、前記主軸の制御手段が現実に制御してい
る回転数と、前記第1の演算決定手段が決定する
主軸回転数との差の、前記現実に制御している回
転数に対する割合を、変化率として演算し、前記
変化率が所定の値を超えた場合に、前記主軸の制
御手段に、前記第1の演算決定手段の出力による
回転数制御から、前記第2の演算決定手段の出力
による回転数制御へ切り換えを指示し得る回転数
比較判定手段を設け、前記主軸の制御手段による
主軸の回転数の制御を、通常の場合は、前記第1
の演算決定手段の演算決定する回転数に基づいて
行ない、前記第1の演算決定手段の演算決定する
回転数が急激に変化した場合には、前記主軸の制
御手段の制御を、前記第1の演算決定手段の出力
による制御から、前記第2の演算決定手段の出力
による制御に切り換え、主軸回転数が急激に変化
することを防止するようにして構成される。
(e) Structure of the Invention In other words, the present invention provides a four-axis numerically controlled lathe having a memory in which a machining program is stored, a main spindle for holding a workpiece, and two tool rests, in which the center of the main shaft of the tool rest is At the same time, the spindle rotational speed is detected in accordance with the circumferential speed commanded in the machining program stored in the memory and the position of the tool post in the direction perpendicular to the axis. A first calculating means for determining the spindle rotational speed to be calculated is provided, and the target rotation is calculated every predetermined unit time according to a delay time from the time when the change command for the spindle rotational speed is outputted from the first calculating means. A second calculation determining means for calculating and determining a number is provided, and a control means for the main spindle is provided, and the rotation speed actually controlled by the main spindle control means and the main shaft rotation determined by the first calculation determining means are provided. The ratio of the difference between the number and the actual controlled rotational speed is calculated as a rate of change, and when the rate of change exceeds a predetermined value, the control means for the main shaft is instructed to perform the first calculation. A rotation speed comparison and determination means capable of instructing a switch from rotation speed control based on the output of the determining means to rotation speed control based on the output of the second calculation determining means is provided, and the rotation speed of the main shaft is controlled by the main shaft control means. , in the normal case, the first
When the rotation speed calculated and determined by the first calculation determining means suddenly changes, the control of the spindle control means is controlled by the first calculation determining means. The control is switched from the control based on the output of the calculation determining means to the control using the output of the second calculation determining means, thereby preventing a sudden change in the spindle rotation speed.

(f) 発明の実施例 以下、図面に基き、本発明を具体的に説明す
る。
(f) Examples of the invention The present invention will be specifically described below based on the drawings.

第1図は本発明が適用された4軸数値制御旋盤
の制御部分の一例を示すブロツク図、第2図は主
軸回転数の制御態様を示すタイムチヤート、第3
図は4軸数値制御旋盤の加工態様を示す図。
Fig. 1 is a block diagram showing an example of the control part of a 4-axis numerically controlled lathe to which the present invention is applied, Fig. 2 is a time chart showing the control mode of the spindle rotation speed, and Fig. 3
The figure shows the machining mode of a 4-axis numerically controlled lathe.

4軸数値制御旋盤3は、第1図に示すように、
主制御部5を有しており、主制御部5にはプログ
ラムメモリ6、目標回転数演算部7、回転数比較
判定部9、主軸制御部10、回転数演算部11及
び送り軸制御部12等がバス線13等を介して接
続している。主軸制御部10には主軸駆動モータ
15が接続しており、送り軸制御部12には第3
図に示す2個の刃物台21,22を駆動させるた
めに設けられた送り軸駆動モータ16,17が接
続している。また、送り軸駆動モータ16,17
にはトランスデユーサ16a,17aが装着され
ており、トランスデユーサ16a,17aは回転
数演算部11に接続している。
The 4-axis numerically controlled lathe 3, as shown in FIG.
The main control section 5 includes a program memory 6, a target rotation speed calculation section 7, a rotation speed comparison and determination section 9, a spindle control section 10, a rotation speed calculation section 11, and a feed axis control section 12. etc. are connected via the bus line 13 etc. A main shaft drive motor 15 is connected to the main shaft control section 10, and a third motor is connected to the feed shaft control section 12.
Feed shaft drive motors 16 and 17 provided to drive the two tool rests 21 and 22 shown in the figure are connected. In addition, the feed shaft drive motors 16, 17
The transducers 16a and 17a are attached to the rotation speed calculating section 11.

また、旋盤3には、第3図に示すように、2個
の刃物台21,22が、主軸軸心方向であるZ軸
23及びZ軸23に直角なX軸方向、即ち矢印
A,B及びC,D方向に移動駆動自在に設けられ
ており、更に主軸には、図示しないチヤツクを介
して、ワーク2が、Z軸23を中心に回転駆動自
在に保持されている。
In addition, as shown in FIG. 3, the lathe 3 has two tool rests 21 and 22 arranged in a Z-axis 23 in the direction of the main shaft axis and in an X-axis direction perpendicular to the Z-axis 23, that is, arrows A and B. Furthermore, the workpiece 2 is held on the main shaft via a chuck (not shown) so as to be freely rotatable around the Z-axis 23.

4軸数値制御旋盤2は、以下のような構成を有
するので、実際の加工は、加工プログラムメモリ
6中の加工プログラムPROに従つて主軸制御部
10及び送り軸制御部12が主軸駆動モータ15
及び送り軸駆動モータ16,17を回転制御する
ことにより行なわれる。即ち、主軸駆動モータ1
5は、加工プログラムPROに指示された周速で
加工が行なわれるように、回転制御され、送り軸
駆動モータ16,17は加工プログラムPROに
示された加工位置に刃物台21,22を移動させ
て、所定の加工を行なう。より詳しく言うなら
ば、モータ16,17にはトランスデユーサ16
a,17aが装着されており、トランスデユーサ
16a,17aからはモータ16,17の回転に
同期して位置パルスPS1,PS2が回転数演算部
11へ出力される。一方、回転数演算部11は位
置パルスPS1,PS2を積算することにより、各
刃物台21,22のX軸方向、即ち第3図矢印
C,D方向の位置、従つて、各刃物台21,22
に装着された工具1のX軸方向の刃先位置を周期
的に演算し、加工プログラムPROに示された周
速から、主軸の回転数NSを演算決定し、主軸制
御部10及び回転数比較判定部9へ回転数指令と
して定期的に通知する。更に主軸制御部10は主
軸、従つてワーク2の回転数がNSになるように、
主軸駆動モータ15を制御する。
The 4-axis numerically controlled lathe 2 has the following configuration.Actual machining is performed by the spindle control section 10 and feed axis control section 12 controlling the spindle drive motor 15 according to the machining program PRO in the machining program memory 6.
This is performed by controlling the rotation of the feed shaft drive motors 16 and 17. That is, the main shaft drive motor 1
5 is rotationally controlled so that machining is performed at the circumferential speed instructed by the machining program PRO, and the feed shaft drive motors 16 and 17 move the tool rests 21 and 22 to the machining positions indicated by the machining program PRO. Then, predetermined processing is performed. More specifically, the motors 16 and 17 are equipped with a transducer 16.
position pulses PS1 and PS2 are output from the transducers 16a and 17a to the rotational speed calculation section 11 in synchronization with the rotation of the motors 16 and 17. On the other hand, the rotation speed calculation unit 11 calculates the position of each tool rest 21, 22 in the X-axis direction, that is, in the direction of arrows C and D in FIG. 3, by integrating the position pulses PS1 and PS2. 22
The position of the cutting edge in the X-axis direction of the tool 1 attached to the machine is calculated periodically, and the rotational speed N S of the spindle is calculated and determined from the circumferential speed indicated in the machining program PRO. It is periodically notified to the determination unit 9 as a rotation speed command. Furthermore, the spindle control unit 10 controls the rotation speed of the spindle, and thus the workpiece 2, to be N S.
Controls the main shaft drive motor 15.

ところで、単一の刃物台で加工中に、更にもう
一方の刃物台が加工に加わり、加工プログラム
PROによる周速の指示が急激に変化すると、演
算部11によつて決定される主軸の回転数NS
急激に変化する。今、仮に、第2図に示すよう
に、刃物台21が、主軸回転数NSがN1で加工中
に、刃物台22による加工が開始され、その結
果、回転数演算部11が時間Δt後に回転数NS
N2へ変化させるように主軸制御部10へ回転数
指令により通知したとする。演算部11からの回
転数NSを指令する回転数指令は回転数比較判定
部9へも出力されるが、判定部9は、演算部11
から定期的に入力される回転数指令に示された回
転数NSをラツチしておき、演算部11から入力
された回転数NSが変化した場合に、それまでラ
ツチしていた回転数(この場合、ラツチされてい
た回転数N1は、主軸制御部10により制御され
る主軸の現実の回転数と一致するN1)と新たに
演算部11が演算決定して回転数指令として入力
された時間Δt後の回転数(この場合N2)の変化
率K K=|N1−N2|/N1 …(1) を求め、変化率Kが所定の予め決められた変化率
の値を超えていれば、信号TS1を“0”から
“1”とする。これを受けて、主軸制御部10は
主軸回転数の制御を回転数演算部11からの出力
による通常の制御から、目標回転数演算部7の出
力によるバツフア制御に切換える。
By the way, while machining with a single turret, another turret joins the machining and the machining program changes.
When the circumferential speed instruction by the PRO suddenly changes, the rotational speed N S of the main shaft determined by the calculation section 11 also changes rapidly. Now, as shown in FIG. 2, suppose that machining by the tool rest 22 is started while the tool rest 21 is machining at a spindle rotation speed N S of N 1 , and as a result, the rotation speed calculation unit 11 is After that, change the rotation speed N S
Suppose that the spindle control unit 10 is notified by a rotation speed command to change the rotation speed to N2 . The rotation speed command for commanding the rotation speed N S from the calculation section 11 is also output to the rotation speed comparison and determination section 9;
The rotation speed N S indicated in the rotation speed command periodically input from the calculation unit 11 is latched, and when the rotation speed N S input from the calculation section 11 changes, the rotation speed that was latched until then ( In this case, the latched rotation speed N 1 is newly calculated and determined by the calculation section 11 as N 1 ), which matches the actual rotation speed of the spindle controlled by the spindle control section 10, and is input as the rotation speed command. Find the rate of change K in the rotational speed (in this case N 2 ) after the time Δt (N 2 in this case) = |N 1 − N 2 |/N 1 (1), and find the rate of change K as a predetermined value of the rate of change. If it exceeds, the signal TS1 is changed from "0" to "1". In response to this, the spindle control section 10 switches the control of the spindle rotation speed from normal control based on the output from the rotation speed calculation section 11 to buffer control based on the output from the target rotation speed calculation section 7.

即ち、目標回転数演算部7は、 t=F(k)・K …(2) K:変化率 k:パラメータ定数 (加工プログラム等により、任意に設定
可) により任意に決定される、演算部11からの回転
数をN2とする回転数指令が入力された時点から
のt(0〜∞秒)を求め、 ΔN/Δt=(N2−N1)/t …(3) ∴ΔN=(N2−N1)・Δt/t …(4) Δt:予め設定された所定単位時間 の演算により、時間Δtで変化させるべき回転数
ΔNを求める。次に、 N1-1=N1−ΔN …(5) の演算により、時間Δt後の目標回転数N1-1を演
算決定し、主軸制御部10へ通知する。主軸制御
部10は、演算部7から通知された目標回転数
N1-1に基いて、時間Δt後に、主軸回転数N1
N1-1なるように駆動モータ15を制御する。目
標回転数演算部7は、時間Δt毎に、 N1-o=N1-(o-1)−ΔN …(6) n:1,2,3,…… の演算を行ない、次の時間Δt後に達成すべき主
軸回転数を演算し主軸制御部10に出力する。主
軸制御部10は、信号TS1が“1”となつてい
る限り、演算部7からの目標回転数N1-oに基き
駆動モータ15、従つて主軸の回転数を制御す
る。
In other words, the target rotation speed calculation section 7 is a calculation section arbitrarily determined by t=F(k)・K (2) K: rate of change k: parameter constant (can be arbitrarily set according to machining program, etc.) Find t (0 to ∞ seconds) from the time when the rotation speed command is input with the rotation speed from No. 11 as N 2 , and calculate ΔN/Δt=(N 2 −N 1 )/t…(3) ∴ΔN= (N 2 −N 1 )·Δt/t (4) Δt: The rotational speed ΔN to be changed in time Δt is determined by calculating a predetermined unit time set in advance. Next, by calculating N 1-1 = N 1 - ΔN (5), the target rotation speed N 1-1 after time Δt is calculated and notified to the spindle control unit 10. The main shaft control unit 10 controls the target rotation speed notified from the calculation unit 7.
Based on N 1-1 , after time Δt, the spindle rotation speed N 1 is
The drive motor 15 is controlled so that N 1-1 . The target rotation speed calculation unit 7 calculates N 1-o = N 1-(o-1) −ΔN ...(6) n: 1, 2, 3, ... at each time Δt, and calculates the following at each time Δt. The spindle rotation speed to be achieved after Δt is calculated and output to the spindle control section 10. The spindle control section 10 controls the drive motor 15, and therefore the rotation speed of the spindle, based on the target rotation speed N1 -o from the calculation section 7 as long as the signal TS1 is "1".

一方、刃物台21,22による加工は、刃物台
21,22が退避することなく継続され、時間
Δtの間にも、各刃物台21,22、従つてその
X軸方向の刃先位置は変化し、従つて加工プログ
ラムPROに指定された周速に基いて回転数演算
部11が主軸制御部10へ出力する回転数指令に
示された(しかし、信号TS1が“1”である限
り、主軸制御部10は演算部11からの出力を無
視する。)回転数NSは、第2図1点鎖線で示すよ
うに時間Δt毎にN2,N2-1,N2-2……と変化して
ゆく。
On the other hand, the machining by the tool rests 21 and 22 continues without the tool rests 21 and 22 retracting, and even during the time Δt, the positions of the tool rests 21 and 22, and thus their cutting edges in the X-axis direction, do not change. , therefore, the rotation speed calculation unit 11 outputs the rotation speed command to the spindle control unit 10 based on the circumferential speed specified in the machining program PRO (however, as long as the signal TS1 is “1”, the spindle control (The unit 10 ignores the output from the calculation unit 11.) The rotational speed N S changes as N 2 , N 2-1 , N 2-2 , etc. every time Δt, as shown by the dashed line in FIG. 2. I will do it.

そこで、回転数比較判定部9は、目標回転数演
算部7から出力され、主軸制御部10が現実に制
御する回転数N1-oと回転数演算部11から出力
されるΔt後の回転数N2-oを比較し、 KX=|N1-o−N2-o|/N1-o …(7) n:1,2……… を求める。変化率KXが予め決められた所定の値
を超えており、回転数演算部11から出力される
回転数N2-oによる制御に切換えることが、依然
として大きな主軸回転数の変化を生じ、適当でな
い場合には、判定部9は信号TS1を“1”にし
続け、主軸制御部10による駆動モータ15の制
御を、目標回転数演算部7から出力される回転数
N1-oに基いて行なわせる。一方、変化率KXが所
定の値内に収まり、回転数N2-oによる制御を行
なつても、主軸回転数に大きな変化が生じない状
態になつた場合(第2図の点P1)には、信号
TS1をそれまでの“1”から“0”へ戻す。す
ると、主軸制御部5は目標回転数演算部7からの
出力に基くバツフア制御から、回転数演算部11
からの出力に基く通常の制御に戻り(第2図点P
2)、以後、演算部11から出力される回転数指
令に示された回転数NSに基いて制御される。
Therefore, the rotation speed comparison/judgment section 9 compares the rotation speed N 1-o output from the target rotation speed calculation section 7 and actually controlled by the spindle control section 10 and the rotation speed after Δt output from the rotation speed calculation section 11. Compare N 2-o and find KX=|N 1-o −N 2-o |/N 1-o ...(7) n: 1, 2...... The rate of change KX exceeds a predetermined value, and switching to control using the rotation speed N 2-o output from the rotation speed calculation unit 11 still causes a large change in the spindle rotation speed, which is inappropriate. In this case, the determination unit 9 continues to set the signal TS1 to “1”, and controls the control of the drive motor 15 by the spindle control unit 10 to the rotation speed output from the target rotation speed calculation unit 7.
Let it be done based on N 1-o . On the other hand, when the rate of change KX falls within a predetermined value and the spindle rotational speed does not change significantly even if control is performed using the rotational speed N 2-o (point P1 in Figure 2), is a signal
Return TS1 from "1" to "0". Then, the main shaft control section 5 performs buffer control based on the output from the target rotation speed calculation section 7, and performs the rotation speed calculation section 11.
Returns to normal control based on the output from (point P in the second figure)
2) Thereafter, control is performed based on the rotation speed N S indicated in the rotation speed command output from the calculation unit 11.

なお、上述の実施例は、単一の刃物台21が加
工中に、もう一方の刃物台22が加工に加わり、
同時加工となつた場合について述べたが、本発明
は、急激な主軸回転数変化を伴なう加工態様であ
る限り、刃物台21,22による加工態様はどの
ようなものでも良い。例えば、最初に両刃物台2
1,22による同時加工を行なつた後、どちらか
一方の刃物台21又は22が加工を止めたり、両
刃物台21,22の同時加工中に、加工部位の変
化により主軸回転数を変える必要が生じた場合
等、種々考えることができる。
In addition, in the above-mentioned embodiment, while one tool rest 21 is machining, the other tool rest 22 joins the machining,
Although the case of simultaneous machining has been described, in the present invention, any machining mode by the tool rests 21 and 22 may be used as long as the machining mode is accompanied by a rapid change in the spindle rotation speed. For example, first, double-edged turret 2
After simultaneous machining by 1 and 22, either one of the tool rests 21 or 22 stops machining, or during simultaneous machining of both tool rests 21 and 22, it is necessary to change the spindle rotation speed due to a change in the machining area. Various cases can be considered, such as when this occurs.

(g) 発明の効果 以上、説明したように、本発明によれば、加工
プログラムPROの格納された加工プログラムメ
モリ6などのメモリ、ワーク2の保持される主軸
及び、2個の刃物台21,22を有する4軸数値
制御旋盤3において、刃物台21,22の前記主
軸軸心に対して直角な方向の位置を検出すると共
に、前記メモリに格納された加工プログラム中で
指令された周速及び前記刃物台の前記軸心に対し
て直角な方向の位置に応じて主軸回転数NSを演
算決定する、トランスデユーサ16a,17a及
び回転数演算部11などの主軸回転数の第1の演
算決定手段を設け、第1の演算決定手段からの回
転数指令などの主軸回転数の変化指令が出力され
た時点からの遅延時間tに応じた、所定単位時間
Δt毎の目標回転数N1-1,N1-2,N1-3……を演算
決定する目標回転数演算部などの第2の演算決定
手段を設け、主軸制御部10などの前記主軸の制
御手段を設け、前記主軸の制御手段が現実に制御
している回転数N1と、前記第1の演算決定手段
が決定する主軸回転数N2との差の、前記現実に
制御している回転数に対する割合を、変化率Kと
して演算し、前記変化率が所定の値を超えた場合
に、前記主軸の制御手段に、前記第1の演算決定
手段の出力による回転数制御から、前記第2の演
算決定手段の出力による回転数制御へ切り換えを
指示し得る回転数比較判定部9などの回転数比較
判定手段を設け、前記主軸の制御手段による主軸
の回転数の制御を、通常の場合は、前記第1の演
算決定手段の演算決定する回転数に基づいて行な
い、前記第1の演算決定手段の演算決定する回転
数が急激に変化した場合には、前記主軸の制御手
段の制御を、前記第1の演算決定手段の出力によ
る制御から、前記第2の演算決定手段の出力によ
る制御に切り換え、主軸回転数が急激に変化する
ことを防止するようにして構成したので、刃物台
21,22をワーク2に対して退避させることな
く、そのまま加工を続けても、チツピングが生じ
たり、加工精度が悪化することがなくなり、全体
の加工時間を短縮化することが可能となるばかり
か、刃物台21,22を退避させるためのプログ
ラムが不要となるので、加工プログラムの簡略化
にも寄与し得る。
(g) Effects of the Invention As explained above, according to the present invention, a memory such as the machining program memory 6 in which the machining program PRO is stored, the spindle holding the workpiece 2, the two turrets 21, 22, the positions of the tool rests 21 and 22 in the direction perpendicular to the spindle axis are detected, and the circumferential speed and speed commanded in the machining program stored in the memory are detected. A first calculation of the spindle rotation speed of the transducers 16a, 17a and the rotation speed calculation section 11, which calculates and determines the spindle rotation speed N S according to the position of the tool rest in a direction perpendicular to the axis. A determining means is provided to determine the target rotational speed N 1- for each predetermined unit time Δt according to the delay time t from the time when a change command for the spindle rotational speed, such as a rotational speed command, is output from the first calculation determining means. 1 , N 1-2 , N 1-3 . The ratio of the difference between the rotational speed N 1 actually controlled by the control means and the spindle rotational speed N 2 determined by the first calculation determining means to the rotational speed actually controlled is determined as a rate of change. K, and when the rate of change exceeds a predetermined value, the control means for the main shaft changes from the rotation speed control based on the output of the first calculation determining means to the rotation speed control based on the output of the second calculation determining means. A rotation speed comparison and determination means such as a rotation speed comparison and determination section 9 capable of instructing a switch to rotation speed control is provided, and the control of the rotation speed of the spindle by the spindle control means is normally controlled by the first calculation determination. When the rotation speed calculated and determined by the first calculation determining means suddenly changes, the control of the main shaft control means is performed based on the rotation speed calculated and determined by the first calculation determining means. Since the control is switched from the control based on the output of the above-mentioned second calculation determining means to the control based on the output of the second calculation determining means to prevent the spindle rotational speed from changing rapidly, the tool rests 21 and 22 can be moved relative to the work 2 Even if machining is continued without retracting, chipping will not occur or machining accuracy will deteriorate, and the overall machining time can be shortened, and the tool rests 21 and 22 can be retracted. This eliminates the need for a program for processing, which can also contribute to the simplification of machining programs.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明が適用された4軸数値制御旋盤
の制御部分の一例を示すブロツク図、第2図は主
軸回転数の制御態様を示すタイムチヤート、第3
図は4軸数値制御旋盤の加工態様を示す図、第4
図は主軸回転数切換え時の、工具の退避状態を示
す図、第5図は従来の主軸回転数の変化態様を示
すタイムチヤートである。 2……ワーク、3……4軸数値制御旋盤、7…
…第2の演算決定手段(目標回転数演算部)、9
……回転数比較判定手段(回転数比較判定部)、
10……主軸の制御手段(主軸制御部)、11…
…第1の演算決定手段(回転数演算部)、16a,
17a……第1の演算決定手段(トランスデユー
サ)、21,22……刃物台、t……遅延時間、
Δt……所定単位時間、N1-1,N1-2,N1-3,…
……目標回転数、N1……現実に制御する回転数、
N2……第1の演算手段が決定する主軸回転数、
K……変化率。
Fig. 1 is a block diagram showing an example of the control part of a 4-axis numerically controlled lathe to which the present invention is applied, Fig. 2 is a time chart showing the control mode of the spindle rotation speed, and Fig. 3
The figure shows the machining mode of a 4-axis numerically controlled lathe.
The figure shows the retracted state of the tool when switching the spindle rotation speed, and FIG. 5 is a conventional time chart showing the changes in the spindle rotation speed. 2... Workpiece, 3... 4-axis numerical control lathe, 7...
...Second calculation determining means (target rotation speed calculating section), 9
...Rotation speed comparison and judgment means (rotation speed comparison and judgment section),
10... Spindle control means (spindle control section), 11...
...first calculation determining means (rotation speed calculation section), 16a,
17a...first calculation determining means (transducer), 21, 22...turret, t...delay time,
Δt...Predetermined unit time, N 1-1 , N 1-2 , N 1-3 ,...
...Target rotation speed, N 1 ...Rotation speed to be actually controlled,
N 2 ... Spindle rotation speed determined by the first calculation means,
K... Rate of change.

Claims (1)

【特許請求の範囲】 1 加工プログラムの格納されたメモリ、ワーク
の保持される主軸及び、2個の刃物台を有する4
軸数値制御旋盤において、 刃物台の前記主軸軸心に対して直角な方向の位
置を検出すると共に、前記メモリに格納された加
工プログラム中で指令された周速及び前記刃物台
の前記軸心に対して直角な方向の位置に応じて主
軸回転数を演算決定する主軸回転数の第1の演算
決定手段を設け、 第1の演算決定手段からの主軸回転数の変化指
令が出力された時点からの遅延時間に応じた、所
定単位時間毎の目標回転数を演算決定する第2の
演算決定手段を設け、 前記主軸の制御手段を設け、 前記主軸の制御手段が現実に制御している回転
数と、前記第1の演算決定手段が決定する主軸回
転数との差の、前記現実に制御している回転数に
対する割合を、変化率として演算し、前記変化率
が所定の値を超えた場合に、前記主軸の制御手段
に、前記第1の演算決定手段の出力による回転数
制御から、前記第2の演算決定手段の出力による
回転数制御へ切り換えを指示し得る回転数比較判
定手段を設け、 前記主軸の制御手段による主軸の回転数の制御
を、通常の場合は、前記第1の演算決定手段の演
算決定する回転数に基づいて行ない、 前記第1の演算決定手段の演算決定する回転数
が急激に変化した場合には、前記主軸の制御手段
の制御を、前記第1の演算決定手段の出力による
制御から、前記第2の演算決定手段の出力による
制御に切り換え、主軸回転数が急激に変化するこ
とを防止するようにして構成した4軸数値制御旋
盤における主軸回転数の制御方法。
[Claims] 1. 4 having a memory in which a machining program is stored, a spindle for holding a workpiece, and two turrets.
In the axis numerically controlled lathe, the position of the tool post in a direction perpendicular to the spindle axis is detected, and the circumferential speed and the axis of the tool post commanded in the machining program stored in the memory are detected. A first calculation determining means for the spindle rotation speed is provided which calculates and determines the spindle rotation speed according to the position in a direction perpendicular to the rotation speed, and from the time when a change command for the spindle rotation speed is output from the first calculation determination means. a second calculation determining means for calculating and determining a target rotation speed for each predetermined unit time according to a delay time of the main shaft, a control means for the main shaft, and a rotation speed actually controlled by the main shaft control means. and the main shaft rotational speed determined by the first calculation determining means, the ratio of the difference to the actually controlled rotational speed is calculated as a rate of change, and if the rate of change exceeds a predetermined value; Further, the spindle control means is provided with a rotation speed comparison and determination means capable of instructing a switch from rotation speed control based on the output of the first calculation determination means to rotation speed control based on the output of the second calculation determination means. , the rotation speed of the spindle is normally controlled by the spindle control means based on the rotation speed calculated and determined by the first calculation determination means, and the rotation speed calculated and determined by the first calculation determination means is If the number suddenly changes, the control of the spindle control means is switched from control based on the output of the first calculation determining means to control based on the output of the second calculation determining means, and the spindle rotation speed is changed. A method for controlling the spindle rotation speed in a 4-axis numerically controlled lathe configured to prevent sudden changes.
JP2239283A 1983-02-14 1983-02-14 Control of number of rotation of main spindle in four spindle numerically controlled lathe Granted JPS59146736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2239283A JPS59146736A (en) 1983-02-14 1983-02-14 Control of number of rotation of main spindle in four spindle numerically controlled lathe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2239283A JPS59146736A (en) 1983-02-14 1983-02-14 Control of number of rotation of main spindle in four spindle numerically controlled lathe

Publications (2)

Publication Number Publication Date
JPS59146736A JPS59146736A (en) 1984-08-22
JPH0323296B2 true JPH0323296B2 (en) 1991-03-28

Family

ID=12081381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2239283A Granted JPS59146736A (en) 1983-02-14 1983-02-14 Control of number of rotation of main spindle in four spindle numerically controlled lathe

Country Status (1)

Country Link
JP (1) JPS59146736A (en)

Also Published As

Publication number Publication date
JPS59146736A (en) 1984-08-22

Similar Documents

Publication Publication Date Title
US3746955A (en) Adaptive control system for numerical control of a cutting tool
US4862380A (en) Numerical control unit
US9841746B2 (en) Numerical controller having function of controlling speed by superimposed control
US6111382A (en) Device for controlling tapping device provided with composite tool having boring and tapping sections
WO1989005211A1 (en) Stop controller of cutting tool
JPH02101504A (en) Nc command system
US4970449A (en) Numerical control apparatus
US4698573A (en) Numerically controlled working process
JPH0323296B2 (en)
JP2004202594A (en) Numerical control device
KR860001679B1 (en) Numerical Control Device
JPH11202926A (en) Feed rate control method and apparatus in numerical control
JPS5939250B2 (en) Thread cutting method
JPS58117007A (en) Interrupting control method in numerical control lathe
JPH07185901A (en) Superposition processing control method and numerical control apparatus thereof
JPS6317561B2 (en)
JPH0583338B2 (en)
JPH0256683B2 (en)
JP2553227B2 (en) Tool damage detection method for machine tools
JPH11212617A (en) Controller for plural working programs
JP2835768B6 (en) Anti-vibration processing method for two spindle facing lathe
JPH06314109A (en) Numerical control device
JPS60228019A (en) Method of cutting controllably multiple thread screw in numerical control lathe
JPS5935203A (en) Numerically controlled work system
JPH05146943A (en) Machining process setting system for interactive numerically controlled device