JPH04355657A - Method of correction of position discrepancy of pulse motor and encoder - Google Patents

Method of correction of position discrepancy of pulse motor and encoder

Info

Publication number
JPH04355657A
JPH04355657A JP15523991A JP15523991A JPH04355657A JP H04355657 A JPH04355657 A JP H04355657A JP 15523991 A JP15523991 A JP 15523991A JP 15523991 A JP15523991 A JP 15523991A JP H04355657 A JPH04355657 A JP H04355657A
Authority
JP
Japan
Prior art keywords
pulse motor
phase
encoder
excited
amount
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.)
Withdrawn
Application number
JP15523991A
Other languages
Japanese (ja)
Inventor
Ryuji Kawamoto
竜二 川本
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP15523991A priority Critical patent/JPH04355657A/en
Publication of JPH04355657A publication Critical patent/JPH04355657A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Linear Motors (AREA)

Abstract

PURPOSE:To eliminate mechanical position adjustment when an encoder is attached by a method wherein a pulse motor is driven from one phase to the other with a certain step width and a position discrepancy rate between the excited phase of the pulse motor and the encoder is obtained from a microstep rate when the output of the encoder is changed and the excited phase is determined in accordance with the obtained discrepancy rate. CONSTITUTION:One phase (phase-a) of a pulse motor 21 is excited and the pulse motor 21 is driven from the phase-a to the phase-b by microstep driving with a certain step width while the outputs A' and B' of a comparator 23 are monitored by a lead angle control circuit 24. The lead angle control circuit 24 stores the counted value of a microstep feed number (n) when one of the outputs A and B' of the comparator 26 changes to obtain an actual moving distance x. The lead angle control circuit 24 supplies an output to which the correction distance x is added to the pulse motor 21. With this constitution, a position discrepancy between the excited phase of the pulse motor 21 and an encoder 22 can be corrected without employing conventional mechanical position adjustment.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、パルスモータの励磁相
と、パルスモータに外付けされたエンコーダの位置ずれ
を補正するようにしたパルスモータとエンコーダの位置
ずれ補正方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting positional deviation between a pulse motor and an encoder, which corrects positional deviation between the excitation phase of the pulse motor and an encoder externally attached to the pulse motor.

【0002】0002

【従来の技術】例えばハードディスクドライブ装置やフ
ロッピィディスクドライブ装置においては、磁気ヘッド
位置決めのアクチュエータとしてパルスモータにエンコ
ーダを外付けしたものが利用されている。このようにエ
ンコーダをパルスモータに付加することで、パルスモー
タの可動部の現在位置をフィードバックすることができ
、より高速なシーク動作が可能となる。
2. Description of the Related Art For example, in hard disk drives and floppy disk drives, a pulse motor with an encoder externally attached is used as an actuator for positioning a magnetic head. By adding an encoder to the pulse motor in this way, the current position of the movable part of the pulse motor can be fed back, and higher-speed seek operation becomes possible.

【0003】この場合、パルスモータの励磁相と外付け
エンコーダの相対位置は、正確に合致していることが必
要である。
In this case, it is necessary that the excitation phase of the pulse motor and the relative position of the external encoder match accurately.

【0004】このため、従来、パルスモータの励磁相と
外付けエンコーダの位置がずれている場合には、パルス
モータの可動部とエンコーダのスケール部との相対位置
を、エンコーダの出力信号をモニタでみながら機械的に
調整していた。
For this reason, conventionally, when the excitation phase of the pulse motor and the position of the external encoder are misaligned, the relative position between the movable part of the pulse motor and the scale part of the encoder can be determined by monitoring the output signal of the encoder. I adjusted it mechanically while looking at it.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来の調整方法では、マイクロメータオーダーの位置
調整が必要であるため、大幅にコストアップするという
問題があった。
However, the above-mentioned conventional adjustment method requires position adjustment on the order of micrometers, which poses a problem of significantly increasing costs.

【0006】本発明の目的は、エンコーダ取付時の機械
的位置調整作業なしで、パルスモータの励磁相と外付け
エンコーダの相対位置を容易に合致させることができ、
取付け費も含めたエンコーダのコストを低減させること
ができるようにしたパルスモータとエンコーダの位置ず
れ補正方法を提供することにある。
An object of the present invention is to easily match the excitation phase of a pulse motor and the relative position of an external encoder without mechanical position adjustment work when installing the encoder.
It is an object of the present invention to provide a method for correcting positional deviation between a pulse motor and an encoder, which can reduce the cost of the encoder including the installation cost.

【0007】[0007]

【課題を解決するための手段】本発明のパルスモータと
エンコーダの位置ずれ補正方法は、パルスモータの励磁
相と、パルスモータに外付けされたエンコーダの位置ず
れを補正する方法において、パルスモータのある相を励
磁し、パルスモータを、他の相の方向へ一定の刻み幅で
マイクロステップ駆動し、エンコーダの出力を設定値と
比較して得られる比較結果が変化した際のマイクロステ
ップ量を記憶し、このマイクロステップ量より位置ずれ
の量を求め、この求めた位置ずれ量を用いてパルスモー
タの励磁すべき相を決定し、この決定した相を励磁する
ようにしたことを特徴とする。
[Means for Solving the Problems] A method for correcting positional deviation between a pulse motor and an encoder of the present invention is a method for correcting positional deviation between an excitation phase of a pulse motor and an encoder externally attached to the pulse motor. Excite a certain phase, drive the pulse motor in microsteps in the direction of the other phase, and compare the encoder output with the set value. The amount of microsteps obtained when the comparison result changes is memorized. The present invention is characterized in that the amount of positional deviation is determined from this microstep amount, the phase to be excited of the pulse motor is determined using the determined amount of positional deviation, and the determined phase is excited.

【0008】[0008]

【作用】上記構成のパルスモータとエンコーダの位置ず
れ補正方法においては、まずパルスモータのある相を励
磁し、エンコーダの出力を設定値と比較して得られる比
較結果をみながら、パルスモータを、他の相の方向へ一
定の刻み幅でマイクロステップ駆動し、前記比較結果が
変化した際のマイクロステップ量を記憶し、このマイク
ロステップ量よりパルスモータの励磁相とエンコーダの
位置ずれ量を求める。次にこの求めた位置ずれ量を用い
てパルスモータの励磁相(励磁すべき相)を決定し、こ
の決定した励磁相を励磁する。
[Operation] In the method for correcting the positional deviation between the pulse motor and the encoder configured as described above, first, a certain phase of the pulse motor is excited, and the output of the encoder is compared with the set value. Microstep driving is performed in the direction of other phases at a constant step width, the amount of microsteps when the comparison result changes is stored, and the amount of positional deviation between the excitation phase of the pulse motor and the encoder is determined from this amount of microsteps. Next, the excitation phase (phase to be excited) of the pulse motor is determined using the determined positional deviation amount, and the determined excitation phase is excited.

【0009】これにより、従来のようなエンコーダ取付
時の機械的位置調整作業が不要となる。しかもパルスモ
ータの励磁相と外付けエンコーダの相対位置を合致させ
ることが容易にできる。また、取付け費も含めたエンコ
ーダのコストを低減させることができる。
[0009] This eliminates the need for mechanical position adjustment work when attaching the encoder as in the prior art. Furthermore, the excitation phase of the pulse motor and the relative position of the external encoder can be easily matched. Furthermore, the cost of the encoder including the installation cost can be reduced.

【0010】0010

【実施例】次に本発明の実施例について図面を用いて説
明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0011】図8は本発明に係るリニアパルスモータと
リニアパルスモータに外付けしたエンコーダとを分解し
て示す斜視図である。
FIG. 8 is an exploded perspective view showing a linear pulse motor and an encoder externally attached to the linear pulse motor according to the present invention.

【0012】同図において、リニアパルスモータ21は
固定部21−1と可動部21−2とから構成される。リ
ニアパルスモータ21に外付けされたエンコーダ22は
、投受光部22−1とスケール部22−2とから構成さ
れる。ここでは、エンコーダ22として、透過型光エン
コーダを用いている。可動部21−2と固定部21−1
の各対向する側には、磁極歯がたとえば図5のように設
けられている。固定部21−1の磁極歯には、コイルが
巻回されており、ここでは、a相、b相、c相、d相の
4相からなり、a相とc相のコイルは直列接続され、b
相とd相のコイルは直列接続されている。また、エンコ
ーダ22は、リニアパルスモータ21の可動部21−2
の変位xを検出して、出力信号A、Bを送出する。この
出力信号A、Bは、位相の90゜ずれた正弦波信号であ
る(図5、図7参照)。
In the figure, a linear pulse motor 21 is composed of a fixed part 21-1 and a movable part 21-2. The encoder 22 externally attached to the linear pulse motor 21 includes a light emitting/receiving section 22-1 and a scale section 22-2. Here, a transmission type optical encoder is used as the encoder 22. Movable part 21-2 and fixed part 21-1
On each opposing side of the magnetic pole teeth are provided as shown in FIG. 5, for example. Coils are wound around the magnetic pole teeth of the fixed part 21-1, and here, there are four phases: a phase, b phase, c phase, and d phase, and the a phase and c phase coils are connected in series. ,b
The phase and d-phase coils are connected in series. Further, the encoder 22 is connected to the movable part 21-2 of the linear pulse motor 21.
The displacement x of is detected and output signals A and B are sent out. These output signals A and B are sine wave signals with a phase shift of 90° (see FIGS. 5 and 7).

【0013】図1は本発明の一実施例を示す構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0014】同図において、21はパルスモータであっ
て、ここでは図8に示すリニアパルスモータを用いる。 22は、図8に示すエンコーダであって、パルスモータ
21の可動部21−2の移動量(変位)xを検出して、
位相の90゜ずれた正弦波信号A、Bを送出するもので
ある。コンパレータ23は、エンコーダ22からの出力
A、Bを夫々設定されたしきい値、ここでは0レベルと
比較して、大小の結果をH/Lレベルとして、そのH/
Lレベル信号A’ 、B’ を進角制御回路24に供給
する。進角制御回路24は、コンパレータ23の出力A
’ 、B’ をもとに、パルスモータ21を制御する。
In the figure, 21 is a pulse motor, and here a linear pulse motor shown in FIG. 8 is used. 22 is an encoder shown in FIG. 8, which detects the amount of movement (displacement) x of the movable part 21-2 of the pulse motor 21,
It sends out sine wave signals A and B whose phases are shifted by 90 degrees. The comparator 23 compares the outputs A and B from the encoder 22 with respective set thresholds, here 0 level, and sets the results of magnitude as H/L levels.
The L level signals A' and B' are supplied to the advance angle control circuit 24. The lead angle control circuit 24 outputs the output A of the comparator 23.
The pulse motor 21 is controlled based on ' and B'.

【0015】次に図1の動作について、パルスモータ2
1の励磁相とエンコーダ22の位置ずれ量検出時と、シ
ーク時とに分けて以下説明する。
Next, regarding the operation of FIG. 1, the pulse motor 2
The following description will be made separately for the time of detecting the amount of positional deviation between the first excitation phase and the encoder 22, and the time of seeking.

【0016】(1).パルスモータ21の励磁相とエン
コーダ22の位置ずれ量検出時の動作について説明する
。
(1). The excitation phase of the pulse motor 21 and the operation when detecting the positional deviation amount of the encoder 22 will be described.

【0017】この動作について説明する前に、パルスモ
ータ21の励磁相とエンコーダ22の位置が合致してい
る場合の状態を図5に示す。図5において、31の印は
、a相を励磁したときのパルスモータ21の位置を示す
。また図5の下部の断面図は、パルスモータ21の励磁
相のa相が励磁され、固定部21−1と可動部21−2
の磁極歯32、33が対向している状態を示している。
Before explaining this operation, FIG. 5 shows a state in which the excitation phase of the pulse motor 21 and the position of the encoder 22 match. In FIG. 5, the mark 31 indicates the position of the pulse motor 21 when the a-phase is excited. Further, in the lower sectional view of FIG. 5, the a phase of the excitation phase of the pulse motor 21 is excited, and the fixed part 21-1 and the movable part 21-2 are
The magnetic pole teeth 32 and 33 are shown facing each other.

【0018】図5のように、パルスモータ21の励磁相
とコンパレータ23の出力A’ 、B’ のいずれか一
方の立上り(又は立下り)エッジ(ここではコンパレー
タ23の出力Bの立上りエッジ)が合致している場合、
進角制御回路24は、たとえば進角が45゜であるなら
図6のシーケンスに従って45゜進角制御を行なえる。 なお図6は進角45゜の場合の励磁シーケンスを示す図
であって、34の欄は、パルスモータ21の現在の励磁
相の位置を示している。
As shown in FIG. 5, when the excitation phase of the pulse motor 21 and the rising (or falling) edge of one of the outputs A' and B' of the comparator 23 (here, the rising edge of the output B of the comparator 23) If it matches,
For example, if the lead angle is 45°, the lead angle control circuit 24 can perform 45° lead angle control according to the sequence shown in FIG. Note that FIG. 6 is a diagram showing an excitation sequence when the advance angle is 45 degrees, and the column 34 indicates the current excitation phase position of the pulse motor 21.

【0019】次に、パルスモータ21の励磁相とエンコ
ーダ22の位置がずれている場合の位置ずれ検出動作に
ついて図7を用いて説明する。なお、図7は、パルスモ
ータ21の励磁相とエンコーダの位置がずれている場合
の状態を示す説明図であって、41は、a相を励磁した
ときのパルスモータの位置を示し、42、43は、夫々
b相、c相を励磁したときのパルスモータの位置を示す
。
Next, the positional deviation detection operation when the excitation phase of the pulse motor 21 and the position of the encoder 22 are deviated will be explained with reference to FIG. Note that FIG. 7 is an explanatory diagram showing a state in which the excitation phase of the pulse motor 21 and the position of the encoder are misaligned, and 41 indicates the position of the pulse motor when the a phase is excited, 42, 43 indicates the position of the pulse motor when the b-phase and c-phase are excited, respectively.

【0020】まず、パルスモータ21のある相(たとえ
ばa相)を励磁する(図7)。
First, a certain phase (for example, a phase) of the pulse motor 21 is excited (FIG. 7).

【0021】次に進角制御回路24は、コンパレータ2
3の出力A’ 、B’ を監視しつつ、パルスモータ2
1をたとえばa相からb相の方向へ一定の刻み幅Δx0
(たとえば1μm)でマイクロステップ駆動する(マイ
クロステップ送りしていく)。
Next, the advance angle control circuit 24 controls the comparator 2
While monitoring outputs A' and B' of pulse motor 2,
1 in the direction from the a phase to the b phase, for example, with a constant step width Δx0
(for example, 1 μm) and performs microstep driving (microstep feeding).

【0022】ここで、パルスモータ21を、a相からb
相の方向へマイクロステップ駆動するときの、a相とb
相の励磁電流iとマイクロステップ数との関係は、図4
に示す如くとなる。
Here, the pulse motor 21 is changed from phase a to phase b.
A phase and b when microstep driving in the direction of the phase
The relationship between the phase excitation current i and the number of microsteps is shown in Figure 4.
It will be as shown below.

【0023】進角制御回路24は、コンパレータ23の
出力A’ 、B’のどちらか一方が(図7ではコンパレ
ータ出力B’ が)変化した際のマイクロステップ送り
数nのカウント値をカウンタより読み出して内蔵するメ
モリに記憶する。
The advance angle control circuit 24 reads from the counter the count value of the number n of microstep feeds when either the output A' or B' of the comparator 23 changes (in FIG. 7, the comparator output B'). and store it in the built-in memory.

【0024】ここで、実際の移動量Δxとnの間には、
パルスモータ21のもつ自己位置決め特性よりΔx=Δ
x0×nの関係がある。
[0024] Here, between the actual movement amount Δx and n,
From the self-positioning characteristic of the pulse motor 21, Δx=Δ
There is a relationship of x0×n.

【0025】従って進角制御回路24はΔxを求めるこ
とができる。
Therefore, the advance angle control circuit 24 can determine Δx.

【0026】次に進角制御回路24は、Δxが既知とな
ることで、補正量Δxを加えたものを出力として(図7
ではd相励磁出力として)、パルスモータ21に供給す
る。これにより、従来の如き機械的位置調整なしでパル
スモータ21の励磁相とエンコーダの位置ずれを補正で
きる。
Next, since Δx is known, the advance angle control circuit 24 outputs the result obtained by adding the correction amount Δx (FIG. 7).
(in this case, as the d-phase excitation output) and is supplied to the pulse motor 21. Thereby, the positional deviation between the excitation phase of the pulse motor 21 and the encoder can be corrected without mechanical position adjustment as in the conventional case.

【0027】この求めたΔxを用いて行なうシーク時の
動作について以下詳しく説明する。
The seek operation performed using the obtained Δx will be described in detail below.

【0028】(2).シーク時の動作について図1、図
2を用いて説明する。
(2). The operation during seek will be explained using FIGS. 1 and 2.

【0029】パルスモータ21のある相(たとえばa相
)を励磁する。これにパルスモータ21の可動部21−
2は移動する。エンコーダ22は、パルスモータ21の
変位(可動部21−2の移動量)xを検出し、90゜位
相のずれた正弦波信号A、Bをコンパレータ23に出力
する。コンパレータ23は入力される2つの信号A、B
を夫々設定されたしきい値(ここでは0レベル)と比較
し、入力信号の方が大きければHレベル、小さければL
レベルの出力を進角制御回路24に出力する。入力信号
Aに対応するコンパレータ23の比較結果出力をA’ 
とし、入力信号Bに対応するコンパレータ23の比較結
果出力をB’ とする。
A certain phase (for example, a phase) of the pulse motor 21 is excited. The movable part 21- of the pulse motor 21 is attached to this.
2 moves. The encoder 22 detects the displacement x of the pulse motor 21 (the amount of movement of the movable part 21-2), and outputs sine wave signals A and B with a phase shift of 90 degrees to the comparator 23. Comparator 23 receives two input signals A and B.
are compared with the respective set thresholds (here 0 level), and if the input signal is larger, it is set to H level, and if it is smaller, it is set to L level.
The level output is output to the advance angle control circuit 24. The comparison result output of the comparator 23 corresponding to the input signal A is A'
The comparison result output of the comparator 23 corresponding to the input signal B is assumed to be B'.

【0030】以上は、前述した(1)の場合と同様であ
る。
The above is the same as the case (1) described above.

【0031】次に図1の進角制御回路24の、シーク時
動作を行なうための回路構成を図2に示す。
Next, FIG. 2 shows a circuit configuration of the advance angle control circuit 24 of FIG. 1 for performing a seek operation.

【0032】図2において、現在位置判別回路24−1
は、コンパレータ23からの出力A’ 、B’ (H/
Lレベル信号)にもとづき、内蔵するメモリに予め格納
された図3に示すテーブルより該当するパルスモータ2
1の現在位置(現在の励磁相)を判別し、現在位置(現
在の励磁相)に対応する出力を送出する。たとえば、図
7の場合では、コンパレータ23の出力A’ は、Hレ
ベル、出力B’ はLレベルであるから、現在の位置出
力はd相に対応した出力となる。
In FIG. 2, the current position determination circuit 24-1
are the outputs A', B' (H/
Based on the L level signal), the corresponding pulse motor 2 is selected from the table shown in FIG. 3 stored in the built-in memory in advance.
The current position (current excitation phase) of No. 1 is determined, and an output corresponding to the current position (current excitation phase) is sent out. For example, in the case of FIG. 7, the output A' of the comparator 23 is at H level and the output B' is at L level, so the current position output corresponds to the d-phase.

【0033】加算器24−2には、任意に設定できる進
角量が供給されるようになっている。従って、加算器2
4−2は、現在位置判別回路24−1の出力に進角量を
加えた出力を加算器24−3に送出する。ここで、進角
量とは、パルスモータ速度を決定するものである。なお
、パルスモータ21の励磁相とエンコーダ22の位置が
合致している場合は、補正量Δxを考慮する必要がない
ので、現在位置(パルスモータの励磁相)と進角量がき
まれば、パルスモータ21への励磁相出力(進角制御回
路24の出力)が決定されることになる。たとえば進角
量が45゜で、現在位置の相がd相であるなら、図6の
シーケンスに従って、進角制御回路24の出力として励
磁相をa相、b相とする出力が決定される。
The adder 24-2 is supplied with an arbitrarily set advance angle amount. Therefore, adder 2
4-2 sends an output obtained by adding the advance angle amount to the output of the current position determining circuit 24-1 to the adder 24-3. Here, the advance angle amount determines the pulse motor speed. Note that if the excitation phase of the pulse motor 21 and the position of the encoder 22 match, there is no need to consider the correction amount Δx, so once the current position (excitation phase of the pulse motor) and advance amount are determined, the pulse The excitation phase output (output of the advance angle control circuit 24) to the motor 21 is determined. For example, if the advance angle amount is 45° and the phase at the current position is the d phase, the output of the advance angle control circuit 24 is determined to make the excitation phase the a phase and the b phase, according to the sequence shown in FIG.

【0034】次に加算器24−3には、前述のようにし
て求めた位置ずれ補正量Δxがメモリから供給されるよ
うになっている。従って加算器24−3は、加算器24
−2の出力に、補正量Δxを加えて、パルスモータ21
に供給する励磁すべき相(励磁相)に対応する信号を得
る。即ち、加算器24−3は、加算器24−2の出力(
現在位置と進角量に対応した信号)と補正量Δxにより
励磁相を決定することになる。
Next, the adder 24-3 is supplied with the positional deviation correction amount Δx obtained as described above from the memory. Therefore, the adder 24-3 is the adder 24-3.
By adding the correction amount Δx to the output of -2, the pulse motor 21
A signal corresponding to the phase to be excited (excitation phase) is obtained. That is, the adder 24-3 outputs the output (
The excitation phase is determined by the signal corresponding to the current position and the amount of advance) and the correction amount Δx.

【0035】進角制御回路24の加算器24−3の出力
をパルスモータ21に送出し、パルスモータ21の当該
励磁相(励磁すべき相)を駆動する(励磁する)。この
とき、パルスモータ21の励磁相とエンコーダ22の位
置が合致し、パルスモータ21の励磁相とエンコーダ2
2の位置ずれが補正されたことになる。
The output of the adder 24-3 of the advance angle control circuit 24 is sent to the pulse motor 21, and the relevant excitation phase (phase to be excited) of the pulse motor 21 is driven (excited). At this time, the excitation phase of the pulse motor 21 and the position of the encoder 22 match, and the excitation phase of the pulse motor 21 and the position of the encoder 22 match.
This means that the positional deviation of 2 has been corrected.

【0036】本実施例においては、リニアパルスモータ
の場合について説明したが、本発明はこれに限定される
ことなく、回転型のパルスモータの場合でも、前述した
本実施例と同様に説明できる。従って、回転型のパルス
モータの励磁相とエンコーダの位置ずれを機械的に調整
することなく、その位置ずれの補正量を求めることがで
き、図2のような進角制御回路24により高速の進角制
御が可能となる。
In this embodiment, the case of a linear pulse motor has been explained, but the present invention is not limited thereto, and can be explained in the same manner as in the above-mentioned embodiment even in the case of a rotary pulse motor. Therefore, the amount of correction for the positional deviation between the excitation phase of the rotary pulse motor and the encoder can be determined without mechanically adjusting the positional deviation, and the advance angle control circuit 24 shown in FIG. Angular control becomes possible.

【0037】また、本実施例においては、パルスモータ
21の励磁相とエンコーダ22の位置ずれ量Δxを図1
の進角制御回路24により自動的に求めているが、本発
明はこれに限定されることなく、図1のコンパレータ2
3の出力A’ 、B’ をモニタで見ながら、コンパレ
ータ23の出力A’ 、B’ のどちらか一方が変化し
た際のマイクロステップ送り数nをカウンタより読み取
るようにしてもよい。
In addition, in this embodiment, the excitation phase of the pulse motor 21 and the positional deviation amount Δx of the encoder 22 are shown in FIG.
However, the present invention is not limited to this, and the comparator 2 of FIG.
The number n of microstep feeds when either of the outputs A' and B' of the comparator 23 changes may be read from a counter while watching the outputs A' and B' of the comparator 23 on a monitor.

【0038】本発明は本実施例に限定されることなく、
本発明の要旨を逸脱しない範囲で種々の応用および変形
が考えられる。
[0038] The present invention is not limited to this example, but
Various applications and modifications are possible without departing from the spirit of the invention.

【0039】[0039]

【発明の効果】上述した本発明によれば、次のような効
果が得られる。
[Effects of the Invention] According to the present invention described above, the following effects can be obtained.

【0040】(1).エンコーダ取付時の従来のような
機械的位置調整作業なしで、パルスモータの励磁相と外
付けエンコーダの相対位置を容易に合致させることがで
き、取付け費も含めたエンコーダのコストを低減させる
ことができる。
(1). The excitation phase of the pulse motor and the relative position of the external encoder can be easily matched without the conventional mechanical position adjustment work when installing the encoder, reducing encoder costs including installation costs. can.

【0041】(2).エンコーダ外付けのパルスモータ
を使用したハードディスクドライブ装置(HDD)やフ
ロッピィディスクドライブ装置(FDD)の電源投入時
に、パルスモータの励磁相とエンコーダの位置ずれ量(
補正量)を求め、たとえば図2の補正量Δxを置換える
ことにより、補正量を加えた励磁すべき相が決定される
ので、モータ間のばらつきや経時変化による位置ずれ等
を補正することができる。
(2). When powering on a hard disk drive (HDD) or floppy disk drive (FDD) that uses a pulse motor external to the encoder, the amount of positional deviation between the pulse motor's excitation phase and the encoder (
By calculating the correction amount (correction amount) and replacing it with the correction amount Δx in FIG. 2, for example, the phase to be excited with the correction amount added is determined, so it is possible to correct variations between motors and positional deviations due to changes over time. can.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】図1の進角制御回路24の一実施例を示す構成
図である。
FIG. 2 is a configuration diagram showing one embodiment of the advance angle control circuit 24 in FIG. 1;

【図3】図2の現在位置判別回路24−1のメモリに格
納されたテーブル例を示す図である。
FIG. 3 is a diagram showing an example of a table stored in the memory of the current position determination circuit 24-1 in FIG. 2;

【図4】マイクロステップ駆動の説明図である。FIG. 4 is an explanatory diagram of microstep driving.

【図5】パルスモータの励磁相とエンコーダの位置が合
致している場合の状態を示す説明図である。
FIG. 5 is an explanatory diagram showing a state when the excitation phase of the pulse motor and the position of the encoder match.

【図6】進角45゜の場合の励磁シーケンスを示す図で
ある。
FIG. 6 is a diagram showing an excitation sequence when the advance angle is 45°.

【図7】パルスモータの励磁相とエンコーダの位置がず
れている場合の状態を示す説明図である。
FIG. 7 is an explanatory diagram showing a state in which the excitation phase of the pulse motor and the position of the encoder are misaligned.

【図8】リニアパルスモータにリニアエンコーダを付加
したものを分解して示す斜視図である。
FIG. 8 is an exploded perspective view showing a linear pulse motor with a linear encoder added thereto.

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

21−1  固定部 21−2  可動部 21  リニアパルスモータ 22−1  投受光部 22−2  スケール部 22  エンコーダ 23  コンパレータ 24  進角制御回路 24−1  現在位置判別回路 24−2,24−3  加算器 21-1 Fixed part 21-2 Movable part 21 Linear pulse motor 22-1 Light emitter/receiver section 22-2 Scale part 22 Encoder 23 Comparator 24 Advance angle control circuit 24-1 Current position determination circuit 24-2, 24-3 Adder

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  パルスモータの励磁相と、前記パルス
モータに外付けされたエンコーダの位置ずれを補正する
方法において、前記パルスモータのある相を励磁し、前
記パルスモータを、他の相の方向へ一定の刻み幅でマイ
クロステップ駆動し、前記エンコーダの出力を設定値と
比較して得られる比較結果が変化した際のマイクロステ
ップ量を記憶し、このマイクロステップ量より前記位置
ずれの量を求め、この求めた前記位置ずれ量を用いて前
記パルスモータの励磁すべき相を決定し、この決定した
相を励磁するようにしたことを特徴とするパルスモータ
とエンコーダの位置ずれ補正方法。
1. A method for correcting a positional deviation between an excitation phase of a pulse motor and an encoder externally attached to the pulse motor, in which a certain phase of the pulse motor is excited, and the pulse motor is moved in the direction of another phase. drive in microsteps at a constant step size, compare the output of the encoder with the set value, store the microstep amount when the comparison result changes, and calculate the amount of positional deviation from this microstep amount. A method for correcting positional deviation between a pulse motor and an encoder, characterized in that a phase to be excited of the pulse motor is determined using the determined positional deviation amount, and the determined phase is excited.
JP15523991A 1991-05-31 1991-05-31 Method of correction of position discrepancy of pulse motor and encoder Withdrawn JPH04355657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15523991A JPH04355657A (en) 1991-05-31 1991-05-31 Method of correction of position discrepancy of pulse motor and encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15523991A JPH04355657A (en) 1991-05-31 1991-05-31 Method of correction of position discrepancy of pulse motor and encoder

Publications (1)

Publication Number Publication Date
JPH04355657A true JPH04355657A (en) 1992-12-09

Family

ID=15601581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15523991A Withdrawn JPH04355657A (en) 1991-05-31 1991-05-31 Method of correction of position discrepancy of pulse motor and encoder

Country Status (1)

Country Link
JP (1) JPH04355657A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5844394A (en) * 1996-09-20 1998-12-01 Matsushita Electric Industrial Co., Ltd. Stepping motor controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5844394A (en) * 1996-09-20 1998-12-01 Matsushita Electric Industrial Co., Ltd. Stepping motor controller

Similar Documents

Publication Publication Date Title
KR100462092B1 (en) Stepping motor control device
US6111384A (en) Method for controlling motor speed
EP0074767B1 (en) Improvements in or relating to linear motor and control circuitry therefor
JP5656354B2 (en) Drive device
JPWO2000030244A1 (en) Stepping motor control device
US20140176037A1 (en) Control unit of actuator
JP4165915B2 (en) Stepping motor control device
JP3806985B2 (en) Stepping motor drive device
CN1728536B (en) Rotor position detection in an electrical machine
JPH10229691A (en) Motor speed control device
US20210367539A1 (en) Motor control apparatus, optical apparatus, and robot manipulator apparatus
CN100517946C (en) Method and device for controlling motor drive
JP4665507B2 (en) Pen recorder
CA2440381C (en) A brushless motor control system
US9110227B2 (en) Motor drive apparatus and optical apparatus
US5929575A (en) Motor control device controlling intended speed ratio and positional relationship between driven objects
US11855561B2 (en) System and method for motor control through improved location measurement
US4607355A (en) Drive system
CN111083347B (en) Lens drive control device, lens drive device and camera
EP1223485A2 (en) Positioning-controlling apparatus and positioning-controlling method, and part-mounting equipment and part-mounting method
US7868579B2 (en) Micro-step driving method of stepping motor and electrically-driven device using stepping motor
JPH06343294A (en) Drive controller for stepping motor
EP0371473B1 (en) Linear driving arrangement for use in a copying apparatus
JP2025030531A (en) Control device, imaging device, and control method
JP5885419B2 (en) Motor driving device and control method of motor driving device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980806