[go: up one dir, main page]

JPS59128615A - Method for controlling position of rotary shaft - Google Patents

Method for controlling position of rotary shaft

Info

Publication number
JPS59128615A
JPS59128615A JP467783A JP467783A JPS59128615A JP S59128615 A JPS59128615 A JP S59128615A JP 467783 A JP467783 A JP 467783A JP 467783 A JP467783 A JP 467783A JP S59128615 A JPS59128615 A JP S59128615A
Authority
JP
Japan
Prior art keywords
motor
counter
command
stop
converter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP467783A
Other languages
Japanese (ja)
Other versions
JPH069013B2 (en
Inventor
Yoshimoto Fujioka
藤岡 良基
Naoto Oota
直人 太田
Mitsuhiko Hirota
広田 光彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP58004677A priority Critical patent/JPH069013B2/en
Publication of JPS59128615A publication Critical patent/JPS59128615A/en
Publication of JPH069013B2 publication Critical patent/JPH069013B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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/00Programme-control systems
    • G05B19/02Programme-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 programme data in numerical form
    • G05B19/19Numerical 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 programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • G05B19/21Numerical 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 programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device
    • G05B19/23Numerical 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 programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control
    • G05B19/231Numerical 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 programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control the positional error is used to control continuously the servomotor according to its magnitude
    • 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/41Servomotor, servo controller till figures
    • G05B2219/41186Lag

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To move and stop a rotary shaft to/at an objective position rapidly by executing prescribed stop controlling when the 2nd command value is inputted after completing the stop controlling at the fixed position by the 1st command value. CONSTITUTION:A detector 101 outputting a one-revolution signal RP every one revolution and a position pulse PP every revolution of a prescribed angle and a current position counter 107 counting up the position pulses PP are connected. When the 2nd command value ORCM2 is inputted after completing the stop controlling at the fixed position by the 1st command value ORCM1, the command value ORCM1 is set up on the counter 107. Subsequently, a DA converter 111 is driven on the basis of the deviation ER between the command value ORCM2 and the contents of the counter 107 to control the stop of a motor 100. Thus, the rotary shaft can be moved and stopped to/at an objective position rapidly.

Description

【発明の詳細な説明】 本発明は、工作恢慎の主軸を所定の口伝角位置に停止制
御する回転軸位置制御方式に関し、特に高速位1iff
i決め可能な回転軸位置制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a rotary shaft position control method for controlling the main shaft of a machine to stop at a predetermined vertical angle position, and in particular,
The present invention relates to a rotary shaft position control system that allows i-determining.

例えば、旋盤などのNC工作機械においては、ネジ切り
作業では、主軸を複数の回転角位置で停止制御する必要
がある。
For example, in an NC machine tool such as a lathe, it is necessary to control the main spindle to stop at a plurality of rotation angle positions during thread cutting work.

主軸を所定の回転角又は定位置に停止制御するには、従
来から次の様な位置制御方式が採られている。
In order to control the spindle to stop at a predetermined rotation angle or a fixed position, the following position control method has conventionally been adopted.

定位置停止指令であるオリエンチーシラン指令0几CM
Iが到来すると、交流モータの指令が速度指令VCMD
から低速指令(JVCMへ切替わる。尚、停止している
父流モータの場合は、ただちに低速指令OVCMが与え
られる。これにより交流モータは低速回転する。交流モ
ータが回転し、絶対原点AOに到達すると、検出器から
1回転信号RPが発生する。つまシ絶対原点AOは1回
転信号の立上シ又は立下シ位置に一致しているのが一般
的である。
Oriental silane command 0 CM which is a fixed position stop command
When I arrives, the AC motor command becomes the speed command VCMD.
Switches from to low speed command (JVCM). In the case of a stopped father-flow motor, the low speed command OVCM is immediately given. This causes the AC motor to rotate at low speed. The AC motor rotates and reaches the absolute origin AO. Then, a one-rotation signal RP is generated from the detector. Generally, the absolute origin AO of the pick is coincident with the rising or falling position of the one-rotation signal.

この絶対原点AUは検出器の取付は位置に対応して設定
される。この1回転信号により現在位置カウンタに絶対
原点AUからの回転量がセットされる。第1図によシ祝
明すると、前述の絶対原点AOは、検出器の取付は誤差
によシ予定の機械原点MOと異なるのが通例のため、先
づ、絶対原点AOと機械原点MOとの回転量Zlを求め
ておいて、目標位置CAとの回転量Z2は機械原点MO
を起点として算出する。従って、現在位置カウンタには
(ZI+z、)75tセツトされる。以降低速指令によ
る交流モータの回転によシ検出器からの位置パルスによ
り現在位置カウンタの内容を減算し、現在位置カウンタ
の内容が零になった時低速指令をオフし、現在位置カウ
ンタの内容をD−A(デジタル−アナログ)コンバータ
で変換し交流モータに与える。
This absolute origin AU is set corresponding to the mounting position of the detector. This one rotation signal sets the amount of rotation from the absolute origin AU in the current position counter. Referring to Figure 1, the above-mentioned absolute origin AO is usually different from the planned mechanical origin MO due to an error in the installation of the detector, so first, let us first compare the absolute origin AO and the mechanical origin MO. The rotation amount Zl with respect to the target position CA is calculated, and the rotation amount Z2 with respect to the target position CA is determined from the machine origin MO.
Calculate using as the starting point. Therefore, the current position counter is set to (ZI+z,)75t. Thereafter, as the AC motor rotates due to the low speed command, the contents of the current position counter are subtracted by the position pulse from the detector, and when the contents of the current position counter become zero, the low speed command is turned off and the contents of the current position counter are subtracted. It is converted by a DA (digital-to-analog) converter and applied to the AC motor.

現在位置カウンタの容景をn(例えば40915)とす
るI) Aコンバータはn/2(例えば2048)で出
力零となる様に設定されているので、現在位置カウンタ
の内容が零の時は低速指令と等しいDAコンバータの最
大電圧が出力される。以降I)Aコンバータの出力で交
流モータが回転されるに伴ない検出器から構成される装
置パルスによシ現在位置カウンタの内容が減算され、従
ってDAコンバータの出力を減少し、現在位置カウンタ
の内容がn / 2となるとDAコンバータの出力が零
となり、り流モータは停止する。これにより任意の目標
位1δに停止させることができる。
Assuming that the current position counter value is n (for example, 40915), the A converter is set to output zero at n/2 (for example, 2048), so when the current position counter value is zero, the speed is low. The maximum voltage of the DA converter equal to the command is output. Hereinafter, I) As the AC motor is rotated by the output of the A converter, the content of the current position counter is subtracted by the device pulse made up of the detector, thus decreasing the output of the DA converter and increasing the current position counter. When the content becomes n/2, the output of the DA converter becomes zero and the flow motor stops. This makes it possible to stop at an arbitrary target position 1δ.

この様な従来の位置制御方式は、カウンタの減算で一定
の低速指令からカウンタの内容に従って減少する位置制
御指令に切替えられ、カウンタの内容で交流モータが停
止できるので、切替えが円滑でしかも速度が円滑に減少
していくから、高速で精度の高い位置決めが可能となる
。しかしながら、第1図(13)の如く、目標位置CA
に停止後次の目標位置CBK移動停止せしめるには、1
回転して1回転信号発生後同様の制御を行なうので、交
流モータを1回転以上回転しないと位置停止ができない
から、交流モータを無駄に回転させることになり、高速
の移動停止が不可能となり、又エネルギーの損失も生じ
ていた。
In this conventional position control method, by subtracting a counter, the command is switched from a constant low speed command to a position control command that decreases according to the contents of the counter, and the AC motor can be stopped according to the contents of the counter, so the switching is smooth and the speed can be reduced. Since it decreases smoothly, high-speed and highly accurate positioning becomes possible. However, as shown in FIG. 1 (13), the target position CA
To stop moving to the next target position CBK after stopping at
Since the same control is performed after the motor rotates and generates a one-rotation signal, it is not possible to stop the AC motor in position unless it rotates one revolution or more, which results in unnecessary rotation of the AC motor, making it impossible to stop the movement at high speed. There was also a loss of energy.

従って、本発明の目的は、係る停止後に目標位置に高速
に停止することのできる回転軸位置制御方式を提供する
にある。
Therefore, an object of the present invention is to provide a rotary shaft position control system that can quickly stop at a target position after such a stop.

以下、本発明を実施例に従い詳細に説明する。Hereinafter, the present invention will be explained in detail according to examples.

第2図は本発明の一実施例ブロック図であシ、図中、1
00はモータであシ、交流、直流いずれでもよいもの、
101は検出器であシ、モータ100ノシヤフトに直結
され、モータ100の所定回転角回転毎に位置パルスP
Pを、モータ100の1回転毎に1回転信号RPを出力
するもの、102は4倍回路であシ、位置パルスPPを
4倍の周波数のパルスPSを発生するもの、103は速
度制御回路であシ、指令速度に応じてモータ100を速
度制御するため、速度制御ループ、電流制御ループを有
するもの、104は原点指令設定器であり、前述の回転
量Z1を2進数の原点指令として設定するもの、105
はレシーバであfi、 NC等から与えられる機械原点
MOからの移動回転量を受けるもの、106は加算器で
あり、原点指令設定器104の回転量Z1と、レシーバ
105からの指令回転量とを加算するもの、107は現
在位置カウンタであシ、容量n (4096)の可逆カ
ウンタで構成され、パルスPSを指令に応じ加算又は減
算するもの、108は切換回路であシ、第1のオリエン
テーシ冒ン指令ORCM1に応じ低速指令を発し、更に
1回転信号に応じカウンタ107に加算器106の内容
をセットし、パルスPSの減算を行なわしめ、第2のオ
リエンテーシ冒ン指令ORCM2に応じ、加算器106
の内容をカウンタ107にセットし、後述する位置偏差
回路を動作せしめるもの、109は位置偏差回路であり
、ゲー)ANlが開放されたとき、加算器106の内容
と現在位置カラ/り107との内容の位置偏差E几を出
力するもの、110は原点シフト回路であシ、ゲートA
N2が開放されて原点シフト数n / 2が入力される
と、E凡+n / 2の演算を行い偏差E)tを出力す
るもの、111はDAコンバータで、Sl、n/2 で
出力が零、n又はOで最大出力を発生するもの、112
は合成回路であシ、115はスイッチ制御回路であり、
入力信号に応じ各スイッチSW1.SW2゜SW5をオ
ン/オフ制御するもの、114はレジスタであシ、原点
シフト数n / 2が格納されているものである7、 次に第2図の実施例構成の動作について説明すると、■
先づモータ100が高速回転しているとすると、スイッ
チ制御回路113はスイッチSW3を閉じておシ、対応
する速度指令VCMDがスイッチSW3、合成回路11
2を介し速度制御回路103に入力され、モータ100
は速度指令V CM Dに応じた速度で回転している。
FIG. 2 is a block diagram of one embodiment of the present invention.
00 is a motor, which can be either AC or DC.
A detector 101 is directly connected to the shaft of the motor 100 and generates a position pulse P every time the motor 100 rotates at a predetermined angle.
P is a circuit that outputs one rotation signal RP for each rotation of the motor 100, 102 is a quadruple circuit, generates a pulse PS with a frequency four times the position pulse PP, and 103 is a speed control circuit. In order to control the speed of the motor 100 according to the command speed, it has a speed control loop and a current control loop. 104 is an origin command setting device, which sets the above-mentioned rotation amount Z1 as a binary origin command. thing, 105
106 is a receiver which receives the moving rotation amount from the machine origin MO given from the NC, etc., and 106 is an adder that combines the rotation amount Z1 of the origin command setter 104 and the command rotation amount from the receiver 105. 107 is a current position counter; 107 is a reversible counter with a capacity n (4096); 108 is a switching circuit; 108 is a switching circuit; In response to the orientation change command ORCM1, a low speed command is issued, and in response to the one rotation signal, the contents of the adder 106 are set in the counter 107 to subtract the pulse PS, and in response to the second orientation change command ORCM2, the content of the adder 106 is set in the counter 107. vessel 106
109 is a position deviation circuit which sets the contents of the adder 106 and the current position error circuit 107 when AN1 is opened. 110 is the origin shift circuit, which outputs the positional deviation E of the contents, and gate A.
When N2 is opened and the origin shift number n/2 is input, it calculates E+n/2 and outputs the deviation E)t. 111 is a DA converter, and the output is zero at Sl, n/2. , n or O, which generates maximum output, 112
is a synthesis circuit, 115 is a switch control circuit,
Each switch SW1. SW2 and SW5 are turned on/off controlled, and 114 is a register in which the origin shift number n/2 is stored.7 Next, the operation of the embodiment configuration shown in FIG. 2 will be explained as follows.
First, if the motor 100 is rotating at high speed, the switch control circuit 113 closes the switch SW3, and the corresponding speed command VCMD is set to the switch SW3 and the synthesis circuit 11.
2 to the speed control circuit 103, and the motor 100
is rotating at a speed according to the speed command VCMD.

■切換回路108にオリエンテーション指令O几CM1
が到来すると、切換回路108はスイッチ制御回路11
3に低速指令LCMを発し、スイッチ制御回路113は
スイッチSW3をオフし、スイッチSW2をオンする。
■Orientation command to switching circuit 108 CM1
arrives, the switching circuit 108 switches the switch control circuit 11
3, the switch control circuit 113 turns off the switch SW3 and turns on the switch SW2.

これによりオリエンテーション速[OVCMがスイッチ
SW2、合成回路112を介し速度制御回路103へ送
られ、モータ100はオリエンテーション速度で回転す
ることになる。つま夛モータ100は高速回転中ではオ
リエンテーション速度まで減速するし、停止中の場合は
オリエンテーション速度まで加速することになる。
As a result, the orientation speed [OVCM is sent to the speed control circuit 103 via the switch SW2 and the synthesis circuit 112, and the motor 100 rotates at the orientation speed. When the motor 100 is rotating at high speed, it is decelerated to the orientation speed, and when it is stopped, it is accelerated to the orientation speed.

■モータ100がこの様に回転し、絶対原点に達すると
検出器101から1回転信号H,Pが出力され、切換回
路108は加算器106の内容(Zl +Z2 )が現
在位置カウンタ107にセットされる。加算器106は
原点指令設定器1040回転1itZ1とレシーバ10
5からの機械原点MOから目標位置までの指令量Z2と
が入力されているから加算器106の内容は(Z1+2
4 )となっている。(第3図(5)参照)。更に切換
回路108は現在位置カウンタ107に減算指令DE(
モータ100が逆回転時には加陶指令IN)を与え、モ
ータ100の検出器101及び4倍回路102から得ら
れるパルスPSを減算せしめる。との減算に従い、現在
位置カウンタ107が零となり、更に苓から(n−1)
になるとオーバフローパルスOF’P’&発し、スイッ
チ制御回路113に入力し、スイッチ制御回路113は
、スイッチSW2をオフし、スイッチ・SWlをオンす
る。
■When the motor 100 rotates in this manner and reaches the absolute home position, the detector 101 outputs one rotation signals H and P, and the switching circuit 108 sets the contents of the adder 106 (Zl + Z2) in the current position counter 107. Ru. The adder 106 is connected to the origin command setter 1040 rotations 1itZ1 and the receiver 10.
Since the command amount Z2 from the machine origin MO to the target position from 5 is input, the contents of the adder 106 are (Z1+2
4). (See Figure 3 (5)). Furthermore, the switching circuit 108 issues a subtraction command DE(
When the motor 100 is rotating in the reverse direction, a machining command IN) is given, and the pulse PS obtained from the detector 101 and the quadruple circuit 102 of the motor 100 is subtracted. According to the subtraction, the current position counter 107 becomes zero, and further from Rei (n-1)
When this happens, an overflow pulse OF'P'& is generated and input to the switch control circuit 113, which turns off the switch SW2 and turns on the switch SW1.

■これにより、カウンタ107の内容が位置偏差回路1
09、原点シフト回路110を介しスルーでDAコンバ
ータ111に与えられる。即ちアンドゲートAN1及び
AN2は開放されてないから、位置偏差回路109、原
点シフト回路110へのこれらゲートAN1.AN2か
らの入力は零のため、カウンタ107の内容がスルーで
与えられる。この時、DAコンバータ111の出力は入
力がn / 2で零、n又はOで最大電圧となる様に設
定され、この最大電圧はオリエンテーション速度指令O
VCMと同一電圧に設定されているので、スイッチSW
2をオフし、スイッチSW1をオンしても印加電圧の変
化はなく、従って係る位置ループへの切換はスムーズに
行なわれる。これによシカランク107の内容に応じた
DAコンバータ111の電圧が合成回路112より速度
制御回路103へ与えられ、モータ100が速度制御さ
れる。
■This causes the contents of the counter 107 to be changed to the position deviation circuit 1.
09, it is applied to the DA converter 111 via the origin shift circuit 110. That is, since AND gates AN1 and AN2 are not open, these gates AN1 . Since the input from AN2 is zero, the contents of the counter 107 are passed through. At this time, the output of the DA converter 111 is set so that it becomes zero when the input is n/2 and becomes the maximum voltage when the input is n or O, and this maximum voltage is determined by the orientation speed command O.
Since it is set to the same voltage as VCM, switch SW
Even if switch SW1 is turned off and switch SW1 is turned on, there is no change in the applied voltage, so switching to the position loop is performed smoothly. As a result, the voltage of the DA converter 111 according to the content of the digital rank 107 is applied from the synthesis circuit 112 to the speed control circuit 103, and the speed of the motor 100 is controlled.

■カウンタ107はモータ100の回転によって発生す
るパルスPSで減算されるから、DAコンバータ111
の出力を順次減少し、モータ100も減速するCとにな
る。カウンタ100が+1 / 2となると、1)Aコ
ンバータ111の出力は零となυ、モータ100は停止
する。即ち、第6図(5)の如く目標位置CAからn 
/ 2回転した位置CAに停止する。
■Since the counter 107 is subtracted by the pulse PS generated by the rotation of the motor 100, the DA converter 111
The output of the motor 100 is sequentially decreased and the motor 100 is also decelerated. When the counter 100 becomes +1/2, 1) the output of the A converter 111 becomes zero, υ, and the motor 100 stops. That is, as shown in FIG. 6 (5), from the target position CA to n
/ Stops at position CA after two rotations.

この様にして第1のオリエンテーション指令ORCM1
によって絶対原点AO又は機械原点MOからの絶対アド
レス位置に停止し、高速位置決めでき、その精度も扁い
In this way, the first orientation command ORCM1
Accordingly, it is possible to stop at the absolute address position from the absolute origin AO or the mechanical origin MO, high-speed positioning is possible, and its accuracy is also low.

尚、ここまでの動作は従来と同様である。Note that the operation up to this point is the same as the conventional one.

0次に、係る停止位置CAでの加工が終了し、次の目標
位置CBK移動する時には、先づ第2のオリエンテーシ
ョン指令01tCM2が切換回路108に人力する。切
換回路10Bのセット指令によシ加算器106の前述の
内容(Zl +Z2 )がカウンタ107にセットされ
る。即ち、現在位置カウンタ107には目標位置CAの
アドレス(モータ100の現在位置)がセットされるこ
とになる。更に切換回路108はアンドゲートAN1及
びAN2を開放する。これによシ、位置偏差回路109
は加算器106の内容から現在位置カウンタ107の内
8f差し引いた位fitfA差ER,を出力する。この
場合、加算器106と現在位置カウンタ107の内容は
同一のため位置誤差El(。
Next, when the machining at the stop position CA is completed and the robot moves to the next target position CBK, the second orientation command 01tCM2 is manually input to the switching circuit 108. The above-mentioned contents (Zl + Z2) of the adder 106 are set in the counter 107 in response to a set command from the switching circuit 10B. That is, the address of the target position CA (the current position of the motor 100) is set in the current position counter 107. Furthermore, switching circuit 108 opens AND gates AN1 and AN2. Accordingly, the position deviation circuit 109
subtracts 8f of the current position counter 107 from the contents of the adder 106 and outputs the fitfA difference ER. In this case, since the contents of the adder 106 and the current position counter 107 are the same, the position error El(.

は零である。位置誤差E1(は原点シフト回路110に
入力し、レジスタ114の原点シフト数n / 2が加
算され位置誤差E、1(、(=El(、+n/2)がb
1力される。
is zero. The position error E1 (is input to the origin shift circuit 110, the origin shift number n/2 of the register 114 is added, and the position error E, 1 (, (=El (, +n/2) is
1 force is applied.

位置誤差El−LはDAコンバータ111でアナログ電
圧に変換されるが、EI’Lが零であるから、E胴n/
2となシ、DAコンバータ111の出力は零となシ、モ
ータ100は回転しない。
The position error El-L is converted into an analog voltage by the DA converter 111, but since EI'L is zero, E cylinder n/
2, the output of the DA converter 111 is zero, and the motor 100 does not rotate.

■斐に、NCから機械原点AOからの目標位置CBまで
の回転412sがレシーバ105に入力されると、加算
器106は、原点指令設定器104の回転量Z1とこの
指令iZsとを加算する。これによシ、加算器106の
内容は(Z1+Zs)となるから位置偏差回路109の
出力ER,は(Zs Z2)となシ、従って目標位置C
Bと目標位置CAとの相対位置偏差と麿る。。
(2) When the rotation 412s from the NC to the target position CB from the machine origin AO is input to the receiver 105, the adder 106 adds the rotation amount Z1 of the origin command setter 104 and this command iZs. As a result, the content of the adder 106 becomes (Z1+Zs), so the output ER of the position error circuit 109 becomes (Zs Z2), and therefore the target position C
This corresponds to the relative positional deviation between B and target position CA. .

この位置誤差E11.は原点シフト回路110でn/2
加算され、ERとして出力され、DAコンバータ111
はこれに応じたアナログ電圧を出力し、合成回路112
を介し速度制御回路105に送シモータ100を回転せ
しめる。
This position error E11. is n/2 in the origin shift circuit 110
It is added and output as ER, and the DA converter 111
outputs an analog voltage corresponding to this, and the synthesis circuit 112
The speed control circuit 105 is caused to rotate the feed motor 100 via the speed control circuit 105.

■モータ100の回転により検出器101.4倍回路1
02よシパルスPSが出力される。現在位置カウンタ1
07には、切換回路108よシ加算指令IN(モータ1
00が逆回転時には減算指令DB)が与えられているの
で、カウンタ107はパルスPSを加算するのでその内
容は増加する。このため位置偏差回路109の出力El
(、は減少する。
■Detector 101.4 times circuit 1 due to rotation of motor 100
02 signal PS is output. Current position counter 1
07, the switching circuit 108 outputs an addition command IN (motor 1
Since the subtraction command DB) is given when 00 rotates in the reverse direction, the counter 107 adds the pulse PS, so its contents increase. Therefore, the output El of the position error circuit 109
(, decreases.

即ち、指令量に対し現在位置が常に追従する様にモータ
100が制御される。
That is, the motor 100 is controlled so that the current position always follows the command amount.

この出力El(は19点シフトN路で出力1・:a<=
1・:1ケn/2)とされDAコンバータ111に入力
し、アナログ電圧に変換され、合成回路112を介し速
度制御回路105に与えられ、モータ100を速度制御
する。
This output El (is a 19-point shift N path and output 1.:a<=
1.:1ken/2) and is input to the DA converter 111, converted to an analog voltage, and given to the speed control circuit 105 via the synthesis circuit 112 to control the speed of the motor 100.

この様にしてモータ100が減速し、位置誤差ERが零
となってJ)Aコンバータ111の出力が零となるとモ
ータ100は停止する。この停止位置は第3図(B)の
り(1く目標位1iicBに対しn / 2回転したC
Bとなっている。
In this way, the motor 100 decelerates, and when the position error ER becomes zero and the output of the J)A converter 111 becomes zero, the motor 100 stops. This stop position is shown in Figure 3 (B)
It is B.

又、位置誤差BRがn / 2以上となると、原点シフ
ト回路110はn J−J、上となってキャリー又はボ
ローを出力し、スイッチ制御装置116に入力し、スイ
ッチ8W2をオンし、スイッチ8W1’f<オフする。
Further, when the position error BR becomes n/2 or more, the origin shift circuit 110 becomes n J-J, outputs a carry or borrow, inputs it to the switch control device 116, turns on the switch 8W2, and turns on the switch 8W1. 'f<turn off.

このためオリエンテーション指令速度OVCMが合成回
路112を介し速度制御回路103に入力し、モータ1
00を速度制御する。モータ100の回転によって発生
するパルスPSはカウンタ107で加算され、位置誤差
ER,は減少し、ER,がn /2以下となり、原点シ
フト回路110からキャリー又はボロー出力が発せられ
なくなると、スイッチ制御装置113はスイッチSW2
をオフし、スイッチ8W1をオンする。このため以降、
前述の■と同様の制御が行なわれモータ100が停止制
御される1、これによりビットの分解能を上げることな
くインクリメントの割出しができる。
Therefore, the orientation command speed OVCM is input to the speed control circuit 103 via the synthesis circuit 112, and the motor 1
Control the speed of 00. The pulses PS generated by the rotation of the motor 100 are added by the counter 107, the position error ER, decreases, and when ER, becomes n/2 or less and no carry or borrow output is generated from the origin shift circuit 110, switch control is performed. Device 113 is switch SW2
is turned off, and switch 8W1 is turned on. For this reason, from now on,
The same control as described in (2) above is performed and the motor 100 is controlled to stop (1), thereby making it possible to index the increment without increasing the bit resolution.

逆に再度第1のオリエンテーション指令ORCM1が到
来すると、前述の■〜■の絶対アドレスによる停止制御
が行なわれ、第2のオリエンテーション指令ORCM2
が到来すると、前述の■〜■の相対偏差によるインクリ
メントの割出しの停止制御が行なわれることになる。
On the other hand, when the first orientation command ORCM1 arrives again, the stop control is performed using the absolute addresses (■ to ■) described above, and the second orientation command ORCM2 is issued.
When , the control to stop the indexing of increments based on the above-mentioned relative deviations is performed.

以上説明した様に、本発明によれば、第1の指令発生時
には、カウンタに第1の指令値をセットし、モータの検
出器からの位置)くルスを減算し、カウンタの内容を位
置誤差として出力し、モータを駆動するので、絶対アド
レスに基いて停止制御出来、高速で正確な停止位置決め
ができるという効果を奏する他に、第1の指令値で停止
した後インクリメントな移動に対しては第2の指令を発
生し、カウンタにモータの現在位置である第1の指令値
をセットし、第2の指令値との偏差、即ち相対アドレス
に基いてモータを駆動しているので、最短時間で目標位
置へインクリメンタル駆動できるという効果も奏する。
As explained above, according to the present invention, when the first command is generated, the first command value is set in the counter, the position error from the motor detector is subtracted, and the content of the counter is set to the position error. Since the output is output as , and the motor is driven, it is possible to control the stop based on the absolute address and achieve accurate stop positioning at high speed. The second command is generated, the first command value, which is the current position of the motor, is set in the counter, and the motor is driven based on the deviation from the second command value, that is, the relative address, so the shortest time is possible. This also has the effect of allowing incremental drive to the target position.

又、第1の指令に対しては、カウンタが絶対偏差を発生
し、第2の指令に対しては、カウンタが現在位置を発生
する様動作するので、構成が複雑となることもなく、か
かる機能を安価に小型に構成できるという実用上優れた
効果も秦する。
In addition, the counter operates to generate an absolute deviation in response to the first command, and generates the current position in response to the second command, so the configuration does not become complicated. It also has an excellent practical effect of being able to configure functions at low cost and in a small size.

尚、本発明を一実施例によシ説明したが、本発明は上述
の実施例に限定されることなく、本発明の主旨に従い狸
々の変形が可能であり、これらを本発明の範囲から排除
するものではない。
Although the present invention has been described with reference to one embodiment, the present invention is not limited to the above-mentioned embodiment, and various modifications can be made in accordance with the spirit of the present invention. It is not something to be excluded.

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

第1図は従来の位置制御方式説明図、第2図は本発明の
一実施例ブロック図、第3図は第2図構成の動作説明図
である。 図中、100・・・モータ、101・・・検出器、10
6・・・加算器、107・・・現在位置カウンタ、10
9・・・位置偏差検出回路、111・・・DAコンバー
タ。 特許出願人  ファナック株式会社 代理人 弁理士  辻    實  外1名住場 第  1  図 (A )              (B )(A)
           rB)
FIG. 1 is an explanatory diagram of a conventional position control system, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of the operation of the configuration shown in FIG. In the figure, 100...Motor, 101...Detector, 10
6... Adder, 107... Current position counter, 10
9...Position deviation detection circuit, 111...DA converter. Patent applicant Fanuc Co., Ltd. Agent Patent attorney Minoru Tsuji and 1 other person Residence Figure 1 (A) (B) (A)
rB)

Claims (1)

【特許請求の範囲】[Claims] 回転軸を回転するモータが1回転する毎に1回転信号を
、所定角回転する毎に位置パルスを出力する検出器と、
該検出器の位置パルスを計数するカウンタと、デジタル
値をアナログ値に変換するDAコンバータとを有し、第
1の指令到来時に1回転信号に応じて該カウンタに第1
の指令値をセットし、該DAコンバータから該カウンタ
の内容に応じた指令速度を該モータに与えて停止制御す
るとともに第2の指令到来時に瞑カウンタに該第1の指
令領をセットし第2の殉令匝と該カウンタの内容との偏
差によ、9DAコンバータを駆動して区モータを停止制
御することを特徴とする回転軸位置制御方式。
a detector that outputs a one-rotation signal every time the motor rotating the rotary shaft rotates once, and a position pulse every time the motor rotates by a predetermined angle;
It has a counter that counts the position pulses of the detector and a DA converter that converts the digital value into an analog value.
A command value is set for the motor, and a command speed corresponding to the contents of the counter is given to the motor from the DA converter to control the motor to stop.When a second command arrives, the first command range is set to the meditation counter and the second command is set. A rotary shaft position control method characterized in that a 9DA converter is driven to control a ward motor to stop based on the deviation between the output value of the counter and the content of the counter.
JP58004677A 1983-01-14 1983-01-14 Spindle fixed position stop control device Expired - Lifetime JPH069013B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58004677A JPH069013B2 (en) 1983-01-14 1983-01-14 Spindle fixed position stop control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58004677A JPH069013B2 (en) 1983-01-14 1983-01-14 Spindle fixed position stop control device

Publications (2)

Publication Number Publication Date
JPS59128615A true JPS59128615A (en) 1984-07-24
JPH069013B2 JPH069013B2 (en) 1994-02-02

Family

ID=11590521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58004677A Expired - Lifetime JPH069013B2 (en) 1983-01-14 1983-01-14 Spindle fixed position stop control device

Country Status (1)

Country Link
JP (1) JPH069013B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990002367A1 (en) * 1988-08-29 1990-03-08 Fanuc Ltd Numerical controller
WO1997010580A1 (en) * 1995-09-12 1997-03-20 Liberty Technologies - Beta Apparatus for wireless transmission of shaft position information

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS567109A (en) * 1979-06-29 1981-01-24 Mitsubishi Electric Corp Steady position stop control system for rotor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS567109A (en) * 1979-06-29 1981-01-24 Mitsubishi Electric Corp Steady position stop control system for rotor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990002367A1 (en) * 1988-08-29 1990-03-08 Fanuc Ltd Numerical controller
WO1997010580A1 (en) * 1995-09-12 1997-03-20 Liberty Technologies - Beta Apparatus for wireless transmission of shaft position information

Also Published As

Publication number Publication date
JPH069013B2 (en) 1994-02-02

Similar Documents

Publication Publication Date Title
US4817007A (en) Machine tool control systems
JPS59189401A (en) Position controlling circuit
US4112291A (en) Positioning system in a numerically controlled apparatus
US4890046A (en) Numerical control apparatus
US4347470A (en) Spindle orientation control apparatus
US4386407A (en) Lathe control system
JPS59231615A (en) Controlling method of position loop gain
JPS59128615A (en) Method for controlling position of rotary shaft
JPS5833564B2 (en) A device that positions an object to a target position in an optimized time
JPH0469850A (en) Position controller for tape recorder
JP3426779B2 (en) Backlash compensation device for numerically controlled machine tools
US4257000A (en) Apparatus for controlling the length of movement of a controlled member along a path of repeated operating positions
KR930001582B1 (en) Home Return Method
JPS63167912A (en) Servo controller
JPS59229609A (en) Control device of industrial robot
JPS621012A (en) Positioning controller for rotor
JP2687639B2 (en) Motor control device
JPS59187484A (en) Drive for arm of industrial robot
JP2730314B2 (en) Robot control device
JPH02212905A (en) Nc program route profiling device and semi-automatic manipulator
JPS5870315A (en) Controller of robot
JP2629728B2 (en) Screw processing equipment
WO1981000073A1 (en) Method of constantly controlling peripheral speed
JPS62184504A (en) Numerically controlled device
WO1989002104A1 (en) Spindle control method and numerical controller