JPH02307394A - Method of controlling stepping motor - Google Patents

Method of controlling stepping motor

Info

Publication number
JPH02307394A
JPH02307394A JP12789089A JP12789089A JPH02307394A JP H02307394 A JPH02307394 A JP H02307394A JP 12789089 A JP12789089 A JP 12789089A JP 12789089 A JP12789089 A JP 12789089A JP H02307394 A JPH02307394 A JP H02307394A
Authority
JP
Japan
Prior art keywords
drive circuit
motor drive
pulse interval
stepping motor
interval
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
JP12789089A
Other languages
Japanese (ja)
Inventor
Mitsuaki Tanaka
田中 充明
Eiji Tagami
田上 英治
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP12789089A priority Critical patent/JPH02307394A/en
Publication of JPH02307394A publication Critical patent/JPH02307394A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PURPOSE:To reduce noise by driving a motor drive circuit at a pulse interval composed of three steps. CONSTITUTION:A microprocessor (MPU) 1 sets a pulse interval t1 in an interrupt generation timer circuit 7 while driving a motor drive circuit 8. When the time t1 has elapsed, said interrupt generation timer circuit 7 applies interrupt to MPU 1, which sets the next pulse interval t2 in said timer circuit 7 while driving the motor drive circuit 8 when interrupt is applied from the timer circuit 7. After that, the same operation is repeated also relative to pulse intervals t3-t5 so that the motor drive circuit 8 is repeatedly driven at said pulse intervals t1-t5 for every one line period. Thus, when the motor drive circuit 8 is driven at the pulse interval of acceleration interval as the first half and deceleration interval as the second half for every one line period, the vibration of a motor 9 becomes smaller. In this manner, it is possible to reduce noise.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、熱転写型カラープリンタ等に使用されるス
テッピングモータの制御方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method of controlling a stepping motor used in a thermal transfer color printer or the like.

[従来の技術] 従来例を第4図及び第5図を参照しながら説明する。[Conventional technology] A conventional example will be explained with reference to FIGS. 4 and 5.

第4図は従来のステッピングモータの制御方法を示すタ
イミングチャート図、第5図は従来の制御方法によるス
テッピングモータの振動の様子を示す特性図である6 従来のステッピングモータの制御方法は、例えばカラー
プリンタの用紙搬送の場合、第4図で示すように、等間
隔のパルス間隔tでステッピングモータを駆動していた
Fig. 4 is a timing chart diagram showing a conventional stepping motor control method, and Fig. 5 is a characteristic diagram showing the state of vibration of the stepping motor according to the conventional control method6. In the case of paper conveyance in a printer, a stepping motor is driven at equal pulse intervals t, as shown in FIG.

すなわち、カラープリンタにより印画する際、用紙搬送
用のステッピングモータを1ラインあたり6パルスで駆
動し、この6パルスのパルス間隔tを一定としていた。
That is, when printing with a color printer, a stepping motor for conveying paper was driven with 6 pulses per line, and the pulse interval t of these 6 pulses was kept constant.

なお、第4図で示すように、1ライン周期Tには、休止
時間1#(>1>が含まれている。
Note that, as shown in FIG. 4, one line period T includes a pause time 1# (>1>).

第5図は、上述した従来の制御方法により駆動した場合
のステッピングモータのモータ軸の振動の様子を示して
いる。この振動の原因は、ステッピングモータを休止時
間tllを挟んで等間隔のパルス間隔tで駆動するため
、用紙搬送速度が加速、等速、減速、停止を繰り返すた
めであり、ひいては用紙等の振動による騒音が発生する
ことになる。
FIG. 5 shows how the motor shaft of the stepping motor vibrates when driven by the conventional control method described above. The cause of this vibration is that because the stepping motor is driven at equal pulse intervals t with a rest time tll in between, the paper conveyance speed repeats acceleration, constant speed, deceleration, and stop, and is also due to vibrations of the paper, etc. Noise will be generated.

[発明が解決しようとする課題] 上述したような従来のステッピングモータの制御方法で
は、ステッピングモータの振動が大きいので、騒音が大
きいという問題点があった。
[Problems to be Solved by the Invention] The conventional method of controlling a stepping motor as described above has a problem in that the vibration of the stepping motor is large, resulting in large noise.

この発明は、上述した問題点を解決するためになされた
もので、ステッピングモータの振動を小さくすることが
でき、騒音を下げることができるステッピングモータの
制御方法を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a stepping motor control method that can reduce vibration of the stepping motor and reduce noise.

[課厘を解決するための手段] この発明に係るステッピングモータの制御方法は、以下
に述べるようなステップから成り立つものである。
[Means for Solving Problems] A method for controlling a stepping motor according to the present invention includes the steps described below.

(i)、最初のタイミングでは第1のパルス間隔でモー
タ駆動回路を駆動するステップ。
(i) Driving the motor drive circuit at the first pulse interval at the first timing.

(ii)、次のタイミングでは上記第1のパルス間隔よ
りも大きい第2のパルス間隔で上記モータ駆動回路を駆
動するステップ。
(ii) driving the motor drive circuit at a second pulse interval that is larger than the first pulse interval at the next timing;

(ii )、その次のタイミングでは上記第2のパルス
間隔よりも小さい第3のパルス間隔で」−記モータ駆動
回路を駆動するステップ。
(ii) At the next timing, driving the motor drive circuit at a third pulse interval smaller than the second pulse interval.

[作用] この発明においては、最初のステップによって、第1の
パルス間隔でモータ駆動回路が駆動される。
[Operation] In the present invention, in the first step, the motor drive circuit is driven at the first pulse interval.

また、2番目のステップによって、上記第1のパルス1
m隔よりも大きい第2のパルス間隔で上記モータ駆動回
路が駆動される。
Also, by the second step, the first pulse 1
The motor drive circuit is driven at a second pulse interval that is larger than the m interval.

そして、3番目のステップによって、上記第2のパルス
間隔よりも小さい第3のパルスTm tiで上記モータ
駆動回路が駆動される。
Then, in a third step, the motor drive circuit is driven with a third pulse Tm ti that is smaller than the second pulse interval.

[実施例] この発明の実施例を使用したカラープリンタの構成を第
3図を参照しながら説明する。
[Embodiment] The configuration of a color printer using an embodiment of the present invention will be described with reference to FIG.

第3図は、この発明の実施例を使用したカラープリンタ
を示すブロック図である。
FIG. 3 is a block diagram showing a color printer using an embodiment of the invention.

第3図において、カラープリンタは、MPU (マイク
ロプロセッサ)(1)と、このMPU(1)に接続され
たアドレス/データバス(2)と、このアドレス/デー
タバス(2)に接続されたプロダラムメモリ(3)と、
アドレス/データバス(2)に接続されたデータメモリ
(4)と、アドレス/データバス(2)に接続されたデ
ータ入力回路(5)と、基準クロック発生回路(6)と
、この基準クロック発生回路(6)及びアドレス/デー
タバス(2)に入力側が接続されかつMPU(1)に出
力側が接続されな割込発生タイマ回路(7)と、アドレ
ス/データバス(2)に接続されたモータ駆動回路(8
)と、このモータ駆動回路(8)に接続された用紙搬送
用のステッピングモータ(9)と、アドレス/データバ
ス〈2〉に接続されたサーマルヘッド駆動回路(10)
と、このサーマルヘッド駆動回路(10)に接続された
サーマルヘッド(11)とから構成されている。
In Figure 3, a color printer consists of an MPU (microprocessor) (1), an address/data bus (2) connected to this MPU (1), and a processor connected to this address/data bus (2). Durham Memory (3) and
A data memory (4) connected to the address/data bus (2), a data input circuit (5) connected to the address/data bus (2), a reference clock generation circuit (6), and this reference clock generation circuit. An interrupt generation timer circuit (7) whose input side is connected to the circuit (6) and the address/data bus (2) and whose output side is not connected to the MPU (1), and a motor connected to the address/data bus (2). Drive circuit (8
), a stepping motor (9) for paper conveyance connected to this motor drive circuit (8), and a thermal head drive circuit (10) connected to the address/data bus <2>.
and a thermal head (11) connected to this thermal head drive circuit (10).

なお、データ入力回路(5)は、図示しないホストコン
ピュータに接続されている。
Note that the data input circuit (5) is connected to a host computer (not shown).

つぎに、上述したカラープリンタに使用されているステ
ッピングモータ(9)の制御方法を第1図及び第2図を
参照しながら説明する。
Next, a method of controlling the stepping motor (9) used in the color printer mentioned above will be explained with reference to FIGS. 1 and 2.

第1図はこの発明の一実施例を示すタイミングチャート
図、第2図はこの発明の一実施例によるステッピングモ
ータの振動の様子を示す特性図である。
FIG. 1 is a timing chart showing one embodiment of the present invention, and FIG. 2 is a characteristic diagram showing the state of vibration of a stepping motor according to one embodiment of the present invention.

この発明の一実施例は、例えば、カラープリンタの用紙
搬送の場合、第1図で示すように、加減速間隔のパルス
間隔t l(i= 1.2.・・・、6)でステッピン
グモータ(9)を駆動する。
In one embodiment of the present invention, for example, in the case of paper conveyance in a color printer, as shown in FIG. (9) Drive.

すなわち、カラープリンタにより印画する際、ステッピ
ングモータ(9)を1ラインあたり6パルスで駆動し、
この6パルスのパルス間隔をt +< t 2< j 
、> t 4> t sとする。
That is, when printing with a color printer, the stepping motor (9) is driven with 6 pulses per line,
The pulse interval of these 6 pulses is t + < t 2 < j
, > t 4 > t s.

ここで、第1図で示すような、パルスのタイミングを発
生させる具体的方法を説明する。
Here, a specific method for generating pulse timing as shown in FIG. 1 will be explained.

まず、MPU(1)は、モータ駆動回路(8)を駆動す
ると共に、割込発生タイマ回路(7)にパルス間隔t、
を設定する。
First, the MPU (1) drives the motor drive circuit (8) and also sends the interrupt generation timer circuit (7) with a pulse interval t.
Set.

時間t1が経過すると、割込発生タイマ回路(7)は、
MPU(1)に割込をかける。
When time t1 has elapsed, the interrupt generation timer circuit (7)
Interrupts MPU (1).

MPU(1)は、割込発生タイマ回路(7)から割込が
かけられると、モータ駆動回路(8)を駆動する共に、
割込発生タイマ回路(7)に次のパルス間隔t2を設定
する。以後、パルス間隔t。
When the MPU (1) receives an interrupt from the interrupt generation timer circuit (7), it drives the motor drive circuit (8) and
The next pulse interval t2 is set in the interrupt generation timer circuit (7). Thereafter, the pulse interval t.

〜t、についても同様な動作を繰り返し、1ライン周期
毎にパルス間隔しj〜t、でモータ駆動回路(8)を繰
り返し駆動する。
The same operation is repeated for ~t, and the motor drive circuit (8) is repeatedly driven at pulse intervals j~t for each line period.

なお、上述したパルス間隔t1〜t、は、あらかじめデ
ータメモリ(4)に記憶させておいてもよいし、外部か
ら設定できるようにしてもよい。
Note that the above-mentioned pulse intervals t1 to t may be stored in advance in the data memory (4), or may be set externally.

こうして、1ライン周期毎に、前半は加速間隔、後半は
減速間隔のパルス間隔でモータ駆動回路(8)を駆動し
ていくと、第2(2Iで示すようなステッピングモータ
(9)の振動となる。第5図で示した従来の場合に比べ
て振動が小さくなっている。
In this way, when the motor drive circuit (8) is driven at pulse intervals of the acceleration interval in the first half and the deceleration interval in the latter half for each line period, the vibration of the stepping motor (9) as shown by the second (2I) The vibration is smaller than in the conventional case shown in FIG.

この発明の一実施例は、加減速間隔のパルス間隔でステ
ッピングモータ(9)を駆動するので、ステッピングモ
ータ(9)の振動を下げることができ、したがって騒音
を小さくすることが可能となり、また、ダンパーが不用
となるのでコストダウンを図ることができる効果を奏す
る6ところで上記説明では、カラープリンタに利用する
場合について述べたが、その他の機器にも利用できるこ
とはいうまでもない。
In one embodiment of the present invention, since the stepping motor (9) is driven at the pulse interval of the acceleration/deceleration interval, the vibration of the stepping motor (9) can be reduced, and therefore the noise can be reduced. Since a damper is not required, the cost can be reduced.In the above explanation, the case where the present invention is used in a color printer has been described, but it goes without saying that it can be used in other devices as well.

[発明の効果] この発明は、以上説明したとおり、最初のタイミングで
は第1のパルス間隔でモータ駆動回路を駆動するステッ
プと、次のタイミングでは上記第1のパルス間隔よりも
大きい第2のパルス間隔で上記モータ駆動回路を駆動す
るステップと、その次のタイミングでは」ユ記第2のパ
ルス間隔よりも小さい第3のパルス間隔で上記モータ駆
動回路を駆動するステップとから成り立つので、ステッ
ピングモータの振動を小さくすることができ Q fj
を下げることができるという効果を奏する6
[Effects of the Invention] As explained above, the present invention includes the step of driving the motor drive circuit at the first pulse interval at the first timing, and the step of driving the motor drive circuit at the first pulse interval at the next timing. The step of driving the motor drive circuit at a certain interval, and the next step of driving the motor drive circuit at a third pulse interval smaller than the second pulse interval. Vibration can be reduced Q fj
6.

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

第1U′Aはこの発明の一実施例を示すタイミングチャ
ート図、第2図はこの発明の一実施例によるステッピン
グモータの振動の様子を示す特性図、第3図はこの発明
の一実施例を使用したカラーブリンクを示すブロック図
、第4図は従来のステッピングモータの制御方法を示す
タイミングチャート図、第5図は従来のステッピングモ
ータの制御方法によるステッピングモータの振動の様子
を示す特性図である。 図において、 (1) ・・・ MPU、 (2) ・・ アドレス/データバス、(3) ・・・
 プログラムメモリ、 (4)  ・・ データメモリ、 (5) ・・・ データ入力回路、 (6) ・・・ 基準クロック発生回路、(7) ・・
・ 割込発生タイマ回路、(8) ・・・ モータ駆動
回路、 (9)  ・・ ステッピングモータ、(10)  ・
・・ サーマルヘッド駆動回路、(11)  ・・・ 
サーマルヘッドである。 なお、各図中、同一符号は同一、又は相当部分を示す。
1U'A is a timing chart diagram showing one embodiment of the present invention, FIG. 2 is a characteristic diagram showing the state of vibration of a stepping motor according to one embodiment of the present invention, and FIG. 3 is a diagram showing one embodiment of the present invention. A block diagram showing the color blink used, Fig. 4 is a timing chart showing a conventional stepping motor control method, and Fig. 5 is a characteristic diagram showing the state of vibration of the stepping motor according to the conventional stepping motor control method. . In the figure, (1)...MPU, (2)...address/data bus, (3)...
Program memory, (4) ... Data memory, (5) ... Data input circuit, (6) ... Reference clock generation circuit, (7) ...
- Interrupt generation timer circuit, (8) ... Motor drive circuit, (9) ... Stepping motor, (10) -
・・ Thermal head drive circuit, (11) ・・
It is a thermal head. In each figure, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims]  最初のタイミングでは第1のパルス間隔でモータ駆動
回路を駆動するステップ、次のタイミングでは上記第1
のパルス間隔よりも大きい第2のパルス間隔で上記モー
タ駆動回路を駆動するステップ、及びその次のタイミン
グでは上記第2のパルス間隔よりも小さい第3のパルス
間隔で上記モータ駆動回路を駆動するステップから成り
立つことを特徴とするステッピングモータの制御方法。
At the first timing, the step of driving the motor drive circuit at the first pulse interval, at the next timing, the step of driving the motor drive circuit at the first pulse interval.
driving the motor drive circuit at a second pulse interval that is larger than the pulse interval; and driving the motor drive circuit at a third pulse interval that is smaller than the second pulse interval at the next timing. A method for controlling a stepping motor, comprising:
JP12789089A 1989-05-23 1989-05-23 Method of controlling stepping motor Pending JPH02307394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12789089A JPH02307394A (en) 1989-05-23 1989-05-23 Method of controlling stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12789089A JPH02307394A (en) 1989-05-23 1989-05-23 Method of controlling stepping motor

Publications (1)

Publication Number Publication Date
JPH02307394A true JPH02307394A (en) 1990-12-20

Family

ID=14971193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12789089A Pending JPH02307394A (en) 1989-05-23 1989-05-23 Method of controlling stepping motor

Country Status (1)

Country Link
JP (1) JPH02307394A (en)

Similar Documents

Publication Publication Date Title
JPH0121718B2 (en)
JPH02307394A (en) Method of controlling stepping motor
US4314769A (en) Acoustical tone generator
JPH01214299A (en) Controller for stepping motor
JPH02307395A (en) Method of starting stepping motor
US7328334B2 (en) Hardware initialization with or without processor intervention
JP3613289B2 (en) Numerical controller for distributed numerical control system and data transmission system using the same
JPS59188395A (en) Driving method of step motor
JPH0447841B2 (en)
JP2827891B2 (en) Step motor drive
JPH06245590A (en) Pulse motor control method and printer using the same
JP2687554B2 (en) Magnetic recording device
JPH041705B2 (en)
JPS62281797A (en) Drive control of stepping motor
JPS586557A (en) Magnetic disc device
JPH03234549A (en) Printer control system
JPH05105389A (en) Drum rotation sensor
JPH02307393A (en) Method of controlling stepping motor
JPS63127302A (en) Electronic equipment
JPH02105373A (en) Floppy disk device
JPS58110818U (en) Recording paper feeding device
JPS6315699A (en) Pulse motor control system
JPS63148898A (en) Stepping motor driving system
JPS6341168A (en) Thermal transfer printer
KR970008826A (en) Low Vibration Drive and Control Method of Stepping Motor Using Central Processing Unit