JP2004009540A - Printer and its control method - Google Patents

Printer and its control method Download PDF

Info

Publication number
JP2004009540A
JP2004009540A JP2002166119A JP2002166119A JP2004009540A JP 2004009540 A JP2004009540 A JP 2004009540A JP 2002166119 A JP2002166119 A JP 2002166119A JP 2002166119 A JP2002166119 A JP 2002166119A JP 2004009540 A JP2004009540 A JP 2004009540A
Authority
JP
Japan
Prior art keywords
frequency
data
printer
interface
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.)
Withdrawn
Application number
JP2002166119A
Other languages
Japanese (ja)
Inventor
Keiji Obara
小原 啓二
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 JP2002166119A priority Critical patent/JP2004009540A/en
Publication of JP2004009540A publication Critical patent/JP2004009540A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer which can reduce the consumption of electric power and a method for controlling the printer. <P>SOLUTION: The printer 1 has different kinds of host interfaces of a USB interface 11, Ethernet 12, and an IEEE 1394 interface. A CPU 4 judges, upon receiving data, from which interface the data are received, and when the data are received from a higher speed interface, a dynamic clock of a higher frequency is set by a clock control circuit 8. In this way, the CPU 4, an image processing circuit 19, an engine control circuit 21, etc., can be driven corresponding to the transfer speed of data sent from the host at a necessary and sufficient speed. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、例えば複数のホストインターフェース(I/F)やホストI/Fの複数の転送モードやホストI/F上で転送される画像データの複数の圧縮方式や複数の印刷モードを有するプリンタおよびその制御方法に関し、特にプリンタのパワーマネージメントに関するものである。
【0002】
【従来の技術】
図6は従来のインクジェットプリンタのシステム構成例を示す。同図において、プリンタ1はコントローラ部2とエンジン部3とから構成される。コントローラ部2は、プリンタ1のホストI/FであるパラレルポートI/Fを介してホストコンピュータから送られてくるコマンドやデータに基づき印刷が行えるようにプリンタ全体の制御を司どる。エンジン部3は、コントローラ部2の指示に基づきプリンタの印刷用紙の搬送やヘッド部の移動等を行う駆動メカニカル部(不図示)を制御したり各種センサ類の状態を監視しながら描画データをヘッドに送り駆動メカニカル部の動作と同期を取りながらヘッドからインクを吐出させる制御を行う。
【0003】
CPU4は、コントローラ部2全体の動作を制御し、ROMを接続可能なROM制御回路5とRAMを接続可能なRAM制御回路6と周辺デバイスを接続するためのローカルバス制御機能7とを有する。クロック制御回路8は、複数のクロック出力(201〜204)を有する。CPU用クロック202のみCPUからの制御(制御信号200)により出力周波数を可変制御できる。
【0004】
ROM9はプリンタ1の動作を制御するためのファームウェアや固定データ等が格納されており、CPU4のROM制御機能5が構成するROM制御メモリバス102に接続されている。RAM10は、CPU4のプログラム実行時のワークエリアやホストコンピュータから送られてきた画像データ等が格納されるメモリであり、CPU4のRAM制御機能6が構成するRAM制御メモリバス103に接続されている。このRAM10上の画像データはCPU4の他、要求印刷速度や要求画質等に応じた描画データに画像データを変換するための画像処理回路19からも共有アクセス可能なように、RAM制御メモリバス103は画像処理回路にも接続されている。
【0005】
ホストI/F24はホストコンピュータ14と通信するためのインターフェースであり、従来はパラレルポートで構成されるのが主流であった。このホストI/F24はCPU4のローカルバス制御機能7が構成するローカルバス101と接続され、ホストコンピュータ14とCPU4との間のデータ転送制御を行う。操作パネルI/F17はやはりローカルバス101に接続され、小型LCDディスプレイとテンキーで構成される操作パネル18(プリンタの動作状態を表示したり、動作モードを設定入力したりするもの)を制御する。
【0006】
エンジンI/F20は、ホストコンピュータ14から送られてきた画像データを画像処理回路19により画像処理を施して描画データに変換した後、エンジン部3へ転送するためのインターフェースである。エンジンI/F20からエンジン制御回路21(後述)が内蔵し制御する描画データメモリ22への描画データの転送は、エンジンI/Fバス104を介して行われる。エンジン制御回路21は、エンジン部3の駆動メカニカル部を制御しながらヘッド部にデータを送り前記駆動メカニカル部の動作と同期を取りながらヘッドのインク吐出を制御する。エンジン制御回路21は画像処理回路19から転送されてきた描画データを一時的に蓄え、この蓄えられたデータの中からヘッドの構成や吐出の順番等に都合のよいデータ並びの描画データとして読み出しが可能な、描画データメモリ22を有する。エンジン制御回路21からヘッドへのデータ転送はヘッドI/Fバス105を介して転送される。ヘッド23はエンジン制御回路の指示に従いプリント用紙にインクを吐出する。
【0007】
上記構成において、プリンタ1の電源が投入されるとCPU4が全体の制御を司り、CPU4によりROM9のファームウェアが実行され、操作パネル18の電源ランプを点燈させ、プリンタのイニシャライズ処理が行われた後、ホストI/Fからの印刷要求を待つ状態になる。操作パネル18には、印刷可能状態を示す表示がなされる。この状態で、ホストコンピュータ14が印刷要求コマンドや印刷データを送ろうとすると、パラレルポートI/F(ホストI/F)24からインターラプト処理等によりCPU4にデータ転送要求があったことを知らせる。CPU4はそのホストコンピュータ14との間に通信ラインを確立する。さらに、通信モードや画像データのフォーマットや圧縮方式等の通信条件をホストコンピュータとの間で確認し合い取り決める。その後、前記取り決めた通信条件の通信モードで印刷モード指定情報や画像データを転送する。画像データはそのホストI/F機能やCPU4を介してRAM10へ転送される。このRAM10に転送された画像データは、先ほどホストコンピュータ14との間で取り決められた通信条件の画像フォーマットや圧縮方式に対応したデコードや画像処理が行われ、さらに指定された印刷モードに対応して画像処理されて描画データが生成される。この描画データが一定量まとまる度にエンジン制御回路21の描画データメモリに転送され、さらに各種センサーの検出結果等に対応しながらエンジン制御回路21が制御している駆動メカニカル部の動作やヘッド23の吐出周波数等に同期しながらヘッド23に転送され、その描画データに対応したインクがヘッド23からプリント用紙に吐出され印刷処理が行われる。
【0008】
従来、上記プリンタにおいては、プリンタ操作パネルの操作やホストコンピュータからのコマンド等のプリンタの動作要求がない状態が一定時間継続した場合に、CPUの動作クロックを低下させていた。
【0009】
すなわち、印刷動作時には、CPU4、ローカルバス101、ROM制御メモリバス102、RAM制御メモリバス103、画像処理回路19、エンジンI/F20、エンジン制御回路21、ヘッド23の吐出周波数等の基本動作クロックは、常にそのプリンタの最高性能を機能させるための最高速度で動作していた。そして、印刷処理終了後、次のホストコンピュータからの印刷要求等のプリンタの動作要求のない状態が一定時間以上続いた場合にのみ、CPU4の基本動作クロックの周波数のみを(クロック制御信号200によりクロック制御回路8を操作し)低下させたり、停止させたりしていた。つまり、スタンバイ状態に移行していた。
【0010】
【発明が解決しようとする課題】
このように上記従来例では、プリンタのスタンバイ状態時のみしか省電力化できず、動作時は常にフルパワーで動作していた。また、スタンバイ時でもCPU以外の回路の動作クロックは最高速度で駆動されていた。そのため、スタンバイ時でもそれほど消費電力が下がらないという問題があった。また、ネットワークに接続されたプリンタ等のように駆動率が高い場合にはスタンバイ状態が少なくなるためパワーマネージメントの効果が低下してしまうという問題があった。
【0011】
一方で、最近のプリンタには種々の新しいホストI/Fが複数採用されることも多く、それぞれのホストI/Fでデータの転送速度が異なる。また、ひとつのホストI/Fをみても転送モードが複数あり、そのモードによりやはり転送速度が異なる。
【0012】
このような複数のホストI/Fや、ひとつのホストI/Fであっても複数の転送モードを有するI/Fを装備するプリンタにおいては、従来であれば動作時においては常に、全ての回路やバスが最高性能を機能させるための最速の基本動作クロックで動作していた。
【0013】
よって、ホストコンピュータとプリンタ間の印刷データ(画像データ)を転送速度の比較的遅いホストI/Fを介して転送しているときに、あるいは転送速度の速いホストI/Fであっても転送速度の低い転送モード(Ethernetの10BASE−Tのモード、USBのLow Speedモード、IEEE1394のS100モード等)で転送する場合には無駄な電力を費やすだけである。これはプリンタの内部動作が速くても、印刷データが追従して転送されてこないと速く印刷出力はできないからである。
【0014】
本発明は上記従来例に鑑みてなされたもので、データの転送速度に応じて処理手段および出力手段の同期信号の周波数を変更し、消費電力を節約するプリンタおよびその制御方法を提供することを目的とする。
【0015】
さらに、従来のパワーマネージメントに追加し、プリンタとホストコンピュータ間のデータ通信用インターフェース(以後、ホストI/Fと呼ぶ)の種類やその転送モード、また、前記ホストI/F経由で転送されるデータの圧縮方式、画像処理モード、印刷解像度や印刷品位等で区別される印刷モード等の各モードにおいてそのモードでの印刷処理動作に適したCPU動作クロックや画像処理回路動作クロックや各種データバスの動作クロックやヘッドの駆動パルス周波数等を選択できる手段を設け、前記各モードに対し、予め設定された基本動作クロックやヘッドの駆動パルス周波数等で動作させることによりプリンタの印刷動作時にも効率的なパワーマネージメントを行えるようにしたプリンタおよびその制御方法を提供することを目的とする。
【0016】
【課題を解決するための手段】
上記目的を達成するために、本発明は次のような構成を備える。
【0017】
外部機器と接続するための、複数の相異なる転送速度でデータを受信可能なインターフェース手段と、
前記インターフェース手段により受信したデータを同期信号に同期して処理する処理手段と、
前記処理手段により処理されたデータを、同期信号に同期して画像として出力する出力手段と、
前記インターフェースの転送速度に応じて、前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する周波数変更手段とを備える。
【0018】
さらに好ましくは、前記インターフェース手段は複数の相異なる種類のインターフェース部を有し、前記転送速度は、インターフェース部の種類に応じて定められている。
【0019】
さらに好ましくは、前記インターフェース手段は複数の相異なる転送モードにおいてデータを受信可能であり、前記転送速度は、前記転送モードに応じて定められている。
【0020】
さらに好ましくは、前記インターフェース手段により受信されるデータは、複数の相異なる圧縮方法のいずれかで圧縮されており、前記周波数変更手段は、さらに、前記圧縮方法に応じて前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する。
【0021】
さらに好ましくは、前記インターフェース手段により受信されるデータは、複数の相異なる出力方法のいずれかで出力されることを示す出力モードを含み、前記周波数変更手段は、さらに、前記出力モードに応じて前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する。
【0022】
さらに好ましくは、前記転送速度がより速くなれば、前記周波数をより高く変更する。
【0023】
さらに好ましくは、前記データの圧縮率に応じ、前記各同期信号の周波数を装置各部が必要最小限の動作速度になるように最適化する。
【0024】
さらに好ましくは、前記出力モードは出力される画像の画素密度を示し、画素密度がに応じ、前記各同期信号の周波数を装置各部が必要最小限の動作速度になるように最適化する。
【0025】
【発明の実施の形態】
(第1の実施形態)
図1は本発明をインクジェットプリンタに実施した場合のシステム構成例を示し、同図において、プリンタ1は本発明を実施したプリンタであり、コントローラ部2とエンジン部3とから構成される。コントローラ部2は、プリンタ1のホストI/F11,12,13を介してそれぞれホストコンピュータ14,15,16から送られてくるコマンドやデータに基づき印刷が行えるようにプリンタ全体の制御を司どる。エンジン部3は、コントローラ部2の指示に基づきプリンタの印刷用紙の搬送やヘッド部の移動等を行う駆動メカニカル部(不図示)を制御したり各種センサ類の状態を監視しながら描画データをヘッドに送り駆動メカニカル部の動作と同期を取りながらヘッドからインクを吐出させる制御を行うエンジン部3とから構成される。
【0026】
CPU4は、コントローラ部2全体の動作を制御しており、ROMを接続可能なROM制御回路5とRAMを接続可能なRAM制御回路6と周辺デバイスを接続するためのローカルバス制御機能7とを有する。クロック制御回路8は、CPU4からの制御(クロック制御信号200)により複数のクロック出力(ローカルバス基本動作クロック201、CPU基本動作クロック202、ROMアクセス基本動作クロック203、RAMアクセス基本動作クロック204、画像処理回路基本動作クロック205、エンジンI/F基本動作クロック206、エンジン制御回路基本動作クロック207、ヘッド駆動クロック208を含む)の出力周波数を可変に制御できる。
【0027】
なお、クロック制御回路8は、例えばPLL周波数シンセサイザにより実現できる。一般にPLL周波数シンセサイザは、水晶発振器等を信号源とする周波数の安定した信号を分周して基準信号とし、その基準信号と、PLL周波数シンセサイザの出力信号を可変分周器により分周した信号とをSAWコンボルバなどで構成される位相比較器の入力とし、その出力を低域通過フィルタを通して電圧制御発信器に入力し、その電圧制御発信器の出力をPLL周波数シンセサイザの出力信号とする構成を備える。ここで、可変分周器による分周率はレジスタ等の設定に応じて変更可能であるので、CPU4により出力周波数を制御することができる。相異なる周波数のクロックを互いに独立に供給するためには、例えばそのクロックの種類だけシンセサイザを備える。しかしながら、相異なる周波数であっても、一方が他方の整数倍であるならば、前者の周波数を必要に応じて分周すればよい。
【0028】
ROM9は、プリンタ1の動作を制御するためのファームウェアや固定データ等が格納されているROMであり、CPUのROM制御機能5が構成するROM制御メモリバス102に接続されている。RAM10は、CPU4のプログラム実行時のワークエリアやホストコンピュータから送られてきた画像データ等が格納されるRAMであり、CPU4のRAM制御機能6が構成するRAM制御メモリバス103に接続されている。このRAM10上の画像データはCPU4の他、画像データを要求印刷速度や要求画質等に応じた描画データに変換するための画像処理回路19からも共有アクセス可能なように、RAM制御メモリバス103は画像処理回路19にも接続されている。
【0029】
ホストI/F11,12,13はそれぞれホストコンピュータA14、ホストコンピュータB15、ホストコンピュータC16と通信するためのホストI/Fであり、それぞれUSB1.1,イーサネット,IEEE1394の規格に則ったインターフェースである。これらのホストI/FはCPU4のローカルバス制御機能7が構成するローカルバス101(例えば、PCIバス)と接続され、ホストコンピュータとCPU4との間のデータ転送制御を行う。操作パネルI/F17は、ローカルバスに接続され、小型LCDディスプレイとテンキーで構成される操作パネル18(プリンタの動作状態を表示したり、動作モードを設定入力したりするもの)を制御するための操作パネルI/Fである。
【0030】
エンジンI/F20は、ホストコンピュータ14,15,16から送られてきた画像データを画像処理回路19で画像処理を施し描画データに変換した後、エンジン部3へ転送するためのインターフェースである。エンジンI/F20からエンジン制御回路21(後述)が内蔵し制御する描画データメモリ22への描画データの転送は、エンジンI/Fバス104を介して行われる。エンジン制御回路21は、エンジン部3の駆動メカニカル部を制御しながらヘッド部23にデータを送り駆動メカニカル部の動作と同期を取りながらヘッドのインク吐出を制御する。エンジン制御回路21は画像処理回路19から転送されてきた描画データを一時的に蓄え、この蓄えられたデータの中からヘッド23の構成や吐出の順番等に都合のよいデータ並びの描画データとして読み出しが可能な、描画データメモリ22を有する。エンジン制御回路21からヘッド23へのデータ転送はヘッドI/Fバス105を介して転送される。ヘッド23はエンジン制御回路21の指示に従いプリント用紙にインクを吐出する。ヘッド23は連続してインクをプリンタ用紙に吐出し、この吐出速度はひとつの画像を印刷している間は一定であり、その速度を吐出周波数で表す。この吐出周波数は、ヘッドに供給されるヘッド駆動パルス用のクロック(図1の208)で決まる。
【0031】
図7は、インクジェット記録装置IJRAの概観図である。インクジェット記録装置IJRAは、図1のエンジン部3の印刷機構の一例である。同図において、キャリッジHCは、リードスクリュー5005のらせん溝5004に、不図示のピンにより係合しており、駆動モータ5013の正逆回転に連動して駆動力伝達ギア5011,5009を介してリードスクリュー5005が回転すると、矢印a,b方向に往復移動される。このキャリッジHCには、インクジェット式の記録ヘッド23が搭載されている。紙押え板5002は、キャリッジHCの移動方向にわたって印刷用紙をプラテン5000に対して押圧する。フォトカプラ5007,5008は、キャリッジHCのレバー5006のこの域での存在を確認して、モータ5013の回転方向切り換え等を行うためのホームポジション検知手段である。取りつけ部材5019は、記録ヘッド23の前面をキャップするキャップ部材5022を支持する部材である。吸引手段5015はこのキャップ内を吸引し、キャップ内開口5023を介して記録ヘッドの吸引回復を行う。取りつけ部材5019は、クリーニングブレード5017を前後方向に移動可能にする部材であり、本体支持板5018にこれらが支持されている。ブレード5017としては、この形態でなく周知の形態のクリーニングブレードが本例に適用できる。又、レバー5021は、吸引回復の吸引を開始するためのレバーで、キャリッジと係合するカム5020の移動に伴って移動し、駆動モータからの駆動力がクラッチ切り換え等の公知の伝達手段で移動制御される。
【0032】
上記構成において、プリンタ1の電源が投入されるとCPU4が全体の制御を司り、ROM9のファームウェアが実行され、操作パネル18の電源ランプを点燈させ、プリンタのイニシャライズ処理が行われた後、各ホストI/Fからの印刷要求を待つ状態になる。操作パネル18には、印刷可能状態を示す表示がなされる。この状態で、何れかのホストコンピュータが印刷要求コマンドや印刷データを送ろうとすると、プリンタ側の対応するホストI/F機能からインターラプト処理等によりCPU4にデータ転送要求があったことを知らせる。CPU4はそのホストI/F機能を制御しホストコンピュータとの間に、通信ラインを確立する。さらに、そのホストI/F機能の通信モードや画像データのフォーマットや圧縮方式等の通信条件をホストコンピュータとの間で確認し合い取り決める。その後、取り決めた通信条件の通信モードで印刷モード指定情報や画像データを転送する。画像データはそのホストI/F機能やCPU4を介して(または、そのホストI/F機能がバスマスタとなり、直接)RAM10へ転送される。このRAM10に転送された画像データは、先ほどホストコンピュータとの間で取り決められた通信条件の画像フォーマットや圧縮方式に対応したデコードや画像処理が行われ、さらに指定された印刷モードに対応して画像処理されて描画データが生成される。この描画データが一定量まとまる度にエンジン制御回路21の描画データメモリに転送され、さらに各種センサー等の検出結果に対応しながらエンジン制御回路21が制御している駆動メカニカル部の動作やヘッドの吐出周波数等に同期しながらヘッド部に転送され、その描画データに対応したインクがヘッド23からプリント用紙に吐出され印刷処理が行われる。
【0033】
本発明においては、CPU4がクロック制御信号200を介してクロック制御回路8のクロック出力(ローカルバス基本動作クロック201、CPU基本動作クロック202,ROM制御メモリバス基本動作クロック203、RAM制御メモリバス基本動作クロック204、画像処理回路基本動作クロック205、エンジンI/Fバス基本動作クロック206、エンジン制御回路基本動作クロック207、ヘッドの駆動クロック208)の出力周波数を可変設定できるように構成し、遅いI/Fや遅い転送モードを使用するような場合には、各部の基本動作クロックを各モードごとに予め設定された周波数に切り替え、消費電力の無駄を無くしたものである。
【0034】
図2は本発明に係るプリンタ1の動作のフロー図であり、図3は基本動作クロックの速度を各種条件により規定した表である。
【0035】
図3の表には、ホストI/Fの種別に応じて、上からIEEE1394の各モードにおける状態301、イーサネットの各モードにおける状態302、USB1.1の各モードにおける状態303のほか、低速動作状態304、スタンバイ状態305における基本動作クロックが記述されている。
【0036】
図3において、最上段は、IEEE1394ホストI/FのS400転送モードでホストコンピュータから本プリンタへJPEG圧縮した画像データが送信されてきた場合には、ローカルバス101の基本動作クロックは33MHz、CPU4の基本動作クロックは50MHz、ROM制御メモリバス102の基本動作クロックは33MHz、RAM制御メモリバス103の基本動作クロックは100MHz、画像処理回路19の基本動作クロックは50MHz、エンジンI/Fバス104の基本動作クロックは50MHz、ヘッド駆動周波数は25KHzで動作させることを意味している。本プリンタのホストI/FではこのIEEE1394ホストI/FのS400転送モードが最もデータ転送レートが高く、データの圧縮率においても、JPEGの方がPackbitsよりも高い。つまり、図3の表の最上段の条件が、プリンタ1にとっては画像データの転送レートが最も高く、最高速度で動作することを意味している。
【0037】
これに対して、図3の表の2段目では、画像データの圧縮方式が圧縮率の低いPackbitsになる。ホストI/Fからローカルバスを経由してRAM10に転送されるまでのデータレートは、同じ転送モードであることから同一であり、ローカルバス基本動作クロック201、ROM制御メモリバス基本動作クロック203、RAM制御メモリバス基本動作クロック204は図3の表の最上段の場合と変わらない。
【0038】
しかし、RAM10上で画像データが解凍(伸張)された時点では、Packbitsによる圧縮率はJPEGのそれよりも低いため、図3の表の最上段のJPEGの場合より単位時間に処理すべきデータ量は少ない。そのため、そのデータを処理する後工程のCPU基本動作クロック,画像処理回路基本動作クロック、エンジンI/Fバス基本動作クロック、ヘッド駆動クロックそれぞれ周波数は、圧縮方式がJPEGの場合に比べ、少し低速でもよい。このように、図3は、ホストコンピュータから画像データが転送されるときの、各種通信条件とその通信条件に対するプリンタ内部での印刷処理を必要最小限の処理速度で行う場合の各回路や各バスの基本動作クロックを対応付けたものである。
【0039】
同様にして、ホストI/Fおよび転送モードごとに、高い転送レートのものに対しては高いクロックを、低い転送レートのものに対しては低いクロックを対応付け、ひとつの転送モードであっても、圧縮率の高い圧縮方式よりも、圧縮率の低い方式に対して低いクロックが対応付けられている。例えば、IEEE1394インターフェースのS100モードは、転送レートが100Mbpsであり、イーサネットの100BASE−TXと同じ転送レートである。そこで基本動作クロックも、圧縮方式が同一であれば同一である。また、イーサネットの10BASE−Tの転送レートは10Mbpsであり、USB1.1インターフェースのHSモードの12Mbpsとほぼ同程度である。そこで各基本動作クロックも、圧縮方式が同一であれば同一とされている。
【0040】
また、図3の表の下2段にはプリンタが特別な状態になっているときの基本動作クロックの対応を示している。まず、低速動作状態304とは、印刷処理等の負荷の重い処理がない状態(つまり、印刷データ待ち受け状態)で、操作パネル18の制御や各種センサの監視等必要最小限の処理を行っている状態である。この状態のときは、CPU4で負荷の軽いファームウェアが実行されていて、ローカルバス経由で操作パネルI/F17を制御しているだけなので、ローカルバスとCPU4とROM制御メモリバスとRAM制御メモリバスのみが低速で動作していればよい。スタンバイ状態とは、低速動作状態が予め決められた一定時間以上続いた場合に、しばらく動作要求はないことを予測し超低消費電力モードになった状態である。この状態のときは、各ホストI/Fが動作していればよいだけなので、ローカルバスのみが低速で動作していればよい。ホストコンピュータからの、印刷要求等の動作要求があった場合には、それを受けたホストI/FがCPU4やROM9やRAM10を割り込み処理等でクロックを供給して低速動作状態に移行させる。図3の表の下2段は以上説明した条件を示している。
【0041】
以上説明した図3の表の内容はROM9に格納されている本プリンタのファームウェアがその内容を参照できるようなテーブルの形態でやはりROM9中に格納されている。
【0042】
以下、図2のフローチャートを基に本プリンタの動作を説明する。プリンタの電源が投入されると、CPU4が全体の制御を司り、ROM9の本プリンタのファームウェアが実行開始される(ステップS1)。次に、操作パネル18の電源ランプを点燈させ、プリンタ全体のイニシャライズ処理が行われる(ステップS2)。その後、ファームウェアは、図3の表の内容を関連付けたテーブルを参照して、低速動作状態に対応する各部の基本動作クロックを設定し、低速動作状態に移行する(ステップS3)。この際、操作パネルには印刷可能状態を示す表示がなされ、操作パネルの制御や各種センサーの監視等必要最小限の処理が行われる。この後、ファームウェアは自身が管理するタイマーを参照しながら動作要求がない状態が一定時間継続しているか判定し(ステップS4,No)、各ホストI/Fからの印刷要求を待つ状態になる(ステップS6,No)。
【0043】
この状態で、タイマが予め定められた一定時間の継続を検出すると(ステップS4,Yes)、にテーブルを参照してスタンバイ状態に対応する各部の基本動作クロックを設定し、スタンバイ状態に移行する(ステップS5)。このスタンバイ状態では、各ホストI/Fが動作していればよいだけなので、ローカルバスのみがしかも低速で動作しているだけであり、消費電力がかなり小さくなる。
【0044】
この後、何れかのホストコンピュータが印刷要求コマンドや印刷データを送ろうとすると(ステップS6,Yes)、プリンタ側の対応するホストI/F機能からインターラプト処理等によりCPU4にデータ転送要求があったことを知らせる。そして、この時にスタンバイ状態になっている場合には、CPU4はファームウェアが実行再開できるように、低速動作状態に対応する各部の基本動作クロックを設定し、低速動作状態に移行する(ステップS7)。実行再開されたファームウェアは、ホストI/F機能を制御し、ホストコンピュータとの間に通信ラインを確立する(ステップS8)。さらに、そのホストI/F機能の通信モードや画像データのフォーマットや圧縮方式等の通信条件をホストコンピュータとの間で確認し合い取り決める(ステップS9)。この時、ホストコンピュータとの間で取り決められた通信条件に対応する条件を、図3の表の内容を関連付けたテーブルを参照して対応する各部の基本動作クロックを設定する(ステップS10)。
【0045】
この後は、設定された各部の基本動作クロックの処理スピードで、従来と同様に印刷処理を行う(ステップS11)。つまり、ホストコンピュータから転送されてくる画像データの転送レートに対して、そのデータの印刷処理が遅れることなく行える必要最小限の各部の回路動作速度で各処理が行なわれる。つまり、必要最小限の消費電力でホストコンピュータから転送されてくる画像データの転送レートに見合う速度で印刷処理が行える。
【0046】
印刷処理が終了すると、ステップS3に戻り、前述した動作が、プリンタがパワーオフされるまで継続される。
【0047】
以上説明したように、従来のパワーマネージメントに追加し、ホストI/Fの種類やその転送モード、また、ホストI/F経由で転送されるデータの圧縮モード等の各モード毎に、予め設定されたCPU動作クロックや画像処理回路動作クロックや各種データバスの動作クロックやヘッドの駆動パルス周波数等を選択できる手段を設け、各モードに対応し、そのモードでの印刷処理をその印刷処理が遅れることなく行える必要最小限の各部の基本動作クロックやヘッドの駆動パルス周波数等で動作させることによりプリンタの印刷動作時にも効率的なパワーマネージメントが行える。
【0048】
なお本実施形態では、図3に示した7つの基準クロックが、前述したクロック制御回路8により供給される。しかしながら、ローカルバス基本動作クロックとROM基本動作クロックは同一周波数であり、CPU基本動作クロックと画像処理回路基本動作クロックとエンジンI/Fバス基本動作クロックは互いに同じ周波数であり、エンジン制御回路基本動作クロックはエンジンインターフェースバス基本動作クロックの2分の1の周波数である。したがって、これら2系統の基準クロックに、それらの何れとも異なるRAM基本動作クロックを加えた全部で3系統のクロックが、クロック制御回路8により供給される。なおRAM基本動作クロックの最高周波数は、図3においては100MHzとなっている。これを66MHzにすれば、RAM基本動作クロックはローカルバス基本動作クロックの2倍の周波数となり、クロック制御回路8により供給されるクロック信号は2系統で済む。また、スタンバイ状態においてローカルバス基本動作クロックとROM基本動作クロックとは異なる周波数となる。この場合には、ROM基本動作クロックの周波数は0MHzであるので、例えば、クロック制御回路8からのROM基本動作クロックの供給を絶ち、ROM基本動作クロックとしてロウレベルの直流信号を供給する回路を構成することで、スタンバイ状態のみ異なる周波数の供給が可能となる。
【0049】
したがって、ROM9には、図3の表に記載された周波数をクロック制御回路8により出力させるための分周率に応じた定数が、データが入力されるホストI/Fの種類および転送モードおよびデータ圧縮方法をインデックスとして登録されていてもよい。上述したように、供給されるクロックは7つあるものの、同一周波数のクロックは別個に生成する必要はないので、登録されている定数は、(ローカルバス基本動作クロック、ROM基本動作クロック)の系統と、RAM基本動作クロックの系統と、(CPU基本動作クロック、画像処理回路基本動作クロック、エンジンI/F基本動作クロック、エンジン制御回路基本動作クロック)の系統の、3系統に対応したものである。
【0050】
そして、周波数切り替えの際には、データが入力されるホストI/Fの種類および転送モードおよびデータ圧縮方法をインデックスとしてその表を検索し、該当する定数を、それぞれの系統に対応する可変分周器に設定することで、発生するクロック信号の周波数が切り替えられる。
【0051】
(第2の実施形態)
最近のプリンタにおいては、複数の印刷品位または印刷速度をサポートするものが多い。例えば、図4に示すように「はやい」、「標準」、「きれい」の3つの印刷モードをサポートしている。これらの印刷モードはホストコンピュータからの印刷画像データ転送時に印刷モード指定情報として転送されて、プリンタがその印刷モード指定情報を参照することにより、印刷モードが決定される。これらの各印刷モードの違いは図4に示すように、出力解像度、マルチパス処理のパス数、画像処理時に扱う色の階調数等である。
【0052】
なお、マルチパス処理とは、図7に示すキャリッジHCを一回走査するごとにヘッド幅分印刷用紙を搬送せず、重複して記録される部分が残るように搬送し、複数回の走査により画像を完成させる技術である。例えば、1回の用紙の搬送量をヘッド幅の2分の1とすれば、ある領域に注目すると、その領域の画像は2回のヘッドの走査で形成される。これを、パス数が2であるという。また、1回の用紙の搬送量をヘッド幅の4分の1とすれば、4回の走査で画像が形成される。これをパス数が4であるという。同様にパス数が8の場合などもある。パス数に応じて形成される画像の画素密度を高めることができる。もちろんマルチパスの場合には、逐次的に画像を完成させるのではなく、2度目以降の走査により、いったん記録した画素間に補間するようにして画素を記録するため、記録する位置に応じて画像データがヘッドに供給される。
【0053】
このようにモードによりデータ量や印刷速度が相違するために、各印字モードにおいてプリンタの各機能ユニットに要求する負荷が異なる。なお、第1実施形態で説明したようにホストI/Fのデータ転送レートが高い場合や低い場合等の条件と組み合わせると説明が複雑になるために、説明を単純化するために、ヘッドの駆動周波数に対してホストI/Fの転送速度は十分速いと仮定する。つまり、ヘッドの駆動周波数は常に最大で動作していて、他の機能ユニットはヘッドの処理が滞りなく行えるようにデータ処理やデータ転送ができるように動作しているものと仮定する。ヘッドが最大駆動周波数で動作しているということは、ヘッドI/Fバス105も最大転送速度まで飽和していることになる。
【0054】
例えば、「はやい」モードにおいては、とにかくホストコンピュータから転送されてきたデータを、ホストI/F、CPU、RAM、画像処理回路、エンジン制御回路、ヘッドへと順次転送する必要がある。つまり、各ユニットとも最高速度で動作することになる。これに対し、「標準」モードにおいては、解像度が上がるためにホストコンピュータから転送されるデータは2倍になり、一見、ローカルバスは最高速で動作するべきであると思われがちであるが、実際にはマルチパスのパス数も増えているため、エンジン制御回路の負荷が増えてしまい、エンジンI/Fからのデータ転送(つまりエンジンI/Fバスの転送レート)が制限される。よって、ローカルバスのみならず、それより前段のユニットであるCPUや画像処理回路までも最高速度で動作しても無駄になる。
【0055】
さらに、エンジン制御回路自身も内蔵する描画データメモリからのデータ転送が多くなるが、より負荷の重いエンジンI/Fバスからの転送が減るためにかえって全体の負荷は減少する。
【0056】
また、「きれい」モードに至っては、さらにパス数が増えるため、ローカルバス、CPU、エンジン制御回路はさらに低速動作になる。しかし、画像処理回路は扱うデータの色の階調数が増えるために、急激に負荷が重くなり最高速度で動作する必要が出てくる。
【0057】
以上の、説明の内容を反映して、各ユニット等の基本動作クロック周波数に対応させたものが図4の表である。なお、プリンタの構成は、図6に示したものと同様であっても、図1にしめしたものと同様であってもよい。また、クロック制御回路8の構成は、第1実施形態で説明したとおりである。
【0058】
以下に、本実施形態を図5の動作フローに基づき説明する。まず、システム構成に関しては、第一の実施形態で説明した図1と同じである。そして、先ほど説明した図4の表の内容はROM9に格納されている本プリンタのファームウェアがその内容を参照できるようなテーブルの形態でやはりROM中に格納されている。図5のステップS101からステップS106までは、第一の実施例で説明した図2のステップS1からステップS6までと同様である。
【0059】
ステップS106のホストからの印刷要求を待っている状態で何れかのホストコンピュータが印刷要求コマンドや印刷データを送ろうとすると(ステップS106,Yes)、プリンタ側の対応するホストI/F機能からインターラプト処理等によりCPU4にデータ転送要求があったことを知らせる。印刷要求があった場合には、図4の表の「はやい」モードに対応する基本動作クロックを設定する(ステップS107)。これは、ホストコンピュータと通信を行ってみないと、どの印字モードで印字するのかがわからないため、とりあえず、最高速度の状態で準備しておくためである。
【0060】
次に、CPU4は、ホストI/F機能を制御してホストコンピュータとの間に通信ラインを確立する(ステップS108)。そして、ホストコンピュータから転送さてきた印刷画像データや印刷モード指定情報等を受信し、それらがRAMに格納される(ステップS109)。受信した印刷モード指定情報を基に、図4の表の内容を関連付けたテーブルを参照し対応する各部の基本動作クロックを設定する(ステップS110)。
【0061】
この後は、設定された各部の基本動作クロックの処理スピードで、従来と同様に印刷処理を行う(ステップS111)。つまり、本プリンタの最高速度のヘッド駆動周波数での印刷処理に対し、その印刷処理が遅れることなく行える必要最小限の各部の回路動作速度で各処理が行なわれる。つまり、必要最小限の消費電力でこのモードにおける最高速度の印刷処理が行える。
【0062】
印刷処理が終了すると、ステップS103に戻り、前述した動作が、プリンタがパワーオフされるまで継続される。
【0063】
以上説明したように、ホストコンピュータからの各印刷モード指定に対応し、そのモードでの印刷処理を行うために必要最小限のCPU動作クロックや画像処理回路動作クロックや各種データバスの動作クロックやヘッドの駆動パルス周波数等を選択できる手段を設け、ホストコンピュータからの各印刷モード指定に対応し、その指定された印刷モードでの印刷処理を各モード毎に予め設定された各部の基本動作クロックやヘッドの駆動パルス周波数等で動作させることによりプリンタの印刷動作時にも効率的なパワーマネージメントが行える。
【0064】
なお、図4のテーブルは、ROM9においては、同一の周波数およびその整数分の1の周波数のクロックをひとつの系統として、可変分周器に設定する定数のテーブルとして実現されてもよい。ただし、本実施形態の場合、印刷モードをインデックスとして登録される。クロックの系統に注目すると、図4と図3との相違としては、図3においてはCPU基本動作クロックと画像処理回路基本動作クロックとが同一の系統に属しているが、図4においては互いに異なる系統に属する点が挙げられる。図4に示していないクロックに関しては、例えば図3と同様の系統で供給される。したがって、ROM基本動作クロックとしてはローカルバス基本動作クロックと同じクロック(第1の系統)が、エンジンI/F基本動作クロックおよびエンジン制御部基本動作クロックとしては画像処理回路基本動作クロックと同系統のクロック(第2の系統)が供給される。また、RAM基本動作クロックについては、図3におけるCPU基本動作クロック50,40,30MHzにそれぞれ対応する、100,100,50MHZが、「はやい」「標準」「きれい」各モードに応じて供給されればよい(第3の系統)。また、CPU基本動作クロックは図4に記載したとおりに供給される(第4の系統)。
【0065】
したがって、ROM9には、上述した基本クロックをクロック制御回路8により出力させるための分周率に応じた定数が、印刷モードをインデックスとして登録されていてもよい。上述したように、供給されるクロックは7つあるものの、登録されている定数は、上述した4系統に対応したものである。
【0066】
そして、周波数切り替えの際には、印刷モードをインデックスとしてその表を検索し、該当する定数を、それぞれの系統に対応する可変分周器に設定することで、発生するクロック信号の周波数が切り替えられる。
【0067】
(その他の実施形態)
さらに、第一の実施形態と第二の実施形態とを組み合わせることにより、本プリンタの全てのホストI/Fおよび、そのホストI/Fの全てのモードで、全ての印刷モードにおいて、どの組み合わせで印刷を行っても、その印刷動作条件で最適なパワーマネージメントが行える。この場合、周波数を検索するためのインデックスは、データが入力されるホストI/Fの種類および転送モードおよびデータ圧縮方法および印刷モードとなる。
【0068】
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
【0069】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。
【0070】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体およびプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0071】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0072】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0073】
【発明の効果】
以上説明したように、外部機器と接続するための、複数の相異なる転送速度でデータを受信可能なインターフェース手段と、前記インターフェース手段により受信したデータを同期信号に同期して処理する処理手段と、前記処理手段により処理されたデータを、同期信号に同期して画像として出力する出力手段と、前記インターフェースの転送速度に応じて、前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する周波数変更手段とを備えることで、データの転送速度に応じて処理手段および出力手段の同期信号の周波数を変更し、消費電力を節約することができる。
【0074】
また、同期信号の周波数を、インターフェース部の種類に応じて変更することで、インターフェース部の種類に対して必要最小限の電力まで消費電力を節約することができる。
【0075】
また、同期信号の周波数を、転送モードに応じて変更することで、転送モードに対して必要最小限の電力まで消費電力を節約することができる。
【0076】
また、同期信号の周波数を、圧縮方法に応じて変更することで、圧縮方法に対して必要最小限の電力まで消費電力を節約することができる。
【0077】
また、同期信号の周波数を、出力モードに応じて変更することで、出力モードに対して必要最小限の電力まで消費電力を節約することができる。
【0078】
また、同期信号の周波数を、転送速度があがればより高く変更することで、インターフェースの種類や、転送モードに対して必要最小限の電力まで消費電力を節約することができる。
【0079】
また、同期信号の周波数を、圧縮率が高ければより高く変更することで、圧縮方法に対して必要最小限の電力まで消費電力を節約することができる。
【0080】
また、同期信号の周波数を、出力画像の画素密度が高ければより低く変更することで、画素密度に対して必要最小限の電力まで消費電力を節約することができる。
【図面の簡単な説明】
【図1】本発明を実施したプリンタシステム構成例の図である。
【図2】第一の実施形態のシステム動作フロー図である。
【図3】ホストI/F通信条件−基本動作クロック周波数対応表の図である。
【図4】印刷モード−基本動作クロック周波数対応表の図である。
【図5】第二の実施形態のシステム動作フロー図である。
【図6】従来のプリンタシステム構成例の図である。
【図7】インクジェットプリンタの斜視図である。
【符号の説明】
1 プリンタ
2 コントローラ部
3 エンジン部
4 CPU
5 ROM制御回路
6 RAM制御回路
7 ローカルバス制御機能
8 クロック制御回路
9 ROM
10 RAM
11 UAB1.1 I/F
12 Ethernet I/F
13 IEEE1394 I/F
14 ホストコンピュータA
15 ホストコンピュータB
16 ホストコンピュータC
17 操作パネル I/F
18 操作パネル
19 画像処理回路
20 エンジンI/F
21 エンジン制御回路
22 描画データメモリ
23 ヘッド
24 パラレルポート I/F
101 ローカルバス
102 ROM制御メモリバス
103 RAM制御メモリバス
104 エンジンI/Fバス
105 ヘッドI/Fバス
200 クロック制御信号
201 ローカルバス基本動作クロック
202 CPU基本動作クロック
203 ROMアクセス基本動作クロック
204 RAMアクセス基本動作クロック
205 画像処理回路基本動作クロック
206 エンジンI/F基本動作クロック
207 エンジン制御回路基本動作クロック
208 ヘッド駆動クロック
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printer having, for example, a plurality of host interfaces (I / F), a plurality of transfer modes of a host I / F, a plurality of compression methods for image data transferred on the host I / F, and a plurality of print modes. More particularly, the present invention relates to a power management method for a printer.
[0002]
[Prior art]
FIG. 6 shows a system configuration example of a conventional ink jet printer. In FIG. 1, a printer 1 includes a controller unit 2 and an engine unit 3. The controller unit 2 controls the entire printer so that printing can be performed based on commands and data sent from a host computer via a parallel port I / F that is a host I / F of the printer 1. The engine unit 3 controls a driving mechanical unit (not shown) that conveys printing paper of a printer, moves a head unit, and the like based on an instruction from the controller unit 2 and monitors the state of various sensors to print drawing data. And controls the ink to be ejected from the head in synchronization with the operation of the feed drive mechanical unit.
[0003]
The CPU 4 controls the entire operation of the controller unit 2 and has a ROM control circuit 5 capable of connecting a ROM, a RAM control circuit 6 capable of connecting a RAM, and a local bus control function 7 for connecting peripheral devices. The clock control circuit 8 has a plurality of clock outputs (201 to 204). Only the CPU clock 202 can variably control the output frequency by control from the CPU (control signal 200).
[0004]
The ROM 9 stores firmware and fixed data for controlling the operation of the printer 1, and is connected to a ROM control memory bus 102 configured by the ROM control function 5 of the CPU 4. The RAM 10 is a memory that stores a work area when the CPU 4 executes a program, image data transmitted from the host computer, and the like, and is connected to the RAM control memory bus 103 configured by the RAM control function 6 of the CPU 4. The RAM control memory bus 103 is connected to the RAM control memory bus 103 so that the image data on the RAM 10 can be shared and accessed by the image processing circuit 19 for converting the image data into drawing data corresponding to the required printing speed, required image quality, and the like, in addition to the CPU 4. It is also connected to an image processing circuit.
[0005]
The host I / F 24 is an interface for communicating with the host computer 14, and has conventionally been mainly constituted by a parallel port. The host I / F 24 is connected to the local bus 101 configured by the local bus control function 7 of the CPU 4, and controls data transfer between the host computer 14 and the CPU 4. The operation panel I / F 17 is also connected to the local bus 101, and controls the operation panel 18 (displaying the operation state of the printer and setting and inputting the operation mode) composed of a small LCD display and numeric keys.
[0006]
The engine I / F 20 is an interface for performing image processing by the image processing circuit 19 to convert image data sent from the host computer 14 into drawing data, and then transferring the drawing data to the engine unit 3. The transfer of drawing data from the engine I / F 20 to the drawing data memory 22 which is built in and controlled by an engine control circuit 21 (described later) is performed via an engine I / F bus 104. The engine control circuit 21 sends data to the head unit while controlling the drive mechanical unit of the engine unit 3 and controls the ink ejection of the head while synchronizing with the operation of the drive mechanical unit. The engine control circuit 21 temporarily stores the drawing data transferred from the image processing circuit 19, and reads out the stored data as drawing data in a data arrangement convenient for the head configuration, the order of ejection, and the like. It has a possible drawing data memory 22. Data is transferred from the engine control circuit 21 to the head via the head I / F bus 105. The head 23 discharges ink onto print paper in accordance with an instruction from the engine control circuit.
[0007]
In the above configuration, when the power of the printer 1 is turned on, the CPU 4 controls the entire control, the firmware of the ROM 9 is executed by the CPU 4, the power lamp of the operation panel 18 is turned on, and the initialization of the printer is performed. , And waits for a print request from the host I / F. The operation panel 18 displays a message indicating a printable state. In this state, when the host computer 14 attempts to send a print request command or print data, the parallel port I / F (host I / F) 24 informs the CPU 4 of the data transfer request by interrupt processing or the like. The CPU 4 establishes a communication line with the host computer 14. Further, communication conditions such as a communication mode, a format of image data, and a compression method are confirmed with the host computer and negotiated. After that, print mode designation information and image data are transferred in the communication mode of the determined communication conditions. The image data is transferred to the RAM 10 via the host I / F function or the CPU 4. The image data transferred to the RAM 10 is subjected to decoding and image processing corresponding to the image format and compression method of the communication conditions previously determined with the host computer 14, and further to the designated print mode. Image processing is performed to generate drawing data. Each time the drawing data is collected by a predetermined amount, the drawing data is transferred to the drawing data memory of the engine control circuit 21. Further, the operation of the drive mechanical unit controlled by the engine control circuit 21 and the head 23 The ink is transferred to the head 23 in synchronization with the ejection frequency and the like, and the ink corresponding to the drawing data is ejected from the head 23 onto a print sheet to perform a printing process.
[0008]
Conventionally, in the above-described printer, the operation clock of the CPU is reduced when a state in which there is no operation request of the printer, such as an operation of a printer operation panel or a command from a host computer, continues for a predetermined time.
[0009]
That is, during the printing operation, the basic operation clocks such as the CPU 4, the local bus 101, the ROM control memory bus 102, the RAM control memory bus 103, the image processing circuit 19, the engine I / F 20, the engine control circuit 21, and the ejection frequency of the head 23 are , Was always running at the highest speed to get the best performance of the printer working. After the printing process is completed, only the frequency of the basic operation clock of the CPU 4 is determined by the clock control signal 200 only when the state of no printer operation request such as a print request from the next host computer continues for a certain period of time or more. The control circuit 8 was operated) to lower or stop. That is, the state has shifted to the standby state.
[0010]
[Problems to be solved by the invention]
As described above, in the above-described conventional example, power can be saved only when the printer is in the standby state, and the printer always operates at full power during operation. In addition, even in the standby mode, the operation clocks of the circuits other than the CPU are driven at the maximum speed. Therefore, there is a problem that power consumption does not decrease so much even during standby. Further, when the driving rate is high, such as in a printer connected to a network, the number of standby states is reduced, and the effect of power management is reduced.
[0011]
On the other hand, a variety of new host I / Fs are often employed in recent printers, and the data transfer speeds of the respective host I / Fs are different. Further, even if one host I / F is viewed, there are a plurality of transfer modes, and the transfer speed also differs depending on the mode.
[0012]
In a printer equipped with such a plurality of host I / Fs or an I / F having a plurality of transfer modes even with one host I / F, conventionally, all circuits are always operated. And the bus was running at the fastest basic operating clock for the best performance.
[0013]
Therefore, when the print data (image data) between the host computer and the printer is transferred via the host I / F having a relatively low transfer speed, or even when the host I / F has a high transfer speed. When transferring in a low transfer mode (10 BASE-T mode of Ethernet, Low Speed mode of USB, S100 mode of IEEE 1394, etc.), only wasteful power is consumed. This is because even if the internal operation of the printer is fast, the print data cannot be output quickly unless the print data is transferred following.
[0014]
SUMMARY OF THE INVENTION The present invention has been made in view of the above conventional example, and has as its object to provide a printer that saves power consumption by changing the frequency of a synchronization signal of a processing unit and an output unit in accordance with a data transfer speed, and to provide a control method thereof. Aim.
[0015]
Further, in addition to the conventional power management, the type of data communication interface between the printer and the host computer (hereinafter referred to as a host I / F), its transfer mode, and the data transferred via the host I / F CPU operation clock, image processing circuit operation clock, and operation of various data buses suitable for print processing operation in each mode such as compression method, image processing mode, print mode distinguished by print resolution and print quality, etc. A means for selecting a clock, a driving pulse frequency of a head, and the like is provided, and for each of the modes, an operation is performed at a preset basic operation clock, a driving pulse frequency of the head, and the like, so that efficient power can be obtained even during a printing operation of the printer. An object of the present invention is to provide a printer capable of performing management and a control method thereof. To.
[0016]
[Means for Solving the Problems]
In order to achieve the above object, the present invention has the following configuration.
[0017]
Interface means for connecting to an external device capable of receiving data at a plurality of different transfer rates;
Processing means for processing data received by the interface means in synchronization with a synchronization signal;
An output unit that outputs the data processed by the processing unit as an image in synchronization with a synchronization signal,
Frequency changing means for changing the frequency of the synchronization signal of each of the processing means and the output means in accordance with the transfer speed of the interface.
[0018]
More preferably, the interface means has a plurality of different types of interface units, and the transfer rate is determined according to the type of the interface unit.
[0019]
More preferably, the interface means can receive data in a plurality of different transfer modes, and the transfer rate is determined according to the transfer mode.
[0020]
More preferably, the data received by the interface unit is compressed by any of a plurality of different compression methods, and the frequency changing unit further includes the processing unit and the output unit according to the compression method. Change the frequency of each synchronization signal.
[0021]
More preferably, the data received by the interface unit includes an output mode indicating that the data is output by any one of a plurality of different output methods, and the frequency changing unit further includes the output mode according to the output mode. The frequency of the synchronization signal of each of the processing means and the output means is changed.
[0022]
More preferably, the higher the transfer rate, the higher the frequency.
[0023]
More preferably, the frequency of each of the synchronizing signals is optimized according to the data compression ratio so that each unit of the device has a minimum necessary operating speed.
[0024]
More preferably, the output mode indicates the pixel density of an image to be output, and the frequency of each of the synchronization signals is optimized so that each unit of the device has a minimum necessary operation speed according to the pixel density.
[0025]
BEST MODE FOR CARRYING OUT THE INVENTION
(1st Embodiment)
FIG. 1 shows an example of a system configuration in which the present invention is applied to an ink jet printer. In FIG. 1, a printer 1 is a printer embodying the present invention, and includes a controller unit 2 and an engine unit 3. The controller 2 controls the entire printer so that printing can be performed based on commands and data sent from the host computers 14, 15, 16 via the host I / Fs 11, 12, 13 of the printer 1, respectively. The engine unit 3 controls a driving mechanical unit (not shown) that conveys printing paper of a printer, moves a head unit, and the like based on an instruction from the controller unit 2 and monitors the state of various sensors to print drawing data. And an engine unit 3 for controlling the ejection of ink from the head while synchronizing with the operation of the feed drive mechanical unit.
[0026]
The CPU 4 controls the entire operation of the controller unit 2, and has a ROM control circuit 5 capable of connecting a ROM, a RAM control circuit 6 capable of connecting a RAM, and a local bus control function 7 for connecting peripheral devices. . The clock control circuit 8 outputs a plurality of clocks (a local bus basic operation clock 201, a CPU basic operation clock 202, a ROM access basic operation clock 203, a RAM access basic operation clock 204, and an image) under the control of the CPU 4 (clock control signal 200). The output frequencies of the processing circuit basic operation clock 205, the engine I / F basic operation clock 206, the engine control circuit basic operation clock 207, and the head drive clock 208 can be variably controlled.
[0027]
The clock control circuit 8 can be realized by, for example, a PLL frequency synthesizer. In general, a PLL frequency synthesizer divides a signal having a frequency stable from a crystal oscillator or the like as a signal source into a reference signal, and generates a reference signal and a signal obtained by dividing the output signal of the PLL frequency synthesizer by a variable frequency divider. Is input to a phase comparator composed of a SAW convolver or the like, the output is input to a voltage controlled oscillator through a low-pass filter, and the output of the voltage controlled oscillator is used as an output signal of a PLL frequency synthesizer. . Here, since the frequency division ratio by the variable frequency divider can be changed according to the setting of the register and the like, the CPU 4 can control the output frequency. In order to supply clocks having different frequencies independently of each other, for example, a synthesizer is provided only for the type of the clock. However, even if the frequencies are different, if one is an integral multiple of the other, the former frequency may be divided as necessary.
[0028]
The ROM 9 is a ROM in which firmware for controlling the operation of the printer 1 and fixed data are stored. The ROM 9 is connected to a ROM control memory bus 102 configured by the ROM control function 5 of the CPU. The RAM 10 is a RAM that stores a work area when the CPU 4 executes a program, image data transmitted from the host computer, and the like, and is connected to the RAM control memory bus 103 configured by the RAM control function 6 of the CPU 4. The RAM control memory bus 103 is connected to the RAM control memory bus 103 so that the image data on the RAM 10 can be sharedly accessed by the image processing circuit 19 for converting the image data into drawing data according to the required printing speed, required image quality, and the like, in addition to the CPU 4. It is also connected to the image processing circuit 19.
[0029]
The host I / Fs 11, 12, and 13 are host I / Fs for communicating with the host computer A14, the host computer B15, and the host computer C16, respectively, and are interfaces conforming to USB 1.1, Ethernet, and IEEE 1394 standards, respectively. These host I / Fs are connected to a local bus 101 (for example, a PCI bus) configured by the local bus control function 7 of the CPU 4 and control data transfer between the host computer and the CPU 4. The operation panel I / F 17 is connected to a local bus, and controls an operation panel 18 (displaying an operation state of the printer and setting and inputting an operation mode) composed of a small LCD display and numeric keys. An operation panel I / F.
[0030]
The engine I / F 20 is an interface for performing image processing on image data sent from the host computers 14, 15, 16, converting the image data into drawing data, and transferring the drawing data to the engine unit 3. The transfer of drawing data from the engine I / F 20 to the drawing data memory 22 which is built in and controlled by an engine control circuit 21 (described later) is performed via an engine I / F bus 104. The engine control circuit 21 sends data to the head unit 23 while controlling the driving mechanical unit of the engine unit 3 and controls the ink ejection of the head while synchronizing with the operation of the driving mechanical unit. The engine control circuit 21 temporarily stores the drawing data transferred from the image processing circuit 19, and reads out the stored data as drawing data in a data arrangement convenient for the configuration of the head 23, the order of ejection, and the like. And a drawing data memory 22 capable of performing the following operations. Data is transferred from the engine control circuit 21 to the head 23 via the head I / F bus 105. The head 23 discharges ink onto print paper in accordance with an instruction from the engine control circuit 21. The head 23 continuously discharges ink onto printer paper, and the discharge speed is constant during printing of one image, and the speed is represented by a discharge frequency. The ejection frequency is determined by a head drive pulse clock (208 in FIG. 1) supplied to the head.
[0031]
FIG. 7 is a schematic view of the inkjet recording apparatus IJRA. The ink jet recording apparatus IJRA is an example of a printing mechanism of the engine unit 3 in FIG. In the figure, a carriage HC is engaged with a spiral groove 5004 of a lead screw 5005 by a pin (not shown), and leads via driving force transmission gears 5011 and 5009 in conjunction with forward and reverse rotation of a driving motor 5013. When the screw 5005 rotates, it reciprocates in the directions of arrows a and b. An ink jet recording head 23 is mounted on the carriage HC. The paper pressing plate 5002 presses the printing paper against the platen 5000 in the moving direction of the carriage HC. The photocouplers 5007 and 5008 are home position detecting means for confirming the presence of the lever 5006 of the carriage HC in this area and switching the rotation direction of the motor 5013 and the like. The mounting member 5019 is a member that supports a cap member 5022 that caps the front surface of the recording head 23. The suction unit 5015 suctions the inside of the cap, and performs suction recovery of the recording head through the opening 5023 in the cap. The mounting member 5019 is a member that enables the cleaning blade 5017 to move in the front-rear direction, and these are supported by the main body support plate 5018. As the blade 5017, a cleaning blade of a well-known form other than this form can be applied to the present embodiment. The lever 5021 is a lever for starting suction for suction recovery, and moves with the movement of the cam 5020 that engages with the carriage, and the driving force from the driving motor moves by a known transmission means such as clutch switching. Controlled.
[0032]
In the above configuration, when the power of the printer 1 is turned on, the CPU 4 controls the entire operation, the firmware of the ROM 9 is executed, the power lamp of the operation panel 18 is turned on, and after the initialization processing of the printer is performed, The printer waits for a print request from the host I / F. The operation panel 18 displays a message indicating a printable state. In this state, when any of the host computers attempts to send a print request command or print data, the corresponding host I / F function of the printer notifies the CPU 4 of a data transfer request by interrupt processing or the like. The CPU 4 controls the host I / F function and establishes a communication line with the host computer. Further, communication conditions such as a communication mode of the host I / F function, a format of image data, and a compression method are confirmed with the host computer and negotiated. After that, the print mode designation information and the image data are transferred in the communication mode of the determined communication condition. The image data is transferred to the RAM 10 via the host I / F function or the CPU 4 (or the host I / F function becomes a bus master and directly). The image data transferred to the RAM 10 is subjected to decoding and image processing corresponding to the image format and compression method of the communication conditions previously determined with the host computer, and is further processed according to the designated print mode. Processing is performed to generate drawing data. Each time the drawing data is collected by a certain amount, the drawing data is transferred to the drawing data memory of the engine control circuit 21. Further, the operation of the drive mechanical unit controlled by the engine control circuit 21 and the discharge of the head are controlled in accordance with the detection results of various sensors. The print data is transferred to the head unit in synchronization with the frequency or the like, and ink corresponding to the drawing data is ejected from the head 23 onto print paper to perform printing processing.
[0033]
In the present invention, the CPU 4 outputs the clocks of the clock control circuit 8 via the clock control signal 200 (local bus basic operation clock 201, CPU basic operation clock 202, ROM control memory bus basic operation clock 203, RAM control memory bus basic operation). Clock 204, image processing circuit basic operation clock 205, engine I / F bus basic operation clock 206, engine control circuit basic operation clock 207, head drive clock 208). When the F or slow transfer mode is used, the basic operation clock of each unit is switched to a frequency set in advance for each mode, thereby eliminating waste of power consumption.
[0034]
FIG. 2 is a flowchart of the operation of the printer 1 according to the present invention, and FIG. 3 is a table defining the speed of the basic operation clock under various conditions.
[0035]
The table of FIG. 3 shows, from the top, a state 301 in each mode of IEEE 1394, a state 302 in each mode of Ethernet, a state 303 in each mode of USB 1.1, and a low-speed operation state according to the type of the host I / F. 304, a basic operation clock in the standby state 305 is described.
[0036]
In FIG. 3, when JPEG-compressed image data is transmitted from the host computer to the printer in the S400 transfer mode of the IEEE 1394 host I / F, the basic operation clock of the local bus 101 is 33 MHz, The basic operation clock is 50 MHz, the basic operation clock of the ROM control memory bus 102 is 33 MHz, the basic operation clock of the RAM control memory bus 103 is 100 MHz, the basic operation clock of the image processing circuit 19 is 50 MHz, and the basic operation of the engine I / F bus 104. The clock is operated at 50 MHz, and the head driving frequency is operated at 25 KHz. In the host I / F of this printer, the S400 transfer mode of the IEEE 1394 host I / F has the highest data transfer rate, and the data compression rate of JPEG is higher than that of Packbits. That is, the condition at the top of the table in FIG. 3 means that the transfer rate of image data is the highest for the printer 1 and the printer 1 operates at the highest speed.
[0037]
On the other hand, in the second row of the table in FIG. 3, the compression method of the image data is Packbits with a low compression ratio. The data rate until the data is transferred from the host I / F to the RAM 10 via the local bus is the same because the transfer mode is the same. The local bus basic operation clock 201, the ROM control memory bus basic operation clock 203, the RAM The control memory bus basic operation clock 204 is the same as that at the top of the table in FIG.
[0038]
However, when the image data is decompressed (expanded) on the RAM 10, since the compression rate by Packbits is lower than that of JPEG, the amount of data to be processed per unit time is larger than that of JPEG at the top of the table in FIG. Is less. Therefore, the CPU basic operation clock, the image processing circuit basic operation clock, the engine I / F bus basic operation clock, and the head drive clock in the subsequent processes for processing the data may have slightly lower frequencies than the JPEG compression method. Good. As described above, FIG. 3 shows various circuits and buses in the case where various communication conditions and print processing in the printer for the communication conditions are performed at a minimum necessary processing speed when image data is transferred from the host computer. Are associated with the basic operation clock.
[0039]
Similarly, a high clock is associated with a high transfer rate and a low clock is associated with a low transfer rate for each host I / F and transfer mode. In addition, a lower clock is associated with a scheme with a lower compression ratio than with a compression scheme with a higher compression rate. For example, in the S100 mode of the IEEE1394 interface, the transfer rate is 100 Mbps, which is the same transfer rate as 100BASE-TX of Ethernet. Therefore, the basic operation clock is the same if the compression method is the same. The transfer rate of 10BASE-T of Ethernet is 10 Mbps, which is almost the same as 12 Mbps of HS mode of USB1.1 interface. Therefore, the basic operation clocks are the same if the compression method is the same.
[0040]
The lower two rows in the table of FIG. 3 show the correspondence of the basic operation clock when the printer is in a special state. First, the low-speed operation state 304 is a state in which there is no heavy processing such as print processing (that is, a print data waiting state), and the minimum necessary processing such as control of the operation panel 18 and monitoring of various sensors is performed. State. In this state, the firmware with a light load is being executed by the CPU 4 and only the operation panel I / F 17 is controlled via the local bus. Therefore, only the local bus, the CPU 4, the ROM control memory bus, and the RAM control memory bus are used. It only needs to operate at low speed. The standby state is a state in which, when the low-speed operation state continues for a predetermined time or more, it is predicted that there is no operation request for a while, and the apparatus enters the ultra-low power consumption mode. In this state, it is only necessary that each host I / F operates, so that only the local bus needs to operate at a low speed. When an operation request such as a print request is received from the host computer, the host I / F receiving the request supplies the CPU 4, the ROM 9, and the RAM 10 with a clock by interrupt processing or the like to shift to a low-speed operation state. The lower two rows in the table of FIG. 3 show the conditions described above.
[0041]
The contents of the table of FIG. 3 described above are also stored in the ROM 9 in the form of a table in which the firmware of the printer stored in the ROM 9 can refer to the contents.
[0042]
Hereinafter, the operation of the printer will be described with reference to the flowchart of FIG. When the power of the printer is turned on, the CPU 4 controls the entire control, and the execution of the firmware of the printer in the ROM 9 is started (step S1). Next, the power lamp of the operation panel 18 is turned on, and initialization of the entire printer is performed (step S2). Thereafter, the firmware refers to the table in which the contents of the table in FIG. 3 are associated, sets the basic operation clock of each unit corresponding to the low-speed operation state, and shifts to the low-speed operation state (step S3). At this time, a display indicating a printable state is displayed on the operation panel, and necessary minimum processing such as control of the operation panel and monitoring of various sensors is performed. Thereafter, the firmware refers to a timer managed by the firmware, determines whether there is no operation request for a certain period of time (step S4, No), and enters a state of waiting for a print request from each host I / F (step S4). Step S6, No).
[0043]
In this state, when the timer detects the continuation of a predetermined period of time (step S4, Yes), the basic operation clock of each unit corresponding to the standby state is set by referring to the table, and the state is shifted to the standby state ( Step S5). In this standby state, it is only necessary that each host I / F is operating, so that only the local bus is operating at a low speed, and the power consumption is considerably reduced.
[0044]
Thereafter, when one of the host computers attempts to send a print request command or print data (step S6, Yes), a data transfer request is issued to the CPU 4 from the corresponding host I / F function of the printer by interrupt processing or the like. Let them know. If the CPU 4 is in the standby state at this time, the CPU 4 sets the basic operation clock of each unit corresponding to the low-speed operation state so that the execution of the firmware can be resumed, and shifts to the low-speed operation state (step S7). The firmware whose execution has been resumed controls the host I / F function and establishes a communication line with the host computer (step S8). Further, communication conditions such as a communication mode of the host I / F function, a format of image data, and a compression method are confirmed with the host computer and negotiated (step S9). At this time, the basic operation clock of each unit corresponding to the condition corresponding to the communication condition determined with the host computer is set with reference to the table in which the contents of the table of FIG. 3 are associated (step S10).
[0045]
Thereafter, print processing is performed in the same manner as in the related art at the set processing speed of the basic operation clock of each unit (step S11). In other words, each process is performed at the minimum necessary circuit operation speed of each unit that can perform the printing process of the data without delay with respect to the transfer rate of the image data transferred from the host computer. In other words, the printing process can be performed at a speed corresponding to the transfer rate of the image data transferred from the host computer with the required minimum power consumption.
[0046]
When the printing process is completed, the process returns to step S3, and the above-described operation is continued until the printer is powered off.
[0047]
As described above, in addition to the conventional power management, the mode is set in advance for each mode such as the type of the host I / F, the transfer mode thereof, and the compression mode of the data transferred via the host I / F. Means for selecting the CPU operating clock, the image processing circuit operating clock, the operating clock of various data buses, the driving pulse frequency of the head, etc., corresponding to each mode, and the printing process in that mode is delayed. By operating at the minimum necessary basic operation clock of each unit or the driving pulse frequency of the head, efficient power management can be performed even during the printing operation of the printer.
[0048]
In the present embodiment, the seven reference clocks shown in FIG. 3 are supplied by the clock control circuit 8 described above. However, the local bus basic operation clock and the ROM basic operation clock have the same frequency, the CPU basic operation clock, the image processing circuit basic operation clock, and the engine I / F bus basic operation clock have the same frequency. The clock is half the frequency of the engine interface bus basic operation clock. Accordingly, the clock control circuit 8 supplies a total of three clocks in which the two basic clocks and the RAM basic operation clock different from any of them are added. Note that the highest frequency of the RAM basic operation clock is 100 MHz in FIG. If this is set to 66 MHz, the RAM basic operation clock has twice the frequency of the local bus basic operation clock, and only two clock signals are supplied by the clock control circuit 8. In the standby state, the local bus basic operation clock and the ROM basic operation clock have different frequencies. In this case, since the frequency of the ROM basic operation clock is 0 MHz, for example, the supply of the ROM basic operation clock from the clock control circuit 8 is interrupted, and a circuit for supplying a low-level DC signal as the ROM basic operation clock is configured. Thus, it is possible to supply a different frequency only in the standby state.
[0049]
Therefore, in the ROM 9, a constant corresponding to the frequency division ratio for causing the clock control circuit 8 to output the frequency shown in the table of FIG. 3 is stored in the ROM 9, the type of the host I / F to which the data is input, the transfer mode, and the data. The compression method may be registered as an index. As described above, although there are seven clocks to be supplied, it is not necessary to separately generate clocks of the same frequency. Therefore, the registered constants are based on the (local bus basic operation clock, ROM basic operation clock) system. And a system of a RAM basic operation clock and a system of (CPU basic operation clock, image processing circuit basic operation clock, engine I / F basic operation clock, engine control circuit basic operation clock). .
[0050]
At the time of frequency switching, the table is searched using the type of host I / F to which data is input, the transfer mode, and the data compression method as indexes, and the corresponding constant is divided by the variable frequency division corresponding to each system. The frequency of the generated clock signal can be switched by setting the frequency of the clock signal.
[0051]
(Second embodiment)
Many recent printers support multiple print qualities or speeds. For example, as shown in FIG. 4, three print modes of “fast”, “standard”, and “fine” are supported. These print modes are transferred as print mode designation information when print image data is transferred from the host computer, and the printer refers to the print mode designation information to determine the print mode. As shown in FIG. 4, the differences between these print modes are the output resolution, the number of passes of the multi-pass process, the number of gradations of the colors handled during image processing, and the like.
[0052]
Note that the multi-pass processing means that the printing paper is not conveyed by the head width every time the carriage HC shown in FIG. 7 is scanned once, but is conveyed so that a portion to be overlapped is left. This is the technology to complete the image. For example, assuming that the transport amount of one sheet is の of the head width, focusing on a certain area, an image of the area is formed by two head scans. This is referred to as having two paths. Further, if the transport amount of one sheet is 4 of the head width, an image is formed by four scans. This is referred to as having four passes. Similarly, the number of paths may be eight. The pixel density of an image formed according to the number of passes can be increased. Of course, in the case of multi-pass, pixels are recorded by interpolating between pixels that have already been recorded by the second and subsequent scans instead of sequentially completing images. Data is supplied to the head.
[0053]
Since the data amount and the printing speed are different depending on the mode, the load required for each functional unit of the printer is different in each printing mode. Note that, as described in the first embodiment, the description becomes complicated when combined with conditions such as a high or low data transfer rate of the host I / F. It is assumed that the transfer speed of the host I / F is sufficiently high with respect to the frequency. That is, it is assumed that the driving frequency of the head is always operating at the maximum, and the other functional units are operating to perform data processing and data transfer so that the processing of the head can be performed without delay. The fact that the head operates at the maximum drive frequency means that the head I / F bus 105 is also saturated to the maximum transfer speed.
[0054]
For example, in the "fast" mode, it is necessary to sequentially transfer data transferred from the host computer to the host I / F, CPU, RAM, image processing circuit, engine control circuit, and head. That is, each unit operates at the maximum speed. In contrast, in the "standard" mode, the data transferred from the host computer is doubled due to the increased resolution, and at first glance it seems that the local bus should operate at the highest speed. Actually, since the number of paths of the multipath is also increased, the load on the engine control circuit is increased, and the data transfer from the engine I / F (that is, the transfer rate of the engine I / F bus) is limited. Therefore, it is useless to operate not only the local bus but also the CPU and the image processing circuit, which are the preceding units, at the maximum speed.
[0055]
Further, the data transfer from the drawing data memory, which also contains the engine control circuit itself, increases, but the transfer from the heavier load engine I / F bus decreases, and the overall load decreases instead.
[0056]
Further, in the “clean” mode, the number of passes further increases, so that the local bus, the CPU, and the engine control circuit operate at a lower speed. However, since the number of gradations of the color of the data to be processed increases, the load of the image processing circuit suddenly increases, and it becomes necessary to operate at the maximum speed.
[0057]
FIG. 4 is a table corresponding to the basic operation clock frequency of each unit and the like, reflecting the above description. The configuration of the printer may be the same as that shown in FIG. 6 or the same as that shown in FIG. The configuration of the clock control circuit 8 is as described in the first embodiment.
[0058]
Hereinafter, the present embodiment will be described based on the operation flow of FIG. First, the system configuration is the same as in FIG. 1 described in the first embodiment. The contents of the table of FIG. 4 described above are also stored in the ROM in the form of a table in which the firmware of the printer stored in the ROM 9 can refer to the contents. Steps S101 to S106 in FIG. 5 are the same as steps S1 to S6 in FIG. 2 described in the first embodiment.
[0059]
If any host computer attempts to send a print request command or print data while waiting for a print request from the host in step S106 (step S106, Yes), an interrupt is issued from the corresponding host I / F function on the printer side. The CPU 4 notifies the CPU 4 of the data transfer request through processing or the like. If there is a print request, a basic operation clock corresponding to the “fast” mode in the table of FIG. 4 is set (step S107). This is because it is not possible to know in which print mode to print unless communication with the host computer is performed, so that the printer is prepared at the maximum speed for the time being.
[0060]
Next, the CPU 4 controls the host I / F function to establish a communication line with the host computer (step S108). Then, print image data, print mode designation information, and the like transferred from the host computer are received, and are stored in the RAM (step S109). Based on the received print mode designation information, a basic operation clock of each unit is set with reference to a table in which the contents of the table of FIG. 4 are associated (step S110).
[0061]
Thereafter, the printing process is performed in the same manner as in the related art at the set processing speed of the basic operation clock of each unit (step S111). In other words, each process is performed at the minimum necessary circuit operation speed of each unit which can be performed without delay with respect to the print process at the head drive frequency of the maximum speed of the printer. That is, the printing process at the highest speed in this mode can be performed with the minimum necessary power consumption.
[0062]
When the printing process ends, the process returns to step S103, and the above-described operation is continued until the printer is powered off.
[0063]
As described above, in response to each print mode designation from the host computer, the minimum necessary CPU operation clock, image processing circuit operation clock, various data bus operation clocks and heads for performing print processing in that mode. Means for selecting the drive pulse frequency of the printer, etc., corresponding to each printing mode designation from the host computer, and performing a printing process in the designated printing mode in accordance with the basic operation clock and head of each unit preset for each mode. By operating at the driving pulse frequency of the printer, efficient power management can be performed even during the printing operation of the printer.
[0064]
The table in FIG. 4 may be realized in the ROM 9 as a table of constants to be set in the variable frequency divider, using a clock having the same frequency and a frequency that is a fraction of its integer as one system. However, in the case of the present embodiment, the print mode is registered as an index. Focusing on the clock system, the difference between FIG. 4 and FIG. 3 is that in FIG. 3, the CPU basic operation clock and the image processing circuit basic operation clock belong to the same system, but are different from each other in FIG. It belongs to the lineage. Clocks not shown in FIG. 4 are supplied, for example, in the same system as in FIG. Therefore, the same clock (first system) as the local bus basic operation clock is used as the ROM basic operation clock, and the same system as the image processing circuit basic operation clock is used as the engine I / F basic operation clock and the engine control unit basic operation clock. A clock (second system) is supplied. As for the RAM basic operation clock, 100, 100, and 50 MHZ corresponding to the CPU basic operation clocks 50, 40, and 30 MHz in FIG. 3 are supplied according to the “fast”, “standard”, and “clean” modes. (Third system). The CPU basic operation clock is supplied as described in FIG. 4 (fourth system).
[0065]
Therefore, a constant corresponding to the frequency division ratio for causing the clock control circuit 8 to output the basic clock described above may be registered in the ROM 9 using the print mode as an index. As described above, although seven clocks are supplied, the registered constants correspond to the four systems described above.
[0066]
When the frequency is switched, the table is searched using the print mode as an index, and the corresponding constant is set in the variable frequency divider corresponding to each system, whereby the frequency of the generated clock signal is switched. .
[0067]
(Other embodiments)
Further, by combining the first embodiment and the second embodiment, any combination of the host I / Fs of the printer and all the modes of the host I / Fs and all the print modes is possible. Even when printing is performed, optimal power management can be performed under the printing operation conditions. In this case, the index for searching for the frequency is the type of host I / F to which data is input, the transfer mode, the data compression method, and the print mode.
[0068]
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but can be applied to a device including one device (for example, a copier, a facsimile machine, etc.). May be applied.
[0069]
Further, an object of the present invention is to supply a storage medium (or a recording medium) recording software program codes for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or a CPU or a CPU) of the system or the apparatus. (MPU) reads and executes the program code stored in the storage medium.
[0070]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the program code itself and the storage medium storing the program code constitute the present invention.
[0071]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. This also includes a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0072]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function of the program is performed based on the instruction of the program code. This includes the case where the CPU provided in the expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0073]
【The invention's effect】
As described above, for connection to an external device, an interface unit capable of receiving data at a plurality of different transfer rates, a processing unit that processes data received by the interface unit in synchronization with a synchronization signal, An output unit for outputting data processed by the processing unit as an image in synchronization with a synchronization signal, and a frequency for changing a frequency of a synchronization signal of each of the processing unit and the output unit according to a transfer speed of the interface By providing the changing means, it is possible to change the frequency of the synchronization signal of the processing means and the output means according to the data transfer speed, and to save power consumption.
[0074]
Further, by changing the frequency of the synchronization signal in accordance with the type of the interface unit, power consumption can be reduced to the minimum power required for the type of the interface unit.
[0075]
Further, by changing the frequency of the synchronization signal in accordance with the transfer mode, it is possible to reduce power consumption to the minimum power required for the transfer mode.
[0076]
Further, by changing the frequency of the synchronization signal in accordance with the compression method, power consumption can be reduced to the minimum power required for the compression method.
[0077]
Further, by changing the frequency of the synchronization signal in accordance with the output mode, it is possible to reduce power consumption to the minimum power required for the output mode.
[0078]
In addition, by changing the frequency of the synchronization signal to a higher value as the transfer speed increases, power consumption can be reduced to a minimum power required for the type of interface and the transfer mode.
[0079]
Further, by changing the frequency of the synchronization signal to a higher value when the compression ratio is higher, power consumption can be reduced to the minimum power required for the compression method.
[0080]
Also, by changing the frequency of the synchronization signal to a lower value when the pixel density of the output image is higher, it is possible to reduce power consumption to the minimum power required for the pixel density.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of a printer system embodying the present invention.
FIG. 2 is a system operation flowchart of the first embodiment.
FIG. 3 is a table of a host I / F communication condition-basic operation clock frequency correspondence table.
FIG. 4 is a diagram of a correspondence table between a print mode and a basic operation clock frequency.
FIG. 5 is a system operation flowchart of the second embodiment.
FIG. 6 is a diagram illustrating a configuration example of a conventional printer system.
FIG. 7 is a perspective view of the ink jet printer.
[Explanation of symbols]
1 Printer
2 Controller section
3 Engine section
4 CPU
5 ROM control circuit
6 RAM control circuit
7 Local bus control function
8 Clock control circuit
9 ROM
10 RAM
11 UAB1.1 I / F
12 Ethernet I / F
13 IEEE1394 I / F
14 Host computer A
15 Host computer B
16 Host computer C
17 Operation panel I / F
18 Operation panel
19 Image processing circuit
20 Engine I / F
21 Engine control circuit
22 Drawing data memory
23 head
24 Parallel port I / F
101 Local bus
102 ROM control memory bus
103 RAM control memory bus
104 Engine I / F bus
105 Head I / F bus
200 clock control signal
201 Local bus basic operation clock
202 CPU basic operation clock
203 ROM access basic operation clock
204 RAM access basic operation clock
205 Image processing circuit basic operation clock
206 Engine I / F basic operation clock
207 Engine control circuit basic operation clock
208 Head drive clock

Claims (10)

外部機器と接続するための、複数の相異なる転送速度でデータを受信可能なインターフェース手段と、
前記インターフェース手段により受信したデータを同期信号に同期して処理する処理手段と、
前記処理手段により処理されたデータを、同期信号に同期して画像として出力する出力手段と、
前記インターフェースの転送速度に応じて、前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する周波数変更手段と
を備えることを特徴とするプリンタ。
Interface means for connecting to an external device capable of receiving data at a plurality of different transfer rates;
Processing means for processing data received by the interface means in synchronization with a synchronization signal;
An output unit that outputs the data processed by the processing unit as an image in synchronization with a synchronization signal,
A printer, comprising: frequency changing means for changing the frequency of a synchronization signal of each of the processing means and the output means in accordance with the transfer speed of the interface.
前記インターフェース手段は複数の相異なる種類のインターフェース部を有し、前記転送速度は、インターフェース部の種類に応じて定められていることを特徴とする請求項1に記載のプリンタ。2. The printer according to claim 1, wherein the interface unit has a plurality of different types of interface units, and the transfer speed is determined according to a type of the interface unit. 前記インターフェース手段は複数の相異なる転送モードにおいてデータを受信可能であり、前記転送速度は、前記転送モードに応じて定められていることを特徴とする請求項1または2に記載のプリンタ。3. The printer according to claim 1, wherein the interface unit can receive data in a plurality of different transfer modes, and the transfer speed is determined according to the transfer mode. 前記インターフェース手段により受信されるデータは、複数の相異なる圧縮方法のいずれかで圧縮されており、前記周波数変更手段は、さらに、前記圧縮方法に応じて前記処理手段および前記出力手段それぞれの同期信号の周波数を変更することを特徴とする請求項1乃至3のいずれか1項に記載のプリンタ。The data received by the interface means is compressed by one of a plurality of different compression methods, and the frequency changing means further comprises a synchronization signal for each of the processing means and the output means according to the compression method. The printer according to any one of claims 1 to 3, wherein the frequency is changed. 前記インターフェース手段により受信されるデータは、複数の相異なる出力方法のいずれかで出力されることを示す出力モードを含み、前記周波数変更手段は、さらに、前記出力モードに応じて応じて前記処理手段および前記出力手段それぞれの同期信号の周波数を変更することを特徴とする請求項1乃至4のいずれか1項に記載のプリンタ。The data received by the interface means includes an output mode indicating that the data is output by any one of a plurality of different output methods, and the frequency changing means further includes a processing means in accordance with the output mode. The printer according to any one of claims 1 to 4, wherein a frequency of a synchronization signal of each of the output units is changed. 前記転送速度がより速くなれば、前記周波数をより高く変更することを特徴とする請求項2または3に記載のプリンタ。4. The printer according to claim 2, wherein the higher the transfer speed, the higher the frequency is changed. 前記データの圧縮率に応じ、前記各同期信号の周波数を装置各部が必要最小限の動作速度になるように最適化することを特徴とする請求項4に記載のプリンタ。5. The printer according to claim 4, wherein the frequency of each of the synchronization signals is optimized so that each unit of the apparatus has a minimum necessary operation speed according to a compression rate of the data. 前記出力モードは出力される画像の画素密度を示し、画素密度に応じ、前記各同期信号の周波数を装置各部が必要最小限の動作速度になるように最適化することを特徴とする請求項5に記載のプリンタ。6. The output mode indicates a pixel density of an output image, and optimizes a frequency of each of the synchronization signals so that each unit of the apparatus has a minimum required operation speed according to the pixel density. The printer as described in. 複数の相異なる転送速度でデータを受信可能なインターフェース手段により外部機器と接続されたプリンタの制御方法であって、
前記インターフェース手段により受信したデータを同期信号に同期して処理する処理工程と、
前記処理手段により処理されたデータを、同期信号に同期して画像として出力する出力工程と、
前記インターフェースの転送速度に応じて、前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する周波数変更工程と
を備えることを特徴とするプリンタの制御方法。
A method for controlling a printer connected to an external device by an interface means capable of receiving data at a plurality of different transfer rates,
A processing step of processing data received by the interface means in synchronization with a synchronization signal;
An output step of outputting the data processed by the processing unit as an image in synchronization with a synchronization signal;
A frequency changing step of changing a frequency of a synchronization signal of each of the processing unit and the output unit according to a transfer speed of the interface.
複数の相異なる転送速度でデータを受信可能なインターフェース手段により外部機器と接続されたコンピュータにより実行されるプログラムであって、前記コンピュータにより、
前記インターフェース手段により受信したデータを同期信号に同期して処理する処理工程と、
前記処理手段により処理されたデータを、同期信号に同期して画像として出力する出力工程と、
前記インターフェースの転送速度に応じて、前記処理手段および前記出力手段それぞれの同期信号の周波数を変更する周波数変更工程と
を実行させるためのプログラム。
A program executed by a computer connected to an external device by an interface means capable of receiving data at a plurality of different transfer rates, by the computer,
A processing step of processing data received by the interface means in synchronization with a synchronization signal;
An output step of outputting the data processed by the processing unit as an image in synchronization with a synchronization signal;
A frequency changing step of changing a frequency of a synchronization signal of each of the processing unit and the output unit according to a transfer speed of the interface.
JP2002166119A 2002-06-06 2002-06-06 Printer and its control method Withdrawn JP2004009540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002166119A JP2004009540A (en) 2002-06-06 2002-06-06 Printer and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002166119A JP2004009540A (en) 2002-06-06 2002-06-06 Printer and its control method

Publications (1)

Publication Number Publication Date
JP2004009540A true JP2004009540A (en) 2004-01-15

Family

ID=30433789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002166119A Withdrawn JP2004009540A (en) 2002-06-06 2002-06-06 Printer and its control method

Country Status (1)

Country Link
JP (1) JP2004009540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1763238A3 (en) * 2005-08-29 2009-07-15 Fujitsu Microelectronics Limited Image processor, imaging device, and image processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1763238A3 (en) * 2005-08-29 2009-07-15 Fujitsu Microelectronics Limited Image processor, imaging device, and image processing system
US7936375B2 (en) 2005-08-29 2011-05-03 Fujitsu Semiconductor Limited Image processor, imaging device, and image processing system use with image memory

Similar Documents

Publication Publication Date Title
US7894085B2 (en) Image forming apparatus and method of controlling same
US20090282278A1 (en) Information processing apparatus, method for controlling information processing apparatus, and computer readable medium storing instructions for performing the method
JP5287297B2 (en) Data processing circuit, power saving method, power saving program, recording medium and device
JP2002142385A (en) Server device, network equipment, network system, and control method therefor
JP6873665B2 (en) Printing device, control method of printing device, and program
JP2011110808A (en) Printing apparatus and processing method therefor
JP2013146053A (en) Image processing apparatus, image processing circuit and control method of image processing apparatus
US7180613B2 (en) Image forming system of which components can be set at power saving mode individually
JP2004009540A (en) Printer and its control method
US20060028694A1 (en) Image processing apparatus and its control method
JP2002120435A (en) System, apparatus and method for imaging and storage medium
JP4748753B2 (en) Recording device
JP5643946B2 (en) Device having a plurality of interface units
JP3997069B2 (en) Integrated circuit device having spread spectrum oscillator and ink jet recording apparatus having the device
JP2002086844A (en) Image forming apparatus
JP5332923B2 (en) Image forming apparatus
US20110102825A1 (en) Image processing device having a plurality of control units
US20240073336A1 (en) Reading device and method for controlling reading device
JP4046917B2 (en) Image forming apparatus and control method thereof
US8988710B2 (en) Printing apparatus
JP2024033594A (en) Reading device and method for controlling reading device
JP2024033593A (en) Reading device and method for controlling reading device
JP2002347310A (en) Recorder and method for reducing power consumption
JP2004007485A (en) Image reproducing apparatus
US6278851B1 (en) Image forming and accounting system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906