JP4266553B2 - Inkjet recording device - Google Patents

Inkjet recording device Download PDF

Info

Publication number
JP4266553B2
JP4266553B2 JP2001354691A JP2001354691A JP4266553B2 JP 4266553 B2 JP4266553 B2 JP 4266553B2 JP 2001354691 A JP2001354691 A JP 2001354691A JP 2001354691 A JP2001354691 A JP 2001354691A JP 4266553 B2 JP4266553 B2 JP 4266553B2
Authority
JP
Japan
Prior art keywords
data
buffer
read
recording
dma
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
JP2001354691A
Other languages
Japanese (ja)
Other versions
JP2003154640A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001354691A priority Critical patent/JP4266553B2/en
Priority to US10/291,780 priority patent/US6793312B2/en
Publication of JP2003154640A publication Critical patent/JP2003154640A/en
Application granted granted Critical
Publication of JP4266553B2 publication Critical patent/JP4266553B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はインクジェット記録装置およびその制御方法に関するものである。
【0002】
【従来の技術】
インクジェット記録装置(プリンター)に代表されるシリアル型のプリンターは被記録媒体の搬送方向と直行する方向に記録ヘッドを走査させながら印字を行い、1回の走査を終えた段階で記録ヘッドの幅分だけ被記録媒体を搬送し、その繰り返しで記録が実行される。その際、プリンター内部ではホストから送信された記録データをプリントバッファに展開(格納)した後、記録ヘッドのノズル列に合うように変換を行い、記録ヘッドのノズル長に相当するデータが順に記録ヘッドに転送され、記録ヘッドが移動しながらノズルからインクを吐出することで画像が形成されている。
【0003】
その際、処理速度の向上とプリントバッファの容量削減を目的として「ヌルスキップ制御」が実施されている。これは記録ヘッドの走査方向の記録データがゼロ(ヌル)であり、かつこのデータがゼロの状態(ヌル状態)が被記録媒体の搬送方向に所定単位だけ連続する場合、そのデータをプリントバッファに展開(ライト)しないで、その代わりにゼロデータに対応するヌルフラグをセットすることである。
【0004】
図3の(i)はヌルスキップ制御を使用しない場合のプリントバッファへの記録データの格納状態を示す図である。なおこの図においてX方向が記録ヘッドの走査方向であり、Y方向は記録媒体の搬送方向である。図に示す(5),(6),(11),(12)の領域は前述している記録ヘッドの走査方向ですべての記録データがヌルであり、かつヌル状態が被記録媒体の搬送方向に所定単位(例えば8ノズル分)だけ連続している領域である。このようにヌルスキップ制御を行わない場合は、この領域に対応するプリントバッファにはヌルデータが格納されている。
【0005】
図3の(iii)はヌルスキップ制御を使用した場合の(i)に対応するプリントバッファへの記録データの格納状態を示す図である。
【0006】
被記録媒体の搬送方向に所定単位毎に各領域がヌルデータで占められているか否かを示すヌルフラグテーブルが設けられている。ヌルスキップ制御はこのヌルフラグテーブルの情報を参照して行われる。前述した(5),(6),(11),(12)に対応するヌルフラグがセットされ(値は1がセットされる)、ヌルデータをプリントバッファに展開することを省いている。そして、ヌルフラグがセットされているプリントバッファの読み出しの処理として、ヌルフラグがセットされているプリントバッファの次のアドレスについてダミーの読み出しをおこない、読み出したデータの代わりにヌルデータを記録ヘッドへ転送する。
【0007】
記録データのプリントバッファへのライト(書き込み)する場合やプリントバッファからのリード(読み出し)する場合にもDMA手段が用いられている。そのため、プリンターには複数のDMA手段(DMAチャネル)が設けられているが、使用する際は優先順位に従ってDMAバスを占有する。この優先順位は予め定められた順位によるもの(優先順位方式)、順にDMAチャネルを監視する方式(サイクリック方式)が知られている。
【0008】
DMA手段は上述したプリントバッファに対するライト処理やリード処理以外にも、CPUからのバス占有要求、記録データ加工処理、DRAMのリフレッシュ動作、モーターの制御、ホストとの通信などにDMA機能が用いられている。
【0009】
このため、プリントバッファに対する書き込み処理や読み出し処理をDMA手段で行っている間にDMAバスを占有しているので、他のDMAの処理(DMAの要求)はDMAバスが開放されるまでその実行が待たされることになる。
【0010】
【発明が解決しようとする課題】
このヌルスキップ制御を行う場合、ヌルフラグがセットされているプリントバッファについてヌルデータの有無にかかわらず、必ずプリントバッファの記録データをDMA手段で読み出し処理を行っていた。この場合、ヌルフラグがセットされていた場合には、読み出したデータをヌルデータに変換してから記録ヘッドに転送していた。
【0011】
このため、DMAバスの占有率が増加し、DMAの要求を出しているのにバスが開放されず、DMA転送の処理に時間がかかるという課題があった。
【0012】
【課題を解決するための手段】
上記課題を解決するために、本発明のインクジェット記録装置は、記録ヘッドを走査させて記録を行うために、ラスターデータを格納するプリントバッファと、前記プリントバッファに格納されるラスターデータが所定ノズル数分ヌルであることを示すヌルフラグを前記プリントバッファの領域に対応してセットするヌルフラグテーブルとを有するインクジェット記録装置であって、外部から入力したデータを保持する保持手段と、走査方向に所定ドット数分のラスターデータを前記所定ノズル数分書き込むブロックを複数備え、前記ラスターデータをブロック単位で書き込みが行われると書き込み対象のブロックを指定するカウンタの値の更新を行い、前記カウンタの値に基づきラスターデータをカラムデータに変換を行うデータ変換手段と、前記データ変換手段に備えられたブロックに対してブロック単位でゼロクリアするクリア手段と、前記保持手段から前記プリントバッファへの転送処理と前記プリントバッファから前記データ変換手段への転送処理とを行い、前記プリントバッファから前記データ変換手段への1回の転送処理は前記所定ドット数分のラスターデータを前記所定ノズル数分カラム方向に沿って行うDMA手段と、前記データ変換手段で変換されたカラムデータを読み出し、前記記録ヘッドに対して転送する転送手段とを備え、
前記ヌルフラグテーブルに前記ヌルフラグがセットされていない場合には、前記DMA手段により前記プリントバッファからラスターデータを読み出して前記データ変換手段の書き込み対象のブロックに格納し、前記ヌルフラグがセットされている場合には、DMA手段により前記プリントバッファからラスターデータの読み出しを行わず、前記クリア手段によって書き込みを行う対象のブロックをゼロクリアすることを特徴とするインクジェット記録装置である。
【0014】
【発明の実施の形態】
【実施例】
図1は本発明の実施形態として適応可能なインクジェット記録装置の構成を示す図である。この記録装置はインクジェット記録方式の記録ヘッド1を備えたインクジェット記録装置(プリンター)である。
【0015】
記録ヘッド1は図示下向きにインクを吐出する姿勢でキャリッジ2に搭載されており、キャリッジ2の軸受け部2aがガイド軸3に沿って移動しながらインク液滴を吐出して、記録用紙等の被記録媒体4上に1走査分の画像を形成していく。
【0016】
なお、キャリッジ2のガイド軸3に沿った往復運動は、キャリッジモータ5の駆動力が伝達されたプーリ6の回転により、タイミングベルト7を介して行われる。
【0017】
記録ヘッド1による1走査分の記録が終了すると、搬送モーター9が駆動されてプラテン8上に位置する被記録媒体4がキャリッジ2の移動方向に対して直行する方向に所定量だけ搬送される。次いで再びキャリッジ2をガイド軸3に沿って移動させながら次の1走査分の画像形成を行う。これらの動作を繰り返すことにより、被記録媒体4の画像が完成する。
【0018】
プリンターの右側には記録ヘッド1のインク吐出状態を良好に保つための回復動作を行う回復ユニット10が配設されている。回復ユニット10には記録ヘッド1をキャップするキャップ11、記録ヘッド1のインク吐出面を拭うワイパ12、および記録ヘッド1のインク吐出ノズルからインクを吸引するための吸引ポンプ(不図示)等が設けられている。
【0019】
また、このプリンターはエンコーダスケール13およびエンコーダ14を備えており、キャリッジ2の移動速度の検出を行い、キャリッジモータ5の駆動時にそのフィードバック制御を行うように構成されている。またエンコーダスケール13の位置情報をエンコーダ14により読み取ることで、記録ヘッド1のインク吐出タイミング(以後ヒートタイミングと呼ぶ)がとられている。
【0020】
この記録ヘッド1はインクジェット記録方式で複数の記録素子が配列されている。記録素子は駆動部とノズルから構成されており、駆動部は電気熱変換体(吐出ヒーター)によりインクに熱をあたえることが可能になっている。この熱によりインクは膜沸騰し、この膜沸騰による気泡の成長または収縮によって生じる圧力変化によって、ノズルからインクが吐出される。
【0021】
記録ヘッド1は図8に示すように、シアン記録ヘッド1C、マゼンタ記録ヘッド1M、イエロー記録ヘッド1Yおよびブラック記録ヘッド1Kの4色の記録ヘッドを有している。各色の記録ヘッド1C、1M、1Y、1Kは平行に並び、キャリッジ2の移動方向に配列するようにキャリッジ2に搭載されている。ブラックの記録ヘッドのノズル数はトータル320ノズルで、1列あたり160ノズルで構成されており、このノズル列を2列有する。同様にシアン、マゼンタ、イエローの記録ヘッドはそれぞれトータル256のノズルを有する。1列あたりのノズル数は128であり、シアン、マゼンタ、イエロー、イエロー、マゼンタ、シアンの順にノズル列が配置され双方記録を可能としている。これらのノズルは被記録媒体の搬送方向に並んでいる。なお、ブラックの記録ヘッドの解像度は300DPI、シアン、マゼンタ、イエローの記録ヘッドの解像度は600DPIである。
【0022】
図2はプリンターの制御構成を示す図である。図2においてC1〜C7は制御信号を表している。D1〜D5は記録データの流れを表している。100はホストから記録データを受け取るI/Fブロックであり、FIFOメモリで構成されている。記録データを受信すると一旦保持し、GA103が一旦保持されたデータの中から制御コードを解析し、DMA手段を用いてデータの中から画像データのみをRAM105に設けられたプリントバッファに展開する。この処理を各色に対応したデータについて行う。
【0023】
101は記録動作等の各種制御を行うCPUである。102は記録動作の手順等のプログラムを格納するROMである。103はGAでありCPU101の管理下でシステム全体を制御している。前述した記録データの解析、プリントバッファからの記録データの読み出し、記録ヘッド1へ転送等を行う。後で述べるHV変換手段もGA103に有し、記録ヘッドのノズル列に合った形式に記録データを変換する処理も行う。
【0024】
104はプリンターで使用されている複数のDMAチャンネルを制御するDMAC(DMAコントローラー)であり、例えばDMA要求が重なった場合は所定の優先順位で調停をおこない、順にDMA要求の処理をおこなう。
【0025】
105はデータを一時的に格納するRAMであり、プリントバッファやマスクバッファが設けられている。このマスクバッファには記録データを間引くためのマスクデータが保存される。このマスクデータは、複数の走査で記録画像を完成させる記録モードで使用される。
【0026】
なお、本実施例ではRAMとしてSDRAMを用い、1回のDMAリード(DMAによる読み出し)動作で連続アドレスから8ワードのデータをリード(読み出し)可能である(バーストリード機能)。
【0027】
106はSRAMであり、SDRAM105内のプリントバッファからGA103内のHV変換手段へDMA転送をおこない、HV変換手段で変換したデータを格納する転送バッファを有している。この転送バッファは記録ヘッド1のすべてのノズルに対して独立して1対1に対応するように構成されている。
【0028】
107は記録ヘッド1を制御する記録ヘッドドライバである。なおその駆動タイミングは前述したエンコーダ14からの情報から作成され、GA103によって制御される。
【0029】
次に図2と図3を用いて、プリントバッファと転送バッファのデータの格納状態についての説明と、I/Fブロック100から入力された記録データの記録ヘッド1に転送されるデータ形式について説明する。
【0030】
I/F100で受信された記録データを含む印字データGA103を介してDMA処理によりSDRAM105内のプリントバッファに展開される。その際、記録ヘッド1の各ノズル列に対応してノズル方向に連続アドレスとなるような形で格納される。
【0031】
その結果、プリントバッファに展開された記録データは図3の(ii)で示すようなアドレスに配置され、プリントバッファからDMAリードする際は、リード開始(読み出し開始)アドレスAを指定すると、SDRAMのバーストリード機能を用いることにより自動的にアドレスがインクリメントされながら8ワード分のデータがそれぞれアドレスA、A+2、A+4、A+6、A+8、A+10、A+12、A+14から高速にDMAリードされることになる。
【0032】
さらに、記録ヘッド1のノズル方向にデータをリードする場合はリード開始アドレスをA+16に設定することで連続アドレスから8ワード分のデータがDMAリード可能である。記録ヘッドの各ノズル列の全ノズル数(例えば128ノズル)のプリントバッファのリード開始アドレスを更新しながらDMAリードを繰り返すことでデータを収得する。
【0033】
また、キャリッジ2の走査方向にリード開始アドレスを更新する場合はリード開始アドレスをA+Bに更新し、同様にリードする。ここで「B」はあらかじめ定められたオフセット値である。なおこれらのリード開始アドレスおよびオフセット値の指定は所定レジスタに設定値をセットすることにより決定される。
【0034】
そして、図3の(i)に示されるような記録データである場合は、ヌルスキップ制御を用いることにより図3の(iii)のようにプリントバッファに格納されることになる。なおヌルフラグは記録ヘッドの長さ分必要であり、例えば128ノズルに対して8ノズル単位のヌルスキップ制御を実施しているため、16のフラグが必要となり、このフラグを保存するためのヌルフラグテーブルがある。また、この図に示したプリントバッファのアドレス構成から、1ワード分のデータはキャリッジ2の走査方向に各ノズルあたり16ドット分のデータがリードされる(読み出される)。
【0035】
図3の(iv)はSRAM106に有する転送バッファに格納される記録データの形式である。なおここでSRAM106は32bit形式とする。この図3の(iv)は、図3の(iii)に示す形式でプリントバッファに展開されているデータを記録ヘッド1に転送するために適した形に変換されたものを示す。この図3の(iv)に示されたデータは図3の(iii)で示した記録データとヌルフラグのデータに基づいて変換されている。その結果、所定のヒートタイミングで転送バッファをリードすることで記録データを記録ヘッド1に効率よく転送することが可能となる。
【0036】
図4はHV変換手段の説明図である。図4(a)はHV変換手段に記録データを書き込む場合の説明図である。8ワード単位の16ビットのラスターデータがライトされる(書き込まれる)。このブロックがライトブロック(書き込みブロック)であり、この実施例ではHV変換手段には4つを有する。
【0037】
図4(b)はHV変換手段からデータを読み出す場合の説明図である。記録ヘッドが走査する方向に配列するラスターデータを記録ヘッドのノズル列方向に配列するカラムデータに変換するのがHV変換である。このカラムデータをリードするためブロックがリードブロック(読み出しブロック)である。このHV変換によって、図3(iii)で示されるプリントバッファの所定アドレスに格納された記録データを図3(iv)に示すように変換される。なお、この図4で示した括弧数字は図3の(iv)で示されるリードデータの括弧数字に対応している。
【0038】
本ブロックは0から3までカウントするHVカウンタと、8ワード毎にライトをおこなう4つライトブロックと、32bit毎にリードをおこなうリードブロックと、リードブロックとライトブロックを選択するためのセレクト信号と、各ライト領域のデータをゼロクリアするためのクリア信号とで構成されている。GA103はHV変換手段の所定のライトブロックをゼロクリアするためのクリア回路(クリア手段)を有する。このクリア回路はHVカウンタの値に応じて所定のライトブロックを選択し、選択したライトブロックにゼロデータを書き込む(ゼロクリアを行う)。
【0039】
プリントバッファからDMAリード(DMA読み出し)を行うたびにHVカウンタの値に応じて所定のライトブロックにデータをライト(書き込み)をおこない、HVカウンタをインクリメントする(1加算する)。
【0040】
HVカウンタの値が3になると4つのライトブロックについてデータのライト(書き込み)を完了し、ライトされたデータがHV変換後に読み出され、転送バッファに格納される。
【0041】
この16bit分のデータが転送バッファに格納されると、HVカウンタはゼロクリアされ、再び本ブロックはライトブロックとなり、プリントバッファからDMAリードされたデータがHVカウンタの値に応じてライトされる。
【0042】
また、クリア信号を入力するたライトブロックのデータはすべてゼロクリアされる。このような処理を各記録ヘッドに対応したデータについておこなう。
【0043】
この結果、SRAM106にある転送バッファの各アドレスには32bitのデータが格納され、a、a+1、a+2とアドレスをリードすることで、記録ヘッドのノズル列について同時にヒートされる記録データを容易に記録ヘッド1に転送できる。
【0044】
図5は実際の記録(=ヒート)タイミングと転送バッファへの記録データ格納タイミングの関係を示す模式図である。簡単のために1色分のデータについて説明する。
【0045】
図5はSRAM106内にある転送バッファへの記録データ格納タイミング、転送バッファから記録ヘッドへの転送タイミング、記録ヘッドの吐出タイミング(ヒートタイミング)を示した説明図である。
【0046】
この図では左から右に時間が経過していることを示しており、1度の走査で32カラム分の記録データに対応して記録ヘッドからインクを吐出する場合を示している。図5の矢印はタイミング信号を表しており、この信号の周波数は記録ヘッドの駆動周波数と等しい。従って記録ヘッドの駆動周波数が10KHzであれば、このタイミングの周波数も10kHzである。このタイミング信号の出力回数は、例えば1回の走査記録で32カラム分記録する場合、65のクロック信号が出力される。
【0047】
矢印の上側の括弧数字は転送バッファへの格納するタイミングを示している。矢印の下側には記録ヘッドへの転送タイミングと、吐出(ヒート)タイミングを示した括弧数字が示されている。記録ヘッドへの転送タイミングから1つ遅れたタイミングがヒートタイミングである。なお、括弧数字は図3の(iv)で示したデータの括弧数字と対応している。
【0048】
一例として、一番左端の矢印で示したタイミングで(1)に対応するデータが転送バッファの一方のバンクに格納され、その16タイミング後のタイミング(1T)で記録ヘッドに1カラム目の記録データが転送される。そしてそのタイミングの1つ後のタイミング(1H)で吐出(ヒート)される。タイミング(2T)で記録ヘッドに2カラム目の記録データが転送され、タイミング(2H)で吐出(ヒート)される。タイミング(3T)で記録ヘッドに3カラム目の記録データが転送され、タイミング(3H)で吐出(ヒート)される。同様に(4)〜(16)に対応するデータも順に処理される。また、もう一方のバンクにはタイミング(17)で格納される。
【0049】
そして、転送バッファ内のデータは、1回の走査で格納するすべてのデータを記録ヘッドへ転送した後、吐出されるタイミングでクリアされる。このタイミングを(1C)とする。
【0050】
この処理によって、2つのバンクで構成されている転送バッファは各走査の記録データ(本例では32カラム分の記録データ)を転送した後にクリアされる。なお、ここでは32カラム分の記録データが記録ヘッドで記録される場合を示しているが、2880カラム分の記録データが記録ヘッドで記録される場合も同様であり、最後の32クロックの期間で転送バッファのデータがクリアされる。
【0051】
このように、転送バッファのデータは主走査のうち記録ヘッドにデータを転送するとクリアされ、次の走査記録のデータを格納する準備がなされる。
【0052】
以上述べたように、記録ヘッド1の走査方向に16bit(=16ヒートタイミング)のデータを一度に処理できることを利用して、記録タイミングの16タイミング前のタイミングで転送バッファに記録データを格納している。そして、記録タイミングの1タイミング前で記録データが転送クロック信号に応じてシリアル形式で記録ヘッド1に転送され、次のヒートタイミングで印字される。
【0053】
転送バッファは記録ヘッド1のノズル毎に対応した領域が割り当てられており、16カラム分データを格納できるバンクを2つ有している。一方のバンクから記録データが順次記録ヘッド1に転送している間に、もう一方のバンクにプリントバッファから読み出されたデータが格納(ライト)される。従って、16カラム分のデータを記録ヘッドで記録する間に、次の16カラム分のデータをもう一方のバンクに格納される。そして、転送を終了した格納されたバンクは次のデータの格納をおこなう。このように、2つのバンクから交互に記録ヘッドへデータが転送される。
【0054】
なお、この実施例では1タイミングで16カラム分のデータを転送バッファに格納することができるので、16ヒートトリガのうち1回の割合で行えばよい。また、転送バッファのクリアも1タイミングで16カラム分をクリアできるので、例えば(1C)〜(16C)、(17C)〜(32C)の期間でそれぞれ1回ずつクリアを行えば、2つのバンクのクリア処理が完了する。
【0055】
したがって、本実施例においては、4色(BK、C、M、Y)のインクに対応した記録ヘッドをそれぞれヒートするには、それぞれ同様のタイミング信号を用意する。
【0056】
<第1の実施例>
図6は第1の実施例における記録データの処理の流れを示すフローチャートである。このフローは各記録ヘッドに対応する記録データについてそれぞれおこなう。
【0057】
ステップS601で、リードしようとしているプリントバッファの位置に対応するヌルフラグデータをチェックする(チェックした後、ヌルフラグのアドレスを更新する)。もし、ヌルフラグがセットされていなければ、ステップS602でプリントバッファから記録データをDMAリードして連続する8ワード分の記録データを読み出す。ステップS603でHVカウンタの値に応じてHV変換手段の所定のライトブロックに読み出した記録データをライトする。ステップS604でプリントバッファを読み出すアドレスを示すアドレスカウンタの値を更新する。
【0058】
一方、ステップS601でヌルフラグがセットされていれば、プリントバッファからDMA手段で読み出しを行わず、ステップS605でHVカウンタの値に応じてゼロデータを書き込む(ゼロクリアをおこなう)。この場合クリアをするライトブロックに対してクリア信号を入力してゼロクリアをおこなう。
【0059】
ステップS606でリードカウンタおよびHVカウンタをインクリメントする。なお、ここでリードカウンタは記録ヘッドのノズル分の記録データをリードするために使用され、8ワード(=8ノズル分)リードする毎にインクリメントされる。例えば、シアンのインクに対応する記録ヘッドであれば128ノズルを有するので16までカウントされる。HVカウンタはHV変換手段を制御するために用いられるカウンタで3までカウントされる。
【0060】
ステップS607でHVカウンタの値が所定の値(この実施例では所定の値=3)であるか否かを判断する。もし、HVカウンタの値が所定の値でなければHV変換手段からリードするタイミングではないと判断して、ステップS601に戻り処理を続行する。HVカウンタの値が所定の値であれば、ステップS608でHV変換をおこない、ステップS609でHV変換結果をHV変換手段から読み出し、SRAM106にある転送バッファに格納する。
【0061】
ステップS610でリードカウンタが所定の値(この実施例では所定の値=16)であるかチェックする。
【0062】
一方、ステップS610でリードカウンタが所定の値であれば、ステップS611でリードカウンタとHVカウンタをクリアする。
【0063】
もし、所定の値に達していなければ、全ノズル分の記録データを転送バッファにライトしていないので、ステップS612でHVカウンタをクリアした後、ステップS601へ戻って処理を続ける。
【0064】
この処理をそれぞれの記録ヘッドの記録データについて行う。
【0065】
前述したように、実施例では1回のバッファリードで16カラム分のデータを格納することができるので、16ヒートトリガに1回バッファをリードすればよい。したがって、転送バッファへのデータ格納処理は各記録ヘッドについて16カラム単位で処理をおこなえばよい。
【0066】
このように、ヌルフラグがセットされているプリントバッファについてはヌルデータ作成手段が転送バッファに書き込みを行い、プリントバッファからDMA手段による記録データの読み出し処理を省く。このことによりDMA機能の使用頻度を下げることができる。DMAバスの占有率を低減し、余裕が生じた時間を他のDMA処理に割り当てることが出来る。
【0067】
<第2の実施例>
プリンターは記録動作の動作モードとしてドラフトモードや高画質モードを有する。ドラフトモードは記録データの一部を間引いて高速に印字するモードであり、高画質モードは記録走査間のムラを軽減するために記録データにマスクをかけ複数回の走査で記録をおこなうモードである。
【0068】
このように、記録モードによってはプリントバッファからリード(読み出し)された記録データに対して、マスクバッファからマスクデータをリード(読み出し)を行い、ラッチ手段でラッチを行い、両方の論理積を取ることで記録データを作成し、HV変換手段に格納している。この際、マスクバッファからのマスクデータの読み出しもマスクバッファ専用のDMA手段を用いて行う。
【0069】
この際、プリントバッファから読み出したデータがヌルであれば(マスクバッファのデータに関わらず記録データはヌルデータとなるので)、ヌルフラグがセットされているプリントバッファについてはマスクバッファのデータ読み出し(データリード)は行わない。
【0070】
図7に第2の実施例における制御を示すフローチャートを示す。ステップS701でヌルフラグがセットされていなければ、ステップS702でプリントバッファからプリントデータをDMAリードする。ステップS703でプリントバッファを読み出すアドレスを示すアドレスカウンタの値を更新する。ステップS704でマスクバッファからマスクデータをDMAリードする。ステップS705でプリントデータとマスクデータの論理積を取ることで記録データを完成させる。
【0071】
一方、ステップS701でヌルフラグをチェックし(チェックした後ヌルフラグのアドレスを更新する)、ヌルフラグがセットされていれば、ステップS707でゼロデータ(ヌルデータ)をセットして、ステップS708へ進む。
【0072】
ステップS708でマスクバッファのアドレス更新をする。このマスクバッファは複数回の走査で記録を完成させるため、ノズルに対応した必ずデータが格納されている。従って、マスクバッファについてはプリントバッファのようにヌルフラグを用いてバッファ内のデータを詰めて使用することはしない。
【0073】
したがって、ヌルスキップ制御に対応してマスクバッファをDMAリードしない場合であっても、マスクバッファのアドレスは常に更新する必要がある。マスクバッファのアドレス更新の方法は前述したプリントバッファの更新方法と同様に16インクリメントすればよい。
【0074】
ステップS709でリードカウンタおよびHVカウンタをインクリメントする。ステップS710でHVカウンタの値が所定の値(この実施例では所定の値=3)であるか否かを判断する。もし、HVカウンタの値が所定の値でなければHV変換手段からリードするタイミングではないと判断して、ステップS701に戻り処理を続行する。HVカウンタの値が所定の値であれば、ステップS711でHV変換をおこない、ステップS712でHV変換結果をHV変換手段から読み出し、SRAM106にある転送バッファに格納する。
【0075】
ステップS713でリードカウンタが所定の値(この実施例では所定の値=32)であるかチェックする。ステップS713でリードカウンタが所定の値であれば、ステップS714でリードカウンタとHVカウンタをクリアする。
【0076】
もし、所定の値に達していなければ、全ノズル分の記録データを転送バッファにライトしていないので、ステップS715でHVカウンタをクリアした後、ステップS701へ戻って処理を続ける。
【0077】
このように、ドラフトモードや高画質モードなどにおいても、プリントバッファの読み出し処理に加え、記録データに対するマスク処理もヌルフラグに基づいてDMA読み出し処理を行う。ヌルフラグがセットされていない場合には、マスクデータをDMA手段で読み出す。ヌルフラグがセットされている場合には、DMA手段による読み出しは行わない。この制御によりDMA機能の使用頻度を減らすことができ、DMAバスの占有率を低減し、インクジェット記録装置全体の制御の負荷を軽減することができる。
【0078】
以上第1、第2の実施例で説明をしてきたが、DMA転送やHV処理などを行う際のデータのビット数やワード数など実施例で述べた値に限定するものではない。
【0079】
また、記録ヘッドはノズル数や解像度など実施例で述べた値に限定するものではない。記録素子の駆動部としてピエゾ素子を用いても構わない。
【0080】
【発明の効果】
以上説明したように、DMA手段がヌルフラグに応じて、プリントバッファから読み出す処理をやめて、代わりにクリア回路がゼロデータをデータ変換手段に書き込みをおこなうことで不要なDMA転送の回数を減らし、DMAバスの占有率を抑制することができる。これによって、インクジェット記録装置の記録動作中におけるDMA転送の効率が向上する。
【図面の簡単な説明】
【図1】インクジェット記録装置の構成を示す図である。
【図2】インクジェット記録装置の制御構成を示す図である。
【図3】プリントバッファおよび転送バッファ内における記録データの格納状態を示している図である。
【図4】HV変換手段を説明する模式図である。
【図5】記録(=ヒート)タイミングと転送バッファへの記録データ格納タイミングの説明図である。
【図6】第1の実施例における制御のフローチャートである。
【図7】第2の実施例における制御のフローチャートである。
【図8】記録ヘッドのノズル配列を示す図である。
【符号の説明】
1 記録ヘッド
2 キャリッジ
2a 軸受け部
3 ガイド軸
4 記録媒体
5 キャリッジモータ
6 プーリ
7 タイミングベルト
8 プラテン
9 搬送モーター
10 回復機器
11 キャップ
12 ワイパ
13 エンコーダスケール
14 エンコーダ
100 I/Fブロック
101 CPU
102 ROM
103 GA
104 DMAC
105 RAM
106 SRAM
107 記録ヘッドドライバ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an ink jet recording apparatus and a control method thereof.
[0002]
[Prior art]
A serial type printer represented by an ink jet recording apparatus (printer) performs printing while scanning the recording head in a direction perpendicular to the conveyance direction of the recording medium. Only the recording medium is conveyed, and recording is executed by repeating the recording medium. At that time, after the print data transmitted from the host is developed (stored) in the print buffer inside the printer, the print data is converted so as to match the nozzle array of the print head, and the data corresponding to the nozzle length of the print head is sequentially added to the print head. The image is formed by ejecting ink from the nozzles while the recording head moves.
[0003]
At this time, “null skip control” is performed for the purpose of improving the processing speed and reducing the capacity of the print buffer. This is because when the recording data in the scanning direction of the recording head is zero (null), and this data is zero (null state) continues for a predetermined unit in the conveyance direction of the recording medium, the data is stored in the print buffer. Instead of developing (writing), a null flag corresponding to zero data is set instead.
[0004]
(I) of FIG. 3 is a diagram showing a storage state of recording data in the print buffer when the null skip control is not used. In this figure, the X direction is the scanning direction of the recording head, and the Y direction is the conveyance direction of the recording medium. The areas (5), (6), (11), and (12) shown in the figure are all null in the scanning direction of the recording head described above, and the null state is the conveyance direction of the recording medium. This is an area that continues for a predetermined unit (for example, 8 nozzles). When null skip control is not performed in this way, null data is stored in the print buffer corresponding to this area.
[0005]
(Iii) of FIG. 3 is a diagram showing a storage state of recording data in the print buffer corresponding to (i) when the null skip control is used.
[0006]
A null flag table is provided that indicates whether each area is occupied by null data for each predetermined unit in the recording medium conveyance direction. Null skip control is performed with reference to information in the null flag table. Null flags corresponding to the above (5), (6), (11), and (12) are set (value is set to 1), and the development of null data in the print buffer is omitted. As a reading process of the print buffer in which the null flag is set, dummy reading is performed for the next address of the print buffer in which the null flag is set, and the null data is transferred to the recording head instead of the read data.
[0007]
The DMA means is also used when writing (writing) recording data to the print buffer or reading (reading) from the print buffer. For this reason, the printer is provided with a plurality of DMA means (DMA channels), but when used, the DMA bus is occupied according to the priority order. This priority is based on a predetermined order (priority method), and a method for monitoring DMA channels in order (cyclic method) is known.
[0008]
In addition to the above-described write processing and read processing for the print buffer, the DMA means uses a DMA function for bus occupancy requests from the CPU, recording data processing, DRAM refresh operation, motor control, communication with the host, etc. Yes.
[0009]
For this reason, since the DMA bus is occupied while the write processing and read processing for the print buffer are performed by the DMA means, other DMA processing (DMA request) is executed until the DMA bus is released. I will be waiting.
[0010]
[Problems to be solved by the invention]
When performing this null skip control, the print data recorded in the print buffer is always read out by the DMA means regardless of the presence or absence of null data for the print buffer in which the null flag is set. In this case, when the null flag is set, the read data is converted to null data and then transferred to the recording head.
[0011]
For this reason, there is a problem that the occupation rate of the DMA bus is increased, the bus is not released even though the DMA request is issued, and it takes time for the DMA transfer processing.
[0012]
[Means for Solving the Problems]
In order to solve the above-described problems, an ink jet recording apparatus of the present invention includes a print buffer for storing raster data and raster data stored in the print buffer for a predetermined number of nozzles in order to perform recording by scanning a recording head. An ink jet recording apparatus having a null flag table for setting a null flag indicating that it is a minute null corresponding to the area of the print buffer, holding means for holding data input from the outside, and predetermined dots in the scanning direction A plurality of blocks for writing raster data for several minutes for the predetermined number of nozzles are provided, and when the raster data is written in units of blocks, a counter value for designating a block to be written is updated, and based on the counter value Data conversion means for converting raster data into column data The clearing unit that clears the block provided in the data conversion unit to zero in block units, the transfer process from the holding unit to the print buffer, and the transfer process from the print buffer to the data conversion unit, One transfer process from the print buffer to the data conversion means includes DMA means for performing raster data for the predetermined number of dots along the column direction for the predetermined number of nozzles, and column data converted by the data conversion means. Transfer means for reading out and transferring to the recording head,
When the null flag is not set in the null flag table, raster data is read from the print buffer by the DMA means and stored in the block to be written by the data conversion means, and the null flag is set In the inkjet recording apparatus, raster data is not read from the print buffer by the DMA means, and the block to be written is cleared to zero by the clear means.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
【Example】
FIG. 1 is a diagram showing a configuration of an ink jet recording apparatus applicable as an embodiment of the present invention. This recording apparatus is an ink jet recording apparatus (printer) including an ink jet recording type recording head 1.
[0015]
The recording head 1 is mounted on the carriage 2 so as to eject ink downward in the figure. The bearing 2a of the carriage 2 ejects ink droplets while moving along the guide shaft 3, and covers the recording paper or the like. An image for one scan is formed on the recording medium 4.
[0016]
The reciprocating motion along the guide shaft 3 of the carriage 2 is performed via the timing belt 7 by the rotation of the pulley 6 to which the driving force of the carriage motor 5 is transmitted.
[0017]
When recording for one scan by the recording head 1 is completed, the conveyance motor 9 is driven to convey the recording medium 4 positioned on the platen 8 by a predetermined amount in a direction perpendicular to the moving direction of the carriage 2. Next, image formation for the next one scan is performed while moving the carriage 2 along the guide shaft 3 again. By repeating these operations, the image of the recording medium 4 is completed.
[0018]
On the right side of the printer, there is disposed a recovery unit 10 that performs a recovery operation for keeping the ink ejection state of the recording head 1 good. The recovery unit 10 is provided with a cap 11 that caps the recording head 1, a wiper 12 that wipes the ink ejection surface of the recording head 1, a suction pump (not shown) for sucking ink from the ink ejection nozzles of the recording head 1, and the like. It has been.
[0019]
The printer includes an encoder scale 13 and an encoder 14, and detects the moving speed of the carriage 2 and performs feedback control when the carriage motor 5 is driven. Also, the ink discharge timing (hereinafter referred to as heat timing) of the recording head 1 is taken by reading the position information of the encoder scale 13 by the encoder 14.
[0020]
The recording head 1 has a plurality of recording elements arranged by an ink jet recording method. The recording element includes a drive unit and a nozzle, and the drive unit can apply heat to the ink by an electrothermal converter (discharge heater). The ink causes the film to boil, and the ink is ejected from the nozzle by a pressure change caused by the growth or contraction of the bubbles due to the film boiling.
[0021]
As shown in FIG. 8, the recording head 1 has four color recording heads: a cyan recording head 1C, a magenta recording head 1M, a yellow recording head 1Y, and a black recording head 1K. The recording heads 1 </ b> C, 1 </ b> M, 1 </ b> Y, and 1 </ b> K for each color are mounted on the carriage 2 so as to be arranged in parallel and arranged in the moving direction of the carriage 2. The number of nozzles of the black recording head is 320 nozzles in total, and 160 nozzles per row, and this nozzle row has two rows. Similarly, cyan, magenta, and yellow recording heads each have a total of 256 nozzles. The number of nozzles per row is 128, and nozzle rows are arranged in the order of cyan, magenta, yellow, yellow, magenta, and cyan to enable both printing. These nozzles are arranged in the recording medium conveyance direction. Note that the resolution of the black recording head is 300 DPI, and the resolution of the cyan, magenta, and yellow recording heads is 600 DPI.
[0022]
FIG. 2 is a diagram illustrating a control configuration of the printer. In FIG. 2, C1 to C7 represent control signals. D1 to D5 represent the flow of recording data. Reference numeral 100 denotes an I / F block that receives recording data from the host, and includes a FIFO memory. When the recording data is received, it is temporarily held, and the GA 103 analyzes the control code from the temporarily held data, and expands only the image data from the data to a print buffer provided in the RAM 105 using the DMA means. This process is performed for data corresponding to each color.
[0023]
A CPU 101 performs various controls such as a recording operation. Reference numeral 102 denotes a ROM for storing a program such as a recording operation procedure. Reference numeral 103 denotes a GA that controls the entire system under the control of the CPU 101. Analysis of the recording data, reading of the recording data from the print buffer, transfer to the recording head 1, and the like are performed. The GA 103 also has an HV conversion means, which will be described later, and also performs a process of converting print data into a format suitable for the nozzle array of the print head.
[0024]
Reference numeral 104 denotes a DMAC (DMA controller) that controls a plurality of DMA channels used in the printer. For example, when DMA requests overlap, arbitration is performed with a predetermined priority, and DMA requests are processed in order.
[0025]
A RAM 105 temporarily stores data, and is provided with a print buffer and a mask buffer. This mask buffer stores mask data for thinning out the recording data. This mask data is used in a recording mode in which a recorded image is completed by a plurality of scans.
[0026]
In this embodiment, SDRAM is used as the RAM, and 8-word data can be read (read) from a continuous address by one DMA read (read by DMA) operation (burst read function).
[0027]
An SRAM 106 has a transfer buffer for performing DMA transfer from the print buffer in the SDRAM 105 to the HV conversion unit in the GA 103 and storing data converted by the HV conversion unit. This transfer buffer is configured to correspond one-to-one independently for all the nozzles of the recording head 1.
[0028]
A print head driver 107 controls the print head 1. The drive timing is created from the information from the encoder 14 and is controlled by the GA 103.
[0029]
Next, the data storage state of the print buffer and the transfer buffer and the data format of the recording data input from the I / F block 100 and transferred to the recording head 1 will be described with reference to FIGS. .
[0030]
The print data GA103 including the recording data received by the I / F 100 is used to develop the print buffer in the SDRAM 105 by DMA processing. At that time, the data is stored in such a manner that continuous addresses are provided in the nozzle direction corresponding to each nozzle row of the recording head 1.
[0031]
As a result, the recording data developed in the print buffer is arranged at an address as shown in FIG. 3 (ii). When a DMA read from the print buffer is performed, if a read start (read start) address A is designated, the SDRAM By using the burst read function, the data for eight words is DMA-read from the addresses A, A + 2, A + 4, A + 6, A + 8, A + 10, A + 12, and A + 14 at high speed while the address is automatically incremented.
[0032]
Further, when data is read in the nozzle direction of the recording head 1, data for 8 words from the continuous address can be DMA read by setting the read start address to A + 16. Data is acquired by repeating the DMA read while updating the read start address of the print buffer of all the nozzles (for example, 128 nozzles) of each nozzle row of the printhead.
[0033]
When the read start address is updated in the scanning direction of the carriage 2, the read start address is updated to A + B, and the read is performed in the same manner. Here, “B” is a predetermined offset value. The designation of the read start address and the offset value is determined by setting a set value in a predetermined register.
[0034]
If the recording data is as shown in (i) of FIG. 3, it is stored in the print buffer as shown in (iii) of FIG. 3 by using null skip control. The null flag is required for the length of the recording head. For example, since null skip control is performed in units of 8 nozzles for 128 nozzles, 16 flags are necessary, and a null flag table for storing this flag There is. Further, from the address structure of the print buffer shown in this figure, data for one word is read (read) for 16 dots per nozzle in the scanning direction of the carriage 2.
[0035]
(Iv) in FIG. 3 is a format of recording data stored in a transfer buffer included in the SRAM 106. Here, the SRAM 106 is in a 32-bit format. FIG. 3 (iv) shows data converted into a form suitable for transferring data developed in the print buffer to the recording head 1 in the format shown in FIG. 3 (iii). The data shown in (iv) of FIG. 3 is converted based on the recording data and null flag data shown in (iii) of FIG. As a result, it is possible to efficiently transfer the recording data to the recording head 1 by reading the transfer buffer at a predetermined heat timing.
[0036]
FIG. 4 is an explanatory diagram of the HV conversion means. FIG. 4A is an explanatory diagram when recording data is written to the HV conversion means. 16-bit raster data in units of 8 words is written (written). This block is a write block (write block), and in this embodiment, there are four HV conversion means.
[0037]
FIG. 4B is an explanatory diagram for reading data from the HV conversion means. The HV conversion converts raster data arranged in the scanning direction of the recording head into column data arranged in the nozzle row direction of the recording head. The block for reading this column data is a read block (read block). By this HV conversion, the recording data stored in the predetermined address of the print buffer shown in FIG. 3 (iii) is converted as shown in FIG. 3 (iv). The parenthesis numerals shown in FIG. 4 correspond to the parenthesis numerals of the read data indicated by (iv) in FIG.
[0038]
This block is an HV counter that counts from 0 to 3, four write blocks that write every 8 words, a read block that reads every 32 bits, a select signal to select a read block and a write block, And a clear signal for clearing data in each write area to zero. The GA 103 has a clear circuit (clear means) for zero-clearing a predetermined write block of the HV conversion means. The clear circuit selects a predetermined write block according to the value of the HV counter, and writes zero data to the selected write block (performs zero clear).
[0039]
Each time a DMA read (DMA read) is performed from the print buffer, data is written (written) in a predetermined write block according to the value of the HV counter, and the HV counter is incremented (added by 1).
[0040]
When the value of the HV counter becomes 3, data writing (writing) is completed for the four write blocks, and the written data is read after HV conversion and stored in the transfer buffer.
[0041]
When this 16-bit data is stored in the transfer buffer, the HV counter is cleared to zero, this block becomes a write block again, and the data DMA-read from the print buffer is written according to the value of the HV counter.
[0042]
In addition, all data in the write block for inputting the clear signal is cleared to zero. Such processing is performed on data corresponding to each recording head.
[0043]
As a result, 32-bit data is stored in each address of the transfer buffer in the SRAM 106. By reading the addresses a, a + 1, and a + 2, the print data that is simultaneously heated for the nozzle row of the print head is stored. It can be easily transferred to the recording head 1.
[0044]
FIG. 5 is a schematic diagram showing the relationship between actual recording (= heat) timing and recording data storage timing in the transfer buffer. For simplicity, data for one color will be described.
[0045]
FIG. 5 is an explanatory diagram showing recording data storage timing in the transfer buffer in the SRAM 106, transfer timing from the transfer buffer to the recording head, and ejection timing (heat timing) of the recording head.
[0046]
This figure shows that the time has passed from left to right, and shows a case where ink is ejected from the print head corresponding to print data for 32 columns in one scan. The arrow in FIG. 5 represents the timing signal, and the frequency of this signal is equal to the drive frequency of the recording head. Therefore, if the drive frequency of the recording head is 10 kHz, the frequency at this timing is also 10 kHz. As for the number of times this timing signal is output, for example, when 32 columns are recorded in one scan recording, 65 clock signals are output.
[0047]
The numbers in parentheses above the arrow indicate the timing for storing in the transfer buffer. Below the arrows are parenthesized numerals indicating the transfer timing to the recording head and the ejection (heat) timing. The timing delayed by one from the transfer timing to the recording head is the heat timing. Note that the parenthesis numbers correspond to the parenthesis numbers of the data shown in (iv) of FIG.
[0048]
As an example, the data corresponding to (1) is stored in one bank of the transfer buffer at the timing indicated by the leftmost arrow, and the recording data of the first column is stored in the recording head at the timing (1T) after 16 timings. Is transferred. And it discharges (heats) at the timing (1H) after the timing. The recording data of the second column is transferred to the recording head at timing (2T), and discharged (heated) at timing (2H). The recording data of the third column is transferred to the recording head at timing (3T) and discharged (heated) at timing (3H). Similarly, data corresponding to (4) to (16) are processed in order. The other bank is stored at timing (17).
[0049]
The data in the transfer buffer is cleared at the ejection timing after all the data stored in one scan is transferred to the print head. This timing is (1C).
[0050]
By this processing, the transfer buffer constituted by two banks is cleared after transferring the print data of each scan (print data for 32 columns in this example). Here, the case where the recording data for 32 columns is recorded by the recording head is shown, but the same applies to the case where the recording data for 2880 columns is recorded by the recording head, and in the last 32 clock periods. The data in the transfer buffer is cleared.
[0051]
As described above, the data in the transfer buffer is cleared when the data is transferred to the print head in the main scan, and preparation for storing the data of the next scan print is made.
[0052]
As described above, using the fact that 16-bit (= 16 heat timing) data can be processed at once in the scanning direction of the recording head 1, recording data is stored in the transfer buffer at a timing 16 timings before the recording timing. Yes. Then, the recording data is transferred to the recording head 1 in a serial format according to the transfer clock signal one timing before the recording timing, and is printed at the next heat timing.
[0053]
The transfer buffer is assigned an area corresponding to each nozzle of the recording head 1 and has two banks that can store data for 16 columns. While the recording data is sequentially transferred from one bank to the recording head 1, the data read from the print buffer is stored (written) in the other bank. Therefore, while data for 16 columns is recorded by the recording head, data for the next 16 columns is stored in the other bank. Then, the stored bank that has completed the transfer stores the next data. In this way, data is transferred from the two banks to the recording head alternately.
[0054]
In this embodiment, since data for 16 columns can be stored in the transfer buffer at one timing, it may be performed at a rate of one out of 16 heat triggers. Also, since the transfer buffer can be cleared for 16 columns at one timing, for example, if clearing is performed once in each of the periods (1C) to (16C) and (17C) to (32C), The clear process is complete.
[0055]
Therefore, in this embodiment, in order to heat the recording heads corresponding to the four colors (BK, C, M, Y), respectively, the same timing signals are prepared.
[0056]
<First embodiment>
FIG. 6 is a flowchart showing a flow of processing of recording data in the first embodiment. This flow is performed for recording data corresponding to each recording head.
[0057]
In step S601, null flag data corresponding to the position of the print buffer to be read is checked (after checking, the address of the null flag is updated). If the null flag is not set, in step S602, the recording data is DMA-read from the print buffer to read the recording data for 8 consecutive words. In step S603, the read recording data is written into a predetermined write block of the HV conversion means in accordance with the value of the HV counter. In step S604, the value of the address counter indicating the address from which the print buffer is read is updated.
[0058]
On the other hand, if the null flag is set in step S601, the DMA means does not read from the print buffer, and zero data is written according to the value of the HV counter in step S605 (zero clear is performed). In this case, a clear signal is input to the write block to be cleared to perform zero clear.
[0059]
In step S606, the read counter and the HV counter are incremented. Here, the read counter is used to read the recording data for the nozzles of the recording head, and is incremented every time 8 words (= 8 nozzles) are read. For example, a recording head corresponding to cyan ink has 128 nozzles, so it counts up to 16. The HV counter is a counter used for controlling the HV conversion means and counts up to 3.
[0060]
In step S607, it is determined whether or not the value of the HV counter is a predetermined value (predetermined value = 3 in this embodiment). If the value of the HV counter is not a predetermined value, it is determined that it is not the timing to read from the HV conversion means, and the process returns to step S601 to continue the processing. If the value of the HV counter is a predetermined value, HV conversion is performed in step S608, and the HV conversion result is read from the HV conversion means in step S609 and stored in the transfer buffer in the SRAM 106.
[0061]
In step S610, it is checked whether the read counter has a predetermined value (predetermined value = 16 in this embodiment).
[0062]
On the other hand, if the read counter is a predetermined value in step S610, the read counter and the HV counter are cleared in step S611.
[0063]
If the predetermined value has not been reached, the print data for all the nozzles has not been written to the transfer buffer, so after the HV counter is cleared in step S612, the process returns to step S601 and continues.
[0064]
This process is performed for the recording data of each recording head.
[0065]
As described above, in the embodiment, since data for 16 columns can be stored by one buffer read, the buffer may be read once in 16 heat triggers. Therefore, the data storage process in the transfer buffer may be performed in units of 16 columns for each recording head.
[0066]
As described above, for the print buffer in which the null flag is set, the null data creating means writes in the transfer buffer, and the recording data reading process by the DMA means is omitted from the print buffer. This can reduce the frequency of use of the DMA function. The occupation rate of the DMA bus can be reduced, and the time when the margin is generated can be allocated to other DMA processing.
[0067]
<Second embodiment>
The printer has a draft mode and a high image quality mode as operation modes of the recording operation. The draft mode is a mode in which a part of the recording data is thinned out and printed at a high speed, and the high image quality mode is a mode in which the recording data is masked and recorded by a plurality of scans in order to reduce unevenness between the recording scans. .
[0068]
As described above, depending on the recording mode, the mask data is read (read) from the mask buffer for the recording data read (read) from the print buffer, latched by the latch means, and the logical product of both is obtained. The recording data is created by and stored in the HV conversion means. At this time, reading of mask data from the mask buffer is also performed by using DMA means dedicated to the mask buffer.
[0069]
At this time, if the data read from the print buffer is null (the recorded data is null data regardless of the data in the mask buffer), the data read from the mask buffer (data read) is performed for the print buffer for which the null flag is set. Do not do.
[0070]
FIG. 7 is a flowchart showing the control in the second embodiment. If the null flag is not set in step S701, print data is DMA-read from the print buffer in step S702. In step S703, the value of the address counter indicating the address from which the print buffer is read is updated. In step S704, the mask data is DMA-read from the mask buffer. In step S705, the print data and the mask data are ANDed to complete the print data.
[0071]
On the other hand, the null flag is checked in step S701 (the null flag address is updated after the check). If the null flag is set, zero data (null data) is set in step S707, and the process proceeds to step S708.
[0072]
In step S708, the mask buffer address is updated. Since the mask buffer completes printing by a plurality of scans, data corresponding to the nozzles is always stored. Therefore, the mask buffer is not used by filling the data in the buffer using a null flag unlike the print buffer.
[0073]
Therefore, even if the mask buffer is not DMA-read in response to the null skip control, it is necessary to always update the mask buffer address. The mask buffer address update method may be incremented by 16 as in the print buffer update method described above.
[0074]
In step S709, the read counter and the HV counter are incremented. In step S710, it is determined whether or not the value of the HV counter is a predetermined value (predetermined value = 3 in this embodiment). If the value of the HV counter is not a predetermined value, it is determined that it is not time to read from the HV conversion means, and the process returns to step S701 to continue the processing. If the value of the HV counter is a predetermined value, HV conversion is performed in step S711, and the HV conversion result is read from the HV conversion means in step S712 and stored in a transfer buffer in the SRAM 106.
[0075]
In step S713, it is checked whether the read counter has a predetermined value (predetermined value = 32 in this embodiment). If the read counter is a predetermined value in step S713, the read counter and the HV counter are cleared in step S714.
[0076]
If the predetermined value has not been reached, the print data for all the nozzles has not been written to the transfer buffer, so after the HV counter is cleared in step S715, the process returns to step S701 to continue the processing.
[0077]
As described above, in the draft mode, the high image quality mode, and the like, in addition to the print buffer read process, the mask process for the print data is also performed based on the null flag. If the null flag is not set, the mask data is read by the DMA means. When the null flag is set, reading by the DMA means is not performed. With this control, the frequency of use of the DMA function can be reduced, the occupation rate of the DMA bus can be reduced, and the control load of the entire inkjet recording apparatus can be reduced.
[0078]
Although the first and second embodiments have been described above, the present invention is not limited to the values described in the embodiments, such as the number of data bits and the number of words when performing DMA transfer or HV processing.
[0079]
Further, the recording head is not limited to the values described in the embodiments such as the number of nozzles and resolution. A piezo element may be used as the drive unit of the recording element.
[0080]
【The invention's effect】
As described above, the DMA means stops the process of reading from the print buffer in response to the null flag, and instead the clear circuit writes zero data to the data conversion means, thereby reducing the number of unnecessary DMA transfers, and the DMA bus. Occupancy can be suppressed. This improves the efficiency of DMA transfer during the recording operation of the ink jet recording apparatus.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of an ink jet recording apparatus.
FIG. 2 is a diagram illustrating a control configuration of the ink jet recording apparatus.
FIG. 3 is a diagram illustrating a storage state of recording data in a print buffer and a transfer buffer.
FIG. 4 is a schematic diagram illustrating HV conversion means.
FIG. 5 is an explanatory diagram of recording (= heat) timing and recording data storage timing in a transfer buffer.
FIG. 6 is a flowchart of control in the first embodiment.
FIG. 7 is a flowchart of control in the second embodiment.
FIG. 8 is a diagram illustrating a nozzle arrangement of a recording head.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Recording head 2 Carriage 2a Bearing part 3 Guide shaft 4 Recording medium 5 Carriage motor 6 Pulley 7 Timing belt 8 Platen 9 Conveyance motor 10 Recovery apparatus 11 Cap 12 Wiper 13 Encoder scale 14 Encoder 100 I / F block 101 CPU
102 ROM
103 GA
104 DMAC
105 RAM
106 SRAM
107 Recording head driver

Claims (8)

記録ヘッドを走査させて記録を行うために、ラスターデータを格納するプリントバッファと、前記プリントバッファに格納されるラスターデータが所定ノズル数分ヌルであることを示すヌルフラグを前記プリントバッファの領域に対応してセットするヌルフラグテーブルとを有するインクジェット記録装置であって、
外部から入力したデータを保持する保持手段と、
走査方向に所定ドット数分のラスターデータを前記所定ノズル数分書き込むブロックを複数備え、前記ラスターデータをブロック単位で書き込みが行われると書き込み対象のブロックを指定するカウンタの値の更新を行い、前記カウンタの値に基づきラスターデータをカラムデータに変換を行うデータ変換手段と、
前記データ変換手段に備えられたブロックに対してブロック単位でゼロクリアするクリア手段と、
前記保持手段から前記プリントバッファへの転送処理と前記プリントバッファから前記データ変換手段への転送処理とを行い、前記プリントバッファから前記データ変換手段への1回の転送処理は前記所定ドット数分のラスターデータを前記所定ノズル数分カラム方向に沿って行うDMA手段と、
前記データ変換手段で変換されたカラムデータを読み出し、前記記録ヘッドに対して転送する転送手段とを備え、
前記ヌルフラグテーブルに前記ヌルフラグがセットされていない場合には、前記DMA手段により前記プリントバッファからラスターデータを読み出して前記データ変換手段の書き込み対象のブロックに格納し、前記ヌルフラグがセットされている場合には、DMA手段により前記プリントバッファからラスターデータの読み出しを行わず、前記クリア手段によって書き込みを行う対象のブロックをゼロクリアすることを特徴とするインクジェット記録装置。
In order to perform recording by scanning the recording head, a print buffer for storing raster data and a null flag indicating that the raster data stored in the print buffer is null for a predetermined number of nozzles correspond to the area of the print buffer. An inkjet recording apparatus having a null flag table to be set,
Holding means for holding externally input data;
A plurality of blocks for writing raster data for a predetermined number of dots in the scanning direction for the predetermined number of nozzles, and when the raster data is written in units of blocks, updating a counter value for designating a block to be written, Data conversion means for converting raster data into column data based on a counter value;
Clearing means for zero-clearing in units of blocks with respect to blocks provided in the data conversion means,
A transfer process from the holding unit to the print buffer and a transfer process from the print buffer to the data conversion unit are performed, and one transfer process from the print buffer to the data conversion unit is performed for the predetermined number of dots. DMA means for performing raster data along the column direction for the predetermined number of nozzles;
Transfer means for reading column data converted by the data conversion means and transferring it to the recording head;
When the null flag is not set in the null flag table, raster data is read from the print buffer by the DMA means and stored in the block to be written by the data conversion means, and the null flag is set In the inkjet recording apparatus, the raster data is not read from the print buffer by the DMA means, and the block to be written is cleared to zero by the clear means.
前記インクジェット記録装置は、前記ラスターデータにマスクをするためのマスクデータを格納するマスクバッファと、前記マスクバッファを指定するマスクバッファのアドレスカウンタと、前記アドレスカウンタの値に基づいて前記マスクバッファから前記マスクデータを読み出す第2のDMA手段とを有し、前記プリントバッファに対応する前記ヌルフラグテーブルに前記ヌルフラグがセットされていない場合に、前記第2のDMA手段は前記マスクデータを読み出すことを特徴とする請求項1に記載のインクジェット記録装置。  The inkjet recording apparatus includes: a mask buffer that stores mask data for masking the raster data; an address counter of a mask buffer that specifies the mask buffer; and the mask buffer based on a value of the address counter. Second DMA means for reading mask data, and when the null flag is not set in the null flag table corresponding to the print buffer, the second DMA means reads the mask data. The inkjet recording apparatus according to claim 1. 前記インクジェット装置は、前記マスクバッファのアドレスカウンタは前記ヌルフラグテーブルの状態に係わらず前記アドレスカウンタの値を更新することを特徴とする請求項2に記載のインクジェット記録装置。  The inkjet recording apparatus according to claim 2, wherein the address counter of the mask buffer updates the value of the address counter regardless of the state of the null flag table. 前記インクジェット記録装置は、前記データ変換手段から読み出したカラムデータを格納する転送バッファを有することを特徴とする請求項1に記載のインクジェット記録装置。  2. The ink jet recording apparatus according to claim 1, further comprising a transfer buffer that stores column data read from the data conversion unit. 前記転送バッファに格納された前記カラムデータは所定のタイミング信号に基づいて前記記録ヘッドに転送されることを特徴とする請求項4に記載のインクジェット記録装置。  The inkjet recording apparatus according to claim 4, wherein the column data stored in the transfer buffer is transferred to the recording head based on a predetermined timing signal. 前記記録データが前記記録ヘッドに転送された後の所定のタイミングで前記カラムデータに対応したヒートがなされることを特徴とする請求項4に記載のインクジェット記録装置。  The inkjet recording apparatus according to claim 4, wherein heat corresponding to the column data is made at a predetermined timing after the recording data is transferred to the recording head. 前記記録ヘッドに対して前記カラムデータの転送を完了した後の所定のタイミングで前記転送バッファのデータはクリアされることを特徴とする請求項5もしくは6に記載のインクジェット記録装置。  The ink jet recording apparatus according to claim 5 or 6, wherein the data in the transfer buffer is cleared at a predetermined timing after the transfer of the column data to the recording head is completed. 前記データ変換手段は、前記所定ノズル数と前記ブロック数に基づく量のカラムデータを読み出す読み出しブロックを備えていることを特徴とする請求項1に記載のインクジェット記録装置。  The inkjet recording apparatus according to claim 1, wherein the data conversion unit includes a read block that reads column data in an amount based on the predetermined number of nozzles and the number of blocks.
JP2001354691A 2001-11-20 2001-11-20 Inkjet recording device Expired - Fee Related JP4266553B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001354691A JP4266553B2 (en) 2001-11-20 2001-11-20 Inkjet recording device
US10/291,780 US6793312B2 (en) 2001-11-20 2002-11-12 Ink jet recording apparatus and method for controlling ink jet recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001354691A JP4266553B2 (en) 2001-11-20 2001-11-20 Inkjet recording device

Publications (2)

Publication Number Publication Date
JP2003154640A JP2003154640A (en) 2003-05-27
JP4266553B2 true JP4266553B2 (en) 2009-05-20

Family

ID=19166503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001354691A Expired - Fee Related JP4266553B2 (en) 2001-11-20 2001-11-20 Inkjet recording device

Country Status (1)

Country Link
JP (1) JP4266553B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5074733B2 (en) * 2005-09-30 2012-11-14 キヤノン株式会社 Recording device
JP6487778B2 (en) * 2015-05-29 2019-03-20 キヤノン株式会社 Recording apparatus and control method thereof

Also Published As

Publication number Publication date
JP2003154640A (en) 2003-05-27

Similar Documents

Publication Publication Date Title
US5956056A (en) Ink jet recording apparatus and method of recording with separated image data
JPH0825693A (en) Printing method and apparatus
JP4447819B2 (en) Inkjet recording device
JP2009078552A (en) Recording apparatus and its processing method
JP4266553B2 (en) Inkjet recording device
US6793312B2 (en) Ink jet recording apparatus and method for controlling ink jet recording apparatus
JP5074733B2 (en) Recording device
JP4261794B2 (en) Inkjet recording device
JP4510395B2 (en) Recording device
US7686411B2 (en) Recording apparatus
JP5984550B2 (en) Information processing apparatus and information processing method
JP4532684B2 (en) Inkjet recording device
JP2008183742A (en) Apparatus and method for ink jet recording
US20070076028A1 (en) Recording apparatus and recording control method
JP5501127B2 (en) Recording apparatus and recording control method
JP3517570B2 (en) Recording apparatus and recording control method
JP2003145757A (en) Ink jet recorder and method for controlling the apparatus
JP3703363B2 (en) Image data conversion circuit, recording apparatus having the circuit, and image data conversion method
JP5288722B2 (en) Recording apparatus and control method of the apparatus
JP2002240370A (en) Recording apparatus and data converting method therein
JP2002254623A (en) Recording device and recording method
JPH0310843A (en) Ink jet recorder
JP2005161812A (en) Recording device and its controlling means
JP2006159551A (en) Inkjet recorder
JP2005169941A (en) Ink-jet recording device and method of controlling the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070122

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4266553

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140227

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees