JP2004348501A - Image output device - Google Patents

Image output device Download PDF

Info

Publication number
JP2004348501A
JP2004348501A JP2003145731A JP2003145731A JP2004348501A JP 2004348501 A JP2004348501 A JP 2004348501A JP 2003145731 A JP2003145731 A JP 2003145731A JP 2003145731 A JP2003145731 A JP 2003145731A JP 2004348501 A JP2004348501 A JP 2004348501A
Authority
JP
Japan
Prior art keywords
data
transfer
color
print data
page
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
JP2003145731A
Other languages
Japanese (ja)
Inventor
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 JP2003145731A priority Critical patent/JP2004348501A/en
Publication of JP2004348501A publication Critical patent/JP2004348501A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a controller capable of extracting the performance of a tandem type color laser printer. <P>SOLUTION: An image output device comprises a storage means for storing printing data, an engine interface means for supplying printing data to a printer engine in accordance with an image synchronizing signal, a 1st transfer means for transferring the stored printing data to the engine interface means in parallel in each color, and a 2nd transfer means for transferring data other than the printing data transferred by the 1st transfer means. The priority order of the 1st and 2nd transfer means is specified on the basis of the image synchronizing signal. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、カラープリンタエンジンに画像データを供給するプリンタコントローラ等の画像出力装置に関するものである。
【0002】
【従来の技術】
画像印刷装置としてのページプリンタは、図2に示すように、ネットワーク、USBインターフェース等を介して、プリンタドライバを有するホストコンピュータに接続され、ホストコンピュータ等の機器が印刷元データから生成した中間出力データを出力に適した出力画像データに変換するコントローラ部と、コントローラ部から出力された出力画像データを取得し、紙等のメディアに画像出力するエンジン部とにより構成される。このコントローラ部に適した中間出力データは、一般にはプリンタドライバと呼ばれるソフトウェアで生成される。さらに、コントローラ部で中間出力データをエンジン部に適した出力画像データに変換し、エンジン部からの画像転送許可信号に同期してエンジン部にビデオ信号として出力する。エンジン部では電子写真プロセスを制御・駆動し、入力されたビデオ信号を紙等のメディア上に画像として再現する。
【0003】
電子写真プロセス方式のカラープリンタにおいては、特開平9−192542号公報に示されるようなタンデム方式と呼ばれる並列処理による高速印刷方式が提案され実用に供されている。タンデム方式では4色分の感光ドラムを一列に並べ、各色の印刷処理をオーバーラップさせることで印刷時間を短縮している。
【0004】
【発明が解決しようとする課題】
図3はタンデム方式の印刷データ出力タイミングを示しており、aはページ同期信号、b〜eは印刷データの転送タイミングを示すものである。図示したようにタンデム方式の電子写真プリンタでは、ページ同期信号aが与えられると所定時間後(t1)に第1カラーから印刷データの転送を開始する。さらに、印刷用紙がドラム間隔を移動する時間に相当する出力タイミングの時間差(t2,t3,t4)を与えられ、各色の印刷データが順次転送を開始する。また、図3の下段では1ページ目の処理に引き続き、2ページ目、3ページ目と連続して印刷を行った場合のタイミングを示している。図では1ページ目のデータ転送完了から2ページ目のデータ転送開始までの時間と2ページ目のデータ転送完了から3ページ目のデータ転送開始までの時間が異なる様子を示している。図示のように1ページ目の第4カラーの転送が終了する前に2ページ目の第1カラーの転送が開始可能であり、このようにページ間でのオーバーラップもタンデム方式の電子写真プリンタの特徴である。
【0005】
ここで上記のようにページ間の間隔が変動する原因を説明する。
【0006】
連続印刷動作における2ページ目以降のデータ転送も1ページ目と同様に出力に必要なデータをページメモリに格納が完了したタイミングで転送開始を要求することになる。当然、ページ間隔が短いほど印刷処理時間は短縮されることになるが、このページ間隔は以下の理由により変動する。前述のように、ホストコンピュータ上で稼動するプリンタドライバは中間出力データを生成するが、その処理時間は印刷元データによって異なる。また、ホストコンピュータからコントローラの外部i/fを介して渡され、処理された後にページメモリに格納されるまでの処理の影響も加わることになる。ここで問題となるのがCPUバス上で行われるデータ転送である。1ページ目の処理においては、中間出力データがすべて印刷可能なデータに変換され、ページメモリに格納されてから、画像出力部に転送されるため、ホストコンピュータからページメモリに至るデータ転送とページメモリから画像出力部へのデータ転送がCPUバス上で競合することはない。しかしながら、2ページ目以降では、ページメモリから画像出力部への転送が開始されると直ちにホストコンピュータから次ページの中間出力データの転送が開始されるため、この時CPUバス上で印刷データの転送との競合が発生することになる。このようにしてCPUバス上での競合によりホストコンピュータからのデータ転送に対する待ち時間が増えることも次ページの印刷開始を遅らせ、結果的にプリンタの性能を引き出す妨げとなっている。もちろんCPUバスの帯域を十分に広くする事でこのバス競合による遅延の問題を回避する事も可能であるが、そのためには高価な高速DMA/高速メモリシステム/高速バスシステム等が必要になる。
【0007】
本発明は上記問題点に鑑みてなされたものであり、連続印刷時の並行処理に伴う印刷動作の遅延の抑制を廉価に実現する画像出力装置を提供する事を目的とするものである。
【0008】
【課題を解決するための手段】
本発明では、上記問題点を解決するために、イメージデータを印刷するプリンタエンジンに接続し、当該プリンタエンジンにカラーイメージデータを供給する画像出力装置おいて、印刷データを保持する記憶手段と、画像同期信号に従って印刷データをプリンタエンジンに供給するエンジンインターフェース手段と、保持する印刷データを色毎に並行してエンジンインターフェース手段に転送するための第1の転送手段と、前記第1の転送手段で転送される印刷データ以外のデータを転送する第2の転送手段とを有し、第1および第2の転送手段は、画像同期信号に基づいて優先順位が指定される事を特徴としている。
【0009】
【発明の実施の形態】
以下、添付図面に従って本発明にかかる実施例を詳細に説明する。
【0010】
<装置構成の説明>
図1は、本発明の実施例におけるタンデム方式のカラーレーザービームプリンタのコントローラの構成を示すブロック図である。
【0011】
本実施例のシステムは、図1に示すようにシステムバスにCPU1、ROM2、外部i/f3、画像メモリ4、DMAC5、および画像出力部6を接続した構成となっており、それぞれバス調停部7の許可を得てシステムバスを介したデータ転送を実行する。CPU1は、装置全体の制御を行うとともに、外部i/f3より受信する印刷データからプリンタエンジン8に出力可能な印刷データの生成を行う。ROM2は、前記CPU1によって処理される処理手順(プログラム)、およびフォントデータなどを格納する。外部i/f3は、Ethernet(登録商標)等のLANインターフェースや、USBやIEEE1284、IEEE1394等のi/oインターフェースであり、上位装置(ホストコンピュータ)から印刷データを受信する。画像メモリ4は、前記CPU1が生成した1ページ分の印刷データを一旦格納する。この際、メモリ容量を節約するために、前記CPU1によって印刷データの圧縮処理を行い、圧縮データ形式で格納する。DMAC5は、色毎に前記画像メモリ4から画像出力部6に圧縮された印刷データの転送を行う。画像出力部6は、当該印刷データの伸張処理を行うとともに、プリンタエンジン8の印刷タイミングに合わせて、印刷データをプリンタエンジン8に出力する。プリンタエンジン8は、タンデム方式のレーザービームプリンタであり、同時に複数色の印刷データの転送を必要とする。
【0012】
次に、画像出力部6の内部構成を説明する。61a〜dは色毎のデコーダであり、それぞれ色毎に転送される印刷データの伸張処理を行う。62a〜dは色毎のFIFO(ファーストイン・ファーストアウト)メモリであり、それぞれ色毎のデコーダ61a〜dから出力される印刷データを一旦記憶し、後記エンジンi/f63に所定のタイミングで印刷データを出力する。FIFO62a〜dは、DMAC5によるデータ転送と、プリンタエンジンへのデータ転送との速度調整を行う。63はエンジンi/fであり、プリンタエンジン8との間で、コマンド/レスポンスの通信処理を行うとともに、印刷時にプリンタエンジン8からの水平同期信号/垂直同期信号に同期して、色毎にFIFO62a〜dから印刷データを読み出し、プリンタエンジン8に出力する。
【0013】
本発明の特徴は、調停部7におけるシステムバスの使用権制御方法にあり、プリンタエンジン8の発生する同期信号より検知される各色毎のデータ転送タイミングに基づき、転送優先順位を動的に設定することにある。通常、バスの使用権はラウンドロビン方式等により要求に対して均等に割当てられるが、本方式では、タンデム方式の印刷データ出力タイミングに基づいてシステムバスの使用権を制御する。
【0014】
以下、再び図3のタイミングチャートを参照しながら本方式について説明を加える。
【0015】
前述のように各色の印刷データの転送には時間差(t2,t3,t4)が与えられており、図3上段の動作タイミングでは、次のようにシステムバス上で並行して行なわれる各色の印刷データの転送は、所定の時間毎に段階的に増減する。
【0016】
1色(C)→2色(C,M)→3色(C,M,Y)→4色(C,M,Y,K)→3色(M,Y,K)→2色(Y,K)→1色(K)
また、連続印刷動作時にはページ間隔により、前ページの他の色のデータ転送とオーバーラップする。図3下段の1ページ目から2ページ目においては次のようになる。
【0017】
1色(C1)→2色(C1,M1)→3色(C1,M1,Y1)→4色(C1,M1,Y1,K1)→3色(M1,Y1,K1)→4色(C2,M1,Y1,K1)→3色(C2,Y1,K1)→4色(C2,M2,Y1,K1)→3色(C2,M2,K1)→4色(C2,M2,Y2,K1)→3色(C2,M2,Y2)→4色(C2,M2,Y2,K2)→3色(M2,Y2,K2)→2色(Y2,K2)→1色(K2)
(C1は1ページ目の第1カラー、C2は2ページ目の第1カラーを示す)
また、2ページ目と3ページ目では、まったく重なる時間が発生しない。印刷データ転送時のオーバーラップの有無は、ページ同期信号aの間隔(Tp)から次のように判定可能である。
【0018】
(1)オーバーラップが発生しない。
【0019】
t2 + t3 + t4 + t5 ≦ Tp・・・(レベル1)
(2)第1カラーにオーバーラップが発生する。
【0020】
t2 + t3 + t5 ≦ Tp < t2 + t3 + t4 + t5・・・(レベル2)
(3)第1カラーと第2カラーにオーバーラップが発生する。
【0021】
t2 + t5 ≦ Tp < t2 + t3 + t5・・・(レベル3)
(4)第1カラーと第2カラーと第3カラーにオーバーラップが発生する。
【0022】
Tp < t2 + t5・・・(レベル4)
つまり、t2〜t5は所定の値であることから、ページ同期信号aの間隔(Tp)が検知された時点で、その後に出力されるページのオーバーラップの有無が判定可能である。さらに、上記の判定に基づいて求められるページ同期信号aを基準とした経過時間(Tx)と競合する色数(同時発生数)の関係を上記オーバーラップのレベル別に表1−1から表1−4に示す。以上のように、各経過時間における各色の印刷データの転送に伴なうシステムバスの競合を予測し、必要十分な帯域を確保することが可能である。また、同時に発生するホストコンピュータからページメモリに至るデータ転送(以下、ホストデータ転送と呼ぶ)に対しては、この各色の印刷データ転送のために確保された帯域以外を優先的に割当てることによって、前述のシステムバスの競合によって発生する待ち時間を抑制することが可能である。
【0023】
次に上記の条件に従って割当てられるシステムバスの帯域制御の例を示す。
【0024】
本実施例におけるシステムバスでは、上記経過時間毎にバス調停部7に対して設定されるアクセス競合時の割り当て比率に基づいて帯域制御を行なう。また、割当て比率は上述した表1−1から表1−4の同時発生数N(1〜4)によって以下のように決定する。まず、バス全体の帯域をM(4 ≦ M)とした場合、各色の印刷データ転送への割当てをそれぞれ1/Mとする。印刷データ転送が4色同時に転送される、すなわち上記の同時発生数が4の場合には、ホストデータ転送には(M−4)/Mという比率が設定される。また、同時発生数Nの増減に応じて、ホストデータ転送には(M−N)/Mという比率が与えられる。つまり、経過時間毎に、転送が発生しない色に対する割当分がホストデータ転送に割当てられることになる。
【0025】
次に、M=5とした場合の具体的な調停制御方法の例について説明する。
【0026】
調停制御は各バス要求に対して与えられる優先度レベルの比較により行なわれ、同時に発生した各要求に割り当てられた優先度レベルの中で最も高いものが許可される。さらに、最も高い優先度レベルの要求が複数あった場合には、それらの中でラウンドロビン方式により均等に許可が与えられる。各色の印刷データ転送に対しては同じ優先度レベルが割り当てられ、上記同時発生数Nに応じて2×N−1(N=1,2,3,4)が優先度レベルとして付与される。また、ホストデータ転送に対しては、M回のバスサイクルを周期として、1回のバスサイクル毎に優先度レベルを次のように割り当てる。M=5とした場合には各バスサイクルに対して2×M−2(M=1,2,3,4,5)が優先度レベルとして付与される。例えばN=1の場合には、各色の印刷データ転送の優先度レベルは“1”であり、これに対してホストデータ転送の優先度レベルは“0” “2” “4”“6” “8”と周期的に変化し、全体の4/5の割合で帯域が割り当てられることになる。また、N=4の場合には、同様に、各色の印刷データ転送の優先度レベルは“7”となり、ホストデータ転送に対する帯域の割り当ては1/5となる。以上のように、本実施例のバス調停方法は、バスサイクルのカウントと優先度レベル値の比較という比較的簡単な構成で実現可能である。
【0027】
<動作説明>
上記構成において、CPU1の動作を図4に示すフローチャートに従って説明する。CPU1はホストコンピュータから送られたデータを外部i/f3を介して受信し(ステップS501)、プリンタエンジン8に出力可能な印刷データを生成する(ステップS502)。更に、生成した印刷データに対して圧縮処理を行い、一旦画像メモリ4に蓄積する(ステップS503)。所定の総量(ページ、または所定サイズのブロック)の印刷データが生成されると、CPU1は、エンジンi/f回路を介して、プリンタエンジン8に印刷開始の指示をコマンドとして発行する(ステップS504)。印刷開始の指示を受けたプリンタエンジン8は、印刷動作を開始すると、印刷データの転送タイミングを示す垂直/水平同期信号を出力する。CPU1はエンジンi/f回路63によりプリンタエンジン8からの垂直同期(ページ同期)信号を検知し(ステップS505)、水平同期信号のカウント値から前ページとの間隔を算出する(ステップS506)。さらに、該ページ間隔から前述のオーバーラップレベル(レベル1〜レベル4)を判定し(ステップS507)、表1−1〜表1−4に基づき、経過時間毎に設定される印刷データの競合レベルにより決定される優先度データを保持する(ステップS508)。ただし、1ページ目の場合は前ページとのオーバーラップは発生しないことから、オーバーラップレベルはレベル1として取り扱う。引き続き、第1カラーの転送開始タイミングを検出する (ステップS509)。データ開始タイミングはプリンタエンジン8が発生する同期信号からの経過時間で規定されており、印刷用紙の搬送速度と各感光ドラムまでの到達距離から算出される。データ開始タイミングが検出された場合には、DMAC5を制御して印刷データの転送を開始する(ステップS510)。さらに、最初に設定される優先度が適用される期間を検出するタイマをスタートさせ(ステップS511)、割り込み処理を有効化する(ステップS512)。ステップS501〜S512の処理は、最終ページまで繰り返し実行され(ステップS513)、最終ページの全データの転送終了(ステップS514)によって印刷処理を完了する。
【0028】
図5は、図4で有効化された割り込み処理のフローチャートである。
【0029】
経過時間測定用タイマが設定された時間に到達した時点でCPU1に対する割り込みが発生し、ステップS508で保持したテーブルの参照により(ステップS601)、次の期間の優先度をバス調停部7に設定変更するとともに(ステップS602)、次の期間に相当する時間を再度経過時間測定用タイマに設定する(ステップS603)。さらに、割り込み発生タイミングが各色のデータ転送開始タイミングと一致する場合には(ステップS604)、該当する色の印刷データの転送を開始させるべくDMAC5に対し転送開始許可を設定する(ステップS604)。このようにして各色毎にDMA転送の開始が指示されると画像メモリ4に蓄積された印刷データ(圧縮データ)を、それぞれ色毎のデコーダ61a〜dに転送する。デコーダ61a〜dは、圧縮された印刷データに対して伸張処理を行い、それぞれ色毎のFIFO62a〜dに印刷データを蓄積する。FIFO62a〜dに蓄積された印刷データは、プリンタエンジン8の動作タイミングに合わせて、エンジンi/f回路63によって順次読み出され、不図示のパラレルシリアル変換で、シリアル信号に変換されてプリンタエンジン8に転送される。
【0030】
【表1】

Figure 2004348501
【0031】
【表2】
Figure 2004348501
【0032】
【表3】
Figure 2004348501
【0033】
【表4】
Figure 2004348501
【0034】
【発明の効果】
以上説明したように、本発明の実施形態によれば、タンデム方式のカラープリンタの連続印刷処理において、プリンタエンジンの発生する同期信号タイミングから予測した並行転送される印刷データのオーバーラップのレベルに基づいてバス競合制御を行なうことにより印刷動作の遅延を抑制する効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施例による画像出力装置の構成を示すブロック図である。
【図2】一般的なプリンタの構成を説明する図である。
【図3】タンデムカラーレーザープリンタに供給する画像タイミングの例を示すものである。
【図4】本発明の実施例による処理フローを説明する図である。
【図5】本発明の実施例による割り込み処理を説明するフローチャートである。
【符号の説明】
1 CPU
2 ROM
3 外部i/f
4 ページメモリ
5 DMAC
6 画像出力部
7 バス調停部
8 プリンタエンジン
61a〜dデコーダ
62a〜d バッファメモリ
63 エンジンi/f部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image output device such as a printer controller that supplies image data to a color printer engine.
[0002]
[Prior art]
As shown in FIG. 2, 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]
[Problems to be solved by the invention]
FIG. 3 shows the print data output timing of the tandem system, in which a indicates the page synchronization signal, and b to e indicate the transfer timing of the print data. As shown in the figure, in the tandem-type electrophotographic printer, transfer of print data from the first color is started after a predetermined time (t1) when the page synchronization signal a is given. Further, a time difference (t2, t3, t4) of the output timing corresponding to the time for the printing paper to move between the drum intervals is given, and the printing data of each color starts to be sequentially transferred. The lower part of FIG. 3 shows the timing when printing is performed continuously on the second page and the third page following the processing of the first page. In the figure, the time from the completion of the data transfer of the first page to the start of the data transfer of the second page is different from the time from the completion of the data transfer of the second page to the start of the data transfer of the third page. As shown in the figure, the transfer of the first color of the second page can be started before the transfer of the fourth color of the first page is completed. Thus, the overlap between the pages can be reduced by the tandem type electrophotographic printer. It is a feature.
[0005]
Here, the reason why the interval between pages fluctuates as described above will be described.
[0006]
In the data transfer for the second and subsequent pages in the continuous printing operation, similarly to the first page, the transfer start is requested at the timing when the data necessary for output is stored in the page memory. Naturally, the shorter the page interval, the shorter the print processing time, but this page interval varies for the following reasons. As described above, the printer driver running on the host computer generates the intermediate output data, but the processing time varies depending on the print source data. In addition, there is an effect of the processing that is passed from the host computer via the external i / f of the controller, is processed, and is stored in the page memory after being processed. The problem here is the data transfer performed on the CPU bus. In the processing of the first page, all the intermediate output data is converted into printable data, stored in the page memory, and then transferred to the image output unit, so that data transfer from the host computer to the page memory and page memory Data transfer from the CPU to the image output unit does not compete on the CPU bus. However, in the second and subsequent pages, the transfer of the intermediate output data of the next page is immediately started from the host computer as soon as the transfer from the page memory to the image output unit is started. And a conflict will occur. The increase in the waiting time for the data transfer from the host computer due to the competition on the CPU bus in this way also delays the start of printing the next page, and consequently hinders the performance of the printer. Of course, the problem of the delay due to the bus contention can be avoided by sufficiently widening the bandwidth of the CPU bus, but an expensive high-speed DMA / high-speed memory system / high-speed bus system is required for that purpose.
[0007]
The present invention has been made in view of the above problems, and has as its object to provide an inexpensive image output apparatus that can suppress a delay in a printing operation due to parallel processing during continuous printing.
[0008]
[Means for Solving the Problems]
In the present invention, in order to solve the above problem, in an image output device connected to a printer engine for printing image data and supplying color image data to the printer engine, storage means for holding print data, Engine interface means for supplying print data to the printer engine in accordance with a synchronization signal, first transfer means for transferring the held print data to the engine interface means in parallel for each color, and transfer by the first transfer means And second transfer means for transferring data other than the print data to be transmitted, and the first and second transfer means are characterized in that a priority is specified based on an image synchronization signal.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0010]
<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.
[0011]
As shown in FIG. 1, the system of the present embodiment has a configuration in which a CPU 1, a ROM 2, an external interface 3, an image memory 4, a DMAC 5, and an image output unit 6 are connected to a system bus. And execute data transfer via the system bus. The CPU 1 controls the entire apparatus and generates print data that can be output to the printer engine 8 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 one page of print data generated by the CPU 1. 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 DMAC 5 transfers the compressed print data from the image memory 4 to the image output unit 6 for each color. The image output unit 6 extends the print data and outputs the print data to the printer engine 8 in accordance with the print timing of the printer engine 8. The printer engine 8 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 6 will be described. Decoders 61a-d decompress print data transferred for each color. Reference numerals 62a to 62d denote FIFO (first-in / first-out) memories for each color, which temporarily store print data output from the decoders 61a to 61d for each color, and store the print data in the engine i / f 63 at a predetermined timing. Is output. The FIFOs 62a to 62d adjust the speed of data transfer by the DMAC 5 and the speed of data transfer to the printer engine. Reference numeral 63 denotes an engine i / f, which performs command / response communication processing with the printer engine 8 and synchronizes with a horizontal synchronization signal / vertical synchronization signal from the printer engine 8 at the time of printing to provide a FIFO 62a for each color. , And print data is output to the printer engine 8.
[0013]
A feature of the present invention resides in a method for controlling the right to use the system bus in the arbitration unit 7, and dynamically sets the transfer priority based on the data transfer timing for each color detected from the synchronization signal generated by the printer engine 8. It is in. Normally, the right to use the bus is evenly allocated to a request by a round robin method or the like. In this method, the right to use the system bus is controlled based on the print data output timing of the tandem method.
[0014]
Hereinafter, this method will be described with reference to the timing chart of FIG. 3 again.
[0015]
As described above, the time difference (t2, t3, t4) is given to the transfer of the print data of each color. At the operation timing in the upper part of FIG. 3, printing of each color performed in parallel on the system bus is performed as follows. Data transfer is increased or decreased stepwise at predetermined time intervals.
[0016]
1 color (C) → 2 colors (C, M) → 3 colors (C, M, Y) → 4 colors (C, M, Y, K) → 3 colors (M, Y, K) → 2 colors (Y , K) → 1 color (K)
In the continuous printing operation, the data overlaps with the data transfer of the other color of the previous page due to the page interval. For the first to second pages in the lower part of FIG.
[0017]
1 color (C1) → 2 colors (C1, M1) → 3 colors (C1, M1, Y1) → 4 colors (C1, M1, Y1, K1) → 3 colors (M1, Y1, K1) → 4 colors (C2 , M1, Y1, K1) → 3 colors (C2, Y1, K1) → 4 colors (C2, M2, Y1, K1) → 3 colors (C2, M2, K1) → 4 colors (C2, M2, Y2, K1) ) → 3 colors (C2, M2, Y2) → 4 colors (C2, M2, Y2, K2) → 3 colors (M2, Y2, K2) → 2 colors (Y2, K2) → 1 color (K2)
(C1 indicates the first color of the first page, and C2 indicates the first color of the second page.)
Further, no overlap time occurs between the second and third pages. The presence or absence of the overlap at the time of transfer of the print data can be determined from the interval (Tp) of the page synchronization signal a as follows.
[0018]
(1) No overlap occurs.
[0019]
t2 + t3 + t4 + t5 ≦ Tp (level 1)
(2) Overlap occurs in the first color.
[0020]
t2 + t3 + t5 ≦ Tp <t2 + t3 + t4 + t5 (level 2)
(3) Overlap occurs between the first color and the second color.
[0021]
t2 + t5 ≦ Tp <t2 + t3 + t5 (level 3)
(4) The first color, the second color, and the third color overlap.
[0022]
Tp <t2 + t5 (level 4)
That is, since t2 to t5 are predetermined values, it is possible to determine the presence or absence of the overlap of the subsequently output pages when the interval (Tp) of the page synchronization signal a is detected. Further, the relationship between the elapsed time (Tx) based on the page synchronization signal a obtained based on the above determination and the number of colors (the number of simultaneous occurrences) competing with each other is shown in Tables 1-1 to 1-1 for each of the overlap levels. It is shown in FIG. As described above, it is possible to predict the contention of the system bus accompanying the transfer of the print data of each color at each elapsed time, and to secure a necessary and sufficient band. Also, for data transfer (hereinafter referred to as host data transfer) from the host computer to the page memory, which occurs simultaneously, priority is given to a band other than the band secured for the print data transfer of each color. It is possible to suppress the waiting time caused by the contention of the system bus.
[0023]
Next, an example of bandwidth control of the system bus allocated according to the above conditions will be described.
[0024]
In the system bus according to the present embodiment, band control is performed based on the allocation ratio at the time of access contention set for the bus arbitration unit 7 for each of the elapsed times. The allocation ratio is determined as follows based on the number of simultaneous occurrences N (1 to 4) in Tables 1-1 to 1-4 described above. First, when the band of the entire bus is set to M (4 ≦ M), the allocation of each color to print data transfer is set to 1 / M. When four colors are simultaneously transferred in the print data transfer, that is, when the number of simultaneous occurrences is 4, the ratio of (M−4) / M is set in the host data transfer. Further, a ratio of (M−N) / M is given to the host data transfer according to the increase / decrease of the simultaneous occurrence number N. In other words, for each elapsed time, an assignment for a color for which no transfer occurs is assigned to host data transfer.
[0025]
Next, an example of a specific arbitration control method when M = 5 will be described.
[0026]
The arbitration control is performed by comparing the priority levels given to each bus request, and the highest priority level assigned to each simultaneously generated request is permitted. Further, when there are a plurality of requests of the highest priority level, permission is equally given among them by the round robin method. The same priority level is assigned to the print data transfer of each color, and 2 × N−1 (N = 1, 2, 3, 4) is given as the priority level according to the number of simultaneous occurrences N. For host data transfer, a priority level is assigned as follows for each bus cycle, with M bus cycles as a cycle. When M = 5, 2 × M−2 (M = 1, 2, 3, 4, 5) is assigned to each bus cycle as a priority level. For example, when N = 1, the priority level of the print data transfer of each color is “1”, whereas the priority level of the host data transfer is “0” “2” “4” “6” “ 8 ", and the bandwidth is allocated at a rate of 4/5 of the whole. Also, when N = 4, similarly, the priority level of the print data transfer of each color is “7”, and the allocation of the band to the host data transfer is 1 /. As described above, the bus arbitration method of the present embodiment can be realized with a relatively simple configuration of counting the bus cycle and comparing the priority level value.
[0027]
<Operation description>
In the above configuration, the operation of the CPU 1 will be described according to the flowchart shown in FIG. The CPU 1 receives the data sent from the host computer via the external interface 3 (step S501), and generates print data that can be output to the printer engine 8 (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). 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 8 via the engine i / f circuit (step S504). . Upon starting the printing operation, the printer engine 8 having received the print start instruction outputs a vertical / horizontal synchronization signal indicating the transfer timing of the print data. The CPU 1 detects the vertical synchronizing (page synchronizing) signal from the printer engine 8 by the engine i / f circuit 63 (step S505), and calculates the interval from the previous page from the count value of the horizontal synchronizing signal (step S506). Further, the above-described overlap level (level 1 to level 4) is determined from the page interval (step S507), and the contention level of the print data set for each elapsed time based on Tables 1-1 to 1-4. Is held (step S508). However, in the case of the first page, since the overlap with the previous page does not occur, the overlap level is handled as level 1. Subsequently, the transfer start timing of the first color is detected (step S509). The data start timing is defined by the elapsed time from the synchronization signal generated by the printer engine 8, and is calculated from the transport speed of the printing paper and the distance to each photosensitive drum. If the data start timing is detected, the DMAC 5 is controlled to start the transfer of the print data (step S510). Further, a timer for detecting a period in which the priority set first is applied is started (step S511), and interrupt processing is enabled (step S512). The processes of steps S501 to S512 are repeatedly executed until the last page (step S513), and the printing process is completed when the transfer of all data of the last page is completed (step S514).
[0028]
FIG. 5 is a flowchart of the interrupt processing enabled in FIG.
[0029]
When the elapsed time measurement timer reaches the set time, an interrupt to the CPU 1 occurs, and the priority of the next period is set to the bus arbitration unit 7 by referring to the table held in step S508 (step S601). At the same time (step S602), the time corresponding to the next period is set again in the elapsed time measuring timer (step S603). If the interrupt occurrence timing matches the data transfer start timing of each color (step S604), the transfer start permission is set to the DMAC 5 to start the transfer of the print data of the corresponding color (step S604). In this way, when the start of the DMA transfer is instructed for each color, the print data (compressed data) stored in the image memory 4 is transferred to the decoders 61a to 61d for each color. The decoders 61a to 61d expand the compressed print data, and accumulate the print data in FIFOs 62a to 62d for respective colors. The print data stored in the FIFOs 62a to 62d is sequentially read out by the engine i / f circuit 63 in accordance with the operation timing of the printer engine 8, and is converted into a serial signal by a parallel-to-serial conversion (not shown). Will be forwarded to
[0030]
[Table 1]
Figure 2004348501
[0031]
[Table 2]
Figure 2004348501
[0032]
[Table 3]
Figure 2004348501
[0033]
[Table 4]
Figure 2004348501
[0034]
【The invention's effect】
As described above, according to the embodiment of the present invention, in the continuous printing process of the tandem type color printer, based on the overlap level of the print data transferred in parallel predicted from the synchronization signal timing generated by the printer engine. By performing the bus contention control in this way, an effect of suppressing a delay in the printing operation can be obtained.
[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 diagram illustrating a configuration of a general printer.
FIG. 3 illustrates an example of image timing supplied to a tandem color laser printer.
FIG. 4 is a diagram illustrating a processing flow according to an embodiment of the present invention.
FIG. 5 is a flowchart illustrating an interrupt process according to an embodiment of the present invention.
[Explanation of symbols]
1 CPU
2 ROM
3 External i / f
4 page memory 5 DMAC
6 image output unit 7 bus arbitration unit 8 printer engines 61a-d decoders 62a-d buffer memory 63 engine i / f unit

Claims (2)

イメージデータを印刷するプリンタエンジンに接続し、当該プリンタエンジンにカラーイメージデータを供給する画像出力装置おいて、
印刷データを保持する記憶手段と、
画像同期信号に従って印刷データをプリンタエンジンに供給するエンジンインターフェース手段と、
保持する印刷データを色毎に並行してエンジンインターフェース手段に転送するための第1の転送手段と、
前記第1の転送手段で転送される印刷データ以外のデータを転送する第2の転送手段とを有し、
第1および第2の転送手段は、画像同期信号に基づいて優先順位が指定される事を特徴とする画像出力装置。
In an image output device connected to a printer engine for printing image data and supplying color image data to the printer engine,
Storage means for holding print data;
Engine interface means for supplying print data to the printer engine according to the image synchronization signal;
First transfer means for transferring the held print data to the engine interface means in parallel for each color;
A second transfer unit for transferring data other than the print data transferred by the first transfer unit,
An image output device, wherein the first and second transfer means are assigned priorities based on an image synchronization signal.
前記第1および第2の転送手段は、データバスを共用することを特徴とする請求項1に記載の画像出力装置。The image output device according to claim 1, wherein the first and second transfer units share a data bus.
JP2003145731A 2003-05-23 2003-05-23 Image output device Withdrawn JP2004348501A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=33532790

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP2004348501A (en)

Similar Documents

Publication Publication Date Title
JP2005242718A (en) Data transfer apparatus and transfer control program
US9286078B2 (en) Data processing apparatus having a parallel processing circuit including a plurality of processing modules, and method for controlling the same
US8838862B2 (en) Data transfer device, method of transferring data, and image forming apparatus
JP2006293927A (en) Direct memory access controller and system lsi including direct memory access controller
US11256459B2 (en) Data processing apparatus that switches to execution of a different command list at a preset control point, method of controlling the same, and computer-readable storage medium
JP2004348501A (en) Image output device
JP2018106222A (en) Information processing apparatus and communication control method
JP2004345259A (en) Image output device
JP4175974B2 (en) Image data transfer control device
US20170289377A1 (en) Image reading apparatus and printing apparatus
JP2004345260A (en) Image output apparatus
JP5105970B2 (en) Image forming apparatus and control method
JP2013084238A (en) Image processing apparatus, image processing method, and method for controlling image processing apparatus
JP4909839B2 (en) Image processing apparatus and image processing method
JP2004345258A (en) Image output device
JP2004133661A (en) Interface unit
JP5586442B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE DATA TRANSFER METHOD, AND COMMUNICATION PROGRAM
JP4468754B2 (en) Image forming apparatus and memory control method
JPH11331528A (en) Image processor
JP2007087347A (en) Data transfer unit
JPH08224945A (en) Image output device of band buffering system
JP2020035263A (en) Memory controller
JPH0863306A (en) Print device
JP2005174145A (en) Data processing method, data processor, program, and storage medium
JP6213003B2 (en) Communication control device, image processing device, communication control program

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