JP2004345258A - Image output device - Google Patents

Image output device Download PDF

Info

Publication number
JP2004345258A
JP2004345258A JP2003145728A JP2003145728A JP2004345258A JP 2004345258 A JP2004345258 A JP 2004345258A JP 2003145728 A JP2003145728 A JP 2003145728A JP 2003145728 A JP2003145728 A JP 2003145728A JP 2004345258 A JP2004345258 A JP 2004345258A
Authority
JP
Japan
Prior art keywords
transfer
print data
data
color
image output
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.)
Withdrawn
Application number
JP2003145728A
Other languages
Japanese (ja)
Inventor
Masami Kato
政美 加藤
Tsutomu Takada
力 高田
Akihito Mochizuki
昭仁 望月
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 JP2003145728A priority Critical patent/JP2004345258A/en
Publication of JP2004345258A publication Critical patent/JP2004345258A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inexpensive, highly reliable controller adopted to a tandem type color laser printer or the like. <P>SOLUTION: This image output device comprises a means for compressing print data, a memory means for storing the compressed print data, an engine interface means for extracting the compressed print data to supply it to a printer engine, and a transferring means for transferring the stored print data to the engine interface means by each of colors in parallel. In the transferring means, a priority of transferring order or a transferring rate of the print data is designated by each color according to information obtained from the print data of each color such as an amount of codes. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、カラープリンタエンジンに画像データを供給するプリンタコントローラ等に適用される画像出力装置に関するものである。
【0002】
【従来の技術】
近年、プリンタエンジンの高解像度化による出力画像データ量の増加に伴い、コントローラ部のデータ処理負荷とメモリ消費量は著しく増大する傾向を強めている。そのため、コントローラ部のCPU負荷の軽減を目的にハードウェア処理可能な圧縮データを中間バッファメモリに蓄え、DMAコントローラを制御してこの圧縮データを出力データ生成ハードウェア(ラスタライザ)に転送する方法などが用いられるようになった。(特開平9−11548号公報)
画像印刷装置としてのページプリンタは、図3に示すように、ネットワーク、USBインターフェース等を介して、プリンタドライバを有するホストコンピュータに接続され、ホストコンピュータ等の機器が印刷元データから生成した中間出力データを出力に適した出力画像データに変換するコントローラ部と、コントローラ部から出力された出力画像データを取得し、紙等のメディアに画像出力するエンジン部とにより構成される。このコントローラ部に適した中間出力データは、一般にはプリンタドライバと呼ばれるソフトウェアで生成される。さらに、コントローラ部で中間出力データをエンジン部に適した出力画像データに変換し、エンジン部からの画像転送許可信号に同期してエンジン部にビデオ信号として出力する。エンジン部では電子写真プロセスを制御・駆動し、入力されたビデオ信号を紙等のメディア上に画像として再現する。
【0003】
電子写真プロセス方式のカラープリンタにおいては、特開平9−192542号公報に示されるようなタンデム方式と呼ばれる並列処理による高速印刷方式が提案され実用に供されている。タンデム方式では4色分の感光ドラムを一列に並べ、各色の印刷処理をオーバーラップさせることで印刷時間を短縮している。
【0004】
図4はタンデム方式の印刷データ出力タイミングを示しており、aはページ同期信号、bはページ同期信号に基づく印刷データ転送要求信号、c〜fは印刷データの転送タイミングを示すものである。図4から明らかなように、タンデム方式の電子写真プリンタにおいては各色印刷データを、ページ同期信号に同期して、ほぼ同時に転送する必要がある。
【0005】
【発明が解決しようとする課題】
図2は一般的なタンデム方式プリンタのコントローラ構成を示す図である。CPUバス27に接続するCPU部21、ROM22、外部i/f(インターフェース)部23、ページメモリ24、4チャネルのDMAC25、画像出力部26等で構成され、さらに画像出力部26はプリンタエンジン28に接続される。ホストコンピュータで生成された中間出力データは、外部i/f部23で受信し、CPU部21でハードウェア処理可能な圧縮データに変換された後、ページメモリ24に格納される。出力に必要な圧縮データの格納が完了するとCPU部21の指示により4チャンネルのDMAC25を起動し、格納された4色分の圧縮データをページメモリ24から画像出力部26に同時に転送する。画像出力部26は、圧縮データをエンジン部に適した出力画像データ形式に変換するデコーダ部261a〜dと、一時保持用バッファメモリ262a〜d、プリンタエンジン28と接続してビデオ信号として出力するエンジンi/f部263により構成される。タンデムエンジンの場合、図4に示したように、4色分のデータ転送が並行して実行され、その際、印刷データはCPUバス27を共有して画像メモリから画像出力部26に転送される。従って、CPUバス27の帯域に余裕が無くかつ特定色の印刷データの符号量が他の色に比べて大きい場合、当該色データの転送がプリンタエンジンの要求する速度に間に合わず、正常な印刷が行なわれない等の問題が生じる。CPUバス27の帯域を十分に広くする、或いはバッファメモリ2262a〜dの容量を大きくする事でこの問題を回避する事も可能であるが、そのためには高価な高速DMA/高速大容量メモリシステム/高速バスシステム等が必要になる。又、特開平07−013923では、バッファメモリの使用量に基づくCPU−DMA間のバスアクセス競合制御に関する提案がなされているが、複数のDMA間の競合制御等については述べられていない。
【0006】
本発明は上記問題点に鑑みてなされたものであり、印刷画像データの如何に関わらず、信頼性の高い印刷処理を廉価に実現する画像出力装置を提供する事を目的とするものである。
【0007】
【課題を解決するための手段】
本発明では、上記問題点を解決するために、イメージデータを印刷するプリンタエンジンに接続し、当該プリンタエンジンにカラーイメージデータを供給する画像出力装置おいて、
印刷データを圧縮する手段と、
圧縮された印刷データを保持する記憶手段と、
圧縮された印刷データを伸張し、プリンタエンジンに供給するエンジンインターフェース手段と、
保持する印刷データを色毎に並行してエンジンインターフェース手段に転送するための転送手段を有し、
転送手段は、印刷データから得られる情報に従って、色毎に印刷データの転送優先順位又は転送比率が指定される事を特徴としている。
【0008】
【発明の実施の形態】
以下、添付図面に従って本発明にかかる実施例を詳細に説明する。
【0009】
<装置構成の説明>
図1は、本発明の実施例におけるタンデム方式のカラーレーザービームプリンタのコントローラの構成を示すブロック図である。
【0010】
本実施例のシステムは、図1に示すようにシステムバスにCPU1、ROM2、外部i/f3、画像メモリ4、および画像出力部5を接続した構成となっている。
【0011】
CPU1は、装置全体の制御を行うとともに、外部i/f3より受信する印刷データからプリンタエンジン6に出力可能な印刷データの生成を行う。ROM2、は前記CPU1によって処理される処理手順(プログラム)、およびフォントデータなどを格納する。外部i/f3は、Ethernet(登録商標)等のLANインターフェースや、USBやIEEE1284、IEEE1394等のi/oインターフェースであり、上位装置(ホストコンピュータ)から印刷データを受信する。画像メモリ4は、前記CPUが1生成した1ページ分、或いは1バンド分の印刷データを一旦格納する。この際、メモリ容量を節約するために、前記CPU1によって印刷データの圧縮処理を行い、圧縮データ形式で格納する。画像出力部5は、色毎に前記画像メモリ4から印刷データの転送を行い、また当該印刷データの伸張処理を行うとともに、プリンタエンジン6の印刷タイミングに合わせて、印刷データをプリンタエンジン6に出力する。プリンタエンジン6は、タンデム方式のレーザービームプリンタであり、同時に複数色の印刷データの転送を必要とする。
【0012】
次に、画像出力部5の内部構成を説明する。100〜103は色毎のDMAコントローラであり、画像メモリ4から画像出力部5へ、それぞれ各色の印刷データの転送を行う。104から107は色毎のデコーダであり、それぞれ色毎のDMAコントローラ100〜103によって転送される印刷データの伸張処理を行う。108〜111は色毎のFIFO(ファーストイン・ファーストアウト)メモリであり、それぞれ色毎のデコーダ108〜111から出力される印刷データを一旦記憶し、後記エンジンi/f114に所定のタイミングで印刷データを出力する。FIFO108〜111は、DMAコントローラ100〜103によるデータ転送と、プリンタエンジンへのデータ転送との速度調整を行う。116はDMAアクセス制御部であり、色毎のDMAコントローラ100〜103のシステムバスへのアクセスを調停する。この際、画像メモリ4にそれぞれ蓄積している各色のデータ量に関する情報に基づいて、色毎のDMAコントローラ100〜103の転送優先順位、又は転送比率を動的に設定する。117はエンジンi/fであり、プリンタエンジン6との間で、コマンド/レスポンスの通信処理を行うとともに、印刷時にプリンタエンジン6からの水平同期信号/垂直同期信号に同期して、色毎にFIFO108〜111から印刷データを読み出し、プリンタエンジン6に出力する。
【0013】
<動作説明>
上記構成において、CPU1の動作を図5に示すフローチャートに従って説明する。CPU1はホストコンピュータから送られたデータを外部i/f3を介して受信し(ステップS501)、プリンタエンジン6に出力可能な印刷データを生成する(ステップS502)。更に、生成した印刷データに対して圧縮処理を行い、一旦画像メモリ4に蓄積する(ステップS503)。ステップS504では印刷データの圧縮と同時に画像転送時に参照される帯域指定情報を所定の単位(予め定める複数ラインからなるブロック)で作成する。所定の総量(ページ、または所定サイズのブロック)の印刷データが生成されると、CPU1は、エンジンi/f回路を介して、プリンタエンジン6に印刷開始の指示をコマンドとして発行する(ステップS505)。印刷開始の指示を受けたプリンタエンジン6は、印刷動作を開始すると、印刷データの転送タイミングを示す垂直/水平同期信号を出力する。エンジンi/f回路113は、プリンタエンジン6から受信する同期信号から、各色のデータ転送開始タイミングをCPU1に通知し(ステップS506)、これによりCPU1は、印刷データ転送の開始にかかわる各種処理を開始する。DMAの転送開始に先立ち、CPU1はステップS507で、転送対象ブロックのデータ転送帯域指定を行なう。帯域指定に関するデータはステップS504で作成された情報に基づくものである。次にステップS508でDMAの転送開始を指示する。DMAコントローラ100〜103は、画像メモリ4に蓄積された印刷データ(圧縮データ)を、それぞれ色毎のデコーダ104〜107に転送する。デコーダ104〜107は、圧縮された印刷データに対して伸張処理を行い、それぞれ色毎のFIFO108〜111に印刷データを蓄積する。FIFO108〜111に蓄積された印刷データは、プリンタエンジン6の動作タイミングに合わせて、エンジンi/f回路113によって順次読み出され、不図示のパラレルシリアル変換で、シリアル信号に変換されてプリンタエンジン6に転送される。ステップS507〜S510で上記転送指定及を繰り返し、各色データの全ブロックをプリンタエンジン6に供給する。
【0014】
図6は帯域指定情報作成ステップ(S504)の例を説明する図である。符号量テーブル作成ステップ(S601)では、予め定める複数ラインを1ブロックとしてブロック内の圧縮符号の総和を算出する。表1はブロック番号と当該ブロックの各色符号量を示すテーブルの例を示すものである。Y,M,C,Kは其々、イエロー、シアン、マゼンダ、ブラックの色データを意味する。次に、平均符号量算出ステップ(S602)では、対象ページのブロック平均符号量を算出する。ブロック平均符号量は1ブロックの平均符号量を示す値である。帯域指定情報作成ステップ(S603)では、符号量テーブル(表1)とブロック平均符号量から帯域指定情報テーブルを作成する。 ここでは、DMAのバースト転送単位値を利用して帯域制御を行なう場合のテーブル作成について説明する。 各色各ブロックのDMAバースト転送単位は下記の算出式(1)に従って、算出される。
【0015】
転送単位 = 標準転送単位 + (ブロック符号量 − 平均符号量 ) × 係数 … 式(1)
上記算出式によれば、算出対象色データのブロック内総符号量が多い場合、より大きい転送単位が求められる事になる。表2は表1から算出された帯域指定に関する情報テーブルの例を示すものである。尚、標準転送単位及び係数はシステムの条件等に従って予め決定される値である。帯域指定パラメータ設定ステップ(S507)ではここで算出された値が参照されDMAアクセス制御部112に設定される。
【0016】
図7は、バースト転送のDMA動作を説明するタイミングチャートである。図中、BREQはDMAコントローラ100〜103がバス使用権の要求を表すハイアクティブの信号である。BGNTはDMAコントローラ100〜103がバスの使用権を獲得したことを表すハイアクティブの信号である。図4.(a)は、DMAコントローラ100〜103が1回バスを獲得した際に、1バースト分のデータを転送する動作を示す(バス幅が32ビットの場合、1バーストで4バイトのデータが転送される)。 図4.(b)は、DMAコントローラ100〜103は1回バスを獲得した際に、2バースト分のデータを転送する動作を示す。図4.(c)は、DMAコントローラ100〜103は1回バスを獲得した際に、4バースト分のデータを転送する動作を示す。バス獲得制御がラウンドロビン等、均等確率の制御による場合、このように、バースト時の転送単位を変化させることで実転送帯域を制御する事が可能である。従ってDMAコントローラ100〜103間に異なるバースト単位を設定する事で、凡そDMAバースト転送単位に比例した転送比率で各色の印刷データが画像メモリ4から画像出力処理部5に転送される事になる。
【0017】
以上、本実施例によれば、各色の印刷データ転送に際し、ブロック単位の符号量の大小に従って、DMAバースト転送単位が指定される。これにより、符号量の大きいブロックを転送する場合、大きいバースト転送単位で印刷データ転送され、その結果、優先度の高いデータ転送が行なわれる。これにより、各色のデータ転送時のバストラフィックを平準化し、色間で符号量に偏りがある場合等に生じる転送帯域不足に関する問題をバスの高速化を伴う事無く回避できる。
【0018】
〔その他実施例〕
実施例では印刷データの転送比率をDMAのバースト転送単位サイズを変化させる事で実現していたが、本発明はこれに限るわけではなく、どの様な手法を用いても良い。例えばバス確保の優先順位を符号量に比例する値に基づいて競合単位で確率的に決定する手法、所定の時間間隔で各色DMAのバス割り当て回数を符号量に応じて決定する方法など、様々な手法が考えられる。図8はバスアクセスの調停を符号量に応じて制御する場合の構成例を示すものである。本実施例では、調停制御部89でバス競合時の割り当て比率を制御する。具体的には、転送するブロックのDMAの開始に先立ち、調停制御部89に対してバス競合時の割り当て比率に関する情報を指定する(ステップS507の処理に相当する)。図9は調停制御部89でのバスアクセス権割り当て処理に関する処理を説明するフローチャートである。調停制御部89ではバスアクセス権調停ステートで,アクセス要求の競合を判定し(ステップS901)競合がない場合、要求するDMAにアクセス権を渡す。競合がある場合、要求する色のDMAに対応して、例えば表2で示す値を最大値とする乱数を生成する(乱数は転送単位で予め生成しておいても良い)。割り当て決定ステップ(S903)では生成された各色に対応する乱数を優先順位とする事で、割り当て対象DMAを決定する。このように、競合時の割り当て制御を確率的に行なう事で各色データの転送帯域制御を実現する事が可能である。また、制御するブロック単位が小さい場合、符号量に比例する単純な優先順位の割り当てにより帯域制御を行なっても良い。
【0019】
また、図1及び図8に示す様に、各色間のバスアクセス制御は各DMAのアクセス制御部で行なっても良いし、システムバスの調停制御部で一括して制御しても良い。
【0020】
実施例では、複数ラインを塊とするブロック単位で帯域制御を行なう場合について説明したが、本発明はこのような方法に限る分けではなく、どのような単位で制御を行なっても良い。ライン単位等更に細かな単位で行なっても良いし、或いはページ単位で制御を行なっても良い。例えば、ページ単位で制御を行なう場合、1ページ内の各色符号量を算出し、各色間の符号量の比率に従って、当該ページの各色データ転送帯域割り当てを行なう。ページ単位で制御する場合、ページ内の生成符号量の変動に対応する事はできないが、簡易な方法で色データ間の転送帯域制御を行なう事ができる。
【0021】
実施例では帯域制御のための専用参照テーブルを用意し、当該テーブルを参照して帯域制御を行なう手法ついて説明したが、他の方法でも良い。例えば、符号データのヘッダ等に帯域制御情報を記載し、転送時に当該ヘッダ情報を基に転送条件を指定する様な方法でも良い。 具体的には制御する所定の単位で符号データ中に専用のヘッダ領域を設け、当該領域に符号量及び必要な転送帯域等に関する情報を記述する。この場合、専用テーブルを作成し管理する必要がなく、制御ソフトウェアの構造が単純化される。
【0022】
実施例では、圧縮データの符号量を基に帯域制御を行なう場合について説明したが、本発明はこれに限るわけではなく、圧縮前の印刷データから得られる情報や、圧縮処理時に得られる情報を基に帯域制御に関わる設定情報を生成しても良い。
【0023】
実施例ではタンデム方式の電子写真プリンタのコントローラに本発明を適用する場合について説明したが、本発明はこれに限るわけではなく、印刷に際し、複数色の印刷データを同時に転送する必要があるプリンタエンジンに対して広く適応する事が可能である。
【0024】
【表1】

Figure 2004345258
【0025】
【表2】
Figure 2004345258
【0026】
【発明の効果】
以上本発明によれば、印刷データのデータ量に従って各色の転送帯域制御を行なう事で、印刷データの内容に関わらず信頼性の高い画像出力装置を廉価に実現する事が可能になる。
【図面の簡単な説明】
【図1】本発明の一実施例による画像出力装置の構成を示すブロック図である。
【図2】従来の画像出力装置の構成を示すブロック図である。
【図3】一般的なプリンタの構成を説明する図である。
【図4】タンデムカラーレーザープリンタに供給する画像タイミングの例を示すものである。
【図5】本発明の実施例による処理フローを説明する図である。
【図6】帯域指定情報作成処理の内容を説明するフローである。
【図7】DMAバースト転送の例を説明する図である。
【図8】他の実施例による画像出力装置の構成を示す図である。
【図9】他の実施例による調停制御部の処理を説明する図である。
【符号の説明】
1 CPU
2 ROM
3 外部i/f
4 ページメモリ
5 画像出力部
6 プリンタエンジン
100〜103 DMAC
104〜107 デコーダ
108〜111 バッファメモリ
112 DMAアクセス制御部
113 エンジンi/f出部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image output device applied to a printer controller or the like that supplies image data to a color printer engine.
[0002]
[Prior art]
In recent years, the data processing load and the memory consumption of the controller unit have been significantly increasing with the increase in the output image data amount due to the higher resolution of the printer engine. Therefore, there is a method of storing compressed data that can be processed by hardware in an intermediate buffer memory for the purpose of reducing the CPU load on the controller unit, and controlling the DMA controller to transfer the compressed data to output data generation hardware (rasterizer). Became used. (Japanese Patent Application Laid-Open No. Hei 9-11548)
As shown in FIG. 3, a page printer as an image printing apparatus is connected to a host computer having a printer driver via a network, a USB interface, and the like, and intermediate output data generated from printing source data by a device such as the host computer. And an engine unit that acquires output image data output from the controller unit and outputs the image to a medium such as paper. Intermediate output data suitable for the controller is generated by software generally called a printer driver. Further, the controller unit converts the intermediate output data into output image data suitable for the engine unit, and outputs it as a video signal to the engine unit in synchronization with an image transfer permission signal from the engine unit. The engine controls and drives the electrophotographic process, and reproduces the input video signal as an image on a medium such as paper.
[0003]
In an electrophotographic process type color printer, a high-speed printing method by parallel processing called a tandem method as disclosed in JP-A-9-192542 has been proposed and put to practical use. In the tandem system, photosensitive drums for four colors are arranged in a line, and printing processes for the respective colors are overlapped to reduce the printing time.
[0004]
FIG. 4 shows the print data output timing of the tandem system, a shows a page synchronization signal, b shows a print data transfer request signal based on the page synchronization signal, and c to f show print data transfer timings. As is clear from FIG. 4, in the tandem type electrophotographic printer, it is necessary to transfer each color print data almost simultaneously in synchronization with the page synchronization signal.
[0005]
[Problems to be solved by the invention]
FIG. 2 is a diagram showing a controller configuration of a general tandem printer. It comprises a CPU section 21 connected to a CPU bus 27, a ROM 22, an external I / F (interface) section 23, a page memory 24, a four-channel DMAC 25, an image output section 26, and the like. Connected. The intermediate output data generated by the host computer is received by the external I / F unit 23, converted into compressed data that can be processed by hardware by the CPU unit 21, and stored in the page memory 24. When the storage of the compressed data necessary for the output is completed, the DMAC 25 of four channels is started in accordance with the instruction of the CPU unit 21, and the stored compressed data of four colors is simultaneously transferred from the page memory 24 to the image output unit 26. The image output unit 26 is connected to the decoder units 261a to 261d for converting the compressed data into an output image data format suitable for the engine unit, the buffer memories for temporary holding 262a to 262d, and the printer engine 28, and outputs the video signal as a video signal. An i / f unit 263 is provided. In the case of the tandem engine, as shown in FIG. 4, data transfer for four colors is executed in parallel, and at this time, print data is transferred from the image memory to the image output unit 26 by sharing the CPU bus 27. . Therefore, when the bandwidth of the CPU bus 27 is not sufficient and the code amount of the print data of a specific color is larger than that of the other colors, the transfer of the color data cannot be performed at a speed required by the printer engine, and normal printing can be performed. Problems such as not being performed occur. This problem can be avoided by sufficiently widening the bandwidth of the CPU bus 27 or increasing the capacity of the buffer memories 2262a to 2262d. However, for this purpose, an expensive high-speed DMA / high-speed large-capacity memory system / A high-speed bus system is required. Japanese Patent Application Laid-Open No. 07-013923 proposes a bus access contention control between the CPU and the DMA based on the used amount of the buffer memory, but does not mention contention control between a plurality of DMAs.
[0006]
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide an image output apparatus which realizes highly reliable print processing at low cost regardless of print image data.
[0007]
[Means for Solving the Problems]
In the present invention, in order to solve the above problems, in an image output device connected to a printer engine that prints image data and supplies color image data to the printer engine,
Means for compressing the print data;
Storage means for holding the compressed print data;
Engine interface means for expanding the compressed print data and supplying it to the printer engine;
Transfer means for transferring the held print data to the engine interface means in parallel for each color,
The transfer unit is characterized in that a transfer priority or a transfer ratio of the print data is designated for each color in accordance with information obtained from the print data.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0009]
<Explanation of device configuration>
FIG. 1 is a block diagram showing a configuration of a controller of a tandem type color laser beam printer according to an embodiment of the present invention.
[0010]
As shown in FIG. 1, the system of this embodiment has a configuration in which a CPU 1, a ROM 2, an external interface 3, an image memory 4, and an image output unit 5 are connected to a system bus.
[0011]
The CPU 1 controls the entire apparatus and generates print data that can be output to the printer engine 6 from print data received from the external i / f3. The ROM 2 stores processing procedures (programs) processed by the CPU 1, font data, and the like. The external i / f3 is a LAN interface such as Ethernet (registered trademark) or an i / o interface such as USB, IEEE1284, or IEEE1394, and receives print data from a higher-level device (host computer). The image memory 4 temporarily stores print data for one page or one band generated by the CPU. At this time, in order to save the memory capacity, the CPU 1 performs a print data compression process and stores the print data in a compressed data format. The image output unit 5 transfers the print data from the image memory 4 for each color, expands the print data, and outputs the print data to the printer engine 6 in accordance with the print timing of the printer engine 6. I do. The printer engine 6 is a tandem-type laser beam printer and needs to simultaneously transfer print data of a plurality of colors.
[0012]
Next, the internal configuration of the image output unit 5 will be described. Reference numerals 100 to 103 denote DMA controllers for each color, which transfer print data of each color from the image memory 4 to the image output unit 5. Reference numerals 104 to 107 denote decoders for respective colors, which perform expansion processing of print data transferred by the DMA controllers 100 to 103 for respective colors. Reference numerals 108 to 111 denote FIFO (first-in first-out) memories for each color, which temporarily store print data output from the decoders 108 to 111 for each color, and store the print data in the engine i / f 114 at a predetermined timing. Is output. The FIFOs 108 to 111 adjust the speed of data transfer by the DMA controllers 100 to 103 and the speed of data transfer to the printer engine. Reference numeral 116 denotes a DMA access control unit that arbitrates access to the system bus of the DMA controllers 100 to 103 for each color. At this time, the transfer priority or the transfer ratio of the DMA controllers 100 to 103 for each color is dynamically set based on the information on the data amount of each color stored in the image memory 4. Reference numeral 117 denotes an engine i / f, which performs command / response communication processing with the printer engine 6 and synchronizes with a horizontal synchronization signal / vertical synchronization signal from the printer engine 6 at the time of printing, and performs a FIFO 108 for each color. Print data is read from the printer engine 111 and output to the printer engine 6.
[0013]
<Operation description>
In the above configuration, the operation of the CPU 1 will be described with reference to the flowchart shown in FIG. The CPU 1 receives the data sent from the host computer via the external i / f3 (step S501), and generates print data that can be output to the printer engine 6 (step S502). Further, compression processing is performed on the generated print data, and the print data is temporarily stored in the image memory 4 (step S503). In step S504, band designation information referred to at the time of image transfer at the same time as the compression of print data is created in a predetermined unit (a block composed of a plurality of predetermined lines). When print data of a predetermined total amount (pages or blocks of a predetermined size) is generated, the CPU 1 issues a print start instruction as a command to the printer engine 6 via the engine i / f circuit (step S505). . Upon receiving the print start instruction, the printer engine 6 starts a print operation, and outputs a vertical / horizontal synchronization signal indicating the transfer timing of the print data. The engine i / f circuit 113 notifies the CPU 1 of the data transfer start timing of each color from the synchronization signal received from the printer engine 6 (step S506), whereby the CPU 1 starts various processes related to the start of the print data transfer. I do. Prior to the start of the DMA transfer, the CPU 1 specifies the data transfer band of the transfer target block in step S507. The data related to the band designation is based on the information created in step S504. Next, in step S508, the start of DMA transfer is instructed. The DMA controllers 100 to 103 transfer the print data (compressed data) stored in the image memory 4 to the decoders 104 to 107 for the respective colors. The decoders 104 to 107 perform decompression processing on the compressed print data, and accumulate the print data in FIFOs 108 to 111 for each color. The print data stored in the FIFOs 108 to 111 is sequentially read out by the engine i / f circuit 113 in accordance with the operation timing of the printer engine 6, converted into a serial signal by a parallel-to-serial conversion (not shown), and converted into a serial signal. Is forwarded to In steps S507 to S510, the above transfer designation is repeated, and all blocks of each color data are supplied to the printer engine 6.
[0014]
FIG. 6 is a diagram illustrating an example of the band designation information creation step (S504). In the code amount table creation step (S601), a total of the compression codes in the block is calculated with a plurality of predetermined lines as one block. Table 1 shows an example of a table showing a block number and the amount of each color code of the block. Y, M, C, and K mean color data of yellow, cyan, magenta, and black, respectively. Next, in an average code amount calculation step (S602), a block average code amount of the target page is calculated. The block average code amount is a value indicating the average code amount of one block. In the band designation information creation step (S603), a band designation information table is created from the code amount table (Table 1) and the block average code amount. Here, a description will be given of how to create a table when performing band control using the burst transfer unit value of the DMA. The DMA burst transfer unit of each block of each color is calculated according to the following calculation formula (1).
[0015]
Transfer unit = standard transfer unit + (block code amount-average code amount) x coefficient ... Equation (1)
According to the above formula, when the total code amount in the block of the color data to be calculated is large, a larger transfer unit is obtained. Table 2 shows an example of an information table regarding band designation calculated from Table 1. Note that the standard transfer unit and coefficient are values determined in advance according to system conditions and the like. In the band designation parameter setting step (S507), the value calculated here is referred to and set in the DMA access control unit 112.
[0016]
FIG. 7 is a timing chart for explaining the DMA operation of the burst transfer. In the figure, BREQ is a high-active signal indicating that the DMA controllers 100 to 103 indicate a request for a bus use right. BGNT is a high active signal indicating that the DMA controllers 100 to 103 have acquired the right to use the bus. FIG. (A) shows an operation of transferring one burst of data when the DMA controllers 100 to 103 have acquired the bus once (when the bus width is 32 bits, 4 bytes of data are transferred in one burst). ). FIG. (B) shows an operation in which the DMA controllers 100 to 103 transfer data of two bursts when acquiring the bus once. FIG. (C) shows an operation in which the DMA controllers 100 to 103 transfer four bursts of data when acquiring the bus once. When the bus acquisition control is based on equal probability control such as round robin, it is possible to control the actual transfer band by changing the transfer unit at the time of burst. Therefore, by setting different burst units between the DMA controllers 100 to 103, print data of each color is transferred from the image memory 4 to the image output processing unit 5 at a transfer ratio approximately proportional to the DMA burst transfer unit.
[0017]
As described above, according to the present embodiment, the DMA burst transfer unit is designated according to the amount of code in the block unit when transferring the print data of each color. Thus, when transferring a block having a large code amount, print data is transferred in large burst transfer units, and as a result, data transfer with high priority is performed. As a result, bus traffic at the time of data transfer of each color is leveled, and the problem of insufficient transfer bandwidth caused when there is a bias in the code amount among the colors can be avoided without increasing the speed of the bus.
[0018]
[Other Examples]
In the embodiment, the transfer ratio of the print data is realized by changing the burst transfer unit size of the DMA. However, the present invention is not limited to this, and any method may be used. For example, there are various methods such as a method of stochastically determining the priority of securing the bus in a competition unit based on a value proportional to the code amount, a method of determining the number of bus allocations of each color DMA at predetermined time intervals according to the code amount, and the like. A method is conceivable. FIG. 8 shows a configuration example in the case where arbitration of bus access is controlled according to the code amount. In this embodiment, the arbitration control unit 89 controls the allocation ratio at the time of bus contention. Specifically, prior to the start of the DMA of the block to be transferred, the information about the allocation ratio at the time of bus contention is specified to the arbitration control unit 89 (corresponding to the process of step S507). FIG. 9 is a flowchart illustrating a process related to the bus access right assignment process in the arbitration control unit 89. In the bus access right arbitration state, the arbitration control unit 89 determines a conflict between the access requests (step S901), and if there is no conflict, passes the access right to the requesting DMA. If there is contention, a random number having a maximum value, for example, as shown in Table 2 is generated corresponding to the DMA of the requested color (the random number may be generated in advance for each transfer). In the assignment determining step (S903), a random number corresponding to each of the generated colors is assigned a priority, thereby determining an assignment target DMA. In this way, by performing allocation control at the time of contention stochastically, it is possible to realize transfer band control of each color data. When the block unit to be controlled is small, band control may be performed by assigning a simple priority in proportion to the code amount.
[0019]
As shown in FIGS. 1 and 8, the bus access control between the colors may be performed by the access control unit of each DMA, or may be controlled collectively by the arbitration control unit of the system bus.
[0020]
In the embodiment, a case has been described in which band control is performed in units of blocks each having a plurality of lines, but the present invention is not limited to such a method, and control may be performed in any unit. The control may be performed in finer units such as line units, or the control may be performed in page units. For example, when control is performed on a page-by-page basis, the code amount of each color in one page is calculated, and each color data transfer band of the page is allocated according to the ratio of the code amount between the colors. When the control is performed on a page-by-page basis, it is not possible to cope with the fluctuation of the generated code amount in the page, but it is possible to control the transfer band between the color data by a simple method.
[0021]
In this embodiment, a method is described in which a dedicated reference table for band control is prepared and band control is performed with reference to the table. However, another method may be used. For example, a method may be used in which band control information is described in a header of code data or the like and transfer conditions are specified based on the header information at the time of transfer. Specifically, a dedicated header area is provided in the code data in a predetermined unit to be controlled, and information relating to the code amount, a necessary transfer band, and the like is described in the area. In this case, there is no need to create and manage a dedicated table, and the structure of the control software is simplified.
[0022]
In the embodiment, the case where the band control is performed based on the code amount of the compressed data has been described. However, the present invention is not limited to this, and the information obtained from the print data before compression and the information obtained at the time of the compression processing are used. Setting information related to band control may be generated based on the setting information.
[0023]
In the embodiment, the case where the present invention is applied to a controller of a tandem type electrophotographic printer has been described. However, the present invention is not limited to this, and a printer engine which needs to simultaneously transfer print data of a plurality of colors at the time of printing. It is possible to adapt widely to
[0024]
[Table 1]
Figure 2004345258
[0025]
[Table 2]
Figure 2004345258
[0026]
【The invention's effect】
As described above, according to the present invention, by controlling the transfer band of each color in accordance with the data amount of the print data, it is possible to realize a highly reliable image output apparatus at low cost regardless of the contents of the print data.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image output device according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a conventional image output device.
FIG. 3 is a diagram illustrating a configuration of a general printer.
FIG. 4 illustrates an example of image timing supplied to a tandem color laser printer.
FIG. 5 is a diagram illustrating a processing flow according to an embodiment of the present invention.
FIG. 6 is a flowchart describing the content of band designation information creation processing.
FIG. 7 is a diagram illustrating an example of a DMA burst transfer.
FIG. 8 is a diagram showing a configuration of an image output device according to another embodiment.
FIG. 9 is a diagram illustrating a process of an arbitration control unit according to another embodiment.
[Explanation of symbols]
1 CPU
2 ROM
3 External i / f
4 page memory 5 image output unit 6 printer engine 100 to 103 DMAC
104 to 107 Decoders 108 to 111 Buffer memory 112 DMA access control unit 113 Engine i / f output unit

Claims (5)

イメージデータを印刷するプリンタエンジンに接続し、当該プリンタエンジンにカラーイメージデータを供給する画像出力装置おいて、
印刷データを圧縮する手段と、
圧縮された印刷データを保持する記憶手段と、
圧縮された印刷データを伸張し、プリンタエンジンに供給するエンジンインターフェース手段と、
保持する印刷データを色毎に並行してエンジンインターフェース手段に転送するための転送手段を有し、
転送手段は、印刷データから得られる情報に従って、色毎に印刷データの転送優先順位又は転送比率が指定される事を特徴とする画像出力装置。
In an image output device connected to a printer engine for printing image data and supplying color image data to the printer engine,
Means for compressing the print data;
Storage means for holding the compressed print data;
Engine interface means for expanding the compressed print data and supplying it to the printer engine;
Transfer means for transferring the held print data to the engine interface means in parallel for each color,
The image output device, wherein the transfer unit specifies a transfer priority or a transfer ratio of the print data for each color in accordance with information obtained from the print data.
所定の単位で色毎の転送優先順位又は転送比率を判断する手段を有し、
転送手段は判断結果に従って転送優先順位又は転送比率が指定される事を特徴とする請求項1に記載の画像出力装置。
A means for determining a transfer priority or transfer ratio for each color in a predetermined unit,
2. The image output apparatus according to claim 1, wherein the transfer means specifies a transfer priority or a transfer ratio according to the determination result.
転送手段は、圧縮された印刷データの符号量に従って転送優先順位又は転送比率が指定される事を特徴とする請求項1〜2に記載の画像出力装置。3. The image output apparatus according to claim 1, wherein the transfer unit specifies a transfer priority or a transfer ratio according to a code amount of the compressed print data. 圧縮する手段は、印刷データの圧縮時に、当該データの転送優先順位又は転送比率を指定するための情報を作成する手段を有し、転送手段は作成された情報に従って転送優先順位又は転送比率が指定される事を特徴とする請求項1〜3に記載の画像出力装置。The means for compressing has means for creating information for designating the transfer priority or transfer ratio of the print data when compressing the print data, and the transfer means designates the transfer priority or transfer ratio in accordance with the created information. The image output device according to claim 1, wherein 転送優先順位又は転送比率を指定するための情報が圧縮データ列内に格納される事を特徴とする請求項1〜4に記載の画像出力装置。5. The image output device according to claim 1, wherein information for designating a transfer priority or a transfer ratio is stored in a compressed data string.
JP2003145728A 2003-05-23 2003-05-23 Image output device Withdrawn JP2004345258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003145728A JP2004345258A (en) 2003-05-23 2003-05-23 Image output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003145728A JP2004345258A (en) 2003-05-23 2003-05-23 Image output device

Publications (1)

Publication Number Publication Date
JP2004345258A true JP2004345258A (en) 2004-12-09

Family

ID=33532787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003145728A Withdrawn JP2004345258A (en) 2003-05-23 2003-05-23 Image output device

Country Status (1)

Country Link
JP (1) JP2004345258A (en)

Similar Documents

Publication Publication Date Title
JP5754273B2 (en) MEMORY CONTROL DEVICE, INFORMATION PROCESSING DEVICE, AND MEMORY CONTROL METHOD
JP4136292B2 (en) Image processing device
US7193738B2 (en) Image processing apparatus and method
US6819447B1 (en) Print control apparatus, print control method, and memory medium
US7447384B2 (en) Image processing method and apparatus
US7880913B2 (en) Methods and systems for segmenting logical pages into work units for processing on multiple compute systems
JP2000181637A (en) Method and device for data transfer control and storage medium
JP2001213015A (en) Image recorder
JP2004345258A (en) Image output device
JP4175974B2 (en) Image data transfer control device
JP5388477B2 (en) Image forming apparatus and image data transfer method
JP2004345260A (en) Image output apparatus
JP5105970B2 (en) Image forming apparatus and control method
JP2020196260A (en) Image formation apparatus, image formation method and image formation control program
JP2004345259A (en) Image output device
JP5093576B2 (en) Printing control apparatus and image forming system
JP4345055B2 (en) Image processing apparatus and method, and printer system
JP2005193420A (en) Image output apparatus, its image output method, and control program
JP3809284B2 (en) Image generating apparatus, control method therefor, and printing apparatus
JP2004348501A (en) Image output device
JP5924104B2 (en) Image processing apparatus and image forming apparatus
JP2004133661A (en) Interface unit
JP2005151054A (en) Image expanding apparatus and method thereof, and image processing system
JP2004282279A (en) Image processing system
JP2004157609A (en) Image processing apparatus and image processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060801