JP2004142195A - Method for controlling recording position - Google Patents

Method for controlling recording position Download PDF

Info

Publication number
JP2004142195A
JP2004142195A JP2002308412A JP2002308412A JP2004142195A JP 2004142195 A JP2004142195 A JP 2004142195A JP 2002308412 A JP2002308412 A JP 2002308412A JP 2002308412 A JP2002308412 A JP 2002308412A JP 2004142195 A JP2004142195 A JP 2004142195A
Authority
JP
Japan
Prior art keywords
interval
recording
edge
pulse
cycle
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.)
Granted
Application number
JP2002308412A
Other languages
Japanese (ja)
Other versions
JP2004142195A5 (en
JP4366066B2 (en
Inventor
Arata Nakajo
中條 新
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 JP2002308412A priority Critical patent/JP4366066B2/en
Publication of JP2004142195A publication Critical patent/JP2004142195A/en
Publication of JP2004142195A5 publication Critical patent/JP2004142195A5/ja
Application granted granted Critical
Publication of JP4366066B2 publication Critical patent/JP4366066B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To update the period of a timing signal with high response to speed variation of a carriage. <P>SOLUTION: When recording is performed by scanning a recording medium with a carriage mounting a recording head having a recording element and a timing signal defining the driving timing of the recoding element is generated, periods of the rising and falling edges of a pulse signal being delivered from an encoder depending on the position of the carriage in the scanning direction are measured. When the period of the timing signal is calculated by dividing the period of the edge by a specified number, division is performed after a remainder produced in the previous calculation is added to the period of the edge and then the period of the timing signal is updated based on the calculation results. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は記録位置の制御に関し、特に、記録素子を有する記録ヘッドを搭載したキャリッジを記録媒体上で走査させて記録を行う際の、記録素子の駆動タイミングを規定するタイミング信号の生成に関するものである。
【0002】
【従来の技術】
例えばワードプロセッサ、パーソナルコンピュータ、ファクシミリ等に於ける情報出力装置として、所望される文字や画像等の情報を用紙やフィルム等シート状の記録媒体に記録を行う記録装置において、用紙等の記録媒体の送り方向と交差する方向に記録素子を有する記録ヘッドを搭載したキャリッジを走査させて記録を行なうシリアル記録方式が安価で小型化が容易などの点から一般的に広く用いられている。
【0003】
記録装置の記録方式としては様々な方式が知られているが、用紙等の記録媒体に非接触記録が可能である、カラー化が容易である、静粛性に富む、等の理由でインクジェット方式が近年特に注目されている。
【0004】
このような記録装置においては、記録ヘッドの走査位置と、記録ヘッドの駆動タイミングとの整合が不可欠である。記録ヘッドの走査位置の検出手段としては、記録ヘッドを搭載するキャリッジの移動位置を検出するエンコーダなどが用いられる。
【0005】
エンコーダを用いた場合には、エンコーダによるキャリッジの位置検出の分解能は画像の記録分解能に大きく影響を与える。画像の記録分解能(解像度)の向上を実現することは重要な課題であり、このようなエンコーダを用いた記録装置において画像の記録分解能を高めるためには、エンコーダの分解能を高くするのが一般的である。しかしながら、現在、インクジェット方式の記録装置に対しては低価格化が要望されており、高解像度の高価格なエンコーダを使用することは、記録装置の製品化においてコスト面でマイナス要因となる。
【0006】
このような状況において、記録画像の高解像度化を達成しつつ装置全体のコスト上昇を抑えるためには、エンコーダから出力されるパルス状のエンコード信号に基づいて、更に分解能の高いタイミング信号(キックパルス)を生成してこの信号に基づいて記録ヘッドを駆動することが必要となる。
【0007】
高分解能の信号を生成する方法としては、エンコーダから出力されるエンコード信号の立ち上りエッジから次の立ち上りエッジ(あるいは、立ち下りエッジから次の立ち下りエッジ)までの1周期をn等分する方法が用いられている。例えば、直前のエッジ周期測定値をm、あらかじめ設定されているエッジ周期内に生成するキックパルスの数(分割数)をnとすると、キックパルス間隔はm/nの商の値とし、n個のキックパルスを生成した後、次のエッジ周期まで待機する。
【0008】
図2は、従来のキックパルス制御回路の構成を示すブロック図である。1はエッジ検出器であり、エンコード信号のエッジ間隔を検出するとスタートパルスを発生する。2はエッジ間隔(周期)を計測するカウンタである。3はシフタであり、上記nが2のべき乗のときの除算に相当する演算を実行する。4はエッジ間隔を保持するレジスタである。5はシフタの値又はレジスタの値を選択するセレクタである。6はロード信号によってデータをロードするロードカウンタである。7は1検出器でありロードカウンタの値が1のとき“H”を出力する。8はキックパルス数を制御するパルスコントローラである。
【0009】
この回路では、エンコード信号のエッジを検出するとエッジ検出器1によりスタートパルスが発生される。スタートパルスによりカウンタ2で計測していたエッジの1周期からマージン値を引いて、スリット間で発生させるキックパルス数で割った値がレジスタ4に保持される。セレクタ5ではパルスコントローラ8から発生する制御信号によってシフタ3の出力または、レジスタ4の値を出力する。
【0010】
カウンタ6ではセレクタの出力をパルスコントローラ8から出力されるロード信号によってデータロードし、ロードしたデータが1になるまでクロックが入力されるたびにデクリメントする。この時間がキックパルス間隔になる。1検出器7ではカウンタ6の値が1のとき、キックパルスの1クロック分のON部分を出力する。パルスコントローラ8では、パルスが発生するとカウンタ6にロード信号を出力する。そのとき出力されるパルス数をカウントし、カウント値がスリット間で発生させるキックパルス数になるまでカウンタ6にロード信号を出力する。
【0011】
図1は、エンコーダから出力される2相のエンコード信号S1及びS2と、図2に示したようなキックパルス制御回路によって生成されたキックパルスP1の関係を示すタイミングチャートである。この例では、150dpiの分解能を持つエンコーダのエンコード信号から8倍に相当する1200dpiの記録分解能に対応するキックパルスを生成する場合の例である。なお、図中の数字はクロックのカウント数を示している。
【0012】
例えば、エンコーダ信号S1の立上りエッジで計測した1周期の間隔が、時刻t0からt1までの間隔Aの79から、時刻t1からt2までの間隔Bの84に変化した場合、間隔Bにおけるキックパルス間隔(周期)は直前の間隔Aに基づいて、
79/8=9…余り7
という計算からキックパルス間隔は9となる。この場合、8回目のキックパルスが出力された後に次のキックパルスが出力されるまで、
84−9×8=12(クロック)
の間隔が空いてしまう。
【0013】
このように、キャリッジが減速動作している間に記録動作を行う場合には、隙間の開いた部分が生じてしまう。
【0014】
一方、エンコーダ信号S1の立上りエッジで計測した1周期の間隔が、時刻t1からt2までの間隔Bの84から、時刻t2からt3までの間隔Cの76に変化する場合、間隔Cにおけるキックパルス間隔は直前の間隔Bに基づいて、
84/8=10…余り4
という計算からキックパルス間隔は10となる。この場合、8回のキックパルスは間隔Cに収まらなくなってしまう。次の間隔Dにおいては、間隔Cで生成された8つ目のキックパルスが出力された後にキックパルスの生成を行うか、あるいは間隔Cに対して生成されたキックパルスが出力される前に、次の間隔Dに対するキックパルスが出力されることとなる。
【0015】
このように、キャリッジが加速動作している間に記録動作を行う場合は、目的の位置で記録を行えなくなる可能性がある。
【0016】
【発明が解決しようとする課題】
図1にも示したように、エンコーダからはA相(S1)とB相(S2)の2つの信号が出力されるが、本来B相の信号はA相の信号の位相を90°ずらしたものである。従ってA−B相間のエッジ間隔及び立上がり−立下り間隔が正確であれば、この2つの信号に基づいて、正確な4逓倍信号が生成できる。
【0017】
しかしながら、実際にはエンコーダの取り付け精度、フォトダイオードの特性、フィルムに設けられたスリットの精度などにより、同相内のデューティー比やA−B相間の間隔精度に誤差が生じるので、この方法で生成された4逓倍信号を用いても高解像度記録を行うのは困難である。
【0018】
このため、従来は図1に示したように信頼できるA相又はB相の一方のエッジ間隔を利用してキックパルス間隔を計算している。エンコード信号からエッジ1周期を測定する間、機械的な要因によりエッジ1周期より短いわずかな時間においてキャリッジの速度変動が生じることが考えられる。しかしながら、従来の方法では一方のエンコード信号だけに基づいてエッジ1周期を測定しているので、周期の測定に要する時間が長くなり、キャリッジの速度変化に対する応答が遅れてしまう。
【0019】
以上のように従来の方法では、キャリッジの速度変動に対するキックパルスの応答が遅くなるため、特に、キャリッジの加減速動作中に高画質記録を行うことは困難である。
【0020】
本発明は以上のような状況に鑑みてなされたものであり、キャリッジの速度変動に対してタイミング信号の周期を応答性良く更新することを目的とする。
【0021】
【課題を解決するための手段】
上記目的を達成する本発明の一態様としての記録位置制御方法は、記録素子を有する記録ヘッドを搭載したキャリッジを記録媒体上で走査させて記録を行う際の、記録素子の駆動タイミングを規定するタイミング信号を生成する記録位置制御方法であって、
前記キャリッジの走査方向における位置に応じてエンコーダから出力されるパルス信号の立ち上がり及び立ち下がりそれぞれのエッジの周期を計測し、
前記エッジの周期を所定数で除算して前記タイミング信号の周期を算出し、
算出結果に基づいて前記タイミング信号の周期を更新し、
前記算出の際に、前の算出で生じた剰余を前記エッジの周期に加算した後に前記除算を行う。
【0022】
すなわち、本発明では、記録素子を有する記録ヘッドを搭載したキャリッジを記録媒体上で走査させて記録を行う際の、記録素子の駆動タイミングを規定するタイミング信号を生成するときに、キャリッジの走査方向における位置に応じてエンコーダから出力されるパルス信号の立ち上がり及び立ち下がりそれぞれのエッジの周期を計測し、エッジの周期を所定数で除算してタイミング信号の周期を算出し、その際に前の算出で生じた剰余をエッジの周期に加算した後に除算を行い、算出結果に基づいてタイミング信号の周期を更新する。
【0023】
このようにすると、エンコーダから出力されるパルス信号の立ち上がり及び立ち下がりそれぞれのエッジが検出される度に、前の算出での剰余を検出されたエッジの周期に加算してそれを所定数で除算してタイミング信号の周期が算出されて、更新される。
【0024】
従って、キャリッジの移動速度が一定でない加減速領域や、速度変動がある場合にも、タイミング信号の周期が良好な応答性で適切な値に更新される。
【0025】
【発明の実施の形態】
以下添付図面を参照して本発明の好適な実施形態について詳細に説明する。
【0026】
なお、以下に説明する実施形態では、本発明を適用する記録装置として、インクジェット記録方式を用いたプリンタを例に挙げ説明する。
【0027】
本明細書において、「記録」(「プリント」という場合もある)とは、文字、図形等有意の情報を形成する場合のみならず、有意無意を問わず、また人間が視覚で知覚し得るように顕在化したものであるか否かを問わず、広く記録媒体上に画像、模様、パターン等を形成する、または媒体の加工を行う場合も表すものとする。
【0028】
また、「記録媒体」とは、一般的な記録装置で用いられる紙のみならず、広く、布、プラスチック・フィルム、金属板、ガラス、セラミックス、木材、皮革等、インクを受容可能なものも表すものとする。
【0029】
さらに、「インク」(「液体」と言う場合もある)とは、上記「記録(プリント)」の定義と同様広く解釈されるべきもので、記録媒体上に付与されることによって、画像、模様、パターン等の形成または記録媒体の加工、或いはインクの処理(例えば記録媒体に付与されるインク中の色剤の凝固または不溶化)に供され得る液体を表すものとする。
【0030】
また、以下の説明で信号又はエッジの「間隔」という表現は、信号又はエッジの周期と同じ時間間隔(期間)を意味する。
【0031】
<装置本体の概略説明>
図7は、本発明を適用するのに好適なインクジェットプリンタIJRAの構成の概要を示す外観斜視図である。図7において、駆動モータ5013の正逆回転に連動して駆動力伝達ギア5009〜5011を介して回転するリードスクリュー5005の螺旋溝5004に対して係合するキャリッジHCはピン(不図示)を有し、ガイドレール5003に支持されて矢印a,b方向を往復移動する。キャリッジHCには、記録ヘッドIJHとインクタンクITとを内蔵した一体型インクジェットカートリッジIJCが搭載されている。
【0032】
5002は紙押え板であり、キャリッジHCの移動方向に亙って記録用紙Pをプラテン5000に対して押圧する。5007,5008はフォトカプラで、キャリッジのレバー5006のこの域での存在を確認して、モータ5013の回転方向切り換え等を行うためのホームポジション検知器である。
【0033】
5016は記録ヘッドIJHの前面をキャップするキャップ部材5022を支持する部材で、5015はこのキャップ内を吸引する吸引器で、キャップ内開口5023を介して記録ヘッドの吸引回復を行う。5017はクリーニングブレードで、5019はこのブレードを前後方向に移動可能にする部材であり、本体支持板5018にこれらが支持されている。ブレードは、この形態でなく周知のクリーニングブレードが本例に適用できることは言うまでもない。
【0034】
又、5021は、吸引回復の吸引を開始するためのレバーで、キャリッジと係合するカム5020の移動に伴って移動し、駆動モータからの駆動力がクラッチ切り換え等の公知の伝達機構で移動制御される。
【0035】
これらのキャッピング、クリーニング、吸引回復は、キャリッジがホームポジション側の領域に来た時にリードスクリュー5005の作用によってそれらの対応位置で所望の処理が行えるように構成されているが、周知のタイミングで所望の動作を行うようにすれば、本例にはいずれも適用できる。
【0036】
<制御構成の説明>
次に、上述した装置の記録制御を実行するための制御構成について説明する。
【0037】
図8はインクジェットプリンタIJRAの制御回路の構成を示すブロック図である。制御回路を示す同図において、1700は記録信号を入力するインターフェース、1701はMPU、1702はMPU1701が実行する制御プログラムを格納するROM、1703は各種データ(上記記録信号やヘッドに供給される記録データ等)を保存しておくDRAMである。1704は記録ヘッドIJHに対する記録データの供給制御を行うゲートアレイ(G.A.)であり、インターフェース1700、MPU1701、RAM1703間のデータ転送制御も行う。1710は記録ヘッドIJHを搬送するためのキャリアモータ、1709は記録紙搬送のための搬送モータである。1705は記録ヘッドを駆動するヘッドドライバ、1706,1707はそれぞれ搬送モータ1709、キャリアモータ1710を駆動するためのモータドライバである。
【0038】
上記制御構成の動作を説明すると、インターフェース1700に記録信号が入るとゲートアレイ1704とMPU1701との間で記録信号がプリント用の記録データに変換される。そして、モータドライバ1706、1707が駆動されると共に、ヘッドドライバ1705に送られた記録データに従って記録ヘッドが駆動され、記録が行われる。
【0039】
ここでは、MPU1701が実行する制御プログラムをROM1702に格納するものとしたが、EEPROM等の消去/書き込みが可能な記憶媒体を更に追加して、インクジェットプリンタIJRAと接続されたホストコンピュータから制御プログラムを変更できるように構成することもできる。
【0040】
なお、上述のように、インクタンクITと記録ヘッドIJHとは一体的に形成されて交換可能なインクカートリッジIJCを構成しても良いが、これらインクタンクITと記録ヘッドIJHとを分離可能に構成して、インクがなくなったときにインクタンクITだけを交換できるようにしても良い。
【0041】
<キックパルス制御回路>
以上のような構成のインクジェットプリンタに用いるキックパルス制御回路について説明する。
【0042】
図3は、上記のインクジェットプリンタにおける記録ヘッドの駆動信号であるヒートパルス生成のためのキックパルス制御回路のブロック図である。本実施形態のキックパルス制御回路は、エッジ間隔取り込み部9とパルス間隔演算部10から構成されている。
【0043】
キックパルス制御回路にはエンコーダからA相及びB相の2つの信号が入力され、エッジ間隔取り込み部9では、入力エッジが変化するごとに、A相の立ち上りエッジ間隔、B相の立ち上りエッジ間隔、A相の立下りエッジ間隔、B相の立下りエッジ間隔の順に値を出力する。本実施形態ではエッジ間隔を計測するためのカウンタとしてフリーランカウンタを用いている。パルス間隔演算部10では、これらのエッジ間隔値を取り込み、余りの伝播処理、エッジ間隔値の更新による生成途中のパルス間隔の更新等の処理を行いキックパルスを出力する。
【0044】
以下、図4から図6を参照して、本実施形態のキックパルス制御回路について詳細に説明する。図4はエッジ間隔取り込み部9の詳細な構成を示すブロック図、図5はパルス間隔演算部10の詳細な構成を示すブロック図を示す。図6はキックパルス制御回路に入力されるA相及びB相の信号と出力されるキックパルスの関係を示したタイミングチャートである。
【0045】
エッジ間隔取り込み部9の詳細な構成を示す図4において、15はフリーランカウンタであり、キックパルス生成処理開始と同時にクロックのカウントアップをはじめる。11から14はエッジ検出器であり、順番にA相立上り、A相立下り、B相立上り、B相立下がりをそれぞれ検知すると、スタートパルスを発生する。17〜20はエッジ検出器11〜14にそれぞれ対応して設けられたレジスタであり、対応するエッジ検出器からスタートパルスが発生されると、そのときのフリーランカウンタ15の値を保持する。
【0046】
21はコントローラであり、スタートパルスを発生したエッジ検出器に接続されたレジスタの値をセレクタ22を介して出力する。例えば、A相立上りエッジが検出されると、エッジ検出器11から発生されるスタートパルスによってコントローラ21は、セレクタ22を介してレジスタ17の値を出力する。23は減算器であり、フリーランカウンタ15の出力値からセレクタ22の出力値を減算する。24はレジスタであり、減算器23から出力された値を保持する。つまり、エッジが計測されるごとに、A相立上り1周期間隔値、B相立上り1周期間隔値、A相立下り1周期間隔値、B相立下がり1周期間隔値の順にレジスタ24に値が保持されることになる。
【0047】
16はコンパレータであり、レジスタ17の値とフリーランカウンタ15の値を比較して、両者が一致したとき(フリーランカウンタが計測できる範囲を超えてしまう場合)、エラー処理としてオーバーフロービットを立てる。ここではレジスタ17とフリーランカウンタ15の値を比較しているが、比較するレジスタは17〜20のどのレジスタでもよい。
【0048】
パルス間隔演算部10の詳細な構成を示す図5において、レジスタ25は、前回のキックパルス間隔を求める計算m/nより生じた余りを保持する。加算器26は、エッジ間隔取り込み部9より出力されたエッジ1周期間隔値とレジスタ25に保持された値の加算を行う。そして、レジスタ25、加算器26、及びシフタ27によりエッジ1周期間隔値からキックパルス間隔値が求められる。なお、キックパルス間隔を求める計算であるm/nの除算において、除数は2のべき乗としているのでシフタ27を用いている。
【0049】
レジスタ28は、前々回のキックパルス間隔を求める計算m/nより生じた余りを保持する。加算器29、レジス28、及びシフタ30により、エッジ1周期間隔値と前々回のキックパルス間隔を求める計算で出た余りを使って、エッジ1周期間隔値が更新されたときに生成途中のキックパルス間隔の変更値が求められる。
【0050】
レジスタ32は、生成するキックパルス間隔値を保持している。カウンタ33は、コンパレータ34により1にセットされ、クロックが入力される度にカウントアップする。コンパレータ34は、レジスタ32の値とカウンタ33の値を比較して、カウンタ値が1のときキックパルスのONに相当する信号を1クロック期間出力する。その後、レジスタ32の値とカウンタ値が一致するまでキックパルスのOFFに相当する信号を出力し、カウンタ33の値を1にセットする。
【0051】
コンパレータ35は、レジスタ32に保持された生成中のキックパルス間隔値とシフタ30からのエッジ1周期間隔値が更新されたときのキックパルスの変更値を比較し、カウンタ33の値が変更値を超えないようなら、エッジ1周期間隔値更新時にレジスタ32の値をシフタ30の値に変更する。ただし、シフタ30の値よりもカウンタ33の値が大きい場合には、この処理は次のキックパルスを生成した後に行うものとする。
【0052】
すなわち、変更値が現在の間隔よりも小さく、かつカウンタ33の値(現時点でのカウント値)が変更値よりも大きい場合にのみ、次のキックパルスを生成した後にキックパルス間隔を変更する。
【0053】
キックパルスは、エッジ間隔取り込み部9から出力されるオーバーフロー信号とアンドをとり、オーバーフローの場合には出力されない。
【0054】
このように本実施形態では、エンコーダから出力されたA相及びB相の立ち上がり及び立ち下がりのエッジ間隔値を取り込み、余りの伝播処理、エッジ間隔値の更新による生成途中のパルス間隔の更新等の処理を行いキックパルスを出力する。
【0055】
これらの処理を図6のタイミングチャートを参照して説明する。図6において、S3及びS4はエンコーダから出力されるA相及びB相の信号であり、P2は出力されるキックパルスである。
【0056】
時刻t7からt11で計測されたB相の立下り周期間隔が79で、t11の直前のキックパルス間隔計算によって余りが2の場合、t11の先頭パルスは、
(79+2)/8=10…余り1
となり、t11での最初のパルス間隔は10となる。余りの伝播によって、つぎのパルス間隔は、
(79+1)/8=10…余り0
となり、パルス間隔は10に設定される。
【0057】
この間隔でパルスを生成中に、t8からt12で計測されたA相の立ち上がり周期間隔が測定され、この値が76であるので、この値をもとにパルス間隔を再度計算すると、
(76+1)/8=9…余り5
となる。このとき、生成途中のパルス間隔は、t12でのエッジ間隔更新時に10から9に更新される。
【0058】
従って、以上説明した実施形態によれば、余りの伝播処理をしているため、キャリッジが加減速を行っている領域でも速度変化に対する応答性のよいキックパルスを生成できる。
【0059】
なお、上記の実施形態では、伝播された余りはキャリッジの走査開始時にリセットする。往復走査で記録を行う際には、復路の開始位置での余りとして往路の最終パルス生成時の余りの補数を用いる。また、上記のパルス間隔が、全てのノズル吐出を補償するための閾値である最少パルス間隔以下となる場合には、パルス間隔は最少パルス間隔に設定される。
【0060】
<他の実施形態>
以上説明した実施形態はインクジェット方式の記録装置に本発明を適用したものであるが、本発明は記録ヘッドを搭載したキャリッジを走査させて記録を行う記録装置であれば、他の方式を採用する記録装置にも適用できる。
【0061】
更に、上記実施形態におけるエッジ間隔の分割数(8)以外の数で除算してキックパルスの間隔を求めてもよい。また、エンコーダ信号のA相及びB相両方でなく、A相又はB相いずれかの立ち上がり及び立ち下がりエッジの間隔に基づいて、キックパルスを生成するようにしてもよい。
【0062】
なお、本発明はこのように記録装置における記録位置制御方法として実現することができるが、該記録位置制御方法を実施する記録装置、該記録位置制御方法をコンピュータによって実施させるコンピュータプログラム、該コンピュータプログラムを格納する記憶媒体の形で実現することもでき、具体的には、複数の機器(例えばホストコンピュータ,インターフェース機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
【0063】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。
【0064】
この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0065】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。
【0066】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0067】
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0068】
【発明の効果】
以上説明したように本発明によれば、エンコーダから出力されるパルス信号の立ち上がり及び立ち下がりそれぞれのエッジが検出される度に、前の算出での剰余を検出されたエッジの周期に加算してそれを所定数で除算してタイミング信号の周期が算出されて、更新される。
【0069】
従って、キャリッジの移動速度が一定でない加減速領域や、速度変動がある場合にも、タイミング信号の周期が良好な応答性で適切な値に更新される。
【図面の簡単な説明】
【図1】従来の方法により生成したキックパルスのタイミングチャートである。
【図2】従来のキックパルス制御回路の構成を示すブロック図である。
【図3】本発明に係るキックパルス制御回路の概略構成を示すブロック図である。
【図4】図3のエッジ間隔取り込み部の構成を示すブロック図である。
【図5】図3のパルス間隔演算部の構成を示すブロック図である。
【図6】本発明により生成したキックパルスのタイミングチャートである。
【図7】本発明に係るインクジェットプリンタの外観を示す図である。
【図8】図7のプリンタの制御構成を示すブロック図である。
【符号の説明】
S1、S3 エンコード信号(A相)
S2、S4 エンコード信号(B相)
P1、P2 キックパルス
1 エッジ検出器
2、6 カウンタ
3 シフタ
4 レジスタ
5 セレクタ
7 1検出器
8 パルスコントローラ
9 エッジ間隔取り込み部
10 パルス間隔演算部
11、12,13,14 エッジ検出器
15 フリーランカウンタ
16、34、35 コンパレータ
17〜20、24、25、28、32 レジスタ
21 コントローラ
22、31、36 セレクタ
23 減算器
26、29 加算器
27、30 シフタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to control of a print position, and more particularly to generation of a timing signal for defining a drive timing of a print element when printing is performed by scanning a carriage mounted with a print head having a print element on a print medium. is there.
[0002]
[Prior art]
For example, as an information output device in a word processor, a personal computer, a facsimile, or the like, a recording device that records desired information such as characters and images on a sheet-like recording medium such as paper or a film is used to feed a recording medium such as paper. A serial recording method for performing recording by scanning a carriage equipped with a recording head having a recording element in a direction intersecting the direction is generally widely used from the viewpoint of low cost and easy downsizing.
[0003]
Various types of recording methods are known for the recording apparatus, but the ink jet method is used because non-contact recording is possible on a recording medium such as paper, colorization is easy, and quietness is high. In recent years, it has received special attention.
[0004]
In such a printing apparatus, it is essential to match the scanning position of the print head with the drive timing of the print head. As a means for detecting the scanning position of the recording head, an encoder or the like for detecting a moving position of a carriage on which the recording head is mounted is used.
[0005]
When an encoder is used, the resolution at which the position of the carriage is detected by the encoder has a significant effect on the image recording resolution. It is an important issue to improve the recording resolution (resolution) of an image. In order to increase the recording resolution of an image in a recording apparatus using such an encoder, it is general to increase the resolution of the encoder. It is. However, at present, there is a demand for a low-priced inkjet recording apparatus, and the use of a high-resolution, high-priced encoder is a negative factor in terms of cost in commercializing the recording apparatus.
[0006]
In such a situation, in order to suppress the increase in the cost of the entire apparatus while achieving a higher resolution of the recorded image, a timing signal (kick pulse) having a higher resolution is required based on the pulse-like encode signal output from the encoder. ) And drive the recording head based on this signal.
[0007]
As a method of generating a high-resolution signal, there is a method of equally dividing one cycle from a rising edge of a encode signal output from an encoder to a next rising edge (or a falling edge to a next falling edge) by n. Used. For example, assuming that the immediately preceding edge cycle measurement value is m and the number of kick pulses (the number of divisions) generated within a preset edge cycle is n, the kick pulse interval is a quotient of m / n, and n After the kick pulse is generated, the process waits until the next edge cycle.
[0008]
FIG. 2 is a block diagram showing a configuration of a conventional kick pulse control circuit. Reference numeral 1 denotes an edge detector, which generates a start pulse when detecting the edge interval of the encode signal. Reference numeral 2 denotes a counter for measuring an edge interval (period). Reference numeral 3 denotes a shifter, which performs an operation corresponding to division when n is a power of 2. Reference numeral 4 denotes a register for holding an edge interval. Reference numeral 5 denotes a selector for selecting a shifter value or a register value. Reference numeral 6 denotes a load counter for loading data in response to a load signal. Reference numeral 7 denotes a 1 detector which outputs "H" when the value of the load counter is 1. A pulse controller 8 controls the number of kick pulses.
[0009]
In this circuit, when an edge of the encode signal is detected, a start pulse is generated by the edge detector 1. A value obtained by subtracting the margin value from one cycle of the edge measured by the counter 2 by the start pulse and dividing by the number of kick pulses generated between the slits is stored in the register 4. The selector 5 outputs the output of the shifter 3 or the value of the register 4 according to a control signal generated from the pulse controller 8.
[0010]
The counter 6 performs data loading on the output of the selector by the load signal output from the pulse controller 8, and decrements each time a clock is input until the loaded data becomes 1. This time is the kick pulse interval. When the value of the counter 6 is 1, the one detector 7 outputs an ON portion for one clock of the kick pulse. When a pulse is generated, the pulse controller 8 outputs a load signal to the counter 6. The number of pulses output at that time is counted, and a load signal is output to the counter 6 until the count value reaches the number of kick pulses generated between the slits.
[0011]
FIG. 1 is a timing chart showing the relationship between the two-phase encode signals S1 and S2 output from the encoder and the kick pulse P1 generated by the kick pulse control circuit as shown in FIG. In this example, a kick pulse corresponding to a recording resolution of 1200 dpi corresponding to eight times is generated from an encoded signal of an encoder having a resolution of 150 dpi. It should be noted that the numbers in the figure indicate the count number of the clock.
[0012]
For example, when the interval of one cycle measured at the rising edge of the encoder signal S1 changes from 79 of the interval A from time t0 to t1 to 84 of the interval B from time t1 to t2, the kick pulse interval in the interval B (Cycle) is based on the immediately preceding interval A,
79/8 = 9 ... 7 remainder
From this calculation, the kick pulse interval is 9. In this case, after the eighth kick pulse is output, until the next kick pulse is output,
84-9 × 8 = 12 (clock)
Is too long.
[0013]
As described above, in the case where the recording operation is performed while the carriage is performing the deceleration operation, a portion having a gap is generated.
[0014]
On the other hand, when the interval of one cycle measured at the rising edge of the encoder signal S1 changes from 84 of the interval B from time t1 to t2 to 76 of the interval C from time t2 to t3, the kick pulse interval at the interval C Is based on the immediately preceding interval B,
84/8 = 10 ... Remainder 4
From this calculation, the kick pulse interval is 10. In this case, the eight kick pulses do not fit in the interval C. In the next interval D, the kick pulse is generated after the eighth kick pulse generated in the interval C is output, or before the kick pulse generated for the interval C is output, A kick pulse for the next interval D is output.
[0015]
As described above, when the recording operation is performed while the carriage is accelerating, the recording may not be performed at the target position.
[0016]
[Problems to be solved by the invention]
As shown in FIG. 1, two signals of the A phase (S1) and the B phase (S2) are output from the encoder, but the phase of the A phase signal is originally shifted by 90 ° for the B phase signal. Things. Therefore, if the edge interval and the rise-fall interval between the A and B phases are accurate, an accurate quadrupled signal can be generated based on these two signals.
[0017]
However, in actuality, due to the mounting accuracy of the encoder, the characteristics of the photodiode, the accuracy of the slit provided in the film, and the like, an error occurs in the duty ratio in the same phase and the interval accuracy between the A and B phases. It is difficult to perform high-resolution recording even using the quadrupled signal.
[0018]
For this reason, conventionally, a kick pulse interval is calculated by using a reliable A-phase or B-phase edge interval as shown in FIG. While measuring one cycle of the edge from the encode signal, it is conceivable that the speed of the carriage fluctuates in a short time shorter than one cycle of the edge due to mechanical factors. However, in the conventional method, since one cycle of the edge is measured based on only one encode signal, the time required for measuring the cycle becomes longer, and the response to a change in the speed of the carriage is delayed.
[0019]
As described above, according to the conventional method, the response of the kick pulse to the speed fluctuation of the carriage is delayed, and therefore, it is difficult to perform high-quality recording especially during the acceleration / deceleration operation of the carriage.
[0020]
The present invention has been made in view of the above situation, and an object of the present invention is to update the cycle of a timing signal with good responsiveness to a speed variation of a carriage.
[0021]
[Means for Solving the Problems]
A print position control method according to one embodiment of the present invention that achieves the above object specifies a drive timing of a print element when printing is performed by scanning a carriage equipped with a print head having a print element on a print medium. A recording position control method for generating a timing signal,
Measure the cycle of the rising and falling edges of the pulse signal output from the encoder according to the position of the carriage in the scanning direction,
The cycle of the timing signal is calculated by dividing the cycle of the edge by a predetermined number,
Updating the cycle of the timing signal based on the calculation result;
At the time of the calculation, the division is performed after the remainder generated in the previous calculation is added to the cycle of the edge.
[0022]
That is, according to the present invention, when generating a timing signal that specifies the drive timing of the recording element when performing recording by scanning a carriage equipped with a recording head having a recording element on a recording medium, the scanning direction of the carriage is The rising and falling edges of the pulse signal output from the encoder are measured in accordance with the position of the edge signal, and the cycle of the timing signal is calculated by dividing the cycle of the edge by a predetermined number. Is added to the cycle of the edge, division is performed, and the cycle of the timing signal is updated based on the calculation result.
[0023]
In this way, each time a rising edge or a falling edge of the pulse signal output from the encoder is detected, the remainder in the previous calculation is added to the period of the detected edge, and the result is divided by a predetermined number. Then, the cycle of the timing signal is calculated and updated.
[0024]
Therefore, even in an acceleration / deceleration region where the moving speed of the carriage is not constant or when there is a speed fluctuation, the cycle of the timing signal is updated to an appropriate value with good responsiveness.
[0025]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0026]
In the embodiments described below, a printer using an inkjet recording method will be described as an example of a recording apparatus to which the present invention is applied.
[0027]
In the present specification, “recording” (sometimes referred to as “printing”) refers not only to forming significant information such as characters and figures, but also to meaningless or insignificant human perception. Regardless of whether or not the image is exposed, a case where an image, a pattern, a pattern, or the like is widely formed on a recording medium or a case where the medium is processed is also described.
[0028]
In addition, the term “recording medium” refers to not only paper used in general recording devices, but also a wide range of materials that can accept ink, such as cloth, plastic films, metal plates, glass, ceramics, wood, and leather. Shall be.
[0029]
Further, “ink” (sometimes referred to as “liquid”) is to be interpreted broadly as in the definition of “recording (printing)”, and when applied on a recording medium, an image or pattern , Or a liquid that can be used for forming a pattern or the like, processing a recording medium, or processing ink (for example, coagulation or insolubilization of a colorant in ink applied to a recording medium).
[0030]
In the following description, the expression “interval” of a signal or an edge means the same time interval (period) as the cycle of the signal or the edge.
[0031]
<Schematic description of the device body>
FIG. 7 is an external perspective view showing an outline of a configuration of an inkjet printer IJRA suitable for applying the present invention. In FIG. 7, the carriage HC that engages with the spiral groove 5004 of the lead screw 5005 that rotates via the driving force transmission gears 5009 to 5011 in conjunction with the forward and reverse rotation of the drive motor 5013 has a pin (not shown). Then, it is supported by the guide rail 5003 and reciprocates in the directions of arrows a and b. On the carriage HC, an integrated type ink jet cartridge IJC containing a recording head IJH and an ink tank IT is mounted.
[0032]
Reference numeral 5002 denotes a paper pressing plate, which presses the recording paper P against the platen 5000 in the moving direction of the carriage HC. Reference numerals 5007 and 5008 denote photocouplers, which are home position detectors for confirming the presence of the carriage lever 5006 in this area and switching the rotation direction of the motor 5013.
[0033]
Reference numeral 5016 denotes a member that supports a cap member 5022 that caps the front surface of the print head IJH. Reference numeral 5015 denotes a suction device that suctions the inside of the cap, and performs suction recovery of the print head through an opening 5023 in the cap. Reference numeral 5017 denotes a cleaning blade. Reference numeral 5019 denotes a member that allows the blade to move in the front-rear direction. These members are supported by a main body support plate 5018. It goes without saying that the blade is not limited to this form and a known cleaning blade can be applied to the present embodiment.
[0034]
Reference numeral 5021 denotes a lever for starting suction for recovery from suction, which moves with the movement of the cam 5020 which engages with the carriage, and the driving force from the driving motor is controlled by a known transmission mechanism such as clutch switching. Is done.
[0035]
These capping, cleaning, and suction recovery are configured so that desired operations can be performed at the corresponding positions by the action of the lead screw 5005 when the carriage comes to the area on the home position side. If the above operation is performed, any of the embodiments can be applied.
[0036]
<Description of control configuration>
Next, a control configuration for executing the recording control of the above-described apparatus will be described.
[0037]
FIG. 8 is a block diagram showing a configuration of a control circuit of the inkjet printer IJRA. In the figure showing a control circuit, 1700 is an interface for inputting a print signal, 1701 is an MPU, 1702 is a ROM for storing a control program executed by the MPU 1701, and 1703 is various data (the print signal and print data supplied to the head). Etc.) are stored in the DRAM. A gate array (GA) 1704 controls supply of print data to the print head IJH, and also controls data transfer between the interface 1700, the MPU 1701, and the RAM 1703. Reference numeral 1710 denotes a carrier motor for transporting the recording head IJH, and reference numeral 1709 denotes a transport motor for transporting the recording paper. Reference numeral 1705 denotes a head driver for driving the recording head, and 1706 and 1707 denote motor drivers for driving the transport motor 1709 and the carrier motor 1710, respectively.
[0038]
The operation of the above control configuration will be described. When a print signal enters the interface 1700, the print signal is converted into print data between the gate array 1704 and the MPU 1701. Then, the motor drivers 1706 and 1707 are driven, and the recording head is driven in accordance with the recording data sent to the head driver 1705 to perform recording.
[0039]
In this example, the control program executed by the MPU 1701 is stored in the ROM 1702. However, an erasable / writable storage medium such as an EEPROM is further added, and the control program is changed from a host computer connected to the inkjet printer IJRA. It can be configured to be able to do so.
[0040]
As described above, the ink tank IT and the recording head IJH may be integrally formed to constitute a replaceable ink cartridge IJC. However, the ink tank IT and the recording head IJH may be configured to be separable. Then, when the ink runs out, only the ink tank IT may be replaced.
[0041]
<Kick pulse control circuit>
A kick pulse control circuit used in the ink jet printer having the above configuration will be described.
[0042]
FIG. 3 is a block diagram of a kick pulse control circuit for generating a heat pulse which is a drive signal of a recording head in the above-described inkjet printer. The kick pulse control circuit according to the present embodiment includes an edge interval capturing section 9 and a pulse interval calculating section 10.
[0043]
The kick pulse control circuit receives two signals of the A phase and the B phase from the encoder. The edge interval capturing unit 9 sets the rising edge interval of the A phase, the rising edge interval of the B phase, A value is output in the order of the falling edge interval of the A phase and the falling edge interval of the B phase. In the present embodiment, a free-run counter is used as a counter for measuring the edge interval. The pulse interval calculation unit 10 fetches these edge interval values, performs processing such as surplus propagation processing, updating the pulse interval during generation by updating the edge interval values, and outputs kick pulses.
[0044]
Hereinafter, the kick pulse control circuit according to the present embodiment will be described in detail with reference to FIGS. FIG. 4 is a block diagram showing a detailed configuration of the edge interval capturing section 9, and FIG. 5 is a block diagram showing a detailed configuration of the pulse interval calculating section 10. FIG. 6 is a timing chart showing the relationship between the A-phase and B-phase signals input to the kick pulse control circuit and the output kick pulse.
[0045]
In FIG. 4 showing the detailed configuration of the edge interval capturing section 9, reference numeral 15 denotes a free-run counter, which starts counting up a clock simultaneously with the start of kick pulse generation processing. Reference numerals 11 to 14 denote edge detectors, which generate a start pulse when an A-phase rising, an A-phase falling, a B-phase rising, and a B-phase falling are detected in order. Reference numerals 17 to 20 denote registers provided in correspondence with the edge detectors 11 to 14, respectively. When a start pulse is generated from the corresponding edge detector, the register holds the value of the free-run counter 15 at that time.
[0046]
Reference numeral 21 denotes a controller which outputs the value of a register connected to the edge detector which has generated the start pulse via a selector 22. For example, when an A-phase rising edge is detected, the controller 21 outputs the value of the register 17 via the selector 22 by a start pulse generated from the edge detector 11. A subtractor 23 subtracts the output value of the selector 22 from the output value of the free-run counter 15. Reference numeral 24 denotes a register which holds the value output from the subtractor 23. That is, each time an edge is measured, the value is stored in the register 24 in the order of the A-phase rising one cycle interval value, the B-phase rising one cycle interval value, the A-phase falling one cycle interval value, and the B-phase falling one cycle interval value. Will be retained.
[0047]
Reference numeral 16 denotes a comparator which compares the value of the register 17 with the value of the free-run counter 15 and sets an overflow bit as error processing when the values match (when the free-run counter exceeds the measurable range). Here, the value of the register 17 is compared with the value of the free-run counter 15, but the register to be compared may be any of the registers 17 to 20.
[0048]
In FIG. 5 showing the detailed configuration of the pulse interval calculation unit 10, a register 25 holds a remainder generated from the previous calculation m / n for calculating the kick pulse interval. The adder 26 adds the one-period interval value output from the edge interval capturing unit 9 to the value held in the register 25. Then, the kick pulse interval value is obtained from the edge one cycle interval value by the register 25, the adder 26, and the shifter 27. In the division of m / n, which is a calculation for calculating the kick pulse interval, the shifter 27 is used because the divisor is a power of two.
[0049]
The register 28 holds the remainder resulting from the calculation m / n for calculating the kick pulse interval two times before. The kick pulse that is being generated when the edge one cycle interval value is updated by the adder 29, the register 28, and the shifter 30 using the edge one cycle interval value and the remainder obtained in the calculation for calculating the kick pulse interval two times before. An interval change value is determined.
[0050]
The register 32 holds the kick pulse interval value to be generated. The counter 33 is set to 1 by the comparator 34 and counts up each time a clock is input. The comparator 34 compares the value of the register 32 with the value of the counter 33, and outputs a signal corresponding to the kick pulse ON when the counter value is 1 for one clock period. After that, a signal corresponding to the OFF of the kick pulse is output until the value of the register 32 matches the counter value, and the value of the counter 33 is set to 1.
[0051]
The comparator 35 compares the kick pulse interval value being generated held in the register 32 with the kick pulse change value when the edge 1 cycle interval value from the shifter 30 is updated, and the value of the counter 33 determines the change value. If not exceeded, the value of the register 32 is changed to the value of the shifter 30 at the time of updating the edge one cycle interval value. However, when the value of the counter 33 is larger than the value of the shifter 30, this processing is performed after the next kick pulse is generated.
[0052]
That is, only when the changed value is smaller than the current interval and the value of the counter 33 (the current count value) is larger than the changed value, the kick pulse interval is changed after the next kick pulse is generated.
[0053]
The kick pulse is ANDed with the overflow signal output from the edge interval capturing section 9, and is not output in the case of overflow.
[0054]
As described above, in the present embodiment, the rising and falling edge interval values of the A-phase and the B-phase output from the encoder are fetched, the remainder is propagated, and the updating of the pulse interval during generation by updating the edge interval value is performed. Performs processing and outputs a kick pulse.
[0055]
These processes will be described with reference to the timing chart of FIG. In FIG. 6, S3 and S4 are A-phase and B-phase signals output from the encoder, and P2 is a kick pulse output.
[0056]
If the falling period interval of the B phase measured from time t7 to t11 is 79 and the remainder is 2 by the kick pulse interval calculation immediately before t11, the leading pulse at t11 is:
(79 + 2) / 8 = 10 ... Remainder 1
And the first pulse interval at t11 is 10. Due to the propagation of the remainder, the next pulse interval is
(79 + 1) / 8 = 10: remainder 0
And the pulse interval is set to 10.
[0057]
While a pulse is being generated at this interval, the rising period interval of the A phase measured from t8 to t12 is measured, and this value is 76. Therefore, when the pulse interval is calculated again based on this value,
(76 + 1) / 8 = 9 remainder 5
It becomes. At this time, the pulse interval being generated is updated from 10 to 9 at the time of updating the edge interval at t12.
[0058]
Therefore, according to the embodiment described above, since the extra propagation processing is performed, a kick pulse with good responsiveness to a speed change can be generated even in an area where the carriage is accelerating or decelerating.
[0059]
In the above-described embodiment, the propagated remainder is reset at the start of the carriage scanning. When recording is performed by reciprocating scanning, the complement at the time of generation of the last pulse in the forward path is used as the remainder at the start position of the return path. When the pulse interval is equal to or smaller than the minimum pulse interval which is a threshold value for compensating all nozzle discharges, the pulse interval is set to the minimum pulse interval.
[0060]
<Other embodiments>
In the above-described embodiment, the present invention is applied to an ink-jet type recording apparatus. However, the present invention employs another method as long as the recording apparatus performs recording by scanning a carriage equipped with a recording head. It can also be applied to a recording device.
[0061]
Furthermore, the kick pulse interval may be obtained by dividing by a number other than the edge interval division number (8) in the above embodiment. Also, the kick pulse may be generated based on the interval between the rising and falling edges of either the A phase or the B phase, instead of both the A phase and the B phase of the encoder signal.
[0062]
The present invention can be realized as a recording position control method in a recording apparatus as described above. A recording apparatus that performs the recording position control method, a computer program that causes a computer to execute the recording position control method, and a computer program Can be realized in the form of a storage medium for storing the information. Specifically, even when applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), a single device (For example, a copying machine, a facsimile machine, etc.).
[0063]
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus to store the storage medium. It is needless to say that the present invention can also be achieved by reading and executing the program code stored in the program.
[0064]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0065]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, and the like can be used.
[0066]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0067]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0068]
【The invention's effect】
As described above, according to the present invention, each time the rising edge and the falling edge of the pulse signal output from the encoder are detected, the remainder in the previous calculation is added to the cycle of the detected edge. The period of the timing signal is calculated by dividing it by a predetermined number and updated.
[0069]
Therefore, even in an acceleration / deceleration region where the moving speed of the carriage is not constant or when there is a speed fluctuation, the cycle of the timing signal is updated to an appropriate value with good responsiveness.
[Brief description of the drawings]
FIG. 1 is a timing chart of a kick pulse generated by a conventional method.
FIG. 2 is a block diagram showing a configuration of a conventional kick pulse control circuit.
FIG. 3 is a block diagram showing a schematic configuration of a kick pulse control circuit according to the present invention.
FIG. 4 is a block diagram illustrating a configuration of an edge interval capturing unit in FIG. 3;
FIG. 5 is a block diagram illustrating a configuration of a pulse interval calculation unit in FIG. 3;
FIG. 6 is a timing chart of a kick pulse generated according to the present invention.
FIG. 7 is a view showing the appearance of the ink jet printer according to the present invention.
FIG. 8 is a block diagram illustrating a control configuration of the printer of FIG. 7;
[Explanation of symbols]
S1, S3 Encoded signal (A phase)
S2, S4 Encoded signal (B phase)
P1, P2 Kick pulse 1 Edge detector 2, 6 Counter 3 Shifter 4 Register 5 Selector 7 1 detector 8 Pulse controller 9 Edge interval capture unit 10 Pulse interval calculation unit 11, 12, 13, 14 Edge detector 15 Free-run counter 16, 34, 35 Comparators 17 to 20, 24, 25, 28, 32 Register 21 Controller 22, 31, 36 Selector 23 Subtractor 26, 29 Adder 27, 30 Shifter

Claims (1)

記録素子を有する記録ヘッドを搭載したキャリッジを記録媒体上で走査させて記録を行う際の、記録素子の駆動タイミングを規定するタイミング信号を生成する記録位置制御方法であって、
前記キャリッジの走査方向における位置に応じてエンコーダから出力されるパルス信号の立ち上がり及び立ち下がりそれぞれのエッジの周期を計測し、
前記エッジの周期を所定数で除算して前記タイミング信号の周期を算出し、
算出結果に基づいて前記タイミング信号の周期を更新し、
前記算出の際に、前の算出で生じた剰余を前記エッジの周期に加算した後に前記除算を行うことを特徴とする記録位置制御方法。
A recording position control method for generating a timing signal that defines a driving timing of a recording element when performing recording by scanning a carriage equipped with a recording head having a recording element on a recording medium, comprising:
Measure the cycle of the rising and falling edges of the pulse signal output from the encoder according to the position of the carriage in the scanning direction,
The cycle of the timing signal is calculated by dividing the cycle of the edge by a predetermined number,
Updating the cycle of the timing signal based on the calculation result;
In the above calculation, the division is performed after adding the remainder generated in the previous calculation to the cycle of the edge.
JP2002308412A 2002-10-23 2002-10-23 Recording apparatus control method and recording apparatus Expired - Fee Related JP4366066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002308412A JP4366066B2 (en) 2002-10-23 2002-10-23 Recording apparatus control method and recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002308412A JP4366066B2 (en) 2002-10-23 2002-10-23 Recording apparatus control method and recording apparatus

Publications (3)

Publication Number Publication Date
JP2004142195A true JP2004142195A (en) 2004-05-20
JP2004142195A5 JP2004142195A5 (en) 2005-12-08
JP4366066B2 JP4366066B2 (en) 2009-11-18

Family

ID=32454557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002308412A Expired - Fee Related JP4366066B2 (en) 2002-10-23 2002-10-23 Recording apparatus control method and recording apparatus

Country Status (1)

Country Link
JP (1) JP4366066B2 (en)

Also Published As

Publication number Publication date
JP4366066B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
US7712857B2 (en) Printing apparatus, printing method, program, storage medium, and computer system
EP1602504A2 (en) Motor control device and motor control method
EP1124320B1 (en) Motor control method and motor control apparatus
EP1681173B1 (en) Motor control apparatus and motor control method
JP2001169584A (en) Control device and method for printer motor, and recording medium storing control program
JP2001103778A (en) Control device and method of printer motor and recording medium recording control programs
US6354690B1 (en) Printing device with timing pulse generator
JP3832174B2 (en) Motor control device and control method
JP3188976B2 (en) Print control device and method
JP3570617B2 (en) DC motor control device and control method
JP3703400B2 (en) Movement control apparatus, recording apparatus, and movement control method
JP2004142195A (en) Method for controlling recording position
GB2034087A (en) Dot matrix character printer with variable speed control
JP2003266652A (en) Printer, printing method, program and computer system
JP2004142199A (en) Method for controlling recording position
JP2005178334A (en) Inkjet recording device
JP2004034469A (en) Printer and computer system
JP2005231243A (en) Printer controller, method of controlling printer, and printer
JP2003211767A (en) Recorder and recording control method
JP2001186785A (en) Device and method for controlling motor and/or storage medium with recorded control program of motor
JP2001142537A (en) Controller and control method for printer motor and recording medium recording control program
JP2001224189A (en) Motor control method and control unit
JP2004167788A (en) Recorder
JP2006150619A (en) Printing device, computer program, printing system, and printing method
JP2003211734A (en) Recorder and recoding control method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051024

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090714

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

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

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130828

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees