JP3575232B2 - Image output device - Google Patents

Image output device Download PDF

Info

Publication number
JP3575232B2
JP3575232B2 JP17791697A JP17791697A JP3575232B2 JP 3575232 B2 JP3575232 B2 JP 3575232B2 JP 17791697 A JP17791697 A JP 17791697A JP 17791697 A JP17791697 A JP 17791697A JP 3575232 B2 JP3575232 B2 JP 3575232B2
Authority
JP
Japan
Prior art keywords
ink
control
amount
print head
compensation
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
JP17791697A
Other languages
Japanese (ja)
Other versions
JPH1120143A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP17791697A priority Critical patent/JP3575232B2/en
Publication of JPH1120143A publication Critical patent/JPH1120143A/en
Application granted granted Critical
Publication of JP3575232B2 publication Critical patent/JP3575232B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、インクタンクとともに印字手段が所定方向へ移動して印字を行う画像出力装置に関する。
【0002】
【従来の技術】
従来、印字ヘッドにインクタンクを備えているインクジェットプリンタ等の画像出力装置では、印字ヘッドキャリッジ駆動装置でフィードバック制御を行っており、印字ヘッドを安定して動作させるようにしている。
【0003】
この印字ヘッドキャリッジ駆動装置のフィードバック制御では、固定制御係数を用いているもの、また適応制御理論を用いているものもある。適応制御理論としては、例えば、「モデル規範適応制御」(鈴木隆、防衛大学校、電気学会、システム・制御研究会、研究会資料、SC−95−22)に記載されている。
【0004】
【発明が解決しようとする課題】
しかしながら、従来の画像出力装置では制御の前提条件として、線形時不変系でプラントの次数が既知であると仮定した制御を行っているが、実際には非線形な外乱も存在し、プラントモデルを完全に把握することは困難である。つまり、非線形な外乱の存在により前提条件が崩れてしまい、正確な制御系の状態を推定できない。
【0005】
また、インクジェットプリンタ等の画像出力装置では、インクの消費量によって印字ヘッドの重量が変化し、印字ヘッドを移動させる場合の慣性も変化する。このような動作を制御するため、適応制御理論の演算を高速タイプのCPU(Central Processing unit )やDSP(Digital Signal Processor)で行おうとした場合、非常に高価なものとなってしまう。
【0006】
近年では、インクタンクの交換の手間を省くため、インク収容量を大きくする場合があり、このようなインクタンクを備えた印字ヘッドでは、インクの消費による印字ヘッドの重量変化が大きくなり、上記問題が顕著に現れてしまう。
【0007】
本発明は、低コストで慣性変化にも十分対応できる画像出力装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明は上記課題を解決するために成された画像出力装置である。すなわち、本発明の画像出力装置は、インクタンクを備えている印字手段と、印字手段を所定方向に移動させる駆動手段と、所定の補償値に基づき駆動手段に対する駆動制御を補償する補償手段と、インクタンクから吐出したインクの量またはインクタンクに残っているインクの量に基づき補償手段における補償値を設定する補償値設定手段とを備える画像出力装置において、補償手段として、積分定数および比例定数による伝達関数を用いるもので、この積分定数および比例定数として数1による計算で求めるものである。
【0009】
本発明では、補償値設定手段においてインクタンクから吐出したインクの量またはインクタンクに残っているインクの量に基づいた補償値の設定を行っていることから、インクの消費量に応じて変化する印字手段の慣性変化に対応して印字手段の的確な駆動制御を行うことができるようになる。また、補償値の設定として伝達関数の積分定数および比例定数を数1によって計算で求めるため、複雑で高速な演算を行うことなく最適な補償値を用いた印字ヘッドの駆動制御を行うことができるようになる。
【0010】
【発明の実施の形態】
以下に、本発明の画像出力装置における実施の形態を図に基づいて説明する。図1は、本発明の画像出力装置の一例であるインクジェットプリンタ1の主要部を説明する模式図である。インクジェットプリンタ1は、印字ヘッド10を移動させながらインクを吐出して印字を行う装置である。
【0011】
この印字ヘッド10には、黒色のインクを収容するインクタンクB、黄色のインクを収容するインクタンクY、マゼンタ色のインクを収容するインクタンクM、シアン色のインクを収容するインクタンクCが取り付けられており、印字ヘッド10とともに移動する。
【0012】
印字ヘッド10は、DCモータ13によって回転するプーリ12に掛けられたベルト11に取り付けられている。すなわち、DCモータ13を所定方向へ回転させることによりプーリ12を回転させ、ベルト11を図中横方向に移動して印字ヘッド10を平行移動させる(矢印▲1▼参照)。
【0013】
DCモータ13には、ロータリーエンコーダやリニアエンコーダから成る回転検出部14が取り付けられ、さらに、この検出した回転に基づきDCモータ13の回転を制御する制御部15が設けられている。
【0014】
また、本実施形態における制御部15は、印字ヘッド10の各インクタンクB、Y、M、Cの質量を検出してDCモータ13の回転制御における補償値を設定している。
【0015】
図2は印字ヘッドの移動における速度プロファイルである。すなわち、印字ヘッドは所定の印字を行うためその移動速度を増していき、一定の速度となった段階で印字を行う(印字区間)。そして、例えば1ライン分の印字を終了した後、反対方向へ移動してスタート位置まで戻るようにする(戻り区間)。
【0016】
制御部15(図1参照)は、DCモータ13(図1参照)の回転を制御して上記のような印字ヘッドの往復移動を安定して行えるようにする。特に本実施形態では、各インクの消費量から印字ヘッドの質量を検出し、その検出した質量に応じて制御における補償値を変更している。
【0017】
図3は制御部15のブロック構成図である。制御部15はワンチップ(1CHIP)CPUによるハードウェアと、DCモータ13に対する回転制御補償を行うソフトウェア(Software)とから構成されている。
【0018】
以下、各構成要素について説明する。先ず、ハードウェア構成におけるエンコーダI/F151は、ロータリーエンコーダやリニアエンコーダ14aで検知した信号を受け、ノイズ成分を除去して出力する。
【0019】
回転方向検出回路152は、例えばフリップフロップを用いてエンコーダI/F151から出力される複数の位相のパルス信号に基づきDCモータ13の回転方向を検出する回路である。
【0020】
また、エッジ間検出回路153では、エンコーダI/F151から出力されるパルス信号の例えば立ち上がり間隔を検出する。カウンタ回路154は、エッジ間検出回路153で検出した1つのエッジ間におけるFastクロック数を計数する。Fastクロック発生回路155は、カウンタ回路154で使用するFastクロックを発生する。
【0021】
メモリー156は、カウンタ回路154で計数したFastクロック数を記憶するものである。タイマー回路157はサンプリングを行うための期間を設定する。
【0022】
また、ソフトウェア構成における目標速度設定部201では、制御を行うDCモータ13の回転における目標速度を設定する。速度データ演算部202では、演算速度データ=Fastクロック/キャプチャーから成る演算を行って実際のDCモータ13の回転速度を演算する。
【0023】
速度補償演算部203は、速度データ演算部202で演算した実際の回転速度を目標速度設定部201で設定した目標速度にするための補償値を演算する。始動PWM値設定部204では、DCモータ13の回転を開始する際のPWM(位相幅変調)値を設定する。
【0024】
位置補償演算部205は、速度誤差累積値206と目標位置設定部207での目標位置とに基づいて位置補償値を演算している。
【0025】
また、ソフトウェア構成の中の速度補償演算部203、始動PWM値設置部204、位置補償演算部205からの出力は、各々PWM出力回路300に入力される。このPWM出力回路300からは、各データに基づきDCモータ13を駆動するための所定デューティのパルス信号が出力される。
【0026】
PWM出力回路300から出力されるパルス信号は貫通電流防止回路304、電流制御回路305、ドライバー回路306を介してDCモータ13に入力される。すなわち、DCモータ13は、PWM出力回路300から出力されるパルス信号のデューティに応じた回転速度で回転することになる。
【0027】
また、回路イネーブル信号301は、回転制御において何らかのトラブルが発生した場合にイネーブル信号を貫通電流防止回路304へ出力し、各回路の破損を防止するようにしている。
【0028】
上記のソフトウェア構成は、ROM302内に格納されたプログラム処理をRAM303に読み込み、これを実行することによって実現している。
【0029】
次に、このような構成から成る制御部15における実際の回転制御の例を説明する。図4は第1実施形態における回転制御の概略を示す図である。第1実施形態においては、先ずインク量検出(S1)を行い、検出したインク量をCPUに入力し(S2)、そのインク量から印字ヘッドの質量計測または推定を行う(S3)。
【0030】
その後、質量に応じたテーブルを用いて制御補償機の補償係数を読み取り(S4)、補償器の係数を変更し(S5)、この係数を用いた速度補償を行って制御動作を行う(S6)。
【0031】
図5は第1実施形態における具体的な処理フローチャートである。先ず、ステップS101に示すように残りのインク量(以下、単に「インク量」と言う。)の検出を行う。インク量の検出としては、例えば印字回数からインクの消費量を求めてインク量を計算したり、印字ヘッドの駆動電流やトルクセンサの値からインク量を検出する。また、フォトセンサ、磁気センサ、メカニカルセンサを用いてインクの消費量を検知し、インク量を計算してもよい。
【0032】
次いで、ステップS102に示すように検出したインク量の平均値を計算する。そして、以下の処理において、インク量の平均値と所定のしきい値とを比較して、インク量に応じた補償器係数を設定した制御を行う。
【0033】
ここで、インクが満ちている場合の印字ヘッドの質量を1000グラム、4色のインクで各インクタンク1つ当たり100グラムのインクを収容できるものとすると、全てのインクを消費した場合には印字ヘッドの質量が600グラムとなり、インクが満ちている場合と比べて400グラムの差が生じることになる。
【0034】
この例では、100グラム毎(100グラム、200グラム、300グラム、400グラム)にしきい値を設定し、予め設定されたテーブルデータに基づき補償器係数(a)、(b)、(c)、(d)をロードする。
【0035】
すなわち、ステップS103では、インク量の平均値<100グラムか否かを判断し、100グラムに満たない場合にはYesとなってステップS104に示す補償器係数(a)のロードを行う。
【0036】
ステップS103でNoとなった場合にはステップS105へ進み、平均値<200グラムか否かを判断する。ここで平均値が200グラムに満たない場合にはYesとなってステップS106に示す補償器係数(b)のロードを行う。
【0037】
ステップS105でNoとなった場合にはステップS107へ進み、平均値<300グラムか否かを判断する。ここで平均値が300グラムに満たない場合にはYesとなってステップS108に示す補償器係数(c)のロードを行う。
【0038】
ステップS107でNoとなった場合にはステップS109へ進み、平均値<400グラムか否かを判断する。ここで平均値が400グラムに満たない場合にはYesとなってステップS110に示す補償器係数(d)のロードを行う。
【0039】
また、ステップS109でNoとなった場合にはステップS111へ進み、インク交換を指示する。
【0040】
そして、インク量の平均値に応じて補償器係数をロードした後は、ステップS112においてその補償器係数への変更を行い、この補償器係数を用いた回転制御を行うことになる。
【0041】
これによってインク量を考慮した補償器係数を設定することができ、的確な補償器係数を用いて安定した印字ヘッドの移動を実現できることになる。
【0042】
次に第2実施形態の説明を行う。図6は第2実施形態における回転制御の概略を示す図である。第2実施形態においては、インク量検出(S11)、検出したインク量のCPUへの入力し(S12)、そのインク量から印字ヘッドの質量計測または推定(S13)、補償器係数変更(S15)、制御動作(S16)は第1実施形態と同様であるが、質量に応じた計算により制御補償器係数を求める(S14)処理が相違する。
【0043】
図7は第2実施形態における具体的な処理フローチャートである。先ず、ステップS201に示すようにインク量の検出を行う。インク量の検出は、第1実施形態と同様、例えば印字回数からインクの消費量を求めてインク量を計算したり、印字ヘッドの駆動電流やトルクセンサの値から検出する。また、フォトセンサ、磁気センサ、メカニカルセンサを用いてインクの消費量を検知してもよい。
【0044】
次いで、ステップS202に示すように検出したインク量の平均値を計算する。次に、第2実施形態では、ステップS203に示す慣性計算、ステップS204に示す補償器係数計算によって印字ヘッドの重さに応じた補償器係数を計算で算出し、ステップS205においてその補償器係数への変更を行う。
【0045】
ステップS203に示す慣性計算としては、慣性=モータ慣性+ギヤ慣性+(ヘッド重量+インク質量)×(プーリ直径/2)によって算出する。
【0046】
また、ステップS204に示す補償器係数計算では、
機械的時定数=(モータ抵抗×慣性)/(誘起電圧定数×トルク定数)
電気的時定数=モータインダクタンス×モータ抵抗
k=(電源電圧×エンコーダ歯波)/(PWM分解能×2×π×誘起電圧定数)
a2’=(機械的時定数×電気的定数)/k
a1’=機械的定数/k
a0’=1/k
d0=1,d1=1,d2=0.5,d3=0.03
(d2’−d3)×t−d2×(a1/a0)×t+(a2/a0)=0
よりtを求める。
そして、
Ki=(a0’/t)×1.2
Kp=(a0’×((a1/a0)−t×d2))/t
補償器係数=Kp+Ki/sとなり、これをサンプリングタイムに応じてタスティン変換する。
【0047】
このような補償器係数の算出における具体例を以下に説明する。なお、ここではPI(比例積分)方法を示すが、I−PD(積分−比例微分)等であってもよい。
【0048】
先ず、望ましい制御系の参照モデルを数2とする。
【0049】
【数2】

Figure 0003575232
【0050】
また、数3に示す制御対象の伝達関数を分母系列表現にすると数4のようになる。
【0051】
【数3】
Figure 0003575232
【0052】
【数4】
Figure 0003575232
【0053】
さらに、PID(比例積分微分)制御系のブロック線図を図8に示す。
【0054】
また、制御装置は以下の数5のように示されるとする。
【0055】
【数5】
Figure 0003575232
【0056】
ここで、目標値から制御量までの伝達関数は、以下の数6のようになる。
【0057】
【数6】
Figure 0003575232
【0058】
これを数2で示す望ましい制御系の参照モデルに等しいとおいて以下の数7を得る。
【0059】
【数7】
Figure 0003575232
【0060】
この数7からC(S)を解くと数8のようになる。
【0061】
【数8】
Figure 0003575232
【0062】
ところで、I(積分)動作、PI(比例積分)動作、PID(比例積分微分)動作、…に応じてC以降、C以降、C以降、…は使わないため、数8において対応する項の係数は零でなければならない。
【0063】
しかし、未定パラメータはσだけであって、そのように多くの係数を同時に零にすることはできない。そこで、零にすべき最低次の項の係数を零にする。このことから、σの満たすべき方程式として以下の数9を得る。
【0064】
【数9】
Figure 0003575232
【0065】
数8におけるSの係数を正でできるだけ小さくする(その値がσになる)という条件を満たすために、数9の正の最小の実根σを求め、それぞれの動作に必要なパラメータを数10のように計算する。
【0066】
【数10】
Figure 0003575232
【0067】
正の実根σが存在しないときは、その制御動作で「調整可能なパラメータの数が許す限りi=2,3,…の順にSの係数をdσに等しくする。」という条件を満たす応答が実現できないと解釈される。
【0068】
また、σ=0が得られたときは完全な補償ができてしまうことを意味する。
【0069】
ここで、PI補償としてσ、C=Kintegral、C=Kproportionalを以下の数11のように求める。
【0070】
【数11】
Figure 0003575232
【0071】
しかし、このままでは、制御対象物と補償器とプラントとの間でポールキャンセラレーション(極零点消去)が発生するので、制御系として非常に不安定なものとなってしまう。
【0072】
これは、例えば制御対象物の伝達関数と補償器の伝達関数とが因数分解した時に互いに打ち消しあっていることを示している。
例えば、制御対象物の伝達関数を数12、補償器の伝達関数を数13とした場合、開ループ伝達関数は数14のようになる。
【0073】
【数12】
Figure 0003575232
【0074】
【数13】
Figure 0003575232
【0075】
【数14】
Figure 0003575232
【0076】
そこで、Kintegralを原点からずらすように1.2〜1.3の係数を掛けて使用する。すなわちKintegralおよびKproportionalは以下の数15のようになる。
【0077】
【数15】
Figure 0003575232
【0078】
離散系の場合には、このKintegralおよびKproportionalをサンプリングピリオピリオドに応じて変換(例えば、タスティン変換)して使用する。
【0079】
このように印字ヘッドの重量に応じた補償器係数を算出することにより、最適な補償値を用いた印字ヘッドの駆動制御を行うことができるようになる。
【0080】
なお、上記実施形態においては、インクジェットプリンタの例を用いて説明したが、本発明はこれに限定されることはない。また、第1実施形態で示したしきい値のステップは100グラム毎に限定されるものではない。
【0081】
【発明の効果】
以上説明したように、本発明の画像出力装置によれば次のような効果がある。すなわち、本発明でインクタンクに残っているインクの量に基づき補償値を設定することから、印字手段の慣性変化に対応して適切な動作制御を行うことが可能となる。これにより、複雑で高速な演算を行うことなく的確に印字手段の動作を制御することが可能となる。
【図面の簡単な説明】
【図1】本実施形態における画像出力装置の主要部を説明する模式図である。
【図2】印字ヘッドの移動における速度プロファイルを示す図である。
【図3】制御部のブロック構成図である。
【図4】第1実施形態における回転制御の概略を示す図である。
【図5】第1実施形態における処理フローチャートである。
【図6】第2実施形態における回転制御の概略を示す図である。
【図7】第2実施形態における処理フローチャートである。
【図8】PID制御系のブロック線図である。
【符号の説明】
1…インクジェットプリンタ、10…印字ヘッド、11…ベルト、12…プーリ、13…DCモータ、14…回転検出部、15…制御部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image output apparatus that performs printing by moving a printing unit in a predetermined direction together with an ink tank.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in an image output device such as an ink jet printer having a print head provided with an ink tank, feedback control is performed by a print head carriage driving device so that the print head operates stably.
[0003]
In the feedback control of the print head carriage driving device, there are a type using a fixed control coefficient and a type using an adaptive control theory. The adaptive control theory is described, for example, in "Model Reference Adaptive Control" (Takashi Suzuki, National Defense Academy, The Institute of Electrical Engineers of Japan, Technical Committee on System and Control, Research Group Material, SC-95-22).
[0004]
[Problems to be solved by the invention]
However, in the conventional image output device, as a prerequisite for the control, control is performed on the assumption that the order of the plant is known in a linear time-invariant system. It is difficult to figure out. That is, the preconditions are broken by the presence of the nonlinear disturbance, and the state of the control system cannot be accurately estimated.
[0005]
Further, in an image output device such as an ink jet printer, the weight of the print head changes depending on the amount of ink consumed, and the inertia when moving the print head also changes. In order to control such an operation, it is very expensive to perform the operation of the adaptive control theory using a high-speed CPU (Central Processing Unit) or a DSP (Digital Signal Processor).
[0006]
In recent years, in order to save the trouble of replacing the ink tank, the ink storage amount may be increased in some cases. In the print head having such an ink tank, the weight change of the print head due to the consumption of the ink becomes large, and the above problem is caused. Appears remarkably.
[0007]
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image output device which can cope with a change in inertia at a low cost.
[0008]
[Means for Solving the Problems]
The present invention is an image output device made to solve the above problems. That is, the image output device of the present invention includes a printing unit having an ink tank, a driving unit that moves the printing unit in a predetermined direction, a compensating unit that compensates for driving control for the driving unit based on a predetermined compensation value, in the image output apparatus Ru and a compensation value setting means for setting a compensation value in the compensation means based on the amount of ink remaining in the amount or the ink tank of the ink ejected from the ink tank, as a compensation means, the integration constant and proportional constant The transfer function is used to calculate the integral constant and the proportional constant according to Equation 1.
[0009]
In the present invention, since the compensation value setting unit sets the compensation value based on the amount of ink ejected from the ink tank or the amount of ink remaining in the ink tank, the compensation value is changed according to the amount of ink consumed. Exact drive control of the printing means can be performed in response to a change in inertia of the printing means. In addition, since the integral constant and the proportional constant of the transfer function are calculated by Equation 1 as the setting of the compensation value, the drive control of the print head using the optimal compensation value can be performed without performing a complicated and high-speed operation. Become like
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the image output apparatus of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram illustrating a main part of an inkjet printer 1 which is an example of an image output device of the present invention. The inkjet printer 1 is a device that performs printing by ejecting ink while moving a print head 10.
[0011]
An ink tank B containing black ink, an ink tank Y containing yellow ink, an ink tank M containing magenta ink, and an ink tank C containing cyan ink are attached to the print head 10. And moves with the print head 10.
[0012]
The print head 10 is attached to a belt 11 wrapped around a pulley 12 rotated by a DC motor 13. That is, the pulley 12 is rotated by rotating the DC motor 13 in a predetermined direction, and the belt 11 is moved in the horizontal direction in the figure to move the print head 10 in parallel (see arrow {circle around (1)}).
[0013]
The DC motor 13 is provided with a rotation detector 14 composed of a rotary encoder or a linear encoder, and further provided with a controller 15 for controlling the rotation of the DC motor 13 based on the detected rotation.
[0014]
Further, the control unit 15 in the present embodiment detects the masses of the respective ink tanks B, Y, M, and C of the print head 10 and sets a compensation value in the rotation control of the DC motor 13.
[0015]
FIG. 2 is a speed profile in the movement of the print head. That is, the print head increases its moving speed in order to perform predetermined printing, and performs printing when the speed becomes constant (print section). Then, for example, after printing for one line is completed, the print head moves in the opposite direction and returns to the start position (return section).
[0016]
The controller 15 (see FIG. 1) controls the rotation of the DC motor 13 (see FIG. 1) so that the reciprocating movement of the print head as described above can be performed stably. Particularly, in the present embodiment, the mass of the print head is detected from the consumption amount of each ink, and the compensation value in the control is changed according to the detected mass.
[0017]
FIG. 3 is a block diagram of the control unit 15. The control unit 15 includes hardware of a one-chip (1 CHIP) CPU and software (Software) for performing rotation control compensation for the DC motor 13.
[0018]
Hereinafter, each component will be described. First, the encoder I / F 151 in the hardware configuration receives a signal detected by the rotary encoder or the linear encoder 14a, removes a noise component, and outputs the signal.
[0019]
The rotation direction detection circuit 152 is a circuit that detects the rotation direction of the DC motor 13 based on a plurality of phase pulse signals output from the encoder I / F 151 using, for example, a flip-flop.
[0020]
The edge-to-edge detection circuit 153 detects, for example, a rising interval of a pulse signal output from the encoder I / F 151. The counter circuit 154 counts the number of Fast clocks between one edge detected by the edge detection circuit 153. The fast clock generation circuit 155 generates a fast clock used in the counter circuit 154.
[0021]
The memory 156 stores the number of Fast clocks counted by the counter circuit 154. The timer circuit 157 sets a period for performing sampling.
[0022]
Further, the target speed setting unit 201 in the software configuration sets a target speed in the rotation of the DC motor 13 for controlling. The speed data calculation unit 202 calculates the actual rotation speed of the DC motor 13 by performing the calculation of calculated speed data = Fast clock / capture.
[0023]
The speed compensation calculation unit 203 calculates a compensation value for changing the actual rotation speed calculated by the speed data calculation unit 202 to the target speed set by the target speed setting unit 201. The starting PWM value setting unit 204 sets a PWM (phase width modulation) value when the rotation of the DC motor 13 is started.
[0024]
The position compensation calculation unit 205 calculates a position compensation value based on the accumulated speed error value 206 and the target position in the target position setting unit 207.
[0025]
Outputs from the speed compensation calculation unit 203, the starting PWM value setting unit 204, and the position compensation calculation unit 205 in the software configuration are input to the PWM output circuit 300, respectively. The PWM output circuit 300 outputs a pulse signal of a predetermined duty for driving the DC motor 13 based on each data.
[0026]
The pulse signal output from the PWM output circuit 300 is input to the DC motor 13 via the through current prevention circuit 304, the current control circuit 305, and the driver circuit 306. That is, the DC motor 13 rotates at a rotation speed according to the duty of the pulse signal output from the PWM output circuit 300.
[0027]
Further, the circuit enable signal 301 outputs an enable signal to the through current prevention circuit 304 when any trouble occurs in the rotation control so as to prevent breakage of each circuit.
[0028]
The above software configuration is realized by reading the program processing stored in the ROM 302 into the RAM 303 and executing it.
[0029]
Next, an example of actual rotation control in the control unit 15 having such a configuration will be described. FIG. 4 is a diagram schematically illustrating the rotation control according to the first embodiment. In the first embodiment, first, the ink amount is detected (S1), the detected ink amount is input to the CPU (S2), and the mass measurement or estimation of the print head is performed from the ink amount (S3).
[0030]
Thereafter, the compensation coefficient of the control compensator is read using a table corresponding to the mass (S4), the coefficient of the compensator is changed (S5), and the control operation is performed by performing speed compensation using this coefficient (S6). .
[0031]
FIG. 5 is a specific processing flowchart in the first embodiment. First, as shown in step S101, the remaining ink amount (hereinafter, simply referred to as “ink amount”) is detected. As the detection of the ink amount, for example, the amount of ink consumption is obtained from the number of times of printing to calculate the ink amount, or the ink amount is detected from the drive current of the print head or the value of the torque sensor. Alternatively, the amount of ink consumption may be detected using a photo sensor, a magnetic sensor, or a mechanical sensor, and the amount of ink may be calculated.
[0032]
Next, as shown in step S102, an average value of the detected ink amounts is calculated. In the following processing, control is performed by comparing the average value of the ink amount with a predetermined threshold value and setting a compensator coefficient according to the ink amount.
[0033]
Here, assuming that the mass of the print head when the ink is full is 1000 g, and the ink of four colors can store 100 g of ink in each ink tank, and when all the ink is consumed, the printing is performed. The mass of the head is 600 grams, which is a difference of 400 grams compared to the case where the ink is full.
[0034]
In this example, threshold values are set for every 100 grams (100 grams, 200 grams, 300 grams, and 400 grams), and compensator coefficients (a), (b), (c), (D) is loaded.
[0035]
That is, in step S103, it is determined whether or not the average value of the ink amount is less than 100 grams. If the average value is less than 100 grams, the result is Yes, and the compensator coefficient (a) shown in step S104 is loaded.
[0036]
If No in step S103, the process proceeds to step S105, and it is determined whether the average value is less than 200 grams. Here, if the average value is less than 200 grams, the result is Yes, and the compensator coefficient (b) is loaded in step S106.
[0037]
If No in step S105, the process proceeds to step S107, and it is determined whether the average value is smaller than 300 grams. Here, if the average value is less than 300 grams, the result is Yes, and the compensator coefficient (c) is loaded in step S108.
[0038]
If No in step S107, the process advances to step S109 to determine whether the average value is smaller than 400 grams. Here, if the average value is less than 400 grams, the result is Yes, and the loading of the compensator coefficient (d) shown in step S110 is performed.
[0039]
If No in step S109, the process proceeds to step S111 to instruct ink replacement.
[0040]
Then, after loading the compensator coefficient according to the average value of the ink amount, a change to the compensator coefficient is performed in step S112, and rotation control using the compensator coefficient is performed.
[0041]
As a result, the compensator coefficient can be set in consideration of the ink amount, and the stable movement of the print head can be realized using the correct compensator coefficient.
[0042]
Next, a second embodiment will be described. FIG. 6 is a diagram schematically illustrating the rotation control according to the second embodiment. In the second embodiment, the ink amount is detected (S11), the detected ink amount is input to the CPU (S12), the mass of the print head is measured or estimated from the ink amount (S13), and the compensator coefficient is changed (S15). , The control operation (S16) is the same as that of the first embodiment, but the process for obtaining the control compensator coefficient by calculation according to the mass (S14) is different.
[0043]
FIG. 7 is a specific processing flowchart in the second embodiment. First, the amount of ink is detected as shown in step S201. As in the first embodiment, the amount of ink is detected, for example, by calculating the amount of ink by calculating the amount of ink consumed from the number of times of printing, or by detecting the drive current of the print head or the value of a torque sensor. Alternatively, the amount of ink consumption may be detected using a photo sensor, a magnetic sensor, or a mechanical sensor.
[0044]
Next, as shown in step S202, the average value of the detected ink amounts is calculated. Next, in the second embodiment, a compensator coefficient corresponding to the weight of the print head is calculated by the inertia calculation shown in step S203 and the compensator coefficient calculation shown in step S204, and the compensator coefficient is calculated in step S205. Make changes.
[0045]
The inertia calculation shown in step S203 is calculated by inertia = motor inertia + gear inertia + (head weight + ink mass) × (pulley diameter / 2) 2 .
[0046]
In the compensator coefficient calculation shown in step S204,
Mechanical time constant = (motor resistance x inertia) / (induced voltage constant x torque constant)
Electrical time constant = motor inductance × motor resistance k = (power supply voltage × encoder tooth wave) / (PWM resolution × 2 × π × induced voltage constant)
a2 '= (mechanical time constant × electric constant) / k
a1 '= mechanical constant / k
a0 '= 1 / k
d0 = 1, d1 = 1, d2 = 0.5, d3 = 0.03
(D2 '2 -d3) × t 2 -d2 × (a1 / a0) × t + (a2 / a0) = 0
Then, t is obtained.
And
Ki = (a0 '/ t) × 1.2
Kp = (a0 ′ × ((a1 / a0) −t × d2)) / t
Compensator coefficient = Kp + Ki / s, which is subjected to Tustin conversion according to the sampling time.
[0047]
A specific example of calculating such a compensator coefficient will be described below. Although the PI (proportional integration) method is shown here, an I-PD (integral-proportional derivative) method may be used.
[0048]
First, a reference model of a desirable control system is represented by Expression 2.
[0049]
(Equation 2)
Figure 0003575232
[0050]
Further, when the transfer function of the control object shown in Expression 3 is represented by a denominator series, Expression 4 is obtained.
[0051]
(Equation 3)
Figure 0003575232
[0052]
(Equation 4)
Figure 0003575232
[0053]
FIG. 8 is a block diagram of a PID (proportional-integral-derivative) control system.
[0054]
Further, it is assumed that the control device is represented by the following Expression 5.
[0055]
(Equation 5)
Figure 0003575232
[0056]
Here, the transfer function from the target value to the control amount is as shown in the following Expression 6.
[0057]
(Equation 6)
Figure 0003575232
[0058]
Assuming that this is equal to the reference model of the desired control system shown in Expression 2, the following Expression 7 is obtained.
[0059]
(Equation 7)
Figure 0003575232
[0060]
Solving C (S) from equation (7) gives equation (8).
[0061]
(Equation 8)
Figure 0003575232
[0062]
Incidentally, I (integral) operation, PI (proportional integral) operation, PID (proportional-integral-derivative) operation, ... C 1 later according to, C 2 and later, C 3 since, because ... do not use the corresponding in number 8 The coefficient of the term must be zero.
[0063]
However, the only undetermined parameter is σ, and so many coefficients cannot be set to zero at the same time. Therefore, the coefficient of the lowest order term to be set to zero is set to zero. From this, the following equation 9 is obtained as an equation to be satisfied by σ.
[0064]
(Equation 9)
Figure 0003575232
[0065]
As small as possible a coefficient of S 1 in the number 8 positive in order to satisfy the condition that (the value becomes sigma), obtains the real roots minimum number 9 positive of sigma, 10 number of parameters required for each operation Calculate as
[0066]
(Equation 10)
Figure 0003575232
[0067]
When a positive real root sigma does not exist, the condition "tunable parameters unless i = 2,3 number allows the, ... coefficients of order S i of equal to d i σ i." In the control operation It is interpreted that a satisfying response cannot be realized.
[0068]
When σ = 0 is obtained, it means that complete compensation can be performed.
[0069]
Here, as the PI compensation, σ, C 0 = K integral , and C 1 = K proportional are obtained as in the following Expression 11.
[0070]
(Equation 11)
Figure 0003575232
[0071]
However, in this state, a pole cancellation (pole-zero elimination) occurs between the control object, the compensator, and the plant, so that the control system becomes very unstable.
[0072]
This indicates that, for example, the transfer function of the controlled object and the transfer function of the compensator cancel each other when factorized.
For example, when the transfer function of the control target is represented by Expression 12, and the transfer function of the compensator is represented by Expression 13, the open-loop transfer function is represented by Expression 14.
[0073]
(Equation 12)
Figure 0003575232
[0074]
(Equation 13)
Figure 0003575232
[0075]
[Equation 14]
Figure 0003575232
[0076]
Therefore, K integral is multiplied by a coefficient of 1.2 to 1.3 so as to be shifted from the origin and used. That is, K integral and K proportional are as shown in the following Expression 15.
[0077]
(Equation 15)
Figure 0003575232
[0078]
In the case of a discrete system, K integral and K proportional are converted (for example, Tustin transform) according to the sampling period and used.
[0079]
By calculating the compensator coefficient according to the weight of the print head in this manner, it becomes possible to control the drive of the print head using the optimum compensation value.
[0080]
Although the above embodiment has been described using the example of the ink jet printer, the present invention is not limited to this. Further, the steps of the threshold value shown in the first embodiment are not limited to every 100 grams.
[0081]
【The invention's effect】
As described above, the image output device of the present invention has the following effects. That is, in the present invention, since the compensation value is set based on the amount of ink remaining in the ink tank, appropriate operation control can be performed in accordance with a change in inertia of the printing unit. As a result, the operation of the printing unit can be accurately controlled without performing complicated and high-speed calculations.
[Brief description of the drawings]
FIG. 1 is a schematic diagram illustrating a main part of an image output device according to an embodiment.
FIG. 2 is a diagram illustrating a speed profile in the movement of a print head.
FIG. 3 is a block diagram of a control unit.
FIG. 4 is a diagram schematically illustrating rotation control in the first embodiment.
FIG. 5 is a processing flowchart in the first embodiment.
FIG. 6 is a diagram showing an outline of rotation control in a second embodiment.
FIG. 7 is a processing flowchart in the second embodiment.
FIG. 8 is a block diagram of a PID control system.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Ink-jet printer, 10 ... Print head, 11 ... Belt, 12 ... Pulley, 13 ... DC motor, 14 ... Rotation detection part, 15 ... Control part

Claims (1)

インクタンクを備えている印字手段と、
前記印字手段を所定方向に移動させる駆動手段と、
所定の補償値に基づき前記駆動手段に対する駆動制御を補償する補償手段と、
前記インクタンクから吐出したインクの量または前記インクタンクに残っているインクの量に基づき前記補償手段における前記補償値を設定する補償値設定手段とを備える画像出力装置において、
前記補償手段は積分定数および比例定数による伝達関数を用いるもので、前記積分定数および前記比例定数を
Figure 0003575232
によって求める
ことを特徴とする画像出力装置。
Printing means having an ink tank;
Driving means for moving the printing means in a predetermined direction,
Compensating means for compensating drive control for the driving means based on a predetermined compensation value;
In the image output apparatus Ru and a compensation value setting means for setting the compensation value in the amount or the compensation means based on the amount of ink remaining in the ink tank of ink ejected from said ink tank,
The compensation means uses a transfer function based on an integral constant and a proportional constant.
Figure 0003575232
Ask by
An image output device, characterized in that:
JP17791697A 1997-07-03 1997-07-03 Image output device Expired - Lifetime JP3575232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17791697A JP3575232B2 (en) 1997-07-03 1997-07-03 Image output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17791697A JP3575232B2 (en) 1997-07-03 1997-07-03 Image output device

Publications (2)

Publication Number Publication Date
JPH1120143A JPH1120143A (en) 1999-01-26
JP3575232B2 true JP3575232B2 (en) 2004-10-13

Family

ID=16039313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17791697A Expired - Lifetime JP3575232B2 (en) 1997-07-03 1997-07-03 Image output device

Country Status (1)

Country Link
JP (1) JP3575232B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001169584A (en) 1999-09-28 2001-06-22 Seiko Epson Corp Control device and method for printer motor, and recording medium storing control program
JP3539342B2 (en) * 2000-04-13 2004-07-07 セイコーエプソン株式会社 Ink jet recording method and ink jet recording apparatus

Also Published As

Publication number Publication date
JPH1120143A (en) 1999-01-26

Similar Documents

Publication Publication Date Title
US6812668B2 (en) Apparatus, method and program for controlling an electric motor
CN106873506B (en) Correction device, control method for correction device, information processing program, and recording medium
CN1106339A (en) Control device for controlling movement of a printing head carriage and control method for controlling the same
US8629643B2 (en) Image forming apparatus having stepping motor arranged in conveying path for paper, and method for controlling stepping motor in image forming apparatus
CN1592083B (en) Motor driving method, motor driving controller, and image forming device
CN110022109B (en) Method and system for controlling torque ripple of SRM (sequence-derived minimum-mean-square) of torque-current neural network model
JP3654217B2 (en) Control of carriage motor in printing device
JP6507776B2 (en) Medium feed control method and medium feed apparatus
JP3575232B2 (en) Image output device
US20080165216A1 (en) Image forming apparatus and method thereof
JP5617460B2 (en) Servo control device, image forming apparatus, and servo control program
US7019481B2 (en) Carriage driving apparatus and motor control method
JP2014176101A (en) Motor control device and motor control method
JPH06335275A (en) Printer head carriage speed control system
CN102355999B (en) Apparatus including motor
JP2015220803A (en) Motor controller, recording device, and motor control method
JP3806701B2 (en) Current control device and current control method for actuator for electronic governor of engine
Chen et al. Robust spatial-sampling controller design for banding reduction in electrophotographic process
JP6064416B2 (en) Drive control device, drive control method and program, and image forming apparatus
KR980012819A (en) Apparatus for calculating the absolute angular position of a rotary motor and a speed control device using the same
JPH02206382A (en) Torque controller
JP3690374B2 (en) Motor control method and motor control apparatus
JPH11285730A (en) Method and device for strip tension control
Köroğlu et al. Experimental modelling of propulsion transients of a brushless DC motor and propeller pair under limited power conditions: A neural network based approach
JP2005137043A (en) Apparatus and method for controlling motor

Legal Events

Date Code Title Description
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: 20040615

A61 First payment of annual fees (during grant procedure)

Effective date: 20040628

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20080716

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20090716

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6