JPH0744877B2 - Pulse motor drive circuit - Google Patents

Pulse motor drive circuit

Info

Publication number
JPH0744877B2
JPH0744877B2 JP61090313A JP9031386A JPH0744877B2 JP H0744877 B2 JPH0744877 B2 JP H0744877B2 JP 61090313 A JP61090313 A JP 61090313A JP 9031386 A JP9031386 A JP 9031386A JP H0744877 B2 JPH0744877 B2 JP H0744877B2
Authority
JP
Japan
Prior art keywords
pulse
pulse motor
pulse width
motor
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61090313A
Other languages
Japanese (ja)
Other versions
JPS62247798A (en
Inventor
一郎 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61090313A priority Critical patent/JPH0744877B2/en
Publication of JPS62247798A publication Critical patent/JPS62247798A/en
Publication of JPH0744877B2 publication Critical patent/JPH0744877B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 パルスモータをロックする際、ロック駆動電流供給のた
めに専用の回路や信号を不要とするパルスモータ駆動回
路を提供する。
The present invention provides a pulse motor drive circuit that does not require a dedicated circuit or signal for supplying a lock drive current when locking a pulse motor.

〔産業上の利用分野〕[Industrial application field]

本発明はパルスモータをロックする場合に、ロック用の
駆動電流を発生する専用回路や信号を不要とするパルス
モータ駆動回路に関する。
The present invention relates to a pulse motor drive circuit that does not require a dedicated circuit for generating a drive current for locking or a signal when locking a pulse motor.

パルスモータは加えられたパルス数と回転角が一致し、
累積誤差が発生しないため、フィードバック回路の無
い、即ちオープンループ制御が可能な位置決め機構を構
成することが出来る。
The pulse motor has the same number of applied pulses and the same rotation angle,
Since a cumulative error does not occur, it is possible to configure a positioning mechanism without a feedback circuit, that is, capable of open loop control.

ところで、パルスモータが駆動する位置決め機構が機構
的に安定しており、パルスモータの保持トルクで十分に
停止していることが可能な場合は良いが、機構的に不安
定な場合はパルスモータにロック用の駆動電流を供給し
て、この位置決め機構が所定の位置で停止した状態を維
持するようにしている。
By the way, it is good if the positioning mechanism driven by the pulse motor is mechanically stable and can be stopped sufficiently by the holding torque of the pulse motor. A driving current for locking is supplied to maintain the positioning mechanism stopped at a predetermined position.

このようにパルスモータにロック用駆動電流を供給する
場合、専用の回路や信号は不要であることが望ましい。
When supplying the lock drive current to the pulse motor in this way, it is desirable that no dedicated circuit or signal is required.

〔従来の技術〕[Conventional technology]

パルスモータによる位置決め機構の一例として、熱転写
プリンタのサーマルヘッド退避機構を説明する。
A thermal head retracting mechanism of a thermal transfer printer will be described as an example of a positioning mechanism using a pulse motor.

熱転写プリンタはサーマルヘッドの発熱体を加熱し、リ
ボンのインクを溶かして用紙上に転写することで、印字
を行っている。
The thermal transfer printer heats a heating element of a thermal head, melts ink on a ribbon, and transfers the melted ink onto a sheet to perform printing.

従って、リボンはサーマルヘッドにより、用紙上に密着
するため、リボンが用紙を擦ることで用紙を汚染しない
ように、サーマルヘッドの移動速度ど同じ速度で巻き取
られる。
Therefore, the ribbon is brought into close contact with the paper by the thermal head, so that the ribbon is wound at the same speed as the moving speed of the thermal head so as not to contaminate the paper by rubbing the paper.

そしてリボン節約のため印字しない時は、サーマルヘッ
ドを印字位置から退避させ、リボンを用紙上から離すと
共に、リボン巻き取りを停止するようにしている。
When printing is not performed to save the ribbon, the thermal head is retracted from the printing position, the ribbon is separated from the paper, and the ribbon winding is stopped.

そして、このサーマルヘッドを印字位置と退避位置とに
移動させる動力源として、パルスモータが使用されてい
る。これは、前記の如くパルスモータがオープンループ
制御により、正確にサーマルヘッドの位置決めを行える
ためである。
A pulse motor is used as a power source for moving the thermal head between the printing position and the retracted position. This is because the pulse motor can accurately position the thermal head by the open loop control as described above.

ところで、熱転写プリンタのリボンは一度使用した部分
は二度と使用出来ないため、リボン節約が重要である。
このため、サーマルヘッドの退避位置を必要最小限の距
離とした小退避位置と、通常の退避位置を大退避位置と
した、退避位置の選別を行ってサーマルヘッドの退避制
御を実施しているものがある。
By the way, since the ribbon of the thermal transfer printer cannot be used again after being used once, it is important to save the ribbon.
Therefore, the retreat control of the thermal head is performed by selecting the retreat position where the retreat position of the thermal head is the minimum retreat distance and the normal retreat position is the retreat position. There is.

即ち、一行中に印字が行われない部分が存在し、サーマ
ルヘッドを小退避位置に退避した時に、リボン節約を行
うことが可能な場合、小退避位置にサーマルヘッドを退
避させ、改行やリボン交換時にはサーマルヘッドを大退
避位置に退避させるものである。
That is, if there is a part where printing is not performed in one line and ribbon saving can be performed when the thermal head is retracted to the small retracted position, the thermal head is retracted to the small retracted position and line feed or ribbon replacement is performed. Sometimes the thermal head is retracted to the large retracted position.

第4図はアプローチ/エスケープ状態を説明する図であ
る。
FIG. 4 is a diagram for explaining the approach / escape state.

サーマルヘッドが用紙に密着したアプローチ状態と、退
避したエスケープ状態とを実現するため、パルスモータ
の軸に、例えば溝22を設けたカム21が取付けられてお
り、カム21が矢印Eの方向に回転すると、溝22は点線2
2′に示す如く動き、溝22に沿って摺動するレバー23は
点線23′に示す如く変位し、支点Gによりその先端も点
線で示す如く変位する。
In order to realize the approach state in which the thermal head is in close contact with the sheet and the escape state in which the thermal head is retracted, a cam 21 provided with, for example, a groove 22 is attached to the shaft of the pulse motor, and the cam 21 rotates in the direction of arrow E. Then, the groove 22 becomes the dotted line 2
The lever 23 which moves as shown by 2'and slides along the groove 22 is displaced as shown by a dotted line 23 ', and the tip of the lever 23 is also displaced by the fulcrum G as shown by a dotted line.

従って、レバー23に取付けられたエスケープ状態(大退
避位置に退避している)のサーマルヘッド13は、アプロ
ーチ状態となり、点線で示すサーマルヘッド13′の位置
に移動する。従って、サーマルヘッド13′をエスケープ
状態とするには、カム21を矢印F方向に回転させる。
Therefore, the escaped thermal head 13 (retracted to the large retracted position) attached to the lever 23 enters the approach state and moves to the position of the thermal head 13 'shown by the dotted line. Therefore, in order to bring the thermal head 13 'into the escaped state, the cam 21 is rotated in the arrow F direction.

ところで、リボン節約のため、サーマルヘッドを退避さ
せる場合、サーマルヘッドの移動距離が小さい程、移動
に要する時間が少ないため、節約効果が大きい。従っ
て、リボン節約のためにサーマルヘッドの退避を行う
時、カム21の回転量を少なくして、レバー23を一点鎖線
で示す23″の位置に移動させ、サーマルヘッド13′を1
3″に示す如く小退避位置に移動させている。
By the way, in order to save the ribbon, when the thermal head is retracted, the smaller the moving distance of the thermal head is, the less time it takes to move the thermal head. Therefore, when the thermal head is retracted in order to save the ribbon, the rotation amount of the cam 21 is reduced and the lever 23 is moved to the position 23 ″ shown by the alternate long and short dash line to move the thermal head 13 ′ to 1
It is moved to the small retracted position as shown in 3 ".

この場合、レバー23″は溝22のに示す傾斜した位置で
停止することとなり、機構的に不安定のため、パルスモ
ータの保持トルクだけでは、停止していることが出来な
い。
In this case, the lever 23 ″ is stopped at the inclined position shown by the groove 22, which is mechanically unstable and cannot be stopped only by the holding torque of the pulse motor.

従って、パルスモータにロック用駆動電流を供給して、
この小退避位置にレバー23″を停止させているが、この
ロック用駆動電流は、パルスモータを焼損させずに、且
つ、所定の保持力を発生させる必要がある。
Therefore, by supplying the lock drive current to the pulse motor,
Although the lever 23 ″ is stopped at this small retracted position, this lock drive current must generate a predetermined holding force without burning the pulse motor.

第5図は従来のパルスモータ駆動回路の一例を示す図
で、第6図は第5図の各部波形を示すタイムチャートで
ある。
FIG. 5 is a diagram showing an example of a conventional pulse motor drive circuit, and FIG. 6 is a time chart showing waveforms at various parts in FIG.

端子A,B,C,Dからパルスモータ20を駆動する信号が、第
6図(a)のA,B,C,Dに夫々示す如く入る。即ち、パル
スモータ20は4相であり、各励磁相A,B,C,DにはCD,DA,A
B,BCと順次励磁電流が供給され、C相で停止する場合は
C相にロック用駆動電流が供給されるように、駆動信号
が供給される。
Signals for driving the pulse motor 20 are input from terminals A, B, C, and D to A, B, C, and D of FIG. 6 (a), respectively. That is, the pulse motor 20 has four phases, and each excitation phase A, B, C, D has CD, DA, A
Excitation current is sequentially supplied to B and BC, and a drive signal is supplied so that the lock drive current is supplied to the C phase when the C phase is stopped.

更に端子Lからは、第6図(a)のLに示す如く、ロッ
ク信号が供給され、OR回路26を経てAND回路27〜30に送
出される。又チョッパクロック発生器25は第6図(a)
のチョッパクロックに示す如く、端子A〜Dから入る駆
動信号の周期の1/10〜1/数十の周期を持つパルスをOR回
路2に送出する。
Further, as shown by L in FIG. 6A, a lock signal is supplied from the terminal L, and is sent to the AND circuits 27 to 30 via the OR circuit 26. The chopper clock generator 25 is shown in Fig. 6 (a).
As shown in the chopper clock of 1), a pulse having a period of 1/10 to 1 / several tens of the period of the drive signal input from the terminals A to D is sent to the OR circuit 2.

従って、ドライバ31はパルスモータ20の各励磁相A〜D
に、夫々第6図(b)のA〜Dに示す如き駆動を電流を
電源Vから流すことが出来る。そして、パルスモータ20
のC相には、第6図(b)のCに示す如く、一定時間直
流のロック駆動電流が流れた後、高周波パルスによるロ
ック駆動電流が流れる。このように高周波パルスのロッ
ク電流を流すことによりC相に流れる平均電流を低減し
てパルスモータの焼損を防止している。
Therefore, the driver 31 controls the excitation phases A to D of the pulse motor 20.
In addition, it is possible to supply current from the power supply V as shown in A to D of FIG. 6 (b). And the pulse motor 20
In the C phase, as shown by C in FIG. 6 (b), after the DC lock drive current flows for a certain period of time, the lock drive current due to the high frequency pulse flows. In this way, by flowing the lock current of the high frequency pulse, the average current flowing in the C phase is reduced to prevent burnout of the pulse motor.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記の如く従来は、ロック駆動電流を供給するため、専
用のチョッパクロック発生器25、OR回路26及びロック信
号を必要とし、回路が複雑で高価であるという問題があ
る。
As described above, in the related art, since the lock drive current is supplied, the dedicated chopper clock generator 25, the OR circuit 26 and the lock signal are required, and there is a problem that the circuit is complicated and expensive.

本発明はこのような問題点に鑑み、パルスモータを駆動
する際、パルスモータの回転をスタート時には徐々に速
くするため、パルス幅が長く周期の長いパルスから順次
パルス幅が短く周期の短いパルスを供給し、停止時には
徐々に遅くするため、パルス幅が短く周期の短いパルス
から順次パルス幅が長く周期の長いパルスを供給する制
御を行うが、パルスモータをロックする時にも回転時の
パルス幅が短く周期の短いパルスを供給することで、平
均電流を低減してパルスモータを焼損することなく、所
定の保持力が得られることを利用するものである。
In view of such a problem, the present invention, when driving the pulse motor, gradually increases the rotation of the pulse motor at the start, so that a pulse having a long pulse width, a pulse having a long cycle, and a pulse having a short pulse width and a short pulse are sequentially arranged. Since it is supplied and gradually delayed when stopped, it is controlled to supply pulses with a long pulse width and a long pulse cycle from a pulse with a short pulse width and a short cycle, but the pulse width during rotation is also locked when the pulse motor is locked. By utilizing the fact that a short holding period pulse is supplied, a predetermined holding force can be obtained without reducing the average current and burning the pulse motor.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

1はワードプロセッサやパーソナルコンピュータ等の上
位装置、2は上位装置1の表示部、3は上位装置の本
体、4は命令やデータを本体3に入力するキーボードで
ある。
Reference numeral 1 is a host device such as a word processor or personal computer, 2 is a display unit of the host device 1, 3 is a body of the host device, and 4 is a keyboard for inputting commands and data to the body 3.

5は上位装置1の制御により文字等を印刷する熱転写プ
リンタ、6は上位装置1が送出する印字データに基づ
き、熱転写プリンタ5全体を制御して、印字動作を行う
と共に、パルスモータに正回転又は逆回転又は停止を行
わせるために必要な励磁相切替順序データと、パルス幅
の異なる駆動電流を生成するために必要なパルス幅デー
タとを記憶する記憶手段と、被制御物体の移動方向と停
止位置から定まるパルスモータの回転方向と停止位置に
よって記憶手段から読出した励磁相切替順序データに基
づき、駆動電流を順次切替えて供給する励磁相を決定す
ると共に、パルスモータを加速する場合は記憶手段から
順次パルス幅の短くなるパルス幅データを読出し、パル
スモータを減速する場合は記憶手段から順次パルス幅の
長くなるパルス幅データを読出し、パルスモータを停止
させる場合は記憶手段から停止に必要なパルス幅データ
を読出して、パルスモータを駆動する駆動手段に供給す
るプロセッサとから構成される制御手段である。
Reference numeral 5 denotes a thermal transfer printer that prints characters and the like under the control of the higher-level device 1, and 6 controls the entire thermal transfer printer 5 based on the print data sent by the higher-level device 1 to perform a printing operation and to rotate the pulse motor forward or forward. Excitation phase switching sequence data required for reverse rotation or stop, and storage means for storing pulse width data required for generating drive currents having different pulse widths, moving direction and stop of the controlled object Based on the excitation phase switching sequence data read from the storage means depending on the rotation direction and the stop position of the pulse motor determined from the position, the excitation current is sequentially switched to determine the excitation phase to be supplied, and when accelerating the pulse motor, the storage means is used. When the pulse width data for which the pulse width is gradually shortened is read and the pulse motor is decelerated, the pulse width data for which the pulse width is sequentially increased is stored in the storage means. It reads the data, if stopping the pulse motor reads the pulse width data necessary to stop from the storage means, a control means comprised of a processor for supplying to the drive means for driving the pulse motor.

熱転写プリンタ5の制御手段6は、記憶手段に格納され
ているパルスモータを駆動する際に使用するパルス幅が
短く周期の短いパルス幅データを読出し、このパルス幅
データに基づき、パルスモータをロックする駆動電流を
作成させて供給する構成とする。
The control means 6 of the thermal transfer printer 5 reads out pulse width data having a short pulse width and a short cycle used when driving the pulse motor stored in the storage means, and locks the pulse motor based on the pulse width data. The drive current is created and supplied.

〔作用〕[Action]

上記構成とすることにより、制御手段6はパルスモータ
を焼損することなく、所定の保持力が得られるロック用
の駆動電流をパルスモータに供給することが出来る。
With the above-described configuration, the control unit 6 can supply a lock drive current to the pulse motor that can obtain a predetermined holding force without burning the pulse motor.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す回路のブロック図であ
る。
FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.

プロセッサ7はROM8からプログラムを読出して動作す
る。このROM8には、前記の如く熱転写プリンタ5全体を
制御して印字動作を行わせるプログラムの外に、パルス
モータ20の正回転又は逆回転又は停止を行わせるために
必要な励磁相切替順序データと、パルス幅の異なる駆動
電流を生成するために必要なパルス幅データとが格納さ
れている。
The processor 7 operates by reading the program from the ROM 8. In the ROM 8, in addition to the program for controlling the entire thermal transfer printer 5 to perform the printing operation as described above, the excitation phase switching sequence data necessary for performing the forward rotation, the reverse rotation, or the stop of the pulse motor 20 is stored. , Pulse width data required to generate drive currents having different pulse widths are stored.

従って、プロセッサ7は第1図に示すワードプロセッサ
の如き上位装置1から、インタフェース回路10を経て印
字データが入ると、この印字データをRAM11に格納する
と共に、一行分の印字データから印字しない部分の長さ
を算出してRAM11に格納する。
Therefore, when the processor 7 receives print data from the host device 1 such as the word processor shown in FIG. 1 through the interface circuit 10, the print data is stored in the RAM 11 and the length of the portion of the print data for one line that is not printed is increased. It is calculated and stored in the RAM 11.

そして、プロセッサ7はアプローチ/エスケープ制御用
ポート18を経て、ドライバ19にパルスモータ20を駆動す
る信号を送出する。
Then, the processor 7 sends a signal for driving the pulse motor 20 to the driver 19 via the approach / escape control port 18.

即ち、パルスモータスタート時には、プロセッサ7はパ
ルスモータ20を回転させたい方向の励磁相切替順序デー
タとパルス幅データをROM8から読出し、励磁相切替順序
データをアプローチ/エスケープ制御用ポート18にセッ
トして、この励磁相切替順序データに基づき、ドライバ
19を駆動させてパルスモータ20の2相励磁を行う場合、
例えば励磁相AとBに駆動電流を供給させ、同時にソフ
トタイマにパルス幅データをセットして、このパルス幅
データの時間の計数を開始させる。
That is, when starting the pulse motor, the processor 7 reads the excitation phase switching sequence data and the pulse width data in the direction in which the pulse motor 20 is desired to rotate from the ROM 8, and sets the excitation phase switching sequence data in the approach / escape control port 18. , Driver based on this excitation phase switching sequence data
When driving 19 to perform two-phase excitation of the pulse motor 20,
For example, a drive current is supplied to the excitation phases A and B, pulse width data is set in the soft timer at the same time, and counting of the time of this pulse width data is started.

そして、プロセッサ7は、このパルス幅データの時間計
数完了によって次の励磁相切替順序データとパルス幅デ
ータとをROM8から読出し、この励磁相切替順序データを
アプローチ/エスケープ制御用ポート18にセットして、
この励磁相切替順序データに基づき、ドライバ19を駆動
させてパルスモータ20の励磁相BとCに駆動電流を供給
させ、同時にソフトタイマにパルス幅データをセットし
て、このパルス幅データの時間の計数を開始させる。
Then, the processor 7 reads the next excitation phase switching order data and the pulse width data from the ROM 8 upon completion of the time counting of the pulse width data, and sets the excitation phase switching order data in the approach / escape control port 18. ,
Based on this excitation phase switching sequence data, the driver 19 is driven to supply the drive current to the excitation phases B and C of the pulse motor 20, and at the same time, the pulse width data is set in the soft timer, and the time of this pulse width data is set. Start counting.

そして、プロセッサ7は、このパルス幅データの時間計
数完了によって次の励磁相切替順序データとパルス幅デ
ータとをROM8から読出し、この励磁相切替順序データを
アプローチ/エスケープ制御用ポート18にセットして、
この励磁相切替順序データに基づき、ドライバ19を駆動
させてパルスモータ20の励磁相CとDに駆動電流を供給
させ、同時にソフトタイマにパルス幅データをセットし
て、このパルス幅データの時間の計数を開始させる。
Then, the processor 7 reads the next excitation phase switching order data and the pulse width data from the ROM 8 upon completion of the time counting of the pulse width data, and sets the excitation phase switching order data in the approach / escape control port 18. ,
Based on this excitation phase switching sequence data, the driver 19 is driven to supply the drive current to the excitation phases C and D of the pulse motor 20, and at the same time, the pulse width data is set in the soft timer, and the time of this pulse width data is set. Start counting.

そして、プロセッサ7は、このパルス幅データの時間計
数完了によって次の励磁相切替順序データとパルス幅デ
ータとをROM8から読出し、前記同様パルスモータ20の次
の2相を励磁すると共に、パルス幅データの時間を計数
させ、ROM8から次のデータを読出す動作を繰り返す。
Then, the processor 7 reads the next excitation phase switching sequence data and the pulse width data from the ROM 8 upon completion of the time counting of the pulse width data, excites the next two phases of the pulse motor 20 in the same manner as described above, and at the same time, outputs the pulse width data. Then, the operation of reading the next data from the ROM 8 is repeated.

プロセッサ7はROM8からパルス幅データを読出す時、パ
ルスモータ20を加速する場合には、パルス幅が順次短く
なる順に読出すため、ソフトタイマの計数時間は、パル
ス幅に対応して短くなる。従って、パルスモータ20の各
励磁相には順次短くなる周期で順次パルス幅が短くなる
駆動電流が供給されるため、パルスモータ20の回転速度
は順次速くなる。
When accelerating the pulse motor 20 when reading the pulse width data from the ROM 8, the processor 7 reads the pulse widths in the order of decreasing pulse widths, so that the counting time of the soft timer decreases corresponding to the pulse widths. Therefore, a driving current whose pulse width is sequentially shortened at a cycle that is shortened is supplied to each excitation phase of the pulse motor 20, so that the rotation speed of the pulse motor 20 is sequentially increased.

プロセッサ7はROM8から最も短いパルス幅データを読出
すと、次からは励磁相切替順序データのみROM8から読出
し、パルス幅データの読出しは行わず、読出した励磁相
切替順序データをアプローチ/エスケープ制御用ポート
18にセットし、ソフトタイマには最も短いパルス幅デー
タの時間を計数させる動作を継続する。
When the processor 7 reads the shortest pulse width data from the ROM 8, only the excitation phase switching order data is read from the ROM 8 from then onward, and the pulse width data is not read. The read excitation phase switching order data is used for approach / escape control. port
Set to 18 and continue the operation to make the soft timer count the time of the shortest pulse width data.

従って、パルスモータ20は最高速度での定速回転を維持
する。
Therefore, the pulse motor 20 maintains the constant speed rotation at the maximum speed.

パルスモータ20を減速させる場合には、プロセッサ7は
前記加速する場合とは逆に順次パルス幅が長くなるパル
ス幅データを用いて、前記加速時と同様の処理を実行す
る。
When decelerating the pulse motor 20, the processor 7 performs the same process as that at the time of acceleration by using the pulse width data in which the pulse width becomes longer in sequence contrary to the case of the acceleration.

即ち、プロセッサ7はROM8から加速する場合とは逆のア
ドレスにより、パルス幅が順次長くなるパルス幅データ
を、ソフトタイマの計数完了毎に読出す。
That is, the processor 7 reads out from the ROM 8 the pulse width data in which the pulse width is sequentially lengthened every time the counting of the soft timer is completed, by the address opposite to that in the case of acceleration.

そして、このパルス幅データをソフトタイマにセットし
て時間を計数させ、この時間計数が完了する度に、ROM8
から読出す励磁相切替順序データをアプローチ/エスケ
ープ制御用ポート18にセットして、この励磁相切替順序
データに基づき、ソフトタイマがセットされたパルス幅
を計数する時間、ドライバ19を駆動させてパルスモータ
20の励磁相に駆動電流を供給させる。
Then, set this pulse width data in the soft timer to count the time.
The excitation phase switching sequence data to be read from is set in the approach / escape control port 18, and the driver 19 is driven to pulse for the time for counting the set pulse width by the soft timer based on the excitation phase switching sequence data. motor
Drive current is supplied to 20 excitation phases.

従って、パルスモータ20の各励磁相には順次長くなる周
期で順次パルス幅が長くなる駆動電流が供給されるた
め、パルスモータ20の回転速度は順次遅くなる。
Therefore, since a drive current whose pulse width is sequentially increased with a cycle that is sequentially increased is supplied to each excitation phase of the pulse motor 20, the rotation speed of the pulse motor 20 is gradually decreased.

パルスモータ20の停止位置では、プロセッサ7はROM8か
ら停止に必要な励磁相切替順序データとパルス幅データ
を読出すと、この励磁相切替順序データをアプローチ/
エスケープ制御用ポート18にセットし、パルス幅データ
をソフトタイマにセットする。
At the stop position of the pulse motor 20, the processor 7 reads from the ROM 8 the excitation phase switching order data and the pulse width data necessary for stopping, and approaches this excitation phase switching order data /
Set it to the escape control port 18 and set the pulse width data to the soft timer.

第3図はパルスモータ駆動波形を示すタイムチャートで
ある。
FIG. 3 is a time chart showing pulse motor drive waveforms.

第3図は減速から停止までのパルスモータ駆動波形のタ
イムチャートであり、本実施例では2相励磁、1相停止
の例であり、BC相→CD相→DA相→AB相→BC相と励磁され
た後、C相で停止ロックとなっている。
FIG. 3 is a time chart of pulse motor drive waveforms from deceleration to stop. In the present embodiment, it is an example of two-phase excitation and one-phase stop. BC phase → CD phase → DA phase → AB phase → BC phase. After being excited, it is in stop lock at phase C.

この停止相であるC相は、例えば、プロセッサ7が、最
後にROM8から読出された励磁相切替順序データが示すBC
相と、次にROM8に格納されている励磁相切替順序データ
のCD相とから中間のC相を算出する。
The C phase, which is the stop phase, is, for example, BC indicated by the excitation phase switching sequence data last read from the ROM 8 by the processor 7.
The intermediate C phase is calculated from the phase and the CD phase of the excitation phase switching sequence data stored in the ROM 8 next.

プロセッサ7は、第3図に示す停止ロックが完了するタ
イミングを計数するソフトタイマの時間計数完了によ
り、停止相Cに供給する励磁電流を停止するため、アプ
ローチ/エスケープ制御用ポート18にオフデータをセッ
トすると共に、ソフトタイマにはROM8に格納されている
最も短いパルス幅のパルス幅データを読出してセットす
る。
The processor 7 stops the exciting current supplied to the stop phase C by the completion of the time counting by the soft timer for counting the timing when the stop lock shown in FIG. 3 is completed, and therefore the off data is output to the approach / escape control port 18. At the same time as setting, the pulse width data of the shortest pulse width stored in ROM8 is read and set in the soft timer.

そして、ソフトタイマがセットされたパルス幅データの
時間計数を完了させると、停止相Cを再びアプローチ/
エスケープ制御用ポート18にセットすると共に、ソフト
タイマには前記最も短いパルス幅のパルス幅データをセ
ットして、停止相Cに第3図間欠ロックに示す如く、短
いパルス幅の駆動電流をドライバ19に供給させる処理を
実行し、この処理を繰り返すことで間欠的に短いパルス
幅の駆動電流をC相に流す。
When the soft timer completes the time counting of the set pulse width data, the stop phase C is approached again /
While setting to the escape control port 18, the pulse width data of the shortest pulse width is set in the soft timer, and the driving current of the short pulse width is set in the stop phase C as shown in the intermittent lock in FIG. Is performed, and a driving current having a short pulse width is intermittently supplied to the C phase by repeating this processing.

従って、C相に流れる平均電流を低くおさえ、パルスモ
ータ20に焼損を発生させることなく所定の保持力を維持
させることが出来る。
Therefore, the average current flowing in the C phase can be suppressed to a low level, and the pulse motor 20 can maintain a predetermined holding force without causing burnout.

プロセッサ7は上記の如くパルスモータ20を制御して、
第4図に示すカム21を回転させて、レバー23を23′の位
置に変位させ、サーマルヘッド13をアプローチ状態とす
ると共に、RAM11から読出した印字データから文字コー
ドを抽出して、文字発生回路9から該当する文字パター
ンを読出し、ヘッド制御回路12を経てサーマルヘッド13
に送出し、発熱体を加熱させリボンのインクを用紙上に
転写させる。
The processor 7 controls the pulse motor 20 as described above,
The cam 21 shown in FIG. 4 is rotated to displace the lever 23 to the position 23 'to bring the thermal head 13 into the approach state, and at the same time, the character code is extracted from the print data read from the RAM 11 to generate the character generation circuit. The corresponding character pattern is read from 9 and the thermal head 13 is passed through the head control circuit 12.
Then, the heating element is heated to transfer the ink on the ribbon onto the paper.

同時にスペース制御回路16を経てスペースモータ17を駆
動し、サーマルヘッド13を印字位置に位置付けし、スペ
ース動作を行わせる。
At the same time, the space motor 17 is driven through the space control circuit 16 to position the thermal head 13 at the printing position and the space operation is performed.

プロセッサ7は一行中に印字しない部分があり、サーマ
ルヘッド13の退避処理が可能であると、パルスモータ20
を制御して、第4図に示すカム21を回転させ、レバー2
3′を23″の位置に変位させ、サーマルヘッド13′を1
3″に示す如く小退避位置に退避させる。
When the processor 7 has a portion which is not printed in one line and the thermal head 13 can be retracted, the pulse motor 20
Is controlled to rotate the cam 21 shown in FIG.
Displace the 3'to the 23 "position and set the thermal head 13 'to 1
Retract to the small retracted position as shown in 3 ".

この時、レバー23″の位置は機構的に不安定であるが、
パルスモータ20に上記の如くロック駆動電流が供給され
るため、第4図に示す小退避位置にサーマルヘッド13″
を保持することが出来る。
At this time, the position of the lever 23 ″ is mechanically unstable,
Since the lock drive current is supplied to the pulse motor 20 as described above, the thermal head 13 ″ is placed in the small retracted position shown in FIG.
Can hold.

サーマルヘッド13が印字の可能な位置に到達すると、プ
ロセッサ7はパルスモータ20を制御して、サーマルヘッ
ド13を再びアプローチ状態とする。
When the thermal head 13 reaches the printable position, the processor 7 controls the pulse motor 20 to bring the thermal head 13 into the approach state again.

プロセッサ7は印字データから改行コードを検出する
と、アプローチ/エスケープ制御回路18を経てパルスモ
ータ20の駆動し、大退避位置にサーマルヘッド13を退避
させ、改行制御回路14を経て改行モータ15を駆動し、用
紙送りを行わせる。
When the processor 7 detects a line feed code from the print data, it drives the pulse motor 20 via the approach / escape control circuit 18, retracts the thermal head 13 to the large retracted position, and drives the line feed motor 15 via the line feed control circuit 14. , Feed the paper.

又最後に改行コードが無い場合でも、リボン交換及び用
紙セット等を用意に行えるように、一行分の印字終了時
に、上記同様サーマルヘッド13を大退避位置に退避させ
る。
Further, even when there is no line feed code at the end, the thermal head 13 is retracted to the large retracted position at the end of printing for one line so that ribbon replacement and paper setting can be performed easily.

〔発明の効果〕〔The invention's effect〕

以上説明した如く、本発明はパルスモータにロック駆動
電流を供給する場合、専用の回路や信号を不要とするこ
とが出来る。
As described above, the present invention can eliminate the need for a dedicated circuit or signal when supplying the lock drive current to the pulse motor.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す回路のブロック図、 第3図はパルスモータ駆動波形を示すタイムチャート、 第4図はアプローチ/エスケープ状態を説明する図、 第5図は従来のパルスモータ駆動回路の一例を示す図、 第6図は第5図の各部波形を示すタイムチャートであ
る。 図において、 1は上位装置、2は表示部、 3は本体、4はキーボード、 5は熱転写プリンタ、6は制御手段、 7はプロセッサ、8はROM、 9は文字発生回路、10はインタフェース回路、 11はRAM、12はヘッド制御回路、 13はサーマルヘッド、14は改行制御回路、 15は改行モータ、16はスペース制御回路、 17はスペースモータ、18はアプローチ/エスケープ制御
用ポート、 19,31はドライバ、20はパルスモータ、 21はカム、22は溝、 23はレバー、25はチョッパクロック発生器、 26はOR回路、27〜30はAND回路、
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, FIG. 3 is a time chart showing a pulse motor drive waveform, and FIG. 4 is an approach / escape state. FIG. 5 is an explanatory diagram, FIG. 5 is a diagram showing an example of a conventional pulse motor drive circuit, and FIG. 6 is a time chart showing waveforms of respective parts of FIG. In the figure, 1 is a host device, 2 is a display unit, 3 is a main body, 4 is a keyboard, 5 is a thermal transfer printer, 6 is control means, 7 is a processor, 8 is a ROM, 9 is a character generation circuit, 10 is an interface circuit, 11 is RAM, 12 is head control circuit, 13 is thermal head, 14 is line feed control circuit, 15 is line feed motor, 16 is space control circuit, 17 is space motor, 18 is approach / escape control port, 19, 31 is Driver, 20 is a pulse motor, 21 is a cam, 22 is a groove, 23 is a lever, 25 is a chopper clock generator, 26 is an OR circuit, 27 to 30 are AND circuits,

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】パルスモータの各励磁相に対し駆動手段を
介してパルス幅の異なる駆動電流を順次切替えて供給
し、該パルスモータの回転方向と速度とを制御すること
により、被制御物体を所定の位置に位置決めした後、該
パルスモータをロックするために高周波パルスを供給す
る位置決め制御を行う装置(5)において、 該パルスモータに正回転又は逆回転又は停止を行わせる
ために必要な励磁相切替順序データと、前記パルス幅の
異なる駆動電流を生成するために必要なパルス幅データ
とを記憶する記憶手段と、 前記被制御物体の移動方向と停止位置から定まる前記パ
ルスモータの回転方向と停止位置によって該記憶手段か
ら読出した前記励磁相切替順序データに基づき、前記駆
動電流を順次切替えて供給する前記励磁相を決定すると
共に、前記パルスモータを加速する場合は該記憶手段か
ら順次パルス幅の短くなるパルス幅データを読出し、該
パルスモータを減速する場合は該記憶手段から順次パル
ス幅の長くなるパルス幅データを読出し、該パルスモー
タを停止させる場合は該記憶手段から停止に必要なパル
ス幅データを読出して、前記駆動手段に供給するプロセ
ッサと、 から構成される制御手段(6)を設け、前記パルスモー
タを停止させる場合、前記駆動手段に該パルスモータの
前記停止に必要なパルス幅データを供給した後、該パル
スモータをロックするための前記高周波パルスの代わり
に、前記記憶手段が記憶する最もパルス幅の短いパルス
幅データを読出して該駆動手段に供給することを特徴と
するパルスモータ駆動回路。
1. A controlled object is controlled by sequentially supplying a driving current having a different pulse width to each excitation phase of a pulse motor through a driving means and controlling the rotation direction and speed of the pulse motor. In a device (5) for performing positioning control for supplying a high frequency pulse to lock the pulse motor after positioning at a predetermined position, the excitation required for causing the pulse motor to perform forward rotation, reverse rotation or stop. Storage means for storing phase switching sequence data and pulse width data necessary for generating drive currents having different pulse widths, and a rotation direction of the pulse motor determined from a moving direction and a stop position of the controlled object. Based on the excitation phase switching sequence data read from the storage means according to the stop position, the excitation current is sequentially switched to determine the excitation phase to be supplied. When accelerating the pulse motor, pulse width data whose pulse widths are sequentially shortened are read from the storage means, and when decelerating the pulse motor, pulse width data whose pulse widths are sequentially lengthened are read from the storage means. When the pulse motor is stopped, the pulse width data necessary for the stop is read from the storage means, and a processor for supplying the driving means with the processor is provided, and the pulse motor is stopped. A pulse width of the shortest pulse width stored in the storage means instead of the high frequency pulse for locking the pulse motor after the pulse width data necessary for stopping the pulse motor is supplied to the driving means. A pulse motor drive circuit for reading data and supplying the data to the drive means.
JP61090313A 1986-04-18 1986-04-18 Pulse motor drive circuit Expired - Fee Related JPH0744877B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61090313A JPH0744877B2 (en) 1986-04-18 1986-04-18 Pulse motor drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61090313A JPH0744877B2 (en) 1986-04-18 1986-04-18 Pulse motor drive circuit

Publications (2)

Publication Number Publication Date
JPS62247798A JPS62247798A (en) 1987-10-28
JPH0744877B2 true JPH0744877B2 (en) 1995-05-15

Family

ID=13995038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61090313A Expired - Fee Related JPH0744877B2 (en) 1986-04-18 1986-04-18 Pulse motor drive circuit

Country Status (1)

Country Link
JP (1) JPH0744877B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2553200B2 (en) * 1989-08-19 1996-11-13 富士通株式会社 Information processing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5246421A (en) * 1975-10-08 1977-04-13 Brother Ind Ltd Pulse motor driving device

Also Published As

Publication number Publication date
JPS62247798A (en) 1987-10-28

Similar Documents

Publication Publication Date Title
JPH0744877B2 (en) Pulse motor drive circuit
JPH06155809A (en) Dot printer
JPH028908B2 (en)
JPS58102779A (en) Control system of printing of emphatic character
JPS5932317B2 (en) Carbon ribbon drive device
US5147143A (en) Printer carriage homing mechanism
JPS60120080A (en) Carriage drive controller
JPS5874377A (en) Paper feed device for printer
JPS6157366A (en) Serial printer controller
JPH0970199A (en) Printer
JPH01243893A (en) Step motor controller
JPH0425147B2 (en)
JP2543879Y2 (en) Recording device
JPS62100196A (en) Drive circuit for stepping motor
JPH07115496B2 (en) Dot tomato printer type print control device
JP3050259B2 (en) Printing control device
JPH05330118A (en) Thermal printer
JPS60120081A (en) Carriage drive controller
JPS59140087A (en) Printer
JP2932606B2 (en) Printing device
JPH07227990A (en) Thermal recording apparatus
JPH0343869B2 (en)
JPH10226123A (en) Method and device for controlling printer
JPH02301469A (en) Carriage driving control method of serial printer
JPH07102712B2 (en) Printing control device for thermal printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees