JPS5863097A - Controlling method for stepping motor - Google Patents
Controlling method for stepping motorInfo
- Publication number
- JPS5863097A JPS5863097A JP15963281A JP15963281A JPS5863097A JP S5863097 A JPS5863097 A JP S5863097A JP 15963281 A JP15963281 A JP 15963281A JP 15963281 A JP15963281 A JP 15963281A JP S5863097 A JPS5863097 A JP S5863097A
- Authority
- JP
- Japan
- Prior art keywords
- stepping motor
- steps
- phase
- phase excitation
- excitation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title description 5
- 230000005284 excitation Effects 0.000 claims abstract description 33
- 238000010586 diagram Methods 0.000 description 3
- 238000004804 winding Methods 0.000 description 2
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P8/00—Arrangements for controlling dynamo-electric motors rotating step by step
- H02P8/14—Arrangements for controlling speed or speed and torque
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Stepping Motors (AREA)
Abstract
Description
【発明の詳細な説明】
本発明はプリンタのキャリクジ駆動等に柑いられるステ
ッピングモータ制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a stepping motor control system used for driving a carriage of a printer, etc.
プリンタにおいてキャリッジを移動するスベール送りに
ステッピングモータを用いてこれを2相励磁する場合横
方向最大印字可能長さ13.611.横方向最小分解能
1/120 ”の条件を満足し時間t。でキャリッジ全
移動させるためにはステッピングモータ及びその制御系
の応答周波数fはステッピングモータ全三角駆動する時
には第1図(a)から分るように
to、 l/120 to
となり、ステッピングモータ全台形駆動する時には第1
図山)から分るように
16 2(1−a)
となる。従りてステッピングモータ及び制御系はto、
to2(1−a)
という高い周波数に応答し得るものが必要になる。When a stepping motor is used to move the carriage in a printer and is excited in two phases, the maximum printable length in the horizontal direction is 13.611. In order to satisfy the condition of minimum lateral resolution of 1/120'' and move the entire carriage in time t, the response frequency f of the stepping motor and its control system can be determined from Fig. 1(a) when the stepping motor is driven in all triangles. to, l/120 to, and when the stepping motor is driven entirely trapezoidally, the first
As can be seen from Figure 1), it becomes 16 2 (1-a). Therefore, the stepping motor and control system are to,
A device that can respond to a high frequency of to2(1-a) is required.
またステッピングモータ’1l−2相励磁して上述の条
件を満足させる場合ステッピングモータを1−2相励磁
するためステッピングモータの応答周波数は1/2 に
下げられるが、制御系の応答周波数は改善されない。Furthermore, when the stepping motor is excited in 1-2 phases to satisfy the above conditions, the response frequency of the stepping motor is reduced to 1/2 because the stepping motor is excited in 1-2 phases, but the response frequency of the control system is not improved. .
本発明はステッピングモータ及び制御系の応曽周波数を
共に下げることができろステッピングモータ制御方式を
提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a stepping motor control method that can lower the response frequency of both the stepping motor and the control system.
以下図面全参照しながら本発明について実施例をあげて
説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below by way of embodiments with full reference to the drawings.
本発明の実施例ではステッピングモータの移動すべきス
テップ数が小さい時にはステクピングモ−タを1−2相
励磁し、ステッピングモータの移動すべきステップ数が
大きい時には2相励磁する。In the embodiment of the present invention, when the number of steps to be moved by the stepping motor is small, the stepping motor is excited in 1-2 phases, and when the number of steps to be moved by the stepping motor is large, it is excited in 2 phases.
したがって上述の条件を維持しつつ、ステッピングモー
タ及び制御系の応答周波数をステッピングで従来のステ
ッピングモータを2相励磁する場合に比べて1/2 に
できる。Therefore, while maintaining the above-mentioned conditions, the response frequency of the stepping motor and control system can be reduced to 1/2 compared to the case where a conventional stepping motor is excited in two phases by stepping.
第2図は本発明の実施回路例を示し、第5図はそのフロ
ーチャートである。FIG. 2 shows an example of a circuit for implementing the present invention, and FIG. 5 is a flowchart thereof.
プリンタにおいてキャリッジ駆動用ステッピングモータ
を何ステップ移動させるかを示すステップデータは人力
バッファ11に入力されて差数カウンタ12 vc4ツ
トされ、このステ、グデータが所定のステップ数(この
例ぞは20ステツプ)以上か否かによってステッピング
モータを2相励磁するか、1−2相励磁するかが決定さ
れる。すなわち人力バッファ11に入力されたステップ
データが20ステツプ以上である場合スタート相判断回
路13はステッピングモータの現励磁状況全判断して若
し1相励磁で停止していたならばワンショットパルス発
生器14全駆動して1−2相励磁用クロツクパルスを1
回発生させた後に2相パルス発生器15を始動させて2
相励磁用クロククパルスをシーケンスカウンタ16へ送
らせる。ワンショットパルス発生器14からの1−2相
励磁用クロツクパルスはオア回路17を経てシーケンス
カウンタ16へ送らnる。シーケンスカウンタ16は1
−2相励磁用クロククパルスが入力されることにより第
3図に示すような各相の励磁パルス戸。Step data indicating how many steps to move the stepping motor for driving the carriage in the printer is input to the manual buffer 11 and counted by the difference counter 12, and this step data is used to set the predetermined number of steps (20 steps in this example). Depending on whether or not the above conditions are met, it is determined whether the stepping motor is to be excited in two phases or in one to two phases. In other words, when the step data input to the manual buffer 11 is 20 steps or more, the start phase determination circuit 13 determines the entire current excitation status of the stepping motor, and if the stepping motor is stopped with one phase excitation, the one-shot pulse generator is activated. 14 is fully driven and the clock pulse for 1-2 phase excitation is set to 1.
After the two-phase pulse generator 15 has been generated, the two-phase pulse generator 15 is started and two
A clock pulse for phase excitation is sent to the sequence counter 16. The 1-2 phase excitation clock pulse from the one-shot pulse generator 14 is sent to the sequence counter 16 via the OR circuit 17. Sequence counter 16 is 1
- An excitation pulse door for each phase as shown in FIG. 3 by inputting a clock pulse for two-phase excitation.
〜14*発生し、この励磁パルスフ、〜φ4はクロック
パルスの入力で1相分と2相分が交互に発生する。駆動
回路18はこの励磁パルス戸、〜画によりステッピング
モータの各相巻線191〜194を励磁してステッピン
グモータを移動させ、つまりステッピングモータはl相
励磁と2相励磁のくり返しで1ステツプづつ移動して行
く。従ってス::・
テアピングモータは1相励磁で停止している時にワンシ
ョットパルス発生器14から1−2相励磁用クロツクパ
ルスが1つ出されると、1ステツプ移動して2相励磁状
態になる。またシーケンスカウンタ16は2相励磁用ク
ロククパルスが人力されることにより第4図に示すよう
な各相の励磁パルス戸、〜ψ2を発生し、駆動回路18
はこの励磁パルスにより各相巻線19.〜194’t2
相づつ順次に励磁してステッピングモータを1ステツプ
づつ移動はせて行く。~14* is generated, and this excitation pulse ~φ4 is generated alternately for one phase and for two phases at the input of a clock pulse. The drive circuit 18 uses this excitation pulse to excite each phase winding 191 to 194 of the stepping motor to move the stepping motor. In other words, the stepping motor moves one step at a time by repeating l-phase excitation and two-phase excitation. I'll go. Therefore, when the tearing motor is stopped with 1-phase excitation and one clock pulse for 1-2 phase excitation is output from the one-shot pulse generator 14, it moves one step and enters the 2-phase excitation state. . In addition, the sequence counter 16 generates excitation pulses for each phase, ~ψ2, as shown in FIG.
This excitation pulse causes each phase winding 19. ~194't2
The stepping motor is moved one step at a time by sequentially energizing each step.
スタート相判断回路13はステッピングモータが2相励
磁で停止している場合にはフンショットパルス発生器1
4を駆動せずに2相パルス発生器15を始動させる。差
動カウンタ12はステップデータをオア回路17からの
1−2相励磁用クロククパルスによりlステップ分づつ
カウントダウンし、2相パルス発生器15からの2相励
磁用クロツクパルスにより2ステツプ分づつカウントダ
ウンする。差動カウンタ12の内容が1以下になると、
2相パルス発生器15が動作を停止してステップモータ
が停止する。この場合差動カウンタ12の内容が1にな
れば残システップ数判断回路20はそれを検知してワン
ショットパルス発生器14を駆動し1−2相励磁用クロ
ックパルス金発生させてステッピングモータt−1ステ
7グ移動させる。When the stepping motor is stopped due to two-phase excitation, the start phase determination circuit 13 activates the start phase pulse generator 1.
The two-phase pulse generator 15 is started without driving the pulse generator 4. The differential counter 12 counts down the step data by l steps using the 1-2 phase excitation clock pulse from the OR circuit 17, and counts down by 2 steps using the 2-phase excitation clock pulse from the 2-phase pulse generator 15. When the content of the differential counter 12 becomes 1 or less,
The two-phase pulse generator 15 stops operating and the step motor stops. In this case, when the content of the differential counter 12 becomes 1, the remaining step number judgment circuit 20 detects this and drives the one-shot pulse generator 14 to generate a clock pulse for 1-2 phase excitation, thereby driving the stepping motor t. -Move 1 step to 7 steps.
一方人カバッファ11に入力ざねたステップデータが2
0ステツプ以上でなければ1−2相パルス発生器21は
1−2相励磁用クロツクパルスを、t−7回路1’7’
に介してシーケンスカウンタ16及び差数カウンタ12
に送ってステッピングモータを移動させ、差数カウンタ
12の内容が0になった時に1−2相パルス発生器21
が動作を停止する。On the other hand, the step data that was not input into the human buffer 11 is 2.
If the step is not 0 or more, the 1-2 phase pulse generator 21 sends the 1-2 phase excitation clock pulse to the t-7 circuit 1'7'.
The sequence counter 16 and the difference counter 12
to move the stepping motor, and when the content of the difference counter 12 becomes 0, the 1-2 phase pulse generator 21
stops working.
なお本発明は上記実施例に限定されるものではなく、例
えばステッピングモータの2相励磁と1−2相励磁とを
移動すべきステップ数が大きいか小さいかで切換える方
式であってステップ数が大きい場合ステッピングモータ
t−2相励磁し残りの移動すべきステップ数が所定のス
テップ数になった段階で一義的にステッピングモータ全
1−2相励磁する方式としてもよい。Note that the present invention is not limited to the above-mentioned embodiments, and for example, the present invention is a method of switching between 2-phase excitation and 1-2 phase excitation of a stepping motor depending on whether the number of steps to be moved is large or small, and the number of steps is large. In this case, a method may be adopted in which the stepping motor is excited in the t-2 phase, and when the remaining number of steps to be moved reaches a predetermined number of steps, all the stepping motors are excited in the 1-2 phase.
以上のように本発明によればステッピングモ−タに対し
て移動すべきステップ数が小さい時には1−2相励磁全
行なって移動すべきステップ数が大きい時には2相励磁
を行うので、ステッピングモータ及び制御系の応答周波
数を共に下げることができる。またプリンタのキャリッ
ジを駆動する場合駆動系にギヤを用いてモータコストの
安いものを使用する方法が提案されているが、この方法
でステッピングモータを使う場合応答周波数が速いとモ
ータのトルクが小さいにもかかわらず応答周波数の問題
でモータを含むステッピングモータ駆動系のコスト低減
には限界が生ずる。しかし本発明では応答周波数を下げ
られろことから安価なモータで駆動条件を満足させるこ
とができる。As described above, according to the present invention, when the number of steps to be moved to the stepping motor is small, full 1-2 phase excitation is performed, and when the number of steps to be moved is large, 2-phase excitation is performed, so that the stepping motor and control The response frequency of the system can also be lowered. In addition, when driving a printer's carriage, it has been proposed to use gears in the drive system to use a low-cost motor, but if a stepping motor is used in this method, the faster the response frequency, the lower the motor torque. However, there is a limit to the cost reduction of the stepping motor drive system including the motor due to the problem of response frequency. However, in the present invention, since the response frequency can be lowered, the driving conditions can be satisfied with an inexpensive motor.
第1図は従来方式を説明するための図、第2図は本発明
の一実施例を示すブロック図、第3図〜第5図は同冥施
例の動作を説明するだめのタイミングチャート及び70
−チャートである。
11・・・人力バッファ、 12・°°差数カウ
ンタ、 15・・・2相パルス発生器、16・・
・シーケンスカウンタ、 21・・・1−2相パ
ルス′発生器。Fig. 1 is a diagram for explaining the conventional system, Fig. 2 is a block diagram showing an embodiment of the present invention, and Figs. 3 to 5 are timing charts and diagrams for explaining the operation of the same embodiment. 70
-It is a chart. 11...Manual buffer, 12.°° difference counter, 15...2-phase pulse generator, 16...
- Sequence counter, 21...1-2 phase pulse' generator.
Claims (1)
さい時には1−2相励磁を行ない、移動すべきステップ
数が大きい時には2相励磁を行うこと全特徴とするステ
ッピングモータ制御方式。A stepping motor control system characterized in that when the number of steps to be moved by the stepping motor is small, 1-2 phase excitation is performed, and when the number of steps to be moved is large, 2-phase excitation is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15963281A JPS5863097A (en) | 1981-10-07 | 1981-10-07 | Controlling method for stepping motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15963281A JPS5863097A (en) | 1981-10-07 | 1981-10-07 | Controlling method for stepping motor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5863097A true JPS5863097A (en) | 1983-04-14 |
Family
ID=15697951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP15963281A Pending JPS5863097A (en) | 1981-10-07 | 1981-10-07 | Controlling method for stepping motor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5863097A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61240897A (en) * | 1985-04-16 | 1986-10-27 | Canon Inc | Step motor drive device |
JPH03159767A (en) * | 1989-11-17 | 1991-07-09 | Fujitsu Ltd | Controlling method for sheet feeding |
-
1981
- 1981-10-07 JP JP15963281A patent/JPS5863097A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61240897A (en) * | 1985-04-16 | 1986-10-27 | Canon Inc | Step motor drive device |
JPH03159767A (en) * | 1989-11-17 | 1991-07-09 | Fujitsu Ltd | Controlling method for sheet feeding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7116074B2 (en) | Stepper motor accelerating system and method | |
DE102004035954A1 (en) | Reduction of torque ripple and noise level in a brushless DC motor by avoiding mechanical vibration | |
JPS5863097A (en) | Controlling method for stepping motor | |
JPH02231999A (en) | Motor driver | |
DE3879040T2 (en) | METHOD AND DEVICE FOR CONTROLLING A MULTIPLE VOLTAGE STEERING MOTOR. | |
JP3305173B2 (en) | Control device for brushless motor | |
JP4340080B2 (en) | Camera moving device | |
JPS59149796A (en) | Control system for stepping motor | |
JPS58107094A (en) | Controller for pulse motor | |
JPS61164498A (en) | Exciting method of stepping motor | |
JPH10313586A (en) | Brushless, sensorless dc motor and its driving and controlling device | |
JPS58195490A (en) | Position detector for brushless motor | |
JPS63110998A (en) | Drive method for pulse motor | |
JP3187985B2 (en) | Stepping motor drive | |
JPH0773937B2 (en) | Printer line feed motor control method | |
SU970614A1 (en) | Dc electric drive control method | |
JPH0659348A (en) | Optical scanner driving motor controller | |
JPS62110495A (en) | Driving system for pulse motor | |
JPH08126392A (en) | Drive controller for stepping motor, drive system and apparatus employing it | |
JPS60120080A (en) | Carriage drive controller | |
JPS5950798A (en) | Speed controlling method for motor generator | |
JPH09117199A (en) | Controller and control method for stepping motor | |
JPH06133593A (en) | Method and device for controlling stepping motor | |
JPH07194192A (en) | Method for controlling pulse motor | |
JPS63220799A (en) | Driving of pulse motor |