JP3813793B2 - Driving method of stepping motor for conveyance - Google Patents

Driving method of stepping motor for conveyance Download PDF

Info

Publication number
JP3813793B2
JP3813793B2 JP2000187623A JP2000187623A JP3813793B2 JP 3813793 B2 JP3813793 B2 JP 3813793B2 JP 2000187623 A JP2000187623 A JP 2000187623A JP 2000187623 A JP2000187623 A JP 2000187623A JP 3813793 B2 JP3813793 B2 JP 3813793B2
Authority
JP
Japan
Prior art keywords
recording
stepping motor
line
current
divisions
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
JP2000187623A
Other languages
Japanese (ja)
Other versions
JP2002002049A (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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP2000187623A priority Critical patent/JP3813793B2/en
Publication of JP2002002049A publication Critical patent/JP2002002049A/en
Application granted granted Critical
Publication of JP3813793B2 publication Critical patent/JP3813793B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、搬送用ステッピングモータの駆動方法に係り、特に、所望の画像を記録するにあたり各ラインごとに分けて記録を行う場合に、各行で通電する発熱素子の数が所定数以下となるように分割通電して記録を行う、いわゆる動的分割記録を行う場合における搬送用ステッピングモータの駆動方法に関する。
【0002】
【従来の技術】
従来から、ステッピングモータは、モータの回転角や回転速度が入力パルス数や入力パルス速度に比例して定められるとともに、起動・停止特性が極めてよく、また応答性および出力が高いなどの特性を有することから、プリンタのキャリッジを駆動するキャリッジモータや記録紙を搬送する搬送用モータとして使用されている。
【0003】
そのようなステッピングモータを記録紙の搬送用ステッピングモータとして用いる一例としてラインプリンタについて説明すると、ラインプリンタには、1対のサイドフレーム間に長尺状のプラテンローラが回転自在に支持されており、このプラテンローラに対して接離自在にラインサーマルヘッドが支持レバーによってプリンタ本体に支持されている。前記ラインサーマルヘッドには、背面側に圧接用のヘッド圧接ばねが取り付けられている。また、前記ラインサーマルヘッドには、長手方向に発熱素子が整列配置されており、各発熱素子には記録データに基づいて各発熱素子への通電を選択的に制御するための通電制御部が電気的に接続されている。
【0004】
一方、プリンタ本体には、搬送用ステッピングモータが搭載されており、この搬送用ステッピングモータの駆動軸には、伝達歯車群を介して搬送ローラが連結されており、載置トレーから記録紙を取り出し、前記プラテンローラとラインサーマルヘッドとの間に供給するようになっている。また、前記搬送用ステッピングモータには、モータドライバを介して搬送制御部が接続されている。
【0005】
さらに、前記プラテンローラの記録紙搬送方向上流側にはインクリボンを供給する供給ロールが配設されているとともに、記録紙搬送方向下流側には巻取ロールが配設されている。そして、巻取ロールを回転させる巻取ボビンの駆動により、インクリボンをプラテンローラおよびラインサーマルヘッドの間に供給するようになっている。
【0006】
このような構成を有するラインプリンタにより記録を行う場合には、まず、搬送用ステッピングモータを駆動させて搬送ローラを回転させることにより載置トレーから記録紙を1枚ずつ搬送し、プラテンローラとラインサーマルヘッドとの間に供給する。記録紙が記録開始位置まで搬送されると、その記録紙およびインクリボンを介してラインサーマルヘッドがプラテンローラに圧接し、記録データに基づき通電制御部が各発熱素子を選択的に通電し、インクリボンを記録紙に溶融転写する。そして、第1ラインの記録が終了すると、前記搬送用ステッピングモータを駆動し、次の第2ラインの記録を記録データに基づいて開始する。このように最終ラインまでの記録が終了すると、カラー画像の場合には、搬送ローラを逆回転させて記録紙を一旦記録開始位置まで戻し、次の第2色目の記録を行い、最終的にイエロー、シアン、マゼンタ、ブラックの各色について記録が行われると、フルカラー画像の記録が完成する。
【0007】
ここで、前記通電制御部によるラインサーマルヘッドの各発熱素子への通電制御について説明すると、従来から、各発熱素子へ通電する場合には、図7に示すように、消費電力を抑えるという目的で、1ラインで通電させる発熱素子の数を所定数以下になるように任意に分割して通電させるように制御する、いわゆる動的分割記録が行われていた。
【0008】
このような動的分割記録によれば、1度に供給すべき電力量を抑制でき、さらに、定分割数に分割するのではなく、各ラインごとに記録に必要な通電される発熱素子の数を求めて、それぞれ最適な分割数に分割するようになっていたため、記録速度も遅くなり過ぎることはなかった。
【0009】
【発明が解決しようとする課題】
しかしながら、従来の搬送用ステッピングモータの駆動方法においては、図8に示すように、動的分割記録を行う場合に各記録ライン毎に分割数が変化されて頻繁にモータ速度が変化したとしても、搬送用ステッピングモータに流す電流値の大きさは同じままで変化させることはなかった。そのため、現記録ラインと1つ前の記録ラインとの分割数の差がない場合や小さい場合には、本来必要な電流値よりも過剰な電流値を与えてしまっており、搬送用ステッピングモータの消費電流が無駄に大きかった。
【0010】
例えば、直前の記録ラインの分割数が6に対して現記録ラインの分割数が1へと変化する場合には、搬送用ステッピングモータの速度を大きくするために電流値も大きくしなければならないが、現記録ラインと直前の記録ラインとの分割数が同じ場合には、搬送用ステッピングモータの駆動速度を変える必要がないため、付与する電流値を大きくする必要はない。しかし、従来の搬送用ステッピングモータの駆動方法では、現記録ラインと直前記録ラインとの差分にかかわらず、常に大きい値に合わせた一定の電流値を付与するようになっていたため、特に差分値が小さい場合に消費電流に無駄が生じていた。
【0011】
このように無駄にエネルギーを付与すると、モータの騒音や振動が発生してしまうという問題があった。
【0012】
本発明は、このような問題点に鑑みてなされたもので、動的分割印刷時における搬送用ステッピングモータの付与する電流値を無駄なく制御することができ、モータの騒音の低下および省エネを実現することができる搬送用ステッピングモータの駆動方法を提供することを目的としている。
【0013】
【課題を解決するための手段】
本発明の請求項1に係る搬送用ステッピングモータの駆動方法の特徴は、現記録ラインと直前の記録ラインとの分割数の差分絶対値を求めて、その差分絶対値が「0」のときには、搬送用ステッピングモータに付与する電流値を低減させるとともに差分絶対値が大きいほど搬送用ステッピングモータへ付与する電流値を大きくするように制御する点にある。そして、このような方法を採用したことにより、現記録ラインと直前の記録ラインとの分割数の差分絶対値に変化がない場合には、搬送用ステッピングモータの慣性力を利用してモータを駆動するようにすることで、より効率的に搬送用ステッピングモータへ電流を付与することができ、更に分割数の差分絶対値の大きさに応じて実際に付与する電流値が決定されるため、搬送用ステッピングモータに過剰に電流を付与してしまうこともなく、無駄なエネルギー付与を抑制することで騒音や振動の発生を防止できる。
【0015】
また、請求項に係る搬送用ステッピングモータの駆動方法の特徴は、請求項1において、現記録ラインと直前の記録ラインとの分割数の差分絶対値に基づいて付与すべき電流値を、所定のデューティ比を求めてこれに従って付与するようにした点にある。そして、このような方法を採用したことにより、例えば、分割数の差分絶対値が大きかった場合には、デューティ比を大きくすることにより、所望の電流値を適切に付与することができる。
【0016】
また、請求項に係る搬送用ステッピングモータの駆動方法の特徴は、請求項において、デューティー比に従って所定の電流値を付与する場合に、あらかじめ分割数の差分絶対値ごとに通電オン時間と通電オフ時間とを設定している点にある。そして、このような方法を採用したことにより、定型的に分割数の差分絶対値に応じた電流値を迅速かつ適切に搬送用ステッピングモータに付与することができるものである。
【0017】
【発明の実施の形態】
以下、本発明に係る搬送用ステッピングモータの駆動方法の実施の形態について図面を用いて説明する。
【0018】
本発明の搬送用ステッピングモータの駆動方法は、現記録ラインと直前の記録ラインとの分割数の差分絶対値を求めて、その差分絶対値に比例させて搬送用ステッピングモータへ流す電流値の大きさを変化させるように制御することに特徴を有している。ここで、動的分割記録とは、各色の1ライン分の記録に必要な通電する発熱素子の数を求め、一度に通電される発熱素子の数が所定数以下となるように分割通電を行って記録することをいう。通電する発熱素子の数は、例えば、画像記録データに基づいて求めるようになっている。
【0019】
図1は、本発明の搬送用ステッピングモータの駆動方法を実行するラインプリンタ1の一例を示したものである。このラインプリンタ1には、プリンタ本体2の側面位置に1対のサイドフレーム3,3が取り付けられており、これらのサイドフレーム3,3間には長尺状のプラテンローラ4が回転自在に支持されている。前記プリンタ本体2には、発熱素子が整列配置されたラインサーマルヘッド5が前記プラテンローラ4に対して接離自在に支持されている。前記ラインサーマルヘッド5には、背面側に圧接力を付与するための複数のヘッド圧接ばね6が取り付けられている。
【0020】
また、プリンタ本体2には、搬送用ステッピングモータ7が搭載されており、この搬送用ステッピングモータ7の駆動軸7aには、伝達歯車群8を介して図示しない搬送ローラが連結されており、載置トレーから記録紙(いずれも図示せず)を取り出し、前記プラテンローラ4とラインサーマルヘッド5との間に供給するようになっている。
【0021】
さらに、前記プラテンローラ4の記録紙搬送方向上流側にはインクリボンを供給する供給ロール(いずれも図示せず)が配設されているとともに、記録紙搬送方向下流側には図示しない巻取ロールが配設されている。そして、巻取ロールを回転させる図示しない巻取ボビンの駆動により、インクリボンをプラテンローラ4およびラインサーマルヘッド5の間に供給するようになっている。
【0022】
また、本実施形態で用いられる搬送用ステッピングモータ7は、一例としてバイポーラ4相モータを使用しており、図2に示すように、90度間隔で配置された第1(A)、第2(B)、第3(C)および第4(D)の磁極(相)を有する固定子10と、N極とS極とを180度間隔で有する回転自在な永久磁石からなる回転子とを備えており、この回転子に図示しない出力軸が連結されている。また、第1(A)および第3(C)の磁極には第1のコイル12が巻回され、第2(B)および第4(D)の磁極には第2のコイル13が巻回されている。
【0023】
このようなステッピングモータ1を回転駆動するために、固定子10の各相のコイル12,13に駆動信号たる励磁電流(相電流)を流すと、この電流により磁界が発生し、固定子10と回転子11との間に吸引または反発する電磁力が発生する。この相電流を順次切り換えることにより、固定子10と回転子11との間の電磁力が切り換わり、回転子11を動かすトルクとなる。
【0024】
また、本実施形態における記録紙の搬送制御およびラインサーマルヘッド5の記録制御は、図3のブロック図に示すように、CPU14がRAM15あるいはROM16に記憶されている画像記録データ15aおよび記録制御プログラム16aに基づいて行われる。すなわち、前記RAM15には、コンピュータ本体から送信された画像記録データ15aが記憶されている。また、前記ROM16には、画像記録データ15aに基づいて動的分割数を算出するなどの記録制御プログラム16aが記憶されているとともに、この記録制御プログラム16aに従って算出された動的分割数と1つ前の記録ラインのときの動的分割数との差分の絶対値を算出する差分値算出プログラム16bが記憶されている。
【0025】
さらに、前記ROM16には、差分値算出プログラム16bに従って算出される差分絶対値ごとにあらかじめ付与すべき所望の大きさの電流値が設定されているテーブル16cが記憶されている。本実施形態では、所望の電流値の付与をデューティ比による制御で実現するようになっており、実際には、分割数の差分絶対値を基準とする搬送用ステッピングモータ7への通電のオン・オフタイミングテーブル16cが記憶されている。ここで、デューティー比とは、ハイとローの通電パルスサイクル、いわゆるデューティーサイクルにおいて、ハイの通電時間の割合のことを意味する。
【0026】
そして、その通電するオン時間Tonとオフ時間Toff とを任意に設定して連続的に通電制御することにより、所望の電流値を付与するようになっている。
【0027】
また、前記オン・オフタイミングテーブル16cは、図4に示すように、例えば、分割数の差分絶対値が0から6であった場合に所望の電流値×よりもわずかに大きい電流値○を付与するようにあらかじめ設定されている。もちろん所望の電流値×と実際に付与する電流値○とが一致するように設定してもよいし、あるいは、差分絶対値が「0」の場合には、電流値を減少させるようにしてもよい。もし、差分絶対値が「0」のときは、搬送用ステッピングモータの速度を変化させる必要がないため、直前の記録ラインを記録したときの搬送用ステッピングモータに残存する駆動慣性力を利用すれば、電流値を減少させてもモータの回転速度を等速に保持することができて効率的である。
【0028】
つぎに、本実施形態の搬送用ステッピングモータ7の駆動方法について、図5および図6のフローチャートを参照しつつ説明する。
【0029】
図5には、本実施形態の画像記録データ15aの展開手順が示されており、ステップST1において、RAM15に記憶されている画像記録データ15aに基づき1ラインの通電する発熱素子数を数えてXに代入する。続いてステップST2に進行し、あらかじめ定められている最大同時発熱素子数Yにより前記Xを割った値をZとし、割り切れない余りをpとする。そして、ステップST3において、Z+pを分割数としてNと設定し、ステップST4に進行し、1ライン分の画像記録データ15aをN個に分割し、この分割数Nとともに記録バッファ17に保存し、画像記録データ15aの展開を終了する。
【0030】
続いて、図6に示すように、記録制御手順では、ステップST11において、記録バッファ17に保存されている分割数Nを取り出すとともに、ステップST12に進行して、1つ前、つまり直前の記録ラインの分割数を取り出してMとする。そして、ステップST13に進行して、前記現記録ラインの分割数Nと直前記録ラインの分割数Mとの差分を算出し、その絶対値を求めてJとする。
【0031】
続いてステップST14に進行し、ROM16に記憶されている、前記ROM16に記憶されている、分割数の差分絶対値Jをキーとする搬送用ステッピングモータ7への通電のオン・オフタイミングテーブル16cに差分絶対値Jを照会し、当該差分絶対値Jのときのアクティブパルスにおけるオン時間Tonとオフ時間Toff とを取得する。
【0032】
その後、ステップST15に進行して、画像記録データ15aをラインサーマルヘッド5に転送し、通電を開始する。このとき、ステップST16において、CPU14がTon時間オンするとともにToff 時間オフするサイクルを前記搬送用ステッピングモータ7が1ステップ回転するまで連続的に行う。これにより、分割数の差分絶対値Jに応じた所望の大きさの電流値を付与することができる。
【0033】
このようにして記録ライン1行分の記録を順次進められる。もし、カラー記録を行う場合には、各記録ライン毎に次の色における発熱素子数を求めて、前述のように現記録ラインと直前記録ラインとの分割数の差分絶対値に応じたデューティ比の通電を繰り返すようになる。
【0034】
このような本実施形態の搬送用ステッピングモータ7の駆動方法によれば、現記録ラインと直前の記録ラインとの分割数の差分絶対値の大きさに応じて電流値が決定され、この電流値を付与すべくデューティ比を求めて通電制御するようになっているため、搬送用ステッピングモータに過剰に電流を付与してしまうこともなく、無駄なエネルギー付与を抑制することで騒音や振動の発生を防止できる。
【0035】
さらに、前記分割数の差分絶対値が「0」のときには、搬送用ステッピングモータ7の速度を変化させる必要がないため、直前記録ラインの記録の際のモータ駆動慣性力を利用して搬送用ステッピングモータ7に付与する電流値を減少させるようにすれば、一層消費電流値を節約できることとなる。
【0036】
また、本実施形態では、分割数の差分絶対値に応じたデューティ比を求める際に、オン・オフタイミングテーブル16cを用いて定型的に求めるようにして迅速に処理するようにしているが、演算式などにより求めるようにしてもよい。
【0037】
【発明の効果】
以上説明したように請求項1に係る発明によれば、現記録ラインと直前の記録ラインとの分割数の差分絶対値の大きさに応じて実際に付与する電流値が決定されるとともに分割数の差分絶対値に変化がない場合には、搬送用ステッピングモータの慣性力を利用してモータを駆動するようにするため、搬送用ステッピングモータに過剰に電流を付与してしまうこともなく、無駄なエネルギー付与を抑制することで騒音や振動の発生を防止でき、更により効率的に搬送用ステッピングモータへ電流を付与することができる。
【0039】
また、請求項に係る、発明によれば、請求項1に係る発明の効果に加えて、分割数の差分絶対値に応じて求められる電流値を、任意にデューティ比を求めて実行することにより、所望の電流値を適切に付与することができる。
【0040】
また、請求項に係る発明によれば、請求項に係る発明の効果に加えて、定型的に分割数の差分絶対値に応じた電流値を迅速かつ適切に搬送用ステッピングモータに付与することができる。
【図面の簡単な説明】
【図1】 本発明の搬送用ステッピングモータの駆動方法を実行するラインプリンタの一実施例を示す平面図
【図2】 搬送用ステッピングモータの構造を説明するための原理図
【図3】 図1に示すラインプリンタにおける印刷制御および記録紙の搬送制御に関するブロック図
【図4】 現記録ラインと直前記録ラインとの分割数の差分絶対値に対する適切な電流値および実行電流値の関係を示すグラフ
【図5】 本実施形態における記録データの展開手順を示すフローチャート
【図6】 本実施形態における記録制御の手順を示すフローチャート
【図7】 従来の搬送用ステッピングモータの駆動方法においてアクティブパルスを動的分割した場合を示すパルス波形
【図8】 従来の搬送用ステッピングモータの駆動方法における現記録ラインと直前記録ラインとの分割数の差分絶対値に対する適切な電流値および実行電流値の関係を示すグラフ
【符号の説明】
1 ラインプリンタ
2 プリンタ本体
4 プラテンローラ
5 ラインサーマルヘッド
7 搬送用ステッピングモータ
9 第1(A)、第2(B)、第3(C)および第4(D)の磁極(相)
10 固定子
11 回転子
14 CPU
15 RAM
16 ROM
15a 画像記録データ
16a 記録制御プログラム
16b 差分値算出プログラム
16c オン・オフタイミングテーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for driving a conveyance stepping motor, and in particular, when recording a desired image separately for each line, the number of heating elements to be energized in each row is less than a predetermined number. The present invention relates to a method for driving a transporting stepping motor when performing so-called dynamic division recording.
[0002]
[Prior art]
Conventionally, stepping motors have characteristics such as the rotation angle and rotation speed of the motor being determined in proportion to the number of input pulses and the input pulse speed, extremely good start / stop characteristics, and high responsiveness and output. For this reason, it is used as a carriage motor that drives the carriage of a printer and a conveyance motor that conveys recording paper.
[0003]
A line printer will be described as an example in which such a stepping motor is used as a recording paper transporting stepping motor. A long platen roller is rotatably supported between a pair of side frames in the line printer. A line thermal head is supported on the printer main body by a support lever so as to be able to contact with and separate from the platen roller. A head pressure contact spring for pressure contact is attached to the back side of the line thermal head. The line thermal head has heating elements arranged in the longitudinal direction, and each heating element has an energization control unit for selectively controlling energization to each heating element based on recording data. Connected.
[0004]
On the other hand, a conveyance stepping motor is mounted on the printer body, and a conveyance roller is connected to the drive shaft of the conveyance stepping motor via a transmission gear group, and the recording paper is taken out from the loading tray. , And is supplied between the platen roller and the line thermal head. In addition, a conveyance control unit is connected to the conveyance stepping motor via a motor driver.
[0005]
Further, a supply roll for supplying an ink ribbon is disposed on the upstream side of the platen roller in the recording paper conveyance direction, and a take-up roll is disposed on the downstream side of the recording paper conveyance direction. The ink ribbon is supplied between the platen roller and the line thermal head by driving a winding bobbin that rotates the winding roll.
[0006]
When recording is performed by a line printer having such a configuration, first, the recording stepping motor is driven to rotate the conveyance roller to convey the recording paper one by one from the loading tray. Supply between the thermal head. When the recording paper is conveyed to the recording start position, the line thermal head is pressed against the platen roller via the recording paper and the ink ribbon, and the energization control unit selectively energizes each heating element based on the recording data, and the ink Melt and transfer the ribbon to the recording paper. When the recording of the first line is completed, the transporting stepping motor is driven, and the recording of the next second line is started based on the recording data. When the recording up to the final line is completed as described above, in the case of a color image, the conveyance roller is rotated in the reverse direction to temporarily return the recording paper to the recording start position, and the next second color is recorded. When recording is performed for each color of cyan, magenta, and black, recording of a full-color image is completed.
[0007]
Here, the energization control to each heating element of the line thermal head by the energization control unit will be described. Conventionally, when energizing each heating element, as shown in FIG. So-called dynamic division recording has been performed in which the number of heat generating elements to be energized in one line is controlled to be arbitrarily divided and energized so as to be a predetermined number or less.
[0008]
According to such dynamic division recording, the amount of electric power to be supplied at one time can be suppressed, and the number of energized heating elements necessary for recording for each line is used instead of dividing into a fixed number of divisions. Therefore, the recording speed was not too slow.
[0009]
[Problems to be solved by the invention]
However, in the conventional method of driving a stepping motor for conveyance, as shown in FIG. 8, even if the number of divisions is changed for each recording line and the motor speed is frequently changed when performing dynamic division recording, The magnitude of the current value passed through the transporting stepping motor remained the same and was not changed. For this reason, when there is no difference in the number of divisions between the current recording line and the previous recording line or when the number of divisions is small, an excessive current value is given beyond the originally required current value. The current consumption was uselessly large.
[0010]
For example, when the number of divisions of the previous recording line changes to 1 while the number of divisions of the current recording line changes to 1, the current value must be increased in order to increase the speed of the transporting stepping motor. When the number of divisions between the current recording line and the immediately preceding recording line is the same, there is no need to change the driving speed of the transporting stepping motor, and therefore it is not necessary to increase the applied current value. However, in the conventional method of driving a transporting stepping motor, a constant current value that is always set to a large value is always applied regardless of the difference between the current recording line and the immediately preceding recording line. When it is small, the current consumption is wasted.
[0011]
If energy is applied in this way, there is a problem that noise and vibration of the motor are generated.
[0012]
The present invention has been made in view of such problems, and can control the current value provided by the stepping motor for conveyance during dynamic division printing without waste, realizing reduction in motor noise and energy saving. It is an object of the present invention to provide a method for driving a transporting stepping motor.
[0013]
[Means for Solving the Problems]
The driving stepping motor driving method according to claim 1 of the present invention is characterized in that the difference absolute value of the number of divisions between the current recording line and the immediately preceding recording line is obtained, and when the difference absolute value is “0”, The current value applied to the transporting stepping motor is reduced, and the current value applied to the transporting stepping motor is controlled to increase as the absolute difference value increases. By adopting such a method, if there is no change in the absolute value of the number of divisions between the current recording line and the previous recording line, the motor is driven using the inertial force of the transporting stepping motor. By doing so, current can be more efficiently applied to the stepping motor for conveyance, and the current value to be actually applied is determined according to the magnitude of the difference absolute value of the number of divisions. The generation of noise and vibration can be prevented by suppressing useless energy application without excessively applying current to the stepping motor.
[0015]
The feature of the driving method of conveying stepping motor according to claim 2, Oite to claim 1, the current value to be applied based on the division number of the difference absolute value between the current recording line and the immediately preceding recording line The predetermined duty ratio is obtained and applied according to this. By adopting such a method, for example, when the difference absolute value of the number of divisions is large, it is possible to appropriately give a desired current value by increasing the duty ratio.
[0016]
Further, according to a third aspect of the present invention, there is provided a driving stepping motor driving method characterized in that, in the second aspect , when a predetermined current value is applied according to the duty ratio, the energization on time and the energization in advance for each difference absolute value of the division number The off time is set. By adopting such a method, a current value according to the absolute value of the difference in the number of divisions can be quickly and appropriately applied to the transporting stepping motor.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a method for driving a transporting stepping motor according to the present invention will be described below with reference to the drawings.
[0018]
The transport stepping motor driving method of the present invention obtains the absolute value of the difference between the number of divisions between the current recording line and the immediately preceding recording line, and the magnitude of the current value passed to the transport stepping motor in proportion to the absolute value of the difference. It has the feature in controlling to change the height. Here, the dynamic division recording refers to the number of heating elements to be energized necessary for recording for one line of each color, and the division energization is performed so that the number of heating elements to be energized at a time is equal to or less than a predetermined number. To record. The number of heating elements to be energized is obtained based on image recording data, for example.
[0019]
FIG. 1 shows an example of a line printer 1 that executes a method of driving a transporting stepping motor according to the present invention. The line printer 1 has a pair of side frames 3 and 3 attached to the side surface of the printer body 2, and a long platen roller 4 is rotatably supported between the side frames 3 and 3. Has been. A line thermal head 5 in which heating elements are arranged and arranged is supported on the printer main body 2 so as to be able to contact with and separate from the platen roller 4. The line thermal head 5 is provided with a plurality of head pressing springs 6 for applying a pressing force to the back side.
[0020]
The printer main body 2 is equipped with a transporting stepping motor 7, and a transporting roller (not shown) is connected to a drive shaft 7 a of the transporting stepping motor 7 via a transmission gear group 8. Recording paper (none of which is shown) is taken out from the loading tray and is supplied between the platen roller 4 and the line thermal head 5.
[0021]
Further, a supply roll (not shown) for supplying an ink ribbon is arranged on the upstream side of the platen roller 4 in the recording paper conveyance direction, and a winding roll (not shown) is arranged on the downstream side of the recording paper conveyance direction. Is arranged. The ink ribbon is supplied between the platen roller 4 and the line thermal head 5 by driving a winding bobbin (not shown) that rotates the winding roll.
[0022]
Further, the transporting stepping motor 7 used in the present embodiment uses a bipolar four-phase motor as an example, and as shown in FIG. 2, the first (A) and second ( B), a stator 10 having third (C) and fourth (D) magnetic poles (phases), and a rotor made of a rotatable permanent magnet having N and S poles at 180 degree intervals. An output shaft (not shown) is connected to the rotor. A first coil 12 is wound around the first (A) and third (C) magnetic poles, and a second coil 13 is wound around the second (B) and fourth (D) magnetic poles. Has been.
[0023]
When an excitation current (phase current) as a drive signal is passed through the coils 12 and 13 of each phase of the stator 10 in order to rotationally drive such a stepping motor 1, a magnetic field is generated by this current, and the stator 10 and An electromagnetic force that attracts or repels between the rotor 11 and the rotor 11 is generated. By sequentially switching the phase currents, the electromagnetic force between the stator 10 and the rotor 11 is switched, and a torque for moving the rotor 11 is obtained.
[0024]
Further, as shown in the block diagram of FIG. 3, the recording paper conveyance control and the line thermal head 5 recording control in the present embodiment are performed by the CPU 14 in the image recording data 15a and the recording control program 16a stored in the RAM 15 or ROM 16. Based on. That is, the RAM 15 stores image recording data 15a transmitted from the computer main body. The ROM 16 stores a recording control program 16a for calculating the dynamic division number based on the image recording data 15a, and one dynamic division number calculated according to the recording control program 16a. A difference value calculation program 16b for calculating an absolute value of a difference from the dynamic division number at the previous recording line is stored.
[0025]
Further, the ROM 16 stores a table 16c in which a current value of a desired magnitude to be given in advance is set for each difference absolute value calculated according to the difference value calculation program 16b. In the present embodiment, the application of a desired current value is realized by control based on the duty ratio. In practice, the energization of the stepping motor 7 for conveyance with reference to the absolute difference value of the number of divisions is turned on / off. An off timing table 16c is stored. Here, the duty ratio means a ratio of a high energization time in a high and low energization pulse cycle, a so-called duty cycle.
[0026]
Then, a desired current value is given by conducting energization control continuously by arbitrarily setting the on-time Ton and the off-time Toff.
[0027]
Further, as shown in FIG. 4, the on / off timing table 16c gives a current value ◯ slightly larger than the desired current value × when the difference absolute value of the number of divisions is 0 to 6, for example. Preset to do. Of course, the desired current value x may be set so that the actually applied current value ○ matches, or when the difference absolute value is “0”, the current value may be decreased. Good. If the difference absolute value is “0”, it is not necessary to change the speed of the transporting stepping motor. Therefore, if the driving inertia force remaining in the transporting stepping motor when the previous recording line is recorded is used. Even if the current value is decreased, the rotation speed of the motor can be maintained at a constant speed, which is efficient.
[0028]
Next, a driving method of the transporting stepping motor 7 of the present embodiment will be described with reference to the flowcharts of FIGS.
[0029]
FIG. 5 shows a procedure for developing the image recording data 15a of the present embodiment. In step ST1, the number of heating elements energized in one line is counted based on the image recording data 15a stored in the RAM 15, and X is counted. Assign to. Subsequently, the process proceeds to step ST2, where Z is a value obtained by dividing X by the predetermined maximum number Y of simultaneous heating elements, and p is a remainder that cannot be divided. In step ST3, Z + p is set to N as the division number, and the process proceeds to step ST4. The image recording data 15a for one line is divided into N pieces and stored in the recording buffer 17 together with the division number N. The development of the recording data 15a is finished.
[0030]
Subsequently, as shown in FIG. 6, in the recording control procedure, in step ST11, the division number N stored in the recording buffer 17 is taken out, and the process proceeds to step ST12 to advance the recording line immediately before, that is, the immediately preceding recording line. The number of divisions is taken to be M. In step ST13, the difference between the division number N of the current recording line and the division number M of the previous recording line is calculated, and the absolute value is obtained as J.
[0031]
Then, the process proceeds to step ST14, where the energization on / off timing table 16c stored in the ROM 16 and stored in the ROM 16 is supplied to the conveyance stepping motor 7 using the difference absolute value J of the number of divisions as a key. The difference absolute value J is inquired, and the on time Ton and the off time Toff in the active pulse at the difference absolute value J are obtained.
[0032]
Thereafter, the process proceeds to step ST15, the image recording data 15a is transferred to the line thermal head 5, and energization is started. At this time, in step ST16, the cycle in which the CPU 14 is turned on for the time Ton and turned off for the time Toff is continuously performed until the transporting stepping motor 7 rotates one step. Thereby, the electric current value of the desired magnitude | size according to the difference absolute value J of a division | segmentation number can be provided.
[0033]
In this way, recording for one line of recording lines can be sequentially advanced. If color recording is performed, the number of heating elements in the next color is obtained for each recording line, and the duty ratio according to the absolute value of the difference in the number of divisions between the current recording line and the immediately preceding recording line as described above. Repeated energization.
[0034]
According to the driving method of the transporting stepping motor 7 of this embodiment, the current value is determined according to the magnitude of the difference absolute value of the number of divisions between the current recording line and the immediately preceding recording line. Since the duty ratio is determined to apply the current and the energization control is performed, no excessive current is applied to the stepping motor for conveyance, and noise and vibration are generated by suppressing unnecessary energy application. Can be prevented.
[0035]
Further, when the difference absolute value of the number of divisions is “0”, it is not necessary to change the speed of the transporting stepping motor 7, so that the transporting stepping is performed using the motor driving inertia force at the time of recording the immediately preceding recording line. If the current value applied to the motor 7 is reduced, the current consumption value can be further saved.
[0036]
Further, in this embodiment, when the duty ratio according to the absolute value of the difference in the number of divisions is obtained, the duty ratio is obtained by using the on / off timing table 16c so that it can be quickly processed. You may make it obtain | require by a formula etc.
[0037]
【The invention's effect】
As described above, according to the first aspect of the present invention, the current value to be actually applied is determined according to the magnitude of the difference absolute value of the number of divisions between the current recording line and the immediately preceding recording line, and the number of divisions. If there is no change in the difference absolute value, the motor is driven using the inertial force of the transporting stepping motor, so that excessive current is not applied to the transporting stepping motor, which is wasteful. such energy to suppress the grant that you to prevent the generation of noise and vibration in, it is possible to further impart more efficiently current to transport stepping motor.
[0039]
According to the second aspect of the invention, in addition to the effect of the first aspect of the invention, the current value obtained according to the absolute value of the difference in the number of divisions is obtained by arbitrarily obtaining the duty ratio. Thus, a desired current value can be appropriately given.
[0040]
According to the invention of claim 3 , in addition to the effect of the invention of claim 2 , the current value corresponding to the difference absolute value of the number of divisions is regularly and appropriately applied to the conveying stepping motor. be able to.
[Brief description of the drawings]
FIG. 1 is a plan view showing an embodiment of a line printer that executes a method for driving a transport stepping motor according to the present invention. FIG. 2 is a principle diagram for explaining the structure of a transport stepping motor. FIG. 4 is a graph showing a relationship between an appropriate current value and an execution current value with respect to the absolute value of the difference in the number of divisions between the current recording line and the immediately preceding recording line. FIG. 5 is a flowchart showing a recording data development procedure in the present embodiment. FIG. 6 is a flowchart showing a recording control procedure in the embodiment. FIG. Fig. 8 shows the waveform of the current recording line and the current recording line in the conventional method of driving the stepping motor for conveyance. Graph showing the relationship between the appropriate current value and executes current value with respect to the division number of the difference absolute value between the recording line EXPLANATION OF REFERENCE NUMERALS
DESCRIPTION OF SYMBOLS 1 Line printer 2 Printer main body 4 Platen roller 5 Line thermal head 7 Conveyance stepping motor 9 1st (A), 2nd (B), 3rd (C), and 4th (D) magnetic pole (phase)
10 Stator 11 Rotor 14 CPU
15 RAM
16 ROM
15a Image recording data 16a Recording control program 16b Difference value calculation program 16c On / off timing table

Claims (3)

各色の1ライン分の記録に必要な通電する発熱素子の数を求め、一度に通電される発熱素子の数が所定数以下となるように分割通電を行う場合における記録紙の搬送用ステッピングモータの駆動方法であって、現記録ラインと直前の記録ラインとの分割数の差分絶対値を求めて、その差分絶対値が「0」のときには、搬送用ステッピングモータに付与する電流値を低減させるとともに差分絶対値が大きいほど搬送用ステッピングモータへ付与する電流値を大きくするように制御することを特徴とする搬送用ステッピングモータの駆動方法。The number of heating elements to be energized necessary for recording for one line of each color is obtained, and the stepping motor for conveying the recording paper in the case of performing divided energization so that the number of heating elements to be energized at a time is equal to or less than a predetermined number In the driving method, the difference absolute value of the number of divisions between the current recording line and the immediately preceding recording line is obtained, and when the difference absolute value is “0”, the current value applied to the conveying stepping motor is reduced. A control method for driving a transporting stepping motor, wherein control is performed such that the current value applied to the transporting stepping motor increases as the difference absolute value increases. 現記録ラインと直前の記録ラインとの分割数の差分絶対値に基づいて付与すべき電流値を、所定のデューティ比を求めてこれに従って付与するように制御することを特徴とする請求項1に記載の搬送用ステッピングモータの駆動方法。  2. The current value to be applied based on the difference absolute value of the number of divisions between the current recording line and the immediately preceding recording line is controlled so as to obtain a predetermined duty ratio and apply it accordingly. A method of driving the stepping motor for conveyance as described. 前記デューティー比に従って所定の電流値を付与する場合に、あらかじめ分割数の差分絶対値ごとに通電オン時間と通電オフ時間とを設定していることを特徴とする請求項2に記載の搬送用ステッピングモータの駆動方法。  The stepping for conveyance according to claim 2, wherein when a predetermined current value is applied according to the duty ratio, an energization on time and an energization off time are set in advance for each absolute difference value of the number of divisions. How to drive the motor.
JP2000187623A 2000-06-22 2000-06-22 Driving method of stepping motor for conveyance Expired - Fee Related JP3813793B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000187623A JP3813793B2 (en) 2000-06-22 2000-06-22 Driving method of stepping motor for conveyance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000187623A JP3813793B2 (en) 2000-06-22 2000-06-22 Driving method of stepping motor for conveyance

Publications (2)

Publication Number Publication Date
JP2002002049A JP2002002049A (en) 2002-01-08
JP3813793B2 true JP3813793B2 (en) 2006-08-23

Family

ID=18687574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000187623A Expired - Fee Related JP3813793B2 (en) 2000-06-22 2000-06-22 Driving method of stepping motor for conveyance

Country Status (1)

Country Link
JP (1) JP3813793B2 (en)

Also Published As

Publication number Publication date
JP2002002049A (en) 2002-01-08

Similar Documents

Publication Publication Date Title
EP0765759A2 (en) Printer device control device
JP3909194B2 (en) Driving method of stepping motor for conveyance
JP3715850B2 (en) Motor control device and printer using the device
JP3813793B2 (en) Driving method of stepping motor for conveyance
JPS60257271A (en) Serial printer
JP4215481B2 (en) Thermal printer
JP3963681B2 (en) Line thermal printer recording method and line thermal printer used therefor
JPH028908B2 (en)
JP4667475B2 (en) Thermal printer
JPH0566266B2 (en)
JP3260832B2 (en) Recording device
JPH0614597A (en) Circuit and method for driving paper feed of printer
JP2007118536A (en) Thermal transfer printer and motor control method therefor
JP3427390B2 (en) Line printer
JPH0542743A (en) Control of spacing mechanism of printer
JP3362686B2 (en) Motor control device
JP2002067413A (en) Roll sheet printer
JP4320478B2 (en) Printer and printing method
JP3060178B2 (en) Serial printer
JP3295966B2 (en) Control method of paper feed motor
JP2002059605A (en) Shuttle control system for printer
JP2569843B2 (en) Paper feed control method
JPH04312868A (en) Printer carrier drive
JPH07329339A (en) Line type thermal printer, and sheet-feed motor driving method therefor
JPS59187882A (en) Printer

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050427

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20050510

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050711

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060516

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060601

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Year of fee payment: 3

Free format text: PAYMENT UNTIL: 20090609

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

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20100609

LAPS Cancellation because of no payment of annual fees