JP2001231298A - Equipment and method for controlling stepping motor - Google Patents

Equipment and method for controlling stepping motor

Info

Publication number
JP2001231298A
JP2001231298A JP2000033506A JP2000033506A JP2001231298A JP 2001231298 A JP2001231298 A JP 2001231298A JP 2000033506 A JP2000033506 A JP 2000033506A JP 2000033506 A JP2000033506 A JP 2000033506A JP 2001231298 A JP2001231298 A JP 2001231298A
Authority
JP
Japan
Prior art keywords
phase
phase excitation
drive signal
motor
stepping motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000033506A
Other languages
Japanese (ja)
Inventor
Hidetoshi Sumi
秀敏 隅
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2000033506A priority Critical patent/JP2001231298A/en
Publication of JP2001231298A publication Critical patent/JP2001231298A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To adjust the rotating speed of a rotor without changing a pulse rate of a motor driving signal in a controller of a stepping motor. SOLUTION: In order to control the stepping motor to a low speed rotation with the pulse rate of the motor driving signal outputted from a CPU (control section) kept constant, a motor driving signal based on a 1-2 phase excitation method is outputted and then the rotor is driven at a low speed of 8 steps for one rotation by a 1-2 phase excitation signal synchronously generated by a motor driver. In order to control the stepping motor to a high speed rotation, a motor driving signal based on a two-phase excitation method switched from the 1-2 phase excitation method is outputted and then the rotor is driven at a high speed of 4 steps for one rotation by a two-phase excitation signal synchronously generated by the motor driver. As a result, the rotating speed of the rotor can be accelerated to a higher speed or decelerated to a lower speed at a speed ratio of two without changing the pulse rate of the motor driving signal by means of the CPU.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ステッピングモー
タの制御装置及び制御方法に関する。
The present invention relates to a control device and a control method for a stepping motor.

【0002】[0002]

【従来の技術】一般に、ステッピングモータは、回転検
出や回転位置の検出をしなくても回転数や位置を精密に
制御することのできるモータとして、FDD,HDD,
カメラなどの情報機器、コピー,ワープロなどの事務機
器をはじめ、様々な装置,機器の位置決め制御用のアク
チュエータとして広く使用されている。
2. Description of the Related Art Generally, a stepping motor is an FDD, HDD, HDD, or the like that can precisely control the number of rotations and the position without detecting the rotation or the rotation position.
It is widely used as an actuator for positioning control of various devices and devices, including information devices such as cameras, office devices such as copiers and word processors.

【0003】そして、このようなステッピングモータの
代表的な回転制御方式としては、1相励磁方式、2相励
磁方式、1−2相励磁方式があげられる。
A typical rotation control system of such a stepping motor includes a one-phase excitation system, a two-phase excitation system, and a 1-2-phase excitation system.

【0004】1相励磁方式は、永久磁石からなるロータ
の周囲に等間隔に配列した複数のモータコイルを、その
1相毎に順番に励磁駆動することにより、ロータの極が
励磁相のところに順番に引き寄せられて段階的に回転し
ていくもので、この場合その回転ステップ数はモータコ
イルの数と同じとなり、例えば4相型ステッピングモー
タの場合には、ロータは90度ずつ回転し4ステップで
1回転となる。
[0004] In the one-phase excitation system, a plurality of motor coils arranged at equal intervals around a rotor made of permanent magnets are sequentially driven for excitation in each phase, so that the rotor pole is located at the excitation phase. It is drawn in order and rotates stepwise. In this case, the number of rotation steps is the same as the number of motor coils. For example, in the case of a four-phase stepping motor, the rotor rotates by 90 degrees in four steps. Makes one rotation.

【0005】図6は4相型ステッピングモータに対する
1−2相励磁信号を示すタイミングチャートである。
FIG. 6 is a timing chart showing a 1-2-phase excitation signal for a 4-phase stepping motor.

【0006】図7は4相型ステッピングモータを1−2
相励磁方式で回転制御した場合の各励磁タイミングでの
ロータ回転状態を示す図である。
FIG. 7 shows a four-phase stepping motor having a 1-2 position.
FIG. 4 is a diagram illustrating a rotor rotation state at each excitation timing when rotation control is performed by a phase excitation method.

【0007】すなわち、図6における励磁番号0〜7
と、図7(a)〜(h)とを対応付けて示すように、A
相の1相励磁→A相B相の2相励磁→B相の1相励磁→
B相A−相の2相励磁→A−相の1相励磁→…と、順次
隣接するモータコイルに対し1相励磁と2相励磁を繰り
返すことで、ロータの極が各励磁相の位置と次の励磁相
の中間位置とに順番に引き寄せられて段階的に回転して
いくもので、この場合の回転ステップ数はモータコイル
の数の2倍となり、ロータは45度ずつ回転し8ステッ
プで1回転となる。
That is, excitation numbers 0 to 7 in FIG.
As shown in FIG. 7A and FIG.
1 phase excitation → 2 phase excitation of A phase B phase → 1 phase excitation of B phase →
By sequentially repeating the one-phase excitation and the two-phase excitation for the adjacent motor coils in the order of B-phase A-phase two-phase excitation → A-phase one-phase excitation →, the rotor poles become the positions of the respective excitation phases. It is sequentially drawn toward the intermediate position of the next excitation phase and rotates stepwise. In this case, the number of rotation steps is twice the number of motor coils, and the rotor rotates by 45 degrees in eight steps. One rotation.

【0008】図8は4相型ステッピングモータに対する
2相励磁信号を示すタイミングチャートである。
FIG. 8 is a timing chart showing a two-phase excitation signal for a four-phase stepping motor.

【0009】この2相励磁方式では、図8における励磁
番号(2相表記)0,1,2,3と、図7(b)(d)
(f)(h)とを対応付けて示すように、A相B相の2
相励磁→B相A−相の2相励磁→A−相B−相の2相励
磁→A相B−相の2相励磁…と、順次隣接する2相ずつ
のモータコイルを順番に励磁駆動することにより、ロー
タの極が各励磁相の中間に順番に引き寄せられて段階的
に回転していくもので、この場合の回転ステップ数はモ
ータコイルの数と同じとなり、ロータは90度ずつ回転
し4ステップで1回転となる。
In this two-phase excitation system, the excitation numbers (two-phase notation) 0, 1, 2, and 3 in FIG.
(F) As shown in correspondence with (h), 2 of phase A and phase B
Excitation drive of adjacent two-phase motor coils in order, such as phase excitation → B-phase A-phase two-phase excitation → A-phase B-phase two-phase excitation → A-phase B-phase two-phase excitation ... By doing so, the poles of the rotor are sequentially drawn toward the middle of each excitation phase and rotate stepwise. In this case, the number of rotation steps is the same as the number of motor coils, and the rotor rotates by 90 degrees. Then, one rotation is performed in four steps.

【0010】すなわち、前記1−2相励磁方式と2相励
磁方式とでは、その2相励磁を行っているタイミングで
はロータの回転位置は同一となり、1−2相励磁方式の
励磁ポジション1,3,5,7と2相励磁方式の励磁ポ
ジション0,1,2,3とは同じになる。
That is, in the 1-2-phase excitation method and the 2-phase excitation method, the rotational position of the rotor becomes the same at the timing when the 2-phase excitation is performed, and the excitation positions 1, 3 of the 1-2-phase excitation method are used. , 5, 7 and the excitation positions 0, 1, 2, 3 of the two-phase excitation method are the same.

【0011】そして、前記ステッピングモータに対する
各励磁信号それぞれの励磁切替周期は、モータ制御用C
PUからのモータ駆動信号によるパルスレートに依存す
ることになり、このパルススレートが短ければ励磁の切
り替えが早く行われてロータは速く回転し、長ければ遅
く回転する。
The excitation switching cycle of each excitation signal for the stepping motor is determined by the motor control C
The pulse rate depends on the pulse rate of the motor drive signal from the PU. If the pulse rate is short, the excitation is switched quickly and the rotor rotates fast, and if the pulse rate is long, the rotor rotates slowly.

【0012】したがって、従来のステッピングモータの
制御装置では、前記1相励磁方式、2相励磁方式、1−
2相励磁方式の何れにあっても、モータ駆動信号のパル
スレートを短くしたり長くしたりして変化させること
で、ロータの回転速度を高速あるいは低速に調整してい
た。
Therefore, in the conventional stepping motor control device, the one-phase excitation method, the two-phase excitation method,
In any of the two-phase excitation systems, the rotation speed of the rotor is adjusted to a high or low speed by changing the pulse rate of the motor drive signal by shortening or increasing it.

【0013】[0013]

【発明が解決しようとする課題】例えば前記1−2相励
磁方式のモータ回転制御では、8個の励磁ポジションを
経てロータは1回転し、また、2相励磁方式や1相励磁
方式のモータ回転制御では、4個の励磁ポジションを経
てロータは1回転するため、1−2相励磁方式により回
転制御を行っている場合において、2相励磁方式による
場合と同じロータの回転速度を得るには、前記CPUか
ら出力されるモータ駆動信号のパルスレートを2倍に設
定しなければならない。
For example, in the above-described motor rotation control of the 1-2-phase excitation system, the rotor makes one rotation through eight excitation positions, and the motor rotation of the two-phase excitation system or the one-phase excitation system. In the control, the rotor makes one rotation through four excitation positions. Therefore, in the case where the rotation control is performed by the 1-2 phase excitation method, to obtain the same rotation speed of the rotor as in the two phase excitation method, The pulse rate of the motor drive signal output from the CPU must be set to twice.

【0014】よって、このような場合、モータ制御用C
PUの処理速度が高速なもの、つまり、高性能なCPU
が必要になる問題がある。
Therefore, in such a case, the motor control C
High PU processing speed, high performance CPU
There is a problem that needs to be.

【0015】本発明は前記のような問題に鑑みなされた
もので、モータ駆動信号のパルスレートを変更すること
なく、ロータの回転速度を調整することが可能になるス
テッピングモータの制御装置及び制御方法を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has a stepping motor control apparatus and a control method capable of adjusting the rotation speed of a rotor without changing the pulse rate of a motor drive signal. The purpose is to provide.

【0016】[0016]

【課題を解決するための手段】すなわち、本発明の請求
項1に係るステッピングモータの制御装置は、ステッピ
ングモータの駆動信号を出力するモータ駆動信号出力手
段と、このモータ駆動信号出力手段により出力するモー
タ駆動信号を1−2相励磁方式に基づくモータ駆動信号
と2相励磁方式に基づくモータ駆動信号とで切り替える
駆動信号切り替え手段とを備えたことを特徴とする。
That is, a stepping motor control device according to a first aspect of the present invention outputs a motor driving signal output means for outputting a driving signal for the stepping motor, and outputs the signal by the motor driving signal output means. A drive signal switching means for switching a motor drive signal between a motor drive signal based on a 1-2-phase excitation method and a motor drive signal based on a two-phase excitation method is provided.

【0017】このような請求項1に係るステッピングモ
ータの制御装置では、ステッピングモータは、1ステッ
プでその隣接する励磁相間隔の2分の1ピッチずつ回転
する1−2相励磁方式と、1ステップでその励磁相間隔
ずつ回転する2相励磁方式とで、切り替えられて駆動さ
れるので、1−2相励磁駆動の場合は低速で、2相励磁
駆動の場合は高速で回転制御されることになる。
In the control apparatus for a stepping motor according to the first aspect of the present invention, the stepping motor includes a 1-2-phase excitation method in which the pitch is rotated by a half pitch of an adjacent excitation phase in one step; In the two-phase excitation method, the rotation is controlled by the two-phase excitation method, and the rotation is controlled at a low speed in the case of the 1-2-phase excitation drive, and at a high speed in the case of the two-phase excitation drive. Become.

【0018】また、本発明の請求項2に係るステッピン
グモータの制御装置は、前記請求項1に係るステッピン
グモータの制御装置にあって、前記駆動信号切り替え手
段により切り替えられる1−2相励磁方式に基づくモー
タ駆動信号と2相励磁方式に基づくモータ駆動信号と
は、その信号パルスレートを一定のままにして切り替え
ることを特徴とする。
According to a second aspect of the present invention, there is provided a stepping motor control apparatus according to the first aspect, wherein the stepping motor is controlled by the drive signal switching means. A motor drive signal based on the two-phase excitation method and a motor drive signal based on the two-phase excitation method are switched while keeping their signal pulse rates constant.

【0019】このような請求項2に係るステッピングモ
ータの制御装置では、モータ駆動信号のパルスレートは
一定に保持されて1−2相励磁方式と2相励磁方式との
切り替えが成されるので、パルスレートに関係なく励磁
方式の切り替えのみにより回転速度の切り替え制御が行
えることになる。
In the control device for a stepping motor according to the second aspect, the pulse rate of the motor drive signal is kept constant and the switching between the 1-2-phase excitation method and the 2-phase excitation method is performed. The switching control of the rotation speed can be performed only by switching the excitation method regardless of the pulse rate.

【0020】さらに、本発明の請求項3に係るステッピ
ングモータの制御装置は、前記請求項1又は請求項2に
係るステッピングモータの制御装置にあって、前記駆動
信号切り替え手段による1−2相励磁方式に基づくモー
タ駆動信号と2相励磁方式に基づくモータ駆動信号との
切り替えは、各駆動信号の中で2相励磁を行うタイミン
グに合わせて切り替えることを特徴とする。
Further, a control device for a stepping motor according to a third aspect of the present invention is the control device for a stepping motor according to the first or second aspect, wherein the drive signal switching means comprises a 1-2 phase excitation. The switching between the motor drive signal based on the two-phase excitation method and the motor drive signal based on the two-phase excitation method is characterized in that switching is performed in accordance with the timing of performing two-phase excitation in each drive signal.

【0021】このような請求項3に係るステッピングモ
ータの制御装置では、1−2相励磁方式と2相励磁方式
との切り替えは、各駆動信号シーケンスの中で共通の励
磁駆動ポジションとなる2相励磁を行うタイミングに合
わせて成されるので、低速回転駆動と高速回転駆動間の
切り替え制御がスムーズに行えることになる。
In the control apparatus for a stepping motor according to the third aspect, the switching between the 1-2-phase excitation mode and the 2-phase excitation mode is performed by setting the two-phase excitation mode to a common excitation drive position in each drive signal sequence. Since the excitation is performed at the timing of the excitation, the switching control between the low-speed rotation drive and the high-speed rotation drive can be smoothly performed.

【0022】[0022]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0023】図1は、本発明の実施形態に係るステッピ
ングモータ制御装置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a stepping motor control device according to an embodiment of the present invention.

【0024】同図において、10はステッピングモータ
(M)であり、このステッピングモータ10は、本実施
形態では、例えばA+相とA−相のモータコイルを対極
に配し、その直交方向にB+相とB−相のモータコイル
を対極に配した4相モータである。
In FIG. 1, reference numeral 10 denotes a stepping motor (M). In the present embodiment, the stepping motor 10 has, for example, A + phase and A-phase motor coils disposed at opposite poles, and a B + phase in the orthogonal direction. And a B-phase motor coil at the opposite pole.

【0025】このステッピングモータ10は、ドライバ
IC11から必要に応じて切り替えられて供給される1
−2相励磁信号と2相励磁信号により回転制御されるも
ので、A+相とA−相の励磁信号はモータドライバ12
aにより生成されて供給され、B+相とB−相の励磁信
号はモータドライバ12bにより生成されて供給され
る。
The stepping motor 10 is switched and supplied from the driver IC 11 as necessary.
The rotation is controlled by the -2 phase excitation signal and the 2-phase excitation signal, and the A + phase and A- phase excitation signals are
a is generated and supplied, and the B + phase and B− phase excitation signals are generated and supplied by the motor driver 12b.

【0026】このドライバIC11の各モータドライバ
12a,12bにより生成されるA+相,A−相励磁信
号と、B+相,B−相励磁信号は、CPU(制御部)1
3から出力されるA相駆動信号13aとB相駆動信号1
3bのパルスレートに同期して生成されるもので、CP
U13から出力されるA相,B相駆動信号13a,13
bの信号波形変化と、モータドライバ12a,12bか
ら出力されるA相,B相励磁信号の信号波形変化とは同
じになる。
The A + phase and A− phase excitation signals and the B + phase and B− phase excitation signals generated by the motor drivers 12 a and 12 b of the driver IC 11 are transmitted to the CPU (control unit) 1.
A-phase drive signal 13a and B-phase drive signal 1
3b generated in synchronization with the pulse rate of
A-phase and B-phase drive signals 13a, 13 output from U13
The signal waveform change of b and the signal waveform change of the A-phase and B-phase excitation signals output from the motor drivers 12a and 12b are the same.

【0027】CPU(制御部)13は、ステッピングモ
ータ10を高速に回転制御する際に2相励磁方式に基づ
くA相駆動信号13aとB相駆動信号13bを出力し、
低速に回転制御する際に1−2相励磁方式に基づくA相
駆動信号13aとB相駆動信号13bを出力するもの
で、この1−2相励磁方式による低速制御時の駆動信号
13a,13bと、2相励磁方式による高速制御時の駆
動信号との切り替えのタイミングは、何れの励磁方式に
も共通に存在する2相励磁のタイミングに設定される。
The CPU (control unit) 13 outputs an A-phase drive signal 13a and a B-phase drive signal 13b based on a two-phase excitation system when controlling the rotation of the stepping motor 10 at a high speed.
When the rotation is controlled at a low speed, an A-phase drive signal 13a and a B-phase drive signal 13b based on the 1-2-phase excitation method are output. The timing of switching to the drive signal during high-speed control by the two-phase excitation method is set to the timing of the two-phase excitation that is common to both excitation methods.

【0028】ここで、CPU(制御部)13から出力さ
れるA相,B相駆動信号13a,13bのパルススレー
トは、前記低速制御時の1−2相励磁方式に基づくA
相,B相駆動信号13a,13b、前記高速制御時の2
相励磁方式に基づくA相,B相駆動信号13a,13b
の何れにあっても一定で変化しないので、1回転に要す
る励磁ポジションが4個である2相励磁方式に基づく駆
動状態では、1回転に要する励磁ポジションが8個であ
る1−2相励磁方式に基づく駆動状態に対し2倍の速度
に回転制御される。
Here, the pulse slate of the A-phase and B-phase drive signals 13a and 13b output from the CPU (control unit) 13 is based on the 1-2 phase excitation method at the time of the low speed control.
Phase and B phase drive signals 13a, 13b, 2
A-phase and B-phase drive signals 13a, 13b based on the phase excitation method
In the driving state based on the two-phase excitation method in which the number of excitation positions required for one rotation is four, the excitation position required in one rotation is eight. Is controlled to be twice as fast as the driving state based on

【0029】すなわち、1−2相励磁方式による2相励
磁を行う区間を検出して、前記A相,B相駆動信号13
a,13bを2相励磁方式のそれに切り替えれば、ステ
ッピングモータ10は脱調を起こすことなくスムーズに
低速回転から高速回転に加速制御され、また、2相励磁
方式による個々の2相励磁を行う区間の何れかにおい
て、前記A相,B相駆動信号13a,13bを1−2相
励磁方式のそれに2相励磁のタイミングから切り替えれ
ば、ステッピングモータ10は脱調を起こすことなくス
ムーズに高速回転から低速回転に減速制御される。
That is, the section in which the two-phase excitation is performed by the 1-2-phase excitation method is detected, and the A-phase and B-phase drive signals 13 are detected.
If a and 13b are switched to those of the two-phase excitation system, the stepping motor 10 is smoothly accelerated from the low-speed rotation to the high-speed rotation without step-out, and the individual two-phase excitation by the two-phase excitation system is performed. In either case, if the A-phase and B-phase drive signals 13a and 13b are switched from the two-phase excitation timing of the 1-2-phase excitation method, the stepping motor 10 can smoothly change from high-speed rotation to low-speed without step-out. The rotation is decelerated.

【0030】図2は前記ステッピングモータ制御装置の
CPU(制御部)13によるモータ駆動スタートからの
加速処理を示すフローチャートである。
FIG. 2 is a flowchart showing an acceleration process from the start of motor driving by the CPU (control unit) 13 of the stepping motor control device.

【0031】図3は前記ステッピングモータ制御装置の
モータ駆動スタートからの加速処理に伴いCPU(制御
部)13から出力されるA相,B相駆動信号13a,1
3bの変化を示すタイミングチャートである。
FIG. 3 shows the A-phase and B-phase drive signals 13a, 13a output from the CPU (control unit) 13 in accordance with the acceleration processing from the start of motor drive of the stepping motor control device.
It is a timing chart which shows the change of 3b.

【0032】まず、ステッピングモータ10の回転を立
ち上げる際には、図2における駆動スタートからの加速
処理に従ってモータの駆動回転制御が行われる。
First, when the rotation of the stepping motor 10 is started, the drive rotation of the motor is controlled in accordance with the acceleration processing from the drive start in FIG.

【0033】すなわち、まず、所定のパルスレートに従
った励磁相切り替え周期で、1−2相駆動方式に基づく
A+相,A−相駆動信号13a及びB+相,B−相駆動
信号13bがCPU(制御部)13から出力され、これ
に同期してモータドライバ12a,12bにより生成出
力される各励磁相(A+,B+,A−,B−)への1−
2相励磁信号により、ステッピングモータ10は、第1
速の低速で回転駆動される(ステップA1)。
That is, first, the A + phase, A- phase drive signal 13a and the B + phase, B- phase drive signal 13b based on the 1-2 phase drive system are supplied to the CPU (excitation phase switching cycle) according to a predetermined pulse rate. 1) to each of the excitation phases (A +, B +, A−, B−) output from the control unit 13 and generated and output by the motor drivers 12a, 12b in synchronization therewith.
By the two-phase excitation signal, the stepping motor 10
It is rotationally driven at a low speed (step A1).

【0034】そして、前記1−2相励磁信号によるステ
ッピングモータ10の回転立上げに伴う低速制御が安定
化し、この安定化に要する時間に対応して設定された高
速制御へ移行するための設定時間(加速設定時間)が経
過したと判断されると(ステップA2)、CPU(制御
部)13から順次出力されている1−2相駆動信号(1
3a,13b)のなかで2相励磁の信号出力タイミン
グ、つまり励磁ポジション1,3,5,7の何れかに相
当する駆動のタイミングが検出される(ステップA
3)。
Then, the low-speed control accompanying the start-up of the stepping motor 10 by the 1-2-phase excitation signal is stabilized, and the set time for shifting to the high-speed control set in accordance with the time required for the stabilization. When it is determined that the (acceleration set time) has elapsed (step A2), the 1-2-phase drive signal (1) sequentially output from the CPU (control unit) 13
3a, 13b), the signal output timing of the two-phase excitation, that is, the drive timing corresponding to any of the excitation positions 1, 3, 5, 7 is detected (step A).
3).

【0035】ここで、前記1−2相駆動信号(13a,
13b)のなかで2相励磁の信号出力タイミングが検出
されない、つまり励磁ポジション0,2,4,6の1相
励磁の信号出力タイミングが検出された場合には、その
まま1−2相駆動信号による低速回転制御が継続される
(ステップA3→A4)。
Here, the 1-2 phase drive signal (13a,
If the signal output timing of the two-phase excitation is not detected in 13b), that is, if the signal output timing of the single-phase excitation of the excitation positions 0, 2, 4, and 6 is detected, the 1-2-phase drive signal is used as it is. The low-speed rotation control is continued (step A3 → A4).

【0036】そして、前記1−2相駆動信号(13a,
13b)のなかの励磁ポジション1,3,5,7の何れ
かに相当する2相励磁の信号出力タイミングが検出され
た場合には、CPU13から出力されるA相,B相駆動
信号13a,13bはそのパルスレートは一定のままに
して2相励磁方式に基づく駆動信号に切り替えられる
(ステップA3→A5)。
Then, the 1-2 phase drive signal (13a,
13b), when the two-phase excitation signal output timing corresponding to any one of the excitation positions 1, 3, 5, 7 is detected, the A-phase and B-phase drive signals 13a, 13b output from the CPU 13 Is switched to the drive signal based on the two-phase excitation method while keeping the pulse rate constant (step A3 → A5).

【0037】すると、これに同期してモータドライバ1
2a,12bにより生成出力される各励磁相(A+,B
+,A−,B−)への2相励磁信号により、ステッピン
グモータ10は、その1励磁ポジション進行当たりの回
転進角が2倍となり、第2速の高速に加速されて回転駆
動される。
Then, in synchronization with this, the motor driver 1
The excitation phases (A +, B
+, A-, B-), the stepping motor 10 doubles the rotation advance angle per progression of one excitation position, is accelerated to the second speed, and is driven to rotate.

【0038】図4は前記ステッピングモータ制御装置の
CPU(制御部)13による連続駆動からの減速処理を
示すフローチャートである。
FIG. 4 is a flowchart showing a deceleration process from continuous driving by the CPU (control unit) 13 of the stepping motor control device.

【0039】図5は前記ステッピングモータ制御装置の
連続駆動からの減速処理に伴いCPU(制御部)13か
ら出力されるA相,B相駆動信号13a,13bの変化
を示すタイミングチャートである。
FIG. 5 is a timing chart showing changes in the A-phase and B-phase drive signals 13a and 13b output from the CPU (control unit) 13 in accordance with the deceleration process from the continuous drive of the stepping motor control device.

【0040】前記図2,図3における駆動スタートから
の加速処理を経て、ステッピングモータ10が第2速の
高速で回転駆動されている連続駆動の状態において、当
該ステッピングモータ10の回転を停止させる際には、
図4における連続駆動からの減速処理に従ってモータの
駆動回転制御が行われる。
When the stepping motor 10 stops rotating in the continuous driving state in which the stepping motor 10 is rotationally driven at the second high speed through the acceleration processing from the drive start in FIGS. In
The drive rotation control of the motor is performed according to the deceleration processing from the continuous drive in FIG.

【0041】すなわち、まずCPU(制御部)13から
順次出力されている2相駆動信号(13a,13b)に
おける2相励磁の信号出力タイミング、つまり1−2相
表記の場合の励磁ポジション1,3,5,7の何れかに
相当する駆動のタイミングが検出される(ステップB
1,B2)。
That is, first, the signal output timing of the two-phase excitation in the two-phase drive signals (13a, 13b) sequentially output from the CPU (control unit) 13, that is, the excitation positions 1, 3 in the case of the 1-2-phase notation. , 5, 7 are detected (step B).
1, B2).

【0042】ここで、前記2相駆動信号(13a,13
b)における2相励磁の信号出力タイミングが検出され
た場合には、CPU13から出力されるA相,B相駆動
信号13a,13bはそのパルスレートは一定のままに
して1−2相励磁方式に基づく駆動信号に2相励磁のタ
イミングから切り替えられる(ステップB2→B3)。
Here, the two-phase drive signals (13a, 13
If the signal output timing of the two-phase excitation in b) is detected, the A-phase and B-phase drive signals 13a and 13b output from the CPU 13 are changed to the 1-2-phase excitation method while their pulse rates are kept constant. The drive signal is switched from the two-phase excitation timing to the drive signal based on the drive signal (step B2 → B3).

【0043】すると、これに同期してモータドライバ1
2a,12bにより生成出力される各励磁相(A+,B
+,A−,B−)への1−2相励磁信号により、ステッ
ピングモータ10は、その1励磁ポジション進行当たり
の回転進角が半分となり、第1速の低速に減速されて回
転駆動される。
Then, in synchronization with this, the motor driver 1
The excitation phases (A +, B
+, A-, B-), the stepping motor 10 halves the rotation advance angle per progression of one excitation position, and is reduced in speed to the first speed and driven to rotate. .

【0044】そして、前記1−2相励磁信号への切り替
えによるステッピングモータ10の減速制御が安定化
し、この安定化に要する時間に対応して設定された停止
制御へ移行するための設定時間(停止設定時間)が経過
したと判断されると(ステップB4)、前記CPU13
から切り替えられて出力された1−2相駆動信号(13
a,13b)の出力が停止され、ステッピングモータ1
0の回転は停止される(ステップB4→停止)。
The deceleration control of the stepping motor 10 by switching to the 1-2-phase excitation signal is stabilized, and the set time (stop) for shifting to the stop control set corresponding to the time required for the stabilization is obtained. When it is determined that the set time has elapsed (step B4), the CPU 13
And the 1-2-phase drive signal (13
a, 13b) is stopped and the stepping motor 1
The rotation of 0 is stopped (step B4 → stop).

【0045】このようにステッピングモータの回転を停
止させる場合、減速し1−2相励磁駆動で停止するよう
にしたので停止位置の精度が2相励磁駆動で停止させる
よりあがる。
When the rotation of the stepping motor is stopped as described above, the speed is reduced and the motor is stopped by the 1-2-phase excitation drive. Therefore, the accuracy of the stop position is higher than that of the stop by the two-phase excitation drive.

【0046】したがって、前記構成のステッピングモー
タ制御装置によれば、CPU(制御部)13から出力さ
れるモータ駆動信号13a,13bのパルスレートは一
定のままにして、ステッピングモータ10を低速に回転
制御したい場合には、1−2相励磁方式に基づくモータ
駆動信号13a,13bを出力して、モータドライバ1
2a,12bにて同期生成される1−2相励磁信号によ
りロータを1回転8ステップで低速駆動し、該ステッピ
ングモータ10を高速に回転制御したい場合には、前記
1−2相励磁方式から切り替えた2相励磁方式に基づく
モータ駆動信号13a,13bを出力して、モータドラ
イバ12a,12bにて同期生成される2相励磁信号に
よりロータを1回転4ステップで高速駆動するようにし
たので、CPU13によるモータ駆動信号のパルスレー
トを変更する必要なく、ロータの回転速度を倍速で異な
る低速度と高速度に加速,減速することができる。
Therefore, according to the stepping motor control device having the above-described configuration, while the pulse rates of the motor drive signals 13a and 13b output from the CPU (control unit) 13 are kept constant, the rotation of the stepping motor 10 is controlled at a low speed. If it is desired, motor drive signals 13a and 13b based on the 1-2-phase excitation method are output, and the motor driver 1
When the rotor is driven at a low speed in eight steps per rotation by a 1-2 phase excitation signal synchronously generated in 2a and 12b and the rotation of the stepping motor 10 is to be controlled at a high speed, switching from the 1-2 phase excitation method is performed. Since the motor drive signals 13a and 13b based on the two-phase excitation method are output and the rotor is driven at high speed in four steps per rotation by the two-phase excitation signals synchronously generated by the motor drivers 12a and 12b, the CPU 13 , It is possible to accelerate and decelerate the rotational speed of the rotor to different low speeds and high speeds at double speed without changing the pulse rate of the motor drive signal.

【0047】また、前記構成のステッピングモータ制御
装置によれば、1−2相励磁方式に基づく低速制御のた
めのモータ駆動信号と、2相励磁方式に基づく高速制御
のためのモータ駆動信号との切り替えを、何れの方式の
駆動信号にも共通の2相励磁が成されるタイミングにお
いて行うようにしたので、ステッピングモータ10は脱
調を起こすことなくスムーズに低速回転から高速回転に
加速制御され、また、高速回転から低速回転に減速制御
されるようになる。
Further, according to the stepping motor control device having the above configuration, the motor drive signal for low-speed control based on the 1-2-phase excitation system and the motor drive signal for high-speed control based on the two-phase excitation system are used. Since the switching is performed at a timing at which two-phase excitation common to both types of drive signals is performed, the stepping motor 10 is smoothly accelerated from low-speed rotation to high-speed rotation without step-out, and In addition, deceleration control is performed from high-speed rotation to low-speed rotation.

【0048】本実施の形態では1−2相励磁方式と2相
励磁方式の切り替えにより加速、減速の2速としたが、
それに加えて各励磁方式の中で速度変更をパルスレート
を変更することを行えば、さらに多くの速度変更が可能
となる。
In this embodiment, two speeds of acceleration and deceleration are set by switching between the 1-2-phase excitation system and the 2-phase excitation system.
In addition, if the pulse rate is changed in each excitation method, the speed can be further changed.

【0049】[0049]

【発明の効果】以上のように、本発明の請求項1に係る
ステッピングモータの制御装置によれば、ステッピング
モータは、1ステップでその隣接する励磁相間隔の2分
の1ピッチずつ回転する1−2相励磁方式と、1ステッ
プでその励磁相間隔ずつ回転する2相励磁方式とで、切
り替えられて駆動されるので、1−2相励磁駆動の場合
は低速で、2相励磁駆動の場合は高速で回転制御される
ようになる。
As described above, according to the control apparatus for a stepping motor according to the first aspect of the present invention, the stepping motor rotates by one-half pitch of its adjacent excitation phase in one step. The two-phase excitation method is switched between the two-phase excitation method and the two-phase excitation method in which the excitation phase is rotated at intervals of one step, so that the 1-2-phase excitation drive is slow and the two-phase excitation drive is slow. Is controlled to rotate at high speed.

【0050】また、本発明の請求項2に係るステッピン
グモータの制御装置によれば、モータ駆動信号のパルス
レートは一定に保持されて1−2相励磁方式と2相励磁
方式との切り替えが成されるので、パルスレートに関係
なく励磁方式の切り替えのみにより回転速度の切り替え
制御が行えるようになる。
According to the stepping motor control device of the second aspect of the present invention, the pulse rate of the motor drive signal is kept constant, and the switching between the 1-2-phase excitation method and the 2-phase excitation method is performed. Therefore, the switching control of the rotational speed can be performed only by switching the excitation method regardless of the pulse rate.

【0051】さらに、本発明の請求項3に係るステッピ
ングモータの制御装置によれば、1−2相励磁方式と2
相励磁方式との切り替えは、各駆動信号シーケンスの中
で共通の励磁駆動ポジションとなる2相励磁を行うタイ
ミングに合わせて成されるので、低速回転駆動と高速回
転駆動間の切り替え制御がスムーズに行えるようにな
る。
Further, according to the stepping motor control device according to the third aspect of the present invention, the 1-2 phase excitation system and the
Switching to the phase excitation method is performed according to the timing of performing two-phase excitation, which is a common excitation drive position in each drive signal sequence, so that switching control between low-speed rotation drive and high-speed rotation drive is smoothly performed. Will be able to do it.

【0052】よって、本発明によれば、モータ駆動信号
のパルスレートを変更することなく、ロータの回転速度
を調整することが可能になる。
Therefore, according to the present invention, it is possible to adjust the rotation speed of the rotor without changing the pulse rate of the motor drive signal.

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

【図1】本発明の実施形態に係るステッピングモータ制
御装置の構成を示す図。
FIG. 1 is a diagram showing a configuration of a stepping motor control device according to an embodiment of the present invention.

【図2】前記ステッピングモータ制御装置のCPU(制
御部)によるモータ駆動スタートからの加速処理を示す
フローチャート。
FIG. 2 is a flowchart showing an acceleration process from a motor drive start by a CPU (control unit) of the stepping motor control device.

【図3】前記ステッピングモータ制御装置のモータ駆動
スタートからの加速処理に伴いCPU(制御部)から出
力されるA相,B相駆動信号の変化を示すタイミングチ
ャート。
FIG. 3 is a timing chart showing changes in A-phase and B-phase drive signals output from a CPU (control unit) in accordance with acceleration processing from the start of motor driving of the stepping motor control device.

【図4】前記ステッピングモータ制御装置のCPU(制
御部)による連続駆動からの減速処理を示すフローチャ
ート。
FIG. 4 is a flowchart showing a deceleration process from continuous driving by a CPU (control unit) of the stepping motor control device.

【図5】前記ステッピングモータ制御装置の連続駆動か
らの減速処理に伴いCPU(制御部)から出力されるA
相,B相駆動信号の変化を示すタイミングチャート。
FIG. 5 is a diagram showing an output A from a CPU (control unit) in accordance with a deceleration process from the continuous driving of the stepping motor control device.
6 is a timing chart showing changes in the phase and B-phase drive signals.

【図6】4相型ステッピングモータに対する1−2相励
磁信号を示すタイミングチャート。
FIG. 6 is a timing chart showing a 1-2-phase excitation signal for a 4-phase stepping motor.

【図7】4相型ステッピングモータを1−2相励磁方式
で回転制御した場合の各励磁タイミングでのロータ回転
状態を示す図。
FIG. 7 is a diagram illustrating a rotor rotation state at each excitation timing when the rotation of a four-phase stepping motor is controlled by a 1-2-phase excitation method.

【図8】4相型ステッピングモータに対する2相励磁信
号を示すタイミングチャート。
FIG. 8 is a timing chart showing a two-phase excitation signal for a four-phase stepping motor.

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

10 …4相型ステッピングモータ(M) 11 …ドライバIC 12a…A相用モータドライバ 12b…B相用モータドライバ 13 …CPU(制御部) 13a…A相駆動信号 13b…B相駆動信号 DESCRIPTION OF SYMBOLS 10 ... 4 phase type stepping motor (M) 11 ... Driver IC 12a ... A phase motor driver 12b ... B phase motor driver 13 ... CPU (control part) 13a ... A phase drive signal 13b ... B phase drive signal

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ステッピングモータの駆動信号を出力す
るモータ駆動信号出力手段と、 このモータ駆動信号出力手段により出力するモータ駆動
信号を1−2相励磁方式に基づくモータ駆動信号と2相
励磁方式に基づくモータ駆動信号とで切り替える駆動信
号切り替え手段と、を備えたことを特徴とするステッピ
ングモータの制御装置。
1. A motor drive signal output means for outputting a drive signal of a stepping motor, and a motor drive signal output by the motor drive signal output means is converted into a motor drive signal based on a 1-2 phase excitation method and a two phase excitation method. And a drive signal switching means for switching between the two based on a motor drive signal based on the control signal.
【請求項2】 前記駆動信号切り替え手段により切り替
えられる1−2相励磁方式に基づくモータ駆動信号と2
相励磁方式に基づくモータ駆動信号とは、その信号パル
スレートを一定のままにして切り替えることを特徴とす
る請求項1に記載のステッピングモータの制御装置。
2. A motor drive signal based on a 1-2-phase excitation system switched by the drive signal switching means,
2. The stepping motor control device according to claim 1, wherein the switching is performed with the motor drive signal based on the phase excitation method while keeping its signal pulse rate constant.
【請求項3】 前記駆動信号切り替え手段による1−2
相励磁方式に基づくモータ駆動信号と2相励磁方式に基
づくモータ駆動信号との切り替えは、各駆動信号の中で
2相励磁を行うタイミングに合わせて切り替えることを
特徴とする請求項1又は請求項2に記載のステッピング
モータの制御装置。
3. A method according to claim 1, wherein said driving signal switching means comprises:
The motor drive signal based on the phase excitation system and the switching between the motor drive signal based on the two-phase excitation system are switched in accordance with the timing of performing the two-phase excitation in each drive signal. 3. The control device for a stepping motor according to 2.
【請求項4】 ステッピングモータの駆動信号を、1−
2相励磁方式に基づくモータ駆動信号と2相励磁方式に
基づくモータ駆動信号とで切り替え、回転速度を低速と
高速に切り替えることを特徴とするステッピングモータ
の制御方法。
4. A driving signal of a stepping motor is expressed by 1-
A stepping motor control method characterized by switching between a motor drive signal based on a two-phase excitation method and a motor drive signal based on a two-phase excitation method, and switching between a low speed and a high speed.
【請求項5】 前記1−2相励磁方式に基づくモータ駆
動信号と2相励磁方式に基づくモータ駆動信号とは、そ
の信号パルスレートを一定のままにして切り替えること
を特徴とする請求項4に記載のステッピングモータの制
御方法。
5. The motor drive signal based on the 1-2-phase excitation method and the motor drive signal based on the two-phase excitation method are switched while keeping their signal pulse rates constant. The control method of the stepping motor described in the above.
【請求項6】 前記1−2相励磁方式に基づくモータ駆
動信号と2相励磁方式に基づくモータ駆動信号との切り
替えは、各駆動信号の中で2相励磁を行うタイミングに
合わせて切り替えることを特徴とする請求項4又は請求
項5に記載のステッピングモータの制御方法。
6. The switching between the motor drive signal based on the 1-2-phase excitation method and the motor drive signal based on the two-phase excitation method is performed in accordance with the timing of performing the two-phase excitation in each drive signal. The method of controlling a stepping motor according to claim 4 or claim 5, wherein
JP2000033506A 2000-02-10 2000-02-10 Equipment and method for controlling stepping motor Pending JP2001231298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000033506A JP2001231298A (en) 2000-02-10 2000-02-10 Equipment and method for controlling stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000033506A JP2001231298A (en) 2000-02-10 2000-02-10 Equipment and method for controlling stepping motor

Publications (1)

Publication Number Publication Date
JP2001231298A true JP2001231298A (en) 2001-08-24

Family

ID=18557979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000033506A Pending JP2001231298A (en) 2000-02-10 2000-02-10 Equipment and method for controlling stepping motor

Country Status (1)

Country Link
JP (1) JP2001231298A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009207246A (en) * 2008-02-27 2009-09-10 Rohm Co Ltd Motor drive device, semiconductor device, and electrical apparatus
JP2012030000A (en) * 2010-08-03 2012-02-16 Sammy Corp Reel drive device for game machine, and the game machine
JP2016185412A (en) * 2016-08-01 2016-10-27 株式会社オリンピア Game machine
JP2019166023A (en) * 2018-03-23 2019-10-03 株式会社サンセイアールアンドディ Game machine
CN111628682A (en) * 2020-05-25 2020-09-04 深圳市兆威机电股份有限公司 Stepping motor synchronous driving method, stepping motor synchronous driving device, terminal and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009207246A (en) * 2008-02-27 2009-09-10 Rohm Co Ltd Motor drive device, semiconductor device, and electrical apparatus
JP2012030000A (en) * 2010-08-03 2012-02-16 Sammy Corp Reel drive device for game machine, and the game machine
JP2016185412A (en) * 2016-08-01 2016-10-27 株式会社オリンピア Game machine
JP2019166023A (en) * 2018-03-23 2019-10-03 株式会社サンセイアールアンドディ Game machine
JP7096579B2 (en) 2018-03-23 2022-07-06 株式会社サンセイアールアンドディ Pachinko machine
CN111628682A (en) * 2020-05-25 2020-09-04 深圳市兆威机电股份有限公司 Stepping motor synchronous driving method, stepping motor synchronous driving device, terminal and storage medium

Similar Documents

Publication Publication Date Title
JPH11215894A (en) Stepping motor controller
JP2006271127A (en) Stop controlling method of stepping motor
JPH10150798A (en) Stepping motor controller
JP2001231298A (en) Equipment and method for controlling stepping motor
US4443746A (en) Control circuit for stepping motor
US7791306B2 (en) Apparatus, method, and system for controlling stepping motor
JP3381561B2 (en) Stepping motor driving device and surveillance camera device using the same
JP2003224998A (en) Drive method for stepping motor
KR100555556B1 (en) Method for control stepping motor
JPS6056075B2 (en) Drive device using pulse motor
JPH09219995A (en) Drive method of stepping motor
JPH08275591A (en) Drive method for stepping motor
US7342377B2 (en) Stepping-motor control apparatus and method of controlling the apparatus
JPH09313000A (en) Method of driving stepping motor
JP2005333753A (en) Control device of three-phase brushless motor
JPH06296398A (en) Method and equipment for driving pulse motor
JP2005261023A (en) Method of controlling stepping motor
JP2001231297A (en) Equipment and method for controlling stepping motor
JP2009011087A (en) Micro step control method of stepping motor, and dynamo-electric apparatus
JPS5818880B2 (en) Stepping motor control method
JP2005237043A (en) Stepping motor drive control method and its device
JP2003199396A (en) Method and device for controlling stepping motor
JP2003102197A (en) Driving method and drive device
JP2002165494A (en) Controller for stepping motor
JP2000197389A (en) Motor controller