JPH10191694A - Drive circuit for stepping motor - Google Patents

Drive circuit for stepping motor

Info

Publication number
JPH10191694A
JPH10191694A JP34866296A JP34866296A JPH10191694A JP H10191694 A JPH10191694 A JP H10191694A JP 34866296 A JP34866296 A JP 34866296A JP 34866296 A JP34866296 A JP 34866296A JP H10191694 A JPH10191694 A JP H10191694A
Authority
JP
Japan
Prior art keywords
rotation
stepping motor
clock
designation
phase
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
JP34866296A
Other languages
Japanese (ja)
Other versions
JP3459530B2 (en
Inventor
Ryoichi Takahashi
良一 高橋
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP34866296A priority Critical patent/JP3459530B2/en
Publication of JPH10191694A publication Critical patent/JPH10191694A/en
Application granted granted Critical
Publication of JP3459530B2 publication Critical patent/JP3459530B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the malfunction of a stepping motor by a method wherein, on the basis of a rotation designation clock, a phase current by which the stepping motor is turned is generated in such a way that the rise of a plurality of clock pulses is synchronized with a microstep ticked by the stepping motor and the phase current is supplied to the stepping motor. SOLUTION: Mode designation signals M1, M2, M3 and a rotation-start-time designation pulse PO are input to a clock generator 13 inside a driver 12, and a rotation designation clock CK11 is generated here so as to be output to a phase-current generation part 14. The rotation designation clock CK11 is generated in such a way that a first clock rises in synchronization with the rise of the rotation-start-designation pulse PO. The phase-current generation part 14 generates a phase current Io regarding the rotation of a stepping motor M on the basis of the rotation designation clock CK11, the phase current Io which agrees with a rotation state designated by the rotation designation clock CK11 is supplied to the stepping motor M, and the stepping motor M is turned by a prescribed angle.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はステッピングモータ
の駆動回路に関し、更に詳しく言えば、プリンタや複写
機などに用いられるステッピングモータをマイクロステ
ップ駆動する駆動回路の改善を目的とする。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a driving circuit for a stepping motor, and more particularly, to an improvement of a driving circuit for microstep driving a stepping motor used in a printer or a copying machine.

【0002】[0002]

【従来の技術】以下で、従来例に係るステッピングモー
タの駆動回路について図3を参照しながら説明する。こ
の回路は、図3に示すように、CPU1,ドライバ2か
らなり、2相励磁のステッピングモータMを駆動する回
路である。
2. Description of the Related Art A conventional driving circuit for a stepping motor will be described below with reference to FIG. This circuit includes a CPU 1 and a driver 2 and drives a two-phase excitation stepping motor M as shown in FIG.

【0003】上記回路によれば、まずステッピングモー
タの回転数、励磁モードなどの駆動状態を指示する制御
信号SS1がCPUに入力される。これにより、2相,
1−2相,W1−2相,2W1−2相励磁のうちいずれ
かの励磁モードが選択されるかという情報や、回転開始
の時点や、何度ステッピングモータMを回転させるかと
いう情報がCPU1で認識される。
According to the above circuit, first, a control signal SS1 for instructing a driving state such as a rotation speed of a stepping motor and an excitation mode is input to a CPU. This allows two phases,
The CPU 1 stores information as to whether any one of the excitation modes of the 1-2-phase, W1-2-phase, and 2W1-2-phase excitation is selected, information on the time of starting rotation, and how many times the stepping motor M is rotated. Recognized by

【0004】次いでCPU1内で励磁モードを指示する
モード指定信号M1,M2,M3が生成されて、ドライ
バ2に出力される。これによってドライバ2はステッピ
ングモータをどの励磁モードで駆動するかを選択し、例
えば2W1−2相で駆動すると認識する。これとともに
ステッピングモータMの回転に係る回転指定クロックC
K1が生成されてドライバ2に出力される。この回転指
定クロックCK1は、その立上がりに同期して所定の角
度だけステッピングモータMを回転させるためのクロッ
クである。
Next, mode designating signals M 1, M 2 and M 3 for instructing the excitation mode are generated in the CPU 1 and output to the driver 2. Thus, the driver 2 selects which excitation mode to drive the stepping motor, and recognizes that the stepping motor is driven in, for example, 2W1-2 phase. At the same time, a rotation designation clock C related to the rotation of the stepping motor M
K1 is generated and output to the driver 2. The rotation designation clock CK1 is a clock for rotating the stepping motor M by a predetermined angle in synchronization with the rise.

【0005】この回転指定クロックCK1は、図4に示
すように、励磁モードによってその周波数が異なり、同
一周期T0の間に2相では1個のクロックCK1しかな
いが、2W1−2相ではその8倍の8個のクロックCK
1があり、クロック周波数が8倍になっている。従っ
て、励磁モードが切り替わる度に、CPU1はこのクロ
ック周波数を切替える必要がある。
As shown in FIG. 4, the frequency of the rotation designation clock CK1 differs depending on the excitation mode, and there is only one clock CK1 in two phases during the same cycle T0, but there is only one clock CK1 in 2W1-2 phases. 8 times clock CK
1 and the clock frequency is eight times higher. Therefore, each time the excitation mode is switched, the CPU 1 needs to switch the clock frequency.

【0006】この回転指定クロックCK1とモード指定
信号M1,M2,M3に基づいてドライバ2がステッピ
ングモータMの駆動をするための相電流Ioを生成し、
ステッピングモータMに供給することにより、指定され
た励磁モードによって回転指定クロックCK1の立上が
りに同期してステッピングモータMが所定の角度だけ回
転する。
The driver 2 generates a phase current Io for driving the stepping motor M based on the rotation designation clock CK1 and the mode designation signals M1, M2, M3,
By supplying to the stepping motor M, the stepping motor M rotates by a predetermined angle in synchronization with the rise of the rotation designation clock CK1 in the designated excitation mode.

【0007】図5は、モータの実際に刻むステップと励
磁モードとの関係を示す図である。図5の1回転(36
0°回転)が実際のステッピングモータの回転角の7.
2°に相当する。通常ステッピングモータは図5に示す
原点→原点というステップで回転する。すなわち、例え
ば2W1−2相における左回りの回転について考える
と、原点O1で停止していたモータは、その後8個のス
テップを刻みつつ、次の原点O2まで回転してO2で停
止し、再び次の原点O3へ向けて回転をする。このとき
刻む8個のステップは、上述の回転指定クロックCK1
の立上がりに同期して刻まれることになる。
FIG. 5 is a diagram showing the relationship between the actual engraving step of the motor and the excitation mode. One rotation (36 in FIG. 5)
(0 ° rotation) is the actual rotation angle of the stepping motor.
It corresponds to 2 °. Usually, the stepping motor rotates in a step of origin → origin shown in FIG. That is, for example, when considering the counterclockwise rotation in the 2W1-2 phase, the motor stopped at the origin O1 rotates to the next origin O2 and stops at O2 while cutting eight steps thereafter, and stops again at O2. To the origin O3. The eight steps engraved at this time are the above-described rotation designation clock CK1.
It will be engraved in synchronization with the rising edge of.

【0008】原点と次に現れる原点(例えばO1とO
2)との角は図5においては90°であるが、上述のよ
うに図5の1回転(360°回転)が実際のステッピン
グモータの回転角の7.2°に相当するため、この角度
は実際のステッピングモータの回転角に換算すると1.
8°の回転に相当する。このステップごとに実際のモー
タは回転/停止を繰り返すので、この1.8°を基本ス
テップ角θsという。
The origin and the next appearing origin (for example, O1 and O
The angle with 2) is 90 ° in FIG. 5, but as described above, one rotation (360 ° rotation) in FIG. 5 corresponds to the actual rotation angle of the stepping motor of 7.2 °. Is converted to the actual rotation angle of the stepping motor.
This corresponds to a rotation of 8 °. Since the actual motor repeats rotation / stop for each step, this 1.8 ° is referred to as a basic step angle θs.

【0009】実際にステッピングモータが360°回転
するまでに必要な回転指定クロックCK1の個数を相励
磁モードごとに示した図表を図6に示す。この図表に示
すように、2相のステッピングモータの駆動において
は、基本ステップ角が1.8°で、2相励磁では200
個、1−2相励磁では400個、W1−2相では800
個、2W1−2相では1600個、4W1−2相では3
200個ものクロックCK1が必要になる。
FIG. 6 is a table showing, for each phase excitation mode, the number of rotation designation clocks CK1 required until the stepping motor rotates 360 ° actually. As shown in this table, the basic step angle is 1.8 ° in driving a two-phase stepping motor, and 200 ° in two-phase excitation.
400 for 1-2 phase excitation, 800 for W1-2 phase
1,600 for 2W1-2 phase, 3 for 4W1-2 phase
As many as 200 clocks CK1 are required.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、図5に
示すような上記従来の駆動回路によると、以下に示すよ
うな問題が生じる。上記の回転指定クロックCK1は、
全てCPU1がソフト的に生成している。CPU1は駆
動回路の制御を司るのが本来の機能であるが、ステッピ
ングモータMが回転している際にはCPU1はほとんど
回転指定クロックCK1の生成のために動作し、CPU
の負担が過重になってしまう。
However, according to the above-mentioned conventional driving circuit as shown in FIG. 5, the following problems occur. The rotation designation clock CK1 is
All are generated by the CPU 1 as software. Although the original function of the CPU 1 is to control the drive circuit, when the stepping motor M is rotating, the CPU 1 almost operates to generate the rotation designation clock CK1.
Will be overburdened.

【0011】すなわち、2相などの低速回転の際には、
回転指定クロックCK1の生成中にも割り込み処理で他
のジョブを処理することができるが、例えば4W1−2
相の場合には上述のように1回転で3200個ものクロ
ックを必要とする高速なクロックCK1を生成するの
で、このような場合には他のジョブの割り込み処理が事
実上不可能であって、ほとんどクロック生成のためだけ
にCPUが動作するという不都合が生じ、ひどい場合に
は他のジョブの処理が遅れてステッピングモータの回転
位置がずれたりするという誤動作を生じることさえあっ
た。
That is, at the time of low-speed rotation such as two-phase,
While the rotation designation clock CK1 is being generated, other jobs can be processed by interrupt processing, for example, 4W1-2.
In the case of the phase, as described above, a high-speed clock CK1 requiring as many as 3200 clocks per rotation is generated. In such a case, interrupt processing of another job is practically impossible. Inconvenience that the CPU operates almost exclusively for generating the clock occurs, and in severe cases, the processing of another job is delayed and the rotation position of the stepping motor may be shifted, thereby causing a malfunction.

【0012】[0012]

【課題を解決するための手段】本発明は上記従来の欠点
に鑑みて成されたもので、図1に示すように、ステッピ
ングモータの励磁モードを指定する相励磁指定信号と、
ステッピングモータの回転駆動の開始時点を指示する回
転開始時指定パルスを生成するCPUと、複数のクロッ
クパルスからなり、前記回転開始時指定パルスの立上が
りに最初の前記クロックパルスの立上がりが同期し、前
記相励磁指定信号によって異なるクロック周波数を有す
る回転指定クロックを生成し、かつ前記回転指定クロッ
クに基づいて、前記複数のクロックパルスの立上がりが
前記ステッピングモータの刻むマイクロステップと同期
するように前記ステッピングモータが回転する相電流を
生成し、前記ステッピングモータに供給するドライバと
を有することを特徴とするステッピングモータの駆動回
路により、上記課題を解決するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional disadvantages. As shown in FIG. 1, a phase excitation designation signal for designating an excitation mode of a stepping motor is provided.
A CPU for generating a rotation start designation pulse for instructing a start point of the rotation drive of the stepping motor, and a plurality of clock pulses, wherein the first rise of the clock pulse is synchronized with the rise of the rotation start designation pulse; The stepping motor generates a rotation designation clock having a different clock frequency according to the phase excitation designation signal, and based on the rotation designation clock, controls the stepping motor so that rising edges of the plurality of clock pulses are synchronized with microsteps of the stepping motor. A driving circuit for a stepping motor, comprising: a driver for generating a rotating phase current and supplying the phase current to the stepping motor;

【0013】[0013]

【発明の実施の形態】以下で、本発明の実施例に係るス
テッピングモータの駆動回路について図を参照しながら
説明する。この回路は、図1に示すように、CPU1
1,ドライバ12からなり、2相励磁のステッピングモ
ータMを駆動する回路である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A drive circuit for a stepping motor according to an embodiment of the present invention will be described below with reference to the drawings. This circuit, as shown in FIG.
1 is a circuit comprising a driver 12 and driving a stepping motor M of two-phase excitation.

【0014】CPU11は、ステッピングモータMの回
転数、励磁モードなどの駆動状態を指示する制御信号S
S11に基づいて当該駆動回路の制御を司るものであっ
て、その機能とともに後述のモード指定信号M1,M
2,M3と、後述の回転開始時指定パルスPoを生成し
てドライバ12に出力するものである。ドライバ12
は、クロックジェネレータ13と、相電流生成部14を
有し、上述のモード指定信号M1,M2,M3と、後述
の回転開始時指定パルスPoとに基づいて、ステッピン
グモータMを駆動するための相電流Ioを生成して、ス
テッピングモータMに供給する回路である。モード指定
信号M1,M2,M3は、ローレベル(以下“L”と記
す)又はハイレベル(以下“H”と記す)のいずれかの
信号であって、M1〜M3で3ビットの情報になるの
で、これらの組み合わせで8種類の励磁モードを指定す
る事ができる。例えばM1,M2,M3をそれぞれ
“0”,“0”,“0”と選択する時には2相,
“1”,“0”,“0”と選択する時には1−2相とい
うように割り当てることができる。
The CPU 11 generates a control signal S for instructing a driving state such as the rotation speed of the stepping motor M and an excitation mode.
The control circuit controls the drive circuit based on S11.
2, M3, and a rotation start designation pulse Po described later and output to the driver 12. Driver 12
Has a clock generator 13 and a phase current generator 14, and a phase for driving the stepping motor M based on the above-described mode designation signals M1, M2, M3 and a later-described rotation start designation pulse Po. This is a circuit that generates a current Io and supplies it to the stepping motor M. The mode designation signals M1, M2, and M3 are either low-level (hereinafter, referred to as "L") or high-level (hereinafter, referred to as "H") signals, and are 3-bit information in M1 to M3. Therefore, eight kinds of excitation modes can be designated by these combinations. For example, when M1, M2, and M3 are respectively selected as "0", "0", and "0", two phases are selected.
When "1", "0", or "0" is selected, it can be assigned as 1-2 phase.

【0015】クロックジェネレータ13は、モード指定
信号M1,M2,M3と、回転開始時指定パルスPoと
に基づいて回転指定クロックCK11を生成して相電流
生成部14に供給する回路である。このうち回転指定ク
ロックCK11は、その立上がりに同期してモータを所
定の角度だけ回転させるためのクロックであって、回転
開始時指定パルスは、回転指定クロックの最初のパルス
の生成を開始させるためのパルスである。
The clock generator 13 is a circuit that generates a rotation designation clock CK11 based on the mode designation signals M1, M2, M3 and the rotation designation pulse Po, and supplies the rotation designation clock CK11 to the phase current generator 14. Among these, the rotation designation clock CK11 is a clock for rotating the motor by a predetermined angle in synchronization with the rise thereof, and the rotation start designation pulse is a clock for starting generation of the first pulse of the rotation designation clock. It is a pulse.

【0016】相電流生成部14は、回転指定クロックC
K11に基づいて相電流Ioを生成し、ステッピングモ
ータMに供給してこれを回転させる回路である。以下
で、上記回路の動作について説明する。上記回路によれ
ば、まずステッピングモータMの回転数、励磁モードな
どの駆動状態を指示する制御信号SS11がCPUに入
力される。
The phase current generating section 14 generates a rotation designation clock C
This is a circuit that generates a phase current Io based on K11, supplies it to the stepping motor M, and rotates it. Hereinafter, the operation of the above circuit will be described. According to the above circuit, first, the control signal SS11 for instructing the driving state such as the rotation speed of the stepping motor M and the excitation mode is input to the CPU.

【0017】これにより、2相,1−2相,W1−2
相,2W1−2相励磁のうちいずれかの励磁モードが選
択されるかという情報や、回転開始の時点や、何度ステ
ッピングモータMを回転させるかという情報がCPU1
1で認識される。次いでCPU1内で励磁モードを指示
するモード指定信号M1,M2,M3が生成されて、ド
ライバ12に出力される。本実施形態では一例としてM
1,M2,M3がそれぞれ“1”,“1”,“0”であ
って励磁モードが2W1−2相である場合について説明
するものとする。
Thus, two-phase, 1-2-phase, W1-2
The CPU 1 stores information as to whether any one of the excitation modes of the two-phase excitation and the 2W1-2-phase excitation is selected, information about the time of starting rotation, and how many times the stepping motor M is rotated.
1 is recognized. Next, mode designation signals M1, M2, M3 for instructing the excitation mode are generated in the CPU 1 and output to the driver 12. In the present embodiment, as an example, M
It is assumed that 1, M2, and M3 are "1", "1", and "0", respectively, and the excitation mode is 2W1-2 phase.

【0018】同時にステッピングモータMの回転開始の
時点を決定する回転開始時指定パルスPoがCPU11
で生成されてドライバ12に出力される。これらのモー
ド指定信号M1,M2,M3及び回転開始時指定パルス
Poはドライバ12内のクロックジェネレータ13に入
力され、このクロックジェネレータ13によって回転指
定クロックCK11が生成されて相電流生成部14に出
力される。この回転指定クロックCK11は、図2に示
すように回転開始時指定パルスPoの立上がりに同期し
て最初のクロックが立ち上がるように生成される。
At the same time, a start-of-rotation designating pulse Po for determining the start of rotation of the stepping motor M is supplied to the CPU 11.
And output to the driver 12. The mode designation signals M1, M2, M3 and the rotation start designation pulse Po are input to a clock generator 13 in the driver 12, and the clock generator 13 generates a rotation designation clock CK11 and outputs it to the phase current generator 14. You. The rotation designation clock CK11 is generated so that the first clock rises in synchronization with the rise of the rotation start designation pulse Po as shown in FIG.

【0019】その後相電流生成部14が、この回転指定
クロックCK11に基づいてステッピングモータMの回
転に係る相電流Ioを生成し、回転指定クロックCK1
1によって指定された回転状態に合致した相電流Ioが
ステッピングモータMに供給され、これによってステッ
ピングモータMが所定の角度だけ回転する事になる。実
際の回転状態について図5などを参照しながら説明す
る。ここでは図5の原点O1からO2まで回転した場合
について説明する。
Thereafter, the phase current generator 14 generates a phase current Io related to the rotation of the stepping motor M based on the rotation specifying clock CK11, and generates the rotation specifying clock CK1.
The phase current Io that matches the rotation state specified by 1 is supplied to the stepping motor M, whereby the stepping motor M rotates by a predetermined angle. The actual rotation state will be described with reference to FIG. Here, the case where the rotation is performed from the origin O1 to O2 in FIG. 5 will be described.

【0020】上記実施形態では、2W1−2相で駆動す
ることがそれぞれ“1”,“1”,“0”なるモード指
定信号M1,M2,M3によって指定されている。2W
1−2相でO1からO2まで回転する間にモータが刻む
ステップは、図5に示すように8ステップあり、その8
ステップに上述の回転指定クロックCK1が対応してい
る。
In the above embodiment, driving in 2W1-2 phase is designated by mode designation signals M1, M2, M3 of "1", "1", and "0", respectively. 2W
As shown in FIG. 5, there are eight steps in which the motor ticks while rotating from O1 to O2 in the 1-2 phase.
The above-described rotation designation clock CK1 corresponds to the step.

【0021】すなわち、最初の回転指定クロックCK1
の立上がりに同期して図5に示す1個目のステップを刻
み、次のクロックCK1の立上がりに同期して2個目の
ステップを刻むという動作を順次繰り返し、8個目のス
テップすなわち8個目のクロックCK1が立ち上がった
時に原点O2に達し、一旦停止する。図5においてはこ
の原点O1から原点O2までの角度は90°であるが、
従来例で説明したように図5の1回転(360°回転)
が実際のステッピングモータの回転角の7.2°に相当
し、原点から原点までの角度90°は7.2°の1/4
の1.8°、すなわち基本ステップ角θsに相当する。
That is, the first rotation designation clock CK1
The operation of ticking the first step shown in FIG. 5 in synchronism with the rising edge of the clock CK1 and ticking the second step in synchronism with the rising edge of the next clock CK1 is sequentially repeated. Reaches the origin O2 when the clock CK1 rises, and temporarily stops. In FIG. 5, the angle from the origin O1 to the origin O2 is 90 °,
One rotation (360 ° rotation) in FIG. 5 as described in the conventional example
Corresponds to 7.2 ° of the actual rotation angle of the stepping motor, and the angle 90 ° from the origin to the origin is 1 / of 7.2 °.
1.8 degrees, that is, the basic step angle θs.

【0022】モータは通常、原点から原点まで移動をし
て、原点では一旦停止するという動作をし、この間モー
タの実際の回転角は基本ステップ角θs(=1.8°)
となる。このとき、励磁モードが予め定まっていれば、
原点から次の原点までモータが移動する際すなわち基本
ステップ角θsだけ回転する際に刻むステップの数は予
め定まる。上述のように2W1−2相のときには8個の
ステップがある。また、図5に示すように4W1−2相
においては16個,W1−2相では4個、1−2相では
2個、2相では1個のステップが必要だということが予
めわかる。
Usually, the motor moves from the origin to the origin and stops at the origin. During this operation, the actual rotation angle of the motor is the basic step angle θs (= 1.8 °).
Becomes At this time, if the excitation mode is predetermined,
When the motor moves from the origin to the next origin, that is, when the motor rotates by the basic step angle θs, the number of steps to be carved is predetermined. As described above, there are eight steps in the 2W1-2 phase. Also, as shown in FIG. 5, it can be seen in advance that 16 steps are required for 4W1-2 phase, 4 steps for W1-2 phase, 2 steps for 1-2 phase, and 1 step for 2 phase.

【0023】したがって、励磁モードが決まれば例えば
2W−12相では原点から原点の移動の際に、8個のス
テップが刻まれ、回転指定クロックCK11が8個必要
なことは予めわかるので、最初の回転開始の時点がわか
れば、モータの回転状態を一意的に決定することができ
ることがわかる。そこで、本発明では回転指定クロック
CK11をCPU11で生成することなく、最初の回転
開始時点を規定する回転開始時指定パルスPoとモード
指定信号M1,M2,M3だけを生成してドライバ12
に出力し、これらの情報に基づいてドライバ12内のク
ロックジェネレータ13によって回転指定クロックCK
11を生成している。
Therefore, if the excitation mode is determined, for example, in the 2W-12 phase, when moving from the origin to the origin, eight steps are engraved, and it is known in advance that eight rotation designation clocks CK11 are required. It is understood that the rotation state of the motor can be uniquely determined if the start time of the rotation is known. Therefore, in the present invention, the rotation specifying clock CK11 is not generated by the CPU 11, but only the rotation start specifying pulse Po for defining the first rotation start time and the mode specifying signals M1, M2, M3 are generated and the driver 12 is controlled.
And outputs the rotation designation clock CK by the clock generator 13 in the driver 12 based on the information.
11 is generated.

【0024】このため、CPU11は従来のように自ら
回転指定クロックCK11を生成する必要がなくなるの
で、例えば4W1−2相の駆動時のように、高速な回転
指定クロックCK11が必要になった場合には、このよ
うな高速な回転指定クロックCK11をCPU自身で生
成しなくともよく、このような高速なクロックを生成す
る事でCPUの負担が過重になることを抑止する事がで
きる。
For this reason, the CPU 11 does not need to generate the rotation designation clock CK11 by itself as in the related art, so that when the high-speed rotation designation clock CK11 becomes necessary, for example, during 4W1-2-phase driving. The CPU does not need to generate such a high-speed rotation designation clock CK11 by the CPU itself. By generating such a high-speed clock, the burden on the CPU can be prevented from becoming excessive.

【0025】これにより、他のジョブの割り込み処理が
事実上不可能であって、ほとんどクロック生成のためだ
けにCPUが動作するという問題や、ひどい場合には他
のジョブの処理が遅れてステッピングモータの回転位置
がずれたりする誤動作を抑止する事が可能になる。な
お、本実施形態では2相のステッピングモータの駆動を
する回路について説明しているが、本発明はこれに限ら
ず、例えば3相,5相などのステッピングモータの駆動
回路に適用しても、同様の効果を奏する。
As a result, interrupt processing of other jobs is practically impossible, and the CPU operates almost exclusively for clock generation. In severe cases, the processing of other jobs is delayed and the stepping motor is delayed. It is possible to suppress a malfunction such as a shift in the rotational position of the camera. In this embodiment, a circuit for driving a two-phase stepping motor is described. However, the present invention is not limited to this. For example, the present invention may be applied to a driving circuit for a three-phase, five-phase stepping motor, or the like. A similar effect is achieved.

【0026】[0026]

【発明の効果】以上説明したように本発明に係るステッ
ピングモータの駆動回路によれば、ステッピングモータ
がその立上がりに同期して回転する回転指定クロックを
CPUが生成するのではなく、ドライバが生成してお
り、CPUはその回転指定クロックの生成開始時を指定
する回転開始時指定パルスを生成してドライバに出力し
ているにすぎないので、高速な回転指定クロックを生成
する際に従来のようにCPUの負担が過重になって、他
のジョブの割り込み処理が事実上不可能であって、ほと
んどクロック生成のためだけにCPUが動作するという
不都合が生じたというような従来生じていた問題や、ひ
どい場合には他のジョブの処理が遅れてステッピングモ
ータの回転位置がずれたりするという誤動作を生じるこ
とさえあったという従来生じていた問題を抑止する事が
可能になる。
As described above, according to the driving circuit for a stepping motor according to the present invention, the CPU does not generate a rotation designation clock for rotating the stepping motor in synchronization with its rise, but the driver generates the clock. The CPU merely generates a rotation start time designation pulse for designating the start time of the rotation designation clock and outputs the pulse to the driver. The conventional problem that the load on the CPU becomes excessive, interrupt processing of other jobs is practically impossible, and the inconvenience that the CPU operates almost exclusively for clock generation, In the worst case, the processing of other jobs was delayed and the rotation position of the stepping motor was shifted, sometimes causing a malfunction. It becomes possible to suppress the problem had come to occur.

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

【図1】本発明の実施例に係るステッピングモータの駆
動回路の回路図である。
FIG. 1 is a circuit diagram of a drive circuit of a stepping motor according to an embodiment of the present invention.

【図2】本発明の実施例に係るステッピングモータの駆
動回路の動作を説明するタイミングチャートである。
FIG. 2 is a timing chart for explaining an operation of a driving circuit of the stepping motor according to the embodiment of the present invention.

【図3】従来例に係るステッピングモータの駆動回路の
回路図である。
FIG. 3 is a circuit diagram of a driving circuit of a stepping motor according to a conventional example.

【図4】従来例に係るステッピングモータの駆動回路の
動作を説明するタイミングチャートである。
FIG. 4 is a timing chart illustrating an operation of a driving circuit of a stepping motor according to a conventional example.

【図5】一般のステッピングモータの駆動回路の動作状
態を説明する図である。
FIG. 5 is a diagram illustrating an operation state of a drive circuit of a general stepping motor.

【図6】一般のステッピングモータの励磁モードと、回
転指定クロックの個数との関係を示す図である。
FIG. 6 is a diagram showing the relationship between the excitation mode of a general stepping motor and the number of rotation designation clocks.

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

11 CPU 12 ドライバ 13 クロックジェネレータ 14 相電流生成部 M ステッピングモータ M1,M2,M3 モード設定信号 CK11 回転指定クロック Io 相電流 Po 回転開始時指定パルス SS11 制御信号 11 CPU 12 Driver 13 Clock Generator 14 Phase Current Generator M Stepping Motor M1, M2, M3 Mode Setting Signal CK11 Rotation Designation Clock Io Phase Current Po Rotation Start Designation Pulse SS11 Control Signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ステッピングモータの励磁モードを指定
する相励磁指定信号と、ステッピングモータの回転駆動
の開始時点を指示する回転開始時指定パルスを生成する
CPUと、 複数のクロックパルスからなり、前記回転開始時指定パ
ルスの立上がりに最初の前記クロックパルスの立上がり
が同期し、前記相励磁指定信号によって異なるクロック
周波数を有する回転指定クロックを生成し、かつ前記回
転指定クロックに基づいて、前記複数のクロックパルス
の立上がりが前記ステッピングモータの刻むマイクロス
テップと同期するように前記ステッピングモータが回転
する相電流を生成し、前記ステッピングモータに供給す
るドライバとを有することを特徴とするステッピングモ
ータの駆動回路。
1. A phase excitation designation signal for designating an excitation mode of a stepping motor, a CPU for generating a rotation start time designation pulse for instructing a start time of rotation drive of the stepping motor, and a plurality of clock pulses; The rise of the first clock pulse is synchronized with the rise of the start designation pulse, generates a rotation designation clock having a different clock frequency according to the phase excitation designation signal, and, based on the rotation designation clock, the plurality of clock pulses. And a driver for generating a phase current for rotating the stepping motor so as to synchronize the rising of the stepping motor with the microsteps of the stepping motor and supplying the phase current to the stepping motor.
【請求項2】 前記ドライバは、 前記回転指定クロックと前記相励磁指定信号とに基づい
て前記回転指定クロックを生成するクロックジェネレー
タと、 前記回転指定クロックに基づいて前記相電流を生成し、
前記ステッピングモータに供給する相電流生成部とを有
することを特徴とする請求項1記載のステッピングモー
タの駆動回路。
2. A clock generator for generating the rotation specifying clock based on the rotation specifying clock and the phase excitation specifying signal, the driver generating the phase current based on the rotation specifying clock,
2. A driving circuit for a stepping motor according to claim 1, further comprising a phase current generating section for supplying the phase current to the stepping motor.
JP34866296A 1996-12-26 1996-12-26 Stepping motor drive circuit Expired - Fee Related JP3459530B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34866296A JP3459530B2 (en) 1996-12-26 1996-12-26 Stepping motor drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34866296A JP3459530B2 (en) 1996-12-26 1996-12-26 Stepping motor drive circuit

Publications (2)

Publication Number Publication Date
JPH10191694A true JPH10191694A (en) 1998-07-21
JP3459530B2 JP3459530B2 (en) 2003-10-20

Family

ID=18398520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34866296A Expired - Fee Related JP3459530B2 (en) 1996-12-26 1996-12-26 Stepping motor drive circuit

Country Status (1)

Country Link
JP (1) JP3459530B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7986120B2 (en) 2007-07-26 2011-07-26 Sony Corporation Pulse motor control device, control method, control program, and imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7986120B2 (en) 2007-07-26 2011-07-26 Sony Corporation Pulse motor control device, control method, control program, and imaging apparatus

Also Published As

Publication number Publication date
JP3459530B2 (en) 2003-10-20

Similar Documents

Publication Publication Date Title
JPH10191694A (en) Drive circuit for stepping motor
JP3796177B2 (en) Motor PWM drive circuit
JPH04351498A (en) Drive controller for stepping motor
JP4066228B2 (en) Synchronous operation device
JPS60241797A (en) Control circuit of stepping motor
JP3219601B2 (en) Driving method and driving circuit for stepping motor
JPH0759398A (en) Method for driving stepping motor
JP3148600B2 (en) Stepping motor drive circuit
JP3223110B2 (en) Stepping motor drive circuit
JPH1098898A (en) Stepping motor drive controller
JPH10313586A (en) Brushless, sensorless dc motor and its driving and controlling device
JP2605709B2 (en) Driving method of printer carriage
JPH0343869B2 (en)
JPS6281995A (en) Drive control system of pulse motor
JPS5846897A (en) Controlling method for pulse motor
JP3298075B2 (en) Motor drive circuit
JP3148601B2 (en) Stepping motor drive circuit
JPS60120080A (en) Carriage drive controller
JP2000262094A (en) Pulse motor control method
JPH01220261A (en) Floppy disk driving device
JP2003244993A (en) Stepping motor speed control device and speed control method
JPH07170794A (en) Control method for stepping motor
JPH0279791A (en) Driving control apparatus for brushless motor
JPS63209499A (en) Controller for motor
JPS59185187A (en) Speed controller of copying machine

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20070808

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080808

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090808

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100808

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20100808

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20110808

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20120808

LAPS Cancellation because of no payment of annual fees