JPH08267784A - Remaining ink amount sensing device - Google Patents

Remaining ink amount sensing device

Info

Publication number
JPH08267784A
JPH08267784A JP9745195A JP9745195A JPH08267784A JP H08267784 A JPH08267784 A JP H08267784A JP 9745195 A JP9745195 A JP 9745195A JP 9745195 A JP9745195 A JP 9745195A JP H08267784 A JPH08267784 A JP H08267784A
Authority
JP
Japan
Prior art keywords
ink
level
cartridge
remaining amount
comparator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9745195A
Other languages
Japanese (ja)
Inventor
Kazuo Kishi
和男 岸
Yoshiaki Hayashi
好昭 林
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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch Co Ltd
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 Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP9745195A priority Critical patent/JPH08267784A/en
Publication of JPH08267784A publication Critical patent/JPH08267784A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Ink Jet (AREA)

Abstract

PURPOSE: To provide a remaining ink an amount sensing device which can sense a plurality of sensing levels by means of one comparison circuit, reduce the operation time required for the changeover of a power source for sensing a plurality of sensing levels and also reduce the current amount flowing through ink. CONSTITUTION: A device is provided with a sensing means 10 for sensing the value in compliance with the ink amount in a cartridge 1 by applying power into ink in the cartridge 1 and a comparison means 2 for comparing the output of the sensing means 10 selectively with one of a plurality of threshold values in compliance with the set ink amount in the cartridge 1, and power is applied selectively by the sensing means 10 and the selection of threshold values by the comparison means 2 based on the output by the power application.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、液体インクを使用する
プリンタの液体インクの残量検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a liquid ink remaining amount detecting device for a printer using liquid ink.

【0002】[0002]

【従来の技術】インクジェットプリンタ等の液体インク
を使用するプリンタにおいては、インクが無くなると同
時に印字不能の状態となるため、インクが無くなる前に
インクが減少したことをあらかじめ知る必要がある。そ
こで、従来、残量検出装置をプリンタに設けてインクの
残量を検出し、これによって、文書の出力の途中でイン
クが無くなるというような印字ミスを防止する手段を用
いることがある。
2. Description of the Related Art In a printer using a liquid ink such as an ink jet printer, it becomes impossible to print at the same time when the ink is used up. Therefore, it is necessary to know in advance that the ink has decreased before the ink is used up. Therefore, conventionally, there is a case in which a printer is provided with a remaining amount detecting device to detect the remaining amount of ink, thereby preventing a printing error such that the ink runs out during the output of a document.

【0003】残量検出装置において使用されている残量
検出手段として、例えば光センサー検出やインクの導通
検出等が考えられる。従来のインクの導通検出による残
量検出装置では、インクに微小電流を流すことによって
インクの残量に応じた抵抗値を電圧として求め、その検
出した電圧値により残量検出を行うものである。例え
ば、インクが無くなるレベルに対応した電圧値をあらか
じめ定めておき、この電圧値をしきい値として検出電圧
値を比較することによってインクの残量のモニターを行
う。
As the remaining amount detecting means used in the remaining amount detecting device, for example, optical sensor detection and ink conduction detection can be considered. In the conventional remaining amount detection device by detecting the conduction of ink, a resistance value corresponding to the remaining amount of ink is obtained as a voltage by passing a minute current through the ink, and the remaining amount is detected based on the detected voltage value. For example, a voltage value corresponding to the level at which the ink runs out is determined in advance, and the remaining ink level is monitored by comparing the detected voltage values with this voltage value as a threshold value.

【0004】従来、複数個のしきい値を用いることによ
って、インク残量の複数の状態を検出するものが知られ
ている。このような残量検出装置では、検出レベルに応
じてインクタンクに複数個の検出電極を設置するととも
に、基準電圧が異なる複数個の比較器を設け、かつ検出
電極から得られる電圧をそれぞれしきい値の異なる比較
器で比較することによって、インクの複数レベルの残量
検出を行っている。
Conventionally, it is known that a plurality of threshold values are used to detect a plurality of states of the remaining ink amount. In such a remaining amount detection device, a plurality of detection electrodes are installed in the ink tank according to the detection level, a plurality of comparators having different reference voltages are provided, and the voltage obtained from the detection electrodes is thresholded. The remaining amount of ink at a plurality of levels is detected by comparing with a comparator having a different value.

【0005】[0005]

【発明が解決しようとする課題】従来の残量検出装置で
は、インク残量の複数レベルを検出するために、インク
タンクに複数個の検出電極を設ける必要があり、また、
各検出電極に対応して複数個の比較器を設ける必要があ
るという問題点がある。これは、構成要素の個数を増加
させることになる。
In the conventional remaining amount detecting device, it is necessary to provide a plurality of detecting electrodes in the ink tank in order to detect a plurality of levels of the remaining amount of ink, and
There is a problem that it is necessary to provide a plurality of comparators corresponding to the respective detection electrodes. This will increase the number of components.

【0006】また、従来の残量検出装置によってインク
の残量を検出する場合には、複数個の比較器に検出電極
に対応した検出値を供給するために、複数個の検出電極
と電源との接続切替えを行って、それぞれの検出電極に
通電を行う必要がある。そのため、従来の残量検出装置
は、インクに流れる電流量が増加するとともに、接続切
替えの操作が増えて操作時間が延びるという問題点も有
している。また、一般に、インクに流れる電流はインク
に劣化等の影響を与えため、電流量は少ないほど望まし
い。
Further, when the remaining amount of ink is detected by the conventional remaining amount detecting device, a plurality of detecting electrodes and a power source are used to supply a plurality of comparators with detection values corresponding to the detecting electrodes. It is necessary to switch the connection of and to energize each detection electrode. Therefore, the conventional remaining amount detecting device has a problem that the amount of current flowing through the ink increases and the operation time for connection switching increases and the operation time increases. Further, in general, the current flowing through the ink affects the ink such as deterioration, so that the smaller the current amount is, the more preferable.

【0007】そこで、本発明は前記した従来の問題点を
解決して、1つの比較回路で複数の検出レベルを検出す
ることができる残量検出装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to solve the above-mentioned conventional problems and provide a remaining amount detecting device capable of detecting a plurality of detection levels with a single comparison circuit.

【0008】また、本発明は複数の検出レベルを検出す
るための電源切替えに要する操作時間を削減することが
できる残量検出装置を提供することをその他の目的とす
る。
Another object of the present invention is to provide a remaining amount detecting device capable of reducing the operation time required for switching the power source for detecting a plurality of detection levels.

【0009】さらに、本発明はインクに流れる電流量を
減少させることができる残量検出装置を提供することを
さらに別の目的とする。
Still another object of the present invention is to provide a remaining amount detecting device capable of reducing the amount of current flowing through the ink.

【0010】[0010]

【課題を解決するための手段】本発明は、カートリッジ
内のインクに通電を行うことによって、カートリッジ内
のインク残量に応じた値を出力する検出手段と、検出手
段の出力を、カートリッジ内の設定インク量に対応した
複数個のしきい値のいずれか1つと選択的に比較する比
較手段とを備え、検出手段は通電を選択的に行い、比較
手段は該通電による出力に基づいてしきい値の選択を行
うことにより、前記目的を達成するものである。また、
本発明の一実施態様は、しきい値の選択を、分圧抵抗の
出力端子を選択することにより行うものであり、これに
よって、比較器に入力する基準電圧を切り替えることが
できる。
SUMMARY OF THE INVENTION According to the present invention, detecting means for outputting a value according to the remaining amount of ink in the cartridge by energizing the ink in the cartridge, and the output of the detecting means, Comparing means for selectively comparing any one of a plurality of threshold values corresponding to the set ink amount, the detecting means selectively conducts electricity, and the comparing means makes a threshold based on the output by the electricity conduction. The object is achieved by selecting the value. Also,
According to one embodiment of the present invention, the threshold value is selected by selecting the output terminal of the voltage dividing resistor, whereby the reference voltage input to the comparator can be switched.

【0011】また、本発明の一実施態様は、インク吸入
動作後,用紙排紙後,印字指令による用紙給紙前,ヘッ
ドがキャップ位置に移動した後のいずれかの時点、また
はこれらの時点から選択した複数の時点、あるいは全て
の時点において、インクに通電を行うものであり、これ
によって、インクへの通電を選択的に行うことができ
る。
Further, according to one embodiment of the present invention, after the ink suction operation, after the paper is discharged, before the paper is fed by the print command, after the head is moved to the cap position, or at any of these times. The ink is energized at a plurality of selected time points or all of the time points, whereby the ink can be selectively energized.

【0012】[0012]

【作用】インク吸入動作後,用紙排紙後,第1回目の印
字指令による用紙給紙前,ヘッドがキャップ位置に移動
した後のいずれかの時点、またはこれらの時点から選択
した複数の時点、あるいは全ての時点において、カート
リッジ内のインクに通電を行う。そして、インクに通電
することによって、インクの残量に応じたインクの抵抗
値を電圧値として検出する。比較器の一方の入力端子に
この検出した電圧値を入力し、比較器の他方端子にはカ
ートリッジ内のインクレベルに応じたしきい値電圧を入
力する。このしきい値電圧は、複数のインクレベルに対
応して複数個設定するされており、比較器にはこの中か
ら1つのしきい値を選択して入力する。
After the ink suction operation, after the paper is discharged, before the paper is fed by the first print command, after the head is moved to the cap position, or at a plurality of times selected from these times, Alternatively, the ink in the cartridge is energized at all times. Then, by energizing the ink, the resistance value of the ink corresponding to the remaining amount of the ink is detected as a voltage value. The detected voltage value is input to one input terminal of the comparator, and the threshold voltage corresponding to the ink level in the cartridge is input to the other terminal of the comparator. A plurality of threshold voltages are set corresponding to a plurality of ink levels, and one threshold value is selected and input to the comparator.

【0013】比較器に入力するしきい値の選択は、比較
器の出力に応じてしきい値を切り替えることにより行
い、例えば、しきい値を順に下げることにより検出する
インクレベルを順に下降させることができる。これによ
って、一つの比較器で複数個のしきい値による比較を行
うことができる。
The threshold value to be input to the comparator is selected by switching the threshold value in accordance with the output of the comparator. For example, the ink level to be detected is sequentially lowered by sequentially lowering the threshold value. You can As a result, one comparator can perform comparison using a plurality of threshold values.

【0014】また、このしきい値の切り替えは、選択し
た通電時点中の一回の通電における検出値に対して行う
ことができ、電源と検出電極との切り替え等の操作は不
要である。
Further, the switching of the threshold value can be performed for the detection value in one energization during the selected energization time, and operation such as switching between the power supply and the detection electrode is unnecessary.

【0015】[0015]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。 (実施例の構成)図1は本発明の一実施例の構成を説明
するブロック図である。なお、図1のブロック図はイン
ク残量検出装置に係わる部分について示しており、該イ
ンク残量検出装置が設けられるプリンタ装置の構成につ
いては省略している。
Embodiments of the present invention will now be described in detail with reference to the drawings. (Structure of Embodiment) FIG. 1 is a block diagram for explaining the structure of an embodiment of the present invention. It should be noted that the block diagram of FIG. 1 shows only the portion related to the ink remaining amount detecting device, and the configuration of the printer device provided with the ink remaining amount detecting device is omitted.

【0016】図1において、破線で囲まれる部分はプリ
ンタの印字装置に用いられるインクのカートリッジ1を
示しており、該カートリッジ1中の抵抗Rはカートリッ
ジ1内のインク残量に対応した抵抗値を示している。そ
して、このカートリッジ1内のインク残量は、一点鎖線
で囲まれる検出手段10によって、その抵抗値Rに対応
する電圧値として検出される。検出手段10は、カート
リッジ1内のインクに微小電流を供給する電源を備えて
おり、例えば大きな内部抵抗を持つ電流源3によって構
成することができる。
In FIG. 1, a portion surrounded by a broken line shows an ink cartridge 1 used in a printer of a printer, and a resistance R in the cartridge 1 is a resistance value corresponding to the ink remaining amount in the cartridge 1. Shows. Then, the remaining amount of ink in the cartridge 1 is detected as a voltage value corresponding to the resistance value R by the detection means 10 surrounded by a dashed line. The detection unit 10 includes a power source that supplies a minute current to the ink in the cartridge 1, and can be configured by the current source 3 having a large internal resistance, for example.

【0017】また、この電流源3にはスイッチ4が直列
接続されるとともに、このスイッチ4は通電制御部31
に接続されている。通電制御部31はスイッチ4の開閉
制御を行い、カートリッジ1内のインクへの微小電流の
通電の制御を行う。カートリッジ1内のインクに通電が
行われると、インク残量に応じた抵抗値が電圧として比
較器2に出力されることになる。したがって、カートリ
ッジ1内のインクには、通電制御部31からの制御信号
が供給さたときのみ通電が行い、それ以外の時点では通
電は行わない。
A switch 4 is connected to the current source 3 in series, and the switch 4 is connected to the energization controller 31.
It is connected to the. The energization control unit 31 controls the opening / closing of the switch 4 and controls the energization of a minute current to the ink in the cartridge 1. When the ink in the cartridge 1 is energized, the resistance value according to the remaining ink amount is output to the comparator 2 as a voltage. Therefore, the ink in the cartridge 1 is energized only when the control signal from the energization controller 31 is supplied, and is not energized at any other time.

【0018】検出手段10の検出出力は、比較器2によ
ってその検出レベルの比較が行われる。比較器2は、例
えばコンパレータ等により構成することができ、一方の
入力端子に検出手段10の検出出力を入力し、他方の入
力端子に比較を行うための基準電圧を入力することによ
って、該基準電圧との比較を行う。
The detection output of the detection means 10 is compared in its detection level by the comparator 2. The comparator 2 can be composed of, for example, a comparator or the like, and the detection output of the detection means 10 is input to one input terminal and a reference voltage for comparison is input to the other input terminal. Compare with the voltage.

【0019】比較器2に入力する基準電圧は、カートリ
ッジ内のインクの残量を検出するためのしきい値として
用いられるものであり、図1中の切り替え手段5,分圧
抵抗6,および電圧源7等により構成することができる
基準電圧源から得ることができる。
The reference voltage input to the comparator 2 is used as a threshold value for detecting the remaining amount of ink in the cartridge, and includes the switching means 5, the voltage dividing resistor 6, and the voltage in FIG. It can be obtained from a reference voltage source which can be constituted by the source 7 or the like.

【0020】この基準電圧源においては、電圧源7の電
圧を分圧抵抗6で分圧し、その分圧電圧を複数個の端子
(図1では2つの端子について示している)を切り替え
手段5に接続しており、さらに、該切り替え手段5は複
数の分圧電圧から一つの分圧電圧を選択して、比較器2
に出力する。
In this reference voltage source, the voltage of the voltage source 7 is divided by the voltage dividing resistor 6, and the divided voltage is switched to a plurality of terminals (two terminals are shown in FIG. 1) by the switching means 5. Further, the switching means 5 selects one divided voltage from a plurality of divided voltages, and the comparator 2
Output to.

【0021】また、電圧源7にスイッチ8を直列接続し
て、通電制御部31からの制御信号によって開閉制御を
行うことができる。通電制御部31からの制御信号によ
ってスイッチ8が閉じ、分圧抵抗6に分圧電圧が発生す
る。したがって、カートリッジ1内のインクへの通電お
よび該通電による検出出力に同期して、比較器2へのし
きい値の入力を行うことができる。
Further, the switch 8 can be connected in series to the voltage source 7, and the opening / closing control can be performed by a control signal from the energization controller 31. The switch 8 is closed by the control signal from the energization control unit 31, and the divided voltage is generated in the voltage dividing resistor 6. Therefore, the threshold value can be input to the comparator 2 in synchronization with the energization of the ink in the cartridge 1 and the detection output by the energization.

【0022】また、比較器2に入力するしきい値の選択
は、切り替え手段5を切り替えることによって行うこと
ができる。この切り替え手段5は、切り替え制御部30
からの制御出力によって制御される。また、切り替え制
御部30は、比較器2からの出力に応じた制御信号を出
力し、切り替え手段5で選択するしきい値の値を設定す
る。なお、この切り替え手段5の動作については、後述
する実施例の作用の項で説明する。
The threshold value input to the comparator 2 can be selected by switching the switching means 5. The switching means 5 includes a switching control unit 30.
Controlled by the control output from. Further, the switching control unit 30 outputs a control signal corresponding to the output from the comparator 2 and sets the threshold value value selected by the switching unit 5. The operation of the switching means 5 will be described in the section of the operation of the embodiment described later.

【0023】切り替え制御部30および通電制御部31
はバス20を介してCPU21に接続される。このCP
U21には、同じくバス20を介してROM25,RA
M26,RAM27が接続され、さらにインターフェー
ス29を介して比較器2の出力が接続される。
Switching control unit 30 and energization control unit 31
Is connected to the CPU 21 via the bus 20. This CP
ROM 21 and RA are also provided to U21 via the bus 20.
M26 and RAM 27 are connected, and the output of the comparator 2 is further connected via the interface 29.

【0024】さらに、バス20には、ヘッド41が接続
されたヘッド駆動制御部22,キャリッジ42が接続さ
れたキャリッジ駆動制御部23,表示部43が接続され
た表示制御部24,入力装置44,およびインターフェ
ース29を介して外部装置45が接続されている。
Further, on the bus 20, a head drive control unit 22 to which a head 41 is connected, a carriage drive control unit 23 to which a carriage 42 is connected, a display control unit 24 to which a display unit 43 is connected, an input device 44, And the external device 45 is connected via the interface 29.

【0025】ROM25は残量検出やその他のプリンタ
の制御を行うシステムを格納する記憶手段であり、RA
M26は残量検出やその他のプリンタの制御においてデ
ータに一時的に記憶しておく記憶手段であり、RAM2
7は外部装置45から入力さた印字データを格納してお
く記憶手段である。
The ROM 25 is a storage means for storing a system for detecting the remaining amount and controlling other printers.
M26 is a storage means for temporarily storing data in the remaining amount detection or other printer control, and RAM2.
A storage unit 7 stores print data input from the external device 45.

【0026】また、ヘッド駆動制御部22はヘッド41
の制御を行う部分であり、キャリッジ駆動制御部23は
キャリッジ42の制御を行うブロック部である。表示部
43は、残量検出による検出結果を表示する部分であ
り、例えば、インクニアエンプティー(カートリッジ内
のインク残量が空に近い状態)やインクエンプティー
(カートリッジ内のインク残量が空の状態)を表示す
る。
In addition, the head drive control unit 22 uses the head 41.
The carriage drive control unit 23 is a block unit that controls the carriage 42. The display unit 43 is a portion that displays the detection result of the remaining amount detection, and includes, for example, ink near empty (a state where the ink remaining amount in the cartridge is almost empty) and ink empty (a state where the ink remaining amount in the cartridge is empty). ) Is displayed.

【0027】また、入力手段44はキャリッジ駆動制御
部23を駆動して、ヘッド41をキャップ位置やカート
リッジ交換位置に移動させる指示を入力する部分であ
る。
The input means 44 is a portion for driving the carriage drive control section 23 to input an instruction to move the head 41 to the cap position or the cartridge exchange position.

【0028】なお、外部装置45として、外部通信手段
や外部データ記憶手段を適用することができる。
As the external device 45, an external communication means or an external data storage means can be applied.

【0029】この構成において、CPU21は通電制御
部31を介してカートリッジ1内のインクに通電を行っ
て検出手段10を駆動させてインク残量に関する情報を
求める。
In this configuration, the CPU 21 energizes the ink in the cartridge 1 via the energization control unit 31 to drive the detecting means 10 to obtain information on the remaining ink amount.

【0030】図2は、本発明のインク残量検出装置を適
用するカートリッジの一構成例を説明するための図であ
る。図2において、カートリッジ1はインクを保持して
おくためのインクタンク11を備え、インクを吐出する
ヘッド41と接続されている。そして、ヘッド41は複
数個のノズルを備えた吐出部13を有し、インク供給路
14を介してインクタンク11から供給されるインクを
記録媒体に向け放射する。カートリッジ1内のインクの
残量を検出するために、インクタンク11内には検出電
極15Aおよび15Bが設けられている。そして、この
検出電極15A,15Bの内、一方の検出電極15Aを
インクタンク11側に設置し、他方の検出電極15Bを
インク供給路14あるいはインク供給路14から吐出部
13側に設置することによって、インクタンク11内の
インクの残量とともにインク供給路14内のインクの有
無を検出することができる。
FIG. 2 is a diagram for explaining a configuration example of a cartridge to which the ink remaining amount detecting device of the present invention is applied. In FIG. 2, the cartridge 1 includes an ink tank 11 for holding ink and is connected to a head 41 that ejects ink. The head 41 has an ejection unit 13 having a plurality of nozzles, and radiates the ink supplied from the ink tank 11 to the recording medium via the ink supply passage 14. In order to detect the amount of ink remaining in the cartridge 1, detection electrodes 15A and 15B are provided in the ink tank 11. Then, of the detection electrodes 15A and 15B, one detection electrode 15A is installed on the ink tank 11 side, and the other detection electrode 15B is installed on the ink supply path 14 or from the ink supply path 14 to the ejection section 13 side. The presence / absence of ink in the ink supply path 14 can be detected together with the remaining amount of ink in the ink tank 11.

【0031】(実施例の作用)次に、本発明の実施例の
作用について説明する。
(Operation of Embodiment) Next, the operation of the embodiment of the present invention will be described.

【0032】図3は本発明の実施例を説明するための図
であり、図2のカートリッジの一構成例におけるインク
の残量,比較レベル,および比較器のしきい値との関係
を示している。
FIG. 3 is a diagram for explaining the embodiment of the present invention, showing the relationship between the remaining amount of ink, the comparison level, and the threshold value of the comparator in one configuration example of the cartridge of FIG. There is.

【0033】図3の(a)はカートリッジ1内のインク
残量がレベル1(図中の破線)以上であって、インクが
充分にある状態を示している。このとき、所定の時点に
電源側から検出電極15を介してカートリッジ1内のイ
ンクに検出電流を供給する。この検出電流の供給によっ
て、検出電極15A,15B間にはインク残量に対応し
た電圧が発生する。比較器2はこの電圧を一方の入力端
に入力し、他方の入力端に基準電圧を入力して、この基
準電圧をしきい値として比較を行う。このときのしきい
値は、例えばカートリッジ1内のインク残量がレベル1
に対応する値V1とする。レベル1としては、例えばカ
ートリッジ1内のインク残量が空に近い状態を示すイン
クニアエンプティーレベルに設定することができる。
FIG. 3A shows a state in which the ink remaining amount in the cartridge 1 is level 1 (broken line in the figure) or more, and the ink is sufficient. At this time, a detection current is supplied to the ink in the cartridge 1 from the power supply side through the detection electrode 15 at a predetermined time. By the supply of this detection current, a voltage corresponding to the remaining amount of ink is generated between the detection electrodes 15A and 15B. The comparator 2 inputs this voltage to one input terminal and a reference voltage to the other input terminal, and performs comparison using this reference voltage as a threshold value. The threshold value at this time is, for example, when the remaining ink amount in the cartridge 1 is level 1.
Is set to a value V1 corresponding to. The level 1 can be set to, for example, an ink near empty level indicating that the remaining amount of ink in the cartridge 1 is almost empty.

【0034】しきい値に対して入力信号が低いとき(イ
ンク残量が設定レベルより上のとき)には“ロー”を出
力し、逆にしきい値に対して入力信号が高いとき(イン
ク残量が設定レベルより下のとき)には“ハイ”を出力
するよう比較器2を設定した場合には、図3の(a)の
状態では、インク残量がレベル1より充分高いため、比
較器2はしきい値V1に対して“ロー”を出力する。
"Low" is output when the input signal is lower than the threshold value (when the ink remaining amount is higher than the set level), and conversely when the input signal is higher than the threshold value (ink remaining amount). When the comparator 2 is set to output “high” when the amount is below the set level), the ink remaining amount is sufficiently higher than the level 1 in the state of FIG. The device 2 outputs "low" with respect to the threshold value V1.

【0035】残量検出装置は、この比較器2の“ロー”
の出力によってインク残量がレベル1より上にあり、イ
ンク残量が充分であることを確認する。残量検出装置
は、この比較器2の結果に基づいて表示装置を駆動して
表示を行うことができる。
The remaining amount detecting device is "low" for the comparator 2.
Check that the remaining ink level is above level 1 and that the remaining ink level is sufficient. The remaining amount detecting device can drive the display device based on the result of the comparator 2 to perform display.

【0036】そして、このインク残量がレベル1より上
にある場合には、比較器2はしきい値の変更によるさら
に低いレベル2と比較は行わない。
When the remaining amount of ink is higher than the level 1, the comparator 2 does not compare with the level 2 which is lower due to the change of the threshold value.

【0037】次に、図3の(b)はカートリッジ1内の
インク残量がレベル1とレベル2(図中の一点鎖線)と
の中間にある場合を示している。このとき、図3の
(a)と同様に所定の時点にインクに検出電流を供給し
て、インク残量に対応した電圧を比較器2の一方の入力
端子に入力する。そして、はじめに、高レベルのレベル
1に対応するしきい値V1による比較を行う。インク残
量はこのレベル1より下にあるため、比較器2はしきい
値V1に対して“ハイ”の出力する。この出力結果によ
り、残量レベルがレベル1以下であることを知ることが
できる。さらに、残量レベルがレベル2より上か下かを
判定するする必要がある。そこで、比較器2はそのしき
い値を低レベルのレベル2に対応するV2に切り替え、
このしきい値V2による比較を行う。
Next, FIG. 3B shows a case where the ink remaining amount in the cartridge 1 is between level 1 and level 2 (one-dot chain line in the figure). At this time, as in the case of FIG. 3A, a detection current is supplied to the ink at a predetermined time point, and a voltage corresponding to the remaining ink amount is input to one input terminal of the comparator 2. Then, first, comparison is performed using the threshold value V1 corresponding to the high level level 1. Since the ink remaining amount is below the level 1, the comparator 2 outputs "high" with respect to the threshold value V1. From this output result, it can be known that the remaining amount level is level 1 or less. Further, it is necessary to judge whether the remaining amount level is above or below level 2. Therefore, the comparator 2 switches its threshold value to V2 corresponding to the low level level 2,
A comparison is made using this threshold value V2.

【0038】図3の(b)におけるインク残量はレベル
2より上にあるため、比較器2はしきい値V2に対して
“ロー”を出力する。この出力結果により、残量レベル
がレベル2以下であることを知ることができ、したがっ
て、前記しきい値V1との結果と合わせて、残量レベル
はレベル1とレベル2の間にあることを知ることができ
る。
Since the ink remaining amount in FIG. 3B is above the level 2, the comparator 2 outputs "low" to the threshold value V2. From this output result, it can be known that the remaining amount level is less than or equal to level 2. Therefore, together with the result of the threshold value V1, it is confirmed that the remaining amount level is between level 1 and level 2. I can know.

【0039】レベル1をカートリッジ内のインク残量が
空に近い状態を示すインクニアエンプティーのレベルに
設定し、レベル2をカートリッジ内のインク残量が空の
状態を示すインクエンプティーのレベルに設定すると、
図3の(b)における比較器2の結果から、インクエン
プティーの状態ではないがインクニアエンプティーの状
態にあることを知ることができる。
When level 1 is set to the ink near empty level indicating that the ink remaining amount in the cartridge is almost empty, and level 2 is set to the ink empty level indicating that the ink remaining amount in the cartridge is empty. ,
From the result of the comparator 2 in FIG. 3B, it can be known that the ink is in the near-empty state but not the in-empty state.

【0040】次に、図3の(c)はインクエンプティー
あるいはインクニアエンプティーの表示等によって、充
分なインク残量を持つカートリッジ1に交換し取り付け
た状態を示している。カートリッジ1を取り付けた状態
では、インクはインクタンク内にのみ存在し、インク供
給路あるいは吐出側にまでインクが行き渡っていない。
Next, FIG. 3C shows a state in which the cartridge 1 having a sufficient ink remaining amount is replaced and attached by the indication of the ink empty or the ink near empty. When the cartridge 1 is attached, the ink exists only in the ink tank, and the ink does not reach the ink supply path or the ejection side.

【0041】そのため、この状態で比較器2によって、
はじめに高レベルのレベル1に対応するしきい値V1に
よる比較を行うと、インク残量はレベル1以上であるに
もかかわらず、比較器2はしきい値V1に対して“ハ
イ”を出力し、インク残量がレベル1より低レベルであ
ることを示す。さらに、比較器2のしきい値をV2に切
り替えて比較を行うと、比較器2はしきい値V2に対し
ても“ハイ”を出力し、インク残量がレベル2より低レ
ベルであることを示すことになる。
Therefore, in this state, by the comparator 2,
First, when the comparison is performed with the threshold value V1 corresponding to the high level level 1, the comparator 2 outputs "high" with respect to the threshold value V1 even though the remaining ink amount is level 1 or higher. , Indicates that the ink level is lower than level 1. Further, when the threshold value of the comparator 2 is switched to V2 for comparison, the comparator 2 also outputs "high" to the threshold value V2, and the ink remaining amount is lower than the level 2. Will be shown.

【0042】インクジェットプリンタでは、通常カート
リッジ1を交換した図3の(b)に状態において、吸引
の動作を行うことによりインク供給路および吐出側にイ
ンクが行き渡らせる。図3の(d)は吸引の動作を行っ
た後のカートリッジ1内のインク残量の状態を示してい
る。この状態で、インクに検出電流を供給して、インク
残量に対応した電圧を比較器2の一方の入力端子に入力
し、高レベルのレベル1に対応するしきい値V1による
比較を行う。インク残量はレベル1より高レベルである
ため、比較器2は“ロー”を出力して、インク残量のレ
ベルはレベル1より高レベルであることを示す。そし
て、このインク残量がレベル1より上にある場合には、
比較器2はしきい値の変更によるさらに低いレベル2と
比較は行わない。
In the ink jet printer, in the state shown in FIG. 3B in which the cartridge 1 is normally replaced, the suction operation is performed to spread the ink to the ink supply path and the ejection side. FIG. 3D shows the state of the ink remaining amount in the cartridge 1 after the suction operation is performed. In this state, a detection current is supplied to the ink, a voltage corresponding to the remaining amount of ink is input to one input terminal of the comparator 2, and comparison is performed using the threshold value V1 corresponding to the high level level 1. Since the remaining ink level is higher than the level 1, the comparator 2 outputs "low" to indicate that the remaining ink level is higher than the level 1. If the remaining ink level is above level 1,
Comparator 2 does not compare with the lower level 2 due to the threshold change.

【0043】図4は、カートリッジ内のインク残量と比
較器の出力結果を示す図である。なお、図4中の比較器
出力のaからfは、インク残量を示す曲線上のaからf
のレベルと対応している。
FIG. 4 is a diagram showing the ink remaining amount in the cartridge and the output result of the comparator. The comparator outputs a to f in FIG. 4 are a to f on the curve indicating the remaining ink amount.
It corresponds to the level of.

【0044】カートリッジ1内のインク残量が徐々に減
少し、レベルaからレベルdの時点において検出電流を
供給し、インク残量の抵抗値に対応した電圧値を比較器
2で比較する。さらに、カートリッジ1を交換した後、
レベルeの時点で空吸引動作を行う前での比較を行い、
レベルfの時点で吸引動作を行った後での比較を行う。
The remaining amount of ink in the cartridge 1 gradually decreases, and a detection current is supplied at a time point from level a to level d, and the comparator 2 compares the voltage value corresponding to the resistance value of the remaining amount of ink. Furthermore, after replacing the cartridge 1,
At the time of level e, comparison before performing the idle suction operation,
The comparison is performed after the suction operation is performed at the level f.

【0045】なお、インク残量のレベルは高レベルのレ
ベル1と低レベルのレベル2の2つの段階で比較を行う
ものとし、比較器2のしきい値は、この2つのレベルに
対応して設定されるものとする。また、レベル1をイン
クニアエンプティーレベルに対応させ、レベル2をイン
クエンプティーレベルに対応させて設定することができ
る。
It should be noted that the level of the remaining ink level is to be compared in two stages of high level 1 and low level 2, and the threshold value of the comparator 2 corresponds to these two levels. Shall be set. Further, it is possible to set the level 1 so as to correspond to the ink near empty level and the level 2 so as to correspond to the ink empty level.

【0046】カートリッジ1内のインク残量が減少し、
レベルaに達したものとする。このとき、インクに検出
電流を供給して比較器2による比較を行うと、このレベ
ルaはレベル1より高レベルにあるため、比較器2の出
力は比較器出力aに示すように“ロー”を出力する。
The ink remaining amount in the cartridge 1 decreases,
Assume that level a has been reached. At this time, when the detection current is supplied to the ink and the comparison is performed by the comparator 2, since the level a is higher than the level 1, the output of the comparator 2 is “low” as shown by the comparator output a. Is output.

【0047】次に、インク残量がレベル1より低いレベ
ルbに減少し、この状態においてインクに検出電流を供
給して比較器2による比較を行うと、このレベルbはレ
ベル1より低レベルにあるため、比較器2の出力は比較
器出力aに示すように“ハイ”を出力する。
Next, the remaining amount of ink is reduced to level b, which is lower than level 1. In this state, when a detection current is supplied to the ink and the comparison by the comparator 2 is performed, this level b becomes lower than level 1. Therefore, the output of the comparator 2 outputs "high" as shown by the comparator output a.

【0048】この比較器2の“ハイ”の出力に応じて比
較器2のしきい値をレベル2に対応する値に切り替え、
切り替えたしきい値で比較を行うと、レベルbはレベル
2より高レベルにあるため、比較器2の出力は比較器出
力bに示すように“ロー”に切り替わる。このとき、レ
ベル1に対応したしきい値による比較器2の“ハイ”の
出力で、インクニアエンプティーであることを表示装置
に表示させることができる。
The threshold value of the comparator 2 is switched to a value corresponding to the level 2 according to the "high" output of the comparator 2,
When the comparison is performed with the switched threshold value, the level b is higher than the level 2, so the output of the comparator 2 switches to "low" as shown by the comparator output b. At this time, the output of "high" from the comparator 2 according to the threshold value corresponding to level 1 makes it possible to display on the display device that the ink is near empty.

【0049】さらに、インク残量がレベル1とレベル2
の中間のレベルcに減少し、この状態においてインクに
検出電流を供給して比較器2による比較を行うと、前記
レベルbと同様の動作が行われる。このレベルcはレベ
ル1より低レベルにあるため、比較器2の出力は比較器
出力cに示すように“ハイ”を出力する。さらに、この
比較器2の“ハイ”の出力に応じて比較器2のしきい値
をレベル2に対応する値に切り替え、切り替えたしきい
値で比較を行うと、レベルcはレベル2より高レベルに
あるため、比較器2の出力は比較器出力cに示すように
“ロー”に切り替わる。このとき、レベル1に対応した
しきい値による比較器2の“ハイ”の出力で、インクニ
アエンプティーであることを表示装置に表示させること
ができる。
Furthermore, the remaining ink levels are level 1 and level 2.
If the detected current is supplied to the ink and the comparison by the comparator 2 is performed in this state, the same operation as the level b is performed. Since the level c is lower than the level 1, the output of the comparator 2 outputs "high" as shown by the comparator output c. Further, when the threshold value of the comparator 2 is switched to a value corresponding to level 2 according to the output of "high" of the comparator 2 and the comparison is performed with the switched threshold value, the level c is higher than the level 2. Since it is at the level, the output of the comparator 2 switches to "low" as shown by the comparator output c. At this time, the output of "high" from the comparator 2 according to the threshold value corresponding to level 1 makes it possible to display on the display device that the ink is near empty.

【0050】さらに、インク残量が減少してレベルdに
到達し、この状態においてインクに検出電流を供給して
比較器2による比較を行うと、レベルdはレベル1より
低いレベルにあるため、比較器2の出力は比較器出力d
に示すように“ハイ”を出力する。さらに、この比較器
2の“ハイ”の出力に応じて比較器2のしきい値をレベ
ル2に対応する値に切り替え、切り替えたしきい値で比
較を行うと、レベルdはレベル2以下のレベルであるた
め、比較器2の出力は比較器出力dに示すように“ハ
イ”の出力を維持する。このとき、レベル2に対応した
しきい値による比較器2の“ハイ”の出力で、インクエ
ンプティーであることを表示装置に表示させることがで
きる。
Furthermore, when the remaining amount of ink decreases and reaches the level d, and when the detection current is supplied to the ink in this state and the comparison is performed by the comparator 2, the level d is lower than the level 1, The output of the comparator 2 is the comparator output d
It outputs "high" as shown in. Further, when the threshold value of the comparator 2 is switched to a value corresponding to the level 2 according to the "high" output of the comparator 2 and the comparison is performed with the switched threshold value, the level d is below the level 2. Because of the level, the output of the comparator 2 maintains the "high" output as shown by the comparator output d. At this time, the "high" output of the comparator 2 according to the threshold value corresponding to the level 2 makes it possible to display on the display device that the ink is empty.

【0051】カートリッジ1をインク残量が充分にある
カートリッジ交換すると、インクレベルは図4中の点e
に示すように増加する。このカートリッジの交換を行っ
た後、空吸引動作を行う前の時点eで、インクに検出電
流を供給して比較器2による比較を行うと、レベルeは
レベル1より高レベルにあるが、インク供給路あるいは
吐出側にインクが達していないため、比較器2の出力は
比較器出力eに示すように“ハイ”を出力する。この比
較器2の“ハイ”の出力に応じ比較器2のしきい値をレ
ベル2に対応する値に切り替え、切り替えたしきい値で
比較を行うと、レベルeはレベル2以上のレベルである
が、やはり比較器2の出力は比較器出力eに示すように
“ハイ”を維持する。
When the cartridge 1 is replaced with a cartridge having a sufficient amount of ink, the ink level will change to point e in FIG.
Increase as shown in. After the replacement of the cartridge and before the idle suction operation, the detection current is supplied to the ink and the comparison by the comparator 2 is performed. Although the level e is higher than the level 1, Since the ink has not reached the supply path or the ejection side, the output of the comparator 2 outputs "high" as indicated by the comparator output e. When the threshold value of the comparator 2 is switched to a value corresponding to the level 2 according to the "high" output of the comparator 2 and comparison is performed with the switched threshold value, the level e is a level 2 or higher. However, the output of the comparator 2 still remains "high" as shown by the comparator output e.

【0052】次に、カートリッジの交換した後、空吸引
動作を行った後の時点fで、インクに検出電流を供給し
て比較器2による比較を行うと、レベルfはレベルeと
同レベルであるが、インク供給路および吐出側にもイン
クが渡っているため、比較器2の出力は比較器出力fに
示すように“ロー”を出力する。これによって、カート
リッジ1の取付けが確実に取り付けられ、印字可能な状
態となったことが確認される。
Next, after replacing the cartridge, at a time point f after the idle suction operation is performed, the detection current is supplied to the ink and the comparison is performed by the comparator 2, and the level f is the same level as the level e. However, since the ink has also spread to the ink supply path and the ejection side, the output of the comparator 2 outputs "low" as indicated by the comparator output f. As a result, it is confirmed that the cartridge 1 is securely attached and is ready for printing.

【0053】次に、プリンタ装置の処理における本発明
のインク残量検出装置の動作について、図5から図9に
示すフローチャートを用いて説明する。図5はインク残
量検出装置のプリンタ装置の動作上での動作を示し、図
6はインク残量検出装置のインク残量検出処理の動作を
示し、図7から図9はプリンタ装置の動作上でのインク
残量検出装置に関する割り込み処理を示している。
Next, the operation of the ink level detecting device of the present invention in the processing of the printer will be described with reference to the flow charts shown in FIGS. 5 shows the operation of the printer device of the ink remaining amount detecting device, FIG. 6 shows the operation of the ink remaining amount detecting process of the ink remaining amount detecting device, and FIGS. 7 to 9 show the operation of the printer device. 3 shows an interrupt process relating to the remaining ink amount detecting device.

【0054】プリンタ装置の動作において、インク残量
検出の動作は印字後に用紙が排紙されたとき、および印
字指令によって用紙を給紙したときに行われる。以下、
図5のフローチャートに従って説明する。
In the operation of the printer device, the operation of detecting the remaining amount of ink is performed when the paper is ejected after printing and when the paper is fed by the print command. Less than,
A description will be given according to the flowchart of FIG.

【0055】ステップS1:プリンタ装置において、給
紙信号が供給された後にインク残量検出に係わる動作が
開始される。
Step S1: In the printer device, the operation relating to the remaining ink amount detection is started after the paper feed signal is supplied.

【0056】ステップS2,ステップS3:ステップS
2でインク残量検出の処理を行う。このインク残量検出
処理については、図6のフローチャートを用いて後述す
る。インク残量検出処理において、インク残量が不充分
である場合にはインクニアエンプティ表示を行った後ス
テップS3の印字処理を行う。一方、インク残量検出処
理において、インク残量が充分である場合にはステップ
S3の工程に進んで印字処理を行う。
Step S2, Step S3: Step S
In step 2, the remaining ink amount is detected. This ink remaining amount detection processing will be described later with reference to the flowchart of FIG. In the remaining ink amount detection process, if the remaining ink amount is insufficient, the ink near empty display is performed, and then the printing process of step S3 is performed. On the other hand, in the ink remaining amount detecting process, when the ink remaining amount is sufficient, the process proceeds to step S3 to perform the printing process.

【0057】ステップS4,ステップS5:印字処理の
後、あるいは印字処理中に排紙信号が入力されたか否か
の判定を行い、排紙信号が入力された場合には用紙を排
出する処理を行う。用紙の排紙が行われた後にステップ
S6に進んでインク残量検出処理を行う。なお、この工
程からインク残量検出処理への工程の移行は、ページ単
位で行うことも、複数ページごとに行うよう設定するこ
ともできる。複数ページごとに行う場合には、ステップ
S5とステップS6との間に排紙処理の回数をカウント
し、設定枚数毎にステップS6に進む工程を挟むことに
よって行う。
Steps S4 and S5: After the printing process or during the printing process, it is determined whether or not a paper discharge signal is input. If the paper discharge signal is input, the paper is discharged. . After the paper is discharged, the process proceeds to step S6 to perform the remaining ink amount detection process. The transition of the process from this process to the remaining ink amount detection process can be performed on a page-by-page basis or on a plurality of pages basis. When the process is performed for each of a plurality of pages, the number of paper discharge processes is counted between step S5 and step S6, and the process proceeds to step S6 for each set number of sheets.

【0058】ステップS6,ステップS7:ステップS
6でインク残量検出の処理を行う。インク残量検出処理
において、インク残量が不充分である場合にはインクニ
アエンプティ表示を行った後ステップS7に進む。一
方、インク残量検出処理において、インク残量が充分で
ある場合にはそのままステップS7の工程に進む。
Step S6, Step S7: Step S
At 6, the remaining ink amount is detected. In the remaining ink amount detection process, if the remaining amount of ink is insufficient, an ink near empty display is performed and then the process proceeds to step S7. On the other hand, in the remaining ink amount detection process, when the remaining ink amount is sufficient, the process directly proceeds to step S7.

【0059】ステップS7:次の給紙信号の有無を判定
し、次の給紙信号がある場合には前記ステップS2に戻
り、次の給紙信号がない場合には一連の印字処理を終了
する。
Step S7: The presence / absence of the next paper feed signal is determined. If the next paper feed signal is present, the process returns to step S2. If there is no next paper feed signal, the series of printing processes is terminated. .

【0060】次に、図6のフローチャートを用いてイン
ク残量検出処理の動作について説明する。
Next, the operation of the remaining ink amount detecting process will be described with reference to the flowchart of FIG.

【0061】ステップS11:はじめにインク残量検出
装置の駆動を開始する。この駆動開始動作は、図1にお
ける通電制御部31を駆動して検出回路10中の電源の
スイッチ4を閉じてカートリッジ1内の検出電極間に検
出電流を供給して、インク残量に対応した電圧を検出
し、比較器2の一方の入力端子に入力する。また、基準
電源側のスイッチ8を閉じてしきい値に対応する電圧を
発生させる。
Step S11: First, driving of the ink remaining amount detecting device is started. This drive start operation corresponds to the remaining amount of ink by driving the energization controller 31 in FIG. 1 to close the switch 4 of the power supply in the detection circuit 10 to supply the detection current between the detection electrodes in the cartridge 1. The voltage is detected and input to one input terminal of the comparator 2. Further, the switch 8 on the reference power source side is closed to generate a voltage corresponding to the threshold value.

【0062】ステップS12:基準電源側の切り替え手
段5は、切り替え制御部30の制御信号によってレベル
L1に対応するしきい値を選択し、比較器2の他方の入
力端子に入力する。そして、比較器2は検出電圧をレベ
ルL1に対応するしきい値と比較する。検出したインク
レベルがレベルL1以上の場合には、インク残量は充分
であると判定してBに進む。
Step S12: The switching means 5 on the reference power source side selects the threshold value corresponding to the level L1 by the control signal of the switching control section 30 and inputs it to the other input terminal of the comparator 2. Then, the comparator 2 compares the detected voltage with the threshold value corresponding to the level L1. If the detected ink level is equal to or higher than the level L1, it is determined that the remaining amount of ink is sufficient, and the process proceeds to B.

【0063】一方、検出したインクレベルがレベルL1
以下の場合には、インク残量はレベルL1より少ないも
のと判定して、次のステップS13に進む。
On the other hand, the detected ink level is the level L1.
In the following cases, it is determined that the remaining amount of ink is less than the level L1, and the process proceeds to the next step S13.

【0064】ステップS13:インク残量がレベルL1
以下であることを表示部43に表示する。この表示とし
ては、例えば、カートリッジ内のインク残量が空に近い
状態を示すインクニアエンプティーとすることができ
る。この表示は、使用者にカートリッジの交換を促すも
のである。
Step S13: The remaining ink level is L1.
The following is displayed on the display unit 43. This display can be, for example, ink near empty indicating that the ink remaining amount in the cartridge is almost empty. This display prompts the user to replace the cartridge.

【0065】ステップS14:次に、切り替え制御部3
0は切り替え手段5に対して切り替え信号を出力し、し
きい値の切り替えを行う。この切り替えたしきい値は、
前記レベルL1より下のレベルのレベルL2に設定する
ことができる。
Step S14: Next, the switching controller 3
0 outputs a switching signal to the switching means 5 to switch the threshold value. This switched threshold is
It can be set to a level L2, which is lower than the level L1.

【0066】比較器2は検出電圧をレベルL2に対応す
るしきい値と比較する。検出したインクレベルがレベル
L2以上の場合には、インク残量はインクニアエンプテ
ィー以下ではあるが印字処理の続行が可能な状態と判定
して、Bに進む。
The comparator 2 compares the detected voltage with the threshold value corresponding to the level L2. When the detected ink level is equal to or higher than the level L2, it is determined that the ink remaining amount is equal to or less than the ink near empty, but the printing process can be continued, and the process proceeds to B.

【0067】一方、検出したインクレベルがレベルL2
以下の場合には、インク残量はレベルL2より少ないも
のと判定して、次のステップS15に進む。
On the other hand, the detected ink level is level L2.
In the following cases, it is determined that the ink remaining amount is less than the level L2, and the process proceeds to the next step S15.

【0068】ステップS15:インク残量がレベルL2
以下であることを表示部43に表示する。この表示とし
ては、例えば、カートリッジ内のインク残量が空の状態
を示すインクエンプティーとすることができる。この表
示は、使用者にカートリッジの交換を促すとともに、印
字処理の続行が不可能であると判定して、カートリッジ
が交換されて印字処理可能状態となるまで印字処理の停
止を行うものである。
Step S15: Remaining ink level is L2
The following is displayed on the display unit 43. This display can be, for example, an ink empty that indicates that the ink level in the cartridge is empty. This display prompts the user to replace the cartridge, determines that the printing process cannot be continued, and stops the printing process until the cartridge is replaced and the printing process becomes possible.

【0069】本発明のインク残量検出装置は、前記した
1回目の給紙を行う前の時点,および印字後に用紙の排
紙が終了した後の時点の他に、メンテナンス操作により
インク吸引動作が行われた時点,ヘッドがキャップ位置
に戻された時点,およびカートリッジの交換処理の時点
においてインク残量検出処理を行う。
In the ink remaining amount detecting apparatus of the present invention, the ink suction operation is performed by the maintenance operation in addition to the time point before the first sheet feeding and the time point after the sheet is completely discharged after printing. The remaining ink amount detection process is performed at the time when the process is performed, when the head is returned to the cap position, and when the process of replacing the cartridge is performed.

【0070】この各時点における処理を割り込み処理
1,2,3として以下に説明する。
The processing at each time point will be described below as interrupt processing 1, 2, and 3.

【0071】はじめに、図7のフローチャートを用いて
割り込み処理1の動作について説明する。割り込み処理
1は、メンテナンス操作によりインク吸引動作が行われ
た時点でインク残量検出処理を行う処理である。
First, the operation of the interrupt processing 1 will be described with reference to the flowchart of FIG. The interrupt process 1 is a process for detecting the remaining amount of ink when the ink suction operation is performed by the maintenance operation.

【0072】ステップS21,22:メンテナンス操作
の要求を判定し、使用者が入力装置44等を介してメン
テナンス操作を要求した場合には、メンテナンス操作の
処理を実行する。
Steps S21 and S22: The maintenance operation request is judged, and if the user requests the maintenance operation via the input device 44 or the like, the maintenance operation processing is executed.

【0073】ステップS23,24:メンテナンス操作
の後では通常インク吸引動作を行って、カートリッジ1
内のインク供給路中にインクを導き、インクの吐出が可
能な状態への設定を行う。そして、このインク吸引動作
が終了した後、ステップS24に進んでインク残量検出
処理を行う。
Steps S23 and S24: After the maintenance operation, the normal ink suction operation is performed to make the cartridge 1
Ink is introduced into the internal ink supply path, and setting is made so that ink can be ejected. Then, after the ink suction operation is completed, the process proceeds to step S24, and the remaining ink amount detection process is performed.

【0074】ステップS25:インク残量検出処理にお
いて、インク残量が充分である場合には割り込み処理を
終了する。
Step S25: In the remaining ink amount detecting process, if the remaining ink amount is sufficient, the interrupting process is terminated.

【0075】次に、図8のフローチャートを用いて割り
込み処理2の動作について説明する。割り込み処理2
は、ヘッドがキャップ位置に戻された時点でインク残量
検出処理を行う処理である。
Next, the operation of the interrupt processing 2 will be described with reference to the flowchart of FIG. Interrupt processing 2
Is a process for performing the remaining ink amount detection process when the head is returned to the cap position.

【0076】ステップS31,32:ヘッドがキャップ
位置に戻っいるか否かの判定を行う。一般に、ヘッドが
キャップ位置に戻る場合は、ヘッドに対してなんらかの
処理を行う場合であり、またキャップ位置はヘッドに対
してインク吸引動作を行う位置であり、この位置にヘッ
ドがあるときにインク吸引動作を行うことはプリンタ装
置全体の動作効率からみて有効である。そこで、ヘッド
がキャップ位置に戻っている時点において、インク残量
検出処理を行う。
Steps S31, 32: It is judged whether or not the head returns to the cap position. Generally, when the head returns to the cap position, some processing is performed on the head, and the cap position is the position where the ink suction operation is performed on the head. Performing the operation is effective in view of the operation efficiency of the entire printer device. Therefore, when the head is returned to the cap position, the remaining ink amount detection process is performed.

【0077】ステップS33,34:インク残量検出処
理において、インク残量がインクエンプティーの状態で
ある場合には、自動吸引動作を実行してカートリッジ1
を印字可能な状態とした後、ステップS34の工程に進
んで割り込み処理を終了する。
Steps S33 and S34: In the remaining ink amount detecting process, if the remaining ink amount is in the empty state, the automatic suction operation is executed to execute the cartridge 1
Is set to a printable state, the process proceeds to step S34 to end the interrupt process.

【0078】次に、図9のフローチャートを用いて割り
込み処理3の動作について説明する。割り込み処理3
は、カートリッジの交換処理の時点でインク残量検出処
理を行う処理である。
Next, the operation of the interrupt processing 3 will be described with reference to the flowchart of FIG. Interrupt processing 3
Is a process for performing the remaining ink amount detection process at the time of the cartridge replacement process.

【0079】ステップS41:カートリッジ交換操作の
要求を判定し、使用者が入力装置44等を介してカート
リッジ交換操作を要求した場合には、カートリッジ交換
操作の処理を実行する。
Step S41: The request for the cartridge replacement operation is determined, and if the user requests the cartridge replacement operation via the input device 44 or the like, the processing for the cartridge replacement operation is executed.

【0080】ステップS42:キャリッジ駆動制御部2
3の制御によってキャリッジ42を駆動して、ヘッドを
カートリッジ交換位置に移動する。
Step S42: Carriage drive controller 2
The carriage 42 is driven under the control of 3 to move the head to the cartridge exchange position.

【0081】ステップS43:カートリッジ交換位置に
あるヘッドからカートリッジを取外す動作を開始する。
カートリッジ機構はカートリッジの装着の有無を検出す
る検出手段を備えており、カートリッジが取り外された
ことを検出して記録する。
Step S43: The operation of removing the cartridge from the head at the cartridge exchange position is started.
The cartridge mechanism is equipped with a detecting means for detecting whether or not the cartridge is mounted, and detects that the cartridge has been removed and records it.

【0082】ステップS44:カートリッジの交換が終
了すると、カートリッジ機構に設けた前記検出手段はカ
ートリッジの装着を検出し、前記記録を変更する。これ
によって、カートリッジの交換終了を判定し、カートリ
ッジの交換が終了した場合には次のステップS45に進
む。
Step S44: When the replacement of the cartridge is completed, the detecting means provided in the cartridge mechanism detects the mounting of the cartridge and changes the recording. As a result, it is determined that the replacement of the cartridge has been completed. If the replacement of the cartridge has been completed, the process proceeds to the next step S45.

【0083】ステップS45:カートリッジの交換が終
了して、カートリッジの取付け操作が完了したことを前
記工程で確認した後、キャップ位置に戻されたヘッドに
対して自動吸引動作を行う。これによって、カートリッ
ジのインク供給路中へのインク導入操作を行う。
Step S45: After the replacement of the cartridge is completed and the mounting operation of the cartridge is confirmed in the above step, the automatic suction operation is performed on the head returned to the cap position. In this way, the ink is introduced into the ink supply path of the cartridge.

【0084】ステップS46,47:自動吸引動作によ
ってカートリッジのインク供給路中へのインクが導入さ
たことをインク残量検出処理によって確認し、割り込み
処理を終了する。
Steps S46 and S47: It is confirmed by the ink remaining amount detection processing that the ink has been introduced into the ink supply path of the cartridge by the automatic suction operation, and the interruption processing is ended.

【0085】(変形例)前記実施例では、2つのしきい
値によりインク残量検出処理を行ってるが、2つ以上の
しきい値とすることもできる。この場合には、複数個の
分圧電圧を切り替え手段により切り替えて比較器2にし
きい値を設定することによって行うことができる。
(Modification) In the above embodiment, the remaining ink amount detecting process is performed with two threshold values, but it is also possible to use two or more threshold values. In this case, a plurality of divided voltages can be switched by the switching means to set the threshold value in the comparator 2.

【0086】[0086]

【発明の効果】以上説明したように、本発明によれば、
1つの比較回路で複数の検出レベルを検出することがで
きる残量検出装置を提供することができる。また、複数
の検出レベルを検出するための電源切替えに要する操作
時間を削減することができる残量検出装置を提供するこ
とができる。また、インクに流れる電流量を減少させる
ことができる残量検出装置を提供することができる。
As described above, according to the present invention,
It is possible to provide a remaining amount detection device that can detect a plurality of detection levels with one comparison circuit. Further, it is possible to provide a remaining amount detecting device capable of reducing the operation time required for switching the power source for detecting a plurality of detection levels. Further, it is possible to provide a remaining amount detecting device that can reduce the amount of current flowing through the ink.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の構成を説明するブロック図
である。
FIG. 1 is a block diagram illustrating a configuration of an exemplary embodiment of the present invention.

【図2】本発明のインク残量検出装置を適用するカート
リッジの一構成例を説明するための図である。
FIG. 2 is a diagram for explaining a configuration example of a cartridge to which the ink remaining amount detecting device of the present invention is applied.

【図3】本発明の実施例を説明するための図である。FIG. 3 is a diagram for explaining an example of the present invention.

【図4】本発明の実施例のカートリッジ内のインク残量
と比較器の出力結果を示す図である。
FIG. 4 is a diagram showing an ink remaining amount in a cartridge and an output result of a comparator according to an embodiment of the present invention.

【図5】本発明の実施例のプリンタ装置の動作上での動
作を示すフローチャートである。
FIG. 5 is a flowchart showing the operation of the printer device according to the embodiment of the present invention.

【図6】本発明の実施例のインク残量検出処理の動作を
示すフローチャートである。
FIG. 6 is a flowchart showing an operation of an ink remaining amount detecting process according to the embodiment of the present invention.

【図7】本発明の実施例の割り込み処理の動作を説明す
るためのフローチャートである。
FIG. 7 is a flow chart for explaining the operation of interrupt processing according to the embodiment of the present invention.

【図8】本発明の実施例の割り込み処理の動作を説明す
るためのフローチャートである。
FIG. 8 is a flowchart illustrating an operation of interrupt processing according to the embodiment of this invention.

【図9】本発明の実施例の割り込み処理の動作を説明す
るためのフローチャートである。
FIG. 9 is a flowchart illustrating an operation of interrupt processing according to the embodiment of this invention.

【符号の説明】[Explanation of symbols]

1 カートリッジ 2 比較器 3 電流源 4,8 スイッチ 5 切り替え手段 6 分圧抵抗 10 検出手段 11 インクタンク 14 インク供給路 15 検出電極 30 切り替え制御部 31 通電制御部 41 ヘッド DESCRIPTION OF SYMBOLS 1 cartridge 2 comparator 3 current source 4, 8 switch 5 switching means 6 voltage dividing resistance 10 detection means 11 ink tank 14 ink supply path 15 detection electrode 30 switching control section 31 energization control section 41 head

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 カートリッジ内のインクに通電を行うこ
とによって、カートリッジ内のインク残量に応じた値を
出力する検出手段と、前記検出手段の出力を、カートリ
ッジ内の設定インク量に対応した複数個のしきい値のい
ずれか1つと選択的に比較する比較手段とを備え、前記
検出手段は通電を選択的に行い、前記比較手段は該通電
による出力に基づいてしきい値の選択を行うことを特徴
とするインク残量検出装置。
1. A detector that outputs a value according to the remaining amount of ink in the cartridge by energizing the ink in the cartridge, and a plurality of outputs of the detector that correspond to the set ink amount in the cartridge. Comparing means for selectively comparing any one of the threshold values, the detecting means selectively performs energization, and the comparing means selects the threshold value based on the output by the energization. An ink remaining amount detecting device characterized in that.
【請求項2】 前記しきい値の選択は、分圧抵抗の出力
端子を選択することにより行うことを特徴とする請求項
1記載のインク残量検出装置。
2. The ink level detecting device according to claim 1, wherein the threshold value is selected by selecting an output terminal of the voltage dividing resistor.
【請求項3】 前記選択的通電をインク吸入動作後に行
うことを特徴とする請求項1記載のインク残量検出装
置。
3. The ink remaining amount detecting device according to claim 1, wherein the selective energization is performed after an ink suction operation.
【請求項4】 前記選択的通電を用紙排紙後に行うこと
を特徴とする請求項1記載のインク残量検出装置。
4. The ink remaining amount detecting device according to claim 1, wherein the selective energization is performed after the paper is discharged.
【請求項5】 前記選択的通電を印字指令による用紙給
紙前に行うことを特徴とする請求項1記載のインク残量
検出装置。
5. The ink remaining amount detecting device according to claim 1, wherein the selective energization is performed before a paper is fed by a print command.
【請求項6】 前記選択的通電をヘッドがキャップ位置
に移動した後に行うことを特徴とする請求項1記載のイ
ンク残量検出装置。
6. The ink level detecting device according to claim 1, wherein the selective energization is performed after the head has moved to the cap position.
JP9745195A 1995-03-31 1995-03-31 Remaining ink amount sensing device Withdrawn JPH08267784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9745195A JPH08267784A (en) 1995-03-31 1995-03-31 Remaining ink amount sensing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9745195A JPH08267784A (en) 1995-03-31 1995-03-31 Remaining ink amount sensing device

Publications (1)

Publication Number Publication Date
JPH08267784A true JPH08267784A (en) 1996-10-15

Family

ID=14192679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9745195A Withdrawn JPH08267784A (en) 1995-03-31 1995-03-31 Remaining ink amount sensing device

Country Status (1)

Country Link
JP (1) JPH08267784A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011066681A (en) * 2009-09-17 2011-03-31 Nec Corp Integrated circuit having automatic adjusting function for driving current
JP2015047698A (en) * 2013-08-29 2015-03-16 キヤノン株式会社 Recording apparatus and ink remaining amount detecting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011066681A (en) * 2009-09-17 2011-03-31 Nec Corp Integrated circuit having automatic adjusting function for driving current
JP2015047698A (en) * 2013-08-29 2015-03-16 キヤノン株式会社 Recording apparatus and ink remaining amount detecting method

Similar Documents

Publication Publication Date Title
EP0467648B1 (en) Recording apparatus which is driven by battery
JPH0631932A (en) Ink-jet recording device
JPH08187881A (en) Printing method and device therefor
JPH11334104A (en) Ink-jet printer
JPH09156128A (en) Ink jet printer
JP2003237064A (en) Inkjet printer and method of providing information about trouble of nozzle therein
US20150054881A1 (en) Liquid ejecting method and liquid ejecting apparatus
JP2006212853A (en) Printing device
JPH08267784A (en) Remaining ink amount sensing device
EP0693717A1 (en) Paper feed control system in a printing unit
JP2786312B2 (en) Ink jet recording device
JPH07285225A (en) Print compensation for ink jet printer and device therefor
JP2004237450A (en) Ink jet recorder and its controlling method
JPH08238780A (en) Record control method and ink jet record device
JP2007268918A (en) Open circuit checking apparatus and open circuit checking method of line thermal head
JP2009137118A (en) Inkjet recorder
JP2768512B2 (en) Ink jet recording device
JPH0732606A (en) Ink jet printer
JP3172303B2 (en) Image forming device
JP3991015B2 (en) Printer ink discharge amount detection device, printer ink discharge amount detection method, printer maintenance control method, and ink discharge amount control device
JPH06155761A (en) Ink residual amount detector of ink jet recording apparatus
JP2006198969A (en) Inkjet printing machine and inkjet printing method
US20090161180A1 (en) Printing apparatus and method of controlling printing apparatus
JPH1076674A (en) Ink detection device, printer using the same, and control method
JP3066905B2 (en) Recording device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604