JP4457456B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP4457456B2
JP4457456B2 JP2000044445A JP2000044445A JP4457456B2 JP 4457456 B2 JP4457456 B2 JP 4457456B2 JP 2000044445 A JP2000044445 A JP 2000044445A JP 2000044445 A JP2000044445 A JP 2000044445A JP 4457456 B2 JP4457456 B2 JP 4457456B2
Authority
JP
Japan
Prior art keywords
motor
time
paper feed
carriage
printing
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
JP2000044445A
Other languages
Japanese (ja)
Other versions
JP2001232882A5 (en
JP2001232882A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000044445A priority Critical patent/JP4457456B2/en
Publication of JP2001232882A publication Critical patent/JP2001232882A/en
Publication of JP2001232882A5 publication Critical patent/JP2001232882A5/ja
Application granted granted Critical
Publication of JP4457456B2 publication Critical patent/JP4457456B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Fax Reproducing Arrangements (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は印刷制御装置および印刷制御方法に関し、特に紙送りモータとキャリッジモータの相互制御に用いられる。
【0002】
【従来の技術】
従来の印刷制御装置を図8乃至図14を参照して説明する。この印刷制御装置はインクジェットプリンタに用いられ、このインクジェットプリンタの概略の構成を図8に示す。
【0003】
このインクジェットプリンタは、紙送りを行う紙送りモータ(以下、PFモータともいう)1と、この紙送りモータ1を駆動する紙送りモータドライバ2と、キャリッジ3と、このキャリッジ3を駆動するキャリッジモータ(以下、CRモータともいう)4と、このキャリッジモータ4を駆動するCRモータドライバ5と、DCユニット6と、目詰まり防止のためのインクの吸い出しを制御するポンプモータ7と、このポンプモータ7を駆動するポンプモータドライバ8と、キャリッジ3に固定されて印刷紙50にインクを吐出するヘッド9と、このヘッド9を駆動制御するヘッドドライバ10と、キャリッジ3に固定されたリニア式エンコーダ11と、所定の間隔にスリットが形成された符号板12と、PFモータ1用のロータリ式エンコーダ13と、印刷処理されている紙の終端位置を検出する紙検出センサ15と、プリンタ全体の制御を行うCPU16と、CPU16に対して周期的に割込み信号を発生するタイマIC17と、ホストコンピュータ18との間でデータの送受信を行うインタフェース部(以下IFともいう)19と、ホストコンピュータ18からIF19を介して送られてくる印字情報に基づいて印字解像度やヘッド9の駆動波形等を制御するASIC20と、ASIC20およびCPU16の作業領域やプログラム格納領域として用いられるPROM21,RAM22およびEEPROM23と、印刷中の紙50を支持するプラテン25と、PFモータ1によって駆動されて印刷紙50を搬送する搬送ローラ27と、CRモータ4の回転軸に取付けられたプーリ30と、このプーリ30によって駆動されるタイミングベルト31と、を備えている。
【0004】
なお、DCユニット6は、CPU16から送られてくる制御指令、エンコーダ11,13の出力に基づいて紙送りモータドライバ2およびCRモータドライバ5を駆動制御する。また、紙送りモータ1およびCRモータ4はいずれもDCモータで構成されている。
【0005】
このインクジェットプリンタのキャリッジ3の周辺の構成を図9に示す。
【0006】
キャリッジ3は、タイミングベルト31によりプーリ30を介してキャリッジモータ4に接続され、ガイド部材32に案内されてプラテン25に平行に移動するように駆動される。キャリッジ3の印刷紙に対向する面には、ブラックインクを吐出するノズル列およびカラーインクを吐出するノズル列からなる記録ヘッド9が設けられ、各ノズル列はインクカートリッジ34からインクの供給を受けて印刷紙にインク滴を吐出して文字や画像を印字する。
【0007】
またキャリッジ3の非印字領域には、非印字時に記録ヘッド9のノズル開口を封止するためのキャッピング装置35と、図8に示すポンプモータ7を有するポンプユニット36とが設けられている。キャリッジ3が印字領域から非印字領域に移動すると、図示しないレバーに当接してキャッピング装置35は上方に移動し、ヘッド9を封止する。
【0008】
ヘッド9のノズル開口列に目詰まりが生じた場合や、カートリッジ34の交換等を行ってヘッド9から強制的にインクを吐出する場合は、ヘッド9を封止した状態でポンプユニット36を作動させ、ポンプユニット36からの負圧により、ノズル開口列からインクを吸い出す。これにより、ノズル開口列の近傍に付着している塵埃や紙粉が洗浄され、さらにはヘッド9内の気泡がインクとともにキャップ37に排出される。
【0009】
次に、キャリッジ3に取付けられたリニア式エンコーダ11の構成を図10に示す。このエンコーダ11は発光ダイオード11aと、コリメータレンズ11bと、検出処理部11cとを備えている。この検出処理部11cは複数(4個)のフォトダイオード11dと、信号処理回路11eと、2個のコンパレータ11fA ,11fBと、を有している。
【0010】
発光ダイオード11aの両端に抵抗を介して電圧Vccが印加されると、発光ダイオード11aから光が発せられる。この光はコリメータレンズ11bによって平行にされて符号板12を通過する。符号板12には所定の間隔(例えば1/180インチ(=1/180×2.54cm))毎にスリットが設けられた構成となっている。
【0011】
この符号板12を通過した平行光は、図示しない固定スリットを通って各フォトダイオード11dに入射し、電気信号に変換される。4個のフォトダイオード11dから出力される電気信号が信号処理回路11eにおいて信号処理される。この信号処理回路11eから出力される信号がコンパレータ11fA,11fBにおいて比較され、比較結果がパルスとして出力される。コンパレータ11fA、11fB から出力されるパルスENC−A,ENC−Bがエンコーダ11の出力となる。
【0012】
パルスENC−AとパルスENC−Bは位相が90度だけ異なっている。CRモータ4が正転すなわちキャリッジ3が主走査方向に移動しているときは図11(a)に示すようにパルスENC−AはパルスENC−Bよりも90度だけ位相が進み、CRモータ4が逆転しているときは図11(b)に示すようにパルスENC−AはパルスENC−Bよりも90度だけ位相が遅れるようにエンコーダ4は構成されている。そして、上記パルスの1周期Tは符号板12のスリット間隔(例えば1/180インチ(=1/180×2.54cm))に対応し、キャリッジ3が上記スリット間隔を移動する時間に等しい。
【0013】
一方、PFモータ1用のロータリ式エンコーダ13は符号板がPFモータ1の回転に応じて回転する回転円板である以外は、リニア式エンコーダ11と同様の構成となっており、2つの出力パルスENC−A,ENC−Bを出力する。なおインクジェットプリンタにおいては、PFモータ1用のエンコーダ13の符号板に設けられている複数のスリットのスリット間隔は、1/180インチ(=1/180×2.54cm)であり、PFモータ1が上記1スリット間隔だけ回転すると、1/1440インチ(=1/1440×2.54cm)だけ紙送りされるような構成となっている。
【0014】
次に図8において示した紙検出センサ15の位置について図12を参照して説明する。図12において、プリンタ60の給紙挿入口61に挿入された紙50は、給紙モータ63によって駆動される給紙ローラ64によってプリンタ60内に送り込まれる。プリンタ60内に送り込まれた紙50の先端が例えば光学式の紙検出センサ15によって検出される。この紙検出センサ15によって先端が検出された紙50はPFモータ1によって駆動される紙送りローラ65および従動ローラ66によって紙送りが行われる。
【0015】
続いてキャリッジガイド部材32に沿って移動するキャリッジ3に固定された記録ヘッド(図示せず)からインクが滴下されることにより印字が行われる。そして所定の位置まで紙送りが行われると、現在、印字されている紙50の終端が紙検出センサ15によって検出される。そしてPFモータ1によって駆動される歯車67aにより、歯車67bを介して歯車67cが駆動され、これにより、排紙ローラ68および従動ローラ69が回転駆動されて、印字が終了した紙50が排紙口62から外部に排出される。なお、紙送りローラ65の回転軸には、エンコーダ13の符号板が取り付けられている。
【0016】
次に、この従来のインクジェットプリンタのCRモータ4の速度制御について図13および図14を参照して説明する。このCRモータ4の速度制御はDCユニット6に設けられた速度制御部80によって行われ、この速度制御部80は図13に示すように、位置カウンタ80aと、減算部80bと、目標速度演算部80cと、速度演算部80dと、減算器80eと、比例要素80fと、積分要素80gと、微分要素80hと、加算器80iと、D/Aコンバータ80jと、タイマ80kと、加速制御部80mとを備えている。
【0017】
位置カウンタ80aはエンコーダ11の出力パルスENC−A,ENC−Bの各々の立ち上がりエッジ、立ち下がりエッジを検出し、検出されたエッジの個数を計数し、この計数値に基づいて、キャリッジ3の位置を演算する。この計数はCRモータ4が正転しているときは1個のエッジが検出されると「+1」を加算し、逆転しているときは、1個のエッジが検出されると「−1」を加算する。パルスENC−AおよびENC−Bの各々の周期は符号板のスリット間隔に等しく、かつパルスENC−AとパルスENC−Bは位相が90度だけ異なっている。このため、上記計数のカウント値「1」はエンコーダ13の符号板のスリット間隔の1/4に対応する。これにより上記計数値にスリット間隔の1/4を乗算すれば、キャリッジ3の、計数値が「0」に対応する位置からの移動量を求めることができる。このときエンコーダ11の解像度は1/720インチ(=1/720×2.54cm)となる。
【0018】
減算器80bは、目標位置と、位置カウンタ80aのカウント値との位置偏差を演算する。
【0019】
目標速度演算部80cは、減算器80bの出力である位置偏差に基づいてCRモータ4の目標速度を演算する。この演算は位置偏差にゲインKpを乗算することにより行われる。このゲインKpは位置偏差に応じて決定される。なお、このゲインKpの値は図示しないテーブルに格納していても良い。
【0020】
速度演算部80dはエンコーダ11の出力パルスENC−A,ENC−Bに基づいてCRモータ4の速度を演算する。この速度は次のようにして求められる。まずエンコーダ11の出力パルスENC−A,ENC−Bの各々の立ち上がりエッジ、立ち下がりエッジを検出し、エッジ間の時間間隔を例えばタイマカウンタによってカウントする。このカウント値をTとすると、速度は1/Tに比例したものとなる。
【0021】
減算器80eは、目標速度と、速度演算部80dによって演算されたCRモータ4の実際の速度との速度偏差を演算する。
【0022】
比例要素80fは上記速度偏差に定数Gpを乗算し、乗算結果を出力する。積分要素80gは速度偏差に定数Giを乗じたものを積算する。微分要素80hは現在の速度偏差と、1つ前の速度偏差との差に定数Gdを乗算し、乗算結果を出力する。なお比例要素80f、積分要素80g、および微分要素80hの演算はエンコーダ11の出力パルスENC−Aの1周期毎を、例えば出力パルスENC−Aの立ち上がりエッジに同期して行う。
【0023】
比例要素80f、積分要素80g、および微分要素80hの出力は加算器80iにおいて加算される。そして加算結果、すなわちCRモータ4の駆動電流がD/Aコンバータ80jに送られてアナログ電流に変換される。このアナログ電流に基づいてドライバ5によってCRモータ4が駆動される。
【0024】
また、タイマ80kおよび加速制御部80mは加速制御に用いられ、比例要素80f、積分要素80g、および微分要素80hを使用するPID制御は加速途中の定速および減速制御に用いられる。
【0025】
タイマ80kはCPU16から送られてくるクロック信号に基づいて所定時間毎にタイマ割込み信号を発生する。
【0026】
加速制御部80mは上記タイマ割込信号を受ける度毎に所定の電流値(例えば20mA)を目標電流値に積算し、積算結果すなわち加速時におけるCRモータ4の目標電流値がD/Aコンバータ80jに送られる。PID制御の場合と同様に上記目標電流値はD/Aコンバータ80jによってアナログ電流に変換され、このアナログ電流に基づいてドライバ5によってCRモータ4が駆動される。
【0027】
ドライバ5は、例えば4個のトランジスタを備えており、D/Aコンバータ80jの出力に基づいて上記トランジスタを各々ONまたはOFFさせることにより
(a)CRモータ4を正転または逆転させる運転モード
(b)回生ブレーキ運転モード(ショートブレーキ運転モード、すなわちCRモータ4の停止を維持するモード)
(c)CRモータ4を停止させようとするモード
を行わせることが可能な構成となっている。
【0028】
次に図14(a),(b)を参照して速度制御部80の動作を説明する。CRモータ4が停止しているときに速度制御部80にCRモータ4を起動させる起動指令信号が送られると、加速制御部80mから起動初期電流値I0がD/Aコンバータ80jに送られる。なお、この起動初期電流値I0は起動指令信号とともにCPU16から加速制御部80mに送られてくる。そしてこの電流値I0はD/Aコンバータ80jによってアナログ電流に変換されてドライバ5に送られ、このドライバ5によってCRモータ4が起動開始する(図14(a),(b)参照)。
【0029】
起動指令信号を受信した後、所定の時間毎にタイマ80kからタイマ割込信号が発生される。加速制御部80mはタイマ割込信号を受信する度毎に、起動初期電流値I0に所定の電流値(例えば20mA)を積算し、積算した電流値をD/Aコンバータ80jに送る。するとこの積算した電流値はD/Aコンバータ80jによってアナログ電流に変換されてドライバ5に送られる。そしてCRモータ4に供給される電流の値が上記積算した電流値となるように、ドライバ5によってCRモータ4が駆動されCRモータ4の速度は上昇する(図14(b)参照)。このためCRモータ4に供給される電流値は図14(a)に示すように階段状になる。
【0030】
なお、このときPID制御系も動作しているが、D/Aコンバータ80jは加速制御部80mの出力を選択して取込む。
【0031】
加速制御部80mの電流値の積算処理は、積算した電流値が一定の電流値ISとなるまで行われる。時刻t1において積算した電流値が所定値ISとなると、加速制御部80mは積算処理を停止し、D/Aコンバータ80jに一定の電流値ISを供給する。これによりCRモータ4に供給される電流の値が電流値ISとなるようにドライバ5によって駆動される(図14(a)参照)。
【0032】
そして、CRモータ4の速度がオーバーシュートするのを防止するために、CRモータ4が所定の速度V1になると(時刻t2)になると、CRモータ4に供給される電流を減小させるように加速制御部80mが制御する。このときCRモータ4の速度は更に上昇するが、CRモータ4の速度が所定の速度vcに達すると(図14(b)の時刻t参照)、D/Aコンバータ80jが、PID制御系の出力すなわち加算器80iの出力を選択し、PID制御が行われる。
【0033】
すなわち、目標位置と、位置カウンタ80aのカウント値との位置偏差に基づいて目標速度が演算され、この目標速度と、エンコーダ11の出力から得られる実際の速度との速度偏差に基づいて、比例要素80f、積分要素80g、および微分要素80hが動作し、各々比例、積分、および微分演算が行われ、これらの演算結果の和に基づいて、CRモータ4の制御が行われる。なお、上記比例、積分、および微分演算は、例えばエンコーダ11の出力パルスENC−Aの立ち上がりエッジに同期して行われる。これによりCRモータ4の速度は所望の速度veとなるように制御される。なお、所定の速度vcは所望の速度veの70〜80%の値であることが好ましい。
【0034】
時刻t4からCRモータ4は所望の速度veとなる。その後、CRモータ4が目標位置に近づくと(図14(b)の時刻t5参照)、CRモータ4の減速が行われ、時刻t6にCRモータ4が停止する。
【0035】
PFモータ1の速度制御は、図15に示すようにDCユニット6内に設けられた速度制御部90によって行われる。この速度制御部90は、CRモータ4の速度制御部80と同様に、位置カウンタ90aと、減算部90bと、目標速度演算部90cと、速度演算部90dと、減算器90eと、比例要素90fと、積分要素90gと、微分要素90hと、加算器90iと、D/Aコンバータ90jと、タイマ90kと、加速制御部90mとを備えている。
【0036】
位置カウンタ90aはエンコーダ13の出力パルスENC−A,ENC−Bの各々の立ち上がりエッジ、立ち下がりエッジを検出し、検出されたエッジの個数を計数し、この計数値に基づいて、PFモータ1によって送られる紙の送り量を演算する。なお、エッジの計数は、速度制御部80の位置カウンタ80aの場合と同様にして行う。
【0037】
速度制御部90は、エンコーダ13の出力パルスENC−A、ENC−Bに基づいてPFモータ1の速度を演算する。
【0038】
上記位置カウンタ90aおよび速度制御部90d以外の構成要素は、速度制御部80の対応する構成要素と同じ動作を行う。なお、D/Aコンバータ90jの出力は、紙送りドライバ2に送られる。この紙送りドライバ2は、CRモータドライバ5と同様の構成を有しており、D/Aコンバタ90jの出力に基づいてPFモータ1を駆動する。
【0039】
【発明が解決しようとする課題】
このように構成された従来の印刷制御装置において、印刷時には、1)印字動作を伴うCRモータ4の駆動と、2)紙送りのためのPFモータ1の駆動とが順次繰り返される。すなわち、図16(a)に示すように1つのパスの印字のためにCRモータ4が駆動され、印字が終了すると(図16の時刻t参照)、PFモータ1が起動される。そしてPFモータ1が停止するまでの時間を見越して、PFモータ1の動作中に次のパスの印字のためにCRモータ4を起動し(図16の時刻t参照)、PFモータ1が停止した後に、印字が行われるようにしている。 CRモータ4が起動してから印字を開始するまでの時間tCRはキャリッジ3の現在位置と、印字開始位置との間の距離によって決定されている。したがって、CRモータ4の起動時刻tは、PFモータ1の停止時刻tを予測し、t−tが時間tCR以下となる時刻としている。
【0040】
しかし、従来の印刷装置においては、CRモータ4の加速時間tは一定の値が用いられている。CRモータ4がDCモータである場合には、例えばインク交換時の前後や、クリーニングの前後のキャリッジ3の重量の変動が大きい。このため、CRモータ4の加速時間tを最小の値とし、CRモータ4が起動してから印字を開始するまでの時間tCRに余裕を持たせるようにしていた。すなわち、PFモータ1が停止してから印字を開始するまでにかなりの時間的余裕がある場合があった。
【0041】
したがって、従来の印刷装置においては、紙送りを行ってから印字を行うまでにかなりの余裕があり、印字処理のスループットが低いという問題があった。
【0042】
本発明は上記事情を考慮してなされたものであって、印字処理のスループットを可及的に高くすることのできる印刷制御装置および印刷制御方法を提供することを目的とする。
【0043】
【課題を解決するための手段】
本発明による印刷制御装置は、紙送りモータを駆動制御する第1の駆動制御部と、記録ヘッドが搭載されたキャリッジを駆動するキャリッジモータを駆動制御する第2の駆動制御部と、を備えた印刷制御装置において、
前記紙送りモータの停止直後に印字開始するタイミングとなるように前記キャリッジモータを起動するように構成された重ね合わせ最適化制御部を備えたことを特徴とする。
【0044】
なお、前記重ね合わせ最適化制御部は、前記紙送りモータが定速走行しているときに前記キャリッジの現在位置と印字情報に含まれる印字開始位置とに基づいて前記キャリッジが起動してから印字開始するまでの時間を演算し、更に前記演算された時間と同じ時間だけ前記紙送りモータが停止するまでにかかると仮定したときの、前記紙送りモータによって紙送りされる紙送り量を演算し、この演算された紙送り量と紙送り残量とを比較し、前記演算された紙送り量が前記紙送り残量以上となったときに前記キャリッジモータの起動指令を前記第2の駆動制御部に出力し、
前記第2の駆動制御部は、前記起動指令に基づいて前記キャリッジモータを起動するように構成しても良い。
【0045】
なお、前記重ね合わせ最適化制御部は、
前記キャリッジの現在位置と印字情報に含まれる印字開始位置とに基づいて前記キャリッジが移動する距離を演算する距離演算部と、
前記距離演算部によって演算された距離を、前記キャリッジが起動してから移動するまでの移動時間を演算する移動時間演算部と、
定速走行している前記紙送りモータが停止するまでに前記移動時間だけかかると仮定したときの前記紙送りモータによって紙送りされる紙送り量を演算する紙送り量演算部と、
前記紙送りモータによって紙送りされる紙の紙送り残量を演算する紙送り残量演算部と、
前記演算された紙送り量と前記紙送り残量とを比較し、前記演算された紙送り量が前記紙送り残量以上となったときに前記起動指令を出力する比較部と、
を備えるように構成しても良い。
【0046】
なお、前記距離演算部は、前記キャリッジモータの回転に従って回転する第2のエンコーダの出力に基づいて前記移動距離を演算し、前記紙送り残量演算部は、前記紙送りモータの回転に従って回転する第1のエンコーダの出力に基づいて前記紙送り残量を演算するように構成しても良い。
【0047】
なお、前記重ね合わせ最適化制御部は、前記キャリッジが起動してから定速走行領域に到達するまでの加速時間を計測する加速時間計測部を更に備え、
前記移動時間演算部は、前記加速時間と、前記キャリッジが前記定速走行領域に到達してから印字開始するまでの時間との和として前記移動時間を演算し、前記キャリッジの前回の起動時の加速時間の計測値を今回の起動時の加速時間として用いるように構成しても良い。
【0048】
なお、前記紙送りモータが定速走行を行っているときに、前記記録ヘッドがオーバライド領域に入っていて、かつ前記キャリッジモータの起動指令を受けた場合に、前記記録ヘッドによって印字可能な前記オーバライド領域の残量を演算するとともに前記紙送りモータによって紙送りされる紙の紙送り残量を演算し、前記オーバライド領域の残量が前記紙送り残量以下の場合に印字不許可指令を発生する印字不許可指令発生部を備えるように構成しても良い。
【0049】
なお、前記印字不許可指令発生部は、
前記記録ヘッドがオーバライド領域に入っていて、かつ前記キャリッジモータの起動指令を受けた場合に演算開始指令を発生する演算開始指令発生部と、
前記演算開始指令に基づいて前記オーバライド領域の残量を演算するオーバライド残量演算部と、
前記オーバライド領域の残量と、前記紙送りモータによって送られる紙の紙送り残量を比較し、前記オーバライド領域の残量が前記紙送り残量以下のときに印字不許可指令を発生する比較部と、
を備えように構成しても良い。
【0050】
また、本発明による印刷制御方法は、紙送りモータの停止直後に印字開始するタイミングとなるように印字ヘッドが搭載されたキャリッジを駆動するキャリッジモータを起動するステップを備えたことを特徴とする。
【0051】
なお、前記キャリッジモータを起動するステップは、
前記紙送りモータが定速走行しているときに前記キャリッジの現在位置と印字情報に含まれる印字開始位置とに基づいて前記キャリッジが起動してから印字開始するまでの移動時間を演算するステップと、
前記演算された移動時間と同じ時間だけ前記紙送りモータが停止するまでにかかると仮定したときの、前記紙送りモータによって紙送りされる紙送り量を演算するステップと、
この演算された紙送り量と紙送り残量とを比較し、前記演算された紙送り量が前記紙送り残量以上となったときに前記キャリッジモータの起動指令を出力するステップと、
前記起動指令に基づいて前記キャリッジモータを起動するステップと、
を備えるように構成しても良い。
【0052】
なお、前記移動時間を演算するステップは、
前記キャリッジが起動してから定速走行領域に到達するまでの加速時間を計測するステップを備え、前記加速時間と、前記キャリッジが前記定速走行領域に到達してから印字開始するまでの時間との和として前記移動時間を演算し、前記キャリッジの前回の起動時の加速時間の計測値を今回の起動時の加速時間として用いるように構成しても良い。
【0053】
なお、本発明による印刷制御方法は、
紙送りモータが定速走行を行っているときに、キャリッジモータによって駆動されるキャリッジに搭載された記録ヘッドがオーバライド領域に入っていて、かつ前記キャリッジモータの起動指令を受けた場合に、前記記録ヘッドによって印字可能な前記オーバライド領域の残量を演算するとともに前記紙送りモータによって紙送りされる紙の紙送り残量を演算し、前記オーバライド領域の残量が前記紙送り残量以下の場合に印字不許可指令を発生するステップを備えたことを特徴とする。
【0054】
なお、前記印字不許可指令を発生するステップは、
前記記録ヘッドがオーバライド領域に入っていて、かつ前記キャリッジモータの起動指令を受けた場合に演算開始指令を発生するステップと、
前記演算開始指令に基づいて前記オーバライド領域の残量を演算するステップと、
前記オーバライド領域の残量と、前記紙送りモータによって送られる紙の紙送り残量を比較し、前記オーバライド領域の残量が前記紙送り残量以下のときに印字不許可指令を発生するステップと、
を備えように構成しても良い。
【0055】
【発明の実施の形態】
(第1の実施の形態)
本発明による印刷制御装置の第1の実施の形態を図1乃至図4を参照して説明する。この実施の形態の印刷制御装置は図8に示す従来の印刷制御装置において、重ね合わせ最適化制御部を新たに設けた構成となってをり、この重ね合わせ最適化制御部の構成を図1に示す。この重ね合わせ最適化制御部82は、図8に示すDCユニット6内に設けられており、加速時間計測部82aと、メモリ82bと、距離演算部82cと、移動時間演算部82dと、紙送り量演算部82eと、紙送り残量演算部82fと、比較部82gと、を備えている。そして、この重ね合わせ最適化制御部82は、PFモータ1とCRモータ4との動作が重なる期間を最適化するように制御する。
【0056】
加速時間計測部82aは、CRモータ4の起動指令をうけたときにエンコーダ11の出力およびCRモータ4の速度制御部80の速度演算部80dの出力に基づいてCRモータ4の起動時の加速時間を計測し、この計測結果をメモリ82bに記憶させる。この加速時間は、CRモータ4が起動すなわちキャリッジ3が起動してから定速走行領域に到達するまでの時間であり、図4に示す時間taccである。そして、この記憶された加速時間taccは、CRモータ4の次の起動を行う際の演算に用いられる。なお、図4は、CRモータ4の速度波形すなわちキャリッジ3の速度波形を模式的に示した図である。
【0057】
距離演算部82cは、エンコーダ11の出力とCPU16から送られてくる印字情報とに基づいて、停止しているキャリッジ3の現在位置と次の印字開始位置との距離Lを演算する。なお、この距離Lは、図13に示す速度制御部80の位置カウンタ80aの出力と上記印字情報とに基づいて演算しても良い。
【0058】
移動時間演算部82dは、メモリ82bに記憶されているCRモータ4の前回の起動時の加速時間taccと、上記距離演算部82cの出力とに基づいて、上記停止位置から上記印字開始位置までキャリッジ3が移動するに要する移動時間tCRを演算する(図4参照)。この移動時間tCRは次のように求められる。
キャリッジ3が定速vで走行する定速走行領域に到達してから印字開始するまでの時間をtuvとし、キャリッジ3が上記加速時間taccの間に進む距離をLとすると、上記移動時間tCRは、
CR = tacc + tuv ・・・ (1)
となる。ここで、加速時間taccはメモリ82bに記憶されているCRモータ4の前回の起動時の加速時間を用いる。なお、電源投入時や、記録ヘッド9のクリーニング時等のその前後でキャリッジ3の重量が急激に変化する場合には上記演算に用いる加速時間taccは、想定される加速時間の最小値とする。
【0059】
一方、キャリッジ3が定速vで走行する定速走行領域に到達してから印字開始するまでの時間tuvは、
uv = (L − L )/ v ・・・ (2)
である。そして、キャリッジ3が上記加速時間の間に進む距離Lは、
= v ・ tacc / 2 ・・・ (3)
から求まる。なお、速度vは予め決定される所定値である。上記(1)、(2)、(3)式から移動時間tCRが求まる。
【0060】
紙送り量演算部82eは、移動時間演算部82dによって演算された移動時間tCRに基づいて、PFモータ1が所定の速度vePで定速走行領域を進んでいて停止するまでに上記移動時間tCRと同じ時間かかると仮定した場合に上記時間tCRの間にPFモータ1によって紙送りされる紙送り量STPFを演算する。この紙送り量STPFは、次のようにして求められる。PFモータ1の減速時間tpd、すなわちPFモータ1が上記所定の速度vePから停止するまでの時間tpdは、上記所定の速度vePに応じて決まる一定の値となっている。PFモータ1が単位距離進む間(例えば1回転する間)に紙送りされる紙送り量をαとすると、紙送り量STPFは、
STPF=α・(veP・(tCR−tpd)+veP・tpd/2)
として求められる。
【0061】
紙送り残量演算部82fは、エンコーダ13の出力に基づいて、実際の紙送り残量SRPFを演算する。なお、この実際の紙送り残量SRPFは図15に示す速度制御部90の位置カウンタ90aの出力に基づいて演算しても良い。
【0062】
比較部82gは、所定のタイミング毎、例えばエンコーダ13の出力パルスを受ける度毎に紙送り量演算部82eの出力である紙送り量STPFと、紙送り残量演算部82fの出力である実際の紙送り残量SRPFとを比較し、実際の紙送り残量SRPFが紙送り量STPF以下となったときにCRモータ4の起動指令を出力する。
【0063】
次に、本実施の形態の動作を図2および図3を参照して説明する。図2は、本実施の形態の動作を示すフローチャートであり、図3は、PFモータ1とCRモータ4の動作タイミングを示す速度波形図である。
【0064】
今、図3に示すように例えば電源が投入された後に時刻tでCRモータ4を起動する(図2のスッテプF1参照)。すると加速時間計測部82aによってCRモータ4の加速時間taccの計測が開始され、CRモータ4が定速走行領域に到達したときに加速時間taccの計測が終了する(図2のスッテプF2参照)。この計測された加速時間taccは、メモリ82bに記憶される。そして、キャリッジ3が印字開始位置に到達すると(図3の時刻t参照)、印字を開始する(図2のスッテプF3参照)。図3に示す時刻tで、印字動作が終了すると同時にPFモータ1が起動され、紙送りが開始される(図2のスッテプF4参照)。そして、時刻tでキャリッジ3が停止する(図2のスッテプF5参照)。次の印字処理を行わない場合には、CRモータ4の制御を終了する(図2のスッテプF6参照)。
【0065】
図2のスッテプF6において、次の印字処理を行う場合は図2に示すステップF7に進み、エンコーダ11の出力とCPU16から送られてくる印字情報とに基づいて、停止しているキャリッジ3の現在位置と次の印字開始位置との距離Lが距離演算部82cによって演算される(図2のスッテプF7参照)。続いて、メモリ82bに記憶されているCRモータ4の前回の起動時の加速時間taccと、上記距離演算部82cの出力とに基づいて、上記停止位置から上記印字開始位置までキャリッジ3が移動するに要する移動時間tCRが移動時間演算部82dによって演算される(図2のスッテプF8参照)。
【0066】
そして図2のスッテプF9において、演算された移動時間tCRに基づいて、PFモータ1が所定の速度vePで定速走行領域を進んでいて停止するまでに上記移動時間tCRと同じ時間かかると仮定した場合に上記時間tCRの間にPFモータ1によって紙送りされる紙送り量STPFが紙送り量演算部82eによって演算される。
【0067】
また図2のスッテプF10において、エンコーダ13の出力に基づいて、実際の紙送り残量SRPFが紙送り残量演算部82fによって演算される。そして所定のタイミング毎に紙送り量演算部82eの出力である紙送り量STPFと、紙送り残量演算部82fの出力である実際の紙送り残量SRPFとが比較部82gによって比較され、実際の紙送り残量SRPFが紙送り量STPF以下となったときにCRモータ4の起動指令が比較部82gから出力される。実際の紙送り残量SRPFが紙送り量STPFよりも大きい場合には、ステップF10に戻り、PFモータ1の実際の紙送り残量SRPFが演算される。
【0068】
比較部82gからCRモータ4の起動指令が出力されると、上述のステップF1に戻り、CRモータ4が起動される(図3に示す時刻t参照)。そして上述のステップF2乃至F6の動作が実行される。すなわち、加速時間の計測が行われて記憶され(図2のステップF2参照)、CRモータ4が起動してからtCR時間が経過すると、図3の時刻tに示すようにPFモータ1が停止するとともにキャリッジ3によって印字が開始される(図2のステップF3参照)。以下ステップF4乃至F6の動作が実行される。
【0069】
以上説明したように、本実施の形態によれば、PFモータ1が停止するとほぼ同時にキャリッジ3によって印字が開始されるように構成されているので、PFモータ1とCRモータ4との動作が重なる期間を最適化することが可能となり、印字処理のスループットを可及的に高くすることができる。
【0070】
(第2の実施の形態)
次に、本発明による印刷制御装置の第2の実施の形態を図5および図7を参照して説明する。この実施の形態の印刷制御装置は、図1に示す第1の実施の形態の印刷制御装置において、印字不許可指令発生部を新たに設けた構成となっている。この印字不許可指令発生部85の構成を図5に示す。この印字不許可指令発生部85は、オーバライドカウンタ85aと、演算開始指令発生部85bと、オーバライド残量演算部85cと、紙送り残量演算部85dと、比較部85eと、を備えている。
【0071】
オーバライドカウンタ85aは、紙検出センサ15の出力に基づいて計数を開始し、エンコーダ13の出力パルスENC−A,ENC−B各々の立ち上がりエッジ、立ち下がりエッジを検出し、この検出されたエッジの個数を計数する。そして上記計数値が所定値に達すると”0”にリセットされる構成となっている。紙検出センサ15が紙50の終端を検出したとき、キャリッジ3に搭載された記録ヘッド9は、図7に示す印字可能なオーバライド領域51の上限位置aに位置している。したがって紙検出センサ15は、記録ヘッド9がオーバライド領域51に入ったことを検出していることにもなる。オーバライド領域51の下限位置aは、紙50の終端から例えば約3mmの位置にあり、オーバライド領域51の長さd1、即ち上限位置aと下限位置aとの間の距離は例えば1インチ(=2.54cm)となっている。そして、PFモータ1が1インチだけ紙送りするとエンコーダ13は、5760個のパルスエッジを出力する。このため、オーバライドカウンタ85aの上記所定値は、5760に設定される。
【0072】
演算開始指令発生部85bは、紙検出センサ15の出力に基づいて上記記録ヘッド9がオーバライド領域51に入っているか否かを監視し上記記録ヘッド9がオーバライド領域51に入っていて、かつCRモータ4の起動指令を受信したときに演算開始指令を出力する。
【0073】
オーバライド残量演算部85は、上記演算開始指令を受信するとオーバライドカウンタ85aの出力に基づいて、オーバライド領域の副走査方向の残量ROVすなわち記録ヘッド9の現在位置とオーバライド領域の下限位置aとの距離を演算する。
【0074】
紙送り残量演算部85dは、紙送りの目標値とエンコーダ13の出力に基づいて紙送りの残量RPFを演算する。なお、この紙送り残量演算部85dは、新たに設ける必要はなく図1に示す紙送り残量演算部82fを兼用しても良い。
【0075】
比較部85eは、紙送り残量RPFとオーバライド領域の残量ROVとを比較して、紙送り残量RPFがオーバライド領域の残量ROV以上のときに、DCユニット6内に設けられている印字指令発生部6aに印字不許可指令を発し、印字指令を発生しないようにする。これにより、DCユニット6内の印字指令発生部6aからヘッドドライバ10に印字指令が送出されず、キャリッジ3が動作しても印字動作が行われないことになる。
【0076】
次に第2の実施の形態の動作を図6を参照して説明する。図6は、第2の実施の形態の動作を示すフローチャートである。まず、記録ヘッド9がオーバライド領域51に入っていない場合にはオーバライドカウンタ85aはONせず、印字動作は、通常通り行われる(図6のステップF21参照)。記録ヘッド9がオーバライド領域51に入っている場合には、オーバライドカウンタ85aがONし、カウントを開始する。このとき、CRモータ4の起動指令を受信すると、演算開始指令発生部85bから演算開始指令が発せられる(図6のステップF21参照)。すると、オーバライド残量演算部85cによってオーバライド領域の残量ROVが演算される(図6のステップF22参照)とともに、紙送り残量演算部85dによって紙送りの残量RPFが演算される(図6のステップF23参照)。そして、紙送り残量RPFとオーバライド領域の残量ROVとが比較部85eにおいて比較され(図6のステップF24参照)、紙送り残量RPFがオーバライド領域の残量ROV以上のときに、DCユニット6内に設けられている印字指令発生部6aに印字不許可指令が発せられ(図6のステップF25参照)、印字動作が行われない。なお、紙送り残量RPFがオーバライド領域の残量ROV未満のときには、CRモータ4次の起動指令が発せられるまで印字不許可指令発生部85の動作は停止する(図6のステップF24参照)。
【0077】
以上説明したように本実施の形態によれば、印字ヘッド9がオーバライド領域51に入っていてかつCRモータ4の起動指令が発せられたときにオーバライド領域の残量ROVと紙送りの残量RPFとが印字不許可指令発生部85において比較され、紙送り残量RPFがオーバライド領域の残量ROV以上のときに、DCユニット6内に設けられている印字指令発生部6aに印字不許可指令が発せられて印字動作が行われないように構成されているため、プラテンに印字するのを防止することができる。なお、この実施の形態も第1の実施の形態と同様な効果を有することは云うまでもない。
【0078】
【発明の効果】
以上述べたように、本発明によればPFモータが停止するとほぼ同時にキャリッジによって印字が開始されるように構成されているので、PFモータとCRモータとの動作が重なる期間を最適化することが可能となり、印字処理のスループットを可及的に高くすることができる。
【図面の簡単な説明】
【図1】本発明による印刷制御装置の第1の実施の形態の構成を示すブロック図。
【図2】第1の実施の形態の動作をしめすフローチャート。
【図3】第1の実施の形態にかかるPFモータとCRモータの動作タイミングを示す速度波形図。
【図4】第1の実施の形態にかかるCRモータの動作を模式的に示す速度波形図。
【図5】本発明による印刷制御装置の第2の実施の形態の構成を示すブロック図。
【図6】第2の実施の形態の動作をしめすフローチャート。
【図7】オーバライド領域を説明する模式図。
【図8】インクジェットプリンタの概略の構成を示す構成図。
【図9】キャリッジ周辺の構成を示す斜視図。
【図10】リニア式エンコーダの構成を示す模式図。
【図11】エンコーダの出力パルスの波形図。
【図12】紙検出センサの位置を説明するプリンタの概略の斜視図。
【図13】CRモータの従来の速度制御部の構成を示すブロック図。
【図14】CRモータの速度制御を説明するタイミングチャート。
【図15】PFモータの従来の速度制御部の構成を示すブロック図。
【図16】従来の問題点を説明する、PFモータとCRモータの動作タイミングを示す速度波形図。
【符号の説明】
1 紙送りモータ(PFモータ)
2 紙送りモータドライバ
3 キャリッジ
4 キャリッジモータ(CRモータ)
5 キャリッジモータドライバ(CRモータドライバ)
6 DCユニット
6a 位置カウンタ
6b 減算器
6c 目標速度演算手段
6d 速度演算部
6e 減算器
6f 比例要素
6g 積分要素
6h 微分要素
6j D/Aコンバータ
6k タイマ
6m 加速制御部
6p パルスカウンタ
6q 電流値信号発生部
7 ポンプモータ
8 ポンプモータドライバ
9 記録ヘッド
10 ヘッドドライバ
11 リニア式エンコーダ
12 符号板
13 エンコーダ(ロータリ式エンコーダ)
15 紙検出センサ
16 CPU
17 タイマIC
18 ホストコンピュータ
19 インタフェース部
20 ASIC
21 PROM
22 RAM
23 EEPROM
25 プラテン
30 プーリ
31 タイミングベルト
32 キャリッジモータのガイド部材
34 インクカートリッジ
35 キャッピング装置
36 ポンプユニット
37 キャップ
50 記録紙
65 紙送りローラ
66 従動ローラ
68 排紙ローラ
69 従動ローラ
80 速度制御部
82 重ね合わせ最適化制御部
82a 加速時間計測部
82b メモリ
82c 距離演算部
82d 移動時間演算部
82e 紙送り量演算部
82f 紙送り残量演算部
82g 比較部
85 印字不許可発生部
85a オーバライドカウンタ
85b 演算指令発生部
85c オーバライド残量演算部
85d 紙送り残量演算部
85e 比較部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing control apparatus and a printing control method, and particularly used for mutual control of a paper feed motor and a carriage motor.
[0002]
[Prior art]
A conventional print control apparatus will be described with reference to FIGS. This print control apparatus is used in an ink jet printer, and FIG. 8 shows a schematic configuration of the ink jet printer.
[0003]
The ink jet printer includes a paper feed motor (hereinafter also referred to as a PF motor) 1 that feeds paper, a paper feed motor driver 2 that drives the paper feed motor 1, a carriage 3, and a carriage motor that drives the carriage 3. (Hereinafter also referred to as a CR motor) 4, a CR motor driver 5 that drives the carriage motor 4, a DC unit 6, a pump motor 7 that controls the suction of ink to prevent clogging, and the pump motor 7 A pump motor driver 8 that drives the head 9, a head 9 that is fixed to the carriage 3 and discharges ink onto the printing paper 50, a head driver 10 that drives and controls the head 9, and a linear encoder 11 that is fixed to the carriage 3. , A code plate 12 having slits formed at predetermined intervals, and a rotary encoder for the PF motor 1 , A paper detection sensor 15 that detects the end position of the paper being printed, a CPU 16 that controls the entire printer, a timer IC 17 that periodically generates an interrupt signal for the CPU 16, and a host computer 18 And an ASIC 20 for controlling the print resolution and the drive waveform of the head 9 based on the print information sent from the host computer 18 via the IF 19. A PROM 21, RAM 22 and EEPROM 23 used as work areas and program storage areas of the ASIC 20 and CPU 16, a platen 25 that supports the paper 50 being printed, and a transport roller 27 that is driven by the PF motor 1 to transport the print paper 50. And the prop attached to the rotary shaft of the CR motor 4 And Li 30, and a timing belt 31 driven by the pulley 30, the.
[0004]
The DC unit 6 controls the drive of the paper feed motor driver 2 and the CR motor driver 5 based on the control command sent from the CPU 16 and the outputs of the encoders 11 and 13. Both the paper feed motor 1 and the CR motor 4 are DC motors.
[0005]
FIG. 9 shows a configuration around the carriage 3 of the ink jet printer.
[0006]
The carriage 3 is connected to the carriage motor 4 via a pulley 30 by a timing belt 31 and is driven so as to move parallel to the platen 25 while being guided by a guide member 32. On the surface of the carriage 3 facing the printing paper, there is provided a recording head 9 comprising a nozzle row for ejecting black ink and a nozzle row for ejecting color ink. Each nozzle row is supplied with ink from the ink cartridge 34. Characters and images are printed by ejecting ink droplets onto printing paper.
[0007]
In the non-printing area of the carriage 3, a capping device 35 for sealing the nozzle openings of the recording head 9 during non-printing and a pump unit 36 having the pump motor 7 shown in FIG. 8 are provided. When the carriage 3 moves from the printing area to the non-printing area, the capping device 35 moves upward by contacting a lever (not shown) and seals the head 9.
[0008]
When the nozzle opening row of the head 9 is clogged or when the ink is forcibly ejected from the head 9 by replacing the cartridge 34 or the like, the pump unit 36 is operated with the head 9 sealed. The ink is sucked out from the nozzle opening row by the negative pressure from the pump unit 36. As a result, dust and paper dust adhering to the vicinity of the nozzle opening row are washed, and air bubbles in the head 9 are discharged to the cap 37 together with ink.
[0009]
Next, the configuration of the linear encoder 11 attached to the carriage 3 is shown in FIG. The encoder 11 includes a light emitting diode 11a, a collimator lens 11b, and a detection processing unit 11c. The detection processing unit 11c includes a plurality (four) of photodiodes 11d, a signal processing circuit 11e, and two comparators 11f. A , 11f B And have.
[0010]
When the voltage Vcc is applied to both ends of the light emitting diode 11a via a resistor, light is emitted from the light emitting diode 11a. This light is collimated by the collimator lens 11b and passes through the code plate 12. The code plate 12 has a configuration in which slits are provided at predetermined intervals (for example, 1/180 inch (= 1/180 × 2.54 cm)).
[0011]
The parallel light that has passed through the code plate 12 enters each photodiode 11d through a fixed slit (not shown) and is converted into an electrical signal. The electric signals output from the four photodiodes 11d are processed in the signal processing circuit 11e. The signal output from the signal processing circuit 11e is the comparator 11f. A , 11f B And the comparison result is output as a pulse. Comparator 11f A 11f B The pulses ENC-A and ENC-B output from the encoder 11 become the output of the encoder 11.
[0012]
The phases of the pulse ENC-A and the pulse ENC-B are different by 90 degrees. When the CR motor 4 is rotating forward, that is, when the carriage 3 is moving in the main scanning direction, the phase of the pulse ENC-A is advanced by 90 degrees from the pulse ENC-B as shown in FIG. Is reversed, the encoder 4 is configured such that the phase of the pulse ENC-A is delayed by 90 degrees from the pulse ENC-B as shown in FIG. One period T of the pulse corresponds to the slit interval (for example, 1/180 inch (= 1/180 × 2.54 cm)) of the code plate 12 and is equal to the time for the carriage 3 to move the slit interval.
[0013]
On the other hand, the rotary encoder 13 for the PF motor 1 has the same configuration as that of the linear encoder 11 except that the code plate is a rotating disc that rotates in accordance with the rotation of the PF motor 1, and has two output pulses. ENC-A and ENC-B are output. In the ink jet printer, the slit interval of the plurality of slits provided on the code plate of the encoder 13 for the PF motor 1 is 1/180 inch (= 1/180 × 2.54 cm). When rotated by the 1 slit interval, the paper is fed by 1/1440 inch (= 1/1440 × 2.54 cm).
[0014]
Next, the position of the paper detection sensor 15 shown in FIG. 8 will be described with reference to FIG. In FIG. 12, the paper 50 inserted into the paper feed insertion slot 61 of the printer 60 is fed into the printer 60 by a paper feed roller 64 driven by a paper feed motor 63. The leading edge of the paper 50 fed into the printer 60 is detected by, for example, the optical paper detection sensor 15. The paper 50 whose leading edge is detected by the paper detection sensor 15 is fed by a paper feed roller 65 and a driven roller 66 driven by the PF motor 1.
[0015]
Subsequently, printing is performed by dropping ink from a recording head (not shown) fixed to the carriage 3 that moves along the carriage guide member 32. When the paper is fed to a predetermined position, the end of the currently printed paper 50 is detected by the paper detection sensor 15. Then, the gear 67c driven by the PF motor 1 drives the gear 67c via the gear 67b, whereby the paper discharge roller 68 and the driven roller 69 are rotationally driven, and the paper 50 that has finished printing is discharged into the paper discharge port. 62 is discharged to the outside. A sign plate of the encoder 13 is attached to the rotation shaft of the paper feed roller 65.
[0016]
Next, speed control of the CR motor 4 of this conventional ink jet printer will be described with reference to FIGS. The speed control of the CR motor 4 is performed by a speed control unit 80 provided in the DC unit 6. The speed control unit 80 includes a position counter 80a, a subtraction unit 80b, a target speed calculation unit, as shown in FIG. 80c, speed calculator 80d, subtractor 80e, proportional element 80f, integral element 80g, differential element 80h, adder 80i, D / A converter 80j, timer 80k, acceleration controller 80m, It has.
[0017]
The position counter 80a detects the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 11, counts the number of detected edges, and determines the position of the carriage 3 based on the counted value. Is calculated. This count is incremented by “+1” when one edge is detected when the CR motor 4 is rotating in the forward direction, and “−1” when one edge is detected when the CR motor 4 is rotating in the reverse direction. Is added. The period of each of the pulses ENC-A and ENC-B is equal to the slit interval of the code plate, and the pulse ENC-A and the pulse ENC-B are different in phase by 90 degrees. For this reason, the count value “1” of the count corresponds to ¼ of the slit interval of the code plate of the encoder 13. Accordingly, when the count value is multiplied by 1/4 of the slit interval, the amount of movement of the carriage 3 from the position corresponding to the count value “0” can be obtained. At this time, the resolution of the encoder 11 is 1/720 inch (= 1/720 × 2.54 cm).
[0018]
The subtractor 80b calculates a position deviation between the target position and the count value of the position counter 80a.
[0019]
The target speed calculation unit 80c calculates the target speed of the CR motor 4 based on the position deviation that is the output of the subtracter 80b. This calculation is performed by multiplying the position deviation by the gain Kp. This gain Kp is determined according to the position deviation. Note that the value of the gain Kp may be stored in a table (not shown).
[0020]
The speed calculation unit 80d calculates the speed of the CR motor 4 based on the output pulses ENC-A and ENC-B of the encoder 11. This speed is obtained as follows. First, the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 11 are detected, and the time interval between the edges is counted by, for example, a timer counter. When this count value is T, the speed is proportional to 1 / T.
[0021]
The subtractor 80e calculates a speed deviation between the target speed and the actual speed of the CR motor 4 calculated by the speed calculation unit 80d.
[0022]
The proportional element 80f multiplies the speed deviation by a constant Gp and outputs the multiplication result. The integration element 80g integrates the speed deviation multiplied by a constant Gi. The differentiation element 80h multiplies the difference between the current speed deviation and the previous speed deviation by a constant Gd, and outputs the multiplication result. The calculation of the proportional element 80f, the integral element 80g, and the derivative element 80h is performed every period of the output pulse ENC-A of the encoder 11 in synchronization with the rising edge of the output pulse ENC-A, for example.
[0023]
The outputs of the proportional element 80f, the integral element 80g, and the derivative element 80h are added by an adder 80i. The addition result, that is, the drive current of the CR motor 4 is sent to the D / A converter 80j and converted into an analog current. The CR motor 4 is driven by the driver 5 based on the analog current.
[0024]
The timer 80k and the acceleration control unit 80m are used for acceleration control, and the PID control using the proportional element 80f, the integral element 80g, and the derivative element 80h is used for constant speed and deceleration control during acceleration.
[0025]
The timer 80k generates a timer interrupt signal every predetermined time based on the clock signal sent from the CPU 16.
[0026]
Each time the acceleration control unit 80m receives the timer interrupt signal, the acceleration control unit 80m integrates a predetermined current value (for example, 20 mA) with the target current value, and the integration result, that is, the target current value of the CR motor 4 at the time of acceleration, is obtained. Sent to. As in the case of PID control, the target current value is converted into an analog current by the D / A converter 80j, and the CR motor 4 is driven by the driver 5 based on this analog current.
[0027]
The driver 5 includes, for example, four transistors, and each of the transistors is turned on or off based on the output of the D / A converter 80j.
(A) Operation mode in which the CR motor 4 is rotated forward or backward.
(B) Regenerative brake operation mode (short brake operation mode, that is, a mode for maintaining the CR motor 4 stopped)
(C) Mode to stop CR motor 4
It is the structure which can perform.
[0028]
Next, the operation of the speed controller 80 will be described with reference to FIGS. 14 (a) and 14 (b). When a start command signal for starting the CR motor 4 is sent to the speed control unit 80 when the CR motor 4 is stopped, the start initial current value I is sent from the acceleration control unit 80m. 0 Is sent to the D / A converter 80j. This starting initial current value I 0 Is sent from the CPU 16 to the acceleration controller 80m together with the start command signal. And this current value I 0 Is converted to an analog current by the D / A converter 80j and sent to the driver 5, and the driver 5 starts to start the CR motor 4 (see FIGS. 14A and 14B).
[0029]
After receiving the start command signal, a timer interrupt signal is generated from the timer 80k every predetermined time. Each time the acceleration control unit 80m receives a timer interrupt signal, the startup initial current value I 0 Is integrated with a predetermined current value (for example, 20 mA), and the integrated current value is sent to the D / A converter 80j. Then, the integrated current value is converted into an analog current by the D / A converter 80j and sent to the driver 5. Then, the CR motor 4 is driven by the driver 5 and the speed of the CR motor 4 is increased so that the value of the current supplied to the CR motor 4 becomes the integrated current value (see FIG. 14B). For this reason, the current value supplied to the CR motor 4 is stepped as shown in FIG.
[0030]
At this time, the PID control system is also operating, but the D / A converter 80j selects and captures the output of the acceleration control unit 80m.
[0031]
The integration process of the current value of the acceleration control unit 80m is a constant current value I where the integrated current value is constant. S It is done until it becomes. Time t 1 The current value accumulated in step is the predetermined value I S Then, the acceleration control unit 80m stops the integration process, and the D / A converter 80j has a constant current value I. S Supply. As a result, the value of the current supplied to the CR motor 4 becomes the current value I. S Is driven by the driver 5 (see FIG. 14A).
[0032]
In order to prevent the speed of the CR motor 4 from overshooting, the CR motor 4 is set to a predetermined speed V 1 (Time t 2 ), The acceleration control unit 80m controls the current supplied to the CR motor 4 to decrease. At this time, the speed of the CR motor 4 further increases, but the speed of the CR motor 4 is the predetermined speed v. c (Time t in FIG. 14B) 3 The D / A converter 80j selects the output of the PID control system, that is, the output of the adder 80i, and PID control is performed.
[0033]
That is, the target speed is calculated based on the position deviation between the target position and the count value of the position counter 80a, and based on the speed deviation between this target speed and the actual speed obtained from the output of the encoder 11, a proportional factor is calculated. 80f, the integral element 80g, and the differential element 80h are operated to perform proportional, integral, and differential calculations, respectively, and the CR motor 4 is controlled based on the sum of these calculation results. The proportional, integral, and differential calculations are performed in synchronization with the rising edge of the output pulse ENC-A of the encoder 11, for example. As a result, the speed of the CR motor 4 becomes the desired speed v. e It is controlled to become. The predetermined speed v c Is the desired speed v e 70 to 80% of the value is preferable.
[0034]
Time t Four To CR motor 4 has a desired speed v e It becomes. Thereafter, when the CR motor 4 approaches the target position (time t in FIG. 14B). Five See), the CR motor 4 is decelerated, and the time t 6 The CR motor 4 stops.
[0035]
The speed control of the PF motor 1 is performed by a speed control unit 90 provided in the DC unit 6 as shown in FIG. Similar to the speed control unit 80 of the CR motor 4, the speed control unit 90 includes a position counter 90a, a subtraction unit 90b, a target speed calculation unit 90c, a speed calculation unit 90d, a subtractor 90e, and a proportional element 90f. An integration element 90g, a differentiation element 90h, an adder 90i, a D / A converter 90j, a timer 90k, and an acceleration control unit 90m.
[0036]
The position counter 90a detects the rising edge and falling edge of each of the output pulses ENC-A and ENC-B of the encoder 13, counts the number of detected edges, and based on this count value, the PF motor 1 Calculate the amount of paper to be sent. The edge counting is performed in the same manner as the position counter 80a of the speed control unit 80.
[0037]
The speed control unit 90 calculates the speed of the PF motor 1 based on the output pulses ENC-A and ENC-B of the encoder 13.
[0038]
Components other than the position counter 90a and the speed control unit 90d perform the same operations as the corresponding components of the speed control unit 80. The output of the D / A converter 90j is sent to the paper feed driver 2. The paper feed driver 2 has the same configuration as the CR motor driver 5 and drives the PF motor 1 based on the output of the D / A converter 90j.
[0039]
[Problems to be solved by the invention]
In the conventional print control apparatus configured as described above, at the time of printing, 1) driving of the CR motor 4 accompanied by a printing operation and 2) driving of the PF motor 1 for paper feeding are sequentially repeated. That is, as shown in FIG. 16A, the CR motor 4 is driven to print one pass, and when printing is completed (time t in FIG. 16). 1 Reference), the PF motor 1 is started. Then, in anticipation of the time until the PF motor 1 stops, the CR motor 4 is activated for printing the next pass during the operation of the PF motor 1 (time t in FIG. 16). 2 Reference), printing is performed after the PF motor 1 is stopped. Time t from when the CR motor 4 is started until printing is started CR Is determined by the distance between the current position of the carriage 3 and the print start position. Therefore, the start time t of the CR motor 4 2 Is the stop time t of the PF motor 1 3 Predict t 3 -T 2 Is time t CR The time is as follows.
[0040]
However, in the conventional printing apparatus, the acceleration time t of the CR motor 4 a A constant value is used. When the CR motor 4 is a DC motor, for example, the weight of the carriage 3 varies greatly before and after ink replacement or before and after cleaning. For this reason, the acceleration time t of the CR motor 4 a Is the minimum value, and the time t from the start of the CR motor 4 to the start of printing CR I was trying to give a margin. That is, there is a case where there is a considerable time margin between the stop of the PF motor 1 and the start of printing.
[0041]
Therefore, in the conventional printing apparatus, there is a problem that there is a considerable margin between the paper feeding and the printing, and the throughput of the printing process is low.
[0042]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a print control apparatus and a print control method that can increase the throughput of print processing as much as possible.
[0043]
[Means for Solving the Problems]
The printing control apparatus according to the present invention includes a first drive control unit that drives and controls a paper feed motor, and a second drive control unit that drives and controls a carriage motor that drives a carriage on which a recording head is mounted. In the print control device,
An overlay optimization control unit configured to start the carriage motor so as to start printing immediately after the paper feed motor is stopped is provided.
[0044]
The overlay optimization control unit performs printing after the carriage is activated based on a current position of the carriage and a print start position included in print information when the paper feed motor is traveling at a constant speed. Calculate the time to start, and further calculate the paper feed amount to be fed by the paper feed motor when it is assumed that the paper feed motor will stop for the same time as the calculated time. The calculated paper feed amount is compared with the remaining paper feed amount, and when the calculated paper feed amount becomes equal to or greater than the remaining paper feed amount, a start command for the carriage motor is sent to the second drive control. Output to
The second drive control unit may be configured to start the carriage motor based on the start command.
[0045]
The overlay optimization control unit
A distance calculation unit that calculates a distance that the carriage moves based on a current position of the carriage and a print start position included in print information;
A movement time calculation unit that calculates a movement time from the start of the carriage to the movement of the distance calculated by the distance calculation unit;
A paper feed amount calculation unit for calculating a paper feed amount to be fed by the paper feed motor when it is assumed that it takes only the moving time until the paper feed motor running at a constant speed stops;
A paper feed remaining amount calculating unit for calculating a paper feed remaining amount of paper fed by the paper feed motor;
A comparator that compares the calculated paper feed amount with the paper feed remaining amount, and outputs the start command when the calculated paper feed amount is equal to or greater than the paper feed remaining amount;
You may comprise so that it may be provided.
[0046]
The distance calculation unit calculates the movement distance based on the output of the second encoder that rotates according to the rotation of the carriage motor, and the paper feed remaining amount calculation unit rotates according to the rotation of the paper feed motor. You may comprise so that the said paper feed remaining amount may be calculated based on the output of a 1st encoder.
[0047]
The overlay optimization control unit further includes an acceleration time measurement unit that measures an acceleration time from the start of the carriage to the arrival at a constant speed travel region,
The movement time calculation unit calculates the movement time as the sum of the acceleration time and the time from the arrival of the carriage to the constant speed travel region until the start of printing. You may comprise so that the measured value of acceleration time may be used as the acceleration time at the time of this starting.
[0048]
When the paper feed motor is traveling at a constant speed, the override can be printed by the print head when the print head is in the override area and the carriage motor is activated. The remaining amount of the area is calculated, and the remaining amount of paper fed by the paper feed motor is calculated. When the remaining amount of the override area is equal to or less than the remaining amount of paper feeding, a print non-permission command is generated. You may comprise so that a printing prohibition command generation part may be provided.
[0049]
The printing disapproval command generation unit
A calculation start command generating unit for generating a calculation start command when the recording head is in an override area and receiving a start command for the carriage motor;
An override remaining amount calculating unit that calculates the remaining amount of the override region based on the calculation start command;
A comparison unit that compares the remaining amount of the override area with the remaining amount of paper fed by the paper feed motor, and generates a print non-permission command when the remaining amount of the override area is less than or equal to the remaining paper feed amount When,
You may comprise so that it may be provided.
[0050]
In addition, the printing control method according to the present invention includes a step of starting a carriage motor that drives a carriage on which the print head is mounted so that printing is started immediately after the paper feed motor is stopped.
[0051]
The step of starting the carriage motor includes
Calculating a movement time from the start of the carriage to the start of printing based on a current position of the carriage and a print start position included in print information when the paper feed motor is traveling at a constant speed; ,
A step of calculating a paper feed amount fed by the paper feed motor when it is assumed that the paper feed motor is stopped by the same time as the calculated movement time;
Comparing the calculated paper feed amount with the remaining paper feed amount, and outputting a start command for the carriage motor when the calculated paper feed amount becomes equal to or greater than the remaining paper feed amount;
Starting the carriage motor based on the start command;
You may comprise so that it may be provided.
[0052]
The step of calculating the travel time includes
A step of measuring an acceleration time from the start of the carriage until reaching the constant speed travel region, the acceleration time, and a time from when the carriage reaches the constant speed travel region until printing starts The moving time may be calculated as the sum of the values, and the measurement value of the acceleration time at the previous activation of the carriage may be used as the acceleration time at the current activation.
[0053]
Note that the printing control method according to the present invention includes:
When the paper feed motor is traveling at a constant speed, the recording head mounted on the carriage driven by the carriage motor is in the override area and the recording command is received when the carriage motor activation command is received. When the remaining amount of the override area that can be printed by the head is calculated and the remaining amount of paper fed by the paper feed motor is calculated, and the remaining amount of the override area is equal to or less than the remaining amount of paper fed A step of generating a print disapproval command is provided.
[0054]
The step of generating the print non-permission command is as follows:
Generating a calculation start command when the recording head is in an override region and receiving a start command for the carriage motor;
Calculating the remaining amount of the override region based on the calculation start command;
Comparing the remaining amount of the override area with the remaining amount of paper fed by the paper feed motor, and generating a print disapproval command when the remaining amount of the override area is less than or equal to the remaining paper feed amount; ,
You may comprise so that it may be provided.
[0055]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
A first embodiment of a printing control apparatus according to the present invention will be described with reference to FIGS. The print control apparatus of this embodiment has a configuration in which an overlay optimization control unit is newly provided in the conventional print control apparatus shown in FIG. 8, and the configuration of the overlay optimization control unit is shown in FIG. Shown in The overlay optimization control unit 82 is provided in the DC unit 6 shown in FIG. 8, and includes an acceleration time measurement unit 82a, a memory 82b, a distance calculation unit 82c, a movement time calculation unit 82d, and a paper feed. An amount calculation unit 82e, a paper feed remaining amount calculation unit 82f, and a comparison unit 82g are provided. The overlay optimization control unit 82 performs control so as to optimize a period in which the operations of the PF motor 1 and the CR motor 4 overlap.
[0056]
The acceleration time measuring unit 82a is accelerated when the CR motor 4 is started based on the output of the encoder 11 and the output of the speed calculating unit 80d of the speed control unit 80 of the CR motor 4 when a start command for the CR motor 4 is received. And the measurement result is stored in the memory 82b. This acceleration time is the time from the start of the CR motor 4, that is, from the start of the carriage 3 to the arrival at the constant speed travel region. acc It is. And this stored acceleration time t acc Is used for calculation when the CR motor 4 is next started. FIG. 4 is a diagram schematically showing the speed waveform of the CR motor 4, that is, the speed waveform of the carriage 3.
[0057]
Based on the output of the encoder 11 and the print information sent from the CPU 16, the distance calculation unit 82c is a distance L between the current position of the stopped carriage 3 and the next print start position. c Is calculated. This distance L c May be calculated based on the output of the position counter 80a of the speed controller 80 shown in FIG.
[0058]
The moving time calculation unit 82d is configured to store the acceleration time t at the previous start-up of the CR motor 4 stored in the memory 82b. acc And a travel time t required for the carriage 3 to move from the stop position to the print start position based on the output of the distance calculation unit 82c. CR Is calculated (see FIG. 4). This travel time t CR Is obtained as follows.
Carriage 3 is constant speed v e T is the time from the arrival at the constant speed running area to the start of printing. uv And the carriage 3 has the acceleration time t acc The distance traveled between t Then, the travel time t CR Is
t CR = T acc + T uv (1)
It becomes. Where acceleration time t acc Uses the acceleration time at the previous start-up of the CR motor 4 stored in the memory 82b. When power is turned on, Recording head 9 If the weight of the carriage 3 changes abruptly before and after cleaning, etc., the acceleration time t used for the above calculation acc Is the minimum value of the assumed acceleration time.
[0059]
On the other hand, the carriage 3 has a constant speed v e The time t from the arrival at the constant speed running area where printing is started until printing starts uv Is
t uv = (L c -L t ) / V e (2)
It is. The distance L traveled by the carriage 3 during the acceleration time is t Is
L t = V e ・ T acc / 2 ... (3)
Obtained from Speed v e Is a predetermined value determined in advance. From the above equations (1), (2) and (3), the movement time t CR Is obtained.
[0060]
The paper feed amount calculation unit 82e is configured to move the movement time t calculated by the movement time calculation unit 82d. CR The PF motor 1 has a predetermined speed v eP The above travel time t until the vehicle stops at a constant speed CR Assuming that it takes the same time as CR Paper feed amount ST fed by the PF motor 1 during PF Is calculated. This paper feed amount ST PF Is obtained as follows. Deceleration time t of PF motor 1 pd That is, the PF motor 1 has the predetermined speed v eP Time t from stop to stop pd Is the predetermined speed v eP It is a constant value determined according to If the paper feed amount that is fed while the PF motor 1 travels a unit distance (for example, during one rotation) is α, the paper feed amount ST PF Is
ST PF = Α ・ (v eP ・ (T CR -T pd ) + V eP ・ T pd / 2)
As required.
[0061]
Based on the output of the encoder 13, the paper feed remaining amount calculation unit 82 f is based on the actual paper feed remaining amount SR. PF Is calculated. This actual paper feed remaining amount SR PF May be calculated based on the output of the position counter 90a of the speed controller 90 shown in FIG.
[0062]
The comparison unit 82g outputs a paper feed amount ST that is an output of the paper feed amount calculation unit 82e at every predetermined timing, for example, every time an output pulse of the encoder 13 is received. PF And the actual paper feed remaining amount SR which is the output of the paper feed remaining amount calculating unit 82f PF And the actual paper feed remaining amount SR PF Is paper feed amount ST PF A start command for the CR motor 4 is output when the following occurs.
[0063]
Next, the operation of the present embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing the operation of the present embodiment, and FIG. 3 is a velocity waveform diagram showing the operation timing of the PF motor 1 and the CR motor 4.
[0064]
Now, for example, as shown in FIG. 0 The CR motor 4 is started (see step F1 in FIG. 2). Then, the acceleration time t of the CR motor 4 is measured by the acceleration time measuring unit 82a. acc When the CR motor 4 reaches the constant speed travel region, the acceleration time t acc (See step F2 in FIG. 2). This measured acceleration time t acc Is stored in the memory 82b. When the carriage 3 reaches the print start position (time t in FIG. 3). 1 (See FIG. 2), printing is started (see step F3 in FIG. 2). Time t shown in FIG. 2 Then, at the same time as the printing operation is completed, the PF motor 1 is started and paper feeding is started (see step F4 in FIG. 2). And time t 3 The carriage 3 stops (see step F5 in FIG. 2). When the next printing process is not performed, the control of the CR motor 4 is terminated (see step F6 in FIG. 2).
[0065]
In step F6 in FIG. 2, when the next printing process is to be performed, the process proceeds to step F7 shown in FIG. 2, and the current carriage 3 being stopped is detected based on the output of the encoder 11 and the printing information sent from the CPU 16. The distance L between the position and the next print start position c Is calculated by the distance calculation unit 82c (see step F7 in FIG. 2). Subsequently, the acceleration time t at the previous start-up of the CR motor 4 stored in the memory 82b acc And a travel time t required for the carriage 3 to move from the stop position to the print start position based on the output of the distance calculation unit 82c. CR Is calculated by the movement time calculation unit 82d (see step F8 in FIG. 2).
[0066]
In step F9 of FIG. 2, the calculated travel time t CR The PF motor 1 has a predetermined speed v eP The above travel time t until the vehicle stops at a constant speed CR Assuming that it takes the same time as CR Paper feed amount ST fed by the PF motor 1 during PF Is calculated by the paper feed amount calculation unit 82e.
[0067]
Further, in step F10 of FIG. 2, the actual paper feed remaining amount SR is determined based on the output of the encoder 13. PF Is calculated by the paper feed remaining amount calculation unit 82f. At each predetermined timing, the paper feed amount ST, which is the output of the paper feed amount calculation unit 82e. PF And the actual paper feed remaining amount SR which is the output of the paper feed remaining amount calculating unit 82f PF Are compared by the comparison unit 82g, and the actual paper feed remaining amount SR is compared. PF Is paper feed amount ST PF When it becomes below, the starting command of CR motor 4 is output from the comparison part 82g. Actual paper feed remaining amount SR PF Is paper feed amount ST PF If it is larger than that, the process returns to step F10, and the actual paper feed remaining amount SR of the PF motor 1 is returned. PF Is calculated.
[0068]
When the start command for the CR motor 4 is output from the comparison unit 82g, the process returns to the above-described step F1 to start the CR motor 4 (time t shown in FIG. 3). 4 reference). Then, the operations in steps F2 to F6 described above are executed. That is, acceleration time is measured and stored (see step F2 in FIG. 2), and after the CR motor 4 is started, t CR When time elapses, time t in FIG. 5 As shown in FIG. 2, the PF motor 1 stops and the carriage 3 starts printing (see step F3 in FIG. 2). Thereafter, the operations of steps F4 to F6 are executed.
[0069]
As described above, according to the present embodiment, since the printing is started by the carriage 3 almost simultaneously when the PF motor 1 stops, the operations of the PF motor 1 and the CR motor 4 overlap. The period can be optimized, and the throughput of the printing process can be increased as much as possible.
[0070]
(Second Embodiment)
Next, a second embodiment of the print control apparatus according to the present invention will be described with reference to FIGS. The print control apparatus of this embodiment has a configuration in which a print non-permission command generation unit is newly provided in the print control apparatus of the first embodiment shown in FIG. The configuration of the print disapproval command generator 85 is shown in FIG. The print disapproval command generation unit 85 includes an override counter 85a, a calculation start command generation unit 85b, an override remaining amount calculation unit 85c, a paper feed remaining amount calculation unit 85d, and a comparison unit 85e.
[0071]
The override counter 85a starts counting based on the output of the paper detection sensor 15, detects the rising edge and falling edge of each of the output pulses ENC-A and ENC-B of the encoder 13, and the number of detected edges. Count. When the count value reaches a predetermined value, the count value is reset to “0”. When the paper detection sensor 15 detects the end of the paper 50, the recording head 9 mounted on the carriage 3 detects the upper limit position a of the printable override area 51 shown in FIG. 1 Is located. Therefore, the paper detection sensor 15 also detects that the recording head 9 has entered the override area 51. Lower limit position a of the override region 51 2 Is approximately 3 mm from the end of the paper 50, and the length d1 of the override region 51, that is, the upper limit position a. 1 And lower limit position a 2 The distance between the two is, for example, 1 inch (= 2.54 cm). When the PF motor 1 feeds paper by 1 inch, the encoder 13 outputs 5760 pulse edges. For this reason, the predetermined value of the override counter 85a is set to 5760.
[0072]
The calculation start command generator 85b monitors whether or not the recording head 9 is in the override area 51 based on the output of the paper detection sensor 15, and the recording head 9 is in the override area 51 and a CR motor. When the start command 4 is received, a calculation start command is output.
[0073]
When the override remaining amount calculation unit 85 receives the calculation start command, the override remaining amount calculation unit 85 determines the remaining amount R in the sub-scanning direction of the override region based on the output of the override counter 85a. OV That is, the current position of the recording head 9 and the lower limit position a of the override area 2 And calculate the distance.
[0074]
The paper feed remaining amount calculation unit 85d is based on the paper feed target value and the output of the encoder 13, and the paper feed remaining amount R PF Is calculated. The paper feed remaining amount calculation unit 85d does not need to be newly provided, and may also be used as the paper feed remaining amount calculation unit 82f shown in FIG.
[0075]
The comparison unit 85e displays the paper feed remaining amount R PF And the remaining amount R of the override area OV Compared with PF Is the remaining amount R of the override area OV At the time described above, a print non-permission command is issued to the print command generator 6a provided in the DC unit 6 so that the print command is not generated. As a result, a print command is not sent from the print command generator 6a in the DC unit 6 to the head driver 10, and no print operation is performed even if the carriage 3 operates.
[0076]
Next, the operation of the second embodiment will be described with reference to FIG. FIG. 6 is a flowchart showing the operation of the second embodiment. First, when the recording head 9 is not in the override area 51, the override counter 85a is not turned on, and the printing operation is performed as usual (see step F21 in FIG. 6). When the recording head 9 is in the override area 51, the override counter 85a is turned on and starts counting. At this time, when a start command for the CR motor 4 is received, a calculation start command is issued from the calculation start command generator 85b (see step F21 in FIG. 6). Then, the remaining amount R of the override area is calculated by the override remaining amount calculation unit 85c. OV Is calculated (see step F22 in FIG. 6), and the paper feed remaining amount calculation unit 85d performs the paper feed remaining amount R. PF Is calculated (see step F23 in FIG. 6). And the paper feed remaining amount R PF And the remaining amount R of the override area OV Are compared in the comparison unit 85e (see step F24 in FIG. 6), and the paper feed remaining amount R PF Is the remaining amount R of the override area OV At the time described above, a print non-permission command is issued to the print command generator 6a provided in the DC unit 6 (see step F25 in FIG. 6), and the printing operation is not performed. Paper remaining amount R PF Is the remaining amount R of the override area OV If it is less, the operation of the print disapproval command generation unit 85 stops until a CR motor quaternary start command is issued (see step F24 in FIG. 6).
[0077]
As described above, according to the present embodiment, the remaining amount R of the override area when the print head 9 is in the override area 51 and a start command for the CR motor 4 is issued. OV And paper feed amount R PF Are compared in the print non-permission command generation unit 85 and the remaining paper feed R PF Is the remaining amount R of the override area OV At this time, the printing command generation unit 6a provided in the DC unit 6 is configured so that a printing non-permission command is issued and the printing operation is not performed, so that printing on the platen is prevented. be able to. It goes without saying that this embodiment also has the same effect as the first embodiment.
[0078]
【The invention's effect】
As described above, according to the present invention, since the printing is started by the carriage almost simultaneously with the stop of the PF motor, the period in which the operations of the PF motor and the CR motor overlap can be optimized. Thus, the throughput of the printing process can be increased as much as possible.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a first embodiment of a print control apparatus according to the present invention.
FIG. 2 is a flowchart showing the operation of the first embodiment.
FIG. 3 is a velocity waveform diagram showing operation timings of the PF motor and the CR motor according to the first embodiment.
FIG. 4 is a velocity waveform diagram schematically showing the operation of the CR motor according to the first embodiment.
FIG. 5 is a block diagram showing the configuration of a second embodiment of a print control apparatus according to the present invention.
FIG. 6 is a flowchart showing the operation of the second embodiment.
FIG. 7 is a schematic diagram for explaining an override region.
FIG. 8 is a configuration diagram showing a schematic configuration of an inkjet printer.
FIG. 9 is a perspective view showing a configuration around a carriage.
FIG. 10 is a schematic diagram showing a configuration of a linear encoder.
FIG. 11 is a waveform diagram of an encoder output pulse.
FIG. 12 is a schematic perspective view of a printer for explaining the position of a paper detection sensor.
FIG. 13 is a block diagram showing a configuration of a conventional speed control unit of a CR motor.
FIG. 14 is a timing chart for explaining speed control of a CR motor.
FIG. 15 is a block diagram showing a configuration of a conventional speed control unit of a PF motor.
FIG. 16 is a velocity waveform diagram showing operation timings of a PF motor and a CR motor, explaining conventional problems.
[Explanation of symbols]
1 Paper feed motor (PF motor)
2 Paper feed motor driver
3 Carriage
4 Carriage motor (CR motor)
5 Carriage motor driver (CR motor driver)
6 DC unit
6a Position counter
6b subtractor
6c Target speed calculation means
6d Speed calculator
6e Subtractor
6f proportional element
6g integral element
6h Differential element
6j D / A converter
6k timer
6m acceleration control unit
6p pulse counter
6q current value signal generator
7 Pump motor
8 Pump motor driver
9 Recording head
10 Head driver
11 Linear encoder
12 Code plate
13 Encoder (Rotary encoder)
15 Paper detection sensor
16 CPU
17 Timer IC
18 Host computer
19 Interface section
20 ASIC
21 PROM
22 RAM
23 EEPROM
25 platen
30 pulley
31 Timing belt
32 Guide member for carriage motor
34 Ink cartridge
35 Capping device
36 Pump unit
37 cap
50 chart paper
65 Paper feed roller
66 Followed Roller
68 Paper discharge roller
69 Followed roller
80 Speed control unit
82 Overlay optimization controller
82a Acceleration time measurement unit
82b memory
82c Distance calculator
82d Travel time calculator
82e Paper feed amount calculator
82f Paper feed remaining amount calculation section
82g comparator
85 Printing disapproval generator
85a Override counter
85b Calculation command generator
85c Override remaining amount calculator
85d Paper feed remaining amount calculator
85e comparator

Claims (1)

紙送りモータを駆動制御する第1の駆動制御部と、
記録ヘッドが搭載されたキャリッジを駆動するキャリッジモータを駆動制御する第2の駆動制御部と、
前記紙送りモータの停止直後に印字開始するタイミングとなるように前記キャリッジモータを起動するように構成された重ね合わせ最適化制御部であって、前記紙送りモータが定速走行しているときに前記キャリッジの現在位置と印字情報に含まれる印字開始位置とに基づいて前記キャリッジが起動してから印字開始するまでの時間を演算し、更に前記演算された時間と同じ時間だけかかると仮定したときの前記紙送りモータによって紙送りされる紙送り量を演算し、この演算された紙送り量と紙送り残量とを比較し、前記演算された紙送り量が前記紙送り残量以上となったときに前記キャリッジモータの起動指令を前記第2の駆動制御部に出力する重ね合わせ最適化制御部と、
を備え、
前記第2の駆動制御部は、前記起動指令に基づいて前記キャリッジモータを起動し、
前記重ね合わせ最適化制御部は、
前記紙送りモータが定速走行しているときに前記キャリッジの現在位置と印字情報に含まれる印字開始位置とに基づいて前記キャリッジが移動する距離を演算する距離演算部と、
前記距離演算部によって演算された距離を、前記キャリッジが起動してから移動するまでの移動時間を演算する移動時間演算部と、
前記キャリッジが起動してから定速走行領域に到達するまでの加速時間を計測する加速時間計測部と、
を更に備え、
前記移動時間演算部は、通常時には、前記加速時間と、前記キャリッジが前記定速走行領域に到達してから印字開始するまでの時間との和として前記移動時間を演算し、前記キャリッジの前回の起動時の加速時間の計測値を今回の起動時の加速時間として用いるが、電源投入後および前記記録ヘッドのクリーニング後に印字する場合には、前回の起動時の加速時間の計測値に代えて、加速時間の最小値を今回の起動時の加速時間として用いることを特徴とする印刷装置。
A first drive control unit that drives and controls the paper feed motor;
A second drive control unit that drives and controls a carriage motor that drives a carriage on which the recording head is mounted;
An overlay optimization control unit configured to start the carriage motor so as to start printing immediately after the paper feed motor stops , when the paper feed motor is traveling at a constant speed When calculating the time from the start of the carriage to the start of printing based on the current position of the carriage and the print start position included in the print information, and further assuming that it takes the same time as the calculated time The paper feed amount fed by the paper feed motor is calculated, the calculated paper feed amount is compared with the remaining paper feed amount, and the calculated paper feed amount is equal to or greater than the remaining paper feed amount. An overlay optimization control unit that outputs a start command of the carriage motor to the second drive control unit when
With
The second drive control unit starts the carriage motor based on the start command ,
The overlay optimization control unit
A distance calculation unit that calculates a distance that the carriage moves based on a current position of the carriage and a print start position included in print information when the paper feed motor is traveling at a constant speed;
A movement time calculation unit that calculates a movement time from the start of the carriage to the movement of the distance calculated by the distance calculation unit;
An acceleration time measuring unit that measures an acceleration time from the start of the carriage until reaching the constant speed travel region;
Further comprising
The movement time calculation unit calculates the movement time as a sum of the acceleration time and the time from the arrival of the carriage to the constant speed travel region until the start of printing in a normal state. The measured acceleration time value at startup is used as the acceleration time at startup time, but when printing after turning on the power and cleaning the recording head, instead of the measured acceleration time value at the previous startup time, A printing apparatus using a minimum acceleration time as an acceleration time at the time of starting this time .
JP2000044445A 2000-02-22 2000-02-22 Printing device Expired - Fee Related JP4457456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000044445A JP4457456B2 (en) 2000-02-22 2000-02-22 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000044445A JP4457456B2 (en) 2000-02-22 2000-02-22 Printing device

Publications (3)

Publication Number Publication Date
JP2001232882A JP2001232882A (en) 2001-08-28
JP2001232882A5 JP2001232882A5 (en) 2006-06-29
JP4457456B2 true JP4457456B2 (en) 2010-04-28

Family

ID=18567195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000044445A Expired - Fee Related JP4457456B2 (en) 2000-02-22 2000-02-22 Printing device

Country Status (1)

Country Link
JP (1) JP4457456B2 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3472278B2 (en) 2001-05-17 2003-12-02 キヤノン株式会社 Recording apparatus and recording control method
JP2007031125A (en) 2005-07-29 2007-02-08 Seiko Epson Corp Printer and control method for printer
JP2007030440A (en) 2005-07-29 2007-02-08 Seiko Epson Corp Printer
JP4661445B2 (en) 2005-08-12 2011-03-30 セイコーエプソン株式会社 Encoder
JP2007196505A (en) 2006-01-26 2007-08-09 Seiko Epson Corp Printer and printer control method
JP4172492B2 (en) 2006-04-03 2008-10-29 セイコーエプソン株式会社 Stepping motor control method, stepping motor control device and printer
JP4215064B2 (en) 2006-04-03 2009-01-28 セイコーエプソン株式会社 Stepping motor control method, stepping motor control device and printer
JP2008129063A (en) * 2006-11-16 2008-06-05 Brother Ind Ltd Image reader
JP5040283B2 (en) * 2006-12-08 2012-10-03 セイコーエプソン株式会社 Recording method and recording apparatus in recording apparatus
JP5012107B2 (en) * 2007-03-14 2012-08-29 セイコーエプソン株式会社 Recording method and recording apparatus in recording apparatus
JP4450034B2 (en) 2007-08-31 2010-04-14 セイコーエプソン株式会社 Serial recording apparatus and recording medium feeding method
JP5298805B2 (en) 2008-11-25 2013-09-25 セイコーエプソン株式会社 Recording apparatus and recording method in recording apparatus
JP2011152761A (en) 2010-01-28 2011-08-11 Brother Industries Ltd Image recording apparatus and image recording method
JP2011158320A (en) 2010-01-29 2011-08-18 Brother Industries Ltd Detection system, control system, image forming system, and control method
JP7131263B2 (en) 2018-09-28 2022-09-06 ブラザー工業株式会社 image forming system
JP7210972B2 (en) 2018-09-28 2023-01-24 ブラザー工業株式会社 image forming system

Also Published As

Publication number Publication date
JP2001232882A (en) 2001-08-28

Similar Documents

Publication Publication Date Title
JP4457456B2 (en) Printing device
US7147299B2 (en) Control unit and method for controlling motor for use in printer, and storage medium storing control program
JP3859115B2 (en) Printer motor control apparatus, control method, and recording medium recording control program
US7431414B2 (en) Printer-control apparatus, printer-control method and printer
JP2003145872A (en) Printer control method and printer controller
JP3832174B2 (en) Motor control device and control method
JP3780804B2 (en) Motor control device and control method
JP3570617B2 (en) DC motor control device and control method
US6967729B1 (en) Control unit and method for controlling motor for use in printer, and storage medium storing control program
JP4362815B2 (en) Platen gap adjusting device, printing device, and motor control device
JP3705061B2 (en) MOTOR CONTROL DEVICE, ITS CONTROL METHOD, AND RECORDING MEDIUM CONTAINING MOTOR CONTROL PROGRAM
JP3777936B2 (en) Motor control method and control apparatus
JP3893853B2 (en) Printer motor control apparatus and control method
JP3849908B2 (en) Print control apparatus and print control method
JP2005153258A (en) Printer control device/method and printer
JP3871181B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP3818496B2 (en) Printer control apparatus and printer control method
JP3812283B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP2003023783A (en) Motor control method, motor control device, printer, computer program, and computer system
JP3812351B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP4432055B2 (en) Printer motor control apparatus and control method
JP2001078475A (en) Device and method for controlling motor
JP4026331B2 (en) Motor driving method, motor driving apparatus, printer, computer program, and computer system
JP3900401B2 (en) DC motor control method and control apparatus
JP3780768B2 (en) Print control apparatus and print control method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060512

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090925

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091102

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: 20100119

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100201

R150 Certificate of patent or registration of utility model

Ref document number: 4457456

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130219

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130219

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees