JPH03273402A - Method for synchronized operation - Google Patents

Method for synchronized operation

Info

Publication number
JPH03273402A
JPH03273402A JP7207890A JP7207890A JPH03273402A JP H03273402 A JPH03273402 A JP H03273402A JP 7207890 A JP7207890 A JP 7207890A JP 7207890 A JP7207890 A JP 7207890A JP H03273402 A JPH03273402 A JP H03273402A
Authority
JP
Japan
Prior art keywords
axis
axes
phase
synchronous operation
signal
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
JP7207890A
Other languages
Japanese (ja)
Inventor
Yuji Nakamura
裕司 中村
Naoto Shimozono
下園 直登
Yoshiji Hiraga
義二 平賀
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP7207890A priority Critical patent/JPH03273402A/en
Publication of JPH03273402A publication Critical patent/JPH03273402A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To cope also with the temporary speed fluctuation of a first axis by executing the sampling of the control loop of a second and succeeding axes thereafter at timing determined by the output of the position detector of the first axis and making the second and the succeeding axes synchronize with the first axis. CONSTITUTION:The memories of NC devices 12 to 14 store position commands where corresponding axes of a second and the succeeding axes shall move to corresponding to A, B and C phase signals of an encoder for main axis 5, that is, in a form corresponding to the position of the main axis while the main axis rotates once. The NC devices 12 to 14 start the synchronized operation of corresponding motors 2 to 4 respectively with synchronizing with the input timing of a C phase signal, read the purposing command corresponding to A and B phase signals at sampling timing determined by the A and B phase signals, sample position detecting signals outputted by the position detectors of the respective axes and generate a positional deviation. Thus, it can be coped also with a case that the speed of the main axis changes temporarily.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の軸が同期動作を行なうNC機械、ロボ
ット等の同期運転方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a synchronous operation system for NC machines, robots, etc. in which a plurality of axes perform synchronous operations.

〔従来の技術〕[Conventional technology]

第3図は目標指令をシリアルパルス列で与え、第1軸に
同期させて第2軸を運転するサーボ系の従来例のブロッ
ク図である。このように目標指令をシリアルパルス列で
与え同期運転を行なう方式では、本出願人も特開昭60
−200311号公報において、第1軸のエンコーダパ
ルスの処理方式を提案している。第3図を簡単に説明す
る。パルス処理回路51には第1軸のエンコーダからの
A、B、C相パルスが入力され、第2軸が動くべき目標
指令をシリアルパルス列の形で出力する。
FIG. 3 is a block diagram of a conventional example of a servo system in which a target command is given as a serial pulse train and the second axis is operated in synchronization with the first axis. In this method of giving target commands in the form of a serial pulse train and performing synchronous operation, the present applicant also proposed
In the publication No. 200311, a method for processing encoder pulses of the first axis is proposed. FIG. 3 will be briefly explained. A, B, and C phase pulses from the encoder of the first axis are input to the pulse processing circuit 51, and a target command for moving the second axis is output in the form of a serial pulse train.

目標値および現在値カウンタ52,56は入力されたシ
リアルパルスを累積し目標値および現在値を算出する。
The target value and current value counters 52 and 56 accumulate the input serial pulses and calculate the target value and current value.

減算器53は目標値と現在値との差を算出しD/A変換
器54に出力することにより位置ループが組まれる。速
度制御器55は第2軸モータ57の速度を制御する。エ
ンコーダ58は第2軸モータの位置を検出する。
The subtracter 53 calculates the difference between the target value and the current value and outputs it to the D/A converter 54, thereby forming a position loop. A speed controller 55 controls the speed of the second axis motor 57. Encoder 58 detects the position of the second axis motor.

しかし、このような目標指令をシリアルパルス列で与え
るサーボ系では、目標指令が一定速度であってもパルス
処理回路51の出力パルスが均等でなく、また、位置ル
ープはすべて論理回路で組まれているため部品点数が多
く、制御方式を変更しづらいなどの問題があった。そこ
で現在のサーボ系では、位置ループの計算をCPU上で
一定のサンプリング周期で行ない、目標指令は1サンプ
リング周期間に移動すべきパルス数を数ビットのデータ
としてCPUに与えているものが多い。
However, in a servo system that gives such a target command as a serial pulse train, even if the target command is a constant speed, the output pulses of the pulse processing circuit 51 are not uniform, and all position loops are constructed with logic circuits. Therefore, there were problems such as a large number of parts and difficulty in changing the control method. Therefore, in many current servo systems, position loop calculations are performed on the CPU at a constant sampling period, and the target command is given to the CPU as several bits of data indicating the number of pulses to be moved during one sampling period.

第4図はこのようなサンプリング制御による同期運転方
法を適用したサーボ系の従来例のブロック図である。
FIG. 4 is a block diagram of a conventional example of a servo system to which such a synchronous operation method using sampling control is applied.

ここで、メモリ71は、1サンプリング周期間に移動す
べきパルス数を数ビットのデータとして記憶する。サン
プラ72.75はサンプリング周期T、で閉じる。目標
値カウンタ73は、受は取ったデータを累積し目標値を
算出する。現在値カウンタ81は、入力されたシリアル
パルスを累積し現在値を算出する。減算器74は目標値
カウンタ74の出力から現在値カウンタの出力を減算す
る。割り込みタイマ76は予め設定された一定サンプリ
ング周期で割り込み信号を発生する。C相処理回路77
は第1軸エンコーダのC相パルスを受は取り、同期開始
用の割り込み信号を発生する。D/A変換器79紘減算
器74の出力をD/A変換する。速度制御器80はD/
A変換器79の出力に応答して第2軸モータ82の速度
を制御し、エンコーダ83は第2軸モータの回転位置を
検出する。ここで、サンプラ72,75、目標値カウン
タ73、減算器74、および割り込みタイマ76は、C
PU78の内部で構成される。
Here, the memory 71 stores the number of pulses to be moved during one sampling period as several bits of data. The sampler 72.75 closes at the sampling period T. The target value counter 73 accumulates the received data and calculates the target value. The current value counter 81 accumulates the input serial pulses and calculates the current value. A subtracter 74 subtracts the output of the current value counter from the output of the target value counter 74. The interrupt timer 76 generates an interrupt signal at a preset constant sampling period. C phase processing circuit 77
receives the C-phase pulse of the first axis encoder and generates an interrupt signal for starting synchronization. D/A converter 79 D/A converts the output of the subtracter 74. The speed controller 80 is D/
The speed of the second axis motor 82 is controlled in response to the output of the A converter 79, and the encoder 83 detects the rotational position of the second axis motor. Here, samplers 72 and 75, target value counter 73, subtracter 74, and interrupt timer 76 are
It is configured inside the PU78.

CPU7Bは、パルス処理回路77からの割り込み信号
によって同期運転を開始し、その後は割り込みタイマ7
6からのサンプリング周期ごとの割り込みによって、目
標値と現在値との差を求め、D/A変換器79へ出力す
る。
The CPU 7B starts synchronous operation in response to an interrupt signal from the pulse processing circuit 77, and then the interrupt timer 7
6, the difference between the target value and the current value is determined and output to the D/A converter 79.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記第4図の同期運転方式では、第1軸に対して同期を
とるタイミングは同期動作の開始時のみで、その後の位
置制御ループのサンプリングはCPU独自の一定周期の
割り込み信号に同期して行なわれているため、第1軸の
速度が変化した場合に問題が生じる。この様子を第5図
に示す。第5図(a)は、第1軸が一定速度で回転して
いる場合における。第2軸の各サンプリング時の目標指
令値の一例を示し、第5図(b)は、第1軸の回転速度
が172になった場合の第2軸の各サンプリング時の目
標指令値を示し、第5図(C)は第1軸の回転速度が1
/2になった場合の第2軸の各サンプリング時の補間さ
れた目標指令値を示している。
In the synchronous operation method shown in Fig. 4 above, the timing to synchronize with the first axis is only at the start of synchronous operation, and subsequent sampling of the position control loop is performed in synchronization with the CPU's own constant cycle interrupt signal. This creates a problem when the speed of the first axis changes. This situation is shown in FIG. FIG. 5(a) shows the case where the first shaft is rotating at a constant speed. An example of the target command value at each sampling of the second axis is shown, and FIG. 5(b) shows the target command value at each sampling of the second axis when the rotational speed of the first axis is 172. , Fig. 5(C) shows that the rotational speed of the first shaft is 1.
/2, the interpolated target command value at each sampling time of the second axis is shown.

いま一定速度で回転している第1軸に同期して、第2軸
を第5図(a)に示す目標指令で運転しているとする。
Assume that the second axis is being operated in synchronization with the first axis, which is currently rotating at a constant speed, according to the target command shown in FIG. 5(a).

ここで、第1軸の回転速度を1/2にした場合には、与
えられた目標値をそのまま利用すると、第5図(b)に
示すように各サンプリング時において、2度同じ目標値
を用いなければならず、目標値が階段状になってしまう
ため、第5図(C)に示すような、目標値の補間が必要
となる。しかしこの補間には、第1軸の速度と第2軸の
サンプリング周期との正確な比率が必要であり、しかも
、第1軸の位置と第2軸のサンプリング周期との位相関
係も厳密に管理しなければならない。さらに、第1軸の
速度が一時的に変化する場合にはこの方式では対処でき
なくなる。
Here, if the rotation speed of the first axis is reduced to 1/2 and the given target value is used as is, the same target value will be set twice at each sampling time as shown in Figure 5 (b). Since the target value becomes step-like, it is necessary to interpolate the target value as shown in FIG. 5(C). However, this interpolation requires an accurate ratio between the speed of the first axis and the sampling period of the second axis, and also strictly controls the phase relationship between the position of the first axis and the sampling period of the second axis. Must. Furthermore, this method cannot cope with cases where the speed of the first axis changes temporarily.

(問題点を解決するための手段) 本発明の第1の同期運転方法は、第1軸の回転位置およ
び回転方向に対応する第1および第2の信号と、第1軸
の回転位置原点に対応する第3の信号を生成し、第2軸
以降の同期運転開始のタイミングを少くとも第3の信号
によって決定し、第1軸の回転位置に対応して設定され
ている第2軸以降の各軸の目標指令をそれぞれの制御ル
ープに与えることにより、第1軸の回転に同期して第2
軸以降の各軸の運転をサンプリング制御する同期運転方
法であって、第2軸以降の各軸の制御ループのサンプリ
ングを第1および第2の信号によって決定されるタイミ
ングで行う。
(Means for Solving the Problems) The first synchronous operation method of the present invention provides first and second signals corresponding to the rotational position and rotational direction of the first shaft, and the rotational position origin of the first shaft. A corresponding third signal is generated, the timing for starting the synchronous operation of the second axis and subsequent axes is determined by at least the third signal, and the timing of the second and subsequent axes set corresponding to the rotational position of the first axis is determined. By giving the target command for each axis to each control loop, the rotation of the second axis is synchronized with the rotation of the first axis.
This is a synchronous operation method in which the operation of each axis after the second axis is sampled and controlled, and the control loop of each axis after the second axis is sampled at a timing determined by the first and second signals.

本発明の第2の同期運転方法は、第1の同期運転方法の
第1.第2.第3の信号をエンコーダで生成してこれら
をA、B、C相信号とし、C相信号の出力に引続いて出
力されたA相、B相信号の数が、第2軸以降の各軸につ
いて設定された数値に一致したとき、当該軸の同期運転
を開始させる。
The second synchronous operation method of the present invention is the first synchronous operation method of the first synchronous operation method. Second. A third signal is generated by an encoder and these are used as A, B, and C phase signals, and the number of A-phase and B-phase signals output following the output of the C-phase signal is When the set values match, the synchronous operation of the relevant axis is started.

(作   用〕 本発明の第1の同期運転方法は、制御ループのサンプリ
ング(第1軸の位置に対応して設定されている第2軸以
降の各軸の目標指令のサンプリング、および第2軸以降
の各軸の位置検出信号のサンプリング)が第1軸の位置
に対応するタイミングで行われるので、第1軸の速度に
関係なく第1軸の位置を検出したタイミングでその位置
に対応する目標指令をサンプリングすることができる。
(Function) The first synchronous operation method of the present invention includes sampling of the control loop (sampling of target commands for each axis after the second axis, which are set corresponding to the position of the first axis, and Since the subsequent sampling of the position detection signal of each axis is performed at the timing corresponding to the position of the first axis, the target corresponding to the position is detected at the timing when the position of the first axis is detected, regardless of the speed of the first axis. Directives can be sampled.

したがって、第1軸の速度変化によって追従誤差を生ず
ることなく、第2軸以時の各軸の同期運転をすることが
できる。
Therefore, each axis from the second axis onward can be operated synchronously without causing a tracking error due to a change in the speed of the first axis.

その結果、第2軸以降の各軸の目標指令を1度設定すれ
ば第1軸の速度が変わった場合でも、サンプリング周期
の変更や目標指令の補間を必要とせず、また、第1.第
2.第3の信号間の位相関係が一定である限り、正確な
同期運転が実現される。
As a result, once the target commands for each axis after the second axis are set, there is no need to change the sampling period or interpolate the target commands even if the speed of the first axis changes. Second. Accurate synchronous operation is achieved as long as the phase relationship between the third signals is constant.

本発明の第2の同期運転方法においては、第1軸の位置
原点に対応するC相パルス検出後、A。
In the second synchronous operation method of the present invention, after detecting the C-phase pulse corresponding to the position origin of the first axis, A.

B相パルスを第2軸以降の各軸毎に定まる設定値だけ計
数した後、対応する軸の同期運転を開始するので、第2
軸以降の各軸は相互に、または第1軸に対して所定の位
相角だけ位相をずらせて同期運転する。
After counting B-phase pulses by the set value determined for each axis after the second axis, synchronized operation of the corresponding axis is started.
The subsequent axes operate synchronously with each other or with their phases shifted by a predetermined phase angle with respect to the first axis.

(実 施 例〕 以下、本発明の具体的実施例を第1図、第2図に示して
説明する。
(Embodiments) Hereinafter, specific embodiments of the present invention will be described with reference to FIGS. 1 and 2.

第1図は本発明の同期運転方法を適用する多軸NCシス
テムの第1の実施例の構成図である。
FIG. 1 is a block diagram of a first embodiment of a multi-axis NC system to which the synchronous operation method of the present invention is applied.

本実施例の多軸NCシステムは、主軸(第1軸)に同期
して第2.3.4軸が動作する。主軸モータ1は、主軸
用NC装fillによって制御される。主軸用エンコー
ダ5は主軸の位置および回転方向に対応するA、B相信
号(第1.第2の信号)、および主軸の位置原点に対応
するC相信号(第3の信号)を生成する。NC装置12
゜13.14はそれぞれメモリ(図示せず)を備え、そ
のメモリは、主軸が1回転する間に、第2軸以降の対応
する軸が動くべき位置指令を、主軸用エンコーダ5のA
、B、C相信号に対応して、すなわち主軸の位置に対応
した形で記憶している。NC装置12.13.14はC
相信号の人力タイミングに同期してそれぞれ対応するモ
ータ2.3.4の同期運転を開始させ、かつ、A、 B
相信号によって決定されるサンプリングタイミングでA
、・B相信号に対応する目標指令を読出すと共に各軸の
位置検出器(図示せず)が出力する位置検出信号をサン
プリングして位置偏差を生成する。NC装置12〜14
それぞれの機能および動作は同様である。各軸モータ2
,3.4は、それぞれ対応するNC装置の制御によりポ
ールねじ22.23.24を介して刃具26.27.2
8を移動させる。
In the multi-axis NC system of this embodiment, the second, third, and fourth axes operate in synchronization with the main axis (first axis). The main shaft motor 1 is controlled by a main shaft NC fill. The main shaft encoder 5 generates A and B phase signals (first and second signals) corresponding to the position and rotational direction of the main shaft, and a C phase signal (third signal) corresponding to the position origin of the main shaft. NC device 12
13 and 14 are each equipped with a memory (not shown), and the memory stores the position command to which the second and subsequent axes should move during one rotation of the main shaft, and the A of the main shaft encoder 5.
, B, and C phase signals, that is, in a form corresponding to the position of the main shaft. NC device 12.13.14 is C
Start the synchronous operation of the corresponding motors 2.3.4 in synchronization with the manual timing of the phase signal, and
A at the sampling timing determined by the phase signal
, - reads out the target command corresponding to the B-phase signal, and samples the position detection signal output by the position detector (not shown) of each axis to generate a position deviation. NC devices 12 to 14
Their functions and operations are similar. Each axis motor 2
, 3.4 are connected to the cutting tools 26, 27, 2 via the pole screws 22, 23, 24 under the control of the corresponding NC devices.
Move 8.

第2図は第1図のNC装置12のブロック図である。FIG. 2 is a block diagram of the NC device 12 of FIG. 1.

第2図において、パルス処理回路36は、第1軸用エン
コーダのA、B相信号またはA、B相信号を逓倍した信
号によって、第2軸のサンプリング制御用の割り込み信
号を生成する。パルス処理回路37は第1軸用エンコー
ダのC相パルスを受は取り、同期開始用の割り込み信号
を発生る。メモリ31はパルス処理回路36で出力され
る割り込み信号間、すなわち、1サンプリング間に移動
すべきパルス数を、第1軸の位置に対応した形で数ビッ
トのデータとして記憶する。サンプラ32.35はパル
ス処理回路36からの割り込みによって閉じる。カウン
タ33は、受は取ったデータを累積し目標値を算出する
。カウンタ41は、入力されたシリアルパルスを累積し
現在値を算出する。減算器34、D/A変換器39、速
度制御器40、第2軸モータ42およびエンコーダ43
の機能および動作は第3図の対応する部品と同様である
。ここで、サンプラ32,35、目標値カウンタ33、
減算器34は、CP03Bの内部で構成される゛。
In FIG. 2, the pulse processing circuit 36 generates an interrupt signal for sampling control of the second axis using the A and B phase signals of the first axis encoder or a signal obtained by multiplying the A and B phase signals. The pulse processing circuit 37 receives and receives the C-phase pulse of the first axis encoder and generates an interrupt signal for starting synchronization. The memory 31 stores the number of pulses to be moved between interrupt signals output by the pulse processing circuit 36, that is, during one sampling, as several bits of data in a form corresponding to the position on the first axis. The samplers 32,35 are closed by an interrupt from the pulse processing circuit 36. The counter 33 accumulates the received data and calculates a target value. The counter 41 accumulates the input serial pulses and calculates the current value. Subtractor 34, D/A converter 39, speed controller 40, second axis motor 42 and encoder 43
The function and operation of are similar to the corresponding parts in FIG. Here, samplers 32, 35, target value counter 33,
The subtracter 34 is configured inside the CP03B.

CPO38は、パルス処理回路37からの割り込み込み
信号によ7て同期運転を開始し、その後はパルス処理回
路36からのサンプリング制御用の割り込みによって、
目標値と現在値との差を求め、D/A変換器39へ出力
する。その結果、第2.3.4の各軸の位置制御ループ
のサンプリングタイミングはA、B相信号により決定さ
れる。
The CPO 38 starts synchronous operation in response to an interrupt signal from the pulse processing circuit 37, and thereafter, in response to an interrupt for sampling control from the pulse processing circuit 36.
The difference between the target value and the current value is determined and output to the D/A converter 39. As a result, the sampling timing of the position control loop for each axis in section 2.3.4 is determined by the A and B phase signals.

その他の動作は、従来の多軸NCシステムと同様である
Other operations are similar to conventional multi-axis NC systems.

次に、本発明の同期運転方法の第2の実施例を説明する
Next, a second embodiment of the synchronous operation method of the present invention will be described.

木実流側の多軸NCシステムにおいては、第2軸以降の
第2図のパルス処理回路37に相当する回路内にカウン
タが設けられ、該カウンタは第1軸用エンコーダからの
A、B相信号をカウントし、C相信号によってカウント
クリアされる。第2軸以降の各パルス処理回路は、それ
ぞれのカウント値が、各軸毎に予め定められた設定値と
一致すると、同期開始用割り込み信号を発生し、同期運
転が開始される。
In the multi-axis NC system on the wood flow side, a counter is provided in the circuit corresponding to the pulse processing circuit 37 in FIG. The signal is counted and the count is cleared by the C phase signal. When the respective count values of the second and subsequent axes match a predetermined setting value for each axis, each pulse processing circuit generates a synchronization start interrupt signal and starts synchronized operation.

〔発明の効果〕 以上説明したように本発明に、次の効果がある。〔Effect of the invention〕 As explained above, the present invention has the following effects.

1)第1軸の位置検出器の出力によって決定されるタイ
ミングで第2軸以降の制御ループのサンプリングを行っ
て、第2軸以降を第1軸に同期させることにより、第1
軸の速度が変化しても第2軸以降のサンプリング周期を
変更し、または目標指令を補間する必要がなく、しかも
第1軸の一時的な速度変動にも対処することができる。
1) By sampling the control loop from the second axis onwards at the timing determined by the output of the position detector of the first axis, and synchronizing the second axis onwards with the first axis,
Even if the speed of the axis changes, there is no need to change the sampling period for the second axis and thereafter, or to interpolate the target command, and it is also possible to cope with temporary speed fluctuations of the first axis.

2)第1軸の位置検出器としてA、B、C相信号を発生
するエンコーダを用い、第2軸以降のNC装置がC相信
号を受信した後、各軸毎に定めた数のA相、B相信号を
受信したとき、当該軸の同期運転を開始させることによ
り、各軸相互、または各軸と第1軸との間の位相差を任
意に設定して同期運転することができる。
2) Use an encoder that generates A, B, and C phase signals as a position detector for the first axis, and after the second axis and subsequent NC devices receive the C phase signal, a predetermined number of A phase signals are generated for each axis. , when the B-phase signal is received, by starting the synchronous operation of the relevant axes, it is possible to arbitrarily set the phase difference between each axis or between each axis and the first axis to perform synchronous operation.

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

第1図は本発明の同期運転方法を適用する多軸NCシス
テムの第1の実施例の構成図、第2図は第1図のNC装
置12の構成図、第3図は目標指令をシリアルパルス列
で与え、第1軸に同期させて第2軸を運転するサーボ系
の従来例のブロック図、第4図はサンプリング制御によ
る同期運転方法を適用したサーボ系の従来例のブロック
図、第5図は、主軸の速度が変化したとき、第2軸以降
の各軸の追従誤差が生ずることを説明するための図で、
第5図(a)は、主軸が正常に回転している場合におい
て、各サンプリング時に制御ループに与えられるべき目
標指令値の一例を示し、第5図(b)は主軸の回転速度
が1/2に なった場合の各サンプリング時における目標指令値を示
す図、第5図(c)は、主軸の回転速度が172になっ
たとき、各サンプリング時における補間された目標指令
値を示す図である。 1・・・主軸(第1軸)モータ、 2・・・第2軸モータ、3・・・第3軸モータ、4・・
・第4軸モータ、5・・・主軸用エンコーダ、11・・
・主軸用NC装置、 12.13.14−・・NC装置、 22.23.24−・・ボールねし、 26.27.28−・・刃具、31・・・メモリ、32
.35−・・サンプラ、33.41・・・カウンタ、3
4−・・減算器、 36.37−・・パルス処理回路、
38−CP U、    39−D/A変換器、40−
・・速度制御器、  42・・・第2軸モータ、43−
・・エンコーダ。
Fig. 1 is a block diagram of a first embodiment of a multi-axis NC system to which the synchronous operation method of the present invention is applied, Fig. 2 is a block diagram of the NC device 12 of Fig. Figure 4 is a block diagram of a conventional example of a servo system that operates the second axis in synchronization with the first axis using a pulse train. The figure is a diagram to explain that when the speed of the main axis changes, a tracking error occurs for each axis after the second axis.
FIG. 5(a) shows an example of the target command value to be given to the control loop at each sampling time when the main shaft is rotating normally, and FIG. 5(c) is a diagram showing the interpolated target command value at each sampling time when the rotational speed of the spindle reaches 172. be. 1... Main axis (first axis) motor, 2... Second axis motor, 3... Third axis motor, 4...
・4th axis motor, 5... Main shaft encoder, 11...
・NC device for spindle, 12.13.14--NC device, 22.23.24--ball screw, 26.27.28--cutting tool, 31...memory, 32
.. 35-... Sampler, 33.41... Counter, 3
4--Subtractor, 36.37--Pulse processing circuit,
38-CPU, 39-D/A converter, 40-
...Speed controller, 42...Second axis motor, 43-
...Encoder.

Claims (2)

【特許請求の範囲】[Claims] (1)第1軸の回転位置および回転方向に対応する第1
および第2の信号と、第1軸の回転位置原点に対応する
第3の信号を生成し、第2軸以降の同期運転開始のタイ
ミングを少なくとも第3の信号によって決定し、第1軸
の回転位置に対応して設定されている第2軸以降の各軸
の目標指令をそれぞれの制御ループに与えることにより
、第1軸の回転に同期して第2軸以降の各軸の運転をサ
ンプリング制御する同期運転方法において、第2軸以降
の各軸の制御ループのサンプリングを第1および第2の
信号によって決定されるタイミングで行うことを特徴と
する同期運転方法。
(1) The first axis corresponds to the rotational position and direction of the first axis.
and a second signal and a third signal corresponding to the origin of the rotational position of the first axis, the timing of starting the synchronous operation of the second and subsequent axes is determined by at least the third signal, and the rotation of the first axis is determined by at least the third signal. By giving target commands for each axis after the second axis that are set corresponding to the position to each control loop, sampling control of the operation of each axis after the second axis is performed in synchronization with the rotation of the first axis. A synchronous operation method characterized in that the control loops of the second and subsequent axes are sampled at timings determined by first and second signals.
(2)第1、第2、第3の信号をエンコーダで生成して
これらをA、B、C相信号とし、C相信号の出力に引続
いて出力されたA、B相信号の数が、第2軸以降の各軸
について設定された数値に一致したとき、当該軸の同期
運転を開始させる請求項1に記載の同期運転方法。
(2) The first, second, and third signals are generated by an encoder and used as A, B, and C phase signals, and the number of A and B phase signals output after the output of the C phase signal is 2. The synchronous operation method according to claim 1, wherein when the values match the numerical values set for each axis after the second axis, the synchronous operation of the relevant axis is started.
JP7207890A 1990-03-23 1990-03-23 Method for synchronized operation Pending JPH03273402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7207890A JPH03273402A (en) 1990-03-23 1990-03-23 Method for synchronized operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7207890A JPH03273402A (en) 1990-03-23 1990-03-23 Method for synchronized operation

Publications (1)

Publication Number Publication Date
JPH03273402A true JPH03273402A (en) 1991-12-04

Family

ID=13479015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7207890A Pending JPH03273402A (en) 1990-03-23 1990-03-23 Method for synchronized operation

Country Status (1)

Country Link
JP (1) JPH03273402A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6404160B2 (en) 1998-12-24 2002-06-11 Mitsubishi Denki Kabushiki Kaisha Numerical control apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6404160B2 (en) 1998-12-24 2002-06-11 Mitsubishi Denki Kabushiki Kaisha Numerical control apparatus

Similar Documents

Publication Publication Date Title
EP1566713A2 (en) Threading/tapping control apparatus
JPS60228965A (en) Method and device for measuring speed and position of servo system
EP0293479B1 (en) Pulse encoder
US4983899A (en) Numerical control apparatus for controlling a feed shaft and main shaft of a machine tool
US4386407A (en) Lathe control system
US4789943A (en) Thread cutting control method
US5144214A (en) Numerical control system for moving work or cutter in synchronism with the rotation of a spindle
JPH03273402A (en) Method for synchronized operation
US4988937A (en) Synchronous control system and method therefor
JP3434065B2 (en) Position control device, position control system
JPH04323705A (en) Synchronous repeat control system for rotation axis
JP3427800B2 (en) Numerical control unit
JPH03204703A (en) Numerical controller
JP2588610B2 (en) Synchronous tapping control method
JP3648858B2 (en) Spindle synchronous control method and apparatus
JPS6377638A (en) Numerically controlled machine tool
JPH0698521B2 (en) Numerical control device for combined machining lathe
JP2800124B2 (en) Control method of numerically controlled machine tool and control device therefor
JPH0733133Y2 (en) Origin position detector
JPH0230521B2 (en)
JPS63190582A (en) Open-phase detector for encoder
JP2000187510A (en) Numerical controller
JPH0588751A (en) Positioning device
JPH0546236A (en) Numerical controller
JPH0457004B2 (en)