JPS6348199A - Driving device for stepping motor - Google Patents
Driving device for stepping motorInfo
- Publication number
- JPS6348199A JPS6348199A JP18834286A JP18834286A JPS6348199A JP S6348199 A JPS6348199 A JP S6348199A JP 18834286 A JP18834286 A JP 18834286A JP 18834286 A JP18834286 A JP 18834286A JP S6348199 A JPS6348199 A JP S6348199A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- turned
- pulse
- excitation
- power
- 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
Links
- 230000005284 excitation Effects 0.000 claims abstract description 30
- 238000004804 winding Methods 0.000 claims description 3
- 230000000717 retained effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Control Of Stepping Motors (AREA)
Abstract
Description
【発明の詳細な説明】
(発明の技術分野)
本発明はステッピングモータの駆動装置に関する○
〔従来技術と問題点〕
ステッピングモータは一定の回転角度ごとに固定子巻線
が同じ状態に励磁され一定の回転角度ごとに安定点があ
り、安定点から安定点までは励磁方式により一定の数の
ステップに分割されている。[Detailed Description of the Invention] (Technical Field of the Invention) The present invention relates to a driving device for a stepping motor. [Prior Art and Problems] [Prior art and problems] In a stepping motor, the stator windings are excited to the same state at every fixed rotation angle. There is a stable point for each rotation angle, and the path from stable point to stable point is divided into a fixed number of steps depending on the excitation method.
(通常7.2°毎に安定点があ、!1)l−2相励磁の
場合は8ステツプに、5相励磁の場合は10ステツプに
分割されている。)安定点になる励磁相を基準相とする
と駆動装置に電源を投入した場合励磁は必ず基準相から
行なわれる。従って駆動出力を基準相に合わせずに電源
を切断し電源を再投入した場合基準相から励磁されるの
でステッピングモータの回転子は強制的に励磁されてい
る安定点に引き寄せられる。そのため電源再投入時の回
転子の位置が電源切断時の位置がらズしてしまり問題が
あった。例えば下表に示す1−2相励磁の場合電源投入
時に回転子の位置はステップ0(基準相)にあり、入力
パルス毎に1ステップ進みステップ7の次にステップO
に戻る。ステップ0以外の状態の時電源を切断し再投入
すると回転子は必ずステップ0の基準相の励磁位置に引
き寄せられる。(Normally, there is a stable point every 7.2 degrees! 1) In the case of l-2 phase excitation, it is divided into 8 steps, and in the case of 5 phase excitation, it is divided into 10 steps. ) If the excitation phase that is the stable point is taken as the reference phase, then when the power is turned on to the drive device, excitation is always performed from the reference phase. Therefore, if the power is turned off and then turned on again without adjusting the drive output to the reference phase, the rotor of the stepping motor is forcibly drawn to a stable point where it is excited because it is excited from the reference phase. As a result, the position of the rotor when the power is turned on again is shifted from the position when the power is turned off, which poses a problem. For example, in the case of 1-2 phase excitation shown in the table below, the rotor position is at step 0 (reference phase) when the power is turned on, advances one step for each input pulse, steps 7, and then step O.
Return to When the power is turned off and then turned on again in a state other than step 0, the rotor is always drawn to the excitation position of the reference phase of step 0.
電源切断時の回転子の位置(ステップ数ンにょ9回転方
向は戻されるが進められるかのいずれかになる。The position of the rotor when the power is turned off (the number of steps is 9).The rotation direction is either returned or advanced.
(○印は励磁されている事を表わす)
(発明の目的)
本発明は上記の問題を解決するためになされたものであ
り、本発明の目的は駆動回路に出力したパルス数から電
源切断時に励磁されていた励磁ステップを求め、電源再
投入時に、電源切断時に励磁されていた励磁ステップか
ら励磁する事により電源OFF、ONによる回転子のズ
レが生じないステッピングモータの駆動装置を提供する
事にある。(○ indicates that it is excited) (Purpose of the invention) The present invention was made to solve the above problem, and the purpose of the present invention is to calculate the number of pulses output to the drive circuit when the power is turned off. To provide a stepping motor drive device that prevents the rotor from shifting when the power is turned OFF and ON by determining the excitation step that was excited and energizing the excitation step that was excited when the power was turned off when the power is turned on again. be.
(発明の概要)
本発明は一定ステップごとに固定子巻線が同じ状態に励
磁されるステッピングモータの駆動装置であって、
八 入力されたパルスに従って励磁相をステップさせる
機能と励磁電流をOFFする機能とを有する駆動回路と
、
B 設定した数のパルスを発生し前記駆動回路に出力す
るパルス発生回路と、
C前記パルス発生回路から出力されるパルス数をカウン
トするカウンタ回路と、
D 電源切断時におけるステッピングモータの励磁相に
対するステップ0(基準相)からのステップ数を前記カ
ウンタ回路のカウント値に基づいて計算し、駆動電源が
再投入される前に前記駆動回路へ励磁電流i OFFす
る指令信号を出力し、電源が投入された後前記カウンタ
回路のカウント値から求めたステップ数に等しい数のパ
ルスを前記駆動回路へ出力し、その後前記駆動回路へ出
力した励磁電流OFF指令出力をOFFする機能を有す
る制御回路と、
を具備し電源再投入時に発生する回転子のズレを防止す
る事を特徴とする。(Summary of the Invention) The present invention is a stepping motor drive device in which stator windings are excited to the same state at every fixed step, and 8. A function to step the excitation phase according to input pulses and to turn off the excitation current. B. A pulse generation circuit that generates a set number of pulses and outputs them to the drive circuit; C. A counter circuit that counts the number of pulses output from the pulse generation circuit; D. When the power is turned off. A command signal for calculating the number of steps from step 0 (reference phase) for the excitation phase of the stepping motor in , based on the count value of the counter circuit, and turning off the excitation current i to the drive circuit before the drive power is turned on again. , outputs a number of pulses equal to the number of steps determined from the count value of the counter circuit to the drive circuit after the power is turned on, and then turns off the excitation current OFF command output output to the drive circuit. The present invention is characterized by comprising a control circuit having the following, and preventing the rotor from shifting when the power is turned on again.
(発明の実施例)
以下本発明の一実施例(1−2相励磁の場合)を第1図
と第2図を使用して説明する。第1図は一本発明のステ
ッピングモータ駆動装置のブロック図である。同図にお
いて制御回路1から電線j2全通してCWスタート信号
又は電線13全通してCCWスタート信号をパルス発生
回路2に入力すると、パルス発生回路2からはパルス数
設定回路5からデータバス11全通して入力された数に
従ってCWパルスあるいはCCWハルスが電線7.15
あるいは電線8.16’に通して駆動回路3に入力され
る。パルス発生回路2から出力されるCWパルスあるい
はCCWパルスはアップダウンカウンタ回路4にも入力
されパルス数がカウントされる。アップダウンカウンタ
回路4のカウント値はバッテリバックアップされ電源切
断時にも記憶が保持されるようになっている。(Embodiment of the Invention) An embodiment of the invention (in the case of 1-2 phase excitation) will be described below with reference to FIGS. 1 and 2. FIG. 1 is a block diagram of a stepping motor drive device according to the present invention. In the figure, when a CW start signal is input from the control circuit 1 through the entire wire j2 or a CCW start signal through the entire wire 13 is input to the pulse generation circuit 2, the pulse generation circuit 2 receives a signal from the pulse number setting circuit 5 through the data bus 11. The CW pulse or CCW halus is generated according to the number entered in
Alternatively, it is input to the drive circuit 3 through the electric wire 8.16'. The CW pulse or CCW pulse output from the pulse generating circuit 2 is also input to the up/down counter circuit 4, and the number of pulses is counted. The count value of the up/down counter circuit 4 is backed up by a battery so that the memory is retained even when the power is turned off.
第2図に示すフローチャートを使用して電源再投入時に
おける制御回路1の動作を主とした処理順序について説
明する。同図では5XFFで処理スx×
テップを示す。81.01で主電源が再投入されるとS
]、02で駆動回路3に対して励磁電流OFF指令信号
が電線I7全通して出力され8103でアブプダウンカ
ウンタ4に対してカウント禁止指令信号が電線18を通
して出力された後8104でステッピングモータ駆動装
置が投入される。駆動電源が投入された後8105でア
ブプダウンカウンタ4のカウント値Xがデータバス14
に通して読み込まれる。8106で読み込まれた値Xの
絶対値がステッピングモータの安定点から安定点までの
ステップ数である8で割算され商の整数値IXIが求め
られる。次にこの値■X1に8を掛けた値x21求め、
このx21読み取った値の絶対値1×1から引いた値X
3ヲ求める。The processing order, mainly the operation of the control circuit 1 when the power is turned on again, will be explained using the flowchart shown in FIG. In the same figure, processing steps XX are indicated by 5XFF. When the main power is turned on again at 81.01, S
], at 02, an excitation current OFF command signal is output to the drive circuit 3 through the entire wire I7, and at 8103, a count prohibition command signal is output to the abup down counter 4 through the wire 18, and then at 8104, the stepping motor drive device is injected. After the drive power is turned on, at 8105, the count value
is read through. The absolute value of the value X read in step 8106 is divided by 8, which is the number of steps from the stable point to the stable point of the stepping motor, to obtain the integer value IXI of the quotient. Next, find the value x21 by multiplying this value ■X1 by 8,
The value X subtracted from the absolute value of this x21 read value 1 x 1
I'm looking for 3.
この値X3が電源が切断された時点のステッピングモー
タの励磁ステップを示す。81.07でX3がゼロかど
うか判定しx3 = Qの場合励磁相が安定状態にある
ので補正用のパルス出力は行なわないで5113らの読
み取り値Xが正か負がを判断しXが正の場合5109’
&実行しCW補正パルスを電線9、+5’を通して、X
が負の場合S11.0 k実行しCCW補正パルスを電
線l0116を通して駆動回路3に出力する。This value X3 indicates the excitation step of the stepping motor at the time when the power is cut off. 81.07 determines whether X3 is zero or not, and if x3 = Q, the excitation phase is in a stable state, so the pulse output for correction is not performed, and it is determined whether the read value X of 5113 etc. is positive or negative, and X is positive. If 5109'
& execute the CW correction pulse through the wires 9 and +5',
If is negative, S11.0k is executed and a CCW correction pulse is output to the drive circuit 3 through the electric wire 10116.
駆動回路3では入力されたパルスの数だけ励磁相をステ
ップ0(基準相)から進めるが励磁電流がOFFされて
いるためステッピングモータの回転子は回転しない。5
111で制御回路1は駆動回路に1パルス出力する毎に
X3より1を減じた値X4を求め、5112で減じた値
X4がOになったかどうかを判定し、0でない時再び8
108以下を実行し、0になった時駆動回路3への補正
のためのパルス出力を終了する。補正が終ると8113
で駆動回路3に出力している励磁電流OFF指令出力を
OFF L、5114でアップダウンカウンター回路へ
出力しているカウント禁止信号ヲOFFシ、5115で
パルス発生回路2から駆動回路3に入力されるパルスに
従ってステッピングモータ6の回転子が回転する通常の
状態になる。The drive circuit 3 advances the excitation phase from step 0 (reference phase) by the number of input pulses, but the rotor of the stepping motor does not rotate because the excitation current is turned off. 5
At 111, the control circuit 1 calculates the value X4 by subtracting 1 from X3 every time one pulse is output to the drive circuit, and at 5112 determines whether the subtracted value X4 has become O, and if it is not 0, it returns 8 again.
108 and subsequent steps are executed, and when the pulse becomes 0, the pulse output for correction to the drive circuit 3 is terminated. 8113 when the correction is completed
The excitation current OFF command output outputted to the drive circuit 3 is turned off at 5114, the count prohibition signal outputted to the up/down counter circuit is turned off at 5114, and the output is input from the pulse generation circuit 2 to the drive circuit 3 at 5115. A normal state is reached in which the rotor of the stepping motor 6 rotates according to the pulses.
(発明の効果)
以上で説明したように、本発明のステッピングモータ駆
動装置によると電源再投入時に励磁される励磁相は、電
源切断時に励磁されていて回転子が停止している励磁相
になるので、電源OFF、ONによる回転子のズレが生
じないので、正確な位置決めを行う事が可能になる。(Effects of the Invention) As explained above, according to the stepping motor drive device of the present invention, the excitation phase that is excited when the power is turned on again is the excitation phase that was excited when the power was turned off and the rotor is stopped. Therefore, the rotor does not shift when the power is turned off and on, so accurate positioning can be performed.
第1図は本発明のステッピングモータ駆動装置のブロッ
ク図
第2図は電源再投入時における本発明のステッピングモ
ータ駆動装置の動作を説明するためのフローチャートFIG. 1 is a block diagram of the stepping motor drive device of the present invention. FIG. 2 is a flowchart for explaining the operation of the stepping motor drive device of the present invention when the power is turned on again.
Claims (1)
るステッピングモータの駆動装置において、 A 入力されたパルスに従って励磁相をステップさせる
機能と励磁電流をOFFする機能とを有する駆動回路と
、 B 設定した数のパルスを発生し前記駆動回路に出力す
るパルス発生回路と、 C 前記パルス発生回路から出力されるパルス数をカウ
ントするカウンタ回路と、 D 電源切断時におけるステッピングモータの励磁相に
対するステップ0(基準相)からのステップ数を前記カ
ウンタ回路のカウント値に基づいて計算し、駆動電源が
再投入される前に前記駆動回路へ励磁電流をOFFする
指令信号を出力し、前記駆動電源が投入された後前記カ
ウンタ回路のカウント値から求めたステップ数に等しい
数のパルスを前記駆動回路へ出力し、その後前記駆動回
路へ出力した励磁電流OFF指令出力をOFFする機能
を有する制御回路と、 を具備し電源再投入時に発生する回転子のズレを防止す
る事を特徴とするステッピングモータ駆動装置。[Scope of Claims] A stepping motor drive device in which stator windings are excited to the same state at every fixed step, A. having a function of stepping the excitation phase according to an input pulse and a function of turning off the excitation current. A drive circuit; B a pulse generation circuit that generates a set number of pulses and outputs them to the drive circuit; C a counter circuit that counts the number of pulses output from the pulse generation circuit; D a control circuit for the stepping motor when the power is turned off. Calculating the number of steps from step 0 (reference phase) for the excitation phase based on the count value of the counter circuit, and outputting a command signal to the drive circuit to turn off the excitation current before the drive power is turned on again; It has a function of outputting a number of pulses equal to the number of steps determined from the count value of the counter circuit to the drive circuit after the drive power source is turned on, and then turning off the excitation current OFF command output output to the drive circuit. A stepping motor drive device comprising a control circuit and the following, and is characterized in that it prevents a rotor from shifting when the power is turned on again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18834286A JPS6348199A (en) | 1986-08-11 | 1986-08-11 | Driving device for stepping motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18834286A JPS6348199A (en) | 1986-08-11 | 1986-08-11 | Driving device for stepping motor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6348199A true JPS6348199A (en) | 1988-02-29 |
Family
ID=16221938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18834286A Pending JPS6348199A (en) | 1986-08-11 | 1986-08-11 | Driving device for stepping motor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6348199A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012055080A (en) * | 2010-08-31 | 2012-03-15 | Brother Ind Ltd | Stepping motor control device and image reader |
JP2013226051A (en) * | 2013-08-08 | 2013-10-31 | Brother Ind Ltd | Stepping motor control device and image reading apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5631395A (en) * | 1979-08-21 | 1981-03-30 | Fujitsu Ltd | Controlling system of pulse motor |
JPS5631394A (en) * | 1979-08-20 | 1981-03-30 | Toshiba Corp | Controlling device for pulse motor |
-
1986
- 1986-08-11 JP JP18834286A patent/JPS6348199A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5631394A (en) * | 1979-08-20 | 1981-03-30 | Toshiba Corp | Controlling device for pulse motor |
JPS5631395A (en) * | 1979-08-21 | 1981-03-30 | Fujitsu Ltd | Controlling system of pulse motor |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012055080A (en) * | 2010-08-31 | 2012-03-15 | Brother Ind Ltd | Stepping motor control device and image reader |
CN102386824A (en) * | 2010-08-31 | 2012-03-21 | 兄弟工业株式会社 | Stepping motor controller and image-reading device |
US8823310B2 (en) | 2010-08-31 | 2014-09-02 | Brother Kogyo Kabushiki Kaisha | Stepping motor controller and image-reading device |
JP2013226051A (en) * | 2013-08-08 | 2013-10-31 | Brother Ind Ltd | Stepping motor control device and image reading apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6121744A (en) | Control apparatus for position control motor | |
JP2928518B2 (en) | Driving method of stepping motor | |
JPH06217589A (en) | Starting of brushless dc motor having no sensor and starting device | |
US5894210A (en) | Control of a switched reluctance machine | |
US5739663A (en) | Phase energization controller and method for controlling switched reluctance machines using simple angular position sensors with improved angle interpolation | |
JPS6348199A (en) | Driving device for stepping motor | |
JP2002186283A (en) | Switched reluctance motor and its drive circuit without sensor | |
JPH08116651A (en) | Variable reluctance motor and control method therefor | |
JP4581590B2 (en) | High-speed control method for switched reluctance motor | |
CA1291522C (en) | Closed-loop, control system for a stepping motor | |
CN112398373B (en) | Control method and device of brushless direct current motor and storage medium | |
KR100228695B1 (en) | Driving timing control apparatus of a switched reluctance motor | |
JPH0731183A (en) | Drive controller for brushless motor | |
JP2001309691A (en) | Switched reluctance motor and its sensorless drive circuit | |
JP2767827B2 (en) | Rotation control device for variable reluctance motor | |
JP3815238B2 (en) | Motor rotation control method | |
JP2688579B2 (en) | Stepper motor driven diaphragm blade control device | |
JPS60204292A (en) | Drive device for motor | |
JPH0217895A (en) | Driving of stepping motor | |
JPH10146083A (en) | Controller of switched reluctance motor | |
JP2003150248A (en) | Control circuit for encoder | |
JP2820724B2 (en) | Drive control device for servo motor of image reading device | |
JPH11249742A (en) | Servo motor and position detecting method therefor | |
JPH06319296A (en) | Control method for stepping motor for slot machine type pinball machine | |
JPH099666A (en) | Speed controller for motor |