JP4289923B2 - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP4289923B2
JP4289923B2 JP2003135795A JP2003135795A JP4289923B2 JP 4289923 B2 JP4289923 B2 JP 4289923B2 JP 2003135795 A JP2003135795 A JP 2003135795A JP 2003135795 A JP2003135795 A JP 2003135795A JP 4289923 B2 JP4289923 B2 JP 4289923B2
Authority
JP
Japan
Prior art keywords
motor
control
edge
pulse signal
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2003135795A
Other languages
Japanese (ja)
Other versions
JP2004343859A (en
Inventor
伸恒 小林
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 JP2003135795A priority Critical patent/JP4289923B2/en
Publication of JP2004343859A publication Critical patent/JP2004343859A/en
Application granted granted Critical
Publication of JP4289923B2 publication Critical patent/JP4289923B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ディジタルエンコーダ信号を基にサーボ制御を行う技術に関し、例えば、インクジェット記録装置の紙送り制御において送り位置を制御する位置決めサーボへの適用に好適なディジタルエンコーダ制御技術に関する。
【0002】
【従来の技術】
プリンター、FAX、複写装置に装着して、画像情報に基づいて紙やプラスチック薄板(OHP等)等の被記録媒体に画像(文字や記号を含む)の記録を行う手段としてインクジェット記録装置は広く利用されている。
【0003】
インクジェット記録装置は、印字ヘッドから被記録媒体にインク滴を吐出して記録を行うものであり、記録手段のコンパクト化が容易であり、高精度な画像を高速に記録可能で、且つランニングコストが安く、ノンインパクト方式であるために騒音が少ないという特長を有している。しかも、多色のインクを使用してカラー画像を記録するのが容易であるという利点も有している。
【0004】
インクジェット記録装置の駆動源としては、印字ヘッドを搭載したキャリッジを往復駆動するキャリッジモータ、記録媒体を給紙するASFモータ、ヘッドクリーニング等を行う回復系モータ、記録媒体を印字スキャン毎に送る紙送りモータ等がある。従来、低コスト化が容易であり、制御が簡単である等の理由により上記駆動源はステッピングモータが多く使用されていた。
【0005】
インクジェット記録装置は、ノンインパクト方式であるために騒音が少ない。しかし、更なる静音化等の目的で上記駆動源にDCモータを使用することが多くなってきた。この場合、DCモータの制御情報を得るためにエンコーダを使用するのが一般的である。
【0006】
図1にエンコーダのモデル図を示す。エンコーダはLED101から発生した光をコードホイール102を通してディテクター103が検出して信号を発生する。コードホイール102上には、光を透過する部分104と光を透過しない部分105が決められた間隔で配置されている。ディテクター103にはフォトダイオード106,107,108,109が決められた間隔で配置さており、各フォトダイオード106,107,108,109で検出された光を電気信号A(110)、電気信号*A(111)、電気信号B(112)、電気信号*B(113)に変換して出力し、出力された電気信号110,111,112,113はコンパレーター114,115によって差動出力ChannelA(116),ChannelB(117)として出力される。
【0007】
図2に差動出力信号波形を示す。電気信号A(110)と電気信号*A(111)の交点で反転する信号がChannelA(116)になる。ここで、速度が一定の場合理想的には、ChannelA(116)のデュティーは50%になる。しかし、様々な要因によりデュティーは変化する。その大きな要因の1つとしてフォトダイオードの感度差がある。
【0008】
図3にフォトダイオード感度に差がある場合の差動出力信号波形を示す。フォトダイオードの感度は電気信号の振幅差として現れる。図3では、電気信号A(110)の振幅が電気信号*A(111)より小さくなった場合のChannelA(116)を示している。図より、フォトダイオードの感度差は出力信号のデュティー比を変化させることが分かる。しかし、ChannelAの周期には影響を与えない。上記のような理由により、一般的にエンコーダの出力信号は一周期が最も精度が高い。
【0009】
DCモータの制御情報としてエンコーダ信号から位置情報や速度情報を得る場合、より正確な情報を得るために一般に出力信号の例えば立ち上がりから立ち上がりまでの周期をカウントして使用する片エッジサンプル方式が用いられる。
【0010】
【特許文献1】
特開2002−034274号公報。
【0011】
【発明が解決しようとする課題】
しかし、インクジェット記録装置は印刷解像度の高精細化が進んでおり、モータに対してもより高解像度での停止制御が求められている。精度を出すことが容易な片エッジサンプル方式だけでは、求められる要求性能を満たすことは難しくなりつつある。そこで、精度を出すことがより難しい両相両エッジの情報を使いこなす技術が必要となっている。
【0012】
両相両エッジ情報は、先に述べたように原理的には片エッジサンプル方式に比べて精度が落ちてしまうが、部品のばらつきの限度値が、記録装置システム全体の要求精度内に収まっていれば、使用することは不可能ではない。両相両エッジを使用しながらも、両相両エッジ情報の持つ欠点の影響を可能な限り低く抑えることができれば、記録装置システム全体の要求精度を満たすことが可能な構成も実現できる。
【0013】
エンコーダから得られる情報は、位置サーボに使用される位置情報(以下、サーボ制御内位置情報と呼称する)、位置サーボ内の速度マイナーループに使用される速度情報、停止位置に達したときの停止制御発動タイミングに関わる位置情報(以下、停止制御内位置情報と呼称する)の3つに使用される。
【0014】
ここでサーボ制御内位置情報に着目すると、部品のばらつきによる両相両エッジ情報の劣化の影響で、良質な精度の部品を装着したインクジェット記録装置と、劣悪な精度の部品を装着したインクジェット記録装置で制御性能に差が出来てしまう。量産される工業製品としては、劣悪な精度の部品が使用されていても製品全体の性能は保証されなければならず、問題であった。
【0015】
従って、本発明は上述した課題に鑑みてなされたものであり、その目的は、エンコーダの両相両エッジ情報を用いながら、高精度なモータ制御を可能とすることである。
【0016】
【課題を解決するための手段】
上述した課題を解決し、目的を達成するために、本発明に係わるモータ制御装置は、モータの回転制御を行なうためのモータ制御装置であって、前記モータの駆動速度に応じた所定の周波数の第1のパルス信号を発生する第1の周波数信号発生手段と、前記所定の周波数で前記第1のパルス信号とは約90度位相がずれた第2のパルス信号を発生する第2の周波数信号発生手段と、前記第1のパルス信号の立ち上がりエッジ及び立ち下がりエッジと、前記第2のパルス信号の立ち上がりエッジ及び立ち下がりエッジの4種類のエッジを、それぞれ独立に検出可能な検出手段と、該検出手段の検出結果に基づいて前記モータの回転位置制御を行なう制御手段であって、前記4種類のエッジのうち前記モータの停止目標位置に対応するエッジと同じ種類のエッジのみを用いて、前記モータを前記停止目標位置に停止させるまでの間の前記モータの回転位置制御を行なう制御手段と、を具備することを特徴とする。
【0017】
【発明の実施の形態】
以下、本発明の一実施形態について説明する。
【0018】
まず、本実施形態に概要について説明する。
【0019】
本実施形態は、駆動手段と、該駆動手段により駆動される被駆動体の駆動速度に応じた周波数のパルス信号を発生する周波数信号発生手段と、前記パルス信号の立ち上がりと立ち下がりを検出するエッジ検出手段を有し、前記駆動手段により駆動される被駆動体の駆動速度に応じた周波数の第1のパルス信号を発生する第1の周波数信号発生手段と前記第1のパルス信号から電気角で約90度位相のずれた第2のパルス信号を発生する第2の周波数信号発生手段と、前記第1のパルス信号の立ち上がりと立ち下がりエッジ、前記第2のパルス信号の立ち上がりと立ち下がりエッジをそれぞれ独立に検出可能な検出手段と、該4種類のエッジの情報を加算して位置情報として採用する手段を有し、該位置情報を用いて位置サーボ処理を行う制御手段と、該位置サーボ処理においては停止位置として該4種類のエッジを採用可能な構成と、該位置サーボ処理内においては停止位置に使用されるエッジと同じ種類のエッジのみを用いて制御を行うことを特徴とするモータ制御手段を採用する。
【0020】
本実施形態のモータ制御装置は、モータの回転制御を行なうためのモータ制御装置であって、前記モータの駆動速度に応じた所定の周波数の第1のパルス信号を発生する第1の周波数信号発生手段と、前記所定の周波数で前記第1のパルス信号とは約90度位相がずれた第2のパルス信号を発生する第2の周波数信号発生手段と、前記第1のパルス信号の立ち上がりエッジ及び立ち下がりエッジと、前記第2のパルス信号の立ち上がりエッジ及び立ち下がりエッジの4種類のエッジを、それぞれ独立に検出可能な検出手段と、該検出手段の検出結果に基づいて前記モータの回転位置制御を行なう制御手段であって、前記4種類のエッジのうち前記モータの停止目標位置に対応するエッジと同じ種類のエッジのみを用いて、前記モータを前記停止目標位置に停止させるまでの間の前記モータの回転位置制御を行なう制御手段と、を具備することを特徴とする。
【0021】
また、本実施形態のモータ装置の制御方法は、モータと、該モータの駆動速度に応じた所定の周波数の第1のパルス信号を発生する第1の周波数信号発生手段と、前記所定の周波数で前記第1のパルス信号とは約90度位相がずれた第2のパルス信号を発生する第2の周波数信号発生手段と、前記第1のパルス信号の立ち上がりエッジ及び立ち下がりエッジと、前記第2のパルス信号の立ち上がりエッジ及び立ち下がりエッジの4種類のエッジを、それぞれ独立に検出可能な検出手段とを備えるモータ装置を制御するためのモータ装置の制御方法であって、前記検出手段の検出結果に基づいて前記モータの回転位置制御を行なうにあたり、前記4種類のエッジのうち前記モータの停止目標位置に対応するエッジと同じ種類のエッジのみを用いて、前記モータを前記停止目標位置に停止させるまでの間の前記モータの回転位置制御を行なうことを特徴とする。
【0022】
また、本実施形態のプログラムは、上記のモータ装置の制御方法をコンピュータに実行させることを特徴とする。
【0023】
また、本実施形態の記憶媒体は、上記のプログラムをコンピュータ読み取り可能に記憶したことを特徴とする。
【0024】
以下、本発明の一実施形態について、図面を参照して具体的に説明する。
【0025】
なお、以下に説明する実施形態では、インクジェット方式に従う記録ヘッドを用いた記録装置を例に挙げて説明する。
【0026】
なお、この明細書において、「記録」(「プリント」という場合もある)とは、文字、図形等有意の情報を形成する場合のみならず、有意無意を問わず、また人間が視覚で知覚し得るように顕在化したものであるか否かを問わず、広く記録媒体上に画像、模様、パターン等を形成する、または媒体の加工を行う場合も表すものとする。
【0027】
また、「記録媒体」とは、一般的な記録装置で用いられる紙のみならず、広く、布、プラスチック・フィルム、金属板、ガラス、セラミックス、木材、皮革等、インクを受容可能なものも表すものとする。
【0028】
さらに、「インク」(「液体」と言う場合もある)とは、上記「記録(プリント)」の定義と同様広く解釈されるべきもので、記録媒体上に付与されることによって、画像、模様、パターン等の形成または記録媒体の加工、或いはインクの処理(例えば記録媒体に付与されるインク中の色剤の凝固または不溶化)に供され得る液体を表すものとする。
【0029】
またさらに、「ノズル」とは、特にことわらない限り吐出口ないしこれに連通する液路およびインク吐出に利用されるエネルギーを発生する素子を総括して言うものとする。
【0030】
<インクジェット記録装置の説明(図4)>
図4は本発明の代表的な実施形態であるインクジェット記録装置1の構成の概要を示す外観斜視図である。
【0031】
図4に示すように、インクジェット記録装置(以下、記録装置という)は、インクジェット方式に従ってインクを吐出して記録を行なう記録ヘッド3を搭載したキャリッジ2にキャリッジモータM1によって発生する駆動力を伝達機構4より伝え、キャリッジ2を矢印A方向に往復移動させるとともに、例えば、記録紙などの記録媒体Pを給紙機構5を介して給紙し、記録位置まで搬送し、その記録位置において記録ヘッド3から記録媒体Pにインクを吐出することで記録を行なう。
【0032】
また、記録ヘッド3の状態を良好に維持するためにキャリッジ2を回復装置10の位置まで移動させ、間欠的に記録ヘッド3の吐出回復処理を行う。
【0033】
記録装置1のキャリッジ2には記録ヘッド3を搭載するのみならず、記録ヘッド3に供給するインクを貯留するインクカートリッジ6を装着する。インクカートリッジ6はキャリッジ2に対して着脱自在になっている。
【0034】
図4に示した記録装置1はカラー記録が可能でり、そのためにキャリッジ2にはマゼンタ(M)、シアン(C)、イエロ(Y)、ブラック(K)のインクを夫々、収容した4つのインクカートリッジを搭載している。これら4つのインクカートリッジは夫々独立に着脱可能である。
【0035】
さて、キャリッジ2と記録ヘッド3とは、両部材の接合面が適正に接触されて所要の電気的接続を達成維持できるようになっている。記録ヘッド3は、記録信号に応じてエネルギーを印加することにより、複数の吐出口からインクを選択的に吐出して記録する。特に、この実施形態の記録ヘッド3は、熱エネルギーを利用してインクを吐出するインクジェット方式を採用し、熱エネルギーを発生するために電気熱変換体を備え、その電気熱変換体に印加される電気エネルギーが熱エネルギーへと変換され、その熱エネルギーをインクに与えることにより生じる膜沸騰による気泡の成長、収縮によって生じる圧力変化を利用して、吐出口よりインクを吐出させる。この電気熱変換体は各吐出口のそれぞれに対応して設けられ、記録信号に応じて対応する電気熱変換体にパルス電圧を印加することによって対応する吐出口からインクを吐出する。
【0036】
図4に示されているように、キャリッジ2はキャリッジモータM1の駆動力を伝達する伝達機構4の駆動ベルト7の一部に連結されており、ガイドシャフト13に沿って矢印A方向に摺動自在に案内支持されるようになっている。従って、キャリッジ2は、キャリッジモータM1の正転及び逆転によってガイドシャフト13に沿って往復移動する。また、キャリッジ2の移動方向(矢印A方向)に沿ってキャリッジ2の絶対位置を示すためのスケール8が備えられている。この実施形態では、スケール8は透明なPETフィルムに必要なピッチで黒色のバーを印刷したものを用いており、その一方はシャーシ9に固着され、他方は板バネ(不図示)で支持されている。
【0037】
また、記録装置1には、記録ヘッド3の吐出口(不図示)が形成された吐出口面に対向してプラテン(不図示)が設けられており、キャリッジモータM1の駆動力によって記録ヘッド3を搭載したキャリッジ2が往復移動されると同時に、記録ヘッド3に記録信号を与えてインクを吐出することによって、プラテン上に搬送された記録媒体Pの全幅にわたって記録が行われる。
【0038】
さらに、図4において、14は記録媒体Pを搬送するために搬送モータM2によって駆動される搬送ローラ、15はバネ(不図示)により記録媒体Pを搬送ローラ14に当接するピンチローラ、16はピンチローラ15を回転自在に支持するピンチローラホルダ、17は搬送ローラ14の一端に固着された搬送ローラギアである。そして、搬送ローラギア17に中間ギア(不図示)を介して伝達された搬送モータM2の回転により、搬送ローラ14が駆動される。
【0039】
またさらに、20は記録ヘッド3によって画像が形成された記録媒体Pを記録装置外ヘ排出するための排出ローラであり、搬送モータM2の回転が伝達されることで駆動されるようになっている。なお、排出ローラ20は記録媒体Pをバネ(不図示)により圧接する拍車ローラ(不図示)により当接する。22は拍車ローラを回転自在に支持する拍車ホルダである。
【0040】
またさらに、記録装置1には、図4に示されているように、記録ヘッド3を搭載するキャリッジ2の記録動作のための往復運動の範囲外(記録領域外)の所望位置(例えば、ホームポジションに対応する位置)に、記録ヘッド3の吐出不良を回復するための回復装置10が配設されている。
【0041】
回復装置10は、記録ヘッド3の吐出口面をキャッピングするキャッピング機構11と記録ヘッド3の吐出口面をクリーニングするワイピング機構12を備えており、キャッピング機構11による吐出口面のキャッピングに連動して回復装置内の吸引手段(吸引ポンプ等)により吐出口からインクを強制的に排出させ、それによって、記録ヘッド3のインク流路内の粘度の増したインクや気泡等を除去するなどの吐出回復処理を行う。
【0042】
また、非記録動作時等には、記録ヘッド3の吐出口面をキャッピング機構11によるキャッピングすることによって、記録ヘッド3を保護するとともにインクの蒸発や乾燥を防止することができる。一方、ワイピング機構12はキャッピング機構11の近傍に配され、記録ヘッド3の吐出口面に付着したインク液滴を拭き取るようになっている。
【0043】
これらキャッピング機構11及びワイピング機構12により、記録ヘッド3のインク吐出状態を正常に保つことが可能となっている。
【0044】
<インクジェット記録装置の制御構成(図5)>
図5は図4に示した記録装置の制御構成を示すブロック図である。
【0045】
図5に示すように、コントローラ600は、MPU601、後述する制御シーケンスに対応したプログラム、所要のテーブル、その他の固定データを格納したROM602、キャリッジモータM1の制御、搬送モータM2の制御、及び、記録ヘッド3の制御のための制御信号を生成する特殊用途集積回路(ASIC)603、画像データの展開領域やプログラム実行のための作業用領域等を設けたRAM604、MPU601、ASIC603、RAM604を相互に接続してデータの授受を行うシステムバス605、以下に説明するセンサ群からのアナログ信号を入力してA/D変換し、デジタル信号をMPU601に供給するA/D変換器606、搬送モータM2の制御を行なう搬送モータ制御部607などで構成される。
【0046】
また、図5において、610は画像データの供給源となるコンピュータ(或いは、画像読取り用のリーダやデジタルカメラなど)でありホスト装置と総称される。ホスト装置610と記録装置1との間ではインタフェース(I/F)611を介して画像データ、コマンド、ステータス信号等を送受信する。
【0047】
さらに、620はスイッチ群であり、電源スイッチ621、プリント開始を指令するためのプリントスイッチ622、及び記録ヘッド3のインク吐出性能を良好な状態に維持するための処理(回復処理)の起動を指示するための回復スイッチ623など、操作者による指令入力を受けるためのスイッチから構成される。630はホームポジションhを検出するためのフォトカプラなどの位置センサ631、環境温度を検出するために記録装置の適宜の箇所に設けられた温度センサ632等から構成される装置状態を検出するためのセンサ群である。なお、位置センサ631には、搬送モータM2の回転位置を検出するためのエンコーダ501も含まれている。
【0048】
さらに、640はキャリッジ2を矢印A方向に往復走査させるためのキャリッジモータM1を駆動させるキャリッジモータドライバ、642は記録媒体Pを搬送するための搬送モータM2を駆動させる搬送モータドライバである。
【0049】
図6は、本実施形態の搬送モータの回転制御の処理の概念を簡略に説明した図である。
【0050】
エンコーダB相の立ち下がりエッジを(1)、エンコーダA相の立ち上がりエッジを(2)、エンコーダB相の立ち上がりエッジを(3)、エンコーダA相の立ち下がりエッジを(4)で示している。
【0051】
[1]は停止位置が(1)に該当する場合の、サーボ制御内位置情報の取得方法について示している。停止位置と同じエッジである(1)のみを採用して制御を行っており、(2)(3)(4)については採用していない。
【0052】
[2]は停止位置が(2)に該当する場合の、サーボ制御内位置情報の取得方法について示している。停止位置と同じエッジである(2)のみを採用して制御を行っており、(1)(3)(4)については採用していない。
【0053】
[3]は停止位置が(3)に該当する場合の、サーボ制御内位置情報の取得方法について示している。停止位置と同じエッジである(3)のみを採用して制御を行っており、(1)(2)(4)については採用していない。
【0054】
[4]は停止位置が(4)に該当する場合の、サーボ制御内位置情報の取得方法について示している。停止位置と同じエッジである(4)のみを採用して制御を行っており、(1)(2)(3)については採用していない。
【0055】
以上のように処理を行うことで、部品精度のばらつき(例えば、フォトダイオード感度のばらつき)による(1)〜(4)の位置ばらつきの影響を、サーボ制御内位置情報は免れることができる。
【0056】
図7に本実施形態の搬送モータ(DCモータ)制御装置の構成を説明するためのブロック図を示す。
【0057】
エンコーダ501はモータ515(図5における搬送モータM2に対応する)が駆動されることによりA相及びB相の2つの信号をエンコーダ信号制御部502へ出力する。エンコーダ信号制御部502内にはエンコーダ信号のエッジを検出するエッジ検出部503が配置されている。エッジ検出部503では、各相の各エッジ、つまりA相の立ち上がりエッジ検出504、A相の立ち下がりエッジ検出505、B相の立ち上がりエッジ検出506、B相の立ち下がりエッジ検出507が独立に行われ、各エッジに同期した信号が生成されている。各エッジに同期した信号はそれぞれのエッジ間隔カウント部508,509,510,511に送られ、それぞれのエッジ間隔は独立にカウントされる。各エッジ間隔カウント部508,509,510,511は、エッジ検出部503からエッジ検出信号が送られ、エッジ間隔が確定する度に速度/位置情報記憶部512内の速度情報を上書きする。サーボコントローラ513は、所定間隔のサーボ周期になるとサーボに必要な速度情報を得るために速度/位置情報記憶部512から速度/位置情報を読み出す。サーボコントローラ513は得られた速度情報や位置情報等を基に演算を行い、最適なモータ制御情報をモータドライバ514(図5における搬送モータドライバ642に対応する)に出力する。モータドライバ514は入力された制御情報に従ってモータ515に出力を行い、モータ515は駆動される。
【0058】
図8は、DCモータの位置制御系を説明する模式図であり、位置サーボをかける場合の手法について示している。本実施形態において位置サーボは、後述する理想プロファイルに対する追値制御として行われる。DCモータは、PIDコントロールあるいは古典制御と呼ばれる手法で制御されており、以下その手順を説明する。
【0059】
まず、制御対象に与えたい目標位置は、1601の理想位置プロファイルという形で与える。本実施形態においては、例えばこれは該当する時刻においてラインフィードモータによって搬送された紙が到達しているべき絶対位置に該当する。時刻の進行とともに、この位置情報は変化していく。この理想位置プロファイルに対して追値制御を行うことで、本実施形態の装置の駆動は遂行される。
【0060】
本実施形態の装置にはエンコーダセンサ501が具備されており、モータの物理的な回転を検知する。エンコーダ位置情報変換手段1609は、エンコーダセンサが検知したスリット数を加算していき絶対位置情報を得る手段であり、エンコーダ速度情報変換手段1606はエンコーダセンサの信号と、プリンタに内蔵された時計から、現在のラインフィードモータの駆動速度を算出する手段である。
【0061】
理想位置プロファイル1601から、位置情報変換手段1609により得られた実際の物理的位置を減算した数値を、目標位置に対して足りない位置誤差として、1602以降の位置サーボのフィードバック処理に受け渡す。1602は位置サーボのメジャーループであり、一般的には比例項Pに関する計算を行う手段が知られている。
【0062】
メジャーループ1602における演算の結果としては、速度指令値が出力される。この速度指令値が、1603以降の速度サーボのフィードバック処理に受け渡される。速度サーボのマイナーループは、比例項P、積分項I、微分項Dに対する演算を行うPID演算により行う手法が一般的である。本実施形態の装置においては、速度指令値の非線形な変化が発生した場合の追従性を改善し、なおかつ追値制御時の微分演算の弊害を防ぐために、一般に微分先行形と呼ばれる手法を示しており、エンコーダ速度情報変換手段1606で得られたエンコーダ速度情報は、1602で得られた速度指令値との差を取る前に、1607の微分演算を通される。この手法自体は本実施形態の主題となるものではなく、制御対象の系の特性によっては、1603においてこの微分演算を行えば充分なものもある。
【0063】
速度サーボのマイナーループにおいては、速度指令値からエンコーダ速度情報を減算した数値を、目標速度に対して足りない速度誤差として、PI演算回路1603に受け渡し、その時点でDCモータに与えるべきエネルギーを、PI演算と呼ばれる手法で算出する。それを受けたモータドライバ回路は、例えばモータ印加電圧は一定として、印加電圧のパルス幅を変化させる手段(以下「PWM(Pules Width Modulation)制御」と呼ぶ)を用い、印加電圧のDutyを変化させて、電流値を調節し、DCモータ515に与えるエネルギーを調節し、速度制御を行う。
【0064】
電流値を印可されて回転するDCモータは、1608の外乱による影響を受けながら物理的な回転を行い、その出力がエンコーダセンサ501により検知される。
【0065】
図9は、各制御処理の関わりについて示したタイミング図である。
【0066】
901はモータ制御タスクの状態を、902はタイマ割り込み処理の状態を、903は位置割り込み処理の状態を示している。グラフの縦軸701は位置を示しており、横軸は時間の経過を示している。704は理想位置のプロファイルを示しており、705は実際にモータを駆動した結果の現実位置プロファイルを示している。
【0067】
駆動制御処理が発動されると、802で駆動制御準備が行われる。802は、一般的にモータ制御タスクに記述される処理であり、駆動目的に適した理想位置プロファイルテーブルの選択、サーボパラメータテーブルの選択、各種ワーク領域の設定を行い、最後にタイマ割り込み処理を司るタイマに起動をかけて終了する。
【0068】
802でタイマが起動されると、803で示された実駆動ステップに処理は移行する。803は、一般的にタイマ割り込み処理内に記述される処理であり、たとえば1msec毎に1回割り込んできて、エンコーダの値を読み出し、PID演算等により出力すべき電流の値を算出し、モータに対してこの値を出力するものである。
【0069】
加速制御領域711、定速制御領域712、減速制御領域713と処理が進むにつれて理想位置プロファイル704は変化し、これに対して803内での演算処理により追値制御を行うことで現実位置プロファイル705がプロットされていく。
【0070】
803の動作と並行して、システムにおいては停止位置に到達したかどうかの監視が行われており、到達が検知されると駆動目標位置への到達検知ステップ804が発動して割り込みが発生し、805の駆動制御終了ステップへと処理は移行する。
【0071】
805においては、モータに対する出力をいち早くディスエーブルにしてからタイマを停止し、制御を終了する。
【0072】
以上の各処理を行うことで、1つの駆動処理は駆動制御終了へと至ることになる。
【0073】
図10、図11は本実施形態の装置の動作のアルゴリズムについて示したフローチャートであり、図10は802で遂行される処理の具体的内容を、図11は803で遂行される処理の具体的内容を示している。
【0074】
図8において、802の駆動準備処理が起動されると、1002の駆動準備処理詳細が遂行される。1002では、駆動目的に適した理想位置プロファイルテーブルの選択、サーボパラメータテーブルの選択、各種ワーク領域の設定を行う。
【0075】
1003において、destinationは目標位置を示しており、エンコーダ読み値がこの値になったときに到達検知ステップ804が発動する値そのものである。1003では、このdesitionationを4で割った余り(図に示す%4とは4で割った余りを示すものとする)の値をmodPositionに代入する。「4で割った余り」とは、停止位置がA相の立ち上がりエッジであるか、B相の立ち上がりエッジであるか、A相の立ち下がりエッジであるか、B相の立ち下がりエッジであるかを識別するための情報であり、803内の演算処理で使用される。
【0076】
1004でタイマ割り込み処理を司るタイマに起動をかけて、駆動準備処理は終了する。
【0077】
図9において、803のサーボタイマ内処理が開始されると、1102で位置情報(以下、positionInfoと呼称する)を取得する。これは、エンコーダから得る現在の位置情報そのものを意味している。本実施形態において、位置情報は進行方向に向かって加算されていくものとする。また、以下の説明で登場する全ての変数は整数とする。
【0078】
1103では、positionInfoを4で割った余りをworkModPositionに代入している。workModPositionは、現在の位置がA相の立ち上がりエッジであるか、B相の立ち上がりエッジであるか、A相の立ち下がりエッジであるか、B相の立ち下がりエッジであるかを識別するための情報である。
【0079】
1104では、workModPositionとmodPositionの比較を行い、workModPositionがmodPosition以上であれば1105に、さもなければ1106に進む。
【0080】
1105に進んだ場合は、精度の確約されない両相両エッジ情報を消去するために現在のpositionInfoを4の倍数単位に丸めて(置き換え)から、停止位置の有効エッジ情報であるmodPositionを加算して、現在位置情報であるpositionInfoに上書きしている。ここで、4の倍数単位に丸める(置き換える)と、例えば値「93」、「94」、「95」は「92」となる。また、「97」、「98」、「99」を丸めると、それぞれ「96」となる。
【0081】
1106に進んだ場合も、精度の確約されない両相両エッジ情報を消去するために現在のpositionInfoを4の倍数単位に丸め、停止位置の有効エッジ情報であるmodPositionを加算しているが、このままでは4エッジ分切り上げの計算になってしまうため、最後に4減算した上で、現在位置情報であるpositionInfoに上書きしている。
【0082】
1105、1106の計算により、図6で説明した、停止位置と同じエッジ情報のみでの制御を行うことが可能となる。
【0083】
1105、1106の計算の一例を示す。目標位置であるdestinationの値を「102」とすると、modPositionの値は「2」である。ここで、例えば、エンコーダーが読んだ値が94〜97のいずれかの値あっても、94と算出される。また、98〜101のいずれかの値であっても、98と算出される。このように、上述した計算により、算出される位置情報として、目標位置が102であれば、2、6、10、14、・・・90、94、98の値のうちいずれかの値が得られる。これらの得られた値を用いて、制御を行う。
【0084】
また、目標位置が「103」であれば、modPositionの値は「3」となり、同様の計算を行えば、位置情報として、3、7、11、15、・・・91、95、99の値のいずれかの値が得られる。これらの値は、互いに4の整数倍の差を持っている。従って、停止位置と同じエッジの位置の値であるので、同じエッジ情報のみで制御を行うことになる。
【0085】
1107ではここまでの処理で算出したpositionInfoを用いてPID演算等の処理を行い、この演算結果に基づいて1108でモータに対して電流出力を行い、1109でサーボタイマ内処理を終了する。
【0086】
以上の処理を行うことで、両相(A相、B相)の信号の両エッジ(立ち上りエッジ、立ち下りエッジ)のうち、停止位置に最適なエッジを選択することで停止位置の精度(分解能)を確保しつつ、停止位置と同じ1つのエッジ情報のみで制御を行うことで、両エッジ情報の劣化(誤差)の影響を避けることができる。
【0087】
以上の実施形態は、特にインクジェット記録方式の中でも、インク吐出を行わせるために利用されるエネルギーとして熱エネルギーを発生する手段(例えば電気熱変換体やレーザ光等)を備え、前記熱エネルギーによりインクの状態変化を生起させる方式を用いることにより記録の高密度化、高精細化が達成できる。
【0088】
その代表的な構成や原理については、例えば、米国特許第4723129号明細書、同第4740796号明細書に開示されている基本的な原理を用いて行うものが好ましい。この方式はいわゆるオンデマンド型、コンティニュアス型のいずれにも適用可能であるが、特に、オンデマンド型の場合には、液体(インク)が保持されているシートや液路に対応して配置されている電気熱変換体に、記録情報に対応していて核沸騰を越える急速な温度上昇を与える少なくとも1つの駆動信号を印加することによって、電気熱変換体に熱エネルギーを発生せしめ、記録ヘッドの熱作用面に膜沸騰を生じさせて、結果的にこの駆動信号に1対1で対応した液体(インク)内の気泡を形成できるので有効である。この気泡の成長、収縮により吐出用開口を介して液体(インク)を吐出させて、少なくとも1つの滴を形成する。この駆動信号をパルス形状とすると、即時適切に気泡の成長収縮が行われるので、特に応答性に優れた液体(インク)の吐出が達成でき、より好ましい。
【0089】
このパルス形状の駆動信号としては、米国特許第4463359号明細書、同第4345262号明細書に記載されているようなものが適している。なお、上記熱作用面の温度上昇率に関する発明の米国特許第4313124号明細書に記載されている条件を採用すると、さらに優れた記録を行うことができる。
【0090】
また、以上の実施形態は記録ヘッドを走査して記録を行なうシリアルタイプの記録装置であったが、記録媒体の幅に対応した長さを有する記録ヘッドを用いたフルラインタイプの記録装置であっても良い。フルラインタイプの記録ヘッドとしては、上述した明細書に開示されているような複数記録ヘッドの組み合わせによってその長さを満たす構成や、一体的に形成された1個の記録ヘッドとしての構成のいずれでもよい。
【0091】
加えて、上記の実施形態で説明した記録ヘッド自体に一体的にインクタンクが設けられたカートリッジタイプの記録ヘッドのみならず、装置本体に装着されることで、装置本体との電気的な接続や装置本体からのインクの供給が可能になる交換自在のチップタイプの記録ヘッドを用いてもよい。
【0092】
また、以上説明した記録装置の構成に、記録ヘッドに対する回復手段、予備的な手段等を付加することは記録動作を一層安定にできるので好ましいものである。これらを具体的に挙げれば、記録ヘッドに対してのキャッピング手段、クリーニング手段、加圧あるいは吸引手段、電気熱変換体あるいはこれとは別の加熱素子あるいはこれらの組み合わせによる予備加熱手段などがある。また、記録とは別の吐出を行う予備吐出モードを備えることも安定した記録を行うために有効である。
【0093】
さらに、記録装置の記録モードとしては黒色等の主流色のみの記録モードだけではなく、記録ヘッドを一体的に構成するか複数個の組み合わせによってでも良いが、異なる色の複色カラー、または混色によるフルカラーの少なくとも1つを備えた装置とすることもできる。
【0094】
以上説明した実施の形態においては、インクが液体であることを前提として説明しているが、室温やそれ以下で固化するインクであっても、室温で軟化もしくは液化するものを用いても良く、あるいはインクジェット方式ではインク自体を30°C以上70°C以下の範囲内で温度調整を行ってインクの粘性を安定吐出範囲にあるように温度制御するものが一般的であるから、使用記録信号付与時にインクが液状をなすものであればよい。
【0095】
さらに加えて、本発明に係る記録装置の形態としては、コンピュータ等の情報処理機器の画像出力端末として一体または別体に設けられるものの他、リーダ等と組み合わせた複写装置、さらには送受信機能を有するファクシミリ装置の形態を取るものであっても良い。
【0096】
【他の実施形態】
また、各実施形態の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0097】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0098】
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。
【0099】
【発明の効果】
以上説明したように、本発明によれば、部品性能のばらつきの影響を受けることなく、一定の制御性能を安定して得ることができ、量産される工業製品として安定した品質を実現することが可能となる。
【図面の簡単な説明】
【図1】エンコーダのモデル図である。
【図2】理想的な差動出力信号波形を示した図である。
【図3】フォトダイオード感度に差がある場合の差動出力信号波形を示した図である。
【図4】本発明の代表的な実施形態であるインクジェット記録装置の構成の概要を示す外観斜視図である。
【図5】図1に示すインクジェット記録装置の制御回路の構成を示すブロック図である。
【図6】本発明の一実施形態の処理の概念を簡略に説明した図である。
【図7】本発明の一実施形態の装置の構成を説明するためのブロック図である。
【図8】DCモータの位置制御系を説明する図である。
【図9】各制御処理の関わりについて示したタイミング図である。
【図10】本発明の一実施形態の装置の動作を示すアルゴリズムについて示したフローチャートである。
【図11】本発明の一実施形態の装置の動作を示すアルゴリズムについて示したフローチャートである。
【符号の説明】
101 LED
102 コードホイール
103 ディテクター
104 光を透過する部分
105 光を透過しない部分
106〜109 フォトダイオード
110〜113 電気信号
114〜115 コンパレータ
116〜117 出力
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for performing servo control based on a digital encoder signal, for example, a digital encoder control technique suitable for application to a positioning servo for controlling a feed position in paper feed control of an ink jet recording apparatus.
[0002]
[Prior art]
Inkjet recording devices are widely used as a means to record images (including characters and symbols) on recording media such as paper and plastic thin plates (OHP, etc.) based on image information by mounting them on printers, fax machines, and copying machines. Has been.
[0003]
An ink jet recording apparatus performs recording by ejecting ink droplets from a print head onto a recording medium. The recording means can be easily made compact, high-accuracy images can be recorded at high speed, and running cost is low. It is inexpensive and has a feature of low noise due to the non-impact method. In addition, there is an advantage that it is easy to record a color image using multicolor inks.
[0004]
As a drive source of the ink jet recording apparatus, a carriage motor that reciprocates a carriage mounted with a print head, an ASF motor that feeds a recording medium, a recovery system motor that performs head cleaning, and a paper feed that sends the recording medium for each print scan There are motors. Conventionally, stepping motors are often used as the drive source for reasons such as easy cost reduction and simple control.
[0005]
Since the ink jet recording apparatus is a non-impact method, noise is low. However, the use of a DC motor for the drive source has been increased for the purpose of further noise reduction. In this case, an encoder is generally used to obtain DC motor control information.
[0006]
FIG. 1 shows a model diagram of the encoder. In the encoder, the detector 103 detects the light generated from the LED 101 through the code wheel 102 and generates a signal. On the code wheel 102, a portion 104 that transmits light and a portion 105 that does not transmit light are arranged at a predetermined interval. Photodiodes 106, 107, 108 and 109 are arranged at a predetermined interval on the detector 103, and the light detected by each of the photodiodes 106, 107, 108 and 109 is converted into an electric signal A (110) and an electric signal * A. (111), electric signal B (112), converted into electric signal * B (113) and output, and the output electric signals 110, 111, 112, 113 are output by the comparators 114, 115 as differential output Channel A (116). ), Channel B (117).
[0007]
FIG. 2 shows a differential output signal waveform. A signal that is inverted at the intersection of the electric signal A (110) and the electric signal * A (111) is Channel A (116). Here, when the speed is constant, the duty of Channel A (116) is ideally 50%. However, the duty changes due to various factors. One of the major factors is a difference in sensitivity of the photodiode.
[0008]
FIG. 3 shows a differential output signal waveform when there is a difference in photodiode sensitivity. The sensitivity of a photodiode appears as an amplitude difference between electrical signals. FIG. 3 shows Channel A (116) when the amplitude of the electric signal A (110) is smaller than the electric signal * A (111). From the figure, it can be seen that the sensitivity difference of the photodiode changes the duty ratio of the output signal. However, it does not affect the period of Channel A. For the reasons described above, the encoder output signal is generally most accurate in one cycle.
[0009]
When obtaining position information and speed information from an encoder signal as DC motor control information, in order to obtain more accurate information, a one-edge sampling method is generally used in which, for example, a period from the rising edge to the rising edge of the output signal is counted and used. .
[0010]
[Patent Document 1]
JP 2002-034274 A.
[0011]
[Problems to be solved by the invention]
However, the inkjet recording apparatus has been improved in printing resolution, and the motor is required to perform stop control at higher resolution. It is becoming difficult to satisfy the required performance only with the single-edge sampling method that is easy to obtain accuracy. Therefore, there is a need for technology that makes full use of information on both edges, which is more difficult to obtain.
[0012]
As described above, the accuracy of both-phase and double-edge information is lower than that of the single-edge sampling method in principle, but the limit value of component variation is within the required accuracy of the entire printing system. If so, it is not impossible to use. A configuration capable of satisfying the required accuracy of the entire recording apparatus system can be realized if the influence of the drawbacks of both-phase both-edge information can be suppressed as low as possible while using both-phase both-edges.
[0013]
Information obtained from the encoder includes position information used for position servo (hereinafter referred to as position information in servo control), speed information used for speed minor loops in position servo, and stop when the stop position is reached. It is used for three pieces of position information related to control activation timing (hereinafter referred to as position information in stop control).
[0014]
Focusing on the position information in the servo control here, due to the influence of deterioration of both-phase and double-edge information due to component variations, an ink jet recording apparatus in which components with good precision are mounted and an ink jet recording apparatus in which components with poor accuracy are mounted This makes a difference in control performance. As a mass-produced industrial product, even if poor precision parts are used, the performance of the entire product must be guaranteed, which is a problem.
[0015]
Therefore, the present invention has been made in view of the above-described problems, and an object thereof is to enable highly accurate motor control while using both-phase / both-edge information of the encoder.
[0016]
[Means for Solving the Problems]
In order to solve the above-described problems and achieve the object, a motor control device according to the present invention is a motor control device for controlling rotation of a motor, and has a predetermined frequency corresponding to the driving speed of the motor. A first frequency signal generating means for generating a first pulse signal; and a second frequency signal for generating a second pulse signal having a phase difference of about 90 degrees from the first pulse signal at the predetermined frequency. Generating means; detection means capable of independently detecting four types of edges, rising edge and falling edge of the first pulse signal; and rising edge and falling edge of the second pulse signal; and Control means for controlling the rotational position of the motor based on the detection result of the detection means, the same as the edge corresponding to the stop target position of the motor among the four types of edges. Using only the type of the edge, characterized by comprising a control means for performing a rotational position control of the motor between the motor until it is stopped at the target stop position.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described.
[0018]
First, an outline of this embodiment will be described.
[0019]
The present embodiment includes a driving means, a frequency signal generating means for generating a pulse signal having a frequency corresponding to the driving speed of a driven body driven by the driving means, and an edge for detecting the rising and falling edges of the pulse signal. A first frequency signal generating means for generating a first pulse signal having a frequency corresponding to a driving speed of a driven body driven by the driving means and an electrical angle from the first pulse signal; Second frequency signal generating means for generating a second pulse signal having a phase shift of about 90 degrees, a rising edge and a falling edge of the first pulse signal, and a rising edge and a falling edge of the second pulse signal. A control unit that has detection means that can be detected independently and means that adds the information of the four types of edges and employs the information as position information, and performs position servo processing using the position information In the position servo process, the four types of edges can be adopted as the stop position, and in the position servo process, control is performed using only the same type of edge as the edge used for the stop position. The motor control means characterized by this is adopted.
[0020]
The motor control device according to the present embodiment is a motor control device for controlling the rotation of the motor, and generates a first frequency signal that generates a first pulse signal having a predetermined frequency corresponding to the driving speed of the motor. Means, second frequency signal generating means for generating a second pulse signal that is approximately 90 degrees out of phase with the first pulse signal at the predetermined frequency, a rising edge of the first pulse signal, and Detection means capable of independently detecting a falling edge and four types of edges, that is, a rising edge and a falling edge of the second pulse signal, and rotational position control of the motor based on the detection result of the detection means Control means for performing the stopping of the motor using only the same type of edge as the edge corresponding to the stop target position of the motor among the four types of edges. Characterized by comprising a control means for the motor controlling the rotational position of the until stopping at the target position.
[0021]
The motor device control method of the present embodiment includes a motor, first frequency signal generating means for generating a first pulse signal having a predetermined frequency corresponding to the driving speed of the motor, and the predetermined frequency. A second frequency signal generating means for generating a second pulse signal that is about 90 degrees out of phase with the first pulse signal; a rising edge and a falling edge of the first pulse signal; A control method for a motor device for controlling a motor device comprising detection means capable of independently detecting four types of edges, that is, a rising edge and a falling edge of the pulse signal, and a detection result of the detection means In performing the rotational position control of the motor based on the above, only the edge of the same type as the edge corresponding to the stop target position of the motor is used among the four types of edges. , And performing a rotational position control of the motor between the motor until it is stopped at the target stop position.
[0022]
In addition, the program according to the present embodiment causes a computer to execute the above-described motor device control method.
[0023]
The storage medium according to the present embodiment stores the above-described program so as to be readable by a computer.
[0024]
Hereinafter, an embodiment of the present invention will be specifically described with reference to the drawings.
[0025]
In the embodiment described below, a recording apparatus using a recording head according to an ink jet method will be described as an example.
[0026]
In this specification, “recording” (sometimes referred to as “printing”) is not only for forming significant information such as characters and figures, but also for human beings visually perceived regardless of significance. Regardless of whether or not it has been manifested, it also represents a case where an image, a pattern, a pattern, or the like is widely formed on a recording medium or the medium is processed.
[0027]
“Recording medium” refers not only to paper used in general recording apparatuses but also widely to cloth, plastic film, metal plate, glass, ceramics, wood, leather, and the like that can accept ink. Shall.
[0028]
Furthermore, “ink” (sometimes referred to as “liquid”) is to be interpreted broadly in the same way as the definition of “recording (printing)” above. It represents a liquid that can be used for forming a pattern or the like, processing a recording medium, or processing an ink (for example, solidification or insolubilization of a colorant in ink applied to the recording medium).
[0029]
Furthermore, unless otherwise specified, the “nozzle” collectively refers to an ejection port or a liquid channel communicating with the ejection port and an element that generates energy used for ink ejection.
[0030]
<Description of Inkjet Recording Device (FIG. 4)>
FIG. 4 is an external perspective view showing an outline of the configuration of the inkjet recording apparatus 1 which is a typical embodiment of the present invention.
[0031]
As shown in FIG. 4, an ink jet recording apparatus (hereinafter referred to as a recording apparatus) transmits a driving force generated by a carriage motor M1 to a carriage 2 on which a recording head 3 that performs recording by discharging ink according to an ink jet system is mounted. 4, the carriage 2 is reciprocated in the direction of arrow A, and for example, a recording medium P such as recording paper is fed through a paper feeding mechanism 5 and conveyed to a recording position. Recording is performed by ejecting ink onto the recording medium P.
[0032]
Further, in order to maintain the state of the recording head 3 satisfactorily, the carriage 2 is moved to the position of the recovery device 10 and the ejection recovery process of the recording head 3 is intermittently performed.
[0033]
In addition to mounting the recording head 3 on the carriage 2 of the recording apparatus 1, an ink cartridge 6 for storing ink to be supplied to the recording head 3 is mounted. The ink cartridge 6 is detachable from the carriage 2.
[0034]
The recording apparatus 1 shown in FIG. 4 can perform color recording. For this reason, the carriage 2 contains four inks containing magenta (M), cyan (C), yellow (Y), and black (K) inks, respectively. An ink cartridge is installed. These four ink cartridges are detachable independently.
[0035]
Now, the carriage 2 and the recording head 3 can achieve and maintain a required electrical connection by properly contacting the joint surfaces of both members. The recording head 3 applies energy according to a recording signal to selectively eject ink from a plurality of ejection ports for recording. In particular, the recording head 3 of this embodiment employs an ink jet system that ejects ink using thermal energy, and includes an electrothermal transducer to generate thermal energy, which is applied to the electrothermal transducer. Electric energy is converted into thermal energy, and ink is ejected from the ejection port by utilizing pressure changes caused by bubble growth and contraction caused by film boiling caused by applying the thermal energy to the ink. The electrothermal transducer is provided corresponding to each of the ejection ports, and ink is ejected from the corresponding ejection port by applying a pulse voltage to the corresponding electrothermal transducer in accordance with the recording signal.
[0036]
As shown in FIG. 4, the carriage 2 is connected to a part of the driving belt 7 of the transmission mechanism 4 that transmits the driving force of the carriage motor M <b> 1, and slides in the direction of arrow A along the guide shaft 13. It is guided and supported freely. Accordingly, the carriage 2 reciprocates along the guide shaft 13 by forward and reverse rotations of the carriage motor M1. A scale 8 is provided for indicating the absolute position of the carriage 2 along the direction of movement of the carriage 2 (the direction of arrow A). In this embodiment, the scale 8 uses a transparent PET film with black bars printed at a necessary pitch, one of which is fixed to the chassis 9 and the other is supported by a leaf spring (not shown). Yes.
[0037]
Further, the recording apparatus 1 is provided with a platen (not shown) facing the discharge port surface where the discharge port (not shown) of the recording head 3 is formed, and the recording head 3 is driven by the driving force of the carriage motor M1. At the same time as the carriage 2 loaded with is reciprocated, recording is performed over the entire width of the recording medium P conveyed on the platen by giving a recording signal to the recording head 3 and discharging ink.
[0038]
Further, in FIG. 4, 14 is a transport roller driven by a transport motor M2 to transport the recording medium P, 15 is a pinch roller that abuts the recording medium P against the transport roller 14 by a spring (not shown), and 16 is a pinch. A pinch roller holder 17 that rotatably supports the roller 15 is a conveyance roller gear fixed to one end of the conveyance roller 14. Then, the transport roller 14 is driven by the rotation of the transport motor M2 transmitted to the transport roller gear 17 through an intermediate gear (not shown).
[0039]
Further, reference numeral 20 denotes a discharge roller for discharging the recording medium P on which an image is formed by the recording head 3 to the outside of the recording apparatus, and is driven by transmitting the rotation of the transport motor M2. . The discharge roller 20 abuts on a spur roller (not shown) that presses the recording medium P by a spring (not shown). Reference numeral 22 denotes a spur holder that rotatably supports the spur roller.
[0040]
Further, as shown in FIG. 4, the recording apparatus 1 has a desired position (for example, a home position) outside the range of reciprocating motion (outside the recording area) for the recording operation of the carriage 2 on which the recording head 3 is mounted. A recovery device 10 for recovering the ejection failure of the recording head 3 is disposed at a position corresponding to the position).
[0041]
The recovery device 10 includes a capping mechanism 11 for capping the ejection port surface of the recording head 3 and a wiping mechanism 12 for cleaning the ejection port surface of the recording head 3, and interlocks with the capping of the ejection port surface by the capping mechanism 11. Ink recovery such as forcibly discharging ink from the discharge port by suction means (suction pump or the like) in the recovery device, thereby removing ink or bubbles having increased viscosity in the ink flow path of the recording head 3 Process.
[0042]
Further, when the recording head 3 is not in operation or the like, the ejection port surface of the recording head 3 is capped by the capping mechanism 11 to protect the recording head 3 and to prevent ink evaporation and drying. On the other hand, the wiping mechanism 12 is disposed in the vicinity of the capping mechanism 11 and wipes ink droplets adhering to the ejection port surface of the recording head 3.
[0043]
The capping mechanism 11 and the wiping mechanism 12 can keep the ink ejection state of the recording head 3 normal.
[0044]
<Control Configuration of Inkjet Recording Apparatus (FIG. 5)>
FIG. 5 is a block diagram showing a control configuration of the recording apparatus shown in FIG.
[0045]
As shown in FIG. 5, the controller 600 includes an MPU 601, a program corresponding to a control sequence to be described later, a required table, a ROM 602 storing other fixed data, a carriage motor M1, a carriage motor M2, and a recording. A special purpose integrated circuit (ASIC) 603 that generates a control signal for controlling the head 3, and a RAM 604, an MPU 601, an ASIC 603, and a RAM 604, which are provided with image data development areas and program execution areas, are connected to each other. The system bus 605 for transmitting and receiving data, an analog signal from a sensor group to be described below is input, A / D converted, and an A / D converter 606 for supplying a digital signal to the MPU 601 and control of the transport motor M2 It is comprised by the conveyance motor control part 607 etc. which perform.
[0046]
In FIG. 5, reference numeral 610 denotes a computer (or a reader for image reading, a digital camera, or the like) serving as a supply source of image data, and is collectively called a host device. Image data, commands, status signals, and the like are transmitted and received between the host apparatus 610 and the recording apparatus 1 via an interface (I / F) 611.
[0047]
Further, reference numeral 620 denotes a switch group, which instructs activation of a power switch 621, a print switch 622 for instructing printing start, and a process (recovery process) for maintaining the ink ejection performance of the recording head 3 in a good state. For example, a recovery switch 623 for receiving a command input from the operator. Reference numeral 630 denotes a position sensor 631 such as a photocoupler for detecting the home position h, a temperature sensor 632 provided at an appropriate location of the recording apparatus for detecting the environmental temperature, and the like. It is a sensor group. Note that the position sensor 631 also includes an encoder 501 for detecting the rotational position of the transport motor M2.
[0048]
Further, 640 is a carriage motor driver that drives a carriage motor M1 for reciprocating scanning of the carriage 2 in the direction of arrow A, and 642 is a conveyance motor driver that drives a conveyance motor M2 for conveying the recording medium P.
[0049]
FIG. 6 is a diagram for briefly explaining the concept of the rotation control processing of the carry motor according to the present embodiment.
[0050]
The falling edge of the encoder B phase is indicated by (1), the rising edge of the encoder A phase is indicated by (2), the rising edge of the encoder B phase is indicated by (3), and the falling edge of the encoder A phase is indicated by (4).
[0051]
[1] shows a method of acquiring position information in servo control when the stop position corresponds to (1). Only (1) that is the same edge as the stop position is used for control, and (2), (3), and (4) are not used.
[0052]
[2] shows a method of acquiring position information in servo control when the stop position corresponds to (2). Only (2) that is the same edge as the stop position is used for control, and (1), (3), and (4) are not used.
[0053]
[3] shows a method for acquiring position information in servo control when the stop position corresponds to (3). Only (3) that is the same edge as the stop position is used for control, and (1), (2), and (4) are not used.
[0054]
[4] shows a method for acquiring position information in servo control when the stop position corresponds to (4). Only (4) that is the same edge as the stop position is used for control, and (1), (2), and (3) are not used.
[0055]
By performing the processing as described above, the position information in servo control can be avoided from the influence of the position variations (1) to (4) due to variations in component accuracy (for example, variations in photodiode sensitivity).
[0056]
FIG. 7 is a block diagram for explaining the configuration of the transport motor (DC motor) control device of this embodiment.
[0057]
The encoder 501 outputs two signals of A phase and B phase to the encoder signal control unit 502 by driving a motor 515 (corresponding to the conveyance motor M2 in FIG. 5). In the encoder signal control unit 502, an edge detection unit 503 for detecting an edge of the encoder signal is arranged. In the edge detection unit 503, each edge of each phase, that is, the rising edge detection 504 of the A phase, the falling edge detection 505 of the A phase, the rising edge detection 506 of the B phase, and the falling edge detection 507 of the B phase are performed independently. In other words, a signal synchronized with each edge is generated. A signal synchronized with each edge is sent to each edge interval counting section 508, 509, 510, 511, and each edge interval is counted independently. Each edge interval count unit 508, 509, 510, 511 receives an edge detection signal from the edge detection unit 503, and overwrites the velocity information in the velocity / position information storage unit 512 every time the edge interval is determined. The servo controller 513 reads the speed / position information from the speed / position information storage unit 512 in order to obtain speed information necessary for the servo when the servo cycle reaches a predetermined interval. The servo controller 513 performs calculation based on the obtained speed information, position information, and the like, and outputs optimal motor control information to the motor driver 514 (corresponding to the transport motor driver 642 in FIG. 5). The motor driver 514 outputs to the motor 515 according to the input control information, and the motor 515 is driven.
[0058]
FIG. 8 is a schematic diagram for explaining the position control system of the DC motor, and shows a method for applying position servo. In the present embodiment, the position servo is performed as additional value control for an ideal profile described later. The DC motor is controlled by a technique called PID control or classical control, and the procedure will be described below.
[0059]
First, the target position to be given to the control object is given in the form of an ideal position profile 1601. In the present embodiment, for example, this corresponds to the absolute position where the paper conveyed by the line feed motor should reach at the corresponding time. This position information changes with the progress of time. By performing additional value control on the ideal position profile, the apparatus of the present embodiment is driven.
[0060]
The apparatus of the present embodiment includes an encoder sensor 501 and detects physical rotation of the motor. The encoder position information conversion means 1609 is a means for obtaining absolute position information by adding the number of slits detected by the encoder sensor, and the encoder speed information conversion means 1606 is based on the encoder sensor signal and the clock built in the printer. This is means for calculating the current drive speed of the line feed motor.
[0061]
A numerical value obtained by subtracting the actual physical position obtained by the position information conversion unit 1609 from the ideal position profile 1601 is transferred to a position servo feedback process after 1602 as a position error that is insufficient with respect to the target position. Reference numeral 1602 denotes a position servo major loop, and generally means for performing calculation related to the proportional term P is known.
[0062]
As a result of the calculation in the major loop 1602, a speed command value is output. This speed command value is transferred to speed servo feedback processing after 1603. A minor loop of the speed servo is generally performed by a PID operation that performs an operation on the proportional term P, the integral term I, and the differential term D. In the apparatus of this embodiment, in order to improve the followability when a non-linear change in the speed command value occurs and to prevent the adverse effect of the differential operation during the follow-up control, a method generally called a differential leading form is shown. The encoder speed information obtained by the encoder speed information conversion means 1606 is subjected to a differential operation 1607 before taking the difference from the speed command value obtained at 1602. This method itself is not the subject of this embodiment, and depending on the characteristics of the system to be controlled, it may be sufficient to perform this differentiation operation in 1603.
[0063]
In the minor loop of the speed servo, the numerical value obtained by subtracting the encoder speed information from the speed command value is transferred to the PI operation circuit 1603 as a speed error that is insufficient with respect to the target speed, and the energy to be given to the DC motor at that time is Calculation is performed by a method called PI calculation. The motor driver circuit that has received it, for example, uses a means for changing the pulse width of the applied voltage (hereinafter referred to as “PWM (Pulse Width Modulation) control”) while changing the applied voltage duty while the motor applied voltage is constant. Then, the current value is adjusted, the energy applied to the DC motor 515 is adjusted, and the speed control is performed.
[0064]
The DC motor that rotates by being applied with a current value performs physical rotation while being influenced by the disturbance 1608, and the output is detected by the encoder sensor 501.
[0065]
FIG. 9 is a timing chart showing the relationship between each control process.
[0066]
Reference numeral 901 indicates the state of the motor control task, reference numeral 902 indicates the timer interrupt processing state, and reference numeral 903 indicates the position interrupt processing state. The vertical axis 701 of the graph indicates the position, and the horizontal axis indicates the passage of time. Reference numeral 704 denotes an ideal position profile, and reference numeral 705 denotes an actual position profile obtained as a result of actually driving the motor.
[0067]
When the drive control process is activated, drive control preparation is performed at 802. 802 is a process generally described in a motor control task, which selects an ideal position profile table suitable for driving purposes, selects a servo parameter table, sets various work areas, and finally controls timer interrupt processing. Start the timer and exit.
[0068]
When the timer is started at 802, the process shifts to an actual driving step indicated by 803. 803 is a process generally described in the timer interrupt process, for example, interrupts once every 1 msec, reads the encoder value, calculates the current value to be output by PID calculation, etc. On the other hand, this value is output.
[0069]
The ideal position profile 704 changes as the process proceeds with the acceleration control area 711, the constant speed control area 712, and the deceleration control area 713, and the actual position profile 705 is obtained by performing additional value control by arithmetic processing within 803. Will be plotted.
[0070]
In parallel with the operation of 803, whether or not the stop position has been reached is monitored in the system. When the arrival is detected, the arrival detection step 804 to the drive target position is activated and an interrupt is generated. The process proceeds to the drive control end step 805.
[0071]
In 805, the output to the motor is quickly disabled, the timer is stopped, and the control is terminated.
[0072]
By performing the above processes, one drive process reaches the end of the drive control.
[0073]
10 and 11 are flowcharts showing the algorithm of the operation of the apparatus according to this embodiment. FIG. 10 shows the specific contents of the process executed in 802, and FIG. 11 shows the specific contents of the process executed in 803. Is shown.
[0074]
In FIG. 8, when the drive preparation process 802 is started, details of the drive preparation process 1002 are performed. In step 1002, an ideal position profile table suitable for a driving purpose, a servo parameter table, and various work areas are set.
[0075]
In 1003, destination indicates a target position, and is a value itself that the arrival detection step 804 is activated when the encoder reading becomes this value. In 1003, the value of the remainder obtained by dividing this determination by 4 (% 4 in the figure indicates the remainder obtained by dividing by 4) is substituted into modPosition. “Remainder by 4” means whether the stop position is the rising edge of the A phase, the rising edge of the B phase, the falling edge of the A phase, or the falling edge of the B phase This information is used for the calculation processing in 803.
[0076]
In step 1004, the timer that performs the timer interrupt process is activated, and the drive preparation process ends.
[0077]
In FIG. 9, when the processing in the servo timer 803 is started, position information (hereinafter referred to as positionInfo) is acquired in 1102. This means the current position information itself obtained from the encoder. In the present embodiment, it is assumed that the position information is added toward the traveling direction. In addition, all variables appearing in the following description are assumed to be integers.
[0078]
In 1103, the remainder obtained by dividing positionInfo by 4 is assigned to workModPosition. workModPosition is information for identifying whether the current position is the rising edge of the A phase, the rising edge of the B phase, the falling edge of the A phase, or the falling edge of the B phase. It is.
[0079]
In 1104, workModPosition and modPosition are compared, and if workModPosition is equal to or greater than modPosition, the process proceeds to 1105, and otherwise the process proceeds to 1106.
[0080]
When the process proceeds to 1105, the current positionInfo is rounded to a multiple of 4 (replacement) in order to erase the both-phase / both-edge information whose accuracy is not guaranteed, and modPosition which is effective edge information of the stop position is added. The positionInfo that is the current position information is overwritten. Here, when rounded (replaced) to a multiple of 4, the values “93”, “94”, and “95” become “92”, for example. Further, when “97”, “98”, and “99” are rounded, “96” is obtained.
[0081]
Even when the process proceeds to 1106, the current positionInfo is rounded to a multiple of 4 in order to erase both-phase / both-edge information whose accuracy is not guaranteed, and modPosition which is effective edge information of the stop position is added. Since the calculation is rounded up by 4 edges, the positionInfo, which is the current position information, is overwritten after the last 4 subtraction.
[0082]
By calculating 1105 and 1106, it is possible to perform control only with the same edge information as the stop position described in FIG.
[0083]
An example of calculation of 1105 and 1106 will be shown. If the destination value, which is the target position, is “102”, the modPosition value is “2”. Here, for example, even if the value read by the encoder is any of 94 to 97, it is calculated as 94. Moreover, even if it is any value of 98 to 101, it is calculated as 98. As described above, if the target position is 102, any of the values 2, 6, 10, 14,..., 90, 94, 98 is obtained as the calculated position information. It is done. Control is performed using these obtained values.
[0084]
If the target position is “103”, the value of modPosition is “3”. If the same calculation is performed, values of 3, 7, 11, 15,... 91, 95, 99 are obtained as position information. One of the following values is obtained. These values have a difference of an integral multiple of 4 from each other. Therefore, since the edge position value is the same as the stop position, control is performed only with the same edge information.
[0085]
In 1107, PID calculation or the like is performed using the positionInfo calculated in the process so far. Based on the calculation result, current is output to the motor in 1108, and the processing in the servo timer is terminated in 1109.
[0086]
By performing the above processing, the accuracy (resolution) of the stop position is selected by selecting the optimum edge for the stop position from both edges (rising edge, falling edge) of the signals of both phases (A phase and B phase). ), And the control is performed using only the same edge information as the stop position, so that the influence of deterioration (error) of both edge information can be avoided.
[0087]
The above embodiment includes means (for example, an electrothermal converter, a laser beam, etc.) that generates thermal energy as energy used for performing ink discharge, particularly in the ink jet recording system, and the ink is generated by the thermal energy. By using a system that causes a change in the state of recording, it is possible to achieve higher recording density and higher definition.
[0088]
As its typical configuration and principle, for example, those performed using the basic principle disclosed in US Pat. Nos. 4,723,129 and 4,740,796 are preferable. This method can be applied to both the so-called on-demand type and continuous type. In particular, in the case of the on-demand type, it is arranged corresponding to the sheet or liquid path holding the liquid (ink). By applying at least one drive signal corresponding to the recorded information and applying a rapid temperature rise exceeding nucleate boiling to the electrothermal transducer, the thermal energy is generated in the electrothermal transducer, and the recording head This is effective because film boiling occurs on the heat acting surface of the liquid, and as a result, bubbles in the liquid (ink) corresponding to the drive signal on a one-to-one basis can be formed. By the growth and contraction of the bubbles, liquid (ink) is ejected through the ejection opening to form at least one droplet. It is more preferable that the drive signal has a pulse shape, since the bubble growth and contraction is performed immediately and appropriately, and thus it is possible to achieve discharge of a liquid (ink) having particularly excellent responsiveness.
[0089]
As this pulse-shaped drive signal, those described in US Pat. Nos. 4,463,359 and 4,345,262 are suitable. Further excellent recording can be performed by employing the conditions described in US Pat. No. 4,313,124 of the invention relating to the temperature rise rate of the heat acting surface.
[0090]
Further, although the above embodiment is a serial type recording apparatus that performs recording by scanning the recording head, it is a full line type recording apparatus that uses a recording head having a length corresponding to the width of the recording medium. May be. As a full-line type recording head, either a configuration satisfying the length by a combination of a plurality of recording heads as disclosed in the above-mentioned specification, or a configuration as a single recording head formed integrally. But you can.
[0091]
In addition to the cartridge-type recording head in which the ink tank is integrally provided in the recording head itself described in the above embodiment, it can be electrically connected to the apparatus body by being attached to the apparatus body. A replaceable chip type recording head that can supply ink from the apparatus main body may be used.
[0092]
In addition, it is preferable to add recovery means, preliminary means, and the like for the recording head to the configuration of the recording apparatus described above because the recording operation can be further stabilized. Specific examples thereof include a capping unit for the recording head, a cleaning unit, a pressurizing or sucking unit, an electrothermal converter, a heating element different from this, or a preheating unit using a combination thereof. In addition, it is effective to provide a preliminary ejection mode for performing ejection different from recording in order to perform stable recording.
[0093]
Further, the recording mode of the recording apparatus is not limited to the recording mode of only the mainstream color such as black, but the recording head may be integrated or may be a combination of a plurality of colors. An apparatus having at least one of full colors can also be provided.
[0094]
In the embodiment described above, the description is made on the assumption that the ink is a liquid, but it may be an ink that is solidified at room temperature or lower, or an ink that is softened or liquefied at room temperature, Alternatively, the ink jet method generally controls the temperature of the ink so that the viscosity of the ink is within a stable discharge range by adjusting the temperature within a range of 30 ° C. or higher and 70 ° C. or lower. It is sufficient if the ink sometimes forms a liquid.
[0095]
In addition, as a form of the recording apparatus according to the present invention, a copying apparatus combined with a reader or the like, and a transmission / reception function are provided as an image output terminal of an information processing apparatus such as a computer or the like. It may take the form of a facsimile machine.
[0096]
[Other Embodiments]
In addition, an object of each embodiment is to supply a storage medium (or recording medium) on which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and a computer (or CPU) of the system or apparatus Needless to say, this can also be achieved by reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, 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. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0097]
Furthermore, 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 is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0098]
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.
[0099]
【The invention's effect】
As described above, according to the present invention, it is possible to stably obtain a certain control performance without being affected by variations in component performance, and to realize a stable quality as an industrial product to be mass-produced. It becomes possible.
[Brief description of the drawings]
FIG. 1 is a model diagram of an encoder.
FIG. 2 is a diagram showing an ideal differential output signal waveform;
FIG. 3 is a diagram showing a differential output signal waveform when there is a difference in photodiode sensitivity.
FIG. 4 is an external perspective view showing an outline of the configuration of an ink jet recording apparatus that is a representative embodiment of the present invention.
5 is a block diagram showing a configuration of a control circuit of the ink jet recording apparatus shown in FIG. 1. FIG.
FIG. 6 is a diagram briefly explaining the concept of processing according to an embodiment of the present invention.
FIG. 7 is a block diagram for explaining a configuration of an apparatus according to an embodiment of the present invention.
FIG. 8 is a diagram for explaining a position control system of a DC motor.
FIG. 9 is a timing chart showing the relationship between each control process.
FIG. 10 is a flowchart showing an algorithm showing an operation of the apparatus according to the embodiment of the present invention.
FIG. 11 is a flowchart showing an algorithm showing the operation of the apparatus according to the embodiment of the present invention.
[Explanation of symbols]
101 LED
102 Code wheel
103 detector
104 Light transmitting part
105 Parts that do not transmit light
106-109 photodiode
110-113 Electrical signal
114-115 comparator
116-117 output

Claims (4)

モータの回転制御を行なうためのモータ制御装置であって、
前記モータの駆動速度に応じた所定の周波数の第1のパルス信号を発生する第1の周波数信号発生手段と、
前記所定の周波数で前記第1のパルス信号とは約90度位相がずれた第2のパルス信号を発生する第2の周波数信号発生手段と、
前記第1のパルス信号の立ち上がりエッジ及び立ち下がりエッジと、前記第2のパルス信号の立ち上がりエッジ及び立ち下がりエッジの4種類のエッジを、それぞれ独立に検出可能な検出手段と、
該検出手段の検出結果に基づいて前記モータの回転位置制御を行なう制御手段であって、前記4種類のエッジのうち前記モータの停止目標位置に対応するエッジと同じ種類のエッジのみを用いて、前記モータを前記停止目標位置に停止させるまでの間の前記モータの回転位置制御を行なう制御手段と、
を具備することを特徴とするモータ制御装置。
A motor control device for controlling rotation of a motor,
First frequency signal generating means for generating a first pulse signal having a predetermined frequency corresponding to the driving speed of the motor;
Second frequency signal generating means for generating a second pulse signal that is about 90 degrees out of phase with the first pulse signal at the predetermined frequency;
Detection means capable of independently detecting four types of edges, a rising edge and a falling edge of the first pulse signal and a rising edge and a falling edge of the second pulse signal;
Control means for controlling the rotational position of the motor based on the detection result of the detection means, using only the same kind of edge as the edge corresponding to the stop target position of the motor among the four kinds of edges, Control means for performing rotational position control of the motor until the motor is stopped at the stop target position;
A motor control device comprising:
モータと、該モータの駆動速度に応じた所定の周波数の第1のパルス信号を発生する第1の周波数信号発生手段と、前記所定の周波数で前記第1のパルス信号とは約90度位相がずれた第2のパルス信号を発生する第2の周波数信号発生手段と、前記第1のパルス信号の立ち上がりエッジ及び立ち下がりエッジと、前記第2のパルス信号の立ち上がりエッジ及び立ち下がりエッジの4種類のエッジを、それぞれ独立に検出可能な検出手段とを備えるモータ装置を制御するためのモータ装置の制御方法であって、
前記検出手段の検出結果に基づいて前記モータの回転位置制御を行なうにあたり、前記4種類のエッジのうち前記モータの停止目標位置に対応するエッジと同じ種類のエッジのみを用いて、前記モータを前記停止目標位置に停止させるまでの間の前記モータの回転位置制御を行なうことを特徴とするモータ装置の制御方法。
A motor, first frequency signal generating means for generating a first pulse signal having a predetermined frequency in accordance with the driving speed of the motor, and the first pulse signal having the predetermined frequency have a phase of about 90 degrees; Four types of second frequency signal generating means for generating a shifted second pulse signal, rising edge and falling edge of the first pulse signal, and rising edge and falling edge of the second pulse signal A control method of a motor device for controlling a motor device comprising detection means capable of independently detecting edges of
In performing the rotational position control of the motor based on the detection result of the detection means, the motor is controlled by using only the edge of the same type as the edge corresponding to the stop target position of the motor among the four types of edges. A method for controlling a motor device, comprising: performing rotational position control of the motor until stopping at a stop target position.
請求項2に記載のモータ装置の制御方法をコンピュータに実行させることを特徴とするプログラム。A program for causing a computer to execute the motor device control method according to claim 2. 請求項3に記載のプログラムをコンピュータ読み取り可能に記憶したことを特徴とする記憶媒体。A storage medium storing the program according to claim 3 in a computer-readable manner.
JP2003135795A 2003-05-14 2003-05-14 Motor control device Expired - Lifetime JP4289923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003135795A JP4289923B2 (en) 2003-05-14 2003-05-14 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003135795A JP4289923B2 (en) 2003-05-14 2003-05-14 Motor control device

Publications (2)

Publication Number Publication Date
JP2004343859A JP2004343859A (en) 2004-12-02
JP4289923B2 true JP4289923B2 (en) 2009-07-01

Family

ID=33525948

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003135795A Expired - Lifetime JP4289923B2 (en) 2003-05-14 2003-05-14 Motor control device

Country Status (1)

Country Link
JP (1) JP4289923B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4532363B2 (en) 2005-07-07 2010-08-25 株式会社リコー DIGITAL SPEED CONTROL DEVICE, DIGITAL MOTOR CONTROL DEVICE, PAPER CONVEYING DEVICE, DIGITAL SPEED CONTROL METHOD, PROGRAM FOR COMPUTER EXECUTING THE METHOD, COMPUTER READABLE RECORDING MEDIUM, AND IMAGE FORMING DEVICE
JP4786425B2 (en) * 2006-06-07 2011-10-05 シャープ株式会社 Control device and control method

Also Published As

Publication number Publication date
JP2004343859A (en) 2004-12-02

Similar Documents

Publication Publication Date Title
US7168783B2 (en) Apparatus and method of controlling a printhead of a printing apparatus
JP2006240026A (en) Recording apparatus and method for controlling recording
US7036902B2 (en) Printing apparatus
US8698441B2 (en) Servo control device and recording medium
JP4289923B2 (en) Motor control device
US8240799B2 (en) Inkjet printing apparatus and printhead control method of the apparatus
JP2009255305A (en) Recording apparatus and recording control method
JPH0929958A (en) Ink jet printing recording apparatus
US8141972B2 (en) Printing apparatus and printing control method
US6853161B2 (en) Recording apparatus, motor control apparatus, and motor control method
JP2007136851A (en) Controller for carriage motor of recording device, carriage motor control method, and carriage motor control program
JP2015033836A (en) Ink jet recording device and control method of the same
JP4371730B2 (en) Recording device
JP5984564B2 (en) Recording device and control device
JP2006056623A (en) Image forming device
JP2004098678A (en) Recorder and method of controlling the same
JP2003312080A (en) Recorder and recording method
JP2011161762A (en) Inkjet recorder and reserve discharging method
JPH0760988A (en) Recorder and method for detecting residual quantity of ink
JP4484682B2 (en) Recording apparatus and carriage speed prediction method
JP2006272770A (en) Recording device and method of controlling recording device
JP2006159695A (en) Recording device and recording control method
JP2004129488A (en) Recording apparatus, motor controller and controlling method
JP4481121B2 (en) Image forming apparatus and program
US8424987B2 (en) Liquid ejecting apparatus and liquid ejecting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060511

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140410

Year of fee payment: 5