JPH0542451A - Control unit - Google Patents

Control unit

Info

Publication number
JPH0542451A
JPH0542451A JP22116791A JP22116791A JPH0542451A JP H0542451 A JPH0542451 A JP H0542451A JP 22116791 A JP22116791 A JP 22116791A JP 22116791 A JP22116791 A JP 22116791A JP H0542451 A JPH0542451 A JP H0542451A
Authority
JP
Japan
Prior art keywords
speed
command
spindle
current
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22116791A
Other languages
Japanese (ja)
Inventor
Takahiro Hayashida
隆洋 林田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP22116791A priority Critical patent/JPH0542451A/en
Publication of JPH0542451A publication Critical patent/JPH0542451A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Turning (AREA)

Abstract

PURPOSE:To realize the accelerating and decelerating time in position control (or interlocking control) and realize the shortening of operating cycle time of a target to be controlled such as shortening of the working cycle time. CONSTITUTION:Electric motors 3, 3a provided in conformation to the first main spindle 4 and second main spindle 5a of a machine tool and driving the corresponding main spindles, and main spindle drive control units 2, 2a for controlling the corresponding electric motors so as to control the speeds of the corresponding main spindles according to a speed command at the time of speed control of the mains spindles and controlling the corresponding electric motors so as to control the positions of the corresponding main spindles according to a position command at the time of position control are provided. In the operation, the current control values I1LP, I2LP of the main spindle drive control units 2, 2a in the position control of mutually interlocking and operating the first main spindle 4 and the second main spindle 4a are set larger than the current control values I1, I2L of the main spindle driving control units 2, 2a in the speed control of independently operating the first main spindle and the second main spindle.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、例えば2つの主軸を
有する工作機械を制御する場合等に利用されるもので、
第1の主軸等の第1の被制御対象を駆動する第1の駆動
装置と、第2の主軸等の第2の被制御対象を駆動する第
2の駆動装置を備えた制御装置及び制御方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention This invention is used, for example, when controlling a machine tool having two spindles.
Control device and control method including first drive device for driving first controlled object such as first spindle, and second drive device for driving second controlled object such as second spindle It is about.

【0002】[0002]

【従来の技術】図4及び図5は、従来の2つの主軸を有
する工作機械における主軸を制御する制御装置を示す図
で、図4は全体の概略構成図、図5は主軸駆動制御装置
のブロック回路図である。図4において、1は第1及び
第2の速度指令Oωr1,Oωr2及び第1及び第2の位置
指令Oθr1,Oθr2を出力する数値制御装置、2は数値
制御装置1に接続された第1の主軸駆動制御装置、2a
は数値制御装置1に接続された第2の主軸駆動制御装
置、3は第1の主軸駆動制御装置2に接続された第1の
ビルトイン主軸電動機、3aは第2の主軸駆動制御装置
2aに接続された第2のビルトイン主軸電動機、4は工
作機械における第1の主軸で、第1のビルトイン主軸電
動機3により駆動される。4aは工作機械における第2
の主軸で、第1のビルトイン主軸電動機3aにより駆動
される。
2. Description of the Related Art FIGS. 4 and 5 are views showing a conventional control device for controlling a spindle in a machine tool having two spindles. FIG. 4 is an overall schematic configuration diagram and FIG. 5 is a spindle drive control device. It is a block circuit diagram. In FIG. 4, 1 is a numerical controller for outputting first and second speed commands Oω r1 , Oω r2 and first and second position commands Oθ r1 , Oθ r2 , and 2 is connected to the numerical controller 1. First spindle drive controller 2a
Is a second spindle drive controller connected to the numerical controller 1; 3 is a first built-in spindle motor connected to the first spindle drive controller 2; 3a is a second spindle drive controller 2a The second built-in spindle motor 4 is a first spindle in the machine tool, and is driven by the first built-in spindle motor 3. 4a is the second in the machine tool
Driven by the first built-in spindle motor 3a.

【0003】5は第1の主軸4に結合された第1の速度
検出器で、例えば256波/1回転の出力により第1の
主軸4の実際の回転速度を検出して第1の速度検出信号
Aωr1を発生する。5aは第2の主軸4aに結合された
第2の速度検出器で、例えば256波/1回転の出力に
より第2の主軸4aの実際の回転速度を検出して第2の
速度検出信号Aωr2を発生する。6は第1の主軸4に結
合された第1の位置検出器で、例えば1024パルス/
1回転の出力により第1の主軸4の実際の回転位置を検
出して第1の位置検出信号Aθr1を発生する。6aは第
2の主軸4aに結合された第2の位置検出器で、例えば
1024パルス/1回転の出力により第2の主軸4aの
実際の回転位置を検出して第2の位置検出信号Aθr2
発生する。7は一般的にワークと呼称されている被制御
対象、8は第1の主軸駆動制御装置2、第1のビルトイ
ン主軸電動機3、第1の速度検出器5、及び第1の位置
検出器6により構成された第1の主軸駆動装置、8aは
第2の主軸駆動制御装置2a、第2のビルトイン主軸電
動機3a、第2の速度検出器5a、及び第2の位置検出
器6aにより構成された第2の主軸駆動装置である。
Reference numeral 5 is a first speed detector connected to the first main shaft 4, and detects the actual rotational speed of the first main shaft 4 by the output of, for example, 256 waves / 1 rotation to detect the first speed. Generate signal Aω r1 . Reference numeral 5a is a second speed detector coupled to the second main shaft 4a. For example, an actual rotation speed of the second main shaft 4a is detected by an output of 256 waves / 1 rotation to output a second speed detection signal Aω r2. To occur. Reference numeral 6 is a first position detector coupled to the first main shaft 4, for example, 1024 pulses /
The actual rotation position of the first spindle 4 is detected by the output of one rotation, and the first position detection signal Aθ r1 is generated. A second position detector 6a is connected to the second main shaft 4a, and detects the actual rotational position of the second main shaft 4a by the output of, for example, 1024 pulses / rotation and outputs a second position detection signal Aθ r2. To occur. 7 is a controlled object which is generally called a work, 8 is a first spindle drive control device 2, a first built-in spindle motor 3, a first speed detector 5, and a first position detector 6. The first spindle drive device 8a is constituted by the second spindle drive control device 2a, the second built-in spindle motor 3a, the second speed detector 5a, and the second position detector 6a. It is a second spindle drive device.

【0004】図5において、9は第1の位置信号比較器
で、第1の位置指令Oθr1と第1の位置検出信号Aθr1
とを比較して第1の位置偏差信号Δθr1を出力する。9
aは第2の位置信号比較器で、第2の位置指令Oθr2
第2の位置検出信号Aθr2とを比較して第2の位置偏差
信号Δθr2を出力する。10は第1の位置信号比較器9
に接続された第1の位置ループゲイン回路で、第1の位
置偏差信号Δθr1を増幅する。10aは第2の位置信号
比較器9aに接続された第2の位置ループゲイン回路
で、第2の位置偏差信号Δθr2を増幅する。11は第1
のモード切換スイッチで、第1の速度指令Oωr1が入力
される接点aと、第1の位置ループゲイン回路10の出
力が入力される接点bとを有しており、第1の主軸4の
回転速度を制御する速度制御モード時には接点aに、第
1の主軸4の回転位置を制御する位置制御モード時には
接点bに切り換えられる。11aは第2のモード切換ス
イッチで、第2の速度指令Oωr2が入力される接点aa
と、第2の位置ループゲイン回路10aの出力が入力さ
れる接点baとを有しており、第2の主軸4aの回転位
置を制御する速度制御モード時には接点aaに、第2の
主軸4aの回転位置を制御する位置制御モード時には接
点baに切り換えられる。
In FIG. 5, reference numeral 9 denotes a first position signal comparator, which is a first position command Oθ r1 and a first position detection signal Aθ r1.
And outputs the first position deviation signal Δθ r1 . 9
Reference numeral a is a second position signal comparator, which compares the second position command Oθ r2 with the second position detection signal Aθ r2 and outputs the second position deviation signal Δθ r2 . 10 is the first position signal comparator 9
The first position loop gain circuit connected to the amplifier amplifies the first position deviation signal Δθ r1 . A second position loop gain circuit 10a is connected to the second position signal comparator 9a and amplifies the second position deviation signal Δθ r2 . 11 is the first
Of the first spindle 4, which has a contact a to which the first speed command Oω r1 is input and a contact b to which the output of the first position loop gain circuit 10 is input. It is switched to the contact a in the speed control mode for controlling the rotation speed, and to the contact b in the position control mode for controlling the rotation position of the first spindle 4. Reference numeral 11a denotes a second mode changeover switch, which is a contact point aa to which the second speed command Oω r2 is input.
And a contact ba to which the output of the second position loop gain circuit 10a is input. In the speed control mode for controlling the rotational position of the second spindle 4a, the contact aa and the contact of the second spindle 4a are controlled. In the position control mode for controlling the rotational position, it is switched to the contact ba.

【0005】12は第1の速度信号比較器で、第1の速
度指令Oωr1と第1の速度検出信号Aωr1とを比較して
第1の速度偏差信号Δωr1を出力する。12aは第2の
速度信号比較器で、第2の速度指令Oωr2と第2の速度
検出信号Aωr2とを比較して第2の速度偏差信号Δωr2
を出力する。13は第1の速度偏差信号Δωr1をゲイン
により増幅する第1の速度ループゲイン回路で、電流指
令OI11を出力する。13aは第2の速度偏差信号Δω
r2をゲインにより増幅する第2の速度ループゲイン回路
で、電流指令OI21を出力する。14は第1の電流制限
回路で、第1の速度ループゲイン回路13の出力OI11
を第1のビルトイン主軸電動機3の出力特性に見合った
電流値I11に制限して電流指令OI12を出力する。14
aは第2の電流制限回路で、第2の速度ループゲイン回
路13aの出力OI21を第2のビルトイン主軸電動機3
aの出力特性に見合った電流値I21に制限して電流指令
OI22を出力する。15は第1の電力変換回路で、第1
の電流制限回路14の出力OI12を第1のビルトイン主
軸電動機3に供給する電力に変換する。15aは第2の
電力変換回路で、第2の電流制限回路14aの出力OI
22を第2のビルトイン主軸電動機3aに供給する電力に
変換する。
Reference numeral 12 denotes a first speed signal comparator, which compares the first speed command Oω r1 with the first speed detection signal Aω r1 and outputs a first speed deviation signal Δω r1 . A second speed signal comparator 12a compares the second speed command Oω r2 with the second speed detection signal Aω r2 and outputs a second speed deviation signal Δω r2.
Is output. A first speed loop gain circuit 13 amplifies the first speed deviation signal Δω r1 with a gain, and outputs a current command OI 11 . 13a is the second speed deviation signal Δω
The second speed loop gain circuit that amplifies r2 with a gain outputs the current command OI 21 . Reference numeral 14 is a first current limiting circuit, which is an output OI 11 of the first speed loop gain circuit 13.
Is limited to a current value I 11 corresponding to the output characteristic of the first built-in spindle motor 3, and the current command OI 12 is output. 14
a is a second current limiting circuit, which outputs the output OI 21 of the second speed loop gain circuit 13a to the second built-in spindle motor 3
The current command OI 22 is output with the current value I 21 limited to the output characteristic of a. Reference numeral 15 is a first power conversion circuit,
The output OI 12 of the current limiting circuit 14 is converted into electric power to be supplied to the first built-in spindle motor 3. 15a is a second power conversion circuit, which is the output OI of the second current limiting circuit 14a.
22 is converted into electric power to be supplied to the second built-in spindle motor 3a.

【0006】従来の2つの主軸を有する工作機械におけ
る主軸を制御する制御装置は上述のように構成されてお
り、次のように動作する。まず、第1の主軸4及び第2
の主軸4aを各々単独で別々に運転する場合について説
明する。第1の主軸4及び第2の主軸4aを各々単独で
別々に運転する場合は、第1及び第2のモード切換スイ
ッチ11,11aは、何れも接点a,aa側に投入され
る。数値制御装置1から第1の主軸4及び第2の主軸4
aの目標回転数に見合った第1及び第2の速度指令Oω
r1,Oωr2が出力され、第1の主軸駆動制御装置2、第
2の主軸駆動制御装置2aは、対応する第1のビルトイ
ン主軸電動機3及び第2のビルトイン主軸電動機3a
を、その実際の回転速度Aωr1,Aωr2が第1及び第2
の速度指令Oωr1,Oωr2に追従するように制御する。
即ち、第1及び第2の速度指令Oωr1,Oωr2と第1及
び第2の速度検出信号Aωr1,Aωr2とが各々対応する
第1及び第2の速度信号比較器12,12aで比較さ
れ、第1の速度信号比較器12は第1の速度偏差信号Δ
ωr1を出力し、第2の速度信号比較器12aは第2の速
度偏差信号Δωr1を出力する。
A conventional control device for controlling a spindle in a machine tool having two spindles is constructed as described above and operates as follows. First, the first spindle 4 and the second
The case where the main shafts 4a of FIG. When the first main spindle 4 and the second main spindle 4a are individually operated separately, the first and second mode changeover switches 11 and 11a are both closed to the contacts a and aa. From the numerical controller 1 to the first spindle 4 and the second spindle 4
The first and second speed commands Oω corresponding to the target rotation speed of a
r1 , Oω r2 are output, and the first spindle drive control device 2 and the second spindle drive control device 2a correspond to the corresponding first built-in spindle motor 3 and second built-in spindle motor 3a.
The actual rotation speeds Aω r1 and Aω r2 are the first and second
The speed commands Oω r1 and Oω r2 are controlled so as to follow.
That is, the first and second speed commands Oω r1 and Oω r2 and the first and second speed detection signals Aω r1 and Aω r2 are compared by the first and second speed signal comparators 12 and 12a, respectively. Then, the first speed signal comparator 12 outputs the first speed deviation signal Δ
ω r1 is output, and the second speed signal comparator 12a outputs a second speed deviation signal Δω r1 .

【0007】第1の速度偏差信号Δωr1及び第2の速度
偏差信号Δωr2は対応する第1及び第2の速度ループゲ
イン回路13,13aで増幅され、この第1及び第2の
速度ループゲイン回路13,13aの出力信号OI11
OI21が第1の電流制限回路14、第2の電流制限回路
14aの各制限値I1L,I2Lより大であれば、第1の電
流制限回路14,第2の電流制限回路14aの各出力O
12,OI22は、OI12=I1L,OI22=I2Lを、また
上記各制限値I1L,I2Lより小であれば、OI12=OI
11,OI22=OI21を、それぞれ出力する。これら第1
の電流制限回路14,第2の電流制限回路14aの各出
力OI12=I1L,OI22=I2Lまたは、OI12=O
11,OI22=OI21は対応する第1の電力変換回路1
5及び第2の電力変換回路15aで、対応する第1のビ
ルトイン主軸電動機3及び第2のビルトイン主軸電動機
3aを駆動する電力に変換される。そしてこれら第1の
電力変換回路15及び第2の電力変換回路15aの出力
により、対応する第1のビルトイン主軸電動機3及び第
2のビルトイン主軸電動機3aは対応する第1及び第2
の速度指令Oωr1,Oωr2に追従するように制御され
る。
The first speed deviation signal Δω r1 and the second speed deviation signal Δω r2 are amplified by the corresponding first and second speed loop gain circuits 13 and 13a. Output signals OI 11 of the circuits 13 and 13a,
If the OI 21 is larger than the limit values I 1L and I 2L of the first current limiting circuit 14 and the second current limiting circuit 14a, respectively, the first current limiting circuit 14 and the second current limiting circuit 14a Output O
I 12 and OI 22 are OI 12 = I 1L and OI 22 = I 2L , and if they are smaller than the respective limit values I 1L and I 2L , then OI 12 = OI.
11 and OI 22 = OI 21 are output. These first
Outputs of the current limiting circuit 14 and the second current limiting circuit 14a of OI 12 = I 1L , OI 22 = I 2L or OI 12 = O
I 11 , OI 22 = OI 21 is the corresponding first power conversion circuit 1
It is converted into electric power for driving the corresponding first built-in spindle motor 3 and second built-in spindle motor 3a by the fifth and second power conversion circuits 15a. The output of the first power conversion circuit 15 and the output of the second power conversion circuit 15a causes the corresponding first built-in spindle motor 3 and second built-in spindle motor 3a to correspond to the corresponding first and second.
Are controlled so as to follow the speed commands Oω r1 and Oω r2 .

【0008】次に、第1の主軸4及び第2の主軸4aを
互いに連動(第1の主軸4のチャック及び第2の主軸4
aのチャックで1つのワーク(被制御対象)7を同時に
チャッキングする)させて、第1及び第2の主軸4,4
aの位置同期運転を行なう場合は、数値制御装置1の出
力は第1の位置指令Oθr1、第2の位置指令Oθr2に切
り換えられる(この場合、両主軸4,4aの位置は等し
い必要があるため、Oθr1=Oθr2としてある)。第1
の主軸駆動制御装置2、第2の主軸駆動制御装置2a
は、数値制御装置1の出力が第1の位置指令Oθr1、第
2の位置指令Oθr2に切り換えられたことを検出して、
第1及び第2のモード切換スイッチ11,11aを、接
点b,ba側に切り換える。第1の位置指令Oθr1、第
2の位置指令Oθr2と第1の位置検出信号Aθr1、第2
の位置検出信号Aθr2とは各々対応する第1の位置信号
比較器9,第2の位置信号比較器9aで比較され、第1
の位置信号比較器9から第1の位置指令Oθr1と第1の
位置検出信号Aθr1との偏差信号、即ち第1の位置偏差
信号Δθr1が出力され、第2の位置信号比較器9aから
第2の位置指令Oθr2と第2の位置検出信号Aθr2との
偏差信号、即ち第2の位置偏差信号Δθr2が出力され
る。
Next, the first spindle 4 and the second spindle 4a are interlocked with each other (the chuck of the first spindle 4 and the second spindle 4).
One chuck (controlled object) 7 is chucked at the same time by the chuck a), and the first and second spindles 4 and 4 are moved.
When the position-synchronized operation of a is performed, the output of the numerical controller 1 is switched to the first position command Oθ r1 and the second position command Oθ r2 (in this case, the positions of both spindles 4 and 4a need to be equal). Therefore, Oθ r1 = O θ r2 ). First
Spindle drive control device 2 and second spindle drive control device 2a
Detects that the output of the numerical controller 1 has been switched to the first position command Oθ r1 and the second position command Oθ r2 ,
The first and second mode changeover switches 11 and 11a are changed over to the contacts b and ba. First position command Oθ r1 , second position command Oθ r2 and first position detection signal Aθ r1 , second
Of the first position signal comparator 9 and the second position signal comparator 9a respectively corresponding to the position detection signal Aθ r2 of
The position signal comparator 9 outputs the deviation signal between the first position command Oθ r1 and the first position detection signal Aθ r1 , that is, the first position deviation signal Δθ r1 , and the second position signal comparator 9a outputs the deviation signal. A deviation signal between the second position command Oθ r2 and the second position detection signal Aθ r2 , that is, a second position deviation signal Δθ r2 is output.

【0009】第1の位置偏差信号Δθr1及び第2の位置
偏差信号Δθr2は各々対応する第1の位置ループゲイン
回路10と第2の位置ループゲイン回路10aとによっ
て増幅され、各々対応する第1及び第2のモード切換ス
イッチ11,11aの接点b,baを介して、対応する
第1の信号比較器12及び第2の信号比較器12aに入
力される。以後の動作は、前述の単独運転モードの速度
制御時の同様であり、第1の主軸4及び第2の主軸4a
は、対応する第1のビルトイン主軸電動機3及び第2の
ビルトイン主軸電動機3aを介して、対応する第1の位
置指令Oθr1、第2の位置指令Oθr2に追従するように
制御されている。
The first position deviation signal Δθ r1 and the second position deviation signal Δθ r2 are amplified by the corresponding first position loop gain circuit 10 and second position loop gain circuit 10a, respectively. It is input to the corresponding first signal comparator 12 and second signal comparator 12a via the contacts b and ba of the first and second mode changeover switches 11 and 11a. The subsequent operation is the same as that in the speed control in the above-mentioned single operation mode, and the first main spindle 4 and the second main spindle 4a are operated.
Are controlled so as to follow the corresponding first position command Oθ r1 and second position command Oθ r2 via the corresponding first built-in spindle motor 3 and second built-in spindle motor 3a.

【0010】[0010]

【発明が解決しようとする課題】前述のように、従来の
2つの主軸、つまり第1の主軸4及び第2の主軸4aを
有する工作機械の主軸駆動装置では、2つの主軸4,4
aを単独で運転する回転速度制御、及び2つの主軸4,
4aを連動して同期運転する回転位置制御の2つのモー
ドで運転される。そしてこれら2つのモードのうち、2
つの主軸4,4aを単独で運転する回転速度制御モード
においては、充分に早い加減速特性であるが、2つの主
軸4,4aを連動して同期運転する回転位置制御モード
においては、加減速時間が長くなり、工作機械の加工リ
サイクルタイムが長くなるという問題点がある。
As described above, in the conventional spindle drive device for machine tools having two spindles, that is, the first spindle 4 and the second spindle 4a, the two spindles 4 and 4 are used.
rotation speed control for operating a independently, and two main spindles 4,
It is operated in two modes of rotational position control in which 4a is interlocked and operated synchronously. And of these two modes, 2
The acceleration / deceleration characteristics are sufficiently fast in the rotational speed control mode in which the two main spindles 4 and 4a are operated independently, but the acceleration / deceleration time is increased in the rotational position control mode in which the two main spindles 4 and 4a are synchronously operated. However, there is a problem in that the machining recycle time of the machine tool becomes longer.

【0011】このような問題点が生じる技術的理由は、
2つの主軸4,4aを単独で運転する回転速度制御モー
ドにおいては、原理的に電流指令値OI11あるいは電流
指令値OI22が第1の電流制限回路14あるいは第2の
電流制限回路14aの電流制限値I11あるいはI21に飽
和していても充分に早い加減速特性を得ることができる
が、2つの主軸4,4aを連動して同期運転する回転位
置制御モードにおいては、原理的に、電流指令値OI11
あるいは電流指令値OI22が第1の電流制限回路14あ
るいは第2の電流制限回路14aの電流制限値I11ある
いはI21に飽和しない状態で制御する必要があり、前述
の2つの主軸4,4aを単独で運転する回転速度制御モ
ードの場合の加減速時間より長い時定数に設定する必要
があるからであると言える。
The technical reason why such a problem occurs is as follows.
In the rotation speed control mode in which the two main shafts 4 and 4a are independently operated, the current command value OI 11 or the current command value OI 22 is, in principle, the current of the first current limiting circuit 14 or the second current limiting circuit 14a. A sufficiently fast acceleration / deceleration characteristic can be obtained even if the limit value I 11 or I 21 is saturated, but in principle, in the rotational position control mode in which the two spindles 4 and 4a are operated in synchronization, Current command value OI 11
Alternatively, it is necessary to control the current command value OI 22 in a state where the current command value OI 22 is not saturated with the current limit value I 11 or I 21 of the first current limiting circuit 14 or the second current limiting circuit 14a. This is because it is necessary to set the time constant to be longer than the acceleration / deceleration time in the rotation speed control mode in which the motor is operated independently.

【0012】この発明は、前述のような従来の問題点を
解決するためになされたもので、第1及び第2の被制御
対象を、速度制御(あるいは各々を単独運転)する速度
制御モード(あるいは単独運転モード)及び位置制御
(あるいは互いに連動運転)する位置制御モード(ある
いは連動運転モード)の何れか一に選択的に定められた
モードで制御する場合、位置制御(あるいは連動運転)時
における加減速時間の短縮化を実現し、加工サイクルタ
イムの短縮化等、被制御対象の作動サイクルタイムの短
縮化を実現できる制御装置及び制御方法を提供すること
を目的とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and speed control modes (or independent operation of each of the first and second controlled objects) are performed. Alternatively, when controlling in a mode that is selectively defined as one of the position control mode (or interlocking operation mode) that performs independent control mode or position control (or interlocking operation with each other), position control (or interlocking operation) An object of the present invention is to provide a control device and a control method that can realize shortening of acceleration / deceleration time and shortening of working cycle time of a controlled object such as shortening of machining cycle time.

【0013】[0013]

【課題を解決するための手段】この発明に係る制御装置
は、数値制御装置、この数値制御装置からの第1の指令
に応動して第1の被制御対象を上記第1の指令に基づい
て駆動する第1の駆動装置、上記数値制御装置からの第
2の指令に応動して第2の被制御対象を上記第2の指令
に基づいて駆動する第2の駆動装置を備え、上記第1及
び第2の被制御対象を速度制御する速度制御モード及び
位置制御する位置制御モードの何れか一に選択的に定め
られたモードで上記第1及び第2の駆動装置が制御され
ると共に、上記駆動装置の電流の制限値あるいは設定値
は上記速度制御モードの場合より上記位置制御モードの
場合の方を大きくされるものである。
A control device according to the present invention is a numerical control device, which responds to a first command from the numerical control device to control a first controlled object based on the first command. A first drive device for driving, and a second drive device for driving a second controlled object based on the second command in response to a second command from the numerical control device. And the first and second drive devices are controlled in a mode selectively set to one of a speed control mode for speed control and a position control mode for position control of the second controlled object, and The limit value or set value of the current of the drive device is set to be larger in the position control mode than in the speed control mode.

【0014】また、第1及び第2の被制御対象に単独運
転する単独運転モード及び第1及び第2の被制御対象を
連動して運転する連動運転モードの何れか一に選択的に
定められたモードで第1及び第2の駆動装置が制御され
ると共に、上記駆動装置の電流の制限値あるいは設定値
は上記単独運転モードの場合より上記連動運転モードの
場合の方を大きくされるものである。
Further, it is selectively set to either one of an independent operation mode for independently operating the first and second controlled objects and an interlocking operation mode for interlocking operation of the first and second controlled objects. The first and second drive devices are controlled in this mode, and the current limit value or set value of the drive device is made larger in the interlocking operation mode than in the isolated operation mode. is there.

【0015】[0015]

【作用】この発明における制御装置においては、第1及
び第2の被制御対象を速度制御する速度制御モード(あ
るいは単独運転モード)及び位置制御する位置制御モー
ド(あるいは連動運転モード)の何れか一に選択的に定
められたモードで第1及び第2の駆動装置が制御される
と共に前記駆動装置の電流の制限値あるいは設定値は前
記速度制御モード(あるいは単独運転モード)の場合よ
り前記位置制御モード(あるいは連動運転モード)の場
合の方が大きくしてあるので、前記位置制御モードの場
合の加減速時間が短縮化され、加工サイクルタイムの短
縮化等、被制御対象の作動サイクルタイムの短縮化が実
現される。
In the controller according to the present invention, one of a speed control mode (or an independent operation mode) for speed-controlling the first and second controlled objects and a position control mode (or an interlocking operation mode) for position control. The first and second drive devices are controlled in a mode selectively determined by the above, and the limit value or set value of the current of the drive device is set to the position control compared to the case of the speed control mode (or the independent operation mode). Since the mode (or interlocking operation mode) is larger, the acceleration / deceleration time in the position control mode is shortened, and the working cycle time of the controlled object is shortened, such as the shortening of the machining cycle time. Is realized.

【0016】[0016]

【実施例】【Example】

実施例1.図1、図2、図3はこの発明の一実施例を示
す図で、図1は制御装置のブロック回路図、図2はモー
ド切り換え動作説明図、図3は従来例との速度波形比較
図であり、従来装置と同一あるいは相当する部分は同一
符号で示す。なお、図4はこの発明の実施例にも共用さ
れる。
Example 1. 1, 2 and 3 are diagrams showing an embodiment of the present invention. FIG. 1 is a block circuit diagram of a control device, FIG. 2 is an explanatory diagram of a mode switching operation, and FIG. 3 is a speed waveform comparison diagram with a conventional example. Thus, the same or corresponding parts as those of the conventional device are designated by the same reference numerals. Note that FIG. 4 is also used in the embodiment of the present invention.

【0017】図1及び図4において、1は第1及び第2
の速度指令Oωr1,Oωr2及び第1及び第2の位置指令
Oθr1,Oθr2を出力する数値制御装置、2は数値制御
装置1に接続された第1の主軸駆動制御装置、2aは数
値制御装置1に接続された第2の主軸駆動制御装置、3
は第1の主軸駆動制御装置2に接続された第1のビルト
イン主軸電動機、3aは第2の主軸駆動制御装置2aに
接続された第2のビルトイン主軸電動機、4は工作機械
における第1の主軸で、第1のビルトイン主軸電動機3
により駆動される。4aは工作機械における第2の主軸
で、第2のビルトイン主軸電動機3aにより駆動され
る。5は第1の主軸4に結合された第1の速度検出器
で、例えば256波/1回転の出力により第1の主軸4
の実際の回転速度を検出して第1の速度検出信号Aωr1
を発生する。5aは第2の主軸4aに結合された第2の
速度検出器で、例えば256波/1回転の出力により第
2の主軸4aの実際の回転速度を検出して第2の速度検
出信号Aωr2を発生する。
In FIGS. 1 and 4, reference numeral 1 is a first and a second.
Numerical control device for outputting the speed commands Oω r1 , Oω r2 and the first and second position commands Oθ r1 , Oθ r2 , 2 is a first spindle drive control device connected to the numerical control device 1, and 2 a is a numerical value. A second spindle drive controller connected to the controller 1, 3
Is a first built-in spindle motor connected to the first spindle drive control device 2, 3a is a second built-in spindle motor connected to the second spindle drive control device 2a, and 4 is a first spindle in a machine tool Then, the first built-in spindle motor 3
Driven by. A second spindle 4a of the machine tool is driven by a second built-in spindle motor 3a. Reference numeral 5 denotes a first speed detector coupled to the first main spindle 4, and the first main spindle 4 has an output of, for example, 256 waves / 1 rotation.
To detect the actual rotation speed of the first speed detection signal Aω r1
To occur. Reference numeral 5a is a second speed detector coupled to the second main shaft 4a. For example, an actual rotation speed of the second main shaft 4a is detected by an output of 256 waves / 1 rotation to output a second speed detection signal Aω r2. To occur.

【0018】6は第1の主軸4に結合された第1の位置
検出器で、例えば1024パルス/1回転の出力により
第1の主軸4の実際の回転位置を検出して第1の位置検
出信号Aθr1を発生する。6aは第2の主軸4aに結合
された第2の位置検出器で、例えば1024パルス/1
回転の出力により第2の主軸4aの実際の回転位置を検
出して第2の位置検出信号Aθr2を発生する。7は一般
的にワークと呼称されている被制御対象、8は第1の主
軸駆動制御装置2、第1のビルトイン主軸電動機3、第
1の速度検出器5、及び第1の位置検出器6により構成
された第1の主軸駆動装置、8aは第2の主軸駆動制御
装置2a、第2のビルトイン主軸電動機3a、第2の速
度検出器5a、及び第2の位置検出器6aにより構成さ
れた第2の主軸駆動装置である。
Reference numeral 6 denotes a first position detector connected to the first main shaft 4, which detects the actual rotational position of the first main shaft 4 by the output of, for example, 1024 pulses / revolution to detect the first position. Generate signal Aθ r1 . 6a is a second position detector coupled to the second spindle 4a, for example 1024 pulses / 1
The actual rotation position of the second spindle 4a is detected by the output of the rotation, and the second position detection signal Aθ r2 is generated. 7 is a controlled object which is generally called a work, 8 is a first spindle drive control device 2, a first built-in spindle motor 3, a first speed detector 5, and a first position detector 6. The first spindle drive device 8a is constituted by the second spindle drive control device 2a, the second built-in spindle motor 3a, the second speed detector 5a, and the second position detector 6a. It is a second spindle drive device.

【0019】9は第1の位置信号比較器で、第1の位置
指令Oθr1と第1の位置検出信号Aθr1とを比較して第
1の位置偏差信号Δθr1を出力する。9aは第2の位置
信号比較器で、第2の位置指令Oθr2と第2の位置検出
信号Aθr2とを比較して第2の位置偏差信号Δθr2を出
力する。10は第1の位置信号比較器9に接続された第
1の位置ループゲイン回路で、第1の位置偏差信号Δθ
r1を増幅する。10aは第2の位置信号比較器9aに接
続された第2の位置ループゲイン回路で、第2の位置偏
差信号Δθr2を増幅する。11は第1のモード切換スイ
ッチで、第1の速度指令Oωr1が入力される接点aと、
第1の位置ループゲイン回路10の出力が入力される接
点bとを有しており、第1の主軸4の回転速度を制御す
る速度制御モード時には接点aに、第1の主軸4の回転
位置を制御する位置制御モード時には接点bに切り換え
られる。11aは第2のモード切換スイッチで、第2の
速度指令Oωr2が入力される接点aaと、第2の位置ル
ープゲイン回路10aの出力が入力される接点baとを
有しており、第2の主軸4aの回転位置を制御する速度
制御モード時には接点aaに、第2の主軸4aの回転位
置を制御する位置制御モード時には接点baに切り換え
られる。
Reference numeral 9 denotes a first position signal comparator which compares the first position command Oθ r1 with the first position detection signal Aθ r1 and outputs a first position deviation signal Δθ r1 . A second position signal comparator 9a compares the second position command Oθ r2 with the second position detection signal Aθ r2 and outputs a second position deviation signal Δθ r2 . Reference numeral 10 denotes a first position loop gain circuit connected to the first position signal comparator 9, which is a first position deviation signal Δθ.
Amplify r1 . A second position loop gain circuit 10a is connected to the second position signal comparator 9a and amplifies the second position deviation signal Δθ r2 . Reference numeral 11 denotes a first mode changeover switch, which includes a contact a to which the first speed command Oω r1 is input,
It has a contact b to which the output of the first position loop gain circuit 10 is input, and in the speed control mode for controlling the rotation speed of the first spindle 4, the rotation position of the first spindle 4 is added to the contact a. In the position control mode for controlling, the contact is switched to the contact b. Reference numeral 11a denotes a second mode changeover switch, which has a contact aa to which the second speed command Oω r2 is input and a contact ba to which the output of the second position loop gain circuit 10a is input. In the speed control mode for controlling the rotational position of the main spindle 4a, the contact is switched to the contact aa, and in the position control mode for controlling the rotational position of the second main spindle 4a, the contact is switched to the contact ba.

【0020】12は第1の速度信号比較器で、第1の速
度指令Oωr1と第1の速度検出信号Aωr1とを比較して
第1の速度偏差信号Δωr1を出力する。12aは第2の
速度信号比較器で、第2の速度指令Oωr2と第2の速度
検出信号Aωr2とを比較して第2の速度偏差信号Δωr2
を出力する。13は第1の速度偏差信号Δωr1をゲイン
により増幅する第1の速度ループゲイン回路で、電流指
令OI11を出力する。13aは第2の速度偏差信号Δω
r2をゲインにより増幅する第2の速度ループゲイン回路
で、電流指令OI21を出力する。14は第1の速度用電
流制限回路で、速度制御モード時に、第1の速度ループ
ゲイン回路13の出力OI11を第1のビルトイン主軸電
動機3の出力特性に見合った電流値I1Lに制限して電流
指令OI12を出力する。14aは第2の速度用電流制限
回路で、速度制御モード時に、第2の速度ループゲイン
回路13aの出力OI21を第2のビルトイン主軸電動機
3aの出力特性に見合った電流値I2Lに制限して電流指
令OI22を出力する。15は第1の電力変換回路で、第
1の速度用電流制限回路14の出力OI12を第1のビル
トイン主軸電動機3に供給する電力に変換する。15a
は第2の電力変換回路で、第2の速度用電流制限回路1
4aの出力OI22を第2のビルトイン主軸電動機3aに
供給する電力に変換する。
A first speed signal comparator 12 compares the first speed command Oω r1 with the first speed detection signal Aω r1 and outputs a first speed deviation signal Δω r1 . A second speed signal comparator 12a compares the second speed command Oω r2 with the second speed detection signal Aω r2 and outputs a second speed deviation signal Δω r2.
Is output. A first speed loop gain circuit 13 amplifies the first speed deviation signal Δω r1 with a gain, and outputs a current command OI 11 . 13a is the second speed deviation signal Δω
The second speed loop gain circuit that amplifies r2 with a gain outputs the current command OI 21 . A first speed current limiting circuit 14 limits the output OI 11 of the first speed loop gain circuit 13 to a current value I 1L corresponding to the output characteristic of the first built-in spindle motor 3 in the speed control mode. And outputs the current command OI 12 . A second speed current limiting circuit 14a limits the output OI 21 of the second speed loop gain circuit 13a to a current value I 2L corresponding to the output characteristic of the second built-in spindle motor 3a in the speed control mode. And outputs the current command OI 22 . A first power conversion circuit 15 converts the output OI 12 of the first speed current limiting circuit 14 into electric power to be supplied to the first built-in spindle motor 3. 15a
Is a second power conversion circuit and is a second speed current limiting circuit 1
The output OI 22 of 4a is converted into electric power to be supplied to the second built-in spindle motor 3a.

【0021】16は第1の位置用電流制限回路で、位置
制御モード時に、第1の速度ループゲイン回路13の出
力OI11を、前記速度制御モード時の電流値I1Lより大
きい電流値I1LPに制限して、展OI12Pを出力する。1
6aは第2の位置用電流制限回路であり、位置制御モー
ド時に、第2の速度ループゲイン回路13aの出力OI
21を、前記速度制御モード時の電流値I2Lより大きい電
流値I2LPに制限して電流指令OI22Pを出力する。17
は第1のモード切換スイッチ11と連動して切り換えら
れる第1の電流制限切換スイッチで、速度制御モード時
には接点a側に切り換えられて第1の電流指令OI11
第1の速度用電流制限回路14に供給される回路を構成
し、位置制御モード時には接点b側に切り換えられて第
1の電流指令OI11が第1の位置用電流制限回路16に
供給される回路を構成する。17aは第2のモード切換
スイッチ11aと連動して切り換えられる第2の電流制
限切換スイッチで、速度制御モード時には接点a側に切
り換えられて第2の電流指令OI12が第2の速度用電流
制限回路14aに供給される回路を構成し、位置制御モ
ード時には接点b側に切り換えられて第2の電流指令O
12が第2の位置用電流制限回路16aに供給される回
路を構成する。
Reference numeral 16 denotes a first position current limiting circuit, which outputs the output OI 11 of the first speed loop gain circuit 13 in the position control mode to a current value I 1LP larger than the current value I 1L in the speed control mode. And output the exhibition OI 12P . 1
Reference numeral 6a denotes a second position current limiting circuit, which outputs the output OI of the second speed loop gain circuit 13a in the position control mode.
21 is limited to a current value I 2LP larger than the current value I 2L in the speed control mode, and the current command OI 22P is output. 17
Is a first current limit changeover switch which is changed over in conjunction with the first mode changeover switch 11. In the speed control mode, it is changed over to the contact a side so that the first current command OI 11 causes the first speed current limit circuit. 14 is configured to supply the first position current limiting circuit 16 with the first current command OI 11 switched to the contact b side in the position control mode. Reference numeral 17a denotes a second current limit changeover switch which is changed over in conjunction with the second mode changeover switch 11a, and is changed over to the contact a side in the speed control mode so that the second current command OI 12 causes the second speed current limit. It constitutes a circuit supplied to the circuit 14a, and is switched to the contact b side in the position control mode to generate the second current command O.
I 12 constitutes a circuit supplied to the second position current limiting circuit 16a.

【0022】次に前述の実施例の動作を説明する。ま
ず、第1の主軸4及び第2の主軸4aを各々単独で別々
に運転する場合について説明する。第1の主軸4及び第
2の主軸4aを各々単独で別々に運転する場合は、第1
及び第2のモード切換スイッチ11,11a及び第1及
び第2の電流制限切換スイッチ17,17aは、何れも
接点a,aa側に投入される。数値制御装置1から第1
の主軸4及び第2の主軸4aの目標回転数に見合った第
1及び第2の速度指令Oωr1,Oωr2が出力され、第1
の主軸駆動制御装置2、第2の主軸駆動制御装置2a
は、対応する第1のビルトイン主軸電動機3及び第2の
ビルトイン主軸電動機3aを、その実際の回転速度Aω
r1,Aωr2が第1及び第2の速度指令Oωr1,Oωr2
追従するように制御する。即ち、第1及び第2の速度指
令Oωr1,Oωr2と第1及び第2の速度検出信号A
ωr1,Aωr2とが各々対応する第1及び第2の速度信号
比較器12,12aで比較され、第1の速度信号比較器
12は第1の速度偏差信号Δωr1を出力し、第2の速度
信号比較器12aは第2の速度偏差信号Δωr2を出力す
る。
Next, the operation of the above embodiment will be described. First, a case where the first main spindle 4 and the second main spindle 4a are individually operated separately will be described. When operating the first main spindle 4 and the second main spindle 4a independently of each other,
The second and second mode changeover switches 11 and 11a and the first and second current limit changeover switches 17 and 17a are turned on to the contacts a and aa. Numerical control device 1 to 1
The first and second speed commands Oω r1 and Oω r2 commensurate with the target rotational speeds of the main spindle 4 and the second main spindle 4a are output,
Spindle drive control device 2 and second spindle drive control device 2a
Corresponds to the corresponding first built-in spindle motor 3 and the second built-in spindle motor 3a with their actual rotation speed Aω.
r1, Aw r2 the first and second speed command Oω r1, controlled so as to follow the Oω r2. That is, the first and second speed commands Oω r1 , Oω r2 and the first and second speed detection signals A
ω r1 and Aω r2 are compared by the corresponding first and second speed signal comparators 12 and 12a, and the first speed signal comparator 12 outputs the first speed deviation signal Δω r1 and the second speed signal Δω r1 . Speed signal comparator 12a outputs a second speed deviation signal Δω r2 .

【0023】16は第1の位置用電流制限回路で、位置
制御モード時に、第1の速度ループゲイン回路13の出
力OI11を、前記速度制御モード時の電流値I1Lより大
きい電流値I1LPに制限して、展OI12Pを出力する。1
6aは第2の位置用電流制限回路であり、位置制御モー
ド時に、第2の速度ループゲイン回路13aの出力OI
21を、前記速度制御モード時の電流値I2Lより大きい電
流値I2LPに制限して電流指令OI22Pを出力する。17
は第1のモード切換スイッチ11と連動して切り換えら
れる第1の電流制限切換スイッチで、速度制御モード時
には接点a側に切り換えられて第1の電流指令OI11
第1の速度用電流制限回路14に供給される回路を構成
し、位置制御モード時には接点b側に切り換えられて第
1の電流指令OI11が第1の位置用電流制限回路16に
供給される回路を構成する。17aは第2のモード切換
スイッチ11aと連動して切り換えられる第2の電流制
限切換スイッチで、速度制御モード時には接点a側に切
り換えられて第2の電流指令OI12が第2の速度用電流
制限回路14aに供給される回路を構成し、位置制御モ
ード時には接点b側に切り換えられて第2の電流指令O
12が第2の位置用電流制限回路16aに供給される回
路を構成する。
Reference numeral 16 denotes a first position current limiting circuit, which outputs the output OI 11 of the first speed loop gain circuit 13 in the position control mode to a current value I 1LP larger than the current value I 1L in the speed control mode. And output the exhibition OI 12P . 1
Reference numeral 6a denotes a second position current limiting circuit, which outputs the output OI of the second speed loop gain circuit 13a in the position control mode.
21 is limited to a current value I 2LP larger than the current value I 2L in the speed control mode, and the current command OI 22P is output. 17
Is a first current limit changeover switch which is changed over in conjunction with the first mode changeover switch 11. In the speed control mode, it is changed over to the contact a side so that the first current command OI 11 causes the first speed current limit circuit. 14 is configured to supply the first position current limiting circuit 16 with the first current command OI 11 switched to the contact b side in the position control mode. Reference numeral 17a denotes a second current limit changeover switch which is changed over in conjunction with the second mode changeover switch 11a, and is changed over to the contact a side in the speed control mode so that the second current command OI 12 causes the second speed current limit. It constitutes a circuit supplied to the circuit 14a, and is switched to the contact b side in the position control mode to generate the second current command O.
I 12 constitutes a circuit supplied to the second position current limiting circuit 16a.

【0024】次に前述の実施例の動作を説明する。ま
ず、第1の主軸4及び第2の主軸4aを各々単独で別々
に運転する場合について説明する。第1の主軸4及び第
2の主軸4aを各々単独で別々に運転する場合は、第1
及び第2のモード切換スイッチ11,11a及び第1及
び第2の電流制限切換スイッチ17,17aは、何れも
接点a,aa側に投入される。数値制御装置1から第1
の主軸4及び第2の主軸4aの目標回転数に見合った第
1及び第2の速度指令Oωr1,Oωr2が出力され、第1
の主軸駆動制御装置2、第2の主軸駆動制御装置2a
は、対応する第1のビルトイン主軸電動機3及び第2の
ビルトイン主軸電動機3aを、その実際の回転速度Aω
r1,Aωr2が第1及び第2の速度指令Oωr1,Oωr2
追従するように制御する。即ち、第1及び第2の速度指
令Oωr1,Oωr2と第1及び第2の速度検出信号A
ωr1,Aωr2とが各々対応する第1及び第2の速度信号
比較器12,12aで比較され、第1の速度信号比較器
12は第1の速度偏差信号Δωr1を出力し、第2の速度
信号比較器12aは第2の速度偏差信号Δωr2を出力す
る。
Next, the operation of the above embodiment will be described. First, a case where the first main spindle 4 and the second main spindle 4a are individually operated separately will be described. When operating the first main spindle 4 and the second main spindle 4a independently of each other,
The second and second mode changeover switches 11 and 11a and the first and second current limit changeover switches 17 and 17a are turned on to the contacts a and aa. Numerical control device 1 to 1
The first and second speed commands Oω r1 and Oω r2 commensurate with the target rotational speeds of the main spindle 4 and the second main spindle 4a are output,
Spindle drive control device 2 and second spindle drive control device 2a
Corresponds to the corresponding first built-in spindle motor 3 and the second built-in spindle motor 3a with their actual rotation speed Aω.
r1, Aw r2 the first and second speed command Oω r1, controlled so as to follow the Oω r2. That is, the first and second speed commands Oω r1 , Oω r2 and the first and second speed detection signals A
ω r1 and Aω r2 are compared by the corresponding first and second speed signal comparators 12 and 12a, and the first speed signal comparator 12 outputs the first speed deviation signal Δω r1 and the second speed signal Δω r1 . Speed signal comparator 12a outputs a second speed deviation signal Δω r2 .

【0025】第1の速度偏差信号Δωr1及び第2の速度
偏差信号Δωr2は対応する第1及び第2の速度ループゲ
イン回路13,13aで増幅され、この第1及び第2の
速度ループゲイン回路13,13aの出力信号OI11
OI21が対応する第1及び第2の電流制限切換スイッチ
17,17aの接点a,aaを介して第1の電流制限回
路14、第2の電流制限回路14aに入力され、この第
1及び第2の速度ループゲイン回路13,13aの出力
信号OI11,OI11が第1及び第2の電流制限回路1
4,14aの各制限値I1L,I2Lより大であれば、第1
の電流制限回路14,第2の電流制限回路14aの各出
力OI12,OI22は、OI12=I1L,OI22=I2Lを、
また前記出力信号OI11,OI21が前記各制限値I1L
2Lより小であれば、OI12=OI11,OI22=OI21
を、それぞれ出力する。これら第1の電流制限回路1
4,第2の電流制限回路14aの各出力OI12=I1L
OI22=I2L、またはOI12=OI11,OI22=OI21
は対応する第1の電力変換回路15及び第2の電力変換
回路15aで、対応する第1のビルトイン主軸電動機3
及び第2のビルトイン主軸電動機3aを駆動する電力に
変換される。そしてこれら第1の電力変換回路15及び
第2の電力変換回路15aの出力によって、対応する第
1のビルトイン主軸電動機3及び第2のビルトイン主軸
電動機3aは対応する第1及び第2の速度指令Oωr1
Oωr2に追従するように制御される。
The first speed deviation signal Δω r1 and the second speed deviation signal Δω r2 are amplified by the corresponding first and second speed loop gain circuits 13 and 13a. Output signals OI 11 of the circuits 13 and 13a,
The OI 21 is input to the first current limiting circuit 14 and the second current limiting circuit 14a via the contacts a and aa of the corresponding first and second current limiting changeover switches 17 and 17a. The output signals OI 11 and OI 11 of the speed loop gain circuits 13 and 13a of No. 2 are the first and second current limiting circuits 1 respectively.
If it is larger than the respective limit values I 1L and I 2L of 4 , 14a, the first
Outputs OI 12 and OI 22 of the current limiting circuit 14 and the second current limiting circuit 14a are OI 12 = I 1L and OI 22 = I 2L ,
Further, the output signals OI 11 and OI 21 have the respective limit values I 1L ,
If smaller than I 2L , OI 12 = OI 11 , OI 22 = OI 21
Are output respectively. These first current limiting circuits 1
4, each output of the second current limiting circuit 14a OI 12 = I 1L ,
OI 22 = I 2L , or OI 12 = OI 11 , OI 22 = OI 21
Is the corresponding first power conversion circuit 15 and second power conversion circuit 15a, and corresponds to the first built-in spindle motor 3
And converted into electric power for driving the second built-in spindle motor 3a. Then, according to the outputs of the first power conversion circuit 15 and the second power conversion circuit 15a, the corresponding first built-in spindle motor 3 and the corresponding second built-in spindle motor 3a have corresponding first and second speed commands Oω. r1 ,
It is controlled so as to follow Oω r2 .

【0026】次に、第1の主軸4及び第2の主軸4aを
互いに連動(第1の主軸4のチャック及び第2の主軸4
aのチャックで1つのワーク(被制御対象)7を同時に
チャッキングする)させて、第1及び第2の主軸4,4
aの位置同期運転を行なう場合は、数値制御装置1の出
力は第1の位置指令Oθr1、第2の位置指令Oθr2に切
り換えられる(この場合、両主軸4,4aの位置は等し
い必要があるため、Oθr1=Oθr2としてある)。第1
及び第2の主軸駆動制御装置2,2aは、数値制御装置
1の出力が第1の位置指令Oθr1、第2の位置指令Oθ
r2に切り換えられたことを検出して、第1及び第2のモ
ード切換スイッチ11,11a、及び第1及び第2の電
流制限切換スイッチ17,17aを接点b,ba側に切
り換える。第1の位置指令Oθr1、第2の位置指令Oθ
r2と第1の位置検出信号Aθr1、第2の位置検出信号A
θr2とは各々対応する第1の位置信号比較器9,第2の
位置信号比較器9aで比較され、第1の位置信号比較器
9から第1の位置指令Oθr1と第1の位置検出信号Aθ
r1との偏差信号、即ち第1の位置偏差信号Δθr1が出力
され、第2の位置信号比較器9aから第2の位置指令O
θr2と第2の位置検出信号Aθr2との偏差信号、即ち第
2の位置偏差信号Δθr2が出力される。
Next, the first spindle 4 and the second spindle 4a are interlocked with each other (the chuck of the first spindle 4 and the second spindle 4).
One chuck (controlled object) 7 is chucked at the same time by the chuck a), and the first and second spindles 4 and 4 are moved.
When the position-synchronized operation of a is performed, the output of the numerical controller 1 is switched to the first position command Oθ r1 and the second position command Oθ r2 (in this case, the positions of both spindles 4 and 4a need to be equal). Therefore, Oθ r1 = O θ r2 ). First
In the second spindle drive control devices 2 and 2a, the output of the numerical control device 1 is the first position command Oθ r1 and the second position command Oθ.
Detecting the switching to r2 , the first and second mode changeover switches 11 and 11a and the first and second current limit changeover switches 17 and 17a are changed over to the contacts b and ba. First position command Oθ r1 , second position command Oθ
r2 and the first position detection signal Aθ r1 , the second position detection signal A
θ r2 is compared by the corresponding first position signal comparator 9 and second position signal comparator 9a, and the first position signal comparator 9 outputs the first position command Oθ r1 and the first position detection signal. Signal Aθ
A deviation signal from r1 , that is, a first position deviation signal Δθ r1 is output, and a second position command O is output from the second position signal comparator 9a.
A deviation signal between θ r2 and the second position detection signal Aθ r2 , that is, a second position deviation signal Δθ r2 is output.

【0027】第1の位置偏差信号Δθr1及び第2の位置
偏差信号Δθr2は各々対応する第1の位置ループゲイン
回路10と第2の位置ループゲイン回路10aとによっ
て増幅され、各々対応する第1及び第2のモード切換ス
イッチ11,11aの接点b,ba対応する第1及び第
2の信号比較器12,12a、対応する第1及び第2の
速度ループゲイン回路13,13a、及び対応する第1
及び第2の電流制限切換スイッチ17,17aの接点
b,baを介して、対応する第1の位置用電流制限回路
16及び第2の位置用電流制限回路16aに供給され
る。このようにして第1及び第2の位置用電流制限回路
16,16aに供給された電流は、第1及び第2の位置
用電流制限回路16,16aの各制限値I1LP,I2LP
り小であれば、そのまま第1及び第2の位置用電流制限
回路16,16aから出力され,各制限値I1LP,I2LP
よりも大であれば、各制限値I1LP,I2LPに制限されて
第1及び第2の位置用電流制限回路16,16aから出
力される。
The first position deviation signal Δθ r1 and the second position deviation signal Δθ r2 are amplified by the corresponding first position loop gain circuit 10 and second position loop gain circuit 10a, respectively. First and second signal comparators 12, 12a corresponding to contacts b, ba of the first and second mode changeover switches 11, 11a, corresponding first and second speed loop gain circuits 13, 13a, and corresponding First
Also, the voltage is supplied to the corresponding first position current limiting circuit 16 and second position current limiting circuit 16a via the contacts b and ba of the second current limiting changeover switches 17 and 17a. In this way, the first and second current supplied to the position for the current limiting circuit 16,16a, the first and second position for the current limiting circuit each restriction value I 1LP of 16,16a, less than I 2LP if, are directly output from the first and second position for the current limiting circuit 16, 16a, each restriction value I 1LP, I 2LP
If larger is than the limit value I 1LP, output from the first and second position for the current limiting circuit 16,16a are limited to I 2LP.

【0028】次に、図2により単独運転モード(速度制
御モード)から連動運転モード(位置制御モード)に切
り換えたときの動作について説明する。動作説明にあた
って、まず、図2中の各符号について説明すると、図2
中、グラフ(A)における18は主軸4の単独運転モー
ド(速度制御モード)時の速度、グラフ(Aa)におけ
る18aは主軸4aの単独運転モード(速度制御モー
ド)時の速度、グラフ(A)における19は主軸4の連
動運転モード(位置制御モード)時の速度、グラフ(A
a)における19aは主軸4aの連動運転モード(位置
制御モード)時の速度、グラフ(B)における20は主
軸4の連動運転モード(位置制御モード)期間、グラフ
(Ba)における20aは主軸4aの連動運転モード
(位置制御モード)期間、グラフ(C)における21は
主軸4の原点復帰完了期間、グラフ(Ca)における2
1aは主軸4aの原点復帰完了期間、グラフ(D)は第
1のモード切換スイッチ11及び第1の電流制限切換ス
イッチ17の各接点a,bの設定期間を示し、22aは
接点a側に切り換えられている期間を、22bは接点b
側に切り換えられている期間をそれぞれ示す。グラフ
(Da)は第2のモード切換スイッチ11a及び第2の
電流制限切換スイッチ17aの各接点aa,baの設定
期間を示し、22aaは接点aa側に切り換えられてい
る期間を、22baは接点ba側に切り換えられている
期間を各々示す。
Next, the operation when switching from the isolated operation mode (speed control mode) to the interlocking operation mode (position control mode) will be described with reference to FIG. In describing the operation, first, each reference numeral in FIG. 2 will be described.
In the graph (A), 18 is the speed of the spindle 4 in the independent operation mode (speed control mode), 18a in the graph (Aa) is the speed of the spindle 4a in the independent operation mode (speed control mode), and the graph (A) 19 is the speed in the linked operation mode (position control mode) of the spindle 4, the graph (A
19a in a) is the speed of the spindle 4a in the interlocking operation mode (position control mode), 20 in the graph (B) is the interlocking operation mode (position control mode) of the spindle 4, and 20a in the graph (Ba) is the spindle 4a. In the interlocking operation mode (position control mode), 21 in the graph (C) is 2 in the graph (Ca), 21 is the origin return completion period of the spindle 4.
Reference numeral 1a indicates a home return completion period of the spindle 4a, graph (D) indicates a setting period of each contact a and b of the first mode changeover switch 11 and the first current limit changeover switch 17, and 22a indicates a contact a side. 22b indicates contact point b
The respective periods during which the side is switched are shown. The graph (Da) shows the set period of each contact aa, ba of the 2nd mode changeover switch 11a and the 2nd current limiting changeover switch 17a, 22aa is the period switched to the contact aa side, 22ba is the contact ba. The respective periods during which the side is switched are shown.

【0029】図2のグラフ(B)(Ba)に示すよう
に、単独運転モードでの運転中に、時刻t1で連動運転
モードを選択する信号が数値制御装置1から第1の主軸
駆動制御装置2、第2の主軸駆動制御装置2aに入力さ
れると、第1の主軸駆動制御装置2、第2の主軸駆動制
御装置2aは、単独運転モード、すなわち速度制御モー
ドから、連動運転モード、すなわち位置制御モードへ切
り換えるために、まず図2(C)(Ca)に示す原点復
帰動作を行なう。この原点復帰動作が完了する(時刻t
21,t22)以前においては、図2(D)(Da)に示す
ように、各切換スイッチ11,11a,17,17aは
接点a,aaに設定されている。時刻t21,t22で原点
復帰動作が完了すると、各切換スイッチ11,11a,
17,17aは接点b,baに切り換えられ、時刻t3
で連動運転モードが解除されるまで、同状態が持続され
る。
As shown in the graphs (B) and (Ba) of FIG. 2, during operation in the independent operation mode, the signal for selecting the interlocking operation mode at time t1 is sent from the numerical controller 1 to the first spindle drive controller. 2, when input to the second main spindle drive control device 2a, the first main spindle drive control device 2 and the second main spindle drive control device 2a operate from the independent operation mode, that is, the speed control mode, to the interlocking operation mode, that is, In order to switch to the position control mode, first, the origin return operation shown in FIGS. 2C and 2C is performed. This home return operation is completed (time t
21, t 22) in the past, as shown in FIG. 2 (D) (Da), the selector switches 11, 11a, 17, 17a are set contact a, the aa. When the origin return operation is completed at the times t 21 and t 22 , the changeover switches 11 and 11a,
The contacts 17 and 17a are switched to the contacts b and ba at time t3.
The same state is maintained until the linked operation mode is released with.

【0030】次に、図3により、本発明の作用効果の実
例を説明する。図3(a)は従来の例、図3(b)は本
発明の例である。ここでは説明を簡単にするため、第1
のビルトイン主軸電動機3及び第2のビルトイン主軸電
動機3aは全く同一仕様の電動機とする。まず、図3
(a)(b)中の符号の説明をすると、グラフ(A)
(Aa)における18,18aは主軸4,4aの単独運
転モード(速度制御モード)時の速度、19,19aは
主軸4,4aの連動運転モード(位置制御モード)時の
速度、グラフ(B)(Ba)における20,20aは主
軸4,4aの連動運転モード(位置制御モード)期間、
グラフ(C)(Ca)における21,21aは主軸4,
4aの原点復帰完了期間、図3(a)のグラフ(E)
(Ea)における符号23,23aは、本発明装置の実
施例を示す図5の第1及び第2の電流制限回路14,1
4aの電流制限値I1L,I2Lを示す。図3(b)のグラ
フ(E)(Ea)における符号23,23aは、本発明
装置の実施例を示す図5の第1及び第2の電流制限回路
14,14aの電流制限値I1L,I2LをI1L=I2Lの場
合について示す。図3(b)のグラフ(E)(Ea)に
おける符号23p,23apは、本発明装置の実施例を
示す図5の第1及び第2の位置用電流制限回路16,1
6aの電流制限値I1LP,I2LPをI1LP=I2LPの場合に
ついて示す。図3(b)のグラフ(E)(Ea)におけ
る24p,24apは、本発明装置の実施例を示す図1
の第1及び第2の位置用電流制限回路16,16aの出
力OI12P,OI22Pを示す。
Next, referring to FIG. 3, an actual example of the function and effect of the present invention will be described. 3A shows a conventional example, and FIG. 3B shows an example of the present invention. In order to simplify the explanation here,
The built-in main spindle motor 3 and the second built-in main spindle motor 3a have completely the same specifications. First, FIG.
Explaining the symbols in (a) and (b), the graph (A)
In (Aa), 18 and 18a are speeds of the spindles 4 and 4a in an independent operation mode (speed control mode), 19 and 19a are speeds of the spindles 4 and 4a in a linked operation mode (position control mode), and a graph (B). 20 and 20a in (Ba) are periods of the interlocking operation mode (position control mode) of the spindles 4 and 4a,
In the graphs (C) and (Ca), 21 and 21a are spindles 4,
4a return-to-origin completion period, graph (E) of FIG.
Reference numerals 23 and 23a in (Ea) denote the first and second current limiting circuits 14 and 1 of FIG. 5 showing an embodiment of the device of the present invention.
4a shows current limit values I 1L and I 2L . Reference numerals 23 and 23a in graphs (E) and (Ea) of FIG. 3B indicate current limiting values I 1L of the first and second current limiting circuits 14 and 14a of FIG. I 2L is shown for the case where I 1L = I 2L . Reference numerals 23p and 23ap in the graphs (E) and (Ea) of FIG. 3B indicate the first and second position current limiting circuits 16 and 1 of FIG. 5 showing an embodiment of the device of the present invention.
6a the current limit value I 1LP, the I 2LP shows the case of I 1LP = I 2LP. Reference numerals 24p and 24ap in graphs (E) and (Ea) of FIG. 3B indicate an embodiment of the device of the present invention.
The outputs OI 12P and OI 22P of the first and second position current limiting circuits 16 and 16a are shown.

【0031】図3(a)において時刻t21,t22以前の
単独運転モード(速度制御モード)時においては、第1
の電流指令OI12,第2の電流指令OI22は第1の電流
制限値I1L、第2の電流制限値I2Lと同値の状態で加減
速を行なう。そして、時刻t21,t22以後の連動運転モ
ード(位置制御モード)時においては、第1の電流指令
OI12,第2の電流指令OI22は、その平均値が第1の
電流制限値I1L、第2の電流制限値I2Lの約80%以下
となる値にて加減速を行なう。この加減速の時定数は、
数値制御装置1の内部パラメータとして設定可能となっ
ている。
In FIG. 3 (a), in the isolated operation mode (speed control mode) before the times t 21 and t 22 , the first operation is performed.
The current command OI 12 and the second current command OI 22 are accelerated and decelerated in the same values as the first current limit value I 1L and the second current limit value I 2L . Then, in the interlocking operation mode (position control mode) after the times t 21 and t 22 , the average values of the first current command OI 12 and the second current command OI 22 are the first current limit value I. Acceleration / deceleration is performed at a value of 1L or about 80% or less of the second current limit value I 2L . This acceleration / deceleration time constant is
It can be set as an internal parameter of the numerical controller 1.

【0032】ここで、第1の電流指令OI12の平均値が
第1の電流制限値I1Lの約80%以下となるように、
又、第2の電流指令OI22の平均値が第2の電流制限値
2Lの約80%以下となるように、時定数を決定する理
由は、(1)位置制御時は、電流指令が飽和すると、位
置の応答が不可能となり、安定な位置制御が行なえなく
なること、(2)電流指令は、速度ループにもよるが、
約±10%程度のリップルが見込まれ、更に10%の余
裕を見ることによる。従って、従来においては、速度制
御時の加速時間(≒減速時間)T1(図3(a))と位
置制御時の加速時間(≒減速時間)T2(図3(a))
には少なくとも次の式(1)に示す関係で、位置制御時
の加速時間(≒減速時間)T2の方が長くなることにな
る。
Here, the average value of the first current command OI 12 is set to about 80% or less of the first current limit value I 1L ,
Further, the reason for determining the time constant so that the average value of the second current command OI 22 is about 80% or less of the second current limit value I 2L is as follows. When saturated, the position response becomes impossible and stable position control cannot be performed. (2) The current command depends on the speed loop,
Ripple of about ± 10% is expected, and a margin of 10% is expected. Therefore, in the prior art, the acceleration time (≅deceleration time) T1 during speed control (FIG. 3A) and the acceleration time (≅deceleration time) T2 during position control (FIG. 3A).
In accordance with at least the following expression (1), the acceleration time (≈deceleration time) T2 during position control becomes longer.

【0033】[0033]

【数1】 [Equation 1]

【0034】これに対し、この発明の実施例において
は、第1の電流制限切換スイッチ17及び第2の電流制
限切換スイッチ17aの各接点をa,aaからb,ba
に切り換えることによって、図3(b)に示すように、
時刻t21,t22以後において、電流制限値をI1L,I2L
からI1LP,I2LPに切り換え、この切り換えによって、
図3(b)のグラフ(E)(Ea)における24p,2
4apのように、加減速時の第1の電流制限値OI12P
の平均値をほぼ第1の電流制限回路14の電流制限値I
1Lに、加減速時の第2の電流制限値OI22Pの平均値を
ほぼ第2の電流制限回路14aの電流制限値I2Lにする
ことが可能になる。
On the other hand, in the embodiment of the present invention, the contact points of the first current limit changeover switch 17 and the second current limit changeover switch 17a are changed from a, aa to b, ba.
By switching to, as shown in FIG.
At time t 21, t 22 after the current limit value I 1L, I 2L
I 1LP, switched I 2LP, by this switching from,
24p, 2 in the graphs (E) and (Ea) of FIG.
4ap, the first current limit value OI 12P during acceleration / deceleration
Of the average value of the current limit value I of the first current limit circuit 14
It becomes possible to make the average value of the second current limit value OI 22P during acceleration / deceleration substantially equal to the current limit value I 2L of the second current limit circuit 14a to 1L .

【0035】これにより、時定数の短縮化を図れ、上記
位置制御時の加速時間(≒減速時間)T2と速度制御時
の加速時間(≒減速時間)T1との関係を、T2≒T1
とすることができる。即ち、従来のものに比べて、位置
制御時の加速時間(≒減速時間)T2を短縮することが
できる。具体的には、この発明の実施例においては、位
置制御時の加速時間(≒減速時間)T2と速度制御時の
加速時間(≒減速時間)T1との関係を、T2≒T1と
することができるので、前記従来の場合における位置制
御時の加速時間(≒減速時間)T2と速度制御時の加速
時間(≒減速時間)T1との関係式(1)と比較すれば
判明するように、位置制御時(連動運転時)の加速時間
(≒減速時間)T2を、従来の位置制御時の加速時間
(≒減速時間)T2より、25%以上の短縮することが
でき、従って、この発明を例えば工作機械に適用した場
合には、加工サイクルタイムの大幅な短縮を実現でき、
工作機械以外に適用しても、被制御対象の作動サイクル
タイムの短縮化を実現できる。
As a result, the time constant can be shortened, and the relationship between the acceleration time (≈deceleration time) T2 during position control and the acceleration time (≈deceleration time) T1 during speed control is T2≈T1.
Can be That is, the acceleration time (≈deceleration time) T2 during position control can be shortened as compared with the conventional one. Specifically, in the embodiment of the present invention, the relationship between the acceleration time (≈deceleration time) T2 during position control and the acceleration time (≈deceleration time) T1 during speed control may be T2≈T1. Therefore, as can be seen from comparison with the relational expression (1) between the acceleration time (≈deceleration time) T2 during position control and the acceleration time (≈deceleration time) T1 during speed control in the conventional case described above, The acceleration time (≈deceleration time) T2 during control (during linked operation) can be shortened by 25% or more from the acceleration time (≈deceleration time) T2 during conventional position control. When applied to machine tools, the machining cycle time can be greatly shortened,
Even if it is applied to other than machine tools, the operation cycle time of the controlled object can be shortened.

【0036】ここで、第1の電流制限回路14、第2の
電流制限回路14a、第1の位置用電流制限回路16及
び第2の位置用電流制限回路16aの各電流制限値
1L,I2L,I1LP,I2LPの関係は次の式(2),式
(3)の関係とするのが適切であると考えられる。
Here, the current limiting values I 1L and I 1 of the first current limiting circuit 14, the second current limiting circuit 14a, the first position current limiting circuit 16 and the second position current limiting circuit 16a, respectively. 2L, I 1LP, relationship I 2LP following expression (2), considered that it is appropriate for the relationship in equation (3).

【0037】[0037]

【数2】 [Equation 2]

【0038】また、第1の主軸駆動制御装置2、第2の
主軸駆動制御装置2a、第1のビルトイン主軸電動機
3、及び第2のビルトイン主軸電動機3aはあくまで第
1の電流制限値I1L、第2の電流制限値I2L以下に制限
されることが前提として考えられるので、加減速時の前
記第1の電流指令OI12、第2の電流指令OI22の平均
値が対応する前記第1の電流制限値I1L、第2の電流制
限値I2Lを越えることのないように時定数を設定する必
要がある。
Further, the first spindle drive control device 2, the second spindle drive control device 2a, the first built-in spindle motor 3 and the second built-in spindle motor 3a are the first current limit value I 1L , Since it is considered that it is limited to the second current limit value I 2L or less, the average value of the first current command OI 12 and the second current command OI 22 during acceleration / deceleration corresponds to the first current command OI 12 . It is necessary to set the time constant so as not to exceed the current limit value I 1L and the second current limit value I 2L .

【0039】実施例2.前述の実施例1における第1の
主軸駆動制御装置2、第2の主軸駆動制御装置2aは、
第1の位置信号比較器9、第2の位置信号比較器9a、
第1の速度信号比較器12、第2の速度信号比較器12
a、第1のモード切換スイッチ11、第2のモード切換
スイッチ11a、第1の電流制限切換スイッチ17、及
び第2の電流制限切換スイッチ17a等をハードウェア
を用いて構成した例を示したが、第1の電力変換回路1
5、第2の電力変換回路15aを構成するサイリスタ等
のパワー素子(図示せず)及びその駆動制御回路(図示
せず)の一部を除き、全てソフトウェアで構成するこ
と、すなわち、コンピュータシステムとしてプログラム
上に前記第1の位置信号比較器9、第2の位置信号比較
器9a、第1の速度信号比較器12、第2の速度信号比
較器12a、第1のモード切換スイッチ11、第2のモ
ード切換スイッチ11a、第1の電流制限切換スイッチ
17、及び第2の電流制限切換スイッチ17a等と等価
な手段を構築することも当然可能であり、この発明はこ
のようなソフトウェアによる手段を含む。
Example 2. The first spindle drive control device 2 and the second spindle drive control device 2a in the above-described first embodiment are
A first position signal comparator 9, a second position signal comparator 9a,
First speed signal comparator 12, second speed signal comparator 12
a, the first mode changeover switch 11, the second mode changeover switch 11a, the first current limit changeover switch 17, the second current limit changeover switch 17a, and the like have been shown as examples using hardware. , The first power conversion circuit 1
5, except for a part of a power element (not shown) such as a thyristor constituting the second power conversion circuit 15a and its drive control circuit (not shown), that is, it is configured by software, that is, as a computer system. On the program, the first position signal comparator 9, the second position signal comparator 9a, the first speed signal comparator 12, the second speed signal comparator 12a, the first mode changeover switch 11, the second It is naturally possible to construct means equivalent to the mode changeover switch 11a, the first current limit changeover switch 17, the second current limit changeover switch 17a, etc., and the present invention includes such means by software. ..

【0040】実施例3.また、前述の実施例1において
は、第1及び第2のモータすなわち駆動源3,3aとし
て、同一仕様のビルトインモータを使用した場合を示し
たが、この発明は、異なる仕様のモータあるいはギア、
ベルト等を介してモータにより駆動するようにした機
械、その他各種の装置に適用しても前述の実施例1と同
様な効果を奏する。
Example 3. Further, in the above-described first embodiment, the case where the built-in motors having the same specifications are used as the first and second motors, that is, the drive sources 3 and 3a has been shown.
Even if it is applied to a machine that is driven by a motor via a belt or the like and other various devices, the same effect as that of the above-described first embodiment can be obtained.

【0041】実施例4.また、前述の実施例1において
は、第1の電流制限回路14、第2の電流制限回路14
a、第1の位置用電流制限回路16、及び第2の位置用
電流制限回路16aの各電流制限値I1L,I2L
1LP,I2LPを固定値とした場合を例にして説明した
が、例えば、モータ3,3a等の駆動源の速度の大きさ
に対応して各電流制限値I1L,I2L,I1LP,I2LPを可
変とする場合にこの発明を適用しても前述の実施例14
と同様な効果を奏する。
Example 4. In addition, in the above-described first embodiment, the first current limiting circuit 14 and the second current limiting circuit 14
a, each of the current limiting values I 1L , I 2L of the first position current limiting circuit 16 and the second position current limiting circuit 16a
I 1LP, has been described as an example a case in which a fixed value I 2LP, for example, the current limit value corresponding to the magnitude of the speed of the drive source such as a motor 3,3a I 1L, I 2L, I 1LP , I 2LP is variable, even if the present invention is applied, the above-mentioned Embodiment 14 is used.
Has the same effect as.

【0042】実施例5.また、前述の実施例1において
は、単独運転モード(速度制御モード)から連動運転モ
ード(位置制御モード)に切り換える場合に一旦原点復
帰するシーケンストした例を挙げて説明したが、原点復
帰することなく回転中に単独運転モード(速度制御モー
ド)から連動運転モード(位置制御モード)に切り換え
る場合にこの発明を適用しても前述の実施例1と同様な
効果を奏する。
Example 5. Further, in the above-described first embodiment, the sequence is explained in which the home position is once returned when switching from the independent operation mode (speed control mode) to the interlocking operation mode (position control mode). Even if the present invention is applied to the case where the single operation mode (speed control mode) is switched to the interlocking operation mode (position control mode) during rotation, the same effect as that of the above-described first embodiment can be obtained.

【0043】実施例6.また、前述の実施例1において
は、第1の電流制限回路14、第2の電流制限回路14
a、第1の位置用電流制限回路16、及び第2の位置用
電流制限回路16aの各電流制限値I1L,I2L
1LP,I2LPは「電流」制限値の場合について記述した
が、例えば、磁束、電力、電圧、光などの電流と比例、
反比例等の相関関係にある電流相当値をも意味してお
り、これら電流相当値を利用した場合もこの発明に含ま
れる。
Example 6. In addition, in the above-described first embodiment, the first current limiting circuit 14 and the second current limiting circuit 14
a, each of the current limiting values I 1L , I 2L of the first position current limiting circuit 16 and the second position current limiting circuit 16a
I 1LP, I 2LP has been described for the case of "current" limit, for example, proportional magnetic flux, power, voltage, and current, such as light,
It also means current equivalent values having a correlation such as inverse proportionality, and the case where these current equivalent values are used is also included in the present invention.

【0044】実施例7.また、前述の実施例1において
は、2つの主軸を有する工作機械の場合を例にして記述
したが、例えば、1つの主軸で位置制御を行なう他の動
作(例えば同期タップ、C軸)等をするものにこの発明
を適用しても前述の実施例1と同様な効果を奏する。
Example 7. Further, in the above-described first embodiment, the case of a machine tool having two spindles has been described as an example, but other operations for performing position control with one spindle (for example, synchronization tap, C axis), etc. Even if the present invention is applied to what is described above, the same effect as that of the above-described first embodiment can be obtained.

【0045】[0045]

【発明の効果】この発明の請求項1及び請求項2に記載
の発明における制御装置においては、前述のように、第
1及び第2の主軸等の被制御対象を速度制御する速度制
御モード(あるいは、単独運転する単独運転モード)及
び位置制御する位置制御モード(あるいは、連動運転す
る連動運転モード)の何れか一に選択的に定められたモ
ードで、第1及び第2の電動機等の駆動装置が制御され
ると共に、前記駆動装置の電流の制限値は前記速度制御
モード(あるいは単独運転モード)の場合より前記位置
制御モード(あるいは連動運転モード)の場合の方が大
きくしてあるので、前記位置制御モード(あるいは連動
運転モード)の場合の加減速時間に短縮され、加工サイ
クルタイムの短縮化等、被制御対象の作動サイクルタイ
ムの短縮化を実現することができる効果がある。
As described above, in the control device according to the first and second aspects of the present invention, as described above, the speed control mode for controlling the speed of the controlled object such as the first and second spindles ( Alternatively, driving of the first and second electric motors or the like in a mode selectively set to either one of an independent operation mode of independent operation) and a position control mode of position control (or a linked operation mode of interlocked operation) Since the device is controlled and the current limit value of the drive device is larger in the position control mode (or the interlocking operation mode) than in the speed control mode (or the independent operation mode), Acceleration / deceleration time in the position control mode (or interlocking operation mode) is shortened, which shortens the processing cycle time and shortens the operation cycle time of the controlled object. There is an effect that can Rukoto.

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

【図1】この発明の実施例1を示すブロック回路図。FIG. 1 is a block circuit diagram showing a first embodiment of the present invention.

【図2】図1に示す実施例1における制御(運転)モー
ド切換動作を説明するための動作説明図。
FIG. 2 is an operation explanatory view for explaining a control (driving) mode switching operation in the first embodiment shown in FIG.

【図3】従来装置における速度波形(a)と図1に示す
実施例1における速度波形(b)とを比較説明するため
の速度波形比較図。
FIG. 3 is a speed waveform comparison diagram for comparing and explaining the speed waveform (a) in the conventional apparatus and the speed waveform (b) in the first embodiment shown in FIG. 1.

【図4】この発明の実施例と従来例の制御装置全体を共
通的に示した概略構成図。
FIG. 4 is a schematic configuration diagram commonly showing an entire control device according to an embodiment of the present invention and a conventional example.

【図5】従来の制御装置における主軸駆動制御装置の回
路構成を示すブロック回路図。
FIG. 5 is a block circuit diagram showing a circuit configuration of a spindle drive control device in a conventional control device.

【符号の説明】[Explanation of symbols]

1 数値制御装置 2 第1の主軸駆動制御装置 2a 第2の主軸駆動制御装置 3 第1のビルトイン主軸電動機 3a 第2のビルトイン主軸電動機 4 第1の主軸(被制御対象) 4a 第2の主軸(被制御対象) 5 第1の速度検出器 5a 第2の速度検出器 6 第1の位置検出器 6a 第2の位置検出器 7 ワーク(被制御対象) 8 第1の主軸駆動装置 8a 第2の主軸駆動装置 9 第1の位置信号比較器 9a 第2の位置信号比較器 10 第1の位置ループゲイン回路 10a 第2の位置ループゲイン回路 11 第1のモード切換スイッチ 11a 第2のモード切換スイッチ 12 第1の速度信号比較器 12a 第2の速度信号比較器 13 第1の速度ループゲイン回路 13a 第2の速度ループゲイン回路 14 第1の電流制限回路 14a 第2の電流制限回路 15 第1の電力変換回路 15a 第2の電力変換回路 16 第1の位置用電流制限回路 16a 第2の位置用電流制限回路 17 第1の電流制限切換スイッチ 17a 第2の電流制限切換スイッチ Oωr1 第1の速度指令 Oωr2 第2の速度指令 Oθr1 第1の位置指令 Oθr2 第2の位置指令 Δθr1 第1の位置偏差信号 Δθr2 第2の位置偏差信号 Δωr1 第1の速度偏差信号 Δωr2 第2の速度偏差信号 Aθr1 第1の位置検出信号 Aθr2 第2の位置検出信号 Aωr1 第1の速度検出信号 Aωr2 第2の速度検出信号 OI11 電流制限前の第1の電流指令 OI21 電流制限前の第2の電流指令 OI12 速度用電流制限後の第1の電流指令 OI22 速度用電流制限後の第2の電流指令 OI12P 位置用電流制限後の第1の電流指令 OI22P 位置用電流制限後の第2の電流指令 I1L 速度用の第1の電流制限値 I2L 速度用の第2のの電流制限値 I1LP 位置用の第1のの電流制限値 I2LP 位置用の第2のの電流制限値1 Numerical Control Device 2 First Spindle Drive Control Device 2a Second Spindle Drive Control Device 3 First Built-in Spindle Motor 3a Second Built-in Spindle Motor 4 First Spindle (Controlled Object) 4a Second Spindle ( Controlled object) 5 1st speed detector 5a 2nd speed detector 6 1st position detector 6a 2nd position detector 7 Work (controlled object) 8 1st spindle drive device 8a 2nd Spindle drive device 9 1st position signal comparator 9a 2nd position signal comparator 10 1st position loop gain circuit 10a 2nd position loop gain circuit 11 1st mode changeover switch 11a 2nd mode changeover switch 12 First speed signal comparator 12a Second speed signal comparator 13 First speed loop gain circuit 13a Second speed loop gain circuit 14 First current limiting circuit 14a Second current Limit circuit 15 First power conversion circuit 15a Second power conversion circuit 16 First position current limiting circuit 16a Second position current limiting circuit 17 First current limiting changeover switch 17a Second current limiting changeover switch Oω r1 1st speed command Oω r2 2nd speed command Oθ r1 1st position command Oθ r2 2nd position command Δθ r1 1st position deviation signal Δθ r2 2nd position deviation signal Δω r1 1st speed Deviation signal Δω r2 Second speed deviation signal Aθ r1 First position detection signal Aθ r2 Second position detection signal Aω r1 First speed detection signal Aω r2 Second speed detection signal OI 11 First before current limitation Current command OI 21 second current command before current limit OI 12 first current command after speed current limit OI 22 second current command after speed current limit OI 12P first after current limit for position second electrodeposition current command OI 22P position current limit after the A first current limit value the second of the current limit value first of the current limit value I 2LP second of current limit values for position for I 1LP position for I 2L speed for command I 1L Speed

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成3年11月13日[Submission date] November 13, 1991

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0009[Correction target item name] 0009

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0009】第1の位置偏差信号Δθr1及び第2の位置
偏差信号Δθr2は各々対応する第1の位置ループゲイン
回路10と第2の位置ループゲイン回路10aとによっ
て増幅され、各々対応する第1及び第2のモード切換ス
イッチ11,11aの接点b,baを介して、対応する
第1の信号比較器12及び第2の信号比較器12aに入
力される。以後の動作は、前述の単独運転モードの速度
制御時の同様であり、第1の主軸4及び第2の主軸4a
は、対応する第1のビルトイン主軸電動機3及び第2の
ビルトイン主軸電動機3aを介して、対応する第1の位
置指令Oθr1、第2の位置指令Oθr2に追従するように
制御される
The first position deviation signal Δθ r1 and the second position deviation signal Δθ r2 are amplified by the corresponding first position loop gain circuit 10 and second position loop gain circuit 10a, respectively. It is input to the corresponding first signal comparator 12 and second signal comparator 12a via the contacts b and ba of the first and second mode changeover switches 11 and 11a. The subsequent operation is the same as that in the speed control in the above-mentioned single operation mode, and the first main spindle 4 and the second main spindle 4a are operated.
Via the corresponding first built spindle motor 3 and the second built-spindle motor 3a, a corresponding first position command Oshita r1, is controlled so as to follow the second position command Oθ r2.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0032[Name of item to be corrected] 0032

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0032】ここで、第1の電流指令OI12の平均値が
第1の電流制限値I1Lの約80%以下となるように、
又、第2の電流指令OI22の平均値が第2の電流制限値
2Lの約80%以下となるように、時定数を決定する理
由は、(1)位置制御時は、電流指令が飽和すると、位
置の応答が不可能となり、安定な位置制御が行なえなく
なること、(2)電流指令は、速度ループ応答特性にも
よるが、約±10%程度のリップルが見込まれ、更に1
0%の余裕を見ることによる。従って、従来において
は、速度制御時の加速時間(≒減速時間)T1(図3
(a))と位置制御時の加速時間(≒減速時間)T2
(図3(a))には少なくとも次の式(1)に示す関係
で、位置制御時の加速時間(≒減速時間)T2の方が長
くなることになる。
Here, the average value of the first current command OI 12 is set to about 80% or less of the first current limit value I 1L ,
Further, the reason for determining the time constant so that the average value of the second current command OI 22 is about 80% or less of the second current limit value I 2L is as follows. When saturated, position response becomes impossible and stable position control cannot be performed. (2) Ripple of about ± 10% is expected for the current command, although it depends on the speed loop response characteristic.
By looking at 0% margin. Therefore, in the past, the acceleration time (≈deceleration time) T1 (see FIG.
(A)) and acceleration time (≈deceleration time) T2 during position control
In FIG. 3 (a), the acceleration time (≈deceleration time) T2 at the time of position control is longer because of at least the relationship expressed by the following expression (1).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 数値制御装置、この数値制御装置からの
第1の指令に応動して第1の被制御対象を上記第1の指
令に基づいて駆動する第1の駆動装置、上記数値制御装
置からの第2の指令に応動して第2の被制御対象を上記
第2の指令に基づいて駆動する第2の駆動装置を備え、
上記第1及び第2の被制御対象を速度制御する速度制御
モード及び位置制御する位置制御モードの何れか一に選
択的に定められたモードで上記第1及び第2の駆動装置
が制御されると共に、上記駆動装置の電流の制限値ある
いは設定値は上記速度制御モードの場合より上記位置制
御モードの場合の方を大きくされてなる制御装置。
1. A numerical control device, a first drive device for driving a first controlled object based on the first command in response to a first command from the numerical control device, and the numerical control device. A second drive device for driving the second controlled object based on the second command in response to the second command from
The first and second drive devices are controlled in a mode selectively set to one of a speed control mode for speed control and a position control mode for position control of the first and second controlled objects. At the same time, the control device is such that the current limit value or set value of the drive device is made larger in the position control mode than in the speed control mode.
【請求項2】 数値制御装置、この数値制御装置からの
第1の指令に応動して第1の被制御対象を上記第1の指
令に基づいて駆動する第1の駆動装置、上記数値制御装
置からの第2の指令に応動して第2の被制御対象を上記
第2の指令に基づいて駆動する第2の駆動装置を備え、
上記第1及び第2の被制御対象を個別に単独運転する単
独運転モード及び上記第1及び第2の被制御対象を連動
して運転する連動運転モードの何れか一に選択的に定め
られたモードで上記第1及び第2の駆動装置が制御され
ると共に、上記駆動装置の電流の制限値あるいは設定値
は上記単独運転モードの場合より上記連動運転モードの
場合の方を大きくされてなる制御装置。
2. A numerical control device, a first drive device for driving a first controlled object based on the first command in response to a first command from the numerical control device, and the numerical control device. A second drive device for driving the second controlled object based on the second command in response to the second command from
It is selectively set to either one of an isolated operation mode in which the first and second controlled objects are individually operated independently and an interlocked operation mode in which the first and second controlled objects are operated in conjunction with each other. Control in which the first and second drive devices are controlled in a mode, and the current limit value or set value of the drive device is made larger in the interlocking operation mode than in the isolated operation mode. apparatus.
JP22116791A 1991-08-07 1991-08-07 Control unit Pending JPH0542451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22116791A JPH0542451A (en) 1991-08-07 1991-08-07 Control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22116791A JPH0542451A (en) 1991-08-07 1991-08-07 Control unit

Publications (1)

Publication Number Publication Date
JPH0542451A true JPH0542451A (en) 1993-02-23

Family

ID=16762525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22116791A Pending JPH0542451A (en) 1991-08-07 1991-08-07 Control unit

Country Status (1)

Country Link
JP (1) JPH0542451A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007326182A (en) * 2006-06-08 2007-12-20 Murata Mach Ltd Lathe with supplying means of bar workpiece

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007326182A (en) * 2006-06-08 2007-12-20 Murata Mach Ltd Lathe with supplying means of bar workpiece

Similar Documents

Publication Publication Date Title
US5079490A (en) Spindle drive system of machine tool
JPH0542451A (en) Control unit
US6310457B1 (en) Servomotor controller
JP3556709B2 (en) Method and apparatus for synchronous operation of servo motor
JPH0469132A (en) Stop controller of electric motor
JPH10271866A (en) Power supply circuit
JP3330221B2 (en) Acceleration / deceleration control device for press feeder device
JPH04119408A (en) Inverter device
JPS6235907A (en) Controller for machine tool
JPH0433109A (en) Main shaft driving device for machine tool
JPH07222479A (en) Driving apparatus
JPH0661641B2 (en) Machine tool spindle drive
JPH0531648A (en) Main spindle control device for machine tool
JPS59165993A (en) Positioning controller
JPH01264747A (en) Origin return device for automatic control machine tool
JPH01185190A (en) Controller for machine tool main-shaft motor
JP2712881B2 (en) Numerical control unit
JPH11156638A (en) Numerical control device
JPH08237978A (en) Fixed position stop controller for motor
JPH0222098Y2 (en)
JPS63265582A (en) Servomotor controller
JP4457636B2 (en) Control method of motor drive device
JPH08211918A (en) Position control system of cnc
JP2866517B2 (en) Machine tool control device
JPH0431603Y2 (en)