[go: up one dir, main page]

JP3459530B2 - Stepping motor drive circuit - Google Patents

Stepping motor drive circuit

Info

Publication number
JP3459530B2
JP3459530B2 JP34866296A JP34866296A JP3459530B2 JP 3459530 B2 JP3459530 B2 JP 3459530B2 JP 34866296 A JP34866296 A JP 34866296A JP 34866296 A JP34866296 A JP 34866296A JP 3459530 B2 JP3459530 B2 JP 3459530B2
Authority
JP
Japan
Prior art keywords
rotation
stepping motor
clock
designation
origin
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.)
Expired - Fee Related
Application number
JP34866296A
Other languages
Japanese (ja)
Other versions
JPH10191694A (en
Inventor
良一 高橋
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

Landscapes

  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はステッピングモータ
の駆動回路に関し、更に詳しく言えば、プリンタや複写
機などに用いられるステッピングモータをマイクロステ
ップ駆動する駆動回路の改善を目的とする。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a stepping motor drive circuit, and more specifically, it is an object of the present invention to improve a drive 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 stepping motor drive circuit will be described below with reference to FIG. As shown in FIG. 3, this circuit is composed of a CPU 1 and a driver 2 and drives a two-phase excitation stepping motor M.

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

【0004】次いでCPU1内で励磁モードを指示する
モード指定信号M1,M2,M3が生成されて、ドライ
バ2に出力される。これによってドライバ2はステッピ
ングモータをどの励磁モードで駆動するかを選択し、例
えば2W1−2相で駆動すると認識する。これとともに
ステッピングモータMの回転に係る回転指定クロックC
K1が生成されてドライバ2に出力される。この回転指
定クロックCK1は、その立上がりに同期して所定の角
度だけステッピングモータMを回転させるためのクロッ
クである。
Then, mode designating signals M1, M2 and M3 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. Along with this, 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 its rising.

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

【0006】この回転指定クロックCK1とモード指定
信号M1,M2,M3に基づいてドライバ2がステッピ
ングモータMの駆動をするための相電流Ioを生成し、
ステッピングモータMに供給することにより、指定され
た励磁モードによって回転指定クロックCK1の立上が
りに同期してステッピングモータMが所定の角度だけ回
転する。
Based on the rotation designation clock CK1 and the mode designation signals M1, M2 and M3, the driver 2 generates a phase current Io for driving the stepping motor M,
By supplying to the stepping motor M, the stepping motor M rotates by a predetermined angle in synchronization with the rising of the rotation designation clock CK1 according to 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 of FIG. 5 (36
(0 ° rotation) is the actual rotation angle of the stepping motor.
Corresponds to 2 °. Normally, the stepping motor rotates in the steps of origin → origin shown in FIG. That is, considering, for example, 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 notching eight steps thereafter, and then again at the next origin O2. It rotates toward the origin O3. The eight steps to be engraved at this time are the rotation designation clock CK1 described above.
It will be engraved in sync with the rise of.

【0008】原点と次に現れる原点(例えばO1とO
2)との角は図5においては90°であるが、上述のよ
うに図5の1回転(360°回転)が実際のステッピン
グモータの回転角の7.2°に相当するため、この角度
は実際のステッピングモータの回転角に換算すると1.
8°の回転に相当する。このステップごとに実際のモー
タは回転/停止を繰り返すので、この1.8°を基本ス
テップ角θsという。
The origin and the origin that appears next (for example, O1 and O
The angle with 2) is 90 ° in FIG. 5, but since one rotation (360 ° rotation) in FIG. 5 corresponds to the actual rotation angle of 7.2 ° of the stepping motor as described above, this angle When converted into the actual rotation angle of the stepping motor, 1.
Corresponds to a rotation of 8 °. Since the actual motor repeats rotation / stop at 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 chart showing the number of rotation designating clocks CK1 required for actually rotating the stepping motor by 360 ° for each phase excitation mode. As shown in this chart, the basic step angle is 1.8 ° when driving a two-phase stepping motor, and 200 when driving two-phase.
400 pieces in 1-2 phase excitation, 800 pieces in W1-2 phase
1600 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, the above-mentioned conventional drive circuit as shown in FIG. 5 has the following problems. The above rotation designation clock CK1 is
All are generated by the CPU 1 as software. The CPU 1 has an original function of controlling the drive circuit. However, when the stepping motor M is rotating, the CPU 1 mostly operates to generate the rotation designation clock CK1.
Will be overloaded.

【0011】すなわち、2相などの低速回転の際には、
回転指定クロックCK1の生成中にも割り込み処理で他
のジョブを処理することができるが、例えば4W1−2
相の場合には上述のように1回転で3200個ものクロ
ックを必要とする高速なクロックCK1を生成するの
で、このような場合には他のジョブの割り込み処理が事
実上不可能であって、ほとんどクロック生成のためだけ
にCPUが動作するという不都合が生じ、ひどい場合に
は他のジョブの処理が遅れてステッピングモータの回転
位置がずれたりするという誤動作を生じることさえあっ
た。
That is, at the time of low speed rotation such as two phases,
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, the high-speed clock CK1 that requires as many as 3200 clocks is generated in one rotation as described above, so that in such a case, interrupt processing of other jobs is practically impossible, Almost inconveniently, the CPU operates only for clock generation, and in some cases, processing of other jobs may be delayed and the rotational position of the stepping motor may be misaligned.

【0012】[0012]

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

【0013】[0013]

【発明の実施の形態】以下で、本発明の実施例に係るス
テッピングモータの駆動回路について図を参照しながら
説明する。この回路は、図1に示すように、CPU1
1,ドライバ12からなり、2相励磁のステッピングモ
ータMを駆動する回路である。
BEST MODE FOR CARRYING OUT THE INVENTION 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, a driver 12 is a circuit for driving a two-phase excitation stepping motor M.

【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 has a control signal S for instructing a driving state such as the number of rotations of the stepping motor M and an excitation mode.
It controls the drive circuit on the basis of S11 and, together with its function, mode designating signals M1 and M described later.
2, M3 and a rotation start designation pulse Po described later are generated 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 designating signals M1, M2, M3 and a rotation start designation pulse Po described later. It is a circuit that generates a current Io and supplies it to the stepping motor M. The mode designating signals M1, M2 and M3 are either low level (hereinafter referred to as “L”) or high level (hereinafter referred to as “H”) signals, and M1 to M3 form 3-bit information. Therefore, eight kinds of excitation modes can be designated by these combinations. For example, when M1, M2 and M3 are selected as "0", "0" and "0" respectively, two phases are selected,
When selecting "1", "0", or "0", it can be assigned as 1-2 phase.

【0015】クロックジェネレータ13は、モード指定
信号M1,M2,M3と、回転開始時指定パルスPoと
に基づいて回転指定クロックCK11を生成して相電流
生成部14に供給する回路である。このうち回転指定ク
ロックCK11は、その立上がりに同期してモータを所
定の角度だけ回転させるためのクロックであって、回転
開始時指定パルスは、回転指定クロックの最初のパルス
の生成を開始させるためのパルスである。
The clock generator 13 is a circuit for generating the rotation designation clock CK11 based on the mode designation signals M1, M2, M3 and the rotation start designation pulse Po and supplying it to the phase current generator 14. Of these, the rotation designation clock CK11 is a clock for rotating the motor by a predetermined angle in synchronization with its rising, and the rotation start designation pulse is for starting the 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 generator 14 uses the rotation designation clock C.
It is a circuit that generates a phase current Io based on K11 and supplies it to the stepping motor M to rotate it. The operation of the above circuit will be described below. 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相である場合について説明
するものとする。
As a result, two phases, 1-2 phase, W1-2
Information indicating which one of the two-phase and 2W1-2-phase excitation modes is selected, the time when the rotation starts, and the information about how many times the stepping motor M is rotated.
Recognized by 1. Next, in the CPU 1, mode designating signals M1, M2, M3 for instructing the excitation mode are generated and output to the driver 12. In the present embodiment, as an example, M
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, the rotation start designation pulse Po for determining the start time of the rotation of the stepping motor M is the CPU 11
And is output to the driver 12. The mode designating signals M1, M2, M3 and the rotation start designation pulse Po are input to the clock generator 13 in the driver 12, and the clock generator 13 generates the rotation designation clock CK11 and outputs it to the phase current generator 14. It 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 the phase current Io relating to the rotation of the stepping motor M based on the rotation designation clock CK11, and the rotation designation clock CK1.
The phase current Io that matches the rotation state designated by 1 is supplied to the stepping motor M, which causes the stepping motor M to rotate by a predetermined angle. The actual rotation state will be described with reference to FIG. Here, a 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 the 2W1-2 phase is designated by the mode designation signals M1, M2 and M3 which are "1", "1" and "0", respectively. 2W
As shown in FIG. 5, there are eight steps that the motor carves while rotating from O1 to O2 in the 1-2 phase.
The rotation designation clock CK1 described above 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
5, the first step shown in FIG. 5 is carved, and the second step is carved in synchronization with the next clock CK1 rising. When the clock CK1 of rises, it reaches the origin O2 and temporarily stops. In FIG. 5, the angle from the origin O1 to the origin O2 is 90 °,
As described in the conventional example, one rotation of FIG. 5 (360 ° rotation)
Corresponds to 7.2 ° of the actual rotation angle of the stepping motor, and the angle 90 ° from the origin to the origin is ¼ of 7.2 °.
Corresponding to 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個のステップが必要だということが予
めわかる。
The motor normally moves from the origin to the origin and temporarily stops at the origin, during which 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,
The number of steps to be carved when the motor moves from the origin to the next origin, that is, when the motor rotates by the basic step angle θs is predetermined. As described above, there are 8 steps in the 2W1-2 phase. Further, as shown in FIG. 5, it is known in advance that 16 steps are required in the 4W1-2 phase, 4 steps in the W1-2 phase, 2 steps in the 1-2 phase, and 1 step in the 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, it is known in advance that eight steps are engraved when moving from the origin to the origin, and eight rotation designation clocks CK11 are required. It is understood that the rotation state of the motor can be uniquely determined if the time when the rotation starts is known. Therefore, in the present invention, the rotation designation clock CK11 is not generated by the CPU 11, and only the rotation start designation pulse Po that defines the first rotation start time and the mode designation signals M1, M2, M3 are generated and the driver 12 is generated.
To the rotation designation clock CK by the clock generator 13 in the driver 12 based on these 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 conventional case. Therefore, for example, when the high speed rotation designation clock CK11 is required as in the case of driving the 4W1-2 phase. Does not need to generate such a high-speed rotation designation clock CK11 by the CPU itself, and by generating such a high-speed clock, it is possible to prevent the CPU from being overloaded.

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

【0026】[0026]

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

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

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

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

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

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

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

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

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

11 CPU 12 ドライバ 13 クロックジェネレータ 14 相電流生成部 M ステッピングモータ M1,M2,M3 モード設定信号 CK11 回転指定クロック Io 相電流 Po 回転開始時指定パルス SS11 制御信号 11 CPU 12 drivers 13 Clock generator 14-phase current generator M stepping motor M1, M2, M3 mode setting signal CK11 rotation specified clock Io phase current Po designated pulse at the start of rotation SS11 control signal

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H02P 8/00 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H02P 8/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力されるステッピングモータの回転
数、励磁モードの駆動状態を指示する制御信号に基づい
て、ステッピングモータの励磁モードを指示する多ビッ
トのモード指定信号と、ステッピングモータの回転駆動
の開始時点を指示する回転開始時指定パルスをする発生
CPUと、 クロックジェネレータと相電流生成部を有するドライバ
ーとよりなり、 前記CPUにて生成されたモード指定信号及び回転開始
時指定パルスがドライバのクロックジェネレータに入力
されると、回転開始時指定パルスの立上がりに前記クロ
ックジェネレータから発生される最初の回転指定クロッ
クパルスの立上がりに同期し、且つ前記モード指定信号
によって異なるクロック数を有する回転指定クロックを
生成し、前記相電流生成部より回転指定クロックに基づ
いて相電流を発生し、ステッピングモータを所定の角度
だけ回転させることを特徴とするステッピングモータの
駆動回路。
1. A multi-bit instructing an excitation mode of a stepping motor based on a control signal instructing a rotation speed of the stepping motor and a driving state of the excitation mode.
And a driver having a clock generator and a phase current generator, which generates a rotation start time designation pulse for instructing the start time of the rotation drive of the stepping motor, and a driver generated by the CPU. When the mode designation signal and the rotation start designation pulse are input to the clock generator of the driver, the rising of the rotation start designation pulse is synchronized with the rising of the first rotation designation clock pulse generated from the clock generator. And generating a rotation designation clock having a different number of clocks according to the mode designation signal, and based on the rotation designation clock from the phase current generator.
The phase current to generate a stepping motor
Drive circuit for stepping motor, which is characterized by rotating only .
【請求項2】 ステッピングモータは原点から原点まで
移動して、原点では一旦停止するようにし、励磁モード
により原点から原点までのクロックジェネレータより発
生する回転指定クロックのクロック数をあらかじめ決定
することを特徴とする請求項1記載のステッピングモー
タの駆動回路。
2. The stepping motor is from the origin to the origin.
Move and stop at the origin once, then the excitation mode
Generates from the clock generator from origin to origin
Predetermine the number of clocks for the specified rotation clock
Stepping motor driving circuit according to claim 1, characterized in that.
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 JPH10191694A (en) 1998-07-21
JP3459530B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4420079B2 (en) 2007-07-26 2010-02-24 ソニー株式会社 Pulse motor control device, control method, control program, and imaging device

Also Published As

Publication number Publication date
JPH10191694A (en) 1998-07-21

Similar Documents

Publication Publication Date Title
JP3459530B2 (en) Stepping motor drive circuit
JP3796177B2 (en) Motor PWM drive circuit
JP3219601B2 (en) Driving method and driving circuit for stepping motor
JPH04351498A (en) Drive controller for stepping motor
JP4066228B2 (en) Synchronous operation device
JP2722750B2 (en) Drive device for brushless motor
JP4123908B2 (en) DC brushless motor parallel drive method
JP3285371B2 (en) Sensorless brushless DC motor drive circuit
JPH0759398A (en) Method for driving stepping motor
JP3148601B2 (en) Stepping motor drive circuit
KR100757435B1 (en) Method and apparatus for driving 2-phase SM
JP3661052B2 (en) Pulse motor control method
JPH01268482A (en) Drive control system for brushless motor
JPH08182391A (en) Driving circuit for stepping motor
JPH0279791A (en) Driving control apparatus for brushless motor
JPH10313586A (en) Brushless, sensorless dc motor and its driving and controlling device
JP2892164B2 (en) Brushless motor drive
JP3298075B2 (en) Motor drive circuit
JP2008160900A (en) Stepping motor control device and printing device
JP2546115B2 (en) Disk device and disk startup method thereof
JP3251344B2 (en) Pulse output circuit
JPH02197291A (en) Method and device for starting brushless motor
JP4024453B2 (en) Method and apparatus for controlling stepping motor
JPH06178595A (en) Motor controlling method
JPH08331896A (en) Floppy disc unit

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