JPH0998598A - Drive circuit for stepping motor - Google Patents

Drive circuit for stepping motor

Info

Publication number
JPH0998598A
JPH0998598A JP25387895A JP25387895A JPH0998598A JP H0998598 A JPH0998598 A JP H0998598A JP 25387895 A JP25387895 A JP 25387895A JP 25387895 A JP25387895 A JP 25387895A JP H0998598 A JPH0998598 A JP H0998598A
Authority
JP
Japan
Prior art keywords
stepping motor
clock
rotation speed
mode setting
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25387895A
Other languages
Japanese (ja)
Other versions
JP3148601B2 (en
Inventor
Mitsuji Arai
満次 新井
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 JP25387895A priority Critical patent/JP3148601B2/en
Publication of JPH0998598A publication Critical patent/JPH0998598A/en
Application granted granted Critical
Publication of JP3148601B2 publication Critical patent/JP3148601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the need of high rate clock for designating the r.p.m. by detecting only the rising of clock for designating the r.p.m. based on an auxiliary mode setting signal and determining the r.p.m. of a stepping motor based on the detection results thereof and a mode setting signal thereby controlling the stepping motor. SOLUTION: Only the rising of a clock 'Clock' for designating r.p.m. or both the rising and falling thereof are detected, based on an auxiliary mode setting signal DBS and the r.p.m. of a stepping motor is determined at an exciting mode setting section 21 based on the detection results thereof and a plurality of mode setting signals Mode A, Mode B. Driving control of a stepping motor M is performed under control of exciting mode setting section 21. According to the drive circuit, high rate clock for designating the r.p.m. can be eliminated even when a high speed exciting mode is selected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はステッピングモータ
ーの駆動回路に関し、更に詳しく言えば、プリンタや複
写機などに用いられる3相励磁のステッピングモーター
をマイクロステップ駆動する駆動回路の改善を目的とす
る。近年、5相励磁のステッピングモータよりも駆動回
路が簡素化でき、かつ2相励磁のステッピングモータよ
りも低振動の駆動が実現出来るため、3相励磁のステッ
ピングモータの要求が市場で高まってきており、その駆
動回路の改善が要求されてきている。
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 three-phase excitation stepping motor used in a printer or a copying machine. In recent years, the demand for a three-phase excitation stepping motor has been increasing in the market because the drive circuit can be simplified compared to the five-phase excitation stepping motor and a drive with lower vibration than that of the two-phase excitation stepping motor can be realized. The improvement of the drive circuit is required.

【0002】[0002]

【従来の技術】以下で、従来例に係る3相励磁のステッ
ピングモータの駆動回路について図面を参照しながら説
明する。この駆動回路は、図10に示すように駆動信号
生成部(1)、駆動部(2)及びCPU(3)とからな
り、CPU(3)から出力される制御命令(KS)と、
回転数指定クロック(CK)とに基づいて、3相励磁の
マイクロステップのステッピングモータ(M)を駆動す
る回路である。
2. Description of the Related Art A drive circuit of a conventional three-phase excitation stepping motor will be described below with reference to the drawings. As shown in FIG. 10, the drive circuit includes a drive signal generation unit (1), a drive unit (2) and a CPU (3), and a control command (KS) output from the CPU (3),
It is a circuit that drives a microstepping stepping motor (M) of three-phase excitation based on a rotation speed designation clock (CK).

【0003】上記回路によれば、図10に示すように駆
動信号生成部(1)に、制御命令(KS)が入力され、
2相,2−3相,W2−3相,2W2−3相励磁のうち
いずれかの励磁モードが固定される。駆動信号生成部
(1)には、同時にその立ち上がりエッジの間隔がステ
ッピングモータ(M)の回転角(この場合は3.75
度)に対応している回転数指定クロック(CK)が入力
されている。
According to the above circuit, as shown in FIG. 10, a control command (KS) is input to the drive signal generator (1),
Any one of the two-phase, 2-3 phase, W2-3 phase, and 2W2-3 phase excitation modes is fixed. At the same time, in the drive signal generator (1), the interval between the rising edges is the rotation angle of the stepping motor (M) (in this case, 3.75).
The rotation speed designation clock (CK) corresponding to the (degree) is input.

【0004】駆動信号生成部(1)は、選択された励磁
モードに対応する回転数指定クロック(CK)の立ち上
がり時点のみを検出して、その都度駆動部(2)に、
「立ち上がり時点が検出された時点でマイクロステップ
を刻むようにモータ(M)を回転させよ」という駆動信
号(DS)を生成する。駆動部(2)は駆動信号生成部
(1)から出力された駆動信号(DS)に基づいてステ
ッピングモータ(M)を回転させて、ステッピングモー
タ(M)の駆動を行う。
The drive signal generation unit (1) detects only the rising time of the rotation speed designation clock (CK) corresponding to the selected excitation mode, and the drive unit (2) outputs the detected signal at each time.
A drive signal (DS) is generated to "rotate the motor (M) so as to engrave a microstep when the rising time is detected". The drive unit (2) rotates the stepping motor (M) based on the drive signal (DS) output from the drive signal generation unit (1) to drive the stepping motor (M).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、図10
に示すような上記従来の駆動回路によると、駆動信号生
成部(1)では、常に回転数指定クロック(CK)の立
ち上がり時点が検出された時点でマイクロステップを刻
むようにステッピングモータ(M)の駆動を駆動部
(2)に指示しているので、例えばW2−3相という固
定された励磁モードだけではモータ(M)の回転数を4
倍にするには、4倍の高速な回転数指定クロック(C
K)が要求されることになる。
However, as shown in FIG.
According to the conventional drive circuit as shown in FIG. 2, the drive signal generation unit (1) drives the stepping motor (M) so that the microstep is always performed when the rising time of the rotation speed designation clock (CK) is detected. Is instructed to the drive unit (2), the number of rotations of the motor (M) is set to 4 by only a fixed excitation mode such as W2-3 phase.
To double the speed, specify a four times faster rotation speed designation clock (C
K) will be required.

【0006】すると、このように高速な回転数指定クロ
ック(CK)を発生させなければならないCPU(3)
に過重な負担がかかってしまうという問題が生じてい
た。また、CPU(3)の過重な負担を避けるために回
転数指定クロック(CK)を過度に高速にしないように
すると、モータ(M)の高速な駆動ができなくなるとい
う問題が生じていた。
Then, the CPU (3) which must generate the high-speed rotation speed designation clock (CK) in this way
There was a problem that it would be overloaded. Further, if the rotation speed designation clock (CK) is not set to an excessively high speed in order to avoid an excessive load on the CPU (3), there is a problem that the motor (M) cannot be driven at a high speed.

【0007】[0007]

【課題を解決するための手段】本発明は上記従来の欠点
に鑑みて成されたもので、図1に示すように、3相励磁
のステッピングモータの励磁モードを規定するモード設
定信号と、前記ステッピングモータの回転数を規定する
回転数指定クロックと、前記回転数指定クロックの立ち
上がりのみの検出もしくは前記回転数指定クロックの立
ち上がり及び立ち下がりの両方の検出のうち一方を選択
するモード設定補助信号とに基づいてステッピングモー
タの駆動制御をする回路であって、前記モード設定補助
信号に基づいて、前記回転数指定クロックの立ち上がり
のみもしくは前記回転数指定クロックの立ち上がりと立
ち下がりの両方を検出し、当該検出結果と前記モード設
定信号とに基づいて前記ステッピングモータの回転数を
規定する励磁モード設定部と、前記励磁モード設定部の
制御下でステッピングモータの駆動制御をする駆動部と
を有することを特徴とするステッピングモータの駆動回
路や、前記励磁モード設定部は、前記回転数指定クロッ
クの立上がりと立ち下がりの両方を検出する際に、同じ
モードで前記回転数指定クロックの立上がりのみを検出
している場合に比して、2倍の回転数で前記ステッピン
グモータを回転させることを特徴とする本発明に係るス
テッピングモータの駆動回路や、前記励磁モード設定部
は、前記回転数指定クロックの立上がりと立ち下がりの
両方を検出する際に、前記回転数指定クロックの立上が
りのみを検出している場合に比して2倍の回転数で前記
ステッピングモータを駆動し、かつ2倍のステップを刻
む励磁モードを選択することを特徴とする本発明に係る
ステッピングモータの駆動回路により、CPUに高速ク
ロックを発生させることなくCPUの過重な負担を軽減
しつつ、高速なマイクロステップ駆動が可能になるステ
ッピングモータの駆動回路の提供を目的とするものであ
る。
The present invention has been made in view of the above-mentioned drawbacks of the prior art. As shown in FIG. 1, a mode setting signal for defining an excitation mode of a three-phase excitation stepping motor, and A rotation speed designation clock that regulates the rotation speed of the stepping motor, and a mode setting auxiliary signal that selects one of detection of only the rising edge of the rotation speed designation clock or detection of both rising and falling edges of the rotation speed designation clock. A circuit for controlling the drive of the stepping motor based on the above, based on the mode setting auxiliary signal, detects only the rising edge of the rotation speed designation clock or both the rising and falling edges of the rotation speed designation clock, An excitation motor that regulates the rotation speed of the stepping motor based on the detection result and the mode setting signal. A drive circuit for a stepping motor, which has a setting unit and a drive unit for controlling the drive of the stepping motor under the control of the excitation mode setting unit, and the excitation mode setting unit, When detecting both the rising edge and the falling edge, the stepping motor is rotated at twice the rotation speed as compared with the case where only the rising edge of the rotation speed designation clock is detected in the same mode. The stepping motor drive circuit and the excitation mode setting unit according to the present invention detect only the rising edge of the rotation speed designation clock when detecting both the rising edge and the falling edge of the rotation speed designation clock. It is characterized in that the stepping motor is driven at twice the number of rotations as compared with the case and an excitation mode in which the step is doubled is selected. By the stepping motor drive circuit according to the present invention, it is possible to provide a stepping motor drive circuit that enables high-speed micro-step drive while reducing an excessive load on the CPU without generating a high-speed clock in the CPU. To do.

【0008】[0008]

【発明の実施の形態】以下で本発明の実施形態に係るス
テッピングモータの駆動回路について説明する。この駆
動回路は、図1に示すようにタイムチャート生成部(2
1),第1,第2のPWM制御部(22A,22B),
第1,第2の電流検出部(23A,23B),Vcc用
レベルシフト回路(24A),GND用レベルシフト回
路(24B),基準電圧生成部(25),CR発振器
(26),基準クロック生成部(27)及びチャージポ
ンプ(28)からなり、不図示のCPUから出力される
各信号に基づいて3相励磁のステッピングモータ(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. As shown in FIG. 1, this drive circuit includes a time chart generator (2
1), the first and second PWM control units (22A, 22B),
First and second current detectors (23A, 23B), Vcc level shift circuit (24A), GND level shift circuit (24B), reference voltage generator (25), CR oscillator (26), reference clock generator A stepping motor (M) for three-phase excitation based on each signal output from a CPU (not shown).
This is a circuit for driving.

【0009】タイムチャート生成部(21)は励磁モー
ド設定部の一例であって、不図示のCPUから入力され
る励磁モード設定信号(ModeA ),励磁モード設定信号
(ModeB ),倍速信号(DBS ),モータ一時停止信号
(Hold),回転方向切替信号(CW/CCW),強制OFF信
号(Enable),回転数指定クロック(Clock ),システ
ムリセット信号(Reset )などの各種の信号に基づいて
励磁モードを設定し、その励磁モードに基づいた回転
数、回転方向などの情報が取り込まれた駆動クロック
(PP)を生成してPWM制御部(22A,22B)へ
出力する回路である。なお、これらの信号の詳細につい
ては後述する。
The time chart generation unit (21) is an example of an excitation mode setting unit, and an excitation mode setting signal (ModeA), an excitation mode setting signal (ModeB) and a double speed signal (DBS) input from a CPU (not shown). , Excitation mode based on various signals such as motor pause signal (Hold), rotation direction switching signal (CW / CCW), forced OFF signal (Enable), rotation speed designation clock (Clock), system reset signal (Reset) Is set, and a drive clock (PP) in which information such as the rotation speed and the rotation direction based on the excitation mode is fetched is generated and output to the PWM control units (22A, 22B). The details of these signals will be described later.

【0010】第1,第2のPWM制御部(22A,22
B),第1,第2の電流検出部(23A,23B),V
cc用レベルシフト回路(24A),GND用レベルシ
フト回路(24B),基準電圧生成部(25),CR発
振器(26),基準クロック生成部(27)及びチャー
ジポンプ(28)は駆動部の一例を構成するものであっ
て、タイムチャート生成部(21)からの駆動クロック
(PP)に基づいてモータ(M)の駆動制御をするもの
である。
First and second PWM control units (22A, 22)
B), first and second current detectors (23A, 23B), V
The cc level shift circuit (24A), the GND level shift circuit (24B), the reference voltage generation unit (25), the CR oscillator (26), the reference clock generation unit (27), and the charge pump (28) are examples of drive units. Which controls the drive of the motor (M) based on the drive clock (PP) from the time chart generator (21).

【0011】第1のPWM制御部(22A)は駆動クロ
ック(PP)をPWM(Pulse Width Modulation)変調
してスイッチングトランジスタ(F1,F2,F3)に
出力し、これらの駆動をする回路であり、第2のPWM
制御部(22B)は駆動クロック(PP)をPWM変調
してスイッチングトランジスタ(F4,F5,F6)に
出力し、これらの駆動をする回路である。
The first PWM control section (22A) is a circuit for performing PWM (Pulse Width Modulation) modulation of the drive clock (PP) and outputting it to the switching transistors (F1, F2, F3) to drive them. Second PWM
The control unit (22B) is a circuit that PWM-modulates the drive clock (PP) and outputs it to the switching transistors (F4, F5, F6) to drive them.

【0012】第1の電流検出部(23A)はスイッチン
グトランジスタ(F1,F2,F3)に流れる電流を検
出してPWM制御部(22A)に出力する回路であっ
て、第2の電流検出部(23B)はスイッチングトラン
ジスタ(F4,F5,F6)に流れる電流を検出してP
WM制御部(22B)に出力する回路である。基準電圧
生成部(25)は上記の電流検出の際に必要な正弦波状
の基準電圧を生成する回路である。
The first current detection section (23A) is a circuit for detecting the current flowing through the switching transistors (F1, F2, F3) and outputting it to the PWM control section (22A). 23B) detects the current flowing through the switching transistors (F4, F5, F6) and detects P
This is a circuit for outputting to the WM control unit (22B). The reference voltage generator (25) is a circuit that generates a sinusoidal reference voltage required for the above current detection.

【0013】Vcc用レベルシフト回路(24A)は基
準電圧生成部(25)で生成された電源電圧側の基準電
圧をレベル変換して第1の電流検出部(23A)に出力
する回路である。GND用レベルシフト回路(24B)
は基準電圧生成部(25)で生成された接地電位側の基
準電圧をレベル変換して第2の電流検出部(23B)に
出力する回路である。
The Vcc level shift circuit (24A) is a circuit for converting the level of the reference voltage on the power supply voltage side generated by the reference voltage generation section (25) and outputting it to the first current detection section (23A). Level shift circuit for GND (24B)
Is a circuit that level-converts the reference voltage on the ground potential side generated by the reference voltage generation unit (25) and outputs the level-converted reference voltage to the second current detection unit (23B).

【0014】CR発振器(26)は一定周波数のクロッ
クを生成する発振器であって、基準クロック生成部(2
7)はCR発振器(26)の生成するクロックから上記
の駆動回路全体の基準クロックを生成する回路である。
以下で上記駆動回路の動作について説明する。ここでは
励磁モードがW2−3相の際の駆動について説明する。
The CR oscillator (26) is an oscillator for generating a clock having a constant frequency, and includes a reference clock generating unit (2
7) is a circuit for generating a reference clock for the entire drive circuit from the clock generated by the CR oscillator (26).
The operation of the drive circuit will be described below. Here, driving when the excitation mode is the W2-3 phase will be described.

【0015】まず、モード設定信号の一例である励磁モ
ード設定信号(ModeA ,ModeB ),倍速信号(DBS ),
モータ一時停止信号(Hold),回転方向切替信号(CW/C
CW),強制OFF信号(Enable),回転数指定クロック
(Clock ),システムリセット信号(Reset )などの、
不図示のCPUから入力される種々の信号に基づいてタ
イムチャート生成部(21)で駆動クロック(PP)が
生成される。
First, an excitation mode setting signal (ModeA, ModeB), a double speed signal (DBS), which is an example of a mode setting signal,
Motor pause signal (Hold), rotation direction switching signal (CW / C
CW), forced OFF signal (Enable), rotation speed designation clock (Clock), system reset signal (Reset), etc.
A drive clock (PP) is generated by a time chart generation unit (21) based on various signals input from a CPU (not shown).

【0016】この駆動クロック(PP)がPWM制御部
(22A,22B)によってPWM変調され、その変調
パルスに従ってスイッチングトランジスタ(F1〜F
6)がON/OFF動作をし、図2のタイミングチャー
トに示すような相電流がステッピングモータ(M)に流
れてステッピングモータ(M)が所定の回転数、回転方
向で回転する。
This drive clock (PP) is PWM-modulated by the PWM control section (22A, 22B), and switching transistors (F1 to F) are generated according to the modulation pulse.
6) performs an ON / OFF operation, and a phase current as shown in the timing chart of FIG. 2 flows to the stepping motor (M), and the stepping motor (M) rotates at a predetermined rotation speed and rotation direction.

【0017】これらU相、V相、W相の相電流は矩形波
または擬似正弦波を描くが、これらの相電流の周期によ
ってモータの回転数が変化する。周期が半分になれば回
転数は2倍になり、周期が2倍になれば回転数は1/2
倍になる。このときスイッチングトランジスタ(F1〜
F6)に流れる電流、すなわちステッピングモータ
(M)に流れる相電流は電流検出回路(23A,23
B)によって常時検出されている。
The U-phase, V-phase, and W-phase currents draw a rectangular wave or a pseudo sine wave, and the rotation speed of the motor changes depending on the cycle of these phase currents. When the cycle is halved, the number of rotations is doubled, and when the cycle is doubled, the number of rotations is ½.
Double. At this time, switching transistors (F1 to
The current flowing through F6), that is, the phase current flowing through the stepping motor (M) is the current detection circuit (23A, 23A).
It is always detected by B).

【0018】この電流検出の際に必要な基準電圧は基準
電圧生成部(25)によって生成されており、基準電圧
生成部(25)によって生成された階段状の基準電圧が
Vcc用レベルシフト回路(24A),GND用レベル
シフト回路(24B)によってレベル変換されて電流検
出回路(23A,23B)に出力される。こうして生成
された基準電圧に基づいて検出される電流検出の結果が
電流検出回路(23A,23B)からPWM制御部(2
2A,22B)に帰還され、この検出結果に基づいてP
WM制御部(22A,22B)によるPWM変調がなさ
れ、ステッピングモータ(M)の駆動がなされることに
なる。
The reference voltage required for this current detection is generated by the reference voltage generator (25), and the stepwise reference voltage generated by the reference voltage generator (25) is the Vcc level shift circuit ( 24A), the level is converted by the GND level shift circuit (24B) and output to the current detection circuits (23A, 23B). The current detection result detected based on the reference voltage generated in this way is transferred from the current detection circuit (23A, 23B) to the PWM control unit (2).
2A, 22B) and P based on the detection result.
PWM modulation is performed by the WM control unit (22A, 22B), and the stepping motor (M) is driven.

【0019】上述のモータ一時停止信号(Hold),回転
方向切替信号(CW/CCW),強制OFF信号(Enable)な
どの信号の機能について以下で図3〜図5のタイミング
チャートを参照しながら説明する。図3には強制OFF
信号(Enable)の機能が示されている。強制OFF信号
(Enable)は通常動作時は“1”であるが、図3に示す
ように“0”に切り替わるとU,V,W相の相電流が全
て強制的に0になり、スイッチングトランジスタ(F1
〜F6)が全てOFFになってモータ(M)が強制的に
停止される。
Functions of signals such as the above-mentioned motor temporary stop signal (Hold), rotation direction switching signal (CW / CCW) and forced OFF signal (Enable) will be described below with reference to timing charts of FIGS. 3 to 5. To do. Forced OFF in Figure 3
The function of the signal (Enable) is shown. The forced OFF signal (Enable) is “1” during normal operation, but when switched to “0” as shown in FIG. 3, all the phase currents of the U, V, and W phases are forced to 0, and the switching transistor (F1
~ F6) are all turned off and the motor (M) is forcibly stopped.

【0020】図4にはモータ一時停止信号(Hold)の機
能が示されている。モータ一時停止信号(Hold)は通常
動作時には“1”であるが、これが“0”に切り替わる
と図4に示すようにU,V,W相の各相の相電流は、切
り替わった時点での電流値を一定状態で保持するので、
モータ(M)のコイルには電流が流れたままでモータ
(M)は停止状態に切り替わり、これを維持する。
FIG. 4 shows the function of the motor temporary stop signal (Hold). The motor temporary stop signal (Hold) is "1" during normal operation, but when this is switched to "0", the phase currents of the U, V, and W phases are at the time of switching as shown in FIG. Since the current value is kept constant,
The motor (M) is switched to the stopped state while the current is still flowing in the coil of the motor (M), and this is maintained.

【0021】図5には回転方向切替信号(CW/CCW)の機
能が示されている。この信号が切り替わると切り替わっ
た時点で図5に示すようにU,V,W相の相電流の位相
が全て反転して、モータ(M)の回転方向が逆転する。
従来の駆動回路ではモータの回転数はすべて回転数指定
クロック(Clock )に依存しており、従って高速な回転
数が要求される励磁モードで駆動する際には回転数指定
クロック(Clock )を高速にしなければならず、これを
発生させるCPUの負担が過重になってしまっていた
が、本実施形態に係る駆動回路では、励磁モード設定信
号(ModeA,ModeB)によってタイムチャート生成部(2
1)が2相〜2W2−3相の計4種類の励磁モードを規
定している。以下でこの点について図6〜図8のタイミ
ングチャートを参照しながら説明する。
FIG. 5 shows the function of the rotation direction switching signal (CW / CCW). When this signal is switched, the phases of the phase currents of the U, V, and W phases are all inverted at the time of switching, and the rotation direction of the motor (M) is reversed.
In the conventional drive circuit, the rotation speed of the motor depends on the rotation speed designation clock (Clock). Therefore, when driving in the excitation mode where a high rotation speed is required, the rotation speed designation clock (Clock) operates at high speed. However, in the drive circuit according to the present embodiment, the time chart generation unit (2) is generated by the excitation mode setting signals (ModeA, ModeB).
1) stipulates a total of four types of excitation modes of 2 phase to 2W2-3 phase. This point will be described below with reference to the timing charts of FIGS.

【0022】図6では励磁モード設定信号(ModeA,Mod
eB)がそれぞれ“0”,“0”となっており、この場合
の励磁モードは2相励磁になる。このときU,V,W相
の相電流は図Aに示すようにほとんど矩形波になってお
り、モータは高速回転する。図7では励磁モード設定信
号(ModeA,ModeB )がそれぞれ“0”,“1”となっ
ており、この場合の励磁モードは2−3相励磁になる。
このときU,V,W相の相電流は図Bに示すように階段
状の波形になっており、その周期は図6の2相の場合に
比して2倍になっているので、回転数は2相の1/2倍
になる。
In FIG. 6, the excitation mode setting signals (ModeA, Mod
eB) are "0" and "0", respectively, and the excitation mode in this case is two-phase excitation. At this time, the phase currents of the U, V, and W phases are almost rectangular waves as shown in FIG. A, and the motor rotates at high speed. In FIG. 7, the excitation mode setting signals (ModeA, ModeB) are "0" and "1", respectively, and the excitation mode in this case is 2-3 phase excitation.
At this time, the phase currents of the U, V, and W phases have a stepwise waveform as shown in FIG. B, and the cycle thereof is twice that in the case of the two phases in FIG. The number is 1/2 times that of the two phases.

【0023】同様にして上述の図2では励磁モード設定
信号(ModeA,ModeB )がそれぞれ“1”,“0”で励
磁モードはW2−3相励磁になり、図8では励磁モード
設定信号(ModeA,ModeB )がそれぞれ“1”,“1”
で励磁モードは2W2−3相励磁になる。U,V,W各
相の相電流の周期はW2−3相で2−3相の2倍、2W
2−3相で2−3相の4倍となっており、相電流の波形
は徐々に正弦波形に近づいていることがわかる。回転数
も相が進むにつれて1/2倍づつ遅くなり、2W2−3
相では2相の1/8倍にまで低下する。
Similarly, in FIG. 2 described above, when the excitation mode setting signals (ModeA, ModeB) are "1" and "0", respectively, the excitation mode is W2-3 phase excitation. In FIG. 8, the excitation mode setting signal (ModeA) is set. , ModeB) are "1" and "1" respectively
Then, the excitation mode becomes 2W2-3 phase excitation. The cycle of the phase current of each phase of U, V, W is W2-3 phase, which is twice that of 2-3 phase, and is 2W.
It can be seen that the 2-3 phase is four times as large as the 2-3 phase, and the waveform of the phase current gradually approaches the sine waveform. The number of revolutions also slows down by 1/2 as the phase progresses, and becomes 2W2-3.
In the phase, it is reduced to ⅛ times of the two phases.

【0024】以上のように本実施形態に係る駆動回路に
よれば、励磁モード設定信号(ModeA,ModeB)で励磁モ
ードを設定することができ、高速な励磁モードに切り替
えるごとに回転数指定クロック(Clock )の周波数を高
くしなくともよいので、高速動作時に高速な回転数指定
クロック(CK)を必要としていた従来に比して、CP
Uの負担を軽減することが可能になる。
As described above, according to the drive circuit of this embodiment, the excitation mode can be set by the excitation mode setting signals (ModeA, ModeB), and the rotation speed designation clock ( Clock) does not have to have a high frequency, so compared to the conventional system that requires a high-speed rotation speed designation clock (CK) during high-speed operation, CP
It is possible to reduce the burden on U.

【0025】なお、本実施形態の駆動回路では、励磁モ
ード設定信号(ModeA,ModeB)を切り替えてさまざまな
回転数に対応する励磁モードを選択するのみならず、倍
速信号(DBS )を切り替えることにより、同じ励磁モー
ドでも倍速の駆動をすることが可能になる。以下でこの
点について説明する。図9には倍速信号(DBS )の切替
の際の動作が示されている。これが通常動作時の“1”
から“0”に切り替わると、“1”であったときに立ち
上がりだけ検出されていた回転数指定クロック(Clock
)の立上がりのみならず立ち下がりも検出され、検出
される時点が2倍になるので、同じ時間間隔で刻むマイ
クロステップの数も2倍になり、同じ励磁モードでも回
転数を2倍にすることが可能になる。
In the drive circuit of this embodiment, not only the excitation mode setting signals (ModeA, ModeB) are switched to select the excitation mode corresponding to various rotation speeds, but also the double speed signal (DBS) is switched. , It is possible to drive at double speed even in the same excitation mode. This point will be described below. FIG. 9 shows the operation at the time of switching the double speed signal (DBS). This is "1" in normal operation
When switching from "0" to "0", only the rising edge was detected when it was "1".
) Not only the rising edge but also the falling edge is detected, and the time of detection is doubled, so the number of microsteps carved at the same time interval is also doubled, and the rotation speed is doubled even in the same excitation mode. Will be possible.

【0026】図9ではW2−3相での駆動が示されてい
るが、途中で倍速信号(DBS )が“1”から“0”に切
り替わり、この切り替わった時点でU,V,W相の相電
流の周期が半減し、このときの回転数は2倍になってい
る。勿論この倍速動作時にも回転数指定クロック(Cloc
k )の周波数は変わらないので、CPUの負担もない。
Although driving in the W2-3 phase is shown in FIG. 9, the double speed signal (DBS) is switched from "1" to "0" on the way and the U, V, W phases are switched at this switching time. The cycle of the phase current is halved, and the rotation speed at this time is doubled. Of course, the rotation speed designation clock (Cloc
Since the frequency of k) does not change, there is no burden on the CPU.

【0027】以上のようにして、本実施形態に係るステ
ッピングモータの駆動回路によれば、タイムチャート生
成部(21)に入力される励磁モード設定信号(Mode
A,ModeB)を切り替えることで2相〜2W2−3相の計
4種類の励磁モードを選択でき、かつ倍速信号(DBS )
を切り替えることで同じ励磁モードでも倍速の回転数を
得ることが可能になる。簡単のために下記の表1に励磁
モード設定信号(ModeA,ModeB),倍速信号(DBS ),
励磁モードとモータの回転数の関係を示しておく。なお
表1においてNoは2W2−3相の通常時の回転数を示
している。
As described above, according to the stepping motor drive circuit of this embodiment, the excitation mode setting signal (Mode) input to the time chart generation unit (21) is input.
A, ModeB) can be switched to select a total of four excitation modes from 2 phase to 2W2-3 phase, and double speed signal (DBS)
By switching, it becomes possible to obtain a double speed rotation speed even in the same excitation mode. For simplicity, Table 1 below shows excitation mode setting signals (ModeA, ModeB), double speed signal (DBS),
The relationship between the excitation mode and the rotation speed of the motor is shown below. In Table 1, No indicates the normal rotation speed of the 2W2-3 phase.

【0028】[0028]

【表1】 [Table 1]

【0029】この表1に示すように、回転数指定クロッ
ク(Clock )の周波数を変えなくとも2相〜2W2−3
相の計4種類の励磁モードに対応でき、倍速時の動作を
含めると最高速の駆動となる2相での倍速駆動(倍速信
号(DBS )が“0”)時には最低速の駆動である2W2
−3相での通常の駆動(倍速信号(DBS )が“1”)時
の16倍の回転数で駆動することが可能になる。
As shown in Table 1, even if the frequency of the rotation number designating clock (Clock) is not changed, two phases to 2W2-3.
2W2 which is the lowest speed drive when double speed drive in 2 phases (double speed signal (DBS) is "0") that can support a total of 4 types of excitation modes and is the highest speed drive including double speed operation.
It becomes possible to drive at 16 times the number of rotations during the normal driving in the -3 phase (double speed signal (DBS) is "1").

【0030】従来このような駆動をする際には16倍の
周波数の回転数指定クロックが必要であって、CPUの
負担が過重になり、実際にはとてもこのような高速動作
は不可能であったが、本実施形態に係る駆動回路によれ
ば高速な回転数指定クロック(Clock )を必要としない
ので、CPUの負担を過重にすることなく高速駆動をす
ることが可能となる。
Conventionally, when such driving is performed, a rotation frequency designating clock having a frequency of 16 times is required, which causes an excessive load on the CPU, and in reality, such a high speed operation is impossible. However, the drive circuit according to the present embodiment does not require a high-speed rotation number designation clock (Clock), and thus high-speed drive can be performed without imposing a heavy burden on the CPU.

【0031】なお、本実施形態に係るステッピングモー
タの駆動回路によれば、同じ励磁モードで倍速にするた
めの信号として倍速信号(DBS )を用いているが、本発
明はこれに限らず、例えば1つ上の励磁モードに切り替
えて回転数は変えないような用途に用いることも可能で
ある。実際の駆動において振動低減などの目的で、例え
ばW2−3相から2W2−3相に移行するというよう
に、刻むステップ数が2倍になり、なめらかな駆動が実
現できる1つ上の励磁モードに切替え、しかも回転数は
変えないように駆動する場合がある。
Although the stepping motor drive circuit according to the present embodiment uses the double speed signal (DBS) as a signal for increasing the speed in the same excitation mode, the present invention is not limited to this and, for example, It is also possible to use it for the purpose of switching to the excitation mode one level higher and not changing the rotation speed. For the purpose of reducing vibration in actual driving, the number of steps to be engraved is doubled, for example, transition from W2-3 phase to 2W2-3 phase. In some cases, the driving is performed without changing the rotation speed and changing the rotation speed.

【0032】上記の表1に示すように、2W2−3相に
おいて倍速信号(DBS )が“0”の際の回転数とW2−
3相において倍速信号が“1”の際のモータの回転数は
いずれも2Noと同じである。従って、励磁モード設定
信号(ModeA,ModeB)をそれぞれ“1”,“0”にし、
倍速信号(DBS )を“1”にしてW2−3相で駆動した
のちに、励磁モード設定信号(ModeA,ModeB)をそれぞ
れ“1”,“1”に切り替えてかつ倍速信号(DBS )を
“0”に切り替えれば、回転数は2Noのままで変わら
ずに、2W2−3相に切り替えることができるので、振
動が少なく、なめらかな駆動を実現することが可能とな
る。
As shown in Table 1 above, the rotational speed and W2- when the double speed signal (DBS) is "0" in the 2W2-3 phase.
In the three phases, the number of rotations of the motor when the double speed signal is "1" is the same as 2No. Therefore, set the excitation mode setting signals (ModeA, ModeB) to "1" and "0", respectively.
After the double speed signal (DBS) is set to "1" and driven in the W2-3 phase, the excitation mode setting signals (ModeA, ModeB) are switched to "1" and "1" respectively, and the double speed signal (DBS) is set to "1". If it is switched to 0 ", the rotation speed can be switched to 2W2-3 phase without changing and remains 2No, so that it is possible to realize smooth driving with less vibration.

【0033】このようにして本実施形態の駆動回路によ
れば、励磁モード設定信号(ModeA,ModeB)と倍速信号
(DBS )を適宜選択することによって、回転数を変えず
に励磁モードを切り替えることで低振動なモータの回転
駆動をすることが可能になる。
As described above, according to the drive circuit of the present embodiment, the excitation mode can be switched without changing the rotation speed by appropriately selecting the excitation mode setting signals (ModeA, ModeB) and the double speed signal (DBS). Thus, it becomes possible to drive a motor with low vibration.

【0034】[0034]

【発明の効果】以上説明したように本発明の3相励磁の
ステッピングモータの駆動回路によれば、回転数指定ク
ロックの立ち上がりのみを検出していたために高速回転
が必要な場合には高速な回転数指定クロックが要求され
ていた従来と異なり、モード設定補助信号の検出結果と
モード設定信号とに基づいて励磁モード設定部がステッ
ピングモータの回転数を規定しているので、高速回転す
る励磁モードを選択する際にも高速な回転数指定クロッ
クを必要としない。
As described above, according to the driving circuit of the stepping motor for three-phase excitation of the present invention, only the rising edge of the rotation speed designation clock is detected, so that high speed rotation is required when high speed rotation is required. Unlike the conventional method in which a number designation clock was required, the excitation mode setting unit regulates the rotation speed of the stepping motor based on the detection result of the mode setting auxiliary signal and the mode setting signal. A high-speed rotation speed designation clock is not required when selecting.

【0035】従って、高速な回転数指定クロックを生成
することで過重な負担がかかっていたCPUの負担を軽
減することが可能となる。なお、本発明において、励磁
モード設定部が回転数指定クロックの立上がりと立ち下
がりの両方を検出する際に、同じモードで回転数指定ク
ロックの立上がりのみを検出している場合に比して、2
倍の回転数でステッピングモータを回転させている。
Therefore, it becomes possible to reduce the burden on the CPU, which has been overloaded by generating the high-speed rotation number designating clock. In the present invention, when the excitation mode setting unit detects both the rising edge and the falling edge of the rotation speed designating clock, the excitation mode setting unit detects only the rising edge of the rotation speed designating clock in the same mode.
The stepping motor is rotated at twice the number of rotations.

【0036】このため、従来のように回転数指定クロッ
クを2倍にして倍速の駆動をしなくとも、回転数指定ク
ロックの立ち上がりと立ち下がりとを検出することで倍
速の駆動が果たせるので、高速な回転数指定クロックを
生成することで過重な負担がかかっていたCPUの負担
を軽減することが可能となる。また、本発明において励
磁モード設定部は、回転数指定クロックの立上がりと立
ち下がりの両方を検出する際に、回転数指定クロックの
立上がりのみを検出している場合に比して2倍の回転数
でステッピングモータを駆動し、かつ2倍のステップを
刻む励磁モードを選択している。
Therefore, the double speed drive can be achieved by detecting the rising edge and the falling edge of the rotation speed designating clock even if the double speed drive is not performed by doubling the rotation speed designating clock as in the prior art. It is possible to reduce the burden on the CPU, which has been overloaded by generating a different rotation speed designation clock. Further, in the present invention, the excitation mode setting unit detects the rising and falling edges of the rotation speed designating clock and doubles the rotation speed as compared with the case where only the rising edge of the rotation speed designating clock is detected. The stepping motor is driven by and the excitation mode in which the step is doubled is selected.

【0037】従って、励磁モード設定信号と倍速信号を
適宜選択することによって、回転数を変えずに励磁モー
ドを切り替えることで低振動なモータの回転駆動をする
ことが可能になる。
Therefore, by appropriately selecting the excitation mode setting signal and the double speed signal, it becomes possible to rotate the motor with low vibration by switching the excitation mode without changing the rotation speed.

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

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

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

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

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

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

【図6】本発明の実施形態に係るステッピングモーター
の駆動回路の作用効果を説明する第1のタイミングチャ
ートである。
FIG. 6 is a first timing chart illustrating an operation effect of the stepping motor drive circuit according to the embodiment of the present invention.

【図7】本発明の実施形態に係るステッピングモーター
の駆動回路の作用効果を説明する第2のタイミングチャ
ートである。
FIG. 7 is a second timing chart illustrating the operation and effect of the stepping motor drive circuit according to the embodiment of the present invention.

【図8】本発明の実施形態に係るステッピングモーター
の駆動回路の作用効果を説明する第3のタイミングチャ
ートである。
FIG. 8 is a third timing chart illustrating the operation and effect of the stepping motor drive circuit according to the embodiment of the present invention.

【図9】本発明の実施形態に係るステッピングモーター
の駆動回路の作用効果を説明する第4のタイミングチャ
ートである。
FIG. 9 is a fourth timing chart illustrating the operation and effect of the stepping motor drive circuit according to the embodiment of the present invention.

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

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

(21) タイムチャート生成部(励磁モ
ード設定部) (22A) 第1のPWM制御部 (22B) 第2のPWM制御部 (23A) 第1の電流検出部 (23B) 第2の電流検出部 (24A) Vcc用レベルシフト回路 (24B) GND用レベルシフト回路 (25) 基準電圧生成部 (26) CR発振器 (27) 基準クロック生成部 (28) チャージポンプ (M) ステッピングモーター (ModeA,ModeB ) モード設定信号 (DBS ) 倍速信号(モード設定補助信
号) (Hold) モータ一時停止信号 (CW/CCW) 回転方向切替信号 (Enable) 強制OFF信号 (Clock ) 回転数指定クロック (Reset ) システムリセット信号
(21) Time chart generation unit (excitation mode setting unit) (22A) First PWM control unit (22B) Second PWM control unit (23A) First current detection unit (23B) Second current detection unit ( 24A) Vcc level shift circuit (24B) GND level shift circuit (25) Reference voltage generation unit (26) CR oscillator (27) Reference clock generation unit (28) Charge pump (M) Stepping motor (ModeA, ModeB) mode Setting signal (DBS) Double speed signal (Mode setting auxiliary signal) (Hold) Motor temporary stop signal (CW / CCW) Rotation direction switching signal (Enable) Forced OFF signal (Clock) Rotation speed designation clock (Reset) System reset signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 3相励磁のステッピングモータの励磁モ
ードを規定するモード設定信号と、前記ステッピングモ
ータの回転数を規定する回転数指定クロックと、前記回
転数指定クロックの立ち上がりのみの検出もしくは前記
回転数指定クロックの立ち上がり及び立ち下がりの両方
の検出のうち一方を選択するモード設定補助信号とに基
づいてステッピングモータの駆動制御をする回路であっ
て、 前記モード設定補助信号に基づいて、前記回転数指定ク
ロックの立ち上がりのみもしくは前記回転数指定クロッ
クの立ち上がりと立ち下がりの両方を検出し、当該検出
結果と前記モード設定信号とに基づいて前記ステッピン
グモータの回転数を規定する励磁モード設定部と、 前記励磁モード設定部の制御下でステッピングモータの
駆動制御をする駆動部とを有することを特徴とするステ
ッピングモータの駆動回路。
1. A mode setting signal that defines an excitation mode of a three-phase excitation stepping motor, a rotation speed designation clock that defines the rotation speed of the stepping motor, and detection or rising of only the rising edge of the rotation speed designation clock. A circuit for controlling driving of a stepping motor based on a mode setting auxiliary signal that selects one of detection of rising and falling of the number designation clock, and the rotation speed based on the mode setting auxiliary signal. An excitation mode setting unit that detects only the rising edge of the specified clock or both the rising edge and the falling edge of the rotation speed specified clock, and defines the rotation speed of the stepping motor based on the detection result and the mode setting signal, Drive control of the stepping motor under the control of the excitation mode setting section Driving circuit of a stepping motor and having a part.
【請求項2】 前記励磁モード設定部は、前記回転数指
定クロックの立上がりと立ち下がりの両方を検出する際
に、同じモードで前記回転数指定クロックの立上がりの
みを検出している場合に比して、2倍の回転数で前記ス
テッピングモータを回転させることを特徴とする請求項
1記載のステッピングモータの駆動回路。
2. The excitation mode setting unit, when detecting both the rising and falling edges of the rotation speed designation clock, is more than the case where only the rising edge of the rotation speed designation clock is detected in the same mode. The stepping motor drive circuit according to claim 1, wherein the stepping motor is rotated at twice the number of rotations.
【請求項3】 前記励磁モード設定部は、前記回転数指
定クロックの立上がりと立ち下がりの両方を検出する際
に、前記回転数指定クロックの立上がりのみを検出して
いる場合に比して2倍の回転数で前記ステッピングモー
タを駆動し、かつ2倍のステップを刻む励磁モードを選
択することを特徴とする請求項1記載のステッピングモ
ータの駆動回路。
3. The excitation mode setting section, when detecting both the rising edge and the falling edge of the rotation speed designating clock, is twice as much as the case where only the rising edge of the rotation speed designating clock is detected. 2. The stepping motor drive circuit according to claim 1, wherein the stepping motor is driven at a rotational speed of 1, and an excitation mode in which the step is doubled is selected.
JP25387895A 1995-09-29 1995-09-29 Stepping motor drive circuit Expired - Fee Related JP3148601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25387895A JP3148601B2 (en) 1995-09-29 1995-09-29 Stepping motor drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25387895A JP3148601B2 (en) 1995-09-29 1995-09-29 Stepping motor drive circuit

Publications (2)

Publication Number Publication Date
JPH0998598A true JPH0998598A (en) 1997-04-08
JP3148601B2 JP3148601B2 (en) 2001-03-19

Family

ID=17257391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25387895A Expired - Fee Related JP3148601B2 (en) 1995-09-29 1995-09-29 Stepping motor drive circuit

Country Status (1)

Country Link
JP (1) JP3148601B2 (en)

Also Published As

Publication number Publication date
JP3148601B2 (en) 2001-03-19

Similar Documents

Publication Publication Date Title
JP4959460B2 (en) Motor starting device and motor starting method
KR100755532B1 (en) Method and apparatus for driving a polyphase, brushless dc motor
JP4288851B2 (en) Motor drive device
JPH09163789A (en) Morse start circuit and control method therefor
JP2004015980A (en) Parallel-driving circuit for dc brushless motor
JP3459808B2 (en) Motor driving circuit and driving method thereof
JP3796177B2 (en) Motor PWM drive circuit
JP3148601B2 (en) Stepping motor drive circuit
JP4066228B2 (en) Synchronous operation device
JPH08182391A (en) Driving circuit for stepping motor
JP3223216B2 (en) Driving method of stepping motor
JP3079617B2 (en) Commutatorless DC motor
JP4147382B2 (en) DC brushless motor parallel drive circuit
JP2851557B2 (en) Stepping motor drive controller
JP6425305B2 (en) Driving device for stepping motor and driving method of stepping motor
JP3459530B2 (en) Stepping motor drive circuit
JP3223110B2 (en) Stepping motor drive circuit
JP2001339983A (en) Brushless dc motor drive unit
JP3481751B2 (en) Drive device for DC motor
JP4024453B2 (en) Method and apparatus for controlling stepping motor
JPH04173000A (en) Driving circuit for stepping motor
JP3124397B2 (en) How to start a sensorless multi-phase DC motor
JPH08331896A (en) Floppy disc unit
JPS62221898A (en) Stepping-motor driving apparatus
JPH11275896A (en) Driving of five-phase stepping motor

Legal Events

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

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110112

Year of fee payment: 10

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20110112

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees