JP4631278B2 - Printing apparatus and printing method - Google Patents
Printing apparatus and printing method Download PDFInfo
- Publication number
- JP4631278B2 JP4631278B2 JP2004003426A JP2004003426A JP4631278B2 JP 4631278 B2 JP4631278 B2 JP 4631278B2 JP 2004003426 A JP2004003426 A JP 2004003426A JP 2004003426 A JP2004003426 A JP 2004003426A JP 4631278 B2 JP4631278 B2 JP 4631278B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- burst
- sdram
- unit
- 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
Links
Images
Landscapes
- Memory System (AREA)
- Record Information Processing For Printing (AREA)
Description
本発明は、バースト転送を行う印刷装置及び印刷方法に関する。 The present invention relates to a printing apparatus and a printing method that perform burst transfer.
プリンタ(印刷装置)の内部には、データを記憶するためのメモリが設けられている。このようなプリンタでは、メモリに対するデータの書き込み・読み出しの際に、バースト転送を行うものがある。バースト転送を行うことにより、連続したアドレスの書き込み・読み出しを高速に行うことができ、データの転送速度を高めることができる。
バースト転送のバースト長が長ければ、より多くの連続したアドレスの書き込み・読み出しが可能になり、メモリ(例えばSDRAM)のバンド幅を有効に利用できる。
しかし、メモリからバースト転送にてデータを読み出す場合、バースト長が長いと、読み出しを指示してから読み出されたデータを利用可能になるまでの時間が長くなり、結果として処理時間が長くなる。また、処理回路(例えば画像処理回路等)によっては、連続アドレスアクセスに適さないものがあり、その場合、バースト長が長ければ、メモリへの不要なアクセスが生じ、結果としてメモリのバンド幅を無駄にしてしまう。
If the burst length of the burst transfer is long, more continuous addresses can be written / read, and the bandwidth of the memory (eg, SDRAM) can be used effectively.
However, when data is read from the memory by burst transfer, if the burst length is long, the time from when the read is instructed until the read data becomes available becomes long, and as a result, the processing time becomes long. Some processing circuits (for example, image processing circuits) are not suitable for continuous address access. In this case, if the burst length is long, unnecessary access to the memory occurs, resulting in wasted memory bandwidth. End up.
そこで、本発明は、バースト転送を行う印刷装置の処理速度を向上させることを目的とする。 Therefore, an object of the present invention is to improve the processing speed of a printing apparatus that performs burst transfer.
上記目的を達成するための主たる発明は、データを記憶するメモリと、前記メモリとの間でバースト転送にて前記データを受け渡すメモリコントローラと、画像データの色空間を変換する色変換処理を行う画像処理ユニットであって、前記メモリコントローラに前記データの受け渡しを指示し、前記メモリコントローラとの間でデータを受け渡す画像処理ユニットとを備え、第1色数のインクで印刷可能であるとともに、前記第1色数よりも多い色数の第2色数のインクで印刷可能である印刷装置であって、(A)前記メモリには、前記第1色数の色空間に色変換するための第1テーブルと、前記第2色数の色空間に色変換するための第2テーブルとが記憶されており、前記第1テーブルには、色変換前の特定の階調に対応する前記第1色数の色空間の画素データが連続したアドレス領域に格納されており、前記第2テーブルには、色変換前の特定の階調に対応する前記第2色数の色空間の画素データが連続したアドレス領域に格納されており、(B)前記画像処理ユニットは、前記第1色数のインクで印刷を行う場合には、前記画像データの画素の階調に対応する前記第1テーブルのアドレスから、前記第1色数の色空間の画素データを、第1バースト長のバースト転送にて読み出し、前記第2色数のインクで印刷を行う場合には、前記画像データの画素の階調に対応する前記第2テーブルのアドレスから、前記第2色数の色空間の画素データを、前記第1バースト長よりも長い第2バースト長のバースト転送にて読み出すことを特徴とする。 The originating Brightness main other to achieve the above object, a color conversion for converting a memory for storing data, and a memory controller to pass the data at a burst transfer to and from the memory, the image data color space an image processing unit for performing processing, the instructs the memory controller to transfer said data, said an image processing unit for passing data between the memory controller, can be printed with an ink of a first color number A printing apparatus capable of printing with a second color number of inks greater than the first color number, wherein (A) the memory performs color conversion to the color space of the first color number A first table for color conversion and a second table for color conversion to the color space of the second number of colors are stored, and the first table corresponds to a specific gradation before color conversion. The first color number Color space pixel data is stored in a continuous address area, and the second table includes an address area in which pixel data in the color space of the second color number corresponding to a specific gradation before color conversion is continuous. (B) when printing with the first color number of ink, the image processing unit uses the address of the first table corresponding to the gradation of the pixel of the image data to When the pixel data of the color space of the first color number is read by burst transfer of the first burst length and printing is performed with the ink of the second color number, the pixel data corresponding to the gradation of the pixel of the image data The pixel data of the color space of the second color number is read from the address of the second table by burst transfer having a second burst length longer than the first burst length .
本発明の他の特徴については、本明細書及び添付図面の記載により明らかにする。 Other features of the present invention will become apparent from the description of this specification and the accompanying drawings.
本発明の印刷装置によれば、バースト転送を行う印刷装置の処理速度を向上させる。 According to the printing apparatus of the present invention, the processing speed of a printing apparatus that performs burst transfer is improved.
===開示の概要===
本明細書及び添付図面の記載により、少なくとも、以下の事項が明らかとなる。
=== Summary of disclosure ===
At least the following matters will become clear from the description of the present specification and the accompanying drawings.
データを記憶するメモリと、
前記メモリとの間でバースト転送にて前記データを受け渡すメモリコントローラと、
前記メモリコントローラに前記データの受け渡しを指示し、前記メモリコントローラとの間でデータを受け渡す複数のユニットと
を備え、
前記メモリコントローラは、各ユニットに応じて、メモリとの間で行われるバースト転送のバースト長を変更することを特徴とする印刷装置。
このような印刷装置によれば、バースト転送を行う印刷装置の処理速度を向上させることができる。
A memory for storing data;
A memory controller for transferring the data in a burst transfer with the memory;
Instructing the memory controller to transfer the data, and comprising a plurality of units for transferring data to and from the memory controller,
The printing apparatus according to
According to such a printing apparatus, the processing speed of the printing apparatus that performs burst transfer can be improved.
かかる印刷装置であって、原稿から画像を読み取るスキャナ部を更に備え、前記複数のユニットの一つは、スキャナ部から出力されたデータを処理して画像データを生成するスキャナ制御ユニットであり、前記メモリコントローラは、少なくとも2種類のバースト長でバースト転送可能であり、前記スキャナ制御ユニットから受けた前記画像データを前記メモリに書き込むとき、前記2種類のバースト長のうちの長い方のバースト長にてバースト転送を行うことが望ましい。 The printing apparatus may further include a scanner unit that reads an image from a document, and one of the plurality of units is a scanner control unit that generates data by processing data output from the scanner unit, The memory controller is capable of burst transfer with at least two types of burst lengths, and when writing the image data received from the scanner control unit into the memory, the longer one of the two types of burst lengths is used. It is desirable to perform burst transfer.
かかる印刷装置であって、前記スキャナ部は、画像を読み取るためのセンサを有し、前記センサは移動可能であり、移動するセンサから前記スキャナ制御ユニットへ順次データが出力されることが望ましい。 In this printing apparatus, it is preferable that the scanner unit includes a sensor for reading an image, the sensor is movable, and data is sequentially output from the moving sensor to the scanner control unit.
かかる印刷装置であって、インクを吐出する印刷ヘッドを移動させるキャリッジを更に備え、前記複数のユニットの一つは、前記印刷ヘッドを駆動するためのヘッド駆動データを前記印刷ヘッドへ転送するヘッド制御ユニットであり、前記メモリコントローラは、少なくとも2種類のバースト長でバースト転送可能であり、前記メモリに記憶された前記ヘッド駆動データを読み出すとき、前記2種類のバースト長のうちの長い方のバースト長にてバースト転送を行うことが望ましい。 The printing apparatus may further include a carriage that moves a print head that ejects ink, and one of the plurality of units includes a head control that transfers head drive data for driving the print head to the print head. The memory controller is capable of burst transfer with at least two types of burst lengths, and when reading the head drive data stored in the memory, the longer burst length of the two types of burst lengths It is desirable to perform burst transfer at.
かかる印刷装置であって、前記ヘッド制御ユニットは、移動する印刷ヘッドに対して前記ヘッド駆動データを順次転送することが望ましい。 In this printing apparatus, it is preferable that the head control unit sequentially transfers the head drive data to the moving print head.
かかる印刷装置であって、メモリに記憶されたデータを処理する処理装置を更に備え、前記複数のユニットの一つは、前記処理装置と前記メモリコントローラとの間でデータを受け渡すインターフェイスユニットであり、前記メモリコントローラは、少なくとも2種類のバースト長でバースト転送可能であり、前記メモリに記憶された前記データを前記処理装置が前記インターフェイスユニットを介して読み出すとき、前記2種類のバースト長のうちの短い方のバースト長にてバースト転送を行うことが望ましい。 The printing apparatus may further include a processing device that processes data stored in a memory, and one of the plurality of units is an interface unit that transfers data between the processing device and the memory controller. The memory controller is capable of burst transfer with at least two types of burst lengths, and when the processing device reads the data stored in the memory via the interface unit, It is desirable to perform burst transfer with the shorter burst length.
かかる印刷装置であって、前記処理装置は、前記メモリコントローラが所定のバースト長のバースト転送にて前記メモリからデータを読み出し終わる前に、そのデータの読み出しを開始することが望ましい。 In this printing apparatus, it is preferable that the processing apparatus starts reading data before the memory controller finishes reading data from the memory by burst transfer having a predetermined burst length.
かかる印刷装置であって、前記処理装置は、前記インターフェイスユニットからのタイミング信号に応じて、前記メモリから読み出されたデータの読み出しを開始することが望ましい。 In this printing apparatus, it is preferable that the processing apparatus starts reading data read from the memory in response to a timing signal from the interface unit.
かかる印刷装置であって、前記複数のユニットの一つは、画像データを画像処理する画像処理ユニットであり、前記メモリコントローラは、前記画像処理ユニットの処理の内容に応じて、メモリとの間で行われるバースト転送のバースト長を変更することが望ましい。 In this printing apparatus, one of the plurality of units is an image processing unit that performs image processing on image data, and the memory controller is connected to a memory according to the processing content of the image processing unit. It is desirable to change the burst length of the burst transfer performed.
かかる印刷装置は、複数色のインクを用いて媒体に画像を形成するものであり、前記メモリコントローラは、前記インクの色数に応じて、メモリとの間で行われるバースト転送のバースト長を変更することが望ましい。 Such a printing apparatus forms an image on a medium using a plurality of colors of ink, and the memory controller changes a burst length of a burst transfer performed with the memory according to the number of colors of the ink. It is desirable to do.
かかる印刷装置であって、前記画像処理ユニットは、画像データの色空間を変換する色変換処理を行うことが望ましい。 In this printing apparatus, it is preferable that the image processing unit performs color conversion processing for converting a color space of image data.
かかる印刷装置であって、前記画像処理ユニットは、RGB系画像データをCMYK系画像データに変換することが望ましい。 In this printing apparatus, it is preferable that the image processing unit converts RGB image data into CMYK image data.
かかる印刷装置であって、前記メモリコントローラは、前記メモリに対して転送指示の回数を変更して、バースト転送のバースト長を変更することが望ましい。 In this printing apparatus, it is preferable that the memory controller changes the burst length of burst transfer by changing the number of transfer instructions to the memory.
かかる印刷装置であって、前記メモリコントローラは、前記メモリに対して行アドレスを指示した後に列アドレスを指示し、前記メモリとの間でデータを受け渡すものであり、
前記メモリコントローラが前記メモリに連続して転送指示する場合、前記列アドレスを指示した後、更に列アドレスを指示することが望ましい。
In such a printing apparatus, the memory controller instructs a column address after instructing a row address to the memory, and transfers data to and from the memory.
When the memory controller sequentially instructs the memory to transfer, it is desirable that the column address is further instructed after the column address is instructed.
かかる印刷装置であって、前記メモリは、受信した行アドレスに対応するデータをラッチした後、その後に受信する列アドレスに応じたデータを出力することが望ましい。 In this printing apparatus, it is preferable that the memory latches data corresponding to the received row address and then outputs data corresponding to the column address received thereafter.
かかる印刷装置であって、前記メモリコントローラと前記メモリとの間で4バースト転送又は8バースト転送を行うことが望ましい。 In such a printing apparatus, it is preferable that 4-burst transfer or 8-burst transfer is performed between the memory controller and the memory.
データを記憶するメモリと、
前記メモリとの間でバースト転送にて前記データを受け渡すメモリコントローラと、
前記メモリコントローラに前記データの受け渡しを指示し、前記メモリコントローラとの間でデータを受け渡す複数のユニットと
を用い、
前記メモリコントローラは、各ユニットに応じて、メモリとの間で行われるバースト転送のバースト長を変更することを特徴とする印刷方法。
このような印刷方法によれば、バースト転送を行う印刷方法の処理速度を向上させることができる。
A memory for storing data;
A memory controller for transferring the data in a burst transfer with the memory;
Instructing the memory controller to exchange the data, and using a plurality of units that exchange data with the memory controller,
The printing method according to
According to such a printing method, the processing speed of the printing method performing burst transfer can be improved.
データを記憶するメモリと、
所定のバースト長のバースト転送にて前記メモリから前記データを読み出すメモリコントローラと、
前記メモリに記憶された前記データを処理する処理装置と、
前記処理装置と前記メモリコントローラとの間に設けられ、前記メモリコントローラに前記データの読み出しを指示するインターフェイスユニットと、
を備え、
前記処理装置が、前記インターフェイスユニットを介して前記メモリから前記データを読み出す場合、
前記メモリコントローラが前記所定のバースト長のバースト転送にて前記メモリから前記データを読み出し終える前に、
前記処理装置は、前記インターフェイスユニットの指示に応じて、前記メモリコントローラが読み出した前記データの読み出しを開始する
ことを特徴とする印刷装置。
このような印刷装置によれば、バースト転送を行う印刷装置の処理速度を向上させることができる。
A memory for storing data;
A memory controller for reading the data from the memory by burst transfer of a predetermined burst length;
A processing device for processing the data stored in the memory;
An interface unit that is provided between the processing device and the memory controller and instructs the memory controller to read the data;
With
When the processing device reads the data from the memory via the interface unit,
Before the memory controller finishes reading the data from the memory in the burst transfer of the predetermined burst length,
The printing apparatus, wherein the processing device starts reading the data read by the memory controller in response to an instruction from the interface unit.
According to such a printing apparatus, the processing speed of the printing apparatus that performs burst transfer can be improved.
かかる印刷装置であって、前記処理装置は、前記インターフェイスユニットからのタイミング信号に応じて、前記データの読み出しを開始することが望ましい。 In this printing apparatus, it is preferable that the processing apparatus starts reading the data in response to a timing signal from the interface unit.
かかる印刷装置であって、前記インターフェイスユニットは、前記メモリコントローラからの応答信号に応じて、前記タイミング信号を発生することが望ましい。 In this printing apparatus, it is preferable that the interface unit generates the timing signal in response to a response signal from the memory controller.
かかる印刷装置であって、前記メモリコントローラは、前記インターフェイスユニットからの前記データの読み出しの指示に応じて、前記応答信号を発生することが望ましい。 In this printing apparatus, it is preferable that the memory controller generates the response signal in response to an instruction for reading the data from the interface unit.
かかる印刷装置であって、インクを吐出する印刷ヘッドを移動させるキャリッジを更に備え、前記メモリに記憶されたデータに基づいて前記印刷ヘッドを駆動するためのヘッド駆動データを生成するとき、前記処理装置が、前記インターフェイスユニットを介して前記メモリから前記データを読み出すことが望ましい。 The printing apparatus further includes a carriage that moves a print head that ejects ink, and generates the head drive data for driving the print head based on the data stored in the memory. However, it is preferable to read the data from the memory via the interface unit.
データを記憶するメモリと、
所定のバースト長のバースト転送にて前記メモリから前記データを読み出すメモリコントローラと、
前記メモリに記憶された前記データを処理する処理装置と、
前記処理装置と前記メモリコントローラとの間に設けられ、前記メモリコントローラに前記データの読み出しを指示するインターフェイスユニットと、
を用い、
前記処理装置が、前記インターフェイスユニットを介して前記メモリから前記データを読み出す場合、
前記メモリコントローラが前記所定のバースト長のバースト転送にて前記メモリから前記データを読み出し終える前に、
前記処理装置は、前記インターフェイスユニットの指示に応じて、前記メモリコントローラが読み出した前記データの読み出しを開始する
ことを特徴とする印刷方法。
このような印刷方法によれば、バースト転送を行う印刷方法の処理速度を向上させることができる。
A memory for storing data;
A memory controller for reading the data from the memory by burst transfer of a predetermined burst length;
A processing device for processing the data stored in the memory;
An interface unit, which is provided between the processing device and the memory controller, and instructs the memory controller to read the data;
Use
When the processing device reads the data from the memory via the interface unit,
Before the memory controller finishes reading the data from the memory in the burst transfer of the predetermined burst length,
The printing method, wherein the processing device starts reading the data read by the memory controller in response to an instruction from the interface unit.
According to such a printing method, the processing speed of the printing method performing burst transfer can be improved.
===印刷装置の概略構成===
図1〜図5を参照して本実施の形態に係る印刷装置の概略構成について説明する。図1は本実施の形態に係る印刷装置の概略構成を示した斜視図、図2はスキャナ部10のカバーを開いた状態を示す斜視図、図3は印刷装置の内部構成を示す説明図、図4はプリンタ部の内部を露出させた状態を示す斜視図、図5は操作パネル部の一例を示す図である。
=== General Configuration of Printing Apparatus ===
A schematic configuration of the printing apparatus according to the present embodiment will be described with reference to FIGS. FIG. 1 is a perspective view illustrating a schematic configuration of a printing apparatus according to the present embodiment, FIG. 2 is a perspective view illustrating a state in which a cover of a
本実施形態の印刷装置は、原稿画像を入力するためのスキャナ機能、画像データに基づいて画像を用紙等の媒体に印刷するプリンタ機能、スキャナ機能により入力した画像を用紙等に印刷するローカルコピー機能を有するスキャナ・プリンタ・コピー複合装置(以下、SPC複合装置という)である。
SPC複合装置1は、スキャナ部10と、プリンタ部30と、制御回路50と、操作パネル部70とを有している。スキャナ部10は、原稿5の画像を読み取って、画像データを取得する。プリンタ部30は、画像データに基づいて画像を用紙等の媒体に印刷する。制御回路50は、SPC複合装置1全体の制御を司る。操作パネル70は、ユーザーインターフェースとしての入力手段をなす。SPC複合装置1は、制御回路50によって各構成要素を制御し、スキャナ機能、プリンタ機能、及び、スキャナ部10から入力されたデータをプリンタ部30にて印刷するローカルコピー機能を実現する。
The printing apparatus according to the present embodiment includes a scanner function for inputting a document image, a printer function for printing an image on a medium such as paper based on image data, and a local copy function for printing an image input by the scanner function on paper or the like. A scanner / printer / copier combined apparatus (hereinafter referred to as an SPC combined apparatus).
The SPC multifunction
図4に示すように、プリンタ部30とスキャナ部10とは、背面側にてヒンジ機構41により結合されており、ヒンジ機構41の回動部を中心としてユニット化されたスキャナ部10が手前側から持ち上げられる。スキャナ部10を持ち上げた状態では、プリンタ部30を覆うカバーの上部に設けられた開口301からプリンタ部30の内部が露出される構成となっている。このようにプリンタ部30の内部を露出させることにより、インクカートリッジ等の交換や、用紙詰まりの処理等を容易に行える構成としている。
また、本SPC複合装置1への電源部はプリンタ部30側に設けられている。前記ヒンジ機構41の近傍に、スキャナ部10へ電源を供給するための給電ケーブル43が設けられている。さらに、このSPC複合装置1には、USBインターフェイス52が設けられている。USBインターフェイスは、スキャナ機能時にはホストコンピュータ3への画像の送信し、プリンタ機能時にはホストコンピュータ3から画像データを受信するのに用いられる。
As shown in FIG. 4, the
The power supply unit for the SPC
SPC複合装置1の前面上側には、操作パネル70が設けられている。この操作パネルの各種ボタンの操作によって、SPC複合装置のスキャナ機能・コピー機能の各種設定を行うことができる。なお、プリンタ機能の各種設定は、操作パネル70上ではなく、USBインターフェイス52を介してSPC複合装置1と接続されたコンピュータのプリンタドライバの設定により、行われる。制御回路50は、設定内容に応じて、装置内の各構成要素を制御する。
An
===スキャナ部10の構成===
スキャナ部10は、原稿台ガラス12と、原稿台カバー14と、読取キャリッジ16と、駆動手段18と、規制ガイド20とを有する。原稿台ガラスは、原稿5を載置する透明なガラス製の板である。原稿台カバー14は、原稿台ガラス12に載置された原稿5の読み取り面を原稿台ガラス12側に押圧する。読取キャリッジ16は、原稿台ガラス12を介して対向し、原稿5と一定の間隔を保ちながら原稿5に沿って走査する。駆動手段18は、読取キャリッジ16を走査するための駆動力を発生する。規制ガイド20は、読取キャリッジ16を安定した状態にて走査させるための案内である。
=== Configuration of
The
読取キャリッジ16は、光源22と、レンズ24と、ミラー26と、CCDセンサ28と、ガイド受け部29とを有する。光源22は、原稿台ガラス12を介して原稿5に光を照射する。この光源22は、RGBの3色の発光ダイオードを有し、各発光ダイオードを切り替えて、原稿5に光を照射する。レンズ24は、原稿5による反射光を集光させる。ミラー26は、4枚設けられており、原稿5からの反射光をレンズ24に導く。CCDセンサ28は、レンズを透過した反射光を受光する。ガイド受け部29は、規制ガイド20と係合している。
CCDセンサ28は、光信号を電気信号に変換するフォトダイオードが列状に配置されたリニアセンサで構成される。このリニアセンサは、読取キャリッジの移動方向と垂直な方向に、配置される。光源22がRGBの3色の光を順に発するので、CCDセンサ28は、RGBの反射光を順に受光することになる。それぞれの反射光を受光する毎にCCDセンサ28の電荷を検出すれば、それぞれの反射光の光量を検出することができる。
The reading
The
駆動手段18は、タイミングベルト181と、プーリ182と、パルスモータ183と、アイドラプーリ184とを有する。タイミングベルトは、読取キャリッジ16に固定された環状のベルトである。プーリ182は、このタイミングベルト181と噛み合う。パルスモータ183は、プーリ182を回転駆動し、タイミングベルトを駆動する。アイドラプーリ184は、プーリ182の反対側に配置され、タイミングベルト181に張力を付与する。パルスモータは、制御回路50のスキャナコントロールユニット(後述)により、制御される。
The driving
スキャナ部10は、光源22の光を原稿5に照射し、その反射光をCCDセンサ28上に結像させつつ、読取キャリッジ16を原稿5に沿って移動させる。このとき、CCDセンサ28が受光した光量を示す電圧値として所定の周期で読み込むことにより、1周期の間に読み取りキャリッジ16が移動した距離分の画像を、出力する画像の1ライン分のデータとして取り込んでいく。但し、CCDセンサ28は、RGBの反射光の光量を順に検出するので、RGBの3色の反射光を同時に検出することができず、検出位置にズレが生じる。このズレは、スキャナ制御ユニット(後述)により補正される。スキャナ制御ユニットの補正により、1ライン分のR成分、G成分、B成分の3つのデータが取得できる。
The
===プリンタ部30の構成===
<全体構成について>
プリンタ部30は、印刷用紙にインクを吐出してドットを形成して画像を形成するインクジェット方式を採用している。本プリンタ部30は、カラー画像出力が可能であり、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)の4色の色インクを用いて画像を形成する。
=== Configuration of
<About the overall configuration>
The
次に、図3、図6、図7を参照してプリンタ部30について説明する。図6は印刷ヘッド周辺の構成要素の配置を示した説明図、図7は印刷用紙搬送機構の駆動部を説明するための説明図である。
Next, the
プリンタ部30は、図示するように、印刷ヘッド38を駆動してインクを吐出する機構と、この書込キャリッジ36をキャリッジモータ40によって移動方向(用紙7の搬送方向と直交する方向)に往復動させる機構と、搬送モータ(以下、PFモータともいう)42によって用紙7を搬送する機構とを有している。
As shown in the figure, the
インクを吐出する機構は、複数のノズルを備えた印刷ヘッド38を有する。印刷ヘッドは、ヘッド制御ユニット(後述)から送られてくるヘッド駆動データに基づいて、所定のノズルからインクを吐出する。印刷ヘッド38の下面381には、複数のノズル列が書込キャリッジ36の移動方向に並んでいる。各ノズル列には、複数のノズルが用紙7の搬送方向に沿って並んでいる。印刷ヘッド38は、各ノズルに対応させて記憶素子を備えている。この記憶素子は、ヘッド制御ユニット(後述)から送られてくるヘッド駆動データ(後述)を記憶する。
The mechanism for ejecting ink has a
書込キャリッジ36を往復動させる機構は、キャリッジモータ(以下、CRモータともいう)40と、軸44と、リニア式エンコーダ46と、リニア式エンコーダ用符号板461と、プーリ48と、タイミングベルト49とを有する。キャリッジモータ40は、書込キャリッジ36を駆動する。軸44は、用紙7の搬送方向と直交する方向に設けられ、書込キャリッジ36を往復移動可能に保持する。リニア式エンコーダ46は、所定の間隔のスリットが形成された符号板461を用いて、書込キャリッジの位置を検出する。プーリ48は、キャリッジモータ40の回転軸に取付けられ、タイミングベルト49を駆動する。キャリッジモータ40が駆動すると、タイミングベルト49が駆動され、書込キャリッジ36が軸44に案内されながら移動する。
A mechanism for reciprocating the writing
書込キャリッジ36には、印刷ヘッド38と、この印刷ヘッド38と一体に設けられたカートリッジ装着部が固定されている。このカートリッジ装着部には、黒(K)、シアン(C)、マゼンタ(M)、イエロ(Y)等のインクが収容されたインクカートリッジが装着される。
A
用紙7を搬送する機構は、プラテン35と、搬送ローラ37と、排紙ローラ39と、搬送モータ42と、ロータリ式エンコーダ47と、用紙検出センサ45とを有する。プラテン35は、印刷ヘッド38と対向して配置され、用紙7と印刷ヘッド38とが適切な距離となるように用紙7を案内する案内部材である。搬送ローラ37は、プラテン35に対し用紙7の搬送方向の上流側に設けられ、プラテン35に所定の角度にて用紙7が接触するように用紙7を搬送する。排紙ローラ39は、プラテン35に対し用紙7の搬送方向の下流側に設けられ、搬送ローラ37から外れた用紙7を排紙する。搬送モータ42は、搬送ローラ37及び排紙ローラ39を駆動する。搬送ローラ37及び排紙ローラ39は、両ローラの搬送量が一致するようにギア列31により繋げられ、搬送モータ42の回転が伝達されて駆動される。ロータリ式エンコーダ47は、用紙7の搬送量を検出する。なお、用紙検出センサ45は、用紙7の有無及び用紙7の先端・後端を検出する。
The mechanism for transporting the
<ノズルの構成について>
図8は、印刷ヘッド38の下面381におけるノズルの配列を示す説明図である。
<Nozzle configuration>
FIG. 8 is an explanatory diagram showing the arrangement of nozzles on the lower surface 381 of the
印刷ヘッド38の下面381には、ブラックインクノズル列33(K)と、シアンインクノズル列33(C)と、マゼンタインクノズル列33(M)と、イエローインクノズル列33(Y)が形成されている。各ノズル列33は、各色のインクを吐出するための吐出口であるノズルを複数個(本実施形態では180個)備えている。
A black ink nozzle row 33 (K), a cyan ink nozzle row 33 (C), a magenta ink nozzle row 33 (M), and a yellow ink nozzle row 33 (Y) are formed on the lower surface 381 of the
各ノズル列33の複数のノズルは、紙搬送方向に沿って、一定の間隔(ノズルピッチ:k・D)でそれぞれ整列している。ここで、Dは、紙搬送方向における最小のドットピッチ(つまり、用紙に形成されるドットの最高解像度での間隔)であり、例えば、解像度が720dpiであれば1/720インチ(約35.3μm)である。また、kは、1以上の整数である。
また、各ノズル列のノズルは、下流側のノズルほど小さい番号が付される。ノズル♯1は、搬送方向最下流のノズルであり、ノズル♯180は、搬送方向最上流のノズルになる。各ノズルには、各ノズルを駆動してインク滴を吐出させるための駆動素子としてピエゾ素子(不図示)が設けられている。このピエゾ素子は、ヘッド駆動データに基づいて駆動される。この結果、ヘッド駆動データに応じて、印刷用紙にドットが形成される。
The plurality of nozzles of each
In addition, the nozzles in each nozzle row are assigned a smaller number as the nozzles on the downstream side.
なお、印刷時には、用紙7が搬送ローラ37及び排紙ローラ39によって間欠的に所定の搬送量Fで搬送され、その間欠的な搬送の間に書込キャリッジ36が走査方向に移動して各ノズルからインク滴が吐出される。
At the time of printing, the
===制御回路50の内部構造===
図9は、制御回路50の説明図である。
=== Internal Structure of
FIG. 9 is an explanatory diagram of the
制御回路50には、ROM53及びカードインターフェイス54がCPUバス501を介して繋がっている。このROM53にプログラムが記憶されており、制御回路50は、このプログラムに従って、装置全体の制御を行う。また、CPUバス501とは独立しているローカルバス502には、SDRAM69が繋がっている。なお、CPUバス501は32ビット幅のデータバスであり、ローカルバス502は16ビット幅のデータバスである。また、制御回路50には、操作パネル70及びモータドライバ503がシリアルインターフェイス(不図示)を介して繋がっている。この、モータドライバ503は、スキャナ部10の駆動手段18、プリンタ部30のキャリッジモータ40と、搬送モータ42とを駆動するときに用いられる。また、SPC複合装置は、USBインターフェイス55を介して、外部のコンピュータ3と接続されている。
A
制御回路50は、CPU52と、SDRAMコントローラ68と、複数のユニット(56〜66)と、を有する。制御回路50は、CPU52を内蔵した専用回路として構成されている。CPU52は、ROM53に記憶されたプログラムに従って、各ユニットの設定等を行うことによって、装置全体の制御を行う。SDRAMコントローラ68は、制御回路50内のユニットからの指示に応じて、SDRAMへデータの書き込みや読み出しを行う。また、制御回路50には、USB制御ユニット56と、スキャナ制御ユニット58と、2値化ユニット60と、インターレース処理ユニット61と、イメージバッファユニット62と、ヘッド制御ユニット64と、CPUインターフェイスユニット66が設けられている。
USB制御ユニット56は、USBインターフェイス55を介して、受信したデータをSDRAM59へ格納し、SDRAM内のデータを送信する際に用いられる。
The
The
スキャナ制御ユニット58は、スキャナ部10が備える光源22、CCDセンサ28、パルスモータ183等を制御する。スキャナ制御ユニット58は、CCDセンサ28を介して読み込んだ画像データを送出する機能を有する。スキャナコントロールユニット58が生成する画像データは、256階調のRGB色空間の画像データ(256階調RGBデータ)である。スキャナコントロールユニット58は、生成した256階調RGBデータを、SDRAM69内に割り当てられたラインバッファに記憶する。
The
2値化処理ユニット60は、256階調RGBデータを2階調(又は4階調)のCMYK系のデータに変換する。まず、2値化ユニット60は、256階調RGBデータを、SDRAM69に格納されたルックアップテーブル(LUT)を参照して256階調のCMYKデータに変換する(この処理を、色変換処理ともいう)。そして、2値化ユニット60は、誤差拡散法等の手法によって、256階調CMYKデータを2階調CMYKデータに変換する(この処理を、ハーフトーン処理ともいう)。2値化処理ユニット60は、生成した2階調CMYKデータを、SDRAM内に割り当てられた2値化バッファに記憶する。
The
インターレース処理ユニット61は、1ラスタライン(印刷画像における主走査方向の1ライン)を複数回の書込キャリッジ36の走査にて印刷する所謂オーバーラップ印刷する際に、1ラスタラインのCMYKのデータを書込キャリッジ36の走査毎に印刷するデータに振り分けてオーバーラップ印刷対応データ(以下、OL対応データという)を生成する。インターレース処理ユニット61は、生成したOL対応データを、SDRAM69内に割り当てられたインターレースバッファに記憶する。また、インターレース処理ユニット61では、インターレースバッファに記憶されたデータを所定のサイズ毎に読み出して、ノズル配列に対応させるべく並び替える。
When the
イメージバッファユニット62は、インターレース処理ユニット61から送出されたデータを、書込キャリッジ36の走査毎の各ノズルにインクを吐出させるためのヘッド駆動データを生成する。イメージバッファユニット62は、生成したヘッド駆動データを、SDRAM内に割り当てられたイメージバッファに記憶する。
The
ヘッド制御ユニット64は、イメージバッファのヘッド駆動データを印刷ヘッド38へ送り出す。イメージバッファにはヘッド駆動データが順次記憶され、書込キャリッジ36の1回の走査中に必要なヘッド駆動データが蓄積されたときに、書込キャリッジ36の駆動が始まる。そして、書込キャリッジ36の移動中に、ヘッド制御ユニット64は、ヘッド駆動データを順次印刷ヘッド38へ送り出す。印刷ヘッド38は、ヘッド制御ユニット64から送られてくるヘッド駆動データに基づいて、所定のノズルからインクを吐出する。
The
CPUインターフェイスユニット66は、CPU52がSDRAM69へアクセスを可能とする機能を有している。
The
===SDRAMのデータ転送===
本実施形態のSDRAMコントローラは、制御回路内の各ユニットに応じて、又は、制御回路内の各ユニットからの指示に応じて、以下に説明する4バースト転送又は8バースト転送を行う。なお、以下の説明では、読み出しに対するレイテンシを2とする(書き込みに対するレイテンシは0である)。
=== Data Transfer of SDRAM ===
The SDRAM controller of the present embodiment performs 4-burst transfer or 8-burst transfer described below according to each unit in the control circuit or according to an instruction from each unit in the control circuit. In the following description, the latency for reading is 2 (the latency for writing is 0).
<読み出し時>
図10Aは、4バースト転送による読み出し時の動作説明図である。図10Bは、8バースト転送による読み出し時の動作説明図である。
図中の一番上の信号は、同期のためのクロックである。コマンド信号は、SDRAMへの動作命令のための信号である。このコマンド信号は、コントロール信号(RAS、CAS、WE等)の論理レベルの組み合わせによるものである。アドレス信号は、データの入出力先を指定するための信号である。データ信号は、SDRAMのデータピンに入出力する信号である。
<When reading>
FIG. 10A is an explanatory diagram of an operation at the time of reading by 4-burst transfer. FIG. 10B is an explanatory diagram of an operation at the time of reading by 8-burst transfer.
The top signal in the figure is a clock for synchronization. The command signal is a signal for an operation command to the SDRAM. This command signal is a combination of logic levels of control signals (RAS, CAS, WE, etc.). The address signal is a signal for designating an input / output destination of data. The data signal is a signal input / output to / from the data pin of the SDRAM.
まず、SDRAMコントローラは、各ユニットからの指示に応じて、SDRAMに対してACTコマンド(行アドレス・ストローブ信号(RAS)も含まれる)を与える。また、SDRAMコントローラは、行アドレスをSDRAMに与える。説明上、SDRAMに与えられる行アドレスを行Aとする。次に、SDRAMコントローラは、SDRAMに対してREADコマンド(列アドレス・ストローブ信号(CAS)も含まれる)を与える。また、SDRAMコントローラは、列アドレスをSDRAMに与える。説明上、SDRAMに与えられる列アドレスを列a1とする。これにより、レイテンシが2なので、2クロック後から行A列a1のデータが出力される。また、SDRAMは、4バースト長に設定されており、4つの連続したアドレス(行A列a1〜列a4)のデータを1クロック毎に順に出力する。 First, the SDRAM controller gives an ACT command (including a row address strobe signal (RAS)) to the SDRAM in accordance with an instruction from each unit. The SDRAM controller gives a row address to the SDRAM. For the sake of explanation, it is assumed that the row address given to the SDRAM is row A. Next, the SDRAM controller gives a READ command (including a column address strobe signal (CAS)) to the SDRAM. The SDRAM controller gives a column address to the SDRAM. For the sake of explanation, a column address given to the SDRAM is a column a1. Thereby, since the latency is 2, the data of the row A column a1 is output after 2 clocks. The SDRAM is set to have a burst length of 4 and outputs data of four consecutive addresses (row A column a1 to column a4) in order every clock.
SDRAMは、入力された行アドレスに応じてその行のデータを全てラッチし、その後の列アドレスに応じて、ラッチしたデータの中から出力するデータを選択している。そのため、SDRAMは、同じ行のデータであれば、ACTコマンド等を出さずに、連続してデータを出力できる。上記の4バースト転送は、これを利用したものである。 The SDRAM latches all data in the row in accordance with the input row address, and selects data to be output from the latched data in accordance with the subsequent column address. Therefore, the SDRAM can output data continuously without issuing an ACT command or the like if the data is in the same row. The above-described 4-burst transfer uses this.
8バースト転送の場合、SDRAMコントローラは、最初のREADコマンドから4クロック後に、更にREADコマンドをSDRAMへ与える。また、SDRAMコントローラは、最初に与えた列アドレス(列a1)の4アドレス後の列アドレス(列a5)をSDRAMに与える。これにより、このREADコマンドの2クロック後から、行A列a5〜a8のデータが出力される。行A列a5のデータが、最初のREADコマンドによる行A列a4からのデータの読み出し直後に、読み出される。したがって、この場合、SDRAMは、4バースト長に設定されているが、8つの連続したアドレス(行A列a1〜a8)のデータを1クロック毎に順に読み出すことになる。
8バースト転送の場合、ACTコマンドを2度出すことなく、4バースト転送を連続して2回行っている。これにより、読み出し速度を速くすることができる。
In the case of 8-burst transfer, the SDRAM controller gives a READ command to the SDRAM after 4 clocks from the first READ command. In addition, the SDRAM controller provides the SDRAM with a column address (column a5) that is four addresses after the first column address (column a1). As a result, the data of the row A columns a5 to a8 are output after 2 clocks of the READ command. The data in the row A column a5 is read out immediately after the data is read from the row A column a4 by the first READ command. Therefore, in this case, the SDRAM is set to 4 burst lengths, but the data of 8 consecutive addresses (row A columns a1 to a8) are sequentially read every clock.
In the case of 8-burst transfer, 4-burst transfer is performed twice in succession without issuing an ACT command twice. Thereby, the reading speed can be increased.
<書き込み時>
図11Aは、4バースト転送による書き込み時の動作説明図である。図11Bは、8バースト転送による書き込み時の動作説明図である。
<When writing>
FIG. 11A is an explanatory diagram of an operation at the time of writing by 4-burst transfer. FIG. 11B is an explanatory diagram of operations at the time of writing by 8-burst transfer.
まず、SDRAMコントローラは、各ユニットからの指示に応じて、SDRAMに対してACTコマンド(行アドレス・ストローブ信号(RAS)も含まれる)を与える。また、SDRAMコントローラは、行アドレスをSDRAMに与える。説明上、SDRAMに与えられる行アドレスを行Aとする。次に、SDRAMコントローラは、SDRAMに対してWRITEコマンド(列アドレス・ストローブ信号(CAS)も含まれる)を与える。また、SDRAMコントローラは、列アドレスをSDRAMに与える。説明上、SDRAMに与えられる列アドレスを列a1とする。 First, the SDRAM controller gives an ACT command (including a row address strobe signal (RAS)) to the SDRAM in accordance with an instruction from each unit. The SDRAM controller gives a row address to the SDRAM. For the sake of explanation, it is assumed that the row address given to the SDRAM is row A. Next, the SDRAM controller gives a WRITE command (including a column address strobe signal (CAS)) to the SDRAM. The SDRAM controller gives a column address to the SDRAM. For the sake of explanation, a column address given to the SDRAM is a column a1.
書き込まれるデータは、1クロック毎に連続してSDRAMへデータ信号として入力される。SDRAMは、入力されたアドレスから連続する4つのアドレス(行A列a1〜a4)に、1クロック毎にデータを取り込み、順に書き込んでいく。
図中のDQM信号は、書き込みデータに対してマスクを行うための信号である。書き込みに対するレイテンシはゼロであるので、DMQにHレベルが入力されたサイクルの書き込みデータは、SDRAMには書き込まれない。
Data to be written is continuously input to the SDRAM as a data signal every clock. The SDRAM fetches data at every clock and writes them sequentially in four addresses (row A columns a1 to a4) from the input address.
A DQM signal in the figure is a signal for masking write data. Since the latency for writing is zero, the write data of the cycle in which the H level is input to the DMQ is not written to the SDRAM.
8バースト転送の場合、SDRAMコントローラは、最初のWRITEコマンドから4クロック後に、更にWRITEコマンドをSDRAMへ与える。また、SDRAMコントローラは、最初に与えた列アドレス(列a1)の4アドレス後の列アドレス(列a5)をSDRAMに与える。これにより、2度目のWRITEコマンドに対する最初のデータが、最初のWRITEコマンドによる行A列a4へのデータの書き込み直後に、行A例a5へ書き込まれる。したがって、この場合、SDRAMは、4バースト長に設定されているが、8つの連続したアドレス(行A列a1〜a8)へのデータを1クロック毎に順に書き込むことになる。 In the case of 8-burst transfer, the SDRAM controller gives another WRITE command to the SDRAM after 4 clocks from the first WRITE command. In addition, the SDRAM controller provides the SDRAM with a column address (column a5) that is four addresses after the first column address (column a1). As a result, the first data for the second WRITE command is written to the row A example a5 immediately after the data is written to the row A column a4 by the first WRITE command. Therefore, in this case, the SDRAM is set to 4 burst lengths, but data to 8 consecutive addresses (row A columns a1 to a8) are sequentially written every clock.
===SDRAMコントローラへの指示===
図12Aは、読み出し時におけるユニットとSDRAMコントローラ間での信号の受け渡しの説明図である。図12Bは、書き込み時におけるユニットとSDRAMコントローラ間での信号の受け渡しの説明図である。
=== Instruction to SDRAM Controller ===
FIG. 12A is an explanatory diagram of signal transfer between the unit and the SDRAM controller at the time of reading. FIG. 12B is an explanatory diagram of signal transfer between the unit and the SDRAM controller at the time of writing.
ユニットがSDRAMからデータを読み出すとき、ユニットは、SDRAMコントローラへ、読み出し要求を行うと共に、読み出し先のアドレスを指示する。また、ユニットによっては、SDRAMコントローラに対して、バースト長を指定する信号を出すこともある。SDRAMコントローラは、ユニットから読み出し要求を受けた後、そのユニットに対してRACK信号を出す。4バースト転送のみ行うユニットから読み出し要求があった場合、SDRAMコントローラは、4バースト転送によりSDRAMからデータを読み出す。8バースト転送のみ行うユニットから読み出し要求があった場合、SDRAMコントローラは、8バースト転送によりSDRAMからデータを読み出す。4バースト転送及び8バースト転送の両方を行うユニットから読み出し要求がある場合、バースト長を指定する信号に従って、SDRAMコントローラはSDRAMからデータを読み出す。SDRAMコントローラは、SDRAMからデータを取り出した後、ACK信号と共にデータを送り出す。これにより、ユニットは、指定したアドレス先のデータを読み出すことができる。 When the unit reads data from the SDRAM, the unit issues a read request to the SDRAM controller and instructs a read destination address. Depending on the unit, a signal designating a burst length may be sent to the SDRAM controller. After receiving a read request from a unit, the SDRAM controller issues a RACK signal to the unit. When there is a read request from a unit that performs only four burst transfers, the SDRAM controller reads data from the SDRAM by four burst transfers. When there is a read request from a unit that performs only 8 burst transfers, the SDRAM controller reads data from the SDRAM by 8 burst transfers. When there is a read request from a unit that performs both 4-burst transfer and 8-burst transfer, the SDRAM controller reads data from the SDRAM according to a signal that specifies the burst length. The SDRAM controller fetches data from the SDRAM and then sends the data together with an ACK signal. Thereby, the unit can read the data at the designated address.
本実施形態では、ユニットがバースト長指定信号を出さない場合、SDRAMコントローラは、どのバースト長にて読み出し動作を行うのかを、読み出し要求元のユニットに応じて決定する。例えば、本実施形態では、ヘッド駆動ユニットから読み出し要求があった場合、SDRAMコントローラは、8バースト転送にてSDRAMからデータを読み出す。また、CPUインターフェイスユニットから読み出し要求があった場合、SDRAMコントローラは、4バースト転送にてSDRAMからデータを読み出す。 In the present embodiment, when the unit does not output a burst length designation signal, the SDRAM controller determines at which burst length the read operation is performed according to the read request source unit. For example, in this embodiment, when there is a read request from the head drive unit, the SDRAM controller reads data from the SDRAM by 8-burst transfer. When there is a read request from the CPU interface unit, the SDRAM controller reads data from the SDRAM by 4-burst transfer.
ユニットがSDRAMへデータを書き込むとき、ユニットは、SDRAMコントローラへ、書き込み要求を行うと共に、アドレスと書き込むデータとDQM信号を指示する。SDRAMコントローラは、ユニットから書き込み要求を受けた後、ユニットから指示されたデータに応じて4バースト転送又は8バースト転送にて、SDRAMへデータの書き込みを開始する。また、SDRAMコントローラは、SDRAMへのデータの書き込みを開始すると共に、ユニットへACK信号を送り出す。これにより、ユニットは、指定したアドレス先へのデータの書き込みを終了する。 When the unit writes data to the SDRAM, the unit makes a write request to the SDRAM controller and instructs an address, data to be written, and a DQM signal. After receiving a write request from the unit, the SDRAM controller starts writing data to the SDRAM by 4-burst transfer or 8-burst transfer according to the data instructed from the unit. The SDRAM controller starts writing data to the SDRAM and sends an ACK signal to the unit. As a result, the unit finishes writing data to the designated address destination.
本実施形態では、DRAMコントローラは、ユニットから指示されたデータが4バースト転送相当分であれば、SDRAMに対して4バースト転送にてデータを書き込む。また、SDRAMコントローラは、ユニットから指示されたデータが8バースト転送相当分であれば、SDRAMに対して8バースト転送にてデータを書き込む。具体的には、ローカルバス502は16ビットバスなので、SDRAMコントローラは、ユニットから64ビットのデータの書き込みを指示されたとき、4バースト転送にてデータをSDRAMに書き込む。また、SDRAMコントローラは、ユニットから128ビットのデータの書き込みを指示されたとき、8バースト転送にてデータをSDRAMに書き込む。
In the present embodiment, the DRAM controller writes data to the SDRAM by 4-burst transfer if the data instructed by the unit is equivalent to 4-burst transfer. In addition, if the data instructed from the unit is equivalent to 8 burst transfer, the SDRAM controller writes data to the SDRAM by 8 burst transfer. Specifically, since the
以下に各ユニットの動作が説明されるが、説明の簡略化のため、特別な場合を除き、SDRAMコントローラの存在を無視し、ユニットがSDRAMへデータを書き込む等と表現する。 Although the operation of each unit will be described below, for the sake of simplicity of description, it is expressed that the presence of the SDRAM controller is ignored and the unit writes data to the SDRAM, etc., except in special cases.
===プリンタ機能時のデータの流れ===
まず、外部のコンピュータ3からUSBインターフェイスを介して印刷データを受信し、SPC複合装置1のプリンタ部30が印刷を行う場合のデータの流れを説明する。
=== Data flow during printer function ===
First, the flow of data when print data is received from the
<USBコントローラからSDRAM(受信バッファ)へ>
図13Aは、USBコントローラがDMAコントローラへ送るデータの説明図である。図13Bは、USBコントローラから受信したデータをSDRAMの受信バッファへ記憶するときの説明図である。図13Bには、DMAコントローラの概念図も示されている。
<From USB controller to SDRAM (reception buffer)>
FIG. 13A is an explanatory diagram of data sent from the USB controller to the DMA controller. FIG. 13B is an explanatory diagram when data received from the USB controller is stored in the reception buffer of the SDRAM. FIG. 13B also shows a conceptual diagram of the DMA controller.
本実施形態のUSB制御ユニット56(前述)は、USBコントローラ561とDMAコントローラ562を含んでいる。USBコントローラ561は、USBインターフェイス55から受信したデータをDMAコントローラ562へ送る。
The USB control unit 56 (described above) of this embodiment includes a
USBコントローラ561がDMAコントローラへ送るデータは、6バイトのヘッダと、可変長のデータ部とからなる。ヘッダは、6バイトに固定されたデータ長である。このヘッダは、その後に続くデータ部の種類を示す種別情報と、データ部のデータ長を示すデータ長情報とを含んでいる。DMAコントローラ562は、USBコントローラから、ヘッダを受け取った後、データ部を受け取ることになる。
The data sent from the
データ部の種類は、2種類ある。一つが印刷データであり、もう一つがコマンドデータである。印刷データは、制御情報と画像情報とからなる。制御情報は、画像情報のデータ長さを示す情報、画像情報の圧縮タイプを示す情報、プリンタ部の構成要素を制御するための情報等からなる。画像情報は、プリンタ部が印刷するときの各画素の情報である。本実施形態では、画像情報は、2階調CMYKデータである。コマンドデータは、例えば、外部のコンピュータがプリンタへステータス情報を問い合わせるときに発行される問い合わせ情報である。 There are two types of data parts. One is print data, and the other is command data. The print data includes control information and image information. The control information includes information indicating the data length of the image information, information indicating the compression type of the image information, information for controlling the components of the printer unit, and the like. The image information is information on each pixel when the printer unit performs printing. In the present embodiment, the image information is 2-tone CMYK data. The command data is inquiry information issued when, for example, an external computer inquires about status information to the printer.
DMAコントローラは、カウンタ付ゲート564と、DMAバッファ565と、スイッチ566とを有する。カウンタ付ゲート564は、USBコントローラからのデータの転送を制御するゲートであり、また、USBから転送されるデータ長をカウントするカウンタでもある。これにより、カウンタの値に応じてゲートを開閉することができる。DMAバッファが蓄積できるデータ長は、カウンタで設定されるデータ長よりも、はるかに小さい。例えば、DMAバッファのサイズは8バイトであり、カウンタで設定できるデータ長は64kバイトである。
The DMA controller includes a
ゲート564が閉じている場合、USBコントローラからDMAコントローラにデータは流れてこない。スイッチ566がオープン状態でゲート564を開いた場合、DMAバッファ565にデータが蓄積され、DMAバッファ565にデータが蓄積できなくなるとUSBコントローラ561からDMAコントローラ562にデータが流れなくなる。スイッチ566がクローズ状態でゲート564を開いた場合、DMAコントローラからSDRAMへ(SDRAMコントローラを介して)データが転送される。
When the
SDRAM69には、2つの受信バッファが割り当てられている。一方の受信バッファは、印刷データを記憶するための領域として使用される。また、もう一方の受信バッファは、コマンドデータを記憶するための領域として使用される。
Two reception buffers are allocated to the
図14は、DMAコントローラの動作のフロー図である。以下に、DMAコントローラの動作について説明する。 FIG. 14 is a flowchart of the operation of the DMA controller. The operation of the DMA controller will be described below.
まず、DMAコントローラ562は、ゲート564を閉じ、スイッチ566をオープンにしておく(S101)。次に、DMAコントローラ562は、カウンタ付ゲート564のカウンタを6バイトに設定する(S102)。設定された6バイトのデータ長は、ヘッドのデータ長と同じ長さである。次に、DMAコントローラ562は、ゲートを開き、ゲートを通過するデータが6バイトに達したら、ゲートを閉じる(S103)。これにより、DMAバッファ565には6バイトのデータが蓄積される。すなわち、DMAバッファ565にヘッダが蓄積される。
First, the
次に、DMAコントローラ562は、CPU52へ割り込みを発生させる(S104)。割り込み待ち後、DMAコントローラ562は、DMAバッファ内のデータをCPU52へ送信する。CPU52がヘッダの情報を取得した後、DMAコントローラ562は、DMAバッファのデータをクリアする(S105)。これにより、CPU52は、ヘッダの情報を取得することにより、ヘッダに続くデータ部の種類・データ長に関する情報を取得する。本実施形態では、ヘッダは、データ部の種類として印刷データを示し、データ部の長さとして56kバイトを示すものとする。
Next, the
次に、DMAコントローラ562は、CPU52の指示に基づいて、カウンタを設定する。また、DMAコントローラ562は、CPU52の指示に基づいて、ヘッダに続くデータ部の転送先を設定する(S106)。なお、CPU52は、先ほど取得したヘッダの情報に基づいて、DMAコントローラ562に対してカウンタの設定や転送先の設定を行っている。したがって、カウンタは56kバイトに設定され、転送先は受信バッファ♯1が設定される。
Next, the
次に、DMAコントローラ562は、スイッチ566をクローズ状態にし、ゲート564を開く(S107)。これにより、ヘッダに続くデータ部が、SDRAMの設定された転送先へ転送される。この転送時、カウンタは、通過したデータをカウントしている。そして、設定されたカウント分のデータ転送が完了した後(S108)、DMAコントローラ562はCPUへ割り込みを発生し、割り込み待ち後、再度ステップ101からの処理を行う。
Next, the
印刷データがSDRAM69へDMA転送された場合、後述するように、CPU54によって受信バッファの印刷データがイメージバッファへヘッド駆動データとして置き換えられ、ヘッド制御ユニット64によって印刷ヘッドへヘッド駆動データが送信される。一方、コマンドデータがSDRAM69へDMA転送された場合、CPU54がそのコマンドデータを読み出して、コマンドデータに従ってSPC複合装置1を処理する。例えば、コマンドデータが問い合わせ情報である場合、CPU54は、コマンドデータの発信元に対して、SPC複合装置1の状況(例えば、「印刷待機中」など)を示すステータスデータを送信する。
When the print data is DMA-transferred to the
ところで、仮に、外部のコンピュータから送られてきたデータ(ヘッダを含む)を全てSDRAMへ一旦記憶させ、その後にCPU52がSDRAM69に記憶されたヘッダの情報を読み込むとすると、CPU52がヘッダの情報を取得するまでに時間がかかる。なぜなら、この場合、USB制御ユニット56がSDRAM69へヘッダの情報を書き込む時間、その書き込みの後にCPU52がCPUインターフェイスユニット66へヘッダの情報を読み出す指令を出す時間、CPUインターフェイスユニット66がSDRAM69からヘッダの情報を読み出す時間等がかかるからである。
本実施形態によれば、DMAバッファ565に蓄積されたヘッダの情報をCPU52が取得しているので、CPU52がヘッダの情報を取得する時間が短縮する。
If the data (including the header) sent from an external computer is temporarily stored in the SDRAM and then the
According to the present embodiment, since the
また、本実施形態によれば、ヘッダに続くデータ部をCPU52が読み出す時間も短縮できる。これにより、例えば、外部のコンピュータが印刷データを送信したとき、印刷開始時間を早めることができる。仮に、外部のコンピュータから送られてきたデータ(ヘッダを含む)を全てSDRAMへ一旦記憶させた場合、まず、CPU52は、送られてきたデータのヘッダの情報を取得し、データ部がコマンドデータではなく印刷データであることをCPU52が認識した後、CPU52は、再度印刷データを読み出さなければならない。そして、これらの重複する処理は、いずれもCPUインターフェイスユニット66やSDRAMコントローラを介する処理なので、時間がかかるので、印刷開始が遅れてしまう。一方、本実施形態によれば、DMAバッファに蓄積されたヘッダの情報をCPU52が取得し、CPU52は、その情報に基づいて、データ部の転送先を設定している。このとき、CPU52は、既に、データ部が印刷データであることと、その転送先(アドレス)とを取得している。そのため、CPU52の次の処理は、SDRAM69から印刷データを読み出すだけでよい。
Further, according to the present embodiment, the time for the
なお、本実施形態によれば、ヘッダに続くデータ部がコマンドデータの場合、例えば、外部のコンピュータがプリンタのステータスを問い合わせた場合、CPU52は、外部のコンピュータに対して素早くステータス情報を送信することができる。
According to the present embodiment, when the data portion following the header is command data, for example, when an external computer inquires about the status of the printer, the
また、本実施形態によれば、8バースト転送にて、DMAコントローラ562からSDRAM69へデータが転送される。これにより、外部から受信したデータを素早くSDRAM69へ記憶することができる。
According to the present embodiment, data is transferred from the
<SDRAM内のデータの置き換え(受信バッファからイメージバッファへ)>
外部のコンピュータから受信した印刷データは、SDRAMの受信バッファに記憶される。本実施形態では、この印刷データは、色変換処理や2値化処理等を終えたヘッド駆動データである。但し、データが圧縮されているため、ヘッド制御ユニット64は、そのデータをそのままの状態でヘッドへ転送することができない。また、データの内容が同じヘッド駆動データであっても、データの形式が異なる場合、ヘッド制御ユニット64は、そのデータをそのままの状態でヘッドへ転送することができない。そこで、CPU52は、SDRAMの受信バッファの印刷データを演算し、ヘッド制御ユニット64がヘッドへ転送できる形式にて、SDRAMのイメージバッファにヘッド駆動データを記憶させる。
<Replacement of data in SDRAM (from reception buffer to image buffer)>
The print data received from the external computer is stored in the SDRAM reception buffer. In the present embodiment, this print data is head drive data that has undergone color conversion processing, binarization processing, and the like. However, since the data is compressed, the
CPU54がSDRAM内のデータを演算する場合、SDRAM内のまとまった領域のデータではなく、個々のアドレスデータを必要とすることが多い(CPU54が、SDRAMに対して、ランダムアクセスしたいことが多い)。このような場合、8バースト転送を行っても、CPU54が必要とするデータは、転送されたデータのうちの一部のデータだけである。むしろ、8バースト転送を行うと、CPU54が必要とするデータを取得するまでの時間が長くなる。また、このような場合に単に4バースト転送を行っても、CPU54が必要とするデータは、転送されたデータのうちの一部のデータだけである。
When the
例えば、CPU54が2バースト転送分のデータ(32ビット分のデータ)を必要としている場合、CPUインターフェイスユニット66がSDRAM69から4バースト転送された全データ(64ビット分のデータ)をCPU52へ送っても、そのうちの半分のデータしか使われない。この使われない分のデータの転送を待ってからCPUインターフェイスユニット66がCPU54へデータを送ったのでは、データの処理時間が長くなってしまう。
For example, if the
そこで、本実施形態では、以下のように、CPUインターフェイスユニット66は、CPU54との間でデータを受け渡している。
Therefore, in the present embodiment, the
図15は、CPUインターフェイスやSDRAMコントローラ等の信号の受け渡しの説明図である。 FIG. 15 is an explanatory diagram of signal passing through the CPU interface, SDRAM controller, and the like.
CLKは、CPU側のクロックである。本実施形態では、CPU側のクロックの周波数は、SDRAM側のクロックの周波数の半分である。DT信号は、CPUインターフェイスユニット66とCPU54との間のデータ線に流れるデータ信号である。REQ信号は、CPUインターフェイスユニット66からSDRAMコントローラ68へ送られる要求信号である。ACK信号は、SDRAMコントローラからCPUインターフェイスユニット66へ送られるACK信号である。REQ信号(要求信号)及びACK信号については、図12Aにおいて説明した。
CLK is a clock on the CPU side. In this embodiment, the clock frequency on the CPU side is half of the clock frequency on the SDRAM side. The DT signal is a data signal that flows on the data line between the
XWAIT信号は、CPUインターフェイスユニット66がCPU54に送る信号である。XWAIT信号がLレベルのとき、CPUインターフェイスユニット66がSDRAMから読み出したデータをCPU54は読み出すことができない(待機状態)。XWAIT信号がLレベルからHレベルへ立ち上がってから1クロック後、CPU54は、CPUインターフェイスユニット66が読み出したデータを利用することができる。
The XWAIT signal is a signal sent from the
DT信号とXWAIT信号は、CPU54とCPUインターフェイスとの間で受け渡される(CPUバスを使う)信号である。REQ信号とACK信号は、CPUインターフェイスユニット66とSDRAMコントローラ68との間で受け渡される信号である。なお、図中の「クロック」・「コマンド」・「アドレス」・「データ」は、既に説明された通り、SDRAMコントローラ68とSDRAM69との間で受け渡される信号である。
The DT signal and the XWAIT signal are signals that are passed between the
本実施形態では、CPUインターフェイスユニット66は、SDRAMコントローラ68からACK信号を受けた後、1クロック後にXWAIT信号をLレベルからHレベルへ立ち上げている。このため、CPU54は、CPUコントローラ66がACK信号を受けてから2クロック後に、CPUインターフェイスユニット66が読み出したデータを利用することができる。一方、CPUインターフェイスユニット66は、XWAIT信号が立ち上がったとき、未だSDRAMコントローラ68から4バースト分の全てのデータを受けていない。このため、本実施形態では、4バースト転送分のデータのうちの2バースト転送分のデータ(32ビット分のデータ)をCPUインターフェイスユニット66がSDRAMコントローラから受け取ったときに、CPU54は、その2バースト転送分のデータを利用可能になる。
In the present embodiment, after receiving the ACK signal from the
したがって、CPU54は、データの読み出しをCPUインターフェイスユニット66に指示してから、速やかにそのデータを読み出すことができる。これにより、データの処理時間を短縮することができる。
例えば、本実施形態によれば、CPU54は、SDRAM69の受信バッファの印刷データを、速やかにSDRAM69のイメージバッファにヘッド駆動データとして記憶することができる。
Therefore, the
For example, according to the present embodiment, the
なお、CPU54が2バースト転送分ではなく4バースト転送分のデータを必要とする場合、CPUインターフェイスユニット66は、SDRAMコントローラ68からACK信号を受けた後1クロック後ではなく、2クロック後にXWAIT信号をLレベルからHレベルへ立ち上げる。すなわち、CPUインターフェイスユニットは、図中の待機時間Tを制御することによって、SDRAM69から読み出したデータをCPU54が利用するタイミングを制御している。
If the
<SDRAM(イメージバッファ)から印刷ヘッドへ>
SDRAM69のイメージバッファには、ヘッド駆動データが順次記憶される。そして、書込キャリッジ36の1回の走査中に必要なヘッド駆動データがイメージバッファに蓄積されたときに、書込キャリッジ36の駆動が始まる。そして、書込キャリッジ36の移動中に、ヘッド制御ユニット64は、ヘッド駆動データを順次印刷ヘッド38へ送り出す。印刷ヘッド38は、ヘッド制御ユニット64から送られてくるヘッド駆動データに基づいて、所定のノズルからインクを吐出する。
<From SDRAM (image buffer) to print head>
Head drive data is sequentially stored in the image buffer of the
書込キャリッジ36が一旦移動した後は、印刷ヘッド38からインクを断続的に吐出しなければならない。そのため、ヘッド制御ユニット64は、印刷ヘッド38が断続的にインクを吐出できるように、印刷ヘッド38へヘッド駆動データを送り出す必要がある。
仮に、ヘッド制御ユニット64によるヘッド駆動データの供給が間に合わないと、印刷ヘッド38は、インクを吐出すべきときに、必要なヘッド駆動データがないためインクを吐出することができなくなる。例えば、4バースト転送にて、SDRAM69のイメージバッファからヘッド制御ユニット64がヘッド駆動データを読み出すと、読み出し時間が長くなり、ヘッド駆動データの供給が間に合わないことがある。
Once the writing
If the supply of head drive data by the
そこで、本実施形態では、ヘッド制御ユニット64は、8バースト転送にて、SDRAM69のイメージバッファからヘッド駆動データを読み出し、ヘッド駆動データを印刷ヘッド38へ供給する。これにより、ヘッド制御ユニット64は、速やかに、SDRAM69のヘッド駆動データを印刷ヘッド38へ転送することができる。この結果、印刷ヘッド38がインクを吐出すべきとき、既に印刷ヘッド38にはヘッド駆動データが供給されている状態になる。つまり、本実施形態によれば、ヘッド制御ユニット64が8バースト転送にてヘッド駆動データを読み出すので、印刷ヘッド38へのヘッド駆動データの供給が間に合わない事態を回避することができる。
Therefore, in the present embodiment, the
===コピー機能時のデータの流れ===
次に、スキャナ部10が原稿を読み取り、プリンタ部30が印刷を行う場合のデータの流れを説明する。
=== Data flow during copy function ===
Next, a data flow when the
<スキャナ制御ユニット58からSDRAM(ラインバッファ)へ>
スキャナ制御ユニット58は、スキャナ部10のCCDセンサ28によって読み取られた原稿のRGBデータをSDRAM69のラインバッファへ記憶する。スキャナ部10は読取キャリッジ16を移動させてCCDセンサ28を移動させるので、読取キャリッジ16の移動中に、スキャナ制御ユニット58は、CCDセンサ28から次々とRGBデータを受け取ることになる。そのため、スキャナ制御ユニット58は、RGBデータである画像データを、次々とSDRAM69へ書き込む必要がある。
<From
The
仮に、スキャナ制御ユニット58によるSDRAM69への画像データの書き込み動作が遅いと、スキャナ部10(CCDセンサ28)から受け取るデータのスピードを遅く設定しなければならない。スキャナ部10から出力するデータのスピードを遅くするためには、読取キャリッジ16の移動スピードを遅くする必要がある。しかし、これでは、スキャナ部10の原稿読み取り時間が長くなり、コピー完了までの時間が長くなる。例えば、4バースト転送にてスキャナ制御ユニット58がSDRAM69へ画像データを書き込むと、スキャナ部10から受け取るデータのスピードを遅く設定する必要があり、コピー完了までの時間が長くなる。
If the writing operation of image data to the
そこで、本実施形態では、スキャナ制御ユニット58は、画像データを、8バースト転送にて、SDRAM69のラインバッファへ書き込みを行う。これにより、スキャナ制御ユニット58によるSDRAM69への画像データの書き込み動作が速くなる。この結果、スキャナ部10から受け取るデータのスピードを速く設定できるので、読取キャリッジ16の移動スピードを速くでき、コピー完了までの時間を短縮することができる。
Therefore, in this embodiment, the
<画像処理ユニットとSDRAM(各バッファ・LUT)>
2値化処理ユニット60は、スキャナ制御ユニット58がSDRAM69のラインバッファに書き込んだ256階調RGBデータを、256階調のCMYKデータに変換する(色変換処理)。まず、2値化処理ユニット60による色変換処理について、説明する。
<Image processing unit and SDRAM (each buffer / LUT)>
The
SDRAM69のラインバッファには、256階調RGBデータが記憶されている。ここでは、説明のため、ある画素の256階調RGBデータが、(R,G,B)=(134,25,65)であるとする。2値化処理ユニット60は、この画素のデータを色変換処理するとき、この256階調RGBデータをラインバッファから読み出す。なお、256階調RGBデータは8ビット×3のデータ量なので、2値化処理ユニット60は、4バースト転送にて、256階調RGBデータを読み出す。
In the line buffer of the
SDRAM69は、ルックアップテーブル(LUT)を予め記憶している。
The
図16は、256階調RGBデータを256階調CMYKデータに変換するときに用いられるルックアップテーブルの説明図である。このルックアップテーブルは、SDRAM69に割り当てられた所定の領域に、記憶されている。ルックアップテーブルには、YMCKデータが格納されている。そして、特定の階調のRGBデータに対応するYデータとMデータとCデータとKデータが、連続したアドレス領域に格納されている。例えば、アドレスAa5〜Aa8には、(R,G,B)=(134,25,65)に対応するYMCKデータがそれぞれ格納されている。
FIG. 16 is an explanatory diagram of a lookup table used when converting 256 gradation RGB data into 256 gradation CMYK data. This lookup table is stored in a predetermined area allocated to the
2値化処理ユニット60は、読み出した256階調RGBデータの値に基づいて、アドレスを算出する。例えば、2値化処理ユニット60は、ある画素の256階調RGBデータが(R,G,B)=(134,25,65)である場合、アドレスAa5を算出するようになっている。そして、2値化処理ユニット60は、算出したアドレスに記憶されているデータを4バースト転送にて読み出す。例えば、2値化ユニット60は、算出したアドレスAa5から4バースト転送にてデータを読み出す。これにより、2値化ユニット60は、アドレスAa5に記憶されるYデータ、アドレスAa6に記憶されるMデータ、アドレスAa7に記憶されるCデータ及びアドレスAa8に記憶されるKデータを読み出すことができる。
以上の処理を行うことによって、2値化ユニット60は、256階調RGBデータを、256階調のCMYKデータに変換すること(色変換処理)ができる。
The
By performing the above processing, the
なお、本実施形態では、2値化ユニット60は、RGBデータをCMYKデータに変換していたので、4バースト転送を行っていた。しかし、これに限られるものではない。例えば、印刷ヘッド38が、ブラックインクノズル列33(K)、シアンインクノズル列33(C)、マゼンタインクノズル列33(M)及びイエローインクノズル列33(Y)の4つのノズル列だけでなく、更に、ライトブラックインクノズル列(LK)、ライトシアンインクノズル列(LC)、ライトマゼンタインクノズル列(LM)及びライトイエローインクノズル列(LY)を備える場合がある。このような場合、RGBデータを8色のC・LC・M・LM・Y・LY・K・LKデータに変換する必要がある。
In the present embodiment, since the
図17は、このような場合のルックアップテーブルの説明図である。このルックアップテーブルには、C・LC・M・LM・Y・LY・K・LKデータが格納されている。そして、特定の階調のRGBデータに対応するC・LC・M・LM・Y・LY・K・LKデータは、連続したアドレス領域に格納されている。例えば、アドレスAa9〜Aa16には、(R,G,B)=(134,25,65)に対応するC・LC・M・LM・Y・LY・K・LKデータがそれぞれ格納されている。このような場合、2値化ユニット60は、8バースト転送を行うことが望ましい。
FIG. 17 is an explanatory diagram of a lookup table in such a case. In this lookup table, C, LC, M, LM, Y, LY, K, and LK data are stored. The C, LC, M, LM, Y, LY, K, and LK data corresponding to RGB data of a specific gradation are stored in continuous address areas. For example, C, LC, M, LM, Y, LY, K, and LK data corresponding to (R, G, B) = (134, 25, 65) are stored in addresses Aa9 to Aa16, respectively. In such a case, it is desirable that the
SPC複合装置1が4色のインク(CMYK)でも8色のインク(C・LC・M・LM・Y・LY・K・LK)でも印刷可能な場合、4色のインクで印刷を行うのであれば2値化ユニット60は4バースト転送を用いて色変換処理を行い、8色のインクで印刷を行うのであれば2値化ユニット60は8バースト転送を用いて色変換処理を行う。
If the
2値化処理ユニットは、色変換処理した256階調CMYKデータを、更に、誤差拡散法等の手法によって、2階調CMYKデータに変換する(ハーフトーン処理)。2値化処理ユニット60は、生成した2階調CMYKデータを、SDRAM内に割り当てられた2値化バッファに記憶する。
The binarization processing unit further converts the 256 gradation CMYK data subjected to the color conversion process into binary gradation CMYK data by a method such as an error diffusion method (halftone processing). The
このように、制御回路50内の画像処理ユニット60〜62は、SDRAM69のメモリ領域を利用しつつ、256階調RGBデータをヘッド駆動データに変換する。また、画像処理ユニット60〜62がSDRAM69のデータを読み出し・書き込む場合、画像処理ユニットの処理に応じて4バースト転送又は8バースト転送を用いる。通常、画像処理ユニット60〜62が4バースト転送分以下のデータを扱う場合、4バースト転送が用いられる。また、画像処理ユニット60〜62が4バースト転送分以上のデータを扱う場合、8バースト転送が用いられる。また、画像処理ユニット60〜62の処理の際にCPU54の演算処理が介在する場合、CPU54は、CPUインターフェイスユニット66を介して、前述の図15に示すデータの転送方法を用いる。
As described above, the
<SDRAM(イメージバッファ)から印刷ヘッドへ>
コピー機能時の場合も、前述のプリンタ機能時の場合と同様に、イメージバッファから印刷ヘッドへヘッド駆動データが転送される。このデータ転送については、プリンタ機能時の場合と同様なので、説明を省略する。
<From SDRAM (image buffer) to print head>
In the case of the copy function, the head drive data is transferred from the image buffer to the print head as in the case of the printer function described above. Since this data transfer is the same as in the case of the printer function, a description thereof will be omitted.
===その他の実施の形態===
上記の実施形態は、主としてSPC複合装置について記載されているが、その中には、印刷装置、印刷方法、印刷システム、プログラム、プログラムを記憶した記憶媒体、印刷物の製造方法、等の開示が含まれていることは言うまでもない。
=== Other Embodiments ===
The above embodiment mainly describes an SPC multifunction apparatus, but includes disclosure of a printing apparatus, a printing method, a printing system, a program, a storage medium storing the program, a printed material manufacturing method, and the like. Needless to say.
また、一実施形態としてのSPC複合装置等を説明したが、上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれるものである。 Moreover, although the SPC multifunction apparatus and the like as one embodiment have been described, the above embodiment is for facilitating the understanding of the present invention, and is not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and it is needless to say that the present invention includes equivalents thereof. In particular, the embodiments described below are also included in the present invention.
<SPC複合装置について>
前述の実施形態では、SPC複合装置が説明されていたが、これに限られるものではない。例えば、複合装置ではなくインクジェットプリンタ単体であっても良い。また、レーザープリンタ等の他の印刷装置であっても良い。
<About SPC multifunction devices>
In the above-described embodiment, the SPC multifunction apparatus has been described. However, the present invention is not limited to this. For example, an inkjet printer alone may be used instead of the composite apparatus. Moreover, other printing apparatuses, such as a laser printer, may be used.
<インクについて>
前述の実施形態は、プリンタの実施形態だったので、染料インク又は顔料インクをノズルから吐出していた。しかし、ノズルから吐出する液体は、このようなインクに限られるものではない。
<About ink>
Since the above-described embodiment is an embodiment of a printer, dye ink or pigment ink is ejected from the nozzle. However, the liquid ejected from the nozzle is not limited to such ink.
<ノズルについて>
前述の実施形態では、圧電素子を用いてインクを吐出していた。しかし、液体を吐出する方式は、これに限られるものではない。例えば、熱によりノズル内に泡を発生させる方式など、他の方式を用いてもよい。
<About nozzle>
In the above-described embodiment, ink is ejected using a piezoelectric element. However, the method for discharging the liquid is not limited to this. For example, other methods such as a method of generating bubbles in the nozzle by heat may be used.
===まとめ===
(1)前述のSPC複合装置(印刷装置)は、データを記憶するSDRAM(メモリ)と、SDRAMとの間でバースト転送にてデータを書き込み・読み出すSDRAMコントローラ(メモリコントローラ)と、SDRAMコントローラにデータの書き込み等を指示し、SDRAMコントローラとの間でデータを受け渡す複数のユニットとを備えている。
=== Summary ===
(1) The above-mentioned SPC complex device (printing device) includes an SDRAM (memory) for storing data, an SDRAM controller (memory controller) for writing / reading data by burst transfer between the SDRAM and data to the SDRAM controller. And a plurality of units for transferring data to and from the SDRAM controller.
このような構成では、各ユニットは、SDRAMコントローラに対して、それぞれデータの書き込み・読み出しを行う。しかし、ユニットが異なれば、書き込み・読み出しを行うデータ長が異なり、望ましいバースト長が異なる。例えば、スキャナ制御ユニットは、スキャナ部からのデータを順次受け取り、そのデータを次々のSDRAMへ書き込まなければスキャナ部の原稿読取速度が遅くなってしまうので、8バースト転送を行うことが望ましい。一方、CPUインターフェイスユニットは、CPUが必要とするデータ長が短いことがあるので、4バースト転送を行うことが望ましい。
そこで、前述のSPC複合装置では、SDRAMコントローラ(メモリコントローラ)は、各ユニットに応じて、SDRAM(メモリ)との間で行われるバースト転送のバースト長を変更する。具体的には、SDRAMコントローラは、各ユニットに応じて、4バースト転送又は8バースト転送を行う。
これにより、前述のSPC複合装置では、各ユニットに望ましいバースト長のバースト転送を行うことができるので、SPC複合装置の処理速度を向上させることができる。
In such a configuration, each unit writes / reads data to / from the SDRAM controller. However, different units have different data lengths for writing and reading, and different desirable burst lengths. For example, if the scanner control unit sequentially receives data from the scanner unit and does not write the data to successive SDRAMs, the document reading speed of the scanner unit becomes slow, so it is desirable to perform 8-burst transfer. On the other hand, the CPU interface unit may perform a 4-burst transfer because the data length required by the CPU may be short.
Therefore, in the above-described SPC complex apparatus, the SDRAM controller (memory controller) changes the burst length of the burst transfer performed with the SDRAM (memory) according to each unit. Specifically, the SDRAM controller performs 4-burst transfer or 8-burst transfer according to each unit.
As a result, the above-described SPC multifunction apparatus can perform burst transfer with a desired burst length for each unit, so that the processing speed of the SPC multifunction apparatus can be improved.
(2)前述のSPC複合装置は、原稿から画像を読み取るスキャナ部を更に備えている。そして、複数のユニットの一つは、スキャナ部から出力されたデータを処理して画像データを生成するスキャナ制御ユニットである。 (2) The aforementioned SPC multifunction apparatus further includes a scanner unit that reads an image from a document. One of the plurality of units is a scanner control unit that processes data output from the scanner unit and generates image data.
このような構成では、スキャナ部は、原稿を読み取るときに、次々と読み取り結果のデータを出力する。そして、スキャナ制御ユニットには、スキャナ部からのデータが次々と入力される。スキャナ制御ユニットは、スキャナ部から受け取ったデータを次々とSDRAMのラインバッファへ書き込む必要がある。スキャナ制御ユニットによるSDRAMへの書き込み動作が遅いと、スキャナ制御ユニットに入力できるデータ速度を遅くしなければならず、スキャナ部の読み取り動作を遅くしなければならなくなり、SPC複合装置の処理時間が遅くなる。そのため、スキャナ制御部は、SDRAMのラインバッファに画像データを高速に書き込む必要がある。
そこで、SDRAMコントローラ(メモリコントローラ)は、スキャナ制御ユニットから受けた画像データをSDRAM(メモリ)に書き込むとき、4バースト転送ではなく、8バースト転送を行う。これにより、データの転送速度が速くなり、スキャナ部の読み取り動作を速くすることができ、SPC複合装置の処理時間が早くなる。
In such a configuration, the scanner unit outputs data of the reading result one after another when reading the document. Then, data from the scanner unit is successively input to the scanner control unit. The scanner control unit needs to sequentially write data received from the scanner unit to the SDRAM line buffer. If the writing operation to the SDRAM by the scanner control unit is slow, the data speed that can be input to the scanner control unit has to be slowed, the scanning operation of the scanner unit has to be slowed, and the processing time of the SPC multifunction device is slow. Become. For this reason, the scanner control unit needs to write image data to the SDRAM line buffer at high speed.
Therefore, the SDRAM controller (memory controller) performs 8-burst transfer instead of 4-burst transfer when writing image data received from the scanner control unit to the SDRAM (memory). As a result, the data transfer rate is increased, the reading operation of the scanner unit can be increased, and the processing time of the SPC multifunction apparatus is increased.
(3)前述のスキャナ部は、画像を読み取るためのCCDセンサを有し、CCDセンサは読取キャリッジによって移動可能であり、移動するCCDセンサからスキャナ制御ユニットへ順次データが出力される。つまり、CCDセンサは、移動しながら原稿を読み取るので、次々と読み取り結果のデータを出力しなければならない。
前述のSPC複合装置によれば、スキャナ部のデータの出力速度を速くすることができるので、読取キャリッジを速く移動させて、CCDセンサの移動速度を速くすることができる。
(3) The above-described scanner unit has a CCD sensor for reading an image. The CCD sensor can be moved by a reading carriage, and data is sequentially output from the moving CCD sensor to the scanner control unit. That is, since the CCD sensor reads the original while moving, the data of the reading result must be output one after another.
According to the aforementioned SPC multifunction apparatus, the data output speed of the scanner unit can be increased, and therefore the moving speed of the CCD sensor can be increased by moving the reading carriage quickly.
(4)前述のSPC複合装置は、インクを吐出する印刷ヘッドを移動させるキャリッジを更に備えている。そして、複数のユニットの一つは、印刷ヘッドを駆動するためのヘッド駆動データを印刷ヘッドへ転送するヘッド制御ユニットである。
このような構成では、印刷ヘッドはインクを断続的に吐出するので、ヘッド制御ユニットは、印刷ヘッドに次々とヘッド駆動データを供給しなければならない。仮に印刷ヘッドへのヘッド駆動データの供給が間に合わないと、印刷ヘッドはインクを吐出することができなくなってしまう。そのため、ヘッド制御ユニットは、SDRAMのイメージバッファからヘッド駆動データを高速に読み出す必要がある。
そこで、SDRAMコントローラ(メモリコントローラ)は、SDRAMからヘッド駆動データを読み出すとき、4バースト転送ではなく、8バースト転送を行う。これにより、印刷ヘッドへのヘッド駆動データの供給を速くすることができる。
(4) The aforementioned SPC multifunction apparatus further includes a carriage that moves a print head that ejects ink. One of the plurality of units is a head control unit that transfers head drive data for driving the print head to the print head.
In such a configuration, since the print head ejects ink intermittently, the head control unit must supply head drive data to the print head one after another. If the head drive data is not supplied to the print head in time, the print head cannot eject ink. Therefore, the head control unit needs to read the head drive data from the SDRAM image buffer at high speed.
Therefore, the SDRAM controller (memory controller) performs 8-burst transfer instead of 4-burst transfer when reading the head drive data from the SDRAM. Thereby, the supply of the head drive data to the print head can be accelerated.
(5)前述のヘッド制御ユニットは、移動する印刷ヘッドに対してヘッド駆動データを順次転送する。印刷ヘッドが移動しながらインクを吐出するので、ヘッド駆動データの供給は、印刷ヘッドの移動に間に合わせなければならない。
前述のSPC複合装置によれば、ヘッド駆動データを高速に読み出すことができるので、印刷ヘッドの移動速度を速くしても、印刷ヘッドへのヘッド駆動データの供給を間に合わせることができる。
(5) The head control unit described above sequentially transfers head drive data to the moving print head. Since the ink is ejected while the print head is moving, the head drive data must be supplied in time for the movement of the print head.
According to the SPC multifunction apparatus described above, the head drive data can be read at high speed, so that the head drive data can be supplied to the print head in time even if the moving speed of the print head is increased.
(6)前述のSPC複合装置は、SDRAMに記憶された画像データを処理するCPU(処理装置)を更に備える。また、複数のユニットの一つは、CPUとSDRAMコントローラ(メモリコントローラ)との間でデータを受け渡すCPUインターフェイスユニットである。
CPUがSDRAM内の画像データを演算する場合、SDRAM内のまとまった領域のデータではなく、個々のアドレスデータを必要とすることが多い。このような場合、8バースト転送を行うと、かえってSPC複合装置の処理速度が低下する。
そこで、SDRAMコントローラ(メモリコントローラ)は、SDRAM(メモリ)に記憶された画像データをCPU(処理装置)がCPUインターフェイスユニットを介して読み出すとき、8バースト転送ではなく、4バースト転送を行う。これにより、CPUバスを効率的に利用でき、また、CPUの処理速度を向上させることができる。
(6) The SPC multifunction apparatus described above further includes a CPU (processing device) that processes image data stored in the SDRAM. One of the plurality of units is a CPU interface unit that transfers data between the CPU and an SDRAM controller (memory controller).
When the CPU calculates image data in the SDRAM, it often requires individual address data instead of data in a grouped area in the SDRAM. In such a case, if 8-burst transfer is performed, the processing speed of the SPC multifunction apparatus is reduced.
Therefore, the SDRAM controller (memory controller) performs 4 burst transfer instead of 8 burst transfer when the CPU (processing device) reads image data stored in the SDRAM (memory) through the CPU interface unit. Thereby, the CPU bus can be used efficiently and the processing speed of the CPU can be improved.
(7)前述のCPU(処理装置)は、SDRAMコントローラ(メモリコントローラ)が4バースト転送にてSDRAM(メモリ)からデータを読み出し終わる前に、そのデータそのデータの読み出しを開始する。これにより、CPUは、4バースト転送の終了を待たずに、読み出したデータを取り込むことができるので、処理速度が向上する。 (7) The aforementioned CPU (processing device) starts reading the data before the SDRAM controller (memory controller) finishes reading the data from the SDRAM (memory) by 4-burst transfer. As a result, the CPU can capture the read data without waiting for the end of the 4-burst transfer, thereby improving the processing speed.
(8)前述の処理装置は、CPUインターフェイスユニットからのXWAIT信号(タイミング信号)に応じて、SDRAM(メモリ)から読み出されたデータの読み出しを開始する。つまり、CPUインターフェイスユニットは、XWAIT信号によって、CPUの読み出しタイミングを制御することができる。 (8) The processing device described above starts reading data read from the SDRAM (memory) in response to the XWAIT signal (timing signal) from the CPU interface unit. That is, the CPU interface unit can control the CPU read timing by the XWAIT signal.
(9)前述のSPC複合装置では、複数のユニットは、画像データを画像処理する画像処理ユニットを含む。そして、SDRAMコントローラ(メモリコントローラ)は、画像処理ユニットの処理の内容に応じて、SDRAM(メモリ)との間で行われるバースト転送のバースト長を変更する。画像処理ユニットの処理内容によって望ましいバースト長が異なるので、前述のSPC複合装置によれば、処理速度を向上させることができる。 (9) In the SPC multifunction apparatus described above, the plurality of units include an image processing unit that performs image processing on image data. The SDRAM controller (memory controller) changes the burst length of the burst transfer performed with the SDRAM (memory) according to the processing contents of the image processing unit. Since the desired burst length differs depending on the processing content of the image processing unit, the processing speed can be improved according to the SPC composite apparatus described above.
(10)前述の印刷装置は、シアン・マゼンタ・イエロー・ブラック等の複数色のインクを用いて印刷用紙(媒体)に画像を形成するものである。そして、SDRAMコントローラは、(メモリコントローラ)は、前記インクの色数に応じて、メモリとの間で行われるバースト転送のバースト長を変更する。例えば、4色(C・M・Y・K)のインクを用いる場合、色数が少ないため、処理すべき画像データの量が少ないので、SDRAMコントローラは4バースト転送を行う。一方、8色(C・LC・M・LM・Y・LY・K・LK)のインクを用いる場合、色数が多いため、処理すべき画像データの量が多いので、SDRAMコントローラは、8バースト転送を行う。 (10) The above-described printing apparatus forms an image on a printing paper (medium) using inks of a plurality of colors such as cyan, magenta, yellow, and black. The SDRAM controller (memory controller) changes the burst length of the burst transfer performed with the memory in accordance with the number of colors of the ink. For example, when four colors (C, M, Y, K) of ink are used, the amount of image data to be processed is small because the number of colors is small, so the SDRAM controller performs four burst transfers. On the other hand, when using inks of 8 colors (C, LC, M, LM, Y, LY, K, LK), since the number of colors is large, the amount of image data to be processed is large. Perform the transfer.
(11)前述の画像処理ユニットの一つである2値化ユニットは、画像データの色空間を変換する色変換処理を行う。2値化ユニットが色変換処理を行う場合、SDRAMに記憶されたルックアップテーブルを参照することになる。この場合に、色数に応じてバースト長を変更すれば、色変換処理を高速に行うことができる。 (11) A binarization unit that is one of the above-described image processing units performs color conversion processing for converting the color space of image data. When the binarization unit performs color conversion processing, a lookup table stored in the SDRAM is referred to. In this case, if the burst length is changed according to the number of colors, the color conversion process can be performed at high speed.
(12)前述の画像処理ユニットの一つである2値化ユニットは、RGB系画像データをCMYK系画像データに変換する。例えば、2値化ユニットは、RGB画像データをCMYK画像データに変換したり、RGB画像データをC・LC・M・LM・Y・LY・K・LK画像データに変換したりする。つまり、色変換前の色数と色変換後の色数とが異なることになる。 (12) A binarization unit that is one of the image processing units described above converts RGB image data into CMYK image data. For example, the binarization unit converts RGB image data into CMYK image data, or converts RGB image data into C, LC, M, LM, Y, LY, K, and LK image data. That is, the number of colors before color conversion differs from the number of colors after color conversion.
(13)前述のSDRAMコントローラ(メモリコントローラ)は、SDRAM(メモリ)に対して転送指示の回数を変更して、バースト転送のバースト長を変更する。例えば、4バースト転送の場合、SDRAMコントローラは、SDRAMに対して、1度だけREADコマンド(又はWRITEコマンド)を出す。一方、8バースト転送の場合、SDRAMコントローラは、SDRAMに対して、2度連続してREADコマンド(又はWRITEコマンド)を出す。これにより、バースト長を変更している。 (13) The aforementioned SDRAM controller (memory controller) changes the burst length of the burst transfer by changing the number of transfer instructions to the SDRAM (memory). For example, in the case of 4-burst transfer, the SDRAM controller issues a READ command (or WRITE command) only once to the SDRAM. On the other hand, in the case of 8-burst transfer, the SDRAM controller issues a READ command (or WRITE command) twice in succession to the SDRAM. Thereby, the burst length is changed.
(14)前述のSDRAMコントローラ(メモリコントローラ)は、SDRAM(メモリ)に対して行アドレスを指示した後に列アドレスを指示し、SDRAMとの間でデータを受け渡すものである。すなわち、マルチプレクス・アドレス入力が行われる。そして、前述のSPC複合装置では、SDRAMコントローラ(メモリコントローラ)がSDRAM(メモリ)に連続してREADコマンド(又はWRITEコマンド)を出す(転送指示する)場合、列アドレスを指示した後、更に列アドレスを指示する。つまり、SDRAMコントローラは、ACTコマンドを2度出さずに、READコマンドを2度連続して出す。これにより、データの転送を高速にすることができる。 (14) The SDRAM controller (memory controller) described above instructs the column address after giving the row address to the SDRAM (memory), and transfers data to and from the SDRAM. That is, multiplex address input is performed. In the above-described SPC complex device, when the SDRAM controller (memory controller) issues a READ command (or WRITE command) to the SDRAM (memory) continuously (instructs transfer), after specifying the column address, the column address is further increased. Instruct. That is, the SDRAM controller issues a READ command twice in succession without issuing an ACT command twice. Thereby, data transfer can be performed at high speed.
(15)SDRAM(メモリ)は、受信した行アドレスに対応するデータをラッチした後、その後に受信する列アドレスに応じたデータを出力する。SDRAMがこのような構成なので、連続して列アドレスを指示すれば、同じ行アドレスの指示対象の列アドレスのデータをSDRAMが出力できる。 (15) The SDRAM (memory) latches data corresponding to the received row address, and then outputs data corresponding to the column address received thereafter. Since the SDRAM has such a configuration, if the column address is successively indicated, the SDRAM can output the data of the designated column address of the same row address.
(16)前述のSPC複合装置では、SDRAMコントローラ(メモリコントローラ)とSDRAM(メモリ)との間で4バースト転送又は8バースト転送を行う。但し、これに限られるものではなく、別の長さのバースト長であっても良い。 (16) In the above-described SPC complex apparatus, 4-burst transfer or 8-burst transfer is performed between the SDRAM controller (memory controller) and the SDRAM (memory). However, the burst length is not limited to this, and a different burst length may be used.
(17)前述の印刷方法は、SPC複合装置を用い、SDRAMコントローラ(メモリコントローラ)が、各ユニットに応じて、SDRAM(メモリ)との間で行われるバースト転送のバースト長を変更する。これにより、各ユニットに望ましいバースト長のバースト転送を行うことができるので、SPC複合装置の処理速度を向上させることができる。 (17) The above-described printing method uses an SPC multifunction apparatus, and the SDRAM controller (memory controller) changes the burst length of burst transfer performed with the SDRAM (memory) according to each unit. As a result, burst transfer with a desired burst length can be performed for each unit, so that the processing speed of the SPC multifunction apparatus can be improved.
(18)前述のSPC複合装置(印刷装置)は、データを記憶するSDRAM(メモリ)と、4バースト転送にてSDRAMからデータを読み出すSDRAMコントローラ(メモリコントローラ)と、SDRAMに記憶されたデータを処理するCPU(処理装置)と、CPUとSDRAMコントローラとの間に設けられ、SDRAMコントローラにデータの読み出しを指示するCPUインターフェイスユニットと、を備えている。 (18) The above-mentioned SPC complex device (printing device) processes SDRAM (memory) for storing data, SDRAM controller (memory controller) for reading data from SDRAM by 4-burst transfer, and data stored in SDRAM And a CPU interface unit provided between the CPU and the SDRAM controller and instructing the SDRAM controller to read data.
4バースト転送では、例えば16ビットのデータが4回連続して転送されることになる(この場合、64ビットのデータが転送される)。一方、CPUが必要とするデータ量が64ビットよりも少ない場合がある(例えば、32ビットのデータ)。
このような場合、4バースト転送を終えてから、CPUがデータを取り込んだのでは、SPC複合装置の処理時間が遅くなってしまう。
そこで、前述のSPC複合装置では、CPUがCPUインターフェイスユニットを介してSDRAMからデータを読み出す場合、SDRAMコントローラが4バースト転送にてSDRAMからデータを読み出し終える前に、CPUは、CPUインターフェイスユニットのXWAIT信号(指示)に応じて、SDRAMコントローラが読み出したデータの読み出しを開始する。例えば前述のSPC複合装置によれば、4バースト転送を終える前に、CPUは、CPUインターフェイスのXWAIT信号に応じて、既にSDRAMコントローラが読み出した32ビット分のデータを取り込んでいる。
これにより、CPUは、4バースト転送を終えるのを待つことなく、必要なデータを取り込むことができるので、処理時間を短縮することができる。
In 4-burst transfer, for example, 16-bit data is transferred four times in succession (in this case, 64-bit data is transferred). On the other hand, the amount of data required by the CPU may be less than 64 bits (for example, 32-bit data).
In such a case, if the CPU fetches data after completing the 4 burst transfer, the processing time of the SPC multifunction apparatus is delayed.
Therefore, in the above-described SPC multifunction device, when the CPU reads data from the SDRAM through the CPU interface unit, before the SDRAM controller finishes reading the data from the SDRAM by 4-burst transfer, the CPU reads the XWAIT signal of the CPU interface unit. In response to (instruction), reading of data read by the SDRAM controller is started. For example, according to the above-described SPC multifunction device, before completing the 4-burst transfer, the CPU has already captured 32-bit data read by the SDRAM controller in accordance with the XWAIT signal of the CPU interface.
As a result, the CPU can capture necessary data without waiting for the completion of the 4-burst transfer, thereby reducing the processing time.
(19)前述のCPU(処理装置)は、CPUインターフェイスユニットからのXWAIT信号(タイミング信号)に応じて、データの読み出しを開始する。つまり、CPUインターフェイスユニットは、XWAIT信号によって、CPUの読み出しタイミングを制御することができる。 (19) The above-described CPU (processing device) starts reading data in response to the XWAIT signal (timing signal) from the CPU interface unit. That is, the CPU interface unit can control the CPU read timing by the XWAIT signal.
(20)前述のCPUインターフェイスユニットは、SDRAMコントローラ(メモリコントローラ)からのACK信号(応答信号)に応じて、XWAIT信号(タイミング信号)を発生する。これにより、CPUが、SDRAMからのACK信号のタイミングに応じて、データの取り込みを開始する。 (20) The CPU interface unit described above generates an XWAIT signal (timing signal) in response to an ACK signal (response signal) from the SDRAM controller (memory controller). Thereby, the CPU starts taking in data according to the timing of the ACK signal from the SDRAM.
(21)前述のSDRAMコントローラ(メモリコントローラ)は、CPUインターフェイスユニットからのデータの読み出しの指示に応じて、ACK信号(応答信号)を発生する。これにより、CPUが、SDRAMからのACK信号のタイミングに応じて、データの取り込みを開始する。 (21) The SDRAM controller (memory controller) described above generates an ACK signal (response signal) in response to an instruction to read data from the CPU interface unit. Thereby, the CPU starts taking in data according to the timing of the ACK signal from the SDRAM.
(22)前述のSPC複合装置は、インクを吐出する印刷ヘッドを移動させるキャリッジを更に備える。そして、SDRAM(メモリ)に記憶されたデータに基づいて印刷ヘッドを駆動するためのヘッド駆動データを生成するとき、CPU(処理装置)が、CPUインターフェイスユニットを介してSDRAM(メモリ)からデータを読み出す。ヘッド駆動データを生成するときにCPUの処理が介在するので、前述のSPC複合装置によれば、ヘッド駆動データを生成する処理速度を向上することができる。 (22) The SPC multifunction apparatus described above further includes a carriage that moves a print head that ejects ink. Then, when generating head drive data for driving the print head based on the data stored in the SDRAM (memory), the CPU (processing device) reads the data from the SDRAM (memory) via the CPU interface unit. . Since the CPU process is involved when generating the head drive data, the above-described SPC multifunction apparatus can improve the processing speed for generating the head drive data.
(23)前述の印刷方法は、SPC複合装置を用い、CPU(処理装置)が、CPUインターフェイスユニットを介してSDRAM(メモリ)からデータを読み出す場合、SDRAMコントローラ(メモリコントローラ)が4バースト転送を終える前に、CPUは、CPUインターフェイスユニットの指示に応じて、SDRAMコントローラ(メモリコントローラ)が読み出したデータの読み出しを開始する。これにより、CPUは、4バースト転送を終えるのを待つことなく、必要なデータを取り込むことができるので、処理時間を短縮することができる。 (23) The above-described printing method uses an SPC complex device, and when the CPU (processing device) reads data from the SDRAM (memory) via the CPU interface unit, the SDRAM controller (memory controller) finishes the 4-burst transfer. Before the CPU starts reading data read by the SDRAM controller (memory controller) in accordance with an instruction from the CPU interface unit. As a result, the CPU can capture necessary data without waiting for the completion of the 4-burst transfer, thereby reducing the processing time.
1 SPC複合装置、3 コンピュータ、5 原稿、7 印刷用紙、
10 スキャナ部、12 原稿台ガラス、14 原稿台カバー、
16 読取キャリッジ、18 駆動手段、20 規制ガイド、
22 光源、24 レンズ、26 ミラー、
28 CCDセンサ、29 ガイド受け部、
30 プリンタ部、37 搬送ローラ、38 印刷ヘッド、
40 キャリッジモータ、42 搬送モータ、
50 制御回路、52 CPU、53 ROM、54 カードインターフェイス、
501 CPUバス、502 ローカルバス、
56 USB制御ユニット、58 スキャナ制御ユニット、60 2値化ユニット、
61 インターレース処理ユニット、62 イメージバッファユニット、
64 ヘッド制御ユニット、66 CPUインターフェイスユニット、
68 SDRAMコントローラ、69 SDRAM、
70 操作パネル部
1 SPC multifunction device, 3 computer, 5 manuscript, 7 printing paper,
10 scanner unit, 12 platen glass, 14 platen cover,
16 reading carriage, 18 driving means, 20 regulating guide,
22 light sources, 24 lenses, 26 mirrors,
28 CCD sensor, 29 guide receiver,
30 Printer section, 37 Conveyance roller, 38 Print head,
40 Carriage motor, 42 Carriage motor,
50 control circuit, 52 CPU, 53 ROM, 54 card interface,
501 CPU bus, 502 local bus,
56 USB control unit, 58 scanner control unit, 60 binarization unit,
61 interlace processing unit, 62 image buffer unit,
64 head control unit, 66 CPU interface unit,
68 SDRAM controller, 69 SDRAM,
70 Operation panel
Claims (14)
前記メモリとの間でバースト転送にて前記データを受け渡すメモリコントローラと、
画像データの色空間を変換する色変換処理を行う画像処理ユニットであって、前記メモリコントローラに前記データの受け渡しを指示し、前記メモリコントローラとの間でデータを受け渡す画像処理ユニットと
を備え、
第1色数のインクで印刷可能であるとともに、前記第1色数よりも多い色数の第2色数のインクで印刷可能である印刷装置であって、
(A)前記メモリには、前記第1色数の色空間に色変換するための第1テーブルと、前記第2色数の色空間に色変換するための第2テーブルとが記憶されており、
前記第1テーブルには、色変換前の特定の階調に対応する前記第1色数の色空間の画素データが連続したアドレス領域に格納されており、
前記第2テーブルには、色変換前の特定の階調に対応する前記第2色数の色空間の画素データが連続したアドレス領域に格納されており、
(B)前記画像処理ユニットは、
前記第1色数のインクで印刷を行う場合には、前記画像データの画素の階調に対応する前記第1テーブルのアドレスから、前記第1色数の色空間の画素データを、第1バースト長のバースト転送にて読み出し、
前記第2色数のインクで印刷を行う場合には、前記画像データの画素の階調に対応する前記第2テーブルのアドレスから、前記第2色数の色空間の画素データを、前記第1バースト長よりも長い第2バースト長のバースト転送にて読み出す
ことを特徴とする印刷装置。 A memory for storing data;
A memory controller for transferring the data in a burst transfer with the memory;
An image processing unit that performs color conversion processing for converting the color space of the image data, and instructs the transfer of the data to the memory controller, and an image processing unit for passing data between said memory controller,
A printing apparatus capable of printing with ink of a first color number and capable of printing with ink of a second color number greater than the first color number,
(A) The memory stores a first table for color conversion to the color space of the first color number and a second table for color conversion to the color space of the second color number. ,
In the first table, pixel data of the color space of the first color number corresponding to a specific gradation before color conversion is stored in a continuous address area,
In the second table, pixel data of the color space of the second color number corresponding to a specific gradation before color conversion is stored in a continuous address area,
(B) The image processing unit
When printing with the first color number of ink, pixel data in the color space of the first color number is transferred from the address of the first table corresponding to the gradation of the pixel of the image data to the first burst. Read by long burst transfer,
When printing with the ink of the second color number, the pixel data of the color space of the second color number is obtained from the address of the second table corresponding to the gradation of the pixel of the image data. Reading by burst transfer having a second burst length longer than the burst length .
原稿から画像を読み取るスキャナ部と、
スキャナ部から出力されたデータを処理して画像データを生成するスキャナ制御ユニットと
を更に備え、
前記メモリコントローラは、少なくとも2種類のバースト長でバースト転送可能であり、前記スキャナ制御ユニットから受けた前記画像データを前記メモリに書き込むとき、前記2種類のバースト長のうちの長い方のバースト長にてバースト転送を行う
ことを特徴とする印刷装置。 The printing apparatus according to claim 1,
A scanner unit that reads an image from a document ;
A scanner control unit for generating image data by processing the data output from the scanner unit
Further comprising
The memory controller is capable of burst transfer with at least two types of burst lengths, and when writing the image data received from the scanner control unit to the memory, the longer burst length of the two types of burst lengths is set. A printer that performs burst transfer.
前記スキャナ部は、画像を読み取るためのセンサを有し、
前記センサは移動可能であり、移動するセンサから前記スキャナ制御ユニットへ順次データが出力される
ことを特徴とする印刷装置。 The printing apparatus according to claim 2,
The scanner unit has a sensor for reading an image,
The printing apparatus, wherein the sensor is movable, and data is sequentially output from the moving sensor to the scanner control unit.
インクを吐出する印刷ヘッドを移動させるキャリッジと、
前記印刷ヘッドを駆動するためのヘッド駆動データを前記印刷ヘッドへ転送するヘッド制御ユニットと
を更に備え、
前記メモリコントローラは、少なくとも2種類のバースト長でバースト転送可能であり、前記メモリに記憶された前記ヘッド駆動データを読み出すとき、前記2種類のバースト長のうちの長い方のバースト長にてバースト転送を行う
ことを特徴とする印刷装置。 The printing apparatus according to any one of claims 1 to 3,
A carriage that moves a print head that ejects ink ;
A head control unit for transferring the head driving data for driving the front Symbol print head to the printing head
Further comprising
The memory controller is capable of burst transfer with at least two burst lengths, and when reading the head drive data stored in the memory, burst transfer with the longer burst length of the two burst lengths The printing apparatus characterized by performing.
前記ヘッド制御ユニットは、移動する印刷ヘッドに対して前記ヘッド駆動データを順次転送することを特徴とする印刷装置。 The printing apparatus according to claim 4,
The printing apparatus according to claim 1, wherein the head control unit sequentially transfers the head drive data to a moving print head.
メモリに記憶されたデータを処理する処理装置と、
前記処理装置と前記メモリコントローラとの間でデータを受け渡すインターフェイスユニットと
を更に備え、
前記メモリコントローラは、少なくとも2種類のバースト長でバースト転送可能であり、前記メモリに記憶された前記データを前記処理装置が前記インターフェイスユニットを介して読み出すとき、前記2種類のバースト長のうちの短い方のバースト長にてバースト転送を行う
ことを特徴とする印刷装置。 The printing apparatus according to any one of claims 1 to 5,
A processing device for processing the data stored in the memory ;
An interface unit for passing data between a pre-Symbol processor and the memory controller
Further comprising
The memory controller is capable of burst transfer with at least two types of burst lengths, and when the processing device reads the data stored in the memory via the interface unit, the memory controller is shorter of the two types of burst lengths. A printing apparatus that performs burst transfer at a burst length of the other.
前記処理装置は、前記メモリコントローラが所定のバースト長のバースト転送にて前記メモリからデータを読み出し終わる前に、そのデータの読み出しを開始することを特徴とする印刷装置。 The printing apparatus according to claim 6,
The processing device starts reading data before the memory controller finishes reading data from the memory by burst transfer of a predetermined burst length.
前記処理装置は、前記インターフェイスユニットからのタイミング信号に応じて、前記メモリから読み出されたデータの読み出しを開始することを特徴とする印刷装置。 The printing apparatus according to claim 7, wherein
The processing device starts reading data read from the memory in response to a timing signal from the interface unit.
前記画像処理ユニットは、RGB系画像データをCMYK系画像データに変換することを特徴とする印刷装置。 The printing apparatus according to any one of claims 1 to 8 ,
The image processing unit converts RGB system image data into CMYK system image data.
前記メモリコントローラは、前記メモリに対して転送指示の回数を変更して、バースト転送のバースト長を変更することを特徴とする印刷装置。 The printing apparatus according to any one of claims 1 to 9 ,
The printing apparatus according to claim 1, wherein the memory controller changes the burst length of burst transfer by changing the number of transfer instructions to the memory.
前記メモリコントローラは、前記メモリに対して行アドレスを指示した後に列アドレスを指示し、前記メモリとの間でデータを受け渡すものであり、
前記メモリコントローラが前記メモリに連続して転送指示する場合、前記列アドレスを指示した後、更に列アドレスを指示することを特徴とする印刷装置。 The printing apparatus according to claim 10 ,
The memory controller indicates a column address after instructing a row address to the memory, and passes data to and from the memory.
When the memory controller instructs the memory to transfer continuously, the column address is further instructed after instructing the column address.
前記メモリは、受信した行アドレスに対応するデータをラッチした後、その後に受信する列アドレスに応じたデータを出力することを特徴とする印刷装置。 The printing apparatus according to claim 11 , wherein
The printing apparatus according to claim 1, wherein the memory latches data corresponding to the received row address and then outputs data corresponding to a column address received thereafter.
前記メモリコントローラと前記メモリとの間で4バースト転送又は8バースト転送を行うことを特徴とする印刷装置。 The printing apparatus according to any one of claims 1 to 12 ,
A printing apparatus that performs 4-burst transfer or 8-burst transfer between the memory controller and the memory.
前記メモリとの間でバースト転送にて前記データを受け渡すメモリコントローラと、
画像データの色空間を変換する色変換処理を行う画像処理ユニットであって、前記メモリコントローラに前記データの受け渡しを指示し、前記メモリコントローラとの間でデータを受け渡す画像処理ユニットと
を用い、
第1色数又は前記第1色数よりも多い色数の第2色数のインクで印刷を行う印刷方法であって、
(A)前記メモリには、前記第1色数の色空間に色変換するための第1テーブルと、前記第2色数の色空間に色変換するための第2テーブルとが記憶されており、
前記第1テーブルには、色変換前の特定の階調に対応する前記第1色数の色空間の画素データが連続したアドレス領域に格納されており、
前記第2テーブルには、色変換前の特定の階調に対応する前記第2色数の色空間の画素データが連続したアドレス領域に格納されており、
(B)前記画像処理ユニットは、
前記第1色数のインクで印刷を行う場合には、前記画像データの画素の階調に対応する前記第1テーブルのアドレスから、前記第1色数の色空間の画素データを、第1バースト長のバースト転送にて読み出し、
前記第2色数のインクで印刷を行う場合には、前記画像データの画素の階調に対応する前記第2テーブルのアドレスから、前記第2色数の色空間の画素データを、前記第1バースト長よりも長い第2バースト長のバースト転送にて読み出す
ことを特徴とする印刷方法。 A memory for storing data;
A memory controller for transferring the data in a burst transfer with the memory;
An image processing unit that performs color conversion processing for converting the color space of the image data, and instructs the transfer of the data to the memory controller, using the image processing unit passing data between said memory controller,
A printing method for performing printing with a second color number ink having a first color number or a color number larger than the first color number,
(A) The memory stores a first table for color conversion to the color space of the first color number and a second table for color conversion to the color space of the second color number. ,
In the first table, pixel data of the color space of the first color number corresponding to a specific gradation before color conversion is stored in a continuous address area,
In the second table, pixel data of the color space of the second color number corresponding to a specific gradation before color conversion is stored in a continuous address area,
(B) The image processing unit
When printing with the first color number of ink, pixel data in the color space of the first color number is transferred from the address of the first table corresponding to the gradation of the pixel of the image data to the first burst. Read by long burst transfer,
When printing with the ink of the second color number, the pixel data of the color space of the second color number is obtained from the address of the second table corresponding to the gradation of the pixel of the image data. Reading by burst transfer having a second burst length longer than the burst length .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004003426A JP4631278B2 (en) | 2004-01-08 | 2004-01-08 | Printing apparatus and printing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004003426A JP4631278B2 (en) | 2004-01-08 | 2004-01-08 | Printing apparatus and printing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005193576A JP2005193576A (en) | 2005-07-21 |
JP4631278B2 true JP4631278B2 (en) | 2011-02-16 |
Family
ID=34818342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004003426A Expired - Fee Related JP4631278B2 (en) | 2004-01-08 | 2004-01-08 | Printing apparatus and printing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4631278B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4936506B2 (en) * | 2005-12-08 | 2012-05-23 | ルネサスエレクトロニクス株式会社 | Memory control circuit and memory control method |
JP5904132B2 (en) * | 2013-01-17 | 2016-04-13 | 富士ゼロックス株式会社 | Image processing apparatus and image forming apparatus |
JP6902843B2 (en) * | 2016-10-07 | 2021-07-14 | キヤノン株式会社 | Image processing device and control method |
JP7006106B2 (en) * | 2017-10-04 | 2022-01-24 | セイコーエプソン株式会社 | Electronic devices and control methods |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07253921A (en) * | 1994-03-14 | 1995-10-03 | Ricoh Co Ltd | Writing and reading method for image memory |
JPH11115258A (en) * | 1997-10-21 | 1999-04-27 | Canon Inc | Apparatus and method for controlling output |
JP2001246793A (en) * | 2000-03-08 | 2001-09-11 | Nec Corp | Printer controller |
JP2003241917A (en) * | 2002-02-20 | 2003-08-29 | Canon Inc | Image processor, image processing method, program and recording medium |
JP2005119060A (en) * | 2003-10-15 | 2005-05-12 | Canon Inc | Printing controlling device |
-
2004
- 2004-01-08 JP JP2004003426A patent/JP4631278B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07253921A (en) * | 1994-03-14 | 1995-10-03 | Ricoh Co Ltd | Writing and reading method for image memory |
JPH11115258A (en) * | 1997-10-21 | 1999-04-27 | Canon Inc | Apparatus and method for controlling output |
JP2001246793A (en) * | 2000-03-08 | 2001-09-11 | Nec Corp | Printer controller |
JP2003241917A (en) * | 2002-02-20 | 2003-08-29 | Canon Inc | Image processor, image processing method, program and recording medium |
JP2005119060A (en) * | 2003-10-15 | 2005-05-12 | Canon Inc | Printing controlling device |
Also Published As
Publication number | Publication date |
---|---|
JP2005193576A (en) | 2005-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7463370B2 (en) | Recording apparatus | |
JP2004358965A (en) | Printing apparatus and adjusting method | |
JP4631278B2 (en) | Printing apparatus and printing method | |
US7532350B2 (en) | Printing method and printing apparatus | |
JP4775500B2 (en) | Printing method, printing apparatus, and program | |
JP2005193543A (en) | Printer and method of printing | |
JP4321032B2 (en) | Printing apparatus, printing method, program, and computer system | |
JP3535846B2 (en) | Printing equipment | |
JP2004142435A (en) | Printer, method of printing, program, and printing system | |
JP6160023B2 (en) | Printing device | |
JP4586930B2 (en) | Printing method, printing apparatus, and program | |
JP4360079B2 (en) | Printing apparatus, printing method, computer system, and computer program | |
JP4457616B2 (en) | Printing apparatus, printing method, and printing system | |
JP4760990B2 (en) | Printing method, printing apparatus, and program | |
JP4348926B2 (en) | Recording apparatus, computer system, and recording method | |
JP2004082488A (en) | Print controller, printing method, program, and computer system | |
JP2004126957A (en) | Delivery device, memory management method for the device, program executed in the device, and computer system | |
JP2010099921A (en) | Printer | |
JP2004128895A (en) | Recording apparatus and control method thereof | |
JP4582240B2 (en) | Printing method, printing apparatus, and program | |
JP2004127033A (en) | Recorder, computer system and recording method | |
JP4151552B2 (en) | Recording device | |
JP2000238250A (en) | Serial recorder | |
JP2006190035A (en) | Computer device and printer | |
JP2004155102A (en) | Printing device, and program and printing method to be carried out by the device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060921 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100323 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100507 |
|
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: 20101019 |
|
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: 20101101 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131126 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |