JP2018171922A - Liquid discharge device, cartridge and system - Google Patents

Liquid discharge device, cartridge and system Download PDF

Info

Publication number
JP2018171922A
JP2018171922A JP2018066790A JP2018066790A JP2018171922A JP 2018171922 A JP2018171922 A JP 2018171922A JP 2018066790 A JP2018066790 A JP 2018066790A JP 2018066790 A JP2018066790 A JP 2018066790A JP 2018171922 A JP2018171922 A JP 2018171922A
Authority
JP
Japan
Prior art keywords
liquid
cartridge
liquid chamber
amount
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018066790A
Other languages
Japanese (ja)
Other versions
JP7167467B2 (en
Inventor
賢太 洞出
Kenta Horade
賢太 洞出
杉浦 俊夫
Toshio Sugiura
俊夫 杉浦
幹生 小川
Mikio Ogawa
幹生 小川
上田 敏郎
Toshiro Ueda
敏郎 上田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Publication of JP2018171922A publication Critical patent/JP2018171922A/en
Application granted granted Critical
Publication of JP7167467B2 publication Critical patent/JP7167467B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a liquid discharge device that is able to appropriately grasp a quantity of liquid stored in a first liquid chamber.SOLUTION: The device has: a second liquid chamber made to communicate with a first liquid chamber when a cartridge having the first liquid storage, storing liquid, is attached; and a controller. The controller calculates a quantity Vc of liquid stored in the first liquid chamber of the cartridge attached to an attachment case (S42). The device stores the calculated quantity Vc of liquid and error information into a cartridge memory through a contact (S48), the error information indicating a degree of an error.SELECTED DRAWING: Figure 8

Description

本発明は、液体を排出する液体排出装置に関する。   The present invention relates to a liquid discharging apparatus that discharges a liquid.

従来より、着脱可能なメインタンクと、装着されたメインタンクから供給されたインクを貯留するサブタンクと、サブタンクに貯留されたインクを吐出して画像を記録する画像記録ユニットとを備えるインクジェットプリンタが知られている(例えば、特許文献1)。また、メインタンク及びサブタンクの内部空間は、大気に開放されている。そのため、メインタンクをインクジェットプリンタに装着すると、メインタンクの内部空間の水頭及びサブタンクの内部空間の水頭の差(以下、「水頭差」と表示する。)によって、メインタンク及びサブタンクの液面が同一高さに揃うようにインクが移動する。   2. Description of the Related Art Conventionally, there is known an ink jet printer including a detachable main tank, a sub tank that stores ink supplied from the attached main tank, and an image recording unit that records an image by discharging ink stored in the sub tank. (For example, Patent Document 1). The internal space of the main tank and sub tank is open to the atmosphere. Therefore, when the main tank is attached to the ink jet printer, the liquid level of the main tank and the sub tank is the same due to the difference between the water head in the internal space of the main tank and the water head in the internal space of the sub tank (hereinafter referred to as “water head difference”). The ink moves so as to align with the height.

また従来より、記録ヘッドで消費されたインク消費量を算出し、算出したインク消費量をインクタンクのメモリに書き込む記録装置が知られている(例えば、特許文献2)。   Conventionally, there has been known a recording apparatus that calculates the amount of ink consumed by a recording head and writes the calculated amount of ink consumption into a memory of an ink tank (for example, Patent Document 2).

特開2008−213162号公報JP 2008-213162 A 特許第5164570号公報Japanese Patent No. 5164570

上記構成のインクジェットプリンタにおいて、メインタンク及びサブタンクの液面の高さに差が生じると、水頭差によって液面の高さが揃うまでには、ある程度の時間が必要である。また、液面が揃う前にインクジェットプリンタからメインタンクが抜かれる場合がある。そうすると、例えば上記構成の記録装置のように、液面の高さが変化している任意の時点でメインタンクに搭載されたメモリに情報(例えば、メインタンクの液面の高さを特定するための情報)が書き込まれたとしても、メインタンクが抜かれる時点までに液面の高さがさらに変化する。すなわち、メインタンクのメモリに書き込まれた情報が実際の液面の高さを正確に反映していない可能性がある。   In the ink jet printer having the above configuration, when a difference occurs in the liquid level between the main tank and the sub tank, a certain amount of time is required until the liquid level becomes uniform due to the water head difference. Also, the main tank may be removed from the ink jet printer before the liquid level is aligned. Then, for example, in order to specify the liquid level of the main tank in the memory mounted on the main tank at any time when the liquid level is changing, such as the recording apparatus having the above configuration. Even if the information is written, the height of the liquid level further changes by the time the main tank is removed. That is, there is a possibility that the information written in the memory of the main tank does not accurately reflect the actual liquid level.

本発明は、上記の事情に鑑みてなされたものであり、その目的は、第1液室に貯留された液体の量を適切に把握することが可能な液体排出装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a liquid discharge device capable of appropriately grasping the amount of liquid stored in a first liquid chamber.

(1) 本発明に係る液体排出装置は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、インタフェースと、コントローラと、を備える。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、決定した上記液体量Vc、及び当該液体量Vcに誤差があることを示す誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させる。   (1) The liquid discharge apparatus according to the present invention includes a first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end of the first liquid chamber. A cartridge having a second flow path that communicates with the first liquid chamber and the other end communicates with the outside is a mounting case to which the cartridge is attached, and a tank having the second liquid chamber, with one end communicating with the outside and A third flow path with the other end communicating with the second liquid chamber, a fourth flow path with one end positioned below the third flow path communicating with the second liquid chamber, and one end with the first flow path A tank having a fifth flow path that communicates with the two liquid chambers and the other end communicates with the outside; a head that communicates with the other end of the fourth flow path; an interface; and a controller. . At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. The controller determines a liquid amount Vc stored in the first liquid chamber of the cartridge mounted on the mounting case, and indicates that the determined liquid amount Vc and the liquid amount Vc are in error. Error information is stored in the cartridge memory of the cartridge through the interface.

上記構成によれば、例えば、液体排出装置から抜かれたカートリッジが他の液体排出装置に装着された場合において、当該他の液体排出装置がカートリッジメモリに記憶された液体量Vcに含まれる誤差を、把握することができる。   According to the above configuration, for example, when a cartridge pulled out from the liquid discharge device is mounted on another liquid discharge device, the error included in the liquid amount Vc stored in the cartridge memory by the other liquid discharge device is I can grasp it.

(2) 本発明は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、インタフェースと、コントローラと、を備え、上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、上記コントローラは、上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、決定した上記液体量Vc及び当該液体量Vcに含まれる誤差の大きさを示す誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させる液体排出装置として捉えられてもよい。   (2) The present invention provides a first liquid chamber in which a liquid is stored, a first flow path having one end connected to the first liquid chamber and the other end connected to the outside, and one end connected to the first liquid chamber. A cartridge having a second flow path that is communicated and the other end communicates with the outside is a mounting case to which the cartridge is attached and a tank having a second liquid chamber, one end communicating with the outside and the other end being the first A third flow path communicating with the two liquid chambers, a fourth flow path with one end located below the third flow path communicating with the second liquid chamber, and one end communicating with the second liquid chamber. A tank having a fifth flow path whose other end communicates with the outside, a head communicated with the other end of the fourth flow path, an interface, and a controller. At least one of the path and the third flow path when the cartridge is mounted on the mounting case. The controller communicates the liquid chamber and the second liquid chamber, and the controller determines a liquid amount Vc stored in the first liquid chamber of the cartridge mounted in the mounting case, and determines the determined liquid amount Vc and Error information indicating the magnitude of the error included in the liquid amount Vc may be regarded as a liquid discharge device that stores the information in the cartridge memory of the cartridge through the interface.

(3) 好ましくは、上記コントローラは、上記第2液室に貯留されている液体量Vsを決定し、決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、決定した上記高さHc、Hsの差に基づいて上記誤差を判断し、判断した上記誤差を示す上記誤差情報を、上記インタフェースを通じて上記カートリッジメモリに記憶させる。   (3) Preferably, the controller determines a liquid amount Vs stored in the second liquid chamber, and the liquid level of the first liquid chamber from a reference position based on the determined liquid amounts Vc and Vs. And the height Hs from the reference position to the liquid level of the second liquid chamber is determined, the error is determined based on the determined difference between the heights Hc and Hs, and the determined above The error information indicating an error is stored in the cartridge memory through the interface.

第1液室及び第2液室の間の水頭差が大きいほど、第1液室から第2液室へ移動する液体の量が多くなるので、決定した液体量Vcと第1液室に実際に貯留されている液体量との差は、大きくなる傾向がある。そこで上記構成のように、決定した高さHc、Hcの差に基づいて誤差を判断するのが望ましい。   The greater the water head difference between the first liquid chamber and the second liquid chamber, the greater the amount of liquid that moves from the first liquid chamber to the second liquid chamber. Therefore, the determined liquid amount Vc and the first liquid chamber are actually The difference from the amount of liquid stored in the liquid tends to increase. Therefore, it is desirable to determine the error based on the difference between the determined heights Hc and Hc as in the above configuration.

(4) 好ましくは、上記コントローラは、上記第1液室から上記第2液室へ期間Δtの間に流出する液体の流出量Qcを、上記高さHc、Hs、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnに基づいて決定し、直前に決定した上記液体量Vcから上記流出量Qcを減じて、上記期間Δtが経過した後の上記液体量Vcを決定し、直前に決定した上記液体量Vsに上記流出量Qcを加えて、上記期間Δtが経過した後の上記液体量Vsを決定し、決定した上記液体量Vc及び上記誤差情報を、上記インタフェースを通じて上記カートリッジメモリに記憶させる。   (4) Preferably, the controller calculates the amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the period Δt by using the heights Hc and Hs and the flow rate of the second flow path. Determined based on the channel resistance Rc, the channel resistance Rs of the fifth channel, and the channel resistance Rn which is the resistance of both the first channel and the third channel or one of the resistances, and is determined immediately before The outflow amount Qc is subtracted from the liquid amount Vc, the liquid amount Vc after the period Δt has elapsed is determined, the outflow amount Qc is added to the liquid amount Vs determined immediately before, and the period Δt The liquid amount Vs after the elapse of time is determined, and the determined liquid amount Vc and the error information are stored in the cartridge memory through the interface.

(5) 好ましくは、上記コントローラは、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させ、上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させてから上記期間Δtが経過するまで待機し、上記期間Δtが経過したことに基づいて、再び、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させる。   (5) Preferably, the controller determines the outflow amount Qc and the liquid amounts Vc and Vs, and stores the determined liquid amount Vc and the error information in the cartridge memory, so that the liquid amount Vc and the error are stored. After the information is stored in the cartridge memory, it waits until the period Δt elapses. Based on the elapse of the period Δt, the outflow amount Qc and the liquid amounts Vc, Vs are determined and determined again. The liquid amount Vc and the error information are stored in the cartridge memory.

(6) 好ましくは、上記コントローラは、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させたことに基づいて、上記高さHc、Hsの差が閾値高さ未満か否かを判断し、上記高さHc、Hsの差が上記閾値高さ以上だと判断したことに基づいて、上記期間Δtが経過するまで待機する。   (6) Preferably, the controller determines the outflow amount Qc and the liquid amounts Vc and Vs, and stores the determined liquid amount Vc and the error information in the cartridge memory. It is determined whether or not the difference between the heights Hc and Hs is less than the threshold height, and waits until the period Δt elapses based on the determination that the difference between the heights Hc and Hs is greater than or equal to the threshold height. .

(7) 好ましくは、上記コントローラは、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させる処理を停止する。   (7) Preferably, the controller determines and determines the outflow amount Qc and the liquid amounts Vc, Vs based on determining that the difference between the heights Hc, Hs is less than the threshold height. The process of storing the liquid amount Vc and the error information in the cartridge memory is stopped.

上記構成によれば、液体排出装置からカートリッジが抜かれる直前に記憶された液体量Vc及び誤差情報を、当該カートリッジが装着された他の液体排出装置に利用させることができる。その結果、カートリッジメモリに記憶された液体量Vcに含まれる誤差を、さらに適切に把握することができる。   According to the above configuration, the liquid amount Vc and error information stored immediately before the cartridge is removed from the liquid discharge device can be used by another liquid discharge device to which the cartridge is attached. As a result, the error included in the liquid amount Vc stored in the cartridge memory can be grasped more appropriately.

(8) 好ましくは、上記コントローラは、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記誤差情報を上記カートリッジメモリから消去する。   (8) Preferably, the controller erases the error information from the cartridge memory based on determining that the difference between the heights Hc and Hs is less than the threshold height.

(9) 好ましくは、上記コントローラは、上記高さHc、Hsの差が上記閾値高さに近づくほど、上記液体量Vc、Vs及び上記高さHc、Hsを次に決定するまでの上記時間Δtを長くする。   (9) Preferably, as the difference between the heights Hc and Hs approaches the threshold height, the controller determines the time Δt until the liquid amounts Vc and Vs and the heights Hc and Hs are determined next. Lengthen.

液体量Vcに含まれる誤差は、高さHc、Hsの差が大きいほど大きくなり、高さHc、Hsの差が小さいほど小さくなる傾向がある。そこで上記構成のように、高さHc、Hsの差に基づいて誤差情報の更新頻度を変更することによって、リアルタイムな誤差情報の把握と、コントローラの処理負荷の軽減とを両立させることができる。   The error included in the liquid amount Vc tends to increase as the difference between the heights Hc and Hs increases, and decreases as the difference between the heights Hc and Hs decreases. Therefore, as in the above configuration, by changing the update frequency of the error information based on the difference between the heights Hc and Hs, it is possible to achieve both real-time grasp of the error information and reduction of the processing load on the controller.

(10) 好ましくは、上記液体排出装置は、報知機を備えており、上記コントローラは、上記装着ケースに上記カートリッジが装着されたことを判断し、上記装着ケースに上記カートリッジが装着されたことを判断したことに基づいて、上記カートリッジメモリに記憶された上記誤差情報を読み出し、上記誤差情報が読み出されたことに基づいて、上記報知機を作動させる。   (10) Preferably, the liquid discharge device includes a notification device, and the controller determines that the cartridge is attached to the attachment case, and confirms that the cartridge is attached to the attachment case. Based on the determination, the error information stored in the cartridge memory is read out, and the alarm is operated based on the error information being read out.

(11) 好ましくは、上記液体排出装置は、装置メモリを備えており、上記コントローラは、上記第2液室に貯留されている液体量Vsを決定して上記装置メモリに記憶させ、上記装着ケースに上記カートリッジが装着されたことに基づいて、上記液体量Vsに誤差があることを示すタンク誤差情報を上記装置メモリに記憶させる。   (11) Preferably, the liquid discharge device includes a device memory, and the controller determines a liquid amount Vs stored in the second liquid chamber and stores it in the device memory, and the mounting case On the basis of the fact that the cartridge is attached to the tank, tank error information indicating that there is an error in the liquid amount Vs is stored in the apparatus memory.

液体量Vcに誤差がある状態とは、液体量Vsに誤差がある状態でもある。すなわち、誤差情報により誤差がある状態でカートリッジが交換された場合、新たなカートリッジのカートリッジメモリに記憶された液体量Vcは誤差を含んでいないとしても、装置メモリに記憶された液体量Vsは誤差を含むことになる。そこで上記構成のように、カートリッジメモリ或いは装置メモリから誤差情報が読み出された場合は、液体量Vc、Vsが誤差を含むことを報知機を通じて報知するのが望ましい。   The state in which there is an error in the liquid amount Vc is also a state in which there is an error in the liquid amount Vs. That is, when a cartridge is replaced in a state where there is an error due to error information, even if the liquid amount Vc stored in the cartridge memory of the new cartridge does not include an error, the liquid amount Vs stored in the apparatus memory is an error. Will be included. Therefore, as described above, when the error information is read from the cartridge memory or the device memory, it is desirable to notify through an alarm device that the liquid amounts Vc and Vs include an error.

(12) 好ましくは、上記コントローラは、決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記タンク誤差情報を上記装置メモリから消去する。   (12) Preferably, the controller determines the height Hc from the reference position to the liquid level of the first liquid chamber and the second liquid chamber from the reference position based on the determined liquid amounts Vc and Vs. The height Hs to the liquid level is determined, and the tank error information is erased from the device memory based on determining that the difference between the heights Hc and Hs is less than the threshold height.

(13) 好ましくは、上記コントローラは、上記誤差情報で示される誤差が第1閾値誤差以上であると判断したことに基づいて、上記カートリッジメモリに上記誤差情報を記憶させ、上記タンク誤差情報で示される誤差が第2閾値誤差以上であると判断したことに基づいて、上記装置メモリに上記タンク誤差情報を記憶させる。   (13) Preferably, the controller stores the error information in the cartridge memory based on the determination that the error indicated by the error information is equal to or greater than a first threshold error, and indicates the error by the tank error information. The tank error information is stored in the device memory based on the determination that the error to be generated is equal to or greater than the second threshold error.

上記構成によれば、カートリッジの第1液室の液体量Vcに誤差があるか、タンクの第2液室の液体量Vsに誤差があるか、を独立してコントローラが判断することができる。   According to the above configuration, the controller can independently determine whether there is an error in the liquid amount Vc in the first liquid chamber of the cartridge or in the liquid amount Vs in the second liquid chamber of the tank.

(14) 好ましくは、上記コントローラは、決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、上記高さHc、Hsの差が閾値高さ未満である所定状態と、上記Hc,Hsとの差から、上記第1液室における第1誤差及び上記第2液室における第2誤差を決定し、決定した上記第1誤差が上記第1閾値誤差以上であると判断したことに基づいて、上記カートリッジメモリに上記第1誤差を示す上記誤差情報を記憶させ、上記タンク誤差情報で示される誤差が第2閾値誤差以上であると判断したことに基づいて、上記装置メモリに上記第2誤差を示す上記タンク誤差情報を記憶させる。   (14) Preferably, the controller determines the height Hc from the reference position to the liquid level of the first liquid chamber and the second liquid chamber from the reference position based on the determined liquid amounts Vc and Vs. The height Hs to the liquid surface is determined, and the first error in the first liquid chamber and the above are determined from the difference between the heights Hc and Hs and the difference between the heights Hc and Hs and the Hc and Hs. The second error in the second liquid chamber is determined, and the error information indicating the first error is stored in the cartridge memory based on determining that the determined first error is greater than or equal to the first threshold error. Based on the determination that the error indicated by the tank error information is greater than or equal to a second threshold error, the tank error information indicating the second error is stored in the device memory.

上記構成によれば、カートリッジの第1液室の液体量Vcに誤差があるか、タンクの第2液室の液体量Vsに誤差があるか、を独立してコントローラが判断することができる。   According to the above configuration, the controller can independently determine whether there is an error in the liquid amount Vc in the first liquid chamber of the cartridge or in the liquid amount Vs in the second liquid chamber of the tank.

(15) 本発明に係る液体排出装置は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、装置メモリと、コントローラと、を備える。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、上記第2液室に貯留されている液体量Vsを決定して上記装置メモリに記憶させ、上記装着ケースに上記カートリッジが装着されたことに基づいて、上記液体量Vsに誤差があることを示すタンク誤差情報を上記装置メモリに記憶させる。   (15) In the liquid discharge device according to the present invention, the first liquid chamber in which the liquid is stored, the first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end of the first liquid chamber A cartridge having a second flow path that communicates with the first liquid chamber and the other end communicates with the outside is a mounting case to which the cartridge is attached, and a tank having the second liquid chamber, with one end communicating with the outside and A third flow path with the other end communicating with the second liquid chamber, a fourth flow path with one end positioned below the third flow path communicating with the second liquid chamber, and one end with the first flow path A tank having a fifth flow path that communicates with the two liquid chambers and the other end communicates with the outside; a head that communicates with the other end of the fourth flow path; a device memory; and a controller. Prepare. At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. The controller determines the liquid amount Vs stored in the second liquid chamber and stores it in the device memory, and the liquid amount Vs has an error based on the mounting of the cartridge in the mounting case. Tank error information indicating the presence is stored in the device memory.

上記構成によれば、例えば、液体排出装置においてカートリッジが交換された後も、当該液体排出装置の装置メモリに記憶された液体量Vsに含まれる誤差を、把握することができる。   According to the above configuration, for example, an error included in the liquid amount Vs stored in the device memory of the liquid discharge device can be grasped even after the cartridge is replaced in the liquid discharge device.

(16) 好ましくは、上記コントローラは、上記第2液室に貯留されている液体量Vsを決定し、決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、決定した上記高さHc、Hsの差に基づいて上記誤差の有無を判断し、誤差があると判断したことに基づいて、上記タンク誤差情報を、上記装置メモリに記憶させる。   (16) Preferably, the controller determines a liquid amount Vs stored in the second liquid chamber, and based on the determined liquid amounts Vc and Vs, the liquid level of the first liquid chamber from a reference position. And the height Hs from the reference position to the liquid level of the second liquid chamber is determined, and the presence or absence of the error is determined based on the determined difference between the heights Hc and Hs. The tank error information is stored in the device memory based on the determination that there is.

第1液室及び第2液室の間の水頭差が大きいほど、第1液室から第2液室へ移動する液体の量が多くなるので、決定した液体量Vsと第2液室に実際に貯留されている液体量との差は、大きくなる傾向がある。そこで上記構成のように、決定した高さHc、Hcの差に基づいて誤差を判断するのが望ましい。   The larger the water head difference between the first liquid chamber and the second liquid chamber, the greater the amount of liquid that moves from the first liquid chamber to the second liquid chamber. Therefore, the determined liquid amount Vs and the second liquid chamber are actually The difference from the amount of liquid stored in the liquid tends to increase. Therefore, it is desirable to determine the error based on the difference between the determined heights Hc and Hc as in the above configuration.

(17) 好ましくは、上記コントローラは、上記第1液室から上記第2液室へ期間Δtの間に流出する液体の流出量Qcを、上記高さHc、Hs、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnに基づいて決定し、直前に決定した上記液体量Vcから上記流出量Qcを減じて、上記期間Δtが経過した後の上記液体量Vcを決定し、直前に決定した上記液体量Vsに上記流出量Qcを加えて、上記期間Δtが経過した後の上記液体量Vsを決定し、決定した上記液体量Vs及び上記タンク誤差情報を、上記装置メモリに記憶させる。   (17) Preferably, the controller calculates the amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the period Δt by using the heights Hc and Hs and the flow rate of the second flow path. Determined based on the channel resistance Rc, the channel resistance Rs of the fifth channel, and the channel resistance Rn which is the resistance of both the first channel and the third channel or one of the resistances, and is determined immediately before The outflow amount Qc is subtracted from the liquid amount Vc, the liquid amount Vc after the period Δt has elapsed is determined, the outflow amount Qc is added to the liquid amount Vs determined immediately before, and the period Δt Is determined, and the determined liquid amount Vs and the tank error information are stored in the device memory.

(18) 好ましくは、上記コントローラは、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させ、上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させてから上記期間Δtが経過するまで待機し、上記期間Δtが経過したことに基づいて、再び、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させる。   (18) Preferably, the controller determines the outflow amount Qc and the liquid amounts Vc, Vs, and stores the determined liquid amount Vs and the tank error information in the device memory, and stores the liquid amount Vs and the liquid amount. After the tank error information is stored in the apparatus memory, the apparatus waits until the period Δt elapses. Based on the elapse of the period Δt, the outflow amount Qc and the liquid amounts Vc and Vs are determined again. The determined liquid amount Vs and the tank error information are stored in the device memory.

(19) 好ましくは、上記コントローラは、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させたことに基づいて、上記高さHc、Hsの差が閾値高さ未満か否かを判断し、上記高さHc、Hsの差が上記閾値高さ以上だと判断したことに基づいて、上記期間Δtが経過するまで待機する。   (19) Preferably, the controller determines the outflow amount Qc and the liquid amounts Vc, Vs and stores the determined liquid amount Vs and the tank error information in the device memory. It is determined whether or not the difference between the heights Hc and Hs is less than the threshold height, and waits until the period Δt has elapsed based on determining that the difference between the heights Hc and Hs is greater than or equal to the threshold height. To do.

(20) 好ましくは、上記コントローラは、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させる処理を停止する。   (20) Preferably, the controller determines and determines the outflow amount Qc and the liquid amounts Vc and Vs based on determining that the difference between the heights Hc and Hs is less than the threshold height. The process of storing the liquid amount Vs and the tank error information in the device memory is stopped.

(21) 好ましくは、上記コントローラは、上記高さHc、Hsの差が上記閾値高さに近づくほど、上記液体量Vc、Vs及び上記高さHc、Hsを次に決定するまでの上記時間Δtを長くする。   (21) Preferably, as the difference between the heights Hc and Hs approaches the threshold height, the controller determines the time Δt until the liquid amounts Vc and Vs and the heights Hc and Hs are determined next. Lengthen.

液体量Vsに含まれる誤差は、高さHc、Hsの差が大きいほど大きくなり、高さHc、Hsの差が小さいほど小さくなる傾向がある。そこで上記構成のように、高さHc、Hsの差に基づいてタンク誤差情報の更新頻度を変更することによって、リアルタイムなタンク誤差情報の把握と、コントローラの処理負荷の軽減とを両立させることができる。   The error included in the liquid amount Vs tends to increase as the difference between the heights Hc and Hs increases, and decreases as the difference between the heights Hc and Hs decreases. Therefore, as described above, by changing the update frequency of the tank error information based on the difference between the heights Hc and Hs, it is possible to achieve both real-time understanding of the tank error information and reduction of the processing load of the controller. it can.

(22) 好ましくは、上記液体排出装置は、報知機を備えており、上記コントローラは、上記装着ケースに上記カートリッジが装着されたことを判断し、上記装着ケースに上記カートリッジが装着されたことを判断したことに基づいて、上記装置メモリに記憶された上記タンク誤差情報を読み出し、上記タンク誤差情報が読み出されたことに基づいて、上記報知機を作動させる。   (22) Preferably, the liquid discharge device includes a notification device, and the controller determines that the cartridge is attached to the attachment case, and confirms that the cartridge is attached to the attachment case. Based on the determination, the tank error information stored in the device memory is read out, and the alarm is operated based on the tank error information being read out.

(23) 好ましくは、上記液体排出装置は、インタフェースを備えており、上記コントローラは、上記タンク誤差情報が読み出されたことに基づいて、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに、上記第1液室に貯留されている液体量Vcに誤差があることを示す誤差情報を記憶させる。   (23) Preferably, the liquid discharge device includes an interface, and the controller reads the tank error information into the cartridge memory of the cartridge through the interface based on the reading of the tank error information. Error information indicating that there is an error in the liquid amount Vc stored in one liquid chamber is stored.

液体量Vsに誤差がある状態とは、液体量Vcに誤差がある状態でもある。すなわち、タンク誤差情報により誤差がある状態でカートリッジが交換された場合、新たなカートリッジのカートリッジメモリに記憶された液体量Vcは誤差を含んでいないとしても、装置メモリに記憶された液体量Vsは誤差を含むことになる。そして、新たなカートリッジが装着ケースに装着されることによって、新たなカートリッジの液体量Vsも誤差を含むこととなる。したがって、装置メモリからタンク誤差情報が読み出された場合は、その後に装着されたカートリッジのカートリッジメモリに誤差情報を記憶させる。   The state where there is an error in the liquid amount Vs is also a state where there is an error in the liquid amount Vc. That is, when a cartridge is exchanged in a state where there is an error due to tank error information, the liquid amount Vs stored in the device memory is not included even if the liquid amount Vc stored in the cartridge memory of the new cartridge does not include an error. It will contain errors. Then, when a new cartridge is mounted in the mounting case, the liquid amount Vs of the new cartridge also includes an error. Therefore, when the tank error information is read from the apparatus memory, the error information is stored in the cartridge memory of the cartridge mounted thereafter.

(24) 本発明は、液体が貯留された第1液室と、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路と、一端が上記第1液室と連通され且つ他端が外部と連通される第2流路と、カートリッジメモリと、を備え、装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、インタフェースと、コントローラと、を備える液体排出装置の、上記装着ケースに当該カートリッジは装着され、上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、上記コントローラは、上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、上記カートリッジメモリは、上記装着ケースに装着された状態で上記インタフェースを通じて上記コントローラが情報を書込可能であり、且つ上記コントローラが決定した上記液体量Vc、及び当該液体量Vcに誤差があることを示す誤差情報を記憶しているカートリッジとして捉えられてもよい。   (24) The present invention provides a first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end of the first liquid chamber. A tank having a mounting case and a second liquid chamber, one end of which communicates with the outside and the other end of which communicates with the outside. A third flow path communicating with the second liquid chamber, a fourth flow path with one end positioned below the third flow path communicating with the second liquid chamber, and one end with the second liquid chamber A liquid discharge apparatus comprising: a tank having a fifth flow path that is communicated with the other end and communicated with the outside; a head that is communicated with the other end of the fourth flow path; an interface; and a controller. The cartridge is mounted in the mounting case, and at least one of the first channel and the third channel is When the cartridge is mounted in the mounting case, the first liquid chamber and the second liquid chamber communicate with each other, and the controller is stored in the first liquid chamber of the cartridge mounted in the mounting case. And the cartridge memory is writable by the controller through the interface when the cartridge memory is mounted on the mounting case, and the liquid volume Vc determined by the controller The cartridge may be regarded as a cartridge that stores error information indicating that there is an error in the liquid amount Vc.

(25) 本発明は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、上記カートリッジが装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、インタフェースと、コントローラと、を備え、上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、上記コントローラは、上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、決定した上記液体量Vc、及び当該液体量Vcに誤差があることを示す誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させるシステムとして捉えられてもよい。   (25) The present invention provides a first liquid chamber in which a liquid is stored, a first flow path with one end communicating with the first liquid chamber and the other end communicating with the outside, and one end with the first liquid chamber. A cartridge having a second flow path that communicates and the other end communicates with the outside, a mounting case to which the cartridge is mounted, and a tank having a second liquid chamber, one end communicating with the outside and the other end Is connected to the second liquid chamber, the fourth flow path is connected to the second liquid chamber at one end located below the third flow path, and the second liquid is connected to the second liquid chamber. A tank having a fifth flow path that communicates with the chamber and communicates with the outside at the other end, a head that communicates with the other end of the fourth flow path, an interface, and a controller. At least one of the first flow path and the third flow path has the cartridge mounted in the mounting case. The first liquid chamber and the second liquid chamber communicate with each other, and the controller determines a liquid amount Vc stored in the first liquid chamber of the cartridge mounted in the mounting case, The determined liquid amount Vc and error information indicating that there is an error in the liquid amount Vc may be regarded as a system for storing in the cartridge memory of the cartridge through the interface.

(26) 本発明は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、上記カートリッジが装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、インタフェースと、装置メモリと、コントローラと、を備え、上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、上記コントローラは、上記第2液室に貯留されている液体量Vsを決定して上記装置メモリに記憶させ、上記装着ケースに上記カートリッジが装着されたかを判断し、上記装着ケースに上記カートリッジが装着されたと判断したことに基づいて、上記液体量Vsに誤差があることを示す誤差情報を上記装置メモリに記憶させるシステムとして捉えられてもよい。   (26) The present invention provides a first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber. A cartridge having a second flow path that communicates and the other end communicates with the outside, a mounting case to which the cartridge is mounted, and a tank having a second liquid chamber, one end communicating with the outside and the other end Is connected to the second liquid chamber, the fourth flow path is connected to the second liquid chamber at one end located below the third flow path, and the second liquid is connected to the second liquid chamber. A tank having a fifth flow path that communicates with the chamber and the other end communicates with the outside; a head that communicates with the other end of the fourth flow path; an interface; an apparatus memory; a controller; And at least one of the first flow path and the third flow path is mounted by the cartridge. When the first liquid chamber and the second liquid chamber are connected, the controller determines the liquid amount Vs stored in the second liquid chamber and stores it in the device memory. And determining whether or not the cartridge is mounted in the mounting case, and based on the determination that the cartridge is mounted in the mounting case, error information indicating that there is an error in the liquid amount Vs is stored in the device memory. It may be understood as a system that stores the information in the memory.

(27) 本発明に係る液体排出装置は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、インタフェースと、コントローラと、を備える。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、上記装着ケースに上記カートリッジが装着されたかを判断し、上記装着ケースに上記カートリッジが装着されたと判断したことに基づいて、上記第1液室に貯留されている液体量Vcに誤差があること誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させる。   (27) In the liquid discharge device according to the present invention, the first liquid chamber in which the liquid is stored, the first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end of the first liquid chamber A cartridge having a second flow path that communicates with the first liquid chamber and the other end communicates with the outside is a mounting case to which the cartridge is attached, and a tank having the second liquid chamber, with one end communicating with the outside and A third flow path with the other end communicating with the second liquid chamber, a fourth flow path with one end positioned below the third flow path communicating with the second liquid chamber, and one end with the first flow path A tank having a fifth flow path that communicates with the two liquid chambers and the other end communicates with the outside; a head that communicates with the other end of the fourth flow path; an interface; and a controller. . At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. The controller determines whether or not the cartridge is mounted in the mounting case, and based on determining that the cartridge is mounted in the mounting case, an error occurs in the liquid amount Vc stored in the first liquid chamber. Error information is stored in the cartridge memory of the cartridge through the interface.

上記構成によれば、例えば、液体排出装置から抜かれたカートリッジが他の液体排出装置に装着された場合において、当該他の液体排出装置がカートリッジメモリに記憶された液体量Vcに含まれる誤差を、把握することができる。   According to the above configuration, for example, when a cartridge pulled out from the liquid discharge device is mounted on another liquid discharge device, the error included in the liquid amount Vc stored in the cartridge memory by the other liquid discharge device is I can grasp it.

(28) 好ましくは、上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判断してからの経過時間が所定時間に到達したことに基づいて、上記インタフェースを通じて、上記カートリッジメモリに記憶された上記誤差情報を消去する。   (28) Preferably, the controller stores the cartridge stored in the cartridge memory through the interface based on the fact that an elapsed time after determining that the cartridge is mounted in the mounting case has reached a predetermined time. Erase error information.

(29) 好ましくは、上記液体排出装置は、装置メモリを備えており、上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判断したことに基づいて、上記第2液室に貯留されている液体量Vsに誤差があることを示すタンク誤差情報を、上記装置メモリに記憶させる。   (29) Preferably, the liquid discharge device includes a device memory, and the controller stores the cartridge in the second liquid chamber based on the determination that the cartridge is mounted in the mounting case. Tank error information indicating that there is an error in the liquid amount Vs is stored in the device memory.

上記構成によれば、例えば、液体排出装置においてカートリッジが交換された後も、当該液体排出装置の装置メモリに記憶された液体量Vsに含まれる誤差を、把握することができる。   According to the above configuration, for example, an error included in the liquid amount Vs stored in the device memory of the liquid discharge device can be grasped even after the cartridge is replaced in the liquid discharge device.

(30) 好ましくは、上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判断してからの経過時間が所定時間に到達したことに基づいて、上記装置メモリに記憶された上記タンク誤差情報を消去する。   (30) Preferably, the controller obtains the tank error information stored in the device memory based on an elapsed time after determining that the cartridge is mounted in the mounting case reaching a predetermined time. to erase.

(31) 好ましくは、上記コントローラは、上記第1液室から上記第2液室へ期間Δtの間に流出する液体の流出量Qcを、上記高さHc、Hs、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnに基づいて決定し、直前に決定した上記液体量Vcから上記流出量Qcを減じて、上記期間Δtが経過した後の上記液体量Vcを決定し、直前に決定した上記液体量Vsに上記流出量Qcを加えて、上記期間Δtが経過した後の上記液体量Vsを決定し、決定した上記液体量Vc及び上記誤差情報を、上記インタフェースを通じて上記カートリッジメモリに記憶させる。   (31) Preferably, the controller uses the heights Hc, Hs, and the flow rate of the second flow path to calculate the amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the period Δt. Determined based on the channel resistance Rc, the channel resistance Rs of the fifth channel, and the channel resistance Rn which is the resistance of both the first channel and the third channel or one of the resistances, and is determined immediately before The outflow amount Qc is subtracted from the liquid amount Vc, the liquid amount Vc after the period Δt has elapsed is determined, the outflow amount Qc is added to the liquid amount Vs determined immediately before, and the period Δt The liquid amount Vs after the elapse of time is determined, and the determined liquid amount Vc and the error information are stored in the cartridge memory through the interface.

(32) 好ましくは、上記液体排出装置は、報知機を備えており、上記コントローラは、上記装着ケースに上記カートリッジが装着されたことを判断し、上記装着ケースに上記カートリッジが装着されたことを判断したことに基づいて、上記カートリッジメモリに記憶された上記誤差情報を読み出し、上記誤差情報が読み出されたことに基づいて、上記報知機を作動させる。   (32) Preferably, the liquid discharge device includes a notification device, and the controller determines that the cartridge is attached to the attachment case, and confirms that the cartridge is attached to the attachment case. Based on the determination, the error information stored in the cartridge memory is read out, and the alarm is operated based on the error information being read out.

本発明によれば、液体排出装置から抜かれたカートリッジが他の液体排出装置に装着された場合において、当該他の液体排出装置がカートリッジメモリに記憶された液体量Vcに含まれる誤差の大きさを把握することができる。   According to the present invention, when the cartridge pulled out from the liquid discharge device is mounted on another liquid discharge device, the size of the error included in the liquid amount Vc stored in the cartridge memory by the other liquid discharge device is reduced. I can grasp it.

図1は、プリンタ10の外観斜視図であって、(A)はカバー87が被覆位置の状態を、(B)はカバー87が露出位置の状態を示す。FIGS. 1A and 1B are external perspective views of the printer 10. FIG. 1A shows a state where the cover 87 is in the covering position, and FIG. 図2は、プリンタ10の内部構造を模式的に示す模式断面図である。FIG. 2 is a schematic cross-sectional view schematically showing the internal structure of the printer 10. 図3は、装着ケース150の縦断面図である。FIG. 3 is a longitudinal sectional view of the mounting case 150. 図4は、カートリッジ200の構造を示す図であって、(A)は前方斜視図を、(B)は縦断面図を示す。4A and 4B are diagrams showing the structure of the cartridge 200, where FIG. 4A is a front perspective view and FIG. 4B is a longitudinal sectional view. 図5は、装着ケース150にカートリッジ200が装着された状態の縦断面図である。FIG. 5 is a longitudinal sectional view of the mounting case 150 with the cartridge 200 mounted. 図6は、プリンタ10のブロック図である。FIG. 6 is a block diagram of the printer 10. 図7は、画像記録処理のフローチャートである。FIG. 7 is a flowchart of the image recording process. 図8(A)はCTG交換処理のフローチャートであり、図8(B)は残量算出処理のフローチャートである。FIG. 8A is a flowchart of the CTG exchange process, and FIG. 8B is a flowchart of the remaining amount calculation process. 図9は、残量更新処理のフローチャートである。FIG. 9 is a flowchart of the remaining amount update process. 図10は、カウント処理のフローチャートである。FIG. 10 is a flowchart of the count process. 図11は、タンク160及びカートリッジ200が連通された状態の模式図であって、(A)はインクが貯留されていないタンク160に新品のカートリッジ200が連通された状態を、(B)はカートリッジ200に貯留されたインクの一部がタンク160にインクが移動した状態を示す。11A and 11B are schematic views of a state in which the tank 160 and the cartridge 200 are in communication with each other. FIG. 11A shows a state in which a new cartridge 200 is in communication with the tank 160 in which ink is not stored, and FIG. A part of the ink stored in 200 shows a state where the ink has moved to the tank 160. 図12は、タンク160及びカートリッジ200が連通された状態の模式図であって、(A)はタンク160及びカートリッジ200の液面が揃った状態を、(B)はカートリッジエンプティ状態を示す。12A and 12B are schematic views of a state in which the tank 160 and the cartridge 200 are communicated with each other. FIG. 12A shows a state in which the liquid levels of the tank 160 and the cartridge 200 are aligned, and FIG. 12B shows a cartridge empty state. 図13(A)は、変形例に係るCTG交換処理のフローチャートであり、図13(B)は、変形例に係る残量算出処理のフローチャートである。FIG. 13A is a flowchart of the CTG exchange process according to the modification, and FIG. 13B is a flowchart of the remaining amount calculation process according to the modification. 図14は、別の変形例に係る残量算出処理のフローチャートである。FIG. 14 is a flowchart of remaining amount calculation processing according to another modification. 図15は、別の変形例に係る残量算出処理のフローチャートである。FIG. 15 is a flowchart of remaining amount calculation processing according to another modification.

以下、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。また、プリンタ10が使用可能に水平面に設置された使用姿勢を基準として上下方向7が定義され、プリンタ10の開口13が形成された面を前面として前後方向8が定義され、プリンタ10を前面から見て左右方向9が定義される。本実施形態では、使用姿勢において、上下方向7が鉛直方向に相当し、前後方向8及び左右方向9が水平方向に相当する。前後方向8及び左右方向9は、直交している。   Hereinafter, embodiments of the present invention will be described. The embodiment described below is merely an example of the present invention, and it is needless to say that the embodiment of the present invention can be changed as appropriate without departing from the gist of the present invention. Further, the vertical direction 7 is defined with reference to a usage posture installed on a horizontal plane so that the printer 10 can be used, and the front-rear direction 8 is defined with the surface on which the opening 13 of the printer 10 is formed as the front surface. A left-right direction 9 is defined. In the present embodiment, in the use posture, the up-down direction 7 corresponds to the vertical direction, and the front-rear direction 8 and the left-right direction 9 correspond to the horizontal direction. The front-rear direction 8 and the left-right direction 9 are orthogonal to each other.

[プリンタ10の概要]
本実施形態に係るプリンタ10は、インクジェット記録方式でシートに画像を記録する液体排出装置の一例である。プリンタ10は、概ね直方体形状の筐体14を有している。また、プリンタ10は、ファクシミリ機能、スキャン機能、及びコピー機能などの機能を有する、所謂、「複合機」であってもよい。カートリッジ200及びプリンタ10がシステムの一例である。
[Overview of Printer 10]
The printer 10 according to the present embodiment is an example of a liquid discharge apparatus that records an image on a sheet by an inkjet recording method. The printer 10 has a substantially rectangular parallelepiped housing 14. The printer 10 may be a so-called “multifunction machine” having functions such as a facsimile function, a scan function, and a copy function. The cartridge 200 and the printer 10 are examples of the system.

筐体14の内部には、図1及び図2に示されるように、給送トレイ15と、給送ローラ23と、搬送ローラ25と、複数のノズル29を有するヘッド21と、ヘッド21に対面するプラテン26と、排出ローラ27と、排出トレイ16と、カートリッジ200が着脱される装着ケース150と、ヘッド21及び装着ケース150に装着されたカートリッジ200を連通させるチューブ32とが位置している。   As shown in FIGS. 1 and 2, the housing 14 has a feeding tray 15, a feeding roller 23, a conveying roller 25, a head 21 having a plurality of nozzles 29, and a head 21. The platen 26, the discharge roller 27, the discharge tray 16, the mounting case 150 to which the cartridge 200 is attached and detached, and the tube 32 that communicates the head 21 and the cartridge 200 attached to the mounting case 150 are positioned.

プリンタ10は、給送ローラ23及び搬送ローラ25を駆動させて、給送トレイ15に支持されたシートをプラテン26の位置まで搬送する。次に、プリンタ10は、装着ケース150に装着されたカートリッジ200からチューブ32を通じて供給されるインクを、ヘッド21にノズル29を通じて吐出させる。これにより、プラテン26に支持されたシートにインクが着弾して、シート上に画像が記録される。そして、プリンタ10は、排出ローラ27を駆動させて、画像が記録されたシートを排出トレイ16に排出する。   The printer 10 drives the feeding roller 23 and the conveying roller 25 to convey the sheet supported on the feeding tray 15 to the position of the platen 26. Next, the printer 10 causes the head 21 to eject the ink supplied through the tube 32 from the cartridge 200 mounted in the mounting case 150 through the nozzle 29. As a result, ink is landed on the sheet supported by the platen 26, and an image is recorded on the sheet. Then, the printer 10 drives the discharge roller 27 to discharge the sheet on which the image is recorded to the discharge tray 16.

より詳細には、ヘッド21は、搬送ローラ25によるシートの搬送向きと交差する主走査方向に往復移動するキャリッジに搭載されていてもよい。そして、プリンタ10は、主走査方向の一方から他方へキャリッジを移動させる過程で、ヘッド21にノズル29を通じてインクを吐出させてもよい。これにより、ヘッド21に対面するシートの一部の領域(以下、「1パス」と表記する。)に画像が記録される。次に、プリンタ10は、次に画像が記録されるべき領域がヘッド21に対面するように、搬送ローラ25にシートを搬送させてもよい。そして、これらの処理を交互に繰り返し実行させることによって、1枚のシートに画像が記録される。   More specifically, the head 21 may be mounted on a carriage that reciprocates in the main scanning direction that intersects the sheet conveyance direction by the conveyance roller 25. The printer 10 may cause the head 21 to eject ink through the nozzles 29 in the process of moving the carriage from one to the other in the main scanning direction. As a result, an image is recorded in a partial area of the sheet facing the head 21 (hereinafter referred to as “one pass”). Next, the printer 10 may cause the conveyance roller 25 to convey the sheet so that the area where the image is to be recorded next faces the head 21. Then, by repeating these processes alternately, an image is recorded on one sheet.

[カバー87]
図1に示されるように、筐体14の前面14Aで且つ左右方向9の右端部には、開口85が形成されている。筐体14は、さらにカバー87を備える。カバー87は、開口85を覆う被覆位置(図1(A)に示される位置)と、開口85を露出させる露出位置(図1(B)に示される位置)との間を回動可能である。カバー87は、例えば、上下方向7における筐体14の下端近傍において、左右方向9に沿う回動軸線周りに回動可能に、筐体14によって支持されている。そして、開口85より後方に広がる筐体14内部の収容空間86には、装着ケース150が位置している。
[Cover 87]
As shown in FIG. 1, an opening 85 is formed on the front surface 14 </ b> A of the housing 14 and on the right end in the left-right direction 9. The housing 14 further includes a cover 87. The cover 87 is rotatable between a covering position that covers the opening 85 (position shown in FIG. 1A) and an exposed position that exposes the opening 85 (position shown in FIG. 1B). . The cover 87 is supported by the casing 14 so as to be rotatable around a rotation axis along the left-right direction 9 in the vicinity of the lower end of the casing 14 in the vertical direction 7, for example. A mounting case 150 is located in the housing space 86 inside the housing 14 that extends rearward from the opening 85.

[カバーセンサ88]
プリンタ10は、カバーセンサ88(図6参照)を有する。カバーセンサ88は、例えば、カバー87が接離するスイッチ等の機械式センサであってもよいし、カバー87の位置によって光が遮断或いは透過される光学式センサであってもよい。カバーセンサ88は、カバー87の位置に応じた信号をコントローラ130に出力する。より詳細には、カバーセンサ88は、カバー87が被覆位置に位置していることに基づいて、ローレベル信号をコントローラ130へ出力する。一方、カバーセンサ88は、カバー87が被覆位置と異なる位置に位置していることに基づいて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。換言すれば、カバーセンサ88は、カバー87が露出位置に位置していることに基づいて、ハイレベル信号をコントローラ130へ出力する。ハイレベル信号は第3信号の一例であり、ローレベル信号は第4信号の一例である。
[Cover sensor 88]
The printer 10 has a cover sensor 88 (see FIG. 6). The cover sensor 88 may be, for example, a mechanical sensor such as a switch that contacts and separates the cover 87, or may be an optical sensor that blocks or transmits light depending on the position of the cover 87. The cover sensor 88 outputs a signal corresponding to the position of the cover 87 to the controller 130. More specifically, the cover sensor 88 outputs a low level signal to the controller 130 based on the fact that the cover 87 is located at the covering position. On the other hand, the cover sensor 88 outputs a high level signal having a signal intensity higher than that of the low level signal to the controller 130 based on the fact that the cover 87 is located at a position different from the covering position. In other words, the cover sensor 88 outputs a high level signal to the controller 130 based on the fact that the cover 87 is located at the exposure position. The high level signal is an example of a third signal, and the low level signal is an example of a fourth signal.

[装着ケース150]
装着ケース150は、図3に示されるように、接点152(インタフェースの一例)と、ロッド153と、装着センサ154と、液面センサ155と、ロックピン156とを備えている。装着ケース150には、ブラック、シアン、マゼンタ、イエローの各色に対応する4つのカートリッジ200が収容可能である。すなわち、装着ケース150は、接点152、ロッド153、装着センサ154、液面センサ155を、4つのカートリッジ200それぞれに対応して、4つずつ備えている。なお、装着ケース150に装着されるカートリッジ200の数は、4つに限定されず、1つでも良いし、5つ以上でも良い。
[Mounting case 150]
As shown in FIG. 3, the mounting case 150 includes a contact 152 (an example of an interface), a rod 153, a mounting sensor 154, a liquid level sensor 155, and a lock pin 156. The mounting case 150 can accommodate four cartridges 200 corresponding to each color of black, cyan, magenta, and yellow. That is, the mounting case 150 includes four contacts 152, rods 153, mounting sensors 154, and liquid level sensors 155 corresponding to the four cartridges 200. The number of cartridges 200 attached to the attachment case 150 is not limited to four, and may be one or five or more.

装着ケース150は、装着されたカートリッジ200を収容する内部空間を有する箱形状である。装着ケース150の内部空間は、上端を画定する天壁と、下端を画定する底壁と、前後方向8の後端を画定する奥壁と、左右方向9の両端を画定する一対の側壁とで画定される。一方、装着ケース150の奥壁と対面する位置は、開口85となっている。すなわち、開口85は、カバー87を露出位置に配置したときに、装着ケース150の内部空間を、プリンタ10の外部に露出させる。   The mounting case 150 has a box shape having an internal space for accommodating the mounted cartridge 200. The inner space of the mounting case 150 includes a top wall that defines an upper end, a bottom wall that defines a lower end, a rear wall that defines a rear end of the front-rear direction 8, and a pair of side walls that define both ends of the left-right direction 9. Defined. On the other hand, the position facing the inner wall of the mounting case 150 is an opening 85. That is, the opening 85 exposes the internal space of the mounting case 150 to the outside of the printer 10 when the cover 87 is disposed at the exposed position.

そして、カートリッジ200は、筐体14の開口85を通じて、装着ケース150に挿入され、装着ケース150から抜かれる。より詳細には、カートリッジ200は、開口85を前後方向8の後ろ向きに通過して、装着ケース150に装着される。装着ケース150から抜かれるカートリッジ200は、開口85を前後方向8の前向きに通過する。   Then, the cartridge 200 is inserted into the mounting case 150 through the opening 85 of the housing 14 and removed from the mounting case 150. More specifically, the cartridge 200 passes through the opening 85 backward in the front-rear direction 8 and is mounted on the mounting case 150. The cartridge 200 withdrawn from the mounting case 150 passes through the opening 85 forward in the front-rear direction 8.

[接点152]
接点152は、装着ケース150の天壁に位置している。接点152は、天壁から装着ケース150の内部空間へ向けて下方に突出している。接点152は、装着ケース150にカートリッジ200が装着された状態において、カートリッジ200の後述する電極248に接する位置に位置している。接点152は、導電性を有しており、さらに上下方向7に沿って弾性的に変形可能である。接点152は、コントローラ130に電気的に接続されている。
[Contact 152]
The contact 152 is located on the top wall of the mounting case 150. The contact 152 protrudes downward from the top wall toward the internal space of the mounting case 150. The contact 152 is located at a position in contact with an electrode 248 (described later) of the cartridge 200 when the cartridge 200 is mounted on the mounting case 150. The contact 152 has conductivity, and can be elastically deformed along the vertical direction 7. The contact 152 is electrically connected to the controller 130.

[ロッド153]
ロッド153は、装着ケース150の奥壁から前方へ突出している。ロッド153は、装着ケース150の奥壁において、後述するジョイント180より上方に位置している。ロッド153は、カートリッジ200が装着ケース150に装着される過程において、カートリッジ200の後述する大気連通口221を通じて大気バルブ室214に進入する。ロッド153が大気バルブ室214に進入すると、後述する大気バルブ室214が大気に連通される。
[Rod 153]
The rod 153 protrudes forward from the back wall of the mounting case 150. The rod 153 is located above the joint 180 described later on the back wall of the mounting case 150. The rod 153 enters the atmospheric valve chamber 214 through an atmospheric communication port 221 (to be described later) of the cartridge 200 in the process of mounting the cartridge 200 to the mounting case 150. When the rod 153 enters the atmospheric valve chamber 214, an atmospheric valve chamber 214 described later is communicated with the atmosphere.

[装着センサ154]
装着センサ154は、装着ケース150の天壁に位置している。装着センサ154は、カートリッジ200が装着ケース150に装着されているか否かを検出するためのセンサである。装着センサ154は、左右方向9に離間した発光部及び受光部を備える。装着ケース150にカートリッジ200が装着された状態において、カートリッジ200の後述する遮光リブ245は、装着センサ154の発光部及び受光部の間に位置する。換言すれば、装着センサ154の発光部及び受光部は、装着ケース150に装着されたカートリッジ200の遮光リブ245を挟んで、互いに対向した状態で位置している。
[Mounting sensor 154]
The mounting sensor 154 is located on the top wall of the mounting case 150. The mounting sensor 154 is a sensor for detecting whether or not the cartridge 200 is mounted on the mounting case 150. The mounting sensor 154 includes a light emitting unit and a light receiving unit that are spaced apart in the left-right direction 9. In a state where the cartridge 200 is mounted on the mounting case 150, a light shielding rib 245 described later of the cartridge 200 is positioned between the light emitting unit and the light receiving unit of the mounting sensor 154. In other words, the light emitting unit and the light receiving unit of the mounting sensor 154 are positioned facing each other across the light shielding rib 245 of the cartridge 200 mounted on the mounting case 150.

装着センサ154は、発光部から左右方向9に沿って照射された光が受光部で受光されたか否かに基づいて、異なる信号(図中では、「装着信号」と表記する。)を出力する。装着センサ154は、例えば、受光部で受光された光の受光強度が閾値強度未満であることに基づいて、ローレベル信号をコントローラ130へ出力する。一方、装着センサ154は、受光部で受光された光の受光強度が閾値強度以上であることに基づいて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。ハイレベル信号は第1信号の一例であり、ローレベル信号は第2信号の一例である。   The mounting sensor 154 outputs a different signal (denoted as “mounting signal” in the drawing) based on whether or not the light emitted from the light emitting unit along the left-right direction 9 is received by the light receiving unit. . For example, the wearing sensor 154 outputs a low level signal to the controller 130 based on the fact that the received light intensity of the light received by the light receiving unit is less than the threshold intensity. On the other hand, the wearing sensor 154 outputs a high level signal having a signal intensity higher than the low level signal to the controller 130 based on the fact that the received light intensity of the light received by the light receiving unit is equal to or higher than the threshold intensity. The high level signal is an example of a first signal, and the low level signal is an example of a second signal.

[液面センサ155]
液面センサ155は、後述するアクチュエータ190の被検出部194が検出位置に位置しているか否かを検出するためのセンサである。液面センサ155は、左右方向9に離間した発光部及び受光部を備える。換言すれば、液面センサ155の発光部及び受光部は、検出位置に位置した被検出部194を挟んで、互いに対向した状態で位置している。液面センサ155は、発光部から出力された光が受光部で受光されたか否かに基づいて異なる信号(図中では、「液面信号」と表記する。)を出力する。
[Liquid level sensor 155]
The liquid level sensor 155 is a sensor for detecting whether or not a detected portion 194 of an actuator 190 described later is positioned at a detection position. The liquid level sensor 155 includes a light emitting unit and a light receiving unit that are separated in the left-right direction 9. In other words, the light emitting part and the light receiving part of the liquid level sensor 155 are located facing each other with the detected part 194 located at the detection position interposed therebetween. The liquid level sensor 155 outputs a different signal (denoted as “liquid level signal” in the drawing) based on whether or not the light output from the light emitting unit is received by the light receiving unit.

[ロックピン156]
ロックピン156は、装着ケース150の内部空間の上端で且つ開口85付近において、左右方向9に沿って延びる棒状の部材である。ロックピン156の左右方向9の両端は、装着ケース150の一対の側壁に固定されている。ロックピン156は、4つのカートリッジ200が収納可能な4つの空間に亘って左右方向9に延びている。ロックピン156は、装着ケース150に装着されたカートリッジ200を、図5に示される装着位置に保持するためのものである。カートリッジ200は、装着ケース150に装着された状態で、ロックピン156に係合される。
[Lock pin 156]
The lock pin 156 is a bar-like member extending along the left-right direction 9 at the upper end of the internal space of the mounting case 150 and in the vicinity of the opening 85. Both ends of the lock pin 156 in the left-right direction 9 are fixed to a pair of side walls of the mounting case 150. The lock pin 156 extends in the left-right direction 9 over four spaces in which the four cartridges 200 can be stored. The lock pin 156 is for holding the cartridge 200 mounted on the mounting case 150 in the mounting position shown in FIG. The cartridge 200 is engaged with the lock pin 156 while being attached to the attachment case 150.

[タンク160]
プリンタ10は、4つのカートリッジ200それぞれに対応して、4つのタンク160を備える。タンク160は、装着ケース150の奥壁よりさらに後方に位置している。タンク160は、図3に示されるように、上壁161と、前壁162と、下壁163と、後壁164と、不図示の一対の側壁とで構成されている。なお、前壁162は、各々が前後方向8にずれた複数の壁によって構成される。タンク160の内部は、液室171が形成されている。液室171は、第2液室の一例である。
[Tank 160]
The printer 10 includes four tanks 160 corresponding to the four cartridges 200, respectively. The tank 160 is located further rearward than the back wall of the mounting case 150. As shown in FIG. 3, the tank 160 includes an upper wall 161, a front wall 162, a lower wall 163, a rear wall 164, and a pair of side walls (not shown). The front wall 162 is composed of a plurality of walls each shifted in the front-rear direction 8. A liquid chamber 171 is formed inside the tank 160. The liquid chamber 171 is an example of a second liquid chamber.

タンク160を構成する壁のうち、少なくとも液面センサ155に対面する壁は、透光性を有している。これにより、液面センサ155が出力した光は、液面センサ155に対面する壁を透過することができる。後壁164の少なくとも一部は、上壁161、下壁163、及び側壁の端面に溶着されるフィルムでもよい。また、タンク160の側壁は、装着ケース150と共通でもよいし、装着ケース150とは独立していてもよい。さらに、左右方向9に隣接するタンク160の間は、不図示の隔壁によって仕切られている。4つのタンク160の構成は、概ね共通する。   Of the walls constituting the tank 160, at least the wall facing the liquid level sensor 155 has translucency. Thereby, the light output from the liquid level sensor 155 can pass through the wall facing the liquid level sensor 155. At least a part of the rear wall 164 may be a film welded to the upper wall 161, the lower wall 163, and the end surfaces of the side walls. Further, the side wall of the tank 160 may be common to the mounting case 150 or may be independent of the mounting case 150. Further, the tanks 160 adjacent in the left-right direction 9 are partitioned by a partition wall (not shown). The configuration of the four tanks 160 is generally the same.

液室171は、流出口174を通じて不図示のインク流路に連通されている。流出口174の下端は、液室171の下端を画定する下壁163によって画定されている。流出口174は、ジョイント180(より詳細には、貫通孔184の下端)より上下方向7の下方に位置している。流出口174に連通された不図示のインク流路は、チューブ32に連通されている。これにより、液室171は、流出口174からインク流路及びチューブ32を通じて、ヘッド21と連通する。つまり、液室171に貯留されたインクは、流出口174からインク流路及びチューブ32を通じて、ヘッド21へ供給される。流出口174に連通されたインク流路及びチューブ32は、一端(流出口174)が液室171に連通され、且つ他端33(図2参照)がヘッド21に連通された第4流路の一例である。   The liquid chamber 171 communicates with an ink channel (not shown) through the outflow port 174. The lower end of the outlet 174 is defined by a lower wall 163 that defines the lower end of the liquid chamber 171. The outlet 174 is located below the joint 180 (more specifically, the lower end of the through hole 184) in the vertical direction 7. An ink flow path (not shown) connected to the outlet 174 is connected to the tube 32. As a result, the liquid chamber 171 communicates with the head 21 from the outlet 174 through the ink flow path and the tube 32. That is, the ink stored in the liquid chamber 171 is supplied to the head 21 from the outlet 174 through the ink flow path and the tube 32. The ink flow path and tube 32 communicated with the outflow port 174 have a fourth flow path with one end (outflow port 174) communicated with the liquid chamber 171 and the other end 33 (see FIG. 2) communicated with the head 21. It is an example.

液室171は、大気連通室175を通じて大気に連通されている。より詳細には、大気連通室175は、前壁162を貫通する貫通孔176を通じて液室171に連通されている。また、大気連通室175は、大気連通ポート177及び大気連通ポート177に接続された不図示のチューブを通じて、プリンタ10の外部に連通されている。すなわち、大気連通室175は、一端(貫通孔176)が液室171に連通され、且つ他端(大気連通ポート177)がプリンタ10の外部に連通された第5流路の一例である。なお、大気連通室175は、大気連通ポート177及び不図示のチューブを通じて、大気に連通している。   The liquid chamber 171 communicates with the atmosphere through the atmosphere communication chamber 175. More specifically, the atmosphere communication chamber 175 communicates with the liquid chamber 171 through a through hole 176 that penetrates the front wall 162. The atmosphere communication chamber 175 communicates with the outside of the printer 10 through an atmosphere communication port 177 and a tube (not shown) connected to the atmosphere communication port 177. That is, the atmosphere communication chamber 175 is an example of a fifth flow path in which one end (through hole 176) communicates with the liquid chamber 171 and the other end (atmosphere communication port 177) communicates with the outside of the printer 10. The atmosphere communication chamber 175 communicates with the atmosphere through an atmosphere communication port 177 and a tube (not shown).

[ジョイント180]
ジョイント180は、図3に示されるように、ニードル181と、ガイド182とを備えている。ニードル181は、内部に流路が形成された管である。ニードル181は、液室171を画定する前壁162から前方へ突出している。ニードル181の突出先端には、開口183が形成されている。また、ニードル181の内部空間は、前壁162を貫通する貫通孔184を通じて液室171に連通されている。ニードル181は、一端(開口183)がタンク160の外部に連通され、且つ他端(貫通孔184)が液室171に連通された第3流路の一例である。ガイド182は、ニードル181の周囲に配置された円筒形状の部材である。ガイド182は、前壁162から前方に突出して、突出端が開口している。
[Joint 180]
As shown in FIG. 3, the joint 180 includes a needle 181 and a guide 182. The needle 181 is a tube having a flow path formed therein. The needle 181 protrudes forward from the front wall 162 that defines the liquid chamber 171. An opening 183 is formed at the protruding tip of the needle 181. The internal space of the needle 181 is communicated with the liquid chamber 171 through a through hole 184 that penetrates the front wall 162. The needle 181 is an example of a third flow path having one end (opening 183) communicating with the outside of the tank 160 and the other end (through hole 184) communicating with the liquid chamber 171. The guide 182 is a cylindrical member disposed around the needle 181. The guide 182 protrudes forward from the front wall 162, and the protruding end is open.

ニードル181の内部空間には、バルブ185と、コイルバネ186とが位置している。バルブ185は、ニードル181の内部空間において、閉塞位置と開放位置との間を、前後方向8に沿って移動可能である。バルブ185は、閉塞位置に位置すると開口183を閉塞する。またバルブ185は、開放位置に位置すると開口183を開放する。コイルバネ186は、バルブ185を開放位置から閉塞位置に移動させる向き、すなわち前後方向8の前向きに付勢している。   A valve 185 and a coil spring 186 are located in the internal space of the needle 181. The valve 185 can move along the front-rear direction 8 between the closed position and the open position in the internal space of the needle 181. The valve 185 closes the opening 183 when positioned at the closed position. The valve 185 opens the opening 183 when positioned at the open position. The coil spring 186 biases the valve 185 in the direction of moving the valve 185 from the open position to the closed position, that is, forward in the front-rear direction 8.

[アクチュエータ190]
液室171には、アクチュエータ190が位置している。アクチュエータ190は、液室171内に配置された不図示の支持部材によって、矢印198、199の向きに回動可能に支持されている。アクチュエータ190は、図3の実線で示される位置及び破線で示される位置の間を回動することができる。さらに、アクチュエータ190は、不図示のストッパ(例えば、液室171の内壁)によって、実線の位置より矢印198の向きへの回動が規制される。アクチュエータ190は、フロート191と、軸192と、アーム193と、被検出部194とを備える。
[Actuator 190]
An actuator 190 is located in the liquid chamber 171. The actuator 190 is supported by a support member (not shown) disposed in the liquid chamber 171 so as to be rotatable in the directions of arrows 198 and 199. The actuator 190 can rotate between a position indicated by a solid line and a position indicated by a broken line in FIG. Further, the actuator 190 is restricted from rotating in the direction of the arrow 198 from the position of the solid line by a stopper (not shown) (for example, the inner wall of the liquid chamber 171). The actuator 190 includes a float 191, a shaft 192, an arm 193, and a detected part 194.

フロート191は、液室171に貯留されるインクより比重が小さい材料で形成されている。軸192は、フロート191の右面及び左面から左右方向9に突出している。軸192は、支持部材に形成された不図示の孔に挿入されている。これにより、アクチュエータ190は、軸192を中心として回動可能に支持部材によって支持される。アーム193は、フロート191から略上方へ延びている。被検出部194は、アーム193の突出先端部に位置している。被検出部194は、上下方向7及び前後方向8に延びる板状の部材である。被検出部194は、液面センサ155の発光部から出力された光を遮光する材料又は色で形成されている。   The float 191 is formed of a material having a specific gravity smaller than that of the ink stored in the liquid chamber 171. The shaft 192 protrudes in the left-right direction 9 from the right and left surfaces of the float 191. The shaft 192 is inserted into a hole (not shown) formed in the support member. Accordingly, the actuator 190 is supported by the support member so as to be rotatable about the shaft 192. The arm 193 extends substantially upward from the float 191. The detected part 194 is located at the projecting tip of the arm 193. The detected part 194 is a plate-like member extending in the up-down direction 7 and the front-rear direction 8. The detected portion 194 is formed of a material or color that blocks light output from the light emitting portion of the liquid level sensor 155.

液室171内のインクの液面が境界位置P以上のとき、浮力によって矢印198の向きに回動されたアクチュエータ190は、ストッパによって図3の実線で示される検出位置に保持される。一方、インクの液面が境界位置P未満のとき、アクチュエータ190は、液面の降下に追従して矢印199の向きに回動される。これにより、被検出部194は、検出位置から外れた位置に移動する。すなわち、被検出部194は、液室171に貯留されたインクの量に対応する位置に移動する。   When the ink level in the liquid chamber 171 is equal to or higher than the boundary position P, the actuator 190 rotated in the direction of the arrow 198 by buoyancy is held at the detection position indicated by the solid line in FIG. On the other hand, when the ink level is less than the boundary position P, the actuator 190 is rotated in the direction of the arrow 199 following the drop of the level. Thereby, the detected part 194 moves to a position deviating from the detection position. That is, the detected portion 194 moves to a position corresponding to the amount of ink stored in the liquid chamber 171.

境界位置Pは、上下方向7において、ニードル181の軸中心と同じ高さであり、且つ後述するインク供給口234の中心と同じ高さである。しかしながら、境界位置Pは、上下方向7における流出口174より上方の位置であれば、前述の位置に限定されない。他の例として、境界位置Pは、ニードル181の内部空間の上端や下端の高さでもよいし、インク供給口234の上端や下端の高さでもよい。   The boundary position P is the same height as the axis center of the needle 181 in the vertical direction 7 and the same height as the center of an ink supply port 234 described later. However, the boundary position P is not limited to the above-described position as long as the boundary position P is a position above the outlet 174 in the vertical direction 7. As another example, the boundary position P may be the height of the upper end or the lower end of the internal space of the needle 181, or the height of the upper end or the lower end of the ink supply port 234.

液室171に貯留されたインクの液面が境界位置P以上のとき、液面センサ155の発光部から出力された光が被検出部194で遮られる。これにより、液面センサ155は、発光部からの光が受光部に到達しないので、ローレベル信号をコントローラ130へ出力する。一方、液室171に貯留されたインクの液面が境界位置P未満のとき、液面センサ155は、発光部から出力された光が受光部に到達するので、ハイレベル信号をコントローラ130へ出力する。すなわち、コントローラ130は、液室171内のインクの液面が境界位置P以上か否かを、液面センサ155から出力される信号によって検出することができる。   When the liquid level of the ink stored in the liquid chamber 171 is equal to or higher than the boundary position P, the light output from the light emitting part of the liquid level sensor 155 is blocked by the detected part 194. Accordingly, the liquid level sensor 155 outputs a low level signal to the controller 130 because the light from the light emitting unit does not reach the light receiving unit. On the other hand, when the liquid level of the ink stored in the liquid chamber 171 is less than the boundary position P, the liquid level sensor 155 outputs the high level signal to the controller 130 because the light output from the light emitting unit reaches the light receiving unit. To do. That is, the controller 130 can detect whether or not the liquid level of the ink in the liquid chamber 171 is equal to or higher than the boundary position P by the signal output from the liquid level sensor 155.

[カートリッジ200]
カートリッジ200は、液体の一例であるインクを内部に貯留可能な液室210(図2参照)を有する容器である。液室210は、例えば、樹脂製の壁によって画定されている。カートリッジ200は、図4(A)に示されるように、上下方向7及び前後方向8それぞれに沿った寸法が、左右方向9に沿った寸法よりも大きい扁平形状である。なお、異なる色のインクが貯留されるカートリッジ200の外形形状は同一でもよいし、異なっていてもよい。カートリッジ200を構成する壁のうちの少なくとも一部は、透光性を有している。これにより、ユーザは、カートリッジ200の液室210内に貯留されたインクの液面をカートリッジ200の外部から視認することができる。
[Cartridge 200]
The cartridge 200 is a container having a liquid chamber 210 (see FIG. 2) in which ink, which is an example of a liquid, can be stored. The liquid chamber 210 is defined by, for example, a resin wall. As shown in FIG. 4A, the cartridge 200 has a flat shape in which the dimensions along the vertical direction 7 and the front-rear direction 8 are larger than the dimensions along the left-right direction 9. The outer shapes of the cartridges 200 in which different color inks are stored may be the same or different. At least a part of the walls constituting the cartridge 200 has translucency. As a result, the user can visually recognize the liquid level of the ink stored in the liquid chamber 210 of the cartridge 200 from the outside of the cartridge 200.

カートリッジ200は、筐体201と、供給管230とを備える。筐体201は、後壁202と、前壁203と、上壁204と、下壁205と、一対の側壁206、207とで構成されている。なお、後壁202は、各々が前後方向8にずれた複数の壁によって構成されている。また、上壁204は、各々が上下方向7にずれた複数の壁によって構成されている。さらに、下壁205は、各々が上下方向7にずれた複数の壁によって構成されている。   The cartridge 200 includes a housing 201 and a supply pipe 230. The housing 201 includes a rear wall 202, a front wall 203, an upper wall 204, a lower wall 205, and a pair of side walls 206 and 207. The rear wall 202 is composed of a plurality of walls each shifted in the front-rear direction 8. Further, the upper wall 204 is constituted by a plurality of walls each shifted in the vertical direction 7. Further, the lower wall 205 is constituted by a plurality of walls each shifted in the vertical direction 7.

カートリッジ200の内部空間には、図4(B)に示されるように、液室210、インクバルブ室213、及び大気バルブ室214が形成されている。液室210は、上部液室211と、下部液室212とを有する。上部液室211、下部液室212、及び大気バルブ室214は、筐体201の内部空間である。一方、インクバルブ室213は、供給管230の内部空間である。液室210は、インクを貯留する。大気バルブ室214は、液室210とカートリッジ200の外部とを連通させる。液室210は、第1液室の一例である。   In the internal space of the cartridge 200, as shown in FIG. 4B, a liquid chamber 210, an ink valve chamber 213, and an atmospheric valve chamber 214 are formed. The liquid chamber 210 has an upper liquid chamber 211 and a lower liquid chamber 212. The upper liquid chamber 211, the lower liquid chamber 212, and the atmospheric valve chamber 214 are internal spaces of the housing 201. On the other hand, the ink valve chamber 213 is an internal space of the supply pipe 230. The liquid chamber 210 stores ink. The atmospheric valve chamber 214 makes the liquid chamber 210 communicate with the outside of the cartridge 200. The liquid chamber 210 is an example of a first liquid chamber.

液室210の上部液室211及び下部液室212は、筐体201の内部空間を仕切る隔壁215によって、上下方向7に隔てられている。そして、上部液室211及び下部液室212は、隔壁215に形成された貫通孔216によって連通されている。また、上部液室211及び大気バルブ室214は、筐体201の内部空間を仕切る隔壁217によって、上下方向7に隔てられている。そして、上部液室211及び大気バルブ室214は、隔壁217に形成された貫通孔218によって連通されている。さらに、インクバルブ室213は、貫通孔219を通じて下部液室212の下端に連通されている。   The upper liquid chamber 211 and the lower liquid chamber 212 of the liquid chamber 210 are separated in the vertical direction 7 by a partition wall 215 that partitions the internal space of the housing 201. The upper liquid chamber 211 and the lower liquid chamber 212 are communicated with each other through a through hole 216 formed in the partition wall 215. The upper liquid chamber 211 and the atmospheric valve chamber 214 are separated in the vertical direction 7 by a partition wall 217 that partitions the internal space of the housing 201. The upper liquid chamber 211 and the atmospheric valve chamber 214 are communicated with each other through a through hole 218 formed in the partition wall 217. Further, the ink valve chamber 213 communicates with the lower end of the lower liquid chamber 212 through the through hole 219.

大気バルブ室214は、カートリッジ200の上部において、後壁202に形成された大気連通口221を通じてカートリッジ200の外部に連通されている。すなわち、大気バルブ室214は、一端(貫通孔218)が液室210(より詳細には、上部液室211)に連通され、且つ他端(大気連通口221)がカートリッジ200の外部に連通された第2流路の一例である。なお、大気バルブ室214は、大気連通口221を通じて、大気に連通している。また、大気バルブ室214には、バルブ222と、コイルバネ223とが位置している。バルブ222は、閉塞位置と開放位置との間を、前後方向8に沿って移動可能である。バルブ222は、閉塞位置に位置すると、大気連通口221を閉塞する。また、バルブ222は、開放位置に位置すると大気連通口221を開放する。コイルバネ223は、バルブ222を開放位置から閉塞位置に移動させる向き、すなわち前後方向8の後ろ向きに付勢している。   The atmospheric valve chamber 214 communicates with the outside of the cartridge 200 through the atmospheric communication port 221 formed in the rear wall 202 at the upper part of the cartridge 200. That is, the atmospheric valve chamber 214 has one end (through hole 218) communicated with the liquid chamber 210 (more specifically, the upper liquid chamber 211), and the other end (atmospheric communication port 221) communicated with the outside of the cartridge 200. It is an example of the 2nd channel. Note that the atmospheric valve chamber 214 communicates with the atmosphere through the atmospheric communication port 221. A valve 222 and a coil spring 223 are located in the atmospheric valve chamber 214. The valve 222 is movable along the front-rear direction 8 between a closed position and an open position. When the valve 222 is located at the closed position, the atmospheric communication port 221 is closed. Further, when the valve 222 is located at the open position, the air communication port 221 is opened. The coil spring 223 biases the valve 222 in a direction to move the valve 222 from the open position to the closed position, that is, in the rearward direction 8.

カートリッジ200が装着ケース150に装着される過程において、ロッド153が大気連通口221を通じて大気バルブ室214内に進入する。大気バルブ室214内に進入したロッド153は、閉塞位置のバルブ222をコイルバネ223の付勢力に抗して前向きに移動させる。そして、バルブ222が開放位置に移動することによって、上部液室211が大気に連通される。なお、大気連通口221を開放するための構成は、前述の例に限定されない。他の例として、大気連通口221を封止するフィルムをロッド153が突き破る構成でもよい。   In the process of mounting the cartridge 200 on the mounting case 150, the rod 153 enters the atmospheric valve chamber 214 through the atmospheric communication port 221. The rod 153 that has entered the atmospheric valve chamber 214 moves the valve 222 in the closed position forward against the biasing force of the coil spring 223. Then, when the valve 222 is moved to the open position, the upper liquid chamber 211 is communicated with the atmosphere. Note that the configuration for opening the atmosphere communication port 221 is not limited to the above example. As another example, the rod 153 may break through a film that seals the air communication port 221.

供給管230は、筐体201の下部において、後壁202から後方に突出している。供給管230は、その突出端(すなわち、後端)が開口されている。すなわち、インクバルブ室213は、貫通孔219を通じて連通された液室210と、カートリッジ200の外部とを連通させる。インクバルブ室213は、一端(貫通孔219)が液室210(より詳細には下部液室212)と連通され、且つ他端(後述するインク供給口234)がカートリッジ200の外部と連通された第1流路の一例である。また、インクバルブ室213には、パッキン231と、バルブ232と、コイルバネ233とが位置している。   The supply pipe 230 protrudes rearward from the rear wall 202 at the lower part of the housing 201. The supply pipe 230 has an open projecting end (that is, a rear end). That is, the ink valve chamber 213 communicates the liquid chamber 210 communicated through the through hole 219 and the outside of the cartridge 200. The ink valve chamber 213 has one end (through hole 219) communicated with the liquid chamber 210 (more specifically, the lower liquid chamber 212) and the other end (ink supply port 234 described later) communicated with the outside of the cartridge 200. It is an example of a 1st flow path. Further, a packing 231, a valve 232, and a coil spring 233 are located in the ink valve chamber 213.

パッキン231の中央には、前後方向8に貫通したインク供給口234が形成されている。インク供給口234の内径は、ニードル181の外径より僅かに小さい。バルブ232は、閉塞位置と開放位置との間を、前後方向8に沿って移動可能である。バルブ232は、閉塞位置に位置すると、パッキン231と当接してインク供給口234を閉塞する。また、バルブ232は、開放位置に位置すると、パッキン231から離間してインク供給口234を開放する。コイルバネ233は、バルブ232を開放位置から閉塞位置に移動させる向き、すなわち前後方向8の後ろ向きに付勢している。また、コイルバネ233の付勢力は、コイルバネ186より大きい。   In the center of the packing 231, an ink supply port 234 that penetrates in the front-rear direction 8 is formed. The inner diameter of the ink supply port 234 is slightly smaller than the outer diameter of the needle 181. The valve 232 is movable along the front-rear direction 8 between a closed position and an open position. When the valve 232 is located at the closing position, the ink supply port 234 is closed by contacting the packing 231. Further, when the valve 232 is located at the open position, it is separated from the packing 231 and opens the ink supply port 234. The coil spring 233 biases the valve 232 in a direction to move the valve 232 from the open position to the closed position, that is, in the backward direction in the front-rear direction 8. Further, the biasing force of the coil spring 233 is larger than the coil spring 186.

カートリッジ200が装着ケース150に装着される過程において、供給管230がガイド182内に進入し、やがてニードル181がインク供給口234を通じてインクバルブ室213に進入する。このとき、ニードル181は、パッキン231を弾性変形させつつ、インク供給口234を画定する内周面に液密に接触する。カートリッジ200が装着ケース150へさらに挿入されると、ニードル181は、バルブ232をコイルバネ233の付勢力に抗して前向きに移動させる。また、バルブ232は、ニードル181の開口183から突出するバルブ185を、コイルバネ186の付勢力に抗して後ろ向きに移動させる。   In the process of mounting the cartridge 200 in the mounting case 150, the supply pipe 230 enters the guide 182, and the needle 181 enters the ink valve chamber 213 through the ink supply port 234 before long. At this time, the needle 181 is in fluid-tight contact with the inner peripheral surface defining the ink supply port 234 while elastically deforming the packing 231. When the cartridge 200 is further inserted into the mounting case 150, the needle 181 moves the valve 232 forward against the biasing force of the coil spring 233. Further, the valve 232 moves the valve 185 protruding from the opening 183 of the needle 181 backwards against the urging force of the coil spring 186.

これにより、図5に示されるように、インク供給口234及び開口183が開放されて、供給管230のインクバルブ室213と、ニードル181の内部空間とが連通される。すなわち、装着ケース150にカートリッジ200が装着された状態において、インクバルブ室213及びニードル181の内部空間は、カートリッジ200の液室210とタンク160の液室171とを連通させる流路を構成する。   As a result, as shown in FIG. 5, the ink supply port 234 and the opening 183 are opened, and the ink valve chamber 213 of the supply pipe 230 communicates with the internal space of the needle 181. That is, in a state where the cartridge 200 is mounted in the mounting case 150, the ink valve chamber 213 and the internal space of the needle 181 constitute a flow path that connects the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160.

また、装着ケース150にカートリッジ200が装着された状態において、液室210の一部と、液室171の一部とは、水平方向から見て互いに重なる。その結果、液室210に貯留されたインクは、接続された供給管230及びジョイント180を通じて、水頭差によってタンク160の液室171に移動する。   Further, in a state where the cartridge 200 is mounted in the mounting case 150, a part of the liquid chamber 210 and a part of the liquid chamber 171 overlap each other when viewed in the horizontal direction. As a result, the ink stored in the liquid chamber 210 moves to the liquid chamber 171 of the tank 160 due to a water head difference through the connected supply pipe 230 and the joint 180.

上壁204には、突起241が形成されている。突起241は、上壁204の外面から上方に突出し且つ前後方向8に沿って延びている。突起241は、ロック面242と、傾斜面243とを有する。ロック面242及び傾斜面243は、上壁204より上方に位置している。ロック面242は、前後方向8の前方を向き且つ上下方向7及び左右方向9に延びている(すなわち、上壁204と概ね直交する)。傾斜面243は、上下方向7の上方及び前後方向8の後方を向くように、上壁204に対して傾斜している。   A protrusion 241 is formed on the upper wall 204. The protrusion 241 protrudes upward from the outer surface of the upper wall 204 and extends along the front-rear direction 8. The protrusion 241 has a lock surface 242 and an inclined surface 243. The lock surface 242 and the inclined surface 243 are located above the upper wall 204. The lock surface 242 faces the front in the front-rear direction 8 and extends in the up-down direction 7 and the left-right direction 9 (that is, substantially orthogonal to the upper wall 204). The inclined surface 243 is inclined with respect to the upper wall 204 so as to face upward in the vertical direction 7 and backward in the front-rear direction 8.

ロック面242は、装着ケース150にカートリッジ200が装着された状態において、ロックピン156に当接される面である。傾斜面243は、カートリッジ200が装着ケース150に装着される過程において、ロックピン156をロック面242と当接する位置まで案内する面である。ロック面242とロックピン156とが当接した状態では、コイルバネ186、223、233の付勢力に抗して、カートリッジ200が図5に示される装着位置に保持される。   The lock surface 242 is a surface that comes into contact with the lock pin 156 when the cartridge 200 is mounted on the mounting case 150. The inclined surface 243 is a surface that guides the lock pin 156 to a position in contact with the lock surface 242 in the process of mounting the cartridge 200 on the mounting case 150. When the lock surface 242 and the lock pin 156 are in contact with each other, the cartridge 200 is held at the mounting position shown in FIG. 5 against the urging force of the coil springs 186, 223, and 233.

ロック面242より前方において上壁204から上方へと延びるようにして、平板状の部材が形成されている。この平板状の部材の上面は、カートリッジ200を装着ケース150から抜去する際に、ユーザが操作する操作部244である。カートリッジ200が装着ケース150に装着された状態で且つカバー87が露出位置に位置しているとき、操作部244は、ユーザが操作可能となる。操作部244が下方へ押されると、カートリッジ200が回動することによって、ロック面242がロックピン156より下方へ移動する。その結果、カートリッジ200が装着ケース150から抜去することが可能となる。   A flat plate-like member is formed so as to extend upward from the upper wall 204 in front of the lock surface 242. The upper surface of the flat plate member is an operation unit 244 that is operated by the user when the cartridge 200 is removed from the mounting case 150. When the cartridge 200 is mounted on the mounting case 150 and the cover 87 is located at the exposure position, the operation unit 244 can be operated by the user. When the operation unit 244 is pressed downward, the cartridge 200 rotates to move the lock surface 242 downward from the lock pin 156. As a result, the cartridge 200 can be removed from the mounting case 150.

上壁204の外面で且つ突起241より後方には、遮光リブ245が形成されている。遮光リブ245は、上壁204の外面から上方に突出し且つ前後方向8に沿って延びている。遮光リブ245は、装着センサ154の発光部から出力される光を遮光する材料又は色で形成されている。遮光リブ245は、装着ケース150にカートリッジ200が装着された状態において、装着センサ154の発光部から受光部に至る光路上に位置する。すなわち、装着センサ154は、装着ケース150にカートリッジ200が装着されていることに基づいて、ローレベル信号をコントローラ130に出力する。一方、装着センサ154は、装着ケース150にカートリッジ200が装着されていないことに基づいて、ハイレベル信号をコントローラ130に出力する。すなわち、コントローラ130は、装着ケース150にカートリッジ200が装着されているか否かを、装着センサ154から出力される信号によって検出することができる。   A light shielding rib 245 is formed on the outer surface of the upper wall 204 and behind the protrusion 241. The light shielding rib 245 protrudes upward from the outer surface of the upper wall 204 and extends along the front-rear direction 8. The light shielding rib 245 is formed of a material or color that shields light output from the light emitting portion of the mounting sensor 154. The light shielding rib 245 is located on the optical path from the light emitting unit to the light receiving unit of the mounting sensor 154 when the cartridge 200 is mounted on the mounting case 150. That is, the mounting sensor 154 outputs a low level signal to the controller 130 based on the fact that the cartridge 200 is mounted in the mounting case 150. On the other hand, the mounting sensor 154 outputs a high level signal to the controller 130 based on the fact that the cartridge 200 is not mounted in the mounting case 150. That is, the controller 130 can detect whether or not the cartridge 200 is mounted on the mounting case 150 by a signal output from the mounting sensor 154.

上壁204の外面で且つ前後方向8における遮光リブ245及び突起241の間には、ICチップ247が位置している。ICチップ247には、電極248が形成されている。また、ICチップ247は、不図示のメモリを備える。電極248は、ICチップ247の上記メモリと電気的に接続されている。電極248は、ICチップ247の上面において、接点152と導通可能に露出されている。すなわち、カートリッジ200が装着ケース150に装着された状態において、電極248は、接点152と電気的に導通する。コントローラ130は、接点152及び電極248を通じてICチップ247のメモリから情報を読み出し、接点152及び電極248を通じてICチップ247のメモリに情報を書き込むことができる。   An IC chip 247 is located on the outer surface of the upper wall 204 and between the light shielding rib 245 and the protrusion 241 in the front-rear direction 8. An electrode 248 is formed on the IC chip 247. The IC chip 247 includes a memory (not shown). The electrode 248 is electrically connected to the memory of the IC chip 247. The electrode 248 is exposed on the upper surface of the IC chip 247 so as to be conductive with the contact 152. That is, the electrode 248 is electrically connected to the contact 152 in a state where the cartridge 200 is mounted on the mounting case 150. The controller 130 can read information from the memory of the IC chip 247 through the contact 152 and the electrode 248, and can write information into the memory of the IC chip 247 through the contact 152 and the electrode 248.

ICチップ247のメモリは、最大インク量Vc0と、粘度ρと、後述するインク量Vc、高さHc、誤差情報C、流路抵抗Rc、及び関数Fcとを記憶する。ICチップ247のメモリはカートリッジメモリの一例である。最大インク量Vc0は、カートリッジ200に貯留可能なインクの最大量を示す最大液体量の一例である。換言すれば、最大インク量Vc0は、新品のカートリッジ200に貯留されているインクの量を示す。粘度ρは、カートリッジ200に貯留されているインクの粘度を示す。以下、ICチップ247のメモリに記憶されている情報を総称して、「CTG情報」と表記することがある。また、「新品」とは、カートリッジ200から、カートリッジ200内のインクが一度も流出していない状態を示す。   The memory of the IC chip 247 stores a maximum ink amount Vc0, a viscosity ρ, an ink amount Vc, a height Hc, error information C, a flow path resistance Rc, and a function Fc described later. The memory of the IC chip 247 is an example of a cartridge memory. The maximum ink amount Vc0 is an example of the maximum liquid amount indicating the maximum amount of ink that can be stored in the cartridge 200. In other words, the maximum ink amount Vc0 indicates the amount of ink stored in the new cartridge 200. The viscosity ρ indicates the viscosity of the ink stored in the cartridge 200. Hereinafter, the information stored in the memory of the IC chip 247 may be collectively referred to as “CTG information”. “New” indicates a state in which the ink in the cartridge 200 has never flowed out of the cartridge 200.

ICチップ247のメモリの記憶領域は、例えば、第1領域と、第2領域と、第3領域とを含む。第1領域、第2領域、及び第3領域は、互いに異なるメモリ領域である。第1領域及び第3領域は、コントローラ130によって情報が上書きされない領域である。一方、第2領域は、コントローラ130によって情報が上書き可能な領域である。そして、第1領域に流路抵抗Rc及び関数Fcが記憶され、第2領域にインク量Vc、高さHc、及び誤差情報Cが記憶され、第3領域に最大インク量Vc0が記憶される。   The storage area of the memory of the IC chip 247 includes, for example, a first area, a second area, and a third area. The first area, the second area, and the third area are different memory areas. The first area and the third area are areas in which information is not overwritten by the controller 130. On the other hand, the second area is an area where information can be overwritten by the controller 130. The flow path resistance Rc and the function Fc are stored in the first area, the ink amount Vc, the height Hc, and the error information C are stored in the second area, and the maximum ink amount Vc0 is stored in the third area.

[コントローラ130]
コントローラ130は、図6に示されるように、CPU131、ROM132、RAM133、EEPROM134、及びASIC135を備えている。ROM132には、CPU131が各種動作を制御するためのプログラムなどが格納されている。RAM133は、CPU131が上記プログラムを実行する際に用いるデータや信号等を一時的に記録する記憶領域、或いはデータ処理の作業領域として使用される。EEPROM134には、電源オフ後も保持すべき設定情報が格納される。ROM132、RAM133、及びEEPROM134は、装置メモリの一例である。
[Controller 130]
The controller 130 includes a CPU 131, a ROM 132, a RAM 133, an EEPROM 134, and an ASIC 135, as shown in FIG. The ROM 132 stores a program for the CPU 131 to control various operations. The RAM 133 is used as a storage area for temporarily recording data and signals used when the CPU 131 executes the program, or as a work area for data processing. The EEPROM 134 stores setting information to be retained even after the power is turned off. The ROM 132, RAM 133, and EEPROM 134 are examples of device memory.

ASIC135は、給送ローラ23、搬送ローラ25、排出ローラ27、及びヘッド21を作動させるためのものである。コントローラ130は、ASIC135を通じて不図示のモータを駆動させることによって、給送ローラ23、搬送ローラ25、及び排出ローラ27を回転させる。また、コントローラ130は、ASIC135を通じてヘッド21の駆動素子に駆動信号を出力することによって、ヘッド21にノズル29を通じてインクを吐出させる。ASIC135は、ノズル29を通じて吐出すべきインクの量に基づいて、複数種類の駆動信号を出力可能である。   The ASIC 135 is for operating the feed roller 23, the transport roller 25, the discharge roller 27, and the head 21. The controller 130 rotates the feed roller 23, the transport roller 25, and the discharge roller 27 by driving a motor (not shown) through the ASIC 135. Further, the controller 130 outputs a drive signal to the drive element of the head 21 through the ASIC 135, thereby causing the head 21 to eject ink through the nozzle 29. The ASIC 135 can output a plurality of types of drive signals based on the amount of ink to be ejected through the nozzles 29.

また、ASIC135には、ディスプレイ17と、操作パネル22とが接続されている。ディスプレイ17は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示面を備える。ディスプレイ17は、報知機の一例である。但し、報知機の具体例はディスプレイ17に限定されず、スピーカ、LEDランプ、或いはこれらの組み合わせでもよい。操作パネル22は、ユーザによる操作に応じた操作信号をコントローラ130に出力する。操作パネル22は、例えば、押ボタンを有していてもよいし、ディスプレイに重畳されたタッチセンサを有していてもよい。   Further, the display 17 and the operation panel 22 are connected to the ASIC 135. The display 17 is a liquid crystal display, an organic EL display, or the like, and includes a display surface that displays various types of information. The display 17 is an example of a notification device. However, a specific example of the alarm is not limited to the display 17 and may be a speaker, an LED lamp, or a combination thereof. The operation panel 22 outputs an operation signal corresponding to the operation by the user to the controller 130. The operation panel 22 may have, for example, a push button or a touch sensor superimposed on a display.

さらに、ASIC135には、接点152と、カバーセンサ88と、装着センサ154と、液面センサ155とが電気的に接続されている。コントローラ130は、装着ケース150に装着されたカートリッジ200のICチップ247のメモリに、接点152を通じてアクセスする。コントローラ130は、カバー87の位置をカバーセンサ88を通じて検出する。また、コントローラ130は、カートリッジ200の挿抜を装着センサ154を通じて検出する。さらに、コントローラ130は、液室171内のインクの液面が境界位置P以上か否かを液面センサ155を通じて検出する。   Further, the contact point 152, the cover sensor 88, the mounting sensor 154, and the liquid level sensor 155 are electrically connected to the ASIC 135. The controller 130 accesses the memory of the IC chip 247 of the cartridge 200 attached to the attachment case 150 through the contact 152. The controller 130 detects the position of the cover 87 through the cover sensor 88. Further, the controller 130 detects the insertion / extraction of the cartridge 200 through the mounting sensor 154. Further, the controller 130 detects whether or not the liquid level of the ink in the liquid chamber 171 is equal to or higher than the boundary position P through the liquid level sensor 155.

EEPROM134は、装着ケース150に装着される4つのカートリッジ200それぞれに対応付けて、換言すれば、カートリッジ200と連通されるタンク160それぞれに対応付けて、各種情報を記憶している。各種情報とは、例えば、液体量の一例であるインク量Vc、Vsと、最大インク量Vc0と、高さHc、Hsと、誤差情報C、Sと、誤差フラグと、流路抵抗Rc、Rs、Rnと、関数Fc、Fsと、C_Emptyフラグと、S_Emptyフラグと、カウント値Nとを含む。   The EEPROM 134 stores various information in association with each of the four cartridges 200 mounted on the mounting case 150, in other words, in association with each of the tanks 160 communicated with the cartridge 200. The various types of information include, for example, ink amounts Vc and Vs, which are examples of the liquid amount, maximum ink amount Vc0, heights Hc and Hs, error information C and S, error flags, and channel resistances Rc and Rs. , Rn, functions Fc, Fs, C_Empty flag, S_Empty flag, and count value N.

なお、最大インク量Vc0、インク量Vc、高さHc、誤差情報C、流路抵抗Rc、及び関数Fcは、カートリッジ200が装着ケース150に装着された状態で、接点152を通じてICチップ247のメモリからコントローラ130によって読み出される情報である。また、流路抵抗Rc、Rn及び関数Fsは、EEPROM134に代えて、ROM132に記憶されていてもよい。   The maximum ink amount Vc0, the ink amount Vc, the height Hc, the error information C, the flow path resistance Rc, and the function Fc are stored in the memory of the IC chip 247 through the contact 152 in a state where the cartridge 200 is mounted on the mounting case 150. Information read out by the controller 130. Further, the channel resistances Rc and Rn and the function Fs may be stored in the ROM 132 instead of the EEPROM 134.

インク量Vcは、カートリッジ200の液室210に貯留されているインクの量を示す。インク量Vsは、タンク160の液室171に貯留されているインクの量を示す。インク量Vc、Vsは、例えば、後述する式3、4によって算出される。   The ink amount Vc indicates the amount of ink stored in the liquid chamber 210 of the cartridge 200. The ink amount Vs indicates the amount of ink stored in the liquid chamber 171 of the tank 160. The ink amounts Vc and Vs are calculated by, for example, equations 3 and 4 described later.

高さHcは、カートリッジ200に貯留されているインクの液面と基準位置との上下方向の高さを示す。高さHsは、タンク160に貯留されているインクの液面と基準位置との上下方向の高さを示す。一例として、基準位置は、ニードル181の内部空間の中心を通り水平方向(より詳細には、前後方向8)に沿って延びる仮想線の位置でもよい。他の例として、基準位置は、境界位置Pと同じ位置でもよい。高さHc、Hsは、例えば、式5、6によって算出される。   The height Hc indicates the height in the vertical direction between the liquid level of the ink stored in the cartridge 200 and the reference position. The height Hs indicates the height in the vertical direction between the liquid level of the ink stored in the tank 160 and the reference position. As an example, the reference position may be a position of an imaginary line that extends along the horizontal direction (more specifically, the front-rear direction 8) through the center of the internal space of the needle 181. As another example, the reference position may be the same position as the boundary position P. The heights Hc and Hs are calculated by equations 5 and 6, for example.

誤差情報Cは、カートリッジ200の液室210に実際に貯留されているインクの量と、ICチップ247のメモリから読み出したインク量Vcとの間の誤差の大きさを示す情報である。誤差情報S(タンク誤差情報の一例)は、タンク160の液室171に実際に貯留されているインクの量と、EEPROM134に記憶されているインク量Vsとの間の誤差の大きさを示す情報である。誤差情報C、Sには、誤差が閾値誤差未満であることに対応する“小”、或いは誤差が閾値誤差以上であることに対応する“大”が設定される。   The error information C is information indicating the magnitude of the error between the amount of ink actually stored in the liquid chamber 210 of the cartridge 200 and the ink amount Vc read from the memory of the IC chip 247. The error information S (an example of tank error information) is information indicating the magnitude of the error between the amount of ink actually stored in the liquid chamber 171 of the tank 160 and the ink amount Vs stored in the EEPROM 134. It is. In the error information C and S, “small” corresponding to the error being smaller than the threshold error or “large” corresponding to the error being equal to or larger than the threshold error is set.

誤差フラグは、装着ケース150にカートリッジ200が装着された時点において、誤差情報C、Sの少なくとも一方に“大”が設定されていたか否かを示す情報である。誤差フラグには、誤差情報C、Sの少なくとも一方に“大”が設定されていたことに対応する“ON”、或いは誤差情報C、Sの両方に“小”が設定されていたことに対応する“OFF”が設定される。   The error flag is information indicating whether or not “large” is set in at least one of the error information C and S when the cartridge 200 is mounted in the mounting case 150. Corresponding to “ON” corresponding to the fact that “large” is set in at least one of the error information C and S, or “small” being set in both of the error information C and S in the error flag. “OFF” is set.

流路抵抗Rcは、大気バルブ室214を通過する空気が受ける抵抗の大きさを示す。より詳細には、流路抵抗Rcは、大気連通口221から貫通孔218に至る流路に位置する半透膜を空気が通過する際の抵抗を示す。流路抵抗Rsは、大気連通室175を通過する空気が受ける抵抗の大きさを示す。より詳細には、流路抵抗Rsは、大気連通ポート177から貫通孔176に至る流路に位置する半透膜を空気が通過する際の抵抗を示す。流路抵抗Raは、連通されたインクバルブ室213及びニードル181の内部空間を通過するインクが受ける抵抗の大きさを示す。より詳細には、流路抵抗Raは、インクバルブ室213を通過するインクが受ける抵抗の大きさ、ニードル181の内部空間を通過するインクが受ける抵抗の大きさの一方或いは両方を示す。   The flow path resistance Rc indicates the magnitude of resistance received by the air passing through the atmospheric valve chamber 214. More specifically, the flow path resistance Rc indicates the resistance when air passes through the semipermeable membrane located in the flow path from the atmosphere communication port 221 to the through hole 218. The flow path resistance Rs indicates the magnitude of resistance received by the air passing through the atmosphere communication chamber 175. More specifically, the flow path resistance Rs indicates the resistance when air passes through the semipermeable membrane located in the flow path from the atmosphere communication port 177 to the through hole 176. The flow path resistance Ra indicates the magnitude of the resistance received by the ink passing through the internal space of the ink valve chamber 213 and the needle 181 communicated with each other. More specifically, the flow path resistance Ra indicates one or both of the magnitude of the resistance received by the ink passing through the ink valve chamber 213 and the magnitude of the resistance received by the ink passing through the internal space of the needle 181.

関数Fcは、インク量Vc及び高さHcの対応関係を示す第1対応情報の一例である。カートリッジ200の液室210の水平断面積Dcが上下方向7において変化する場合、関数Fcは、インク量Vc及び高さHcを変数として、カートリッジ200の設計時に予め決定される。一方、上下方向7における水平断面積Dcが一定の場合、関数Fc=Vc/Dcとなる。第1対応情報は、関数の形式に限定されず、対応するインク量Vc及び高さHcの複数のセットを含むテーブルの形式であってもよい。   The function Fc is an example of first correspondence information indicating a correspondence relationship between the ink amount Vc and the height Hc. When the horizontal sectional area Dc of the liquid chamber 210 of the cartridge 200 changes in the vertical direction 7, the function Fc is determined in advance when the cartridge 200 is designed with the ink amount Vc and the height Hc as variables. On the other hand, when the horizontal sectional area Dc in the vertical direction 7 is constant, the function Fc = Vc / Dc. The first correspondence information is not limited to a function format, and may be a table format including a plurality of sets of corresponding ink amounts Vc and heights Hc.

関数Fsは、インク量Vs及び高さHsの対応関係を示す第2対応情報の一例である。タンク160の液室171の水平断面積Dsが上下方向7において変化する場合、関数Fsは、インク量Vs及び高さHsを変数として、タンク160の設計時に予め決定される。一方、上下方向7における水平断面積Dsが一定の場合、関数Fs=Vs/Dsとなる。なお、第2対応情報は、関数の形式に限定されず、対応するインク量Vc及び高さHcの複数のセットを含むテーブルの形式であってもよい。   The function Fs is an example of second correspondence information indicating a correspondence relationship between the ink amount Vs and the height Hs. When the horizontal sectional area Ds of the liquid chamber 171 of the tank 160 changes in the vertical direction 7, the function Fs is determined in advance when the tank 160 is designed with the ink amount Vs and the height Hs as variables. On the other hand, when the horizontal sectional area Ds in the vertical direction 7 is constant, the function Fs = Vs / Ds. The second correspondence information is not limited to the function format, and may be a table format including a plurality of sets of corresponding ink amounts Vc and heights Hc.

カウント値Nは、液面センサ155から出力される信号がローレベル信号からハイレベル信号に変化した後に、ヘッド21に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値で、閾値Nth1、Nth2に近づく向きに更新される値である。カウント値Nは、初期値を“0”としてカウントアップされる値である。また、閾値Nth1は、流出口174の上端と境界位置Pとの間の液室171の容積Vthに相当する。閾値Nth2は、閾値Nth1よりカウント値Nの初期値に近い値(すなわち、Nth1>Nth2)である。カウント値Nは排出量の一例であり、容積Vthは閾値量の一例である。但し、カウント値Nは、容積Vthに相当する値を初期値として、カウントダウンされる値でもよい。この場合の閾値Nth1は0となり、閾値Nth2は0<Nth2<Vth1となる。 The count value N is equal to the ink discharge amount Dh (that is, the ink amount indicated by the drive signal) that instructs the head 21 to discharge after the signal output from the liquid level sensor 155 changes from the low level signal to the high level signal. This is a corresponding value that is updated in a direction approaching the thresholds N th1 and N th2 . The count value N is a value counted up with an initial value of “0”. The threshold value N th1 corresponds to the volume V th of the liquid chamber 171 between the upper end of the outlet 174 and the boundary position P. The threshold value N th2 is a value closer to the initial value of the count value N than the threshold value N th1 (that is, N th1 > N th2 ). The count value N is an example of the discharge amount, and the volume Vth is an example of the threshold amount. However, the count value N may be a value counted down using a value corresponding to the volume Vth as an initial value. In this case, the threshold value N th1 is 0, and the threshold value N th2 is 0 <N th2 <V th1 .

C_Emptyフラグは、カートリッジ200がカートリッジエンプティ状態か否かを示す情報である。C_Emptyフラグには、カートリッジエンプティ状態であることに対応する値“ON”、或いはカートリッジエンプティ状態でないことに対応する値“OFF”が設定される。カートリッジエンプティ状態とは、カートリッジ200(より詳細には、液室210)にインクが実質的に貯留されていない状態である。換言すれば、カートリッジエンプティ状態とは、連通されたカートリッジ200からタンク160にインクが移動しない状態である。さらに換言すれば、カートリッジエンプティ状態とは、当該カートリッジ200に連通されたタンク160の液面が境界位置P未満の状態である。   The C_Empty flag is information indicating whether or not the cartridge 200 is in a cartridge empty state. In the C_Empty flag, a value “ON” corresponding to the cartridge empty state or a value “OFF” corresponding to the cartridge empty state is set. The cartridge empty state is a state in which ink is not substantially stored in the cartridge 200 (more specifically, the liquid chamber 210). In other words, the cartridge empty state is a state where ink does not move from the connected cartridge 200 to the tank 160. In other words, the cartridge empty state is a state where the liquid level of the tank 160 communicated with the cartridge 200 is less than the boundary position P.

S_Emptyフラグは、タンク160がインクエンプティ状態か否かを示す情報である。S_Emptyフラグには、インクエンプティ状態であることに対応する値“ON”、或いはインクエンプティ状態でないことに対応する値“OFF”が設定される。インクエンプティ状態とは、例えば、タンク160(より詳細には、液室171)に貯留されたインクの液面が流出口174の上端の位置に達した状態である。換言すれば、インクエンプティ状態とは、カウント値Nが閾値Nth以上の状態である。インクエンプティ状態になった後にヘッド21によるインクの吐出を継続すると、ノズル29内がインクで満たされず、空気が混入してしまう(所謂、エアイン)可能性がある。すなわち、インクエンプティ状態は、ヘッド21を通じたインクの排出を禁止しなければならない状態である。 The S_Empty flag is information indicating whether or not the tank 160 is in an ink empty state. In the S_Empty flag, a value “ON” corresponding to the ink empty state or a value “OFF” corresponding to not being in the ink empty state is set. The in-empty state is a state in which, for example, the liquid level of the ink stored in the tank 160 (more specifically, the liquid chamber 171) has reached the upper end position of the outlet 174. In other words, the ink empty state, the count value N is at or above the threshold value N th. If the ejection of ink by the head 21 is continued after entering the inempty state, the inside of the nozzle 29 may not be filled with ink, and air may be mixed (so-called air-in). That is, the ink empty state is a state in which the discharge of ink through the head 21 must be prohibited.

[プリンタ10の動作]
図7〜図10を参照して、本実施形態に係るプリンタ10の動作を説明する。図7〜図10に示される各処理は、コントローラ130のCPU131によって実行される。なお、以下の各処理は、ROM132に記憶されているプログラムをCPU131が読み出して実行してもよいし、コントローラ130に搭載されたハードウェア回路によって実現されてもよい。また、以下の各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。
[Operation of Printer 10]
The operation of the printer 10 according to the present embodiment will be described with reference to FIGS. Each process shown in FIGS. 7 to 10 is executed by the CPU 131 of the controller 130. Note that the following processes may be executed by the CPU 131 reading out and executing a program stored in the ROM 132, or may be realized by a hardware circuit mounted on the controller 130. In addition, the execution order of the following processes can be changed as appropriate without departing from the scope of the present invention.

[画像記録処理]
コントローラ130は、プリンタ10に記録指示が入力されたことに基づいて、図7に示される画像記録処理を実行する。記録指示は、画像データで示される画像をシートに記録する記録処理をプリンタ10に実行させるための排出指示の一例である。記録指示の取得先は特に限定されないが、例えば、記録指示に対応するユーザ操作を操作パネル22を通じて受け付けてもよいし、不図示の通信インタフェースを通じて外部装置から受信してもよい。
[Image recording processing]
The controller 130 executes the image recording process shown in FIG. 7 based on the input of the recording instruction to the printer 10. The recording instruction is an example of a discharge instruction for causing the printer 10 to execute a recording process for recording an image indicated by image data on a sheet. The acquisition destination of the recording instruction is not particularly limited. For example, a user operation corresponding to the recording instruction may be received through the operation panel 22 or may be received from an external device through a communication interface (not shown).

まず、コントローラ130は、4つのS_Emptyフラグそれぞれの設定値を判断する(S11)。そして、コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていると判断したことに基づいて(S11:ON)、S_Empty報知画面をディスプレイ17に表示させる(S12)。S_Empty報知画面は、対応するタンク160がインクエンプティ状態になったことを、ユーザに報知するための画面である。S_Empty報知画面は、例えば、インクエンプティ状態のタンク160に貯留されているインクの色、インク量Vc、Vs、及び誤差情報C、Sを示す情報を含んでもよい。   First, the controller 130 determines the set values of the four S_Empty flags (S11). Then, based on the determination that “ON” is set in at least one of the four S_Empty flags (S11: ON), the controller 130 displays the S_Empty notification screen on the display 17 (S12). The S_Empty notification screen is a screen for notifying the user that the corresponding tank 160 is in an ink empty state. The S_Empty notification screen may include, for example, information indicating the color of the ink stored in the tank 160 in the ink empty state, the ink amounts Vc and Vs, and the error information C and S.

また、コントローラ130は、“ON”が設定されたS_Emptyフラグに対応するカートリッジ200それぞれに対して、S13〜S17の処理を実行する。すなわち、S13〜S17の処理は、4つのカートリッジ200のうち、対応するS_Emptyフラグに“ON”が設定されたカートリッジ200それぞれに対して実行される。カートリッジ200毎のS13〜S17の処理は共通するので、1つのカートリッジ200に対応するS13〜S17の処理のみを説明する。   In addition, the controller 130 executes the processes of S13 to S17 for each of the cartridges 200 corresponding to the S_Empty flag for which “ON” is set. That is, the processes of S13 to S17 are executed for each of the four cartridges 200 in which the corresponding S_Empty flag is set to “ON”. Since the processes of S13 to S17 for each cartridge 200 are common, only the processes of S13 to S17 corresponding to one cartridge 200 will be described.

まず、コントローラ130は、装着センサ154が出力する信号を取得する(S13)。次に、コントローラ130は、装着センサ154から取得した信号がハイレベル信号及びローレベル信号のどちらであるかを判断する(S14)。そして、コントローラ130は、装着センサ154が出力する信号がローレベル信号からハイレベル信号に変化するまで(S14:No)、所定の時間間隔でS13、S14の処理を繰り返し実行する。換言すれば、コントローラ130は、カートリッジ200が装着ケース150から抜き出されるまで、S13、S14の処理を繰り返し実行する。   First, the controller 130 acquires a signal output from the mounting sensor 154 (S13). Next, the controller 130 determines whether the signal acquired from the mounting sensor 154 is a high level signal or a low level signal (S14). Then, the controller 130 repeatedly executes the processes of S13 and S14 at predetermined time intervals until the signal output from the mounting sensor 154 changes from the low level signal to the high level signal (S14: No). In other words, the controller 130 repeatedly executes the processes of S13 and S14 until the cartridge 200 is removed from the mounting case 150.

そして、コントローラ130は、装着センサ154からローレベル信号を取得し、その後に装着センサ154からハイレベル信号を取得したことに基づいて(S14:Yes)、CTG交換処理を実行する(S15)。CTG交換処理は、装着ケース150に新たに装着されたカートリッジ200のCTG情報を、EEPROM134に記憶させる処理である。CTG交換処理の詳細は、図8(A)を参照して後述する。また、コントローラ130は、C_Emptyフラグに初期値“OFF”を設定し、S_Emptyフラグに初期値“OFF”を設定し、カウント値Nに初期値“0”を設定する(S16)。さらに、コントローラ130は、残量更新処理を実行する(S17)。残量更新処理は、EEPROM134に記憶されたインク量Vc、Vs及び高さHc、Hsを更新する処理である。残量更新処理の詳細は、図9を参照して後述する。   Then, the controller 130 acquires a low level signal from the mounting sensor 154 and then acquires a high level signal from the mounting sensor 154 (S14: Yes), and executes a CTG exchange process (S15). The CTG exchange process is a process for storing the CTG information of the cartridge 200 newly mounted in the mounting case 150 in the EEPROM 134. Details of the CTG exchange processing will be described later with reference to FIG. Further, the controller 130 sets the initial value “OFF” in the C_Empty flag, sets the initial value “OFF” in the S_Empty flag, and sets the initial value “0” in the count value N (S16). Furthermore, the controller 130 executes a remaining amount update process (S17). The remaining amount update process is a process for updating the ink amounts Vc and Vs and the heights Hc and Hs stored in the EEPROM 134. Details of the remaining amount update processing will be described later with reference to FIG.

また詳細は後述するが、コントローラ130は、残量更新処理と並行して或いは残量更新処理が終了したことに基づいて、S11以降の処理を再び実行する。そして、コントローラ130は、4つのS_Emptyフラグの全てに“OFF”が設定されていることに基づいて(S11:OFF)、現時点で4つの液面センサ155それぞれから出力されている信号を取得する(S18)。さらにS18において、コントローラ130は、液面センサ155から取得した信号がハイレベル信号及びローレベル信号のどちらかを示す情報を、RAM133に記憶させる。   Although details will be described later, the controller 130 executes the processes from S11 onward again in parallel with the remaining amount update process or based on the completion of the remaining amount update process. Then, based on the fact that all the four S_Empty flags are set to “OFF” (S11: OFF), the controller 130 acquires signals output from the four liquid level sensors 155 at the present time ( S18). Further, in S <b> 18, the controller 130 stores information indicating whether the signal acquired from the liquid level sensor 155 is either a high level signal or a low level signal in the RAM 133.

そして、コントローラ130は、記録指示に含まれる画像データで示される画像をシートに記録する(S19)。より詳細には、コントローラ130は、給送トレイ15上のシートを給送ローラ23及び搬送ローラ25に搬送させ、ヘッド21にインクを吐出させ、画像が記録されたシートを排出ローラ27に排出トレイ16へ排出させる。すなわち、コントローラ130は、4つのS_Emptyフラグの全てに“OFF”が設定されているときにインクの吐出を許可する。一方、コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されているときにインクの吐出を禁止する。   Then, the controller 130 records the image indicated by the image data included in the recording instruction on the sheet (S19). More specifically, the controller 130 causes the sheet on the feeding tray 15 to be conveyed to the feeding roller 23 and the conveying roller 25, causes the ink to be ejected by the head 21, and causes the sheet on which the image is recorded to be ejected to the ejection roller 27. 16 to discharge. That is, the controller 130 permits ink ejection when all four S_Empty flags are set to “OFF”. On the other hand, the controller 130 prohibits ink ejection when “ON” is set in at least one of the four S_Empty flags.

次に、コントローラ130は、記録指示に従ってシートに画像を記録したことに基づいて、現時点で4つの液面センサ155それぞれから出力されている信号を取得する(S20)。S20において、S18と同様に、コントローラ130は、液面センサ155から取得した信号がハイレベル信号及びローレベル信号のどちらかを示す情報を、RAM133に記憶させる。そして、コントローラ130は、カウント処理を実行する(S21)。カウント処理は、S18、S20で液面センサ155から取得した信号に基づいて、カウント値N、C_Emptyフラグ、及びS_Emptyフラグを更新する処理である。カウント処理の詳細は、図10を参照して後述する。   Next, the controller 130 acquires signals currently output from each of the four liquid level sensors 155 based on recording an image on the sheet according to the recording instruction (S20). In S20, as in S18, the controller 130 causes the RAM 133 to store information indicating whether the signal acquired from the liquid level sensor 155 is a high level signal or a low level signal. And the controller 130 performs a count process (S21). The count process is a process of updating the count value N, the C_Empty flag, and the S_Empty flag based on the signals acquired from the liquid level sensor 155 in S18 and S20. Details of the counting process will be described later with reference to FIG.

次に、コントローラ130は、記録指示で示された全ての画像をシートに記録するまで(S22:Yes)、S11〜S21の処理を繰り返し実行する。そして、コントローラ130は、記録指示で示される全ての画像をシートに記録したことに基づいて(S22:No)、4つのS_Emptyフラグそれぞれの設定値及び4つのC_Emptyフラグそれぞれの設定値を判断する(S23、S24)。   Next, the controller 130 repeatedly executes the processes of S11 to S21 until all the images indicated by the recording instruction are recorded on the sheet (S22: Yes). Then, the controller 130 determines the setting values of the four S_Empty flags and the setting values of the four C_Empty flags based on the fact that all the images indicated by the recording instructions are recorded on the sheet (S22: No). S23, S24).

コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていることに基づいて(S23:ON)、S_Empty報知画面をディスプレイ17に表示させる(S25)。また、コントローラ130は、4つのS_Emptyフラグの全てに“OFF”が設定されており、且つ4つのC_Emptyフラグの少なくとも1つに“ON”が設定されていることに基づいて(S23:OFF&S24:ON)、C_Empty報知画面をディスプレイ17に表示させる(S26)。   Based on the fact that “ON” is set in at least one of the four S_Empty flags (S23: ON), the controller 130 displays the S_Empty notification screen on the display 17 (S25). Further, the controller 130 is based on the fact that all four S_Empty flags are set to “OFF” and at least one of the four C_Empty flags is set to “ON” (S23: OFF & S24: ON). ), A C_Empty notification screen is displayed on the display 17 (S26).

S25で表示されるS_Empty報知画面は、S12と同様であってもよい。また、C_Empty報知画面は、“ON”が設定されたC_Emptyフラグに対応するカートリッジ200がカートリッジエンプティ状態になったことを、ユーザに報知するための画面である。C_Empty報知画面は、例えば、カートリッジエンプティ状態のカートリッジ200に貯留されているインクの色、インク量Vc、Vs、及び誤差情報C、Sを示す情報を含んでもよい。一方、コントローラ130は、4つのS_Emptyフラグ及び4つのC_Emptyフラグの全てに“OFF”が設定されていることに基づいて(S24:OFF)、S25、S26の処理を実行せずに、画像記録処理を終了する。   The S_Empty notification screen displayed in S25 may be the same as S12. The C_Empty notification screen is a screen for notifying the user that the cartridge 200 corresponding to the C_Empty flag for which “ON” is set is in a cartridge empty state. The C_Empty notification screen may include, for example, information indicating the color of the ink stored in the cartridge 200 in the cartridge empty state, the ink amounts Vc and Vs, and the error information C and S. On the other hand, based on the fact that all four S_Empty flags and four C_Empty flags are set to “OFF” (S24: OFF), the controller 130 performs the image recording process without executing the processes of S25 and S26. Exit.

なお、排出指示の具体例は記録指示に限定されず、ノズル29のメンテナンスを指示するメンテナンス指示等であってもよい。コントローラ130は、例えばメンテナンス指示を取得したことに基づいて、図7と同様の処理を実行する。メンテナンス指示を取得した場合の前述の処理との相違点は、以下の通りである。まず、コントローラ130は、S19において、不図示のメンテナンス機構を駆動させて、ノズル29を通じてインクを排出させる。また、コントローラ130は、カウント処理を実行した後にS22の処理を実行することなく、S23以降の処理を実行する。   A specific example of the discharge instruction is not limited to the recording instruction, and may be a maintenance instruction for instructing the maintenance of the nozzles 29. For example, the controller 130 executes the same processing as in FIG. 7 based on the acquisition of the maintenance instruction. Differences from the above-described processing when a maintenance instruction is acquired are as follows. First, in step S <b> 19, the controller 130 drives a maintenance mechanism (not shown) to discharge ink through the nozzles 29. Further, the controller 130 executes the processing after S23 without executing the processing of S22 after executing the counting processing.

[CTG交換処理]
次に図8(A)を参照して、S15でコントローラ130が実行するCTG交換処理の詳細を説明する。まず、コントローラ130は、装着センサ154が出力する信号を取得する(S31)。次に、コントローラ130は、装着センサ154から取得した信号がハイレベル信号及びローレベル信号のどちらであるかを判断する(S32)。そして、コントローラ130は、装着センサ154が出力する信号がハイレベル信号からローレベル信号に変化するまで(S32:No)、所定の時間間隔でS31、S32の処理を繰り返し実行する。換言すれば、コントローラ130は、新たにカートリッジ200が装着ケース150に装着されるまで、S31、S32の処理を繰り返し実行する。
[CTG exchange process]
Next, the details of the CTG exchange process executed by the controller 130 in S15 will be described with reference to FIG. First, the controller 130 acquires a signal output from the mounting sensor 154 (S31). Next, the controller 130 determines whether the signal acquired from the mounting sensor 154 is a high level signal or a low level signal (S32). Then, the controller 130 repeatedly executes the processing of S31 and S32 at predetermined time intervals until the signal output from the mounting sensor 154 changes from the high level signal to the low level signal (S32: No). In other words, the controller 130 repeatedly executes the processes of S31 and S32 until a new cartridge 200 is mounted in the mounting case 150.

そして、コントローラ130は、装着センサ154からハイレベル信号を取得し、その後に装着センサ154からローレベル信号を取得したことに基づいて(S32:Yes)、接点152を通じてICチップ247のメモリからCTG情報を読み出す(S33)。さらに、S33において、コントローラ130は、読み出したCTG情報をEEPROM134に記憶させる。次に、コントローラ130は、誤差情報C、SをEEPROM134から読み出し、読み出した誤差情報C、Sそれぞれの設定値を判断する(S34、S35)。   Then, the controller 130 acquires the high level signal from the mounting sensor 154 and then acquires the low level signal from the mounting sensor 154 (S32: Yes), the CTG information from the memory of the IC chip 247 through the contact 152. Is read (S33). Further, in S <b> 33, the controller 130 stores the read CTG information in the EEPROM 134. Next, the controller 130 reads the error information C and S from the EEPROM 134, and determines the set values of the read error information C and S (S34 and S35).

次に、コントローラ130は、読み出した誤差情報C、Sの両方に“小”が設定されていると判断したことに基づいて(S34:小&S35:小)、誤差フラグに“OFF”を設定する(S36)。一方、コントローラ130は、読み出した誤差情報C、Sの少なくとも一方に“大”が設定されていると判断したことに基づいて(S34:大/S35:大)、誤差フラグに“ON”を設定する(S37)。   Next, the controller 130 sets “OFF” in the error flag based on the determination that “small” is set in both of the read error information C and S (S34: small & S35: small). (S36). On the other hand, the controller 130 sets “ON” in the error flag based on the determination that “large” is set in at least one of the read error information C and S (S34: large / S35: large). (S37).

[残量更新処理]
次に図9を参照して、S17でコントローラ130が実行する残量更新処理の詳細を説明する。なお、以下の説明では、図11(A)に示されるように、タンク160内にインクが貯留されていない状態の装着ケース150に、新品(すなわち、最大インク量Vc0のインクが貯留された)カートリッジ200が装着された場合を前提とする。また、残量更新処理は、S32で新たにカートリッジ200の装着を検出した時刻tk−1から期間Δtが経過した時刻tに実行されるものとする。すなわち、この場合の期間Δt=t−tk−1である。
[Remaining amount update processing]
Next, the details of the remaining amount update process executed by the controller 130 in S17 will be described with reference to FIG. In the following description, as shown in FIG. 11A, a new product (that is, ink having the maximum ink amount Vc0 is stored) in the mounting case 150 in a state where ink is not stored in the tank 160. It is assumed that the cartridge 200 is mounted. Further, the remaining amount updating processing is to be executed at time t k newly time t k-1 from a period Δt of detecting the mounting of the cartridge 200 has elapsed S32. That is, the period Δt = t k −t k−1 in this case.

まず、コントローラ130は、対応するC_Emptyフラグの設定値を判断する(S51)。S17で実行される残量更新処理の開始時点では、S16でC_Emptyフラグに“OFF”が設定されている。次に、コントローラ130は、C_Emptyフラグに“OFF”が設定されていると判断したことに基づいて(S51:OFF)、残量算出処理を実行する(S52)。残量算出処理は、流出量Qa、Qc、インク量Vc、Vs、高さHc、Hs、及び誤差情報C、Sを算出する処理である。図7(B)を参照して、残量算出処理の詳細を説明する。   First, the controller 130 determines the setting value of the corresponding C_Empty flag (S51). At the start of the remaining amount update process executed in S17, “OFF” is set in the C_Empty flag in S16. Next, the controller 130 executes a remaining amount calculation process based on the determination that “OFF” is set in the C_Empty flag (S51: OFF) (S52). The remaining amount calculation process is a process for calculating the outflow amounts Qa and Qc, the ink amounts Vc and Vs, the heights Hc and Hs, and the error information C and S. Details of the remaining amount calculation processing will be described with reference to FIG.

[残量算出処理]
まず、流出量Qaは、流出口174を通じて液室171から期間Δtの間に流出するインクの量を示す。S12〜S17の実行時点でヘッド21を通じてインクが排出されていないので、インク排出量Dh(tk−1)、Dh(t)は、いずれも0となる。すなわち、コントローラ130は、式1を用いて、流出量Qa=0を算出する(S41)。
[Remaining amount calculation processing]
First, the outflow amount Qa indicates the amount of ink that flows out from the liquid chamber 171 through the outflow port 174 during the period Δt. Since ink is not discharged through the head 21 at the time of execution of S12 to S17, the ink discharge amounts Dh (t k-1 ) and Dh (t k ) are both zero. That is, the controller 130 calculates the outflow amount Qa = 0 using Equation 1 (S41).

Figure 2018171922
Figure 2018171922

次に、流出量Qcは、連通されたニードル181の内部空間及びインクバルブ室213を通じて、期間Δtの間に液室210から液室171に流出するインクの量を示す。コントローラ130は、EEPROM134に記憶された高さHc、Hsを、時刻tk−1における高さHc’、Hs’として読み出す。また、コントローラ130は、粘度ρ、流路抵抗Rc、Rs、RnをEEPROM134から読み出す。そして、コントローラ130は、EEPROM134から読み出した情報と、重力加速度gと、直前に算出した流出量Qa=0とを式2に設定して、流出量Qcを算出する(S41)。 Next, the outflow amount Qc indicates the amount of ink that flows out from the liquid chamber 210 to the liquid chamber 171 during the period Δt through the internal space of the needle 181 and the ink valve chamber 213 communicated with each other. The controller 130 reads the heights Hc and Hs stored in the EEPROM 134 as the heights Hc ′ and Hs ′ at the time tk −1 . Further, the controller 130 reads the viscosity ρ and the channel resistances Rc, Rs, and Rn from the EEPROM 134. Then, the controller 130 sets the information read from the EEPROM 134, the gravitational acceleration g, and the outflow amount Qa = 0 calculated immediately before in Expression 2, and calculates the outflow amount Qc (S41).

Figure 2018171922
Figure 2018171922

流出量Qcは、式2で示されるように、高さHc’、Hs’の差(すなわち、水頭差)が大きいほど大きくなり、水頭差が小さいほど小さくなる。また、流出量Qcは、インクが実際に通過すインクバルブ室213及びニードル181の内部空間の流路抵抗Rnが大きいほど小さくなり、流路抵抗Rnが小さいほど大きくなる。   As shown in Expression 2, the outflow amount Qc increases as the difference between the heights Hc ′ and Hs ′ (that is, the water head difference) increases, and decreases as the water head difference decreases. Further, the outflow amount Qc decreases as the flow path resistance Rn in the ink valve chamber 213 and the internal space of the needle 181 through which ink actually passes increases, and increases as the flow path resistance Rn decreases.

また、液室210から液室171にインクが移動すると、液室210は一時的に大気圧から減圧され、液室171は一時的に大気圧より加圧される。液室210内の圧力と大気圧との圧力差は、大気バルブ室214を通じて液室210に空気が流入することによって解消される。さらに、流出量Qa=0の場合において、液室171内の圧力と大気圧との圧力差は、大気連通室175を通じて液室171から空気が流出することによって解消される。   When ink moves from the liquid chamber 210 to the liquid chamber 171, the liquid chamber 210 is temporarily depressurized from the atmospheric pressure, and the liquid chamber 171 is temporarily pressurized from the atmospheric pressure. The pressure difference between the pressure in the liquid chamber 210 and the atmospheric pressure is eliminated by air flowing into the liquid chamber 210 through the atmospheric valve chamber 214. Further, when the outflow amount Qa = 0, the pressure difference between the pressure in the liquid chamber 171 and the atmospheric pressure is eliminated by the air flowing out from the liquid chamber 171 through the atmosphere communication chamber 175.

そして、これらの圧力差は、液室210から液室171へのインクの移動を阻害する。すなわち、流出量Qcは、流路抵抗Rcが大きいほど小さくなり、流路抵抗Rcが小さいほど大きくなる。また、流出量Qa=0のときの流出量Qcは、流路抵抗Rsが大きいほど小さくなり、流路抵抗Rsが小さいほど大きくなる。   These pressure differences impede the movement of ink from the liquid chamber 210 to the liquid chamber 171. That is, the outflow amount Qc decreases as the flow path resistance Rc increases, and increases as the flow path resistance Rc decreases. Further, the outflow amount Qc when the outflow amount Qa = 0 is decreased as the flow path resistance Rs is increased, and is increased as the flow path resistance Rs is decreased.

次に、コントローラ130は、EEPROM134に記憶されたインク量Vcを、時刻tk−1におけるインク量Vc’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に設定して、時刻tにおけるインク量Vcを算出する(S42)。すなわち、コントローラ130は、時刻tk−1におけるインク量Vc’から、期間Δtの間に液室210から液室171に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 130 reads the ink amount Vc stored in the EEPROM 134 as the ink amount Vc ′ at the time tk −1 . Then, the controller 130 includes an ink amount Vc 'read from the EEPROM 134, and outflow Qc calculated immediately before is set to Equation 3 to calculate the ink amount Vc at time t k (S42). That is, the controller 130, the ink amount Vc 'at time t k-1, by subtracting the outflow Qc of the ink flowing from the liquid chamber 210 to the liquid chamber 171 during the period Delta] t, the ink amount Vc at time t k calculate.

Figure 2018171922
Figure 2018171922

またS42において、コントローラ130は、EEPROM134に記憶されたインク量Vsを、時刻tk−1におけるインク量Vs’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に設定して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ130は、時刻tk−1におけるインク量Vs’に、期間Δtの間にタンク160から流出したインクの流出量Qaを減じ、且つ期間Δtの間に液室210から液室171に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S < b> 42, the controller 130 reads the ink amount Vs stored in the EEPROM 134 as the ink amount Vs ′ at the time tk −1 . Then, the controller 130 includes an ink amount Vs' read from the EEPROM 134, the outflow amount Qa calculated immediately before, and Qc is set to Equation 4 to calculate the ink amount Vs at time t k. That is, the controller 130 subtracts the outflow amount Qa of the ink that has flowed out of the tank 160 during the period Δt to the ink amount Vs ′ at the time tk −1 , and changes from the liquid chamber 210 to the liquid chamber 171 during the period Δt. in addition the outflow amount Qc of spilled ink, and calculates the ink amount Vs at time t k.

Figure 2018171922
Figure 2018171922

またS42において、コントローラ130は、EEPROM134に記憶された関数Fcを読み出す。そして、コントローラ130は、式5で示されるように直前に算出したインク量Vcを関数Fcに設定して、時刻tにおける高さHcを特定する。さらにS42において、コントローラ130は、直前に算出したインク量Vsと容積Vthとを比較する。そして、コントローラ130は、インク量Vsが容積Vth以下(すなわち、図11(A)に示されるように、液室171の液面が境界位置P以下)だと判断したことに基づいて、式6で示されるように時刻tにおける高さHs=0と特定する。一方、コントローラ130は、インク量Vsが容積Vthより多い(すなわち、図11(B)及び図12(A)に示されるように、液室171の液面が境界位置Pより高い)と判断したことに基づいて、EEPROM134から関数Fsを読み出す。そして、コントローラ130は、式6で示されるように直前に算出したインク量Vsを関数Fsに設定して、時刻tにおける高さHsを特定する(S42)。 In S <b> 42, the controller 130 reads the function Fc stored in the EEPROM 134. Then, the controller 130 sets the amount of ink Vc calculated immediately before as shown in equation 5 to the function Fc, to identify the height Hc at time t k. Further, in S42, the controller 130 compares the ink amount Vs calculated immediately before with the volume Vth . Then, the controller 130 determines that the ink amount Vs is equal to or less than the volume Vth (that is, as shown in FIG. 11A, the liquid surface of the liquid chamber 171 is equal to or less than the boundary position P). specifying the height Hs = 0 at time t k as shown by 6. On the other hand, the controller 130 determines that the ink amount Vs is larger than the volume Vth (that is, the liquid surface of the liquid chamber 171 is higher than the boundary position P as shown in FIGS. 11B and 12A). Based on this, the function Fs is read from the EEPROM 134. Then, the controller 130 sets the ink amount Vs calculated immediately before as shown in equation 6 in function Fs, to identify the height Hs at time t k (S42).

Figure 2018171922
Figure 2018171922

Figure 2018171922
Figure 2018171922

次に、コントローラ130は、誤差フラグをEEPROM134から読み出し、読み出した誤差フラグの設定値を判断する(S43)。次に、コントローラ130は、誤差フラグに“OFF”が設定されていると判断したことに基づいて(S43:OFF)、直前のS42で算出した高さHc、Hsの差と閾値高さHthとを比較する(S44)。S44で用いる閾値高さHthは、後述するS56で用いる閾値高さHthと同一でもよいし、異なってもよい。より典型的には、S44で用いる閾値高さHthは、S56で用いる閾値高さHthより大きな値でもよい。 Next, the controller 130 reads the error flag from the EEPROM 134, and determines the set value of the read error flag (S43). Next, based on the determination that the error flag is set to “OFF” (S43: OFF), the controller 130 determines the difference between the heights Hc and Hs calculated in the immediately preceding S42 and the threshold height H th. Are compared (S44). The threshold height H th used in S44 may be the same as or different from the threshold height H th used in S56 described later. More typically, the threshold height H th used in S44 may be larger than the threshold height H th used in S56.

次に、コントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判断したことに基づいて(S44:Yes)、誤差情報C、Sに“大”を設定する(S45)。一方、コントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判断したことに基づいて(S44:No)、誤差情報C、Sに“小”を設定する(S46)。また、コントローラ130は、誤差フラグに“ON”が設定されていると判断したことに基づいて(S43:ON)、S44の処理を実行せずに、S45の処理を実行する。 Next, based on the determination that the difference between the heights Hc and Hs is greater than or equal to the threshold height Hth (S44: Yes), the controller 130 sets “large” in the error information C and S (S45). . Meanwhile, the controller 130, the height Hc, based on the difference in Hs is determined to less than a threshold height H th (S44: No), error information C, and set to "small" in S (S46). Further, based on the determination that the error flag is set to “ON” (S43: ON), the controller 130 executes the process of S45 without executing the process of S44.

次に、コントローラ130は、S42〜S46で決定したインク量Vc、Vs、高さHc、Hs、及び誤差情報C、SをEEPROM134に記憶させる(S47)。より詳細には、コントローラ130は、EEPROM134に記憶されているインク量Vc、Vs、高さHc、Hs、及び誤差情報C、Sを、直前のS42〜S46で決定したインク量Vc、Vs、高さHc、Hs、及び誤差情報C、Sで上書きする。   Next, the controller 130 stores the ink amounts Vc and Vs, the heights Hc and Hs, and the error information C and S determined in S42 to S46 in the EEPROM 134 (S47). More specifically, the controller 130 sets the ink amounts Vc, Vs, heights Hc, Hs, and error information C, S stored in the EEPROM 134 to the ink amounts Vc, Vs, high determined in the previous S42 to S46. Overwrite with Hc, Hs, and error information C, S.

また、コントローラ130は、S42〜S46で算出したインク量Vc、高さHc、及び誤差情報Cを、接点152を通じてICチップ247のメモリに記憶させる(S48)。より詳細には、コントローラ130は、ICチップ247のメモリの第2領域に記憶されているインク量Vc、高さHc、及び誤差情報Cを、直前のS42〜S46で決定したインク量Vc、高さHc、及び誤差情報Cで上書きする。   In addition, the controller 130 stores the ink amount Vc, the height Hc, and the error information C calculated in S42 to S46 in the memory of the IC chip 247 through the contact 152 (S48). More specifically, the controller 130 uses the ink amount Vc, the height Hc, and the error information C stored in the second area of the memory of the IC chip 247 as the ink amount Vc, high determined in the last S42 to S46. Is overwritten with the error Hc and the error information C.

なお、コントローラ130は、S48の処理に先立って、カバーセンサ88から出力されている信号を取得し、取得した信号がハイレベル信号かローレベル信号かを判断してもよい。そして、コントローラ130は、カバーセンサ88からハイレベル信号を取得したことに基づいて、S48の処理を実行してもよい。換言すれば、コントローラ130は、カバー87が被覆位置から移動(さらに換言すれば、露出位置に位置)したことに基づいて、S48の処理を実行してもよい。一方、コントローラ130は、カバーセンサ88からローレベル信号を取得したことに基づいて、S48の処理を実行せずに、残量算出処理を終了してもよい。   Prior to the processing of S48, the controller 130 may acquire a signal output from the cover sensor 88 and determine whether the acquired signal is a high level signal or a low level signal. And the controller 130 may perform the process of S48 based on having acquired the high level signal from the cover sensor 88. FIG. In other words, the controller 130 may execute the process of S48 based on the movement of the cover 87 from the covering position (in other words, the exposure position). On the other hand, the controller 130 may end the remaining amount calculation process without executing the process of S48 based on the acquisition of the low level signal from the cover sensor 88.

次に図9に戻って、コントローラ130は、誤差フラグをEEPROM134から読み出し、読み出した誤差フラグの設定値を判断する(S53)。そして、コントローラ130は、誤差フラグに“OFF”が設定されていると判断したことに基づいて(S53:OFF)、ディスプレイ17に残量報知情報を表示させる(S54)。一方、コントローラ130は、誤差フラグに“ON”が設定されていると判断したことに基づいて(S53:ON)、ディスプレイ17に誤差報知情報を表示させる(S55)。すなわち、コントローラ130は、装着ケース150にカートリッジ200が装着された時点の誤差情報C、Sの設定値に基づいて(S34〜S37)、残量報知情報或いは誤差報知情報をディスプレイ17に表示させる(S53〜S55)。   Next, returning to FIG. 9, the controller 130 reads the error flag from the EEPROM 134, and determines the set value of the read error flag (S53). Then, based on the determination that the error flag is set to “OFF” (S53: OFF), the controller 130 displays the remaining amount notification information on the display 17 (S54). On the other hand, the controller 130 displays the error notification information on the display 17 based on the determination that “ON” is set in the error flag (S53: ON) (S55). That is, the controller 130 causes the display 17 to display the remaining amount notification information or the error notification information based on the set values of the error information C and S when the cartridge 200 is mounted in the mounting case 150 (S34 to S37) ( S53-S55).

残量報知情報は、カートリッジ200の液室210及びタンク160の液室171に貯留されているインクの残量を報知するための情報である。残量報知情報は、例えば、EEPROM134に記憶されているインク量Vc、Vsそのものでもよいし、インク量Vc、Vsに相当するインクで画像を記録可能なシートの枚数の推定値でもよい。誤差報知情報は、EEPROM134に記憶されているインク量Vc、Vsが誤差を含むことを報知するための情報である。誤差報知情報は、例えば、「インク量を検出することができません。」等のメッセージでもよい。S55の処理は、報知機を作動させることの一例である。また、コントローラ130は、S55において、上述の残量報知情報上に、「?」、「!」又は「誤差あり」などの文字をオーバーレイさせて、ディスプレイ17に表示させてもよい。このような態様も誤差報知情報の一例としてもよい。   The remaining amount notification information is information for notifying the remaining amount of ink stored in the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160. The remaining amount notification information may be, for example, the ink amounts Vc and Vs stored in the EEPROM 134, or may be an estimated value of the number of sheets on which an image can be recorded with ink corresponding to the ink amounts Vc and Vs. The error notification information is information for notifying that the ink amounts Vc and Vs stored in the EEPROM 134 include an error. The error notification information may be a message such as “The ink amount cannot be detected”, for example. The process of S55 is an example of operating the alarm. Further, in S55, the controller 130 may overlay characters such as “?”, “!” Or “with error” on the above-described remaining amount notification information and display them on the display 17. Such an aspect may also be an example of error notification information.

また、残量報知情報或いは誤差報知情報は、ディスプレイ17に表示中の画面(例えば、S_Empty報知画面、C_Empty報知画面、待機画面など)の一部に表示されてもよい。換言すれば、ディスプレイ17の一部には、4つカートリッジ200及びタンク160それぞれに対応付けられた4つの残量報知情報或いは誤差報知情報が表示されてもよい。一方、残量報知情報或いは誤差報知情報は、操作パネル22を通じたユーザの指示に従って表示される残量報知画面に表示されてもよい。   Further, the remaining amount notification information or the error notification information may be displayed on a part of a screen being displayed on the display 17 (for example, an S_Empty notification screen, a C_Empty notification screen, a standby screen, etc.). In other words, four remaining amount notification information or error notification information associated with the four cartridges 200 and the tanks 160 may be displayed on a part of the display 17. On the other hand, the remaining amount notification information or the error notification information may be displayed on a remaining amount notification screen displayed in accordance with a user instruction through the operation panel 22.

次に、コントローラ130は、高さHc、HsをEEPROM134から読み出し、読み出した高さHc、Hsの差と閾値高さHthとを比較する(S56)。閾値高さHthは、液室210、171の間において、実質的にインクが移動しないと考えられる水頭差を示す。閾値高さHthは、例えば、0である。液室210、171の間において、実質的にインクが移動しない状態を、平衡状態とする。すなわち、この平衡状態では、液室210、171の水頭差が実質的に0である。 Next, the controller 130, the height Hc, Hs read from the EEPROM 134, the read height Hc, and compares the difference with a threshold height H th of Hs (S56). The threshold height H th indicates a water head difference between which the ink does not substantially move between the liquid chambers 210 and 171. The threshold height H th is 0, for example. A state in which the ink does not substantially move between the liquid chambers 210 and 171 is defined as an equilibrium state. That is, in this equilibrium state, the water head difference between the liquid chambers 210 and 171 is substantially zero.

次に、コントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判断したことに基づいて(S56:No)、装着センサ154が出力する信号を取得する(S57)。次に、コントローラ130は、装着センサ154から取得した信号がハイレベル信号及びローレベル信号のどちらであるかを判断する(S58)。そして、コントローラ130は、装着センサ154が出力する信号がローレベル信号からハイレベル信号に変化するまで(S58:No)、或いは直前にS52〜S55の処理を実行してから期間Δtが経過するまで(S59:No)、期間Δtより短い所定の時間間隔でS57、S58の処理を繰り返し実行する。 Next, based on the determination that the difference between the heights Hc and Hs is greater than or equal to the threshold height Hth (S56: No), the controller 130 acquires a signal output from the mounting sensor 154 (S57). Next, the controller 130 determines whether the signal acquired from the mounting sensor 154 is a high level signal or a low level signal (S58). Then, the controller 130 until the signal output from the mounting sensor 154 changes from the low level signal to the high level signal (S58: No) or until the period Δt elapses after the processing of S52 to S55 is executed immediately before. (S59: No), the processes of S57 and S58 are repeatedly executed at a predetermined time interval shorter than the period Δt.

次に、コントローラ130は、装着センサ154の出力が変化しないうちに期間Δtが経過したことに基づいて(S58:No&S59:Yes)、S51以降の処理を再び実行する。換言すれば、コントローラ130は、直前にS52〜S55の処理を実行してから期間Δtが経過するまでの間、次のS52〜S55の処理の実行を待機する。S51〜S59の処理が繰り返し実行されることによって、図11(A)〜図12(A)に示されるように、高さHc、Hsの差が徐々に小さくなる。そして、コントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判断したことに基づいて(S56:Yes)、残量更新処理を終了する。すなわち、4つのカートリッジ200それぞれに対応する残量更新処理は、別々のタイミングで終了する可能性がある。 Next, based on the fact that the period Δt has passed before the output of the wearing sensor 154 does not change (S58: No & S59: Yes), the controller 130 executes the processing subsequent to S51 again. In other words, the controller 130 waits for execution of the next processing of S52 to S55 until the period Δt elapses after the processing of S52 to S55 is executed immediately before. By repeatedly executing the processes of S51 to S59, as shown in FIGS. 11A to 12A, the difference between the heights Hc and Hs is gradually reduced. Then, the controller 130, the height Hc, based on the difference in Hs is determined to less than a threshold height H th (S56: Yes), terminates the remaining amount updating processing. That is, the remaining amount update process corresponding to each of the four cartridges 200 may end at different timings.

ここで、コントローラ130は、S59における期間Δtを可変にしてもよい。より詳細には、コントローラ130は、S59における期間Δtを、直前のS52で算出した高さHc、Hsの差が大きいほど短くし、直前のS52で算出した高さHc、Hsの差が小さいほど長くしてもよい。すなわち、コントローラ130は、繰り返し実行するS52〜S55の処理の間隔(換言すれば、インク量Vc、Vs、高さHc、Hs、及び誤差情報C、Sの更新間隔)を、高さHc、Hsの差が大きいほど短くし、高さHc、Hsの差が小さいほど長くしてもよい。   Here, the controller 130 may change the period Δt in S59. More specifically, the controller 130 shortens the period Δt in S59 as the difference between the heights Hc and Hs calculated in the immediately preceding S52 increases, and decreases the difference in the heights Hc and Hs calculated in the immediately preceding S52. It may be longer. That is, the controller 130 sets the processing intervals of S52 to S55 to be repeatedly executed (in other words, the ink amounts Vc, Vs, the heights Hc, Hs, and the update intervals of the error information C, S) and the heights Hc, Hs. The larger the difference, the shorter, and the smaller the height Hc, Hs, the longer.

一方、コントローラ130は、期間Δtが経過する前に装着センサ154の出力がローレベル信号からハイレベル信号に変化したと判断したことに基づいて(S59:No&S58:Yes)、S51〜S59の処理に代えて、S60〜S61の処理を実行する。装着センサ154の出力がローレベル信号からハイレベル信号に変化するのは、装着ケース150からカートリッジ200が抜かれたことに対応する。すなわち、コントローラ130は、装着ケース150にカートリッジ200が装着されている間に、S52〜S55の処理を繰り返し実行する。また、コントローラ130は、装着ケース150からカートリッジ200が抜かれたことに基づいて、S52〜S55の処理を実行しない。換言すれば、S52〜S55の処理は、装着ケース150からカートリッジ200が抜かれたことに基づいて、停止される。S60、S61の処理は、図7のS15、S16の処理に対応する。   On the other hand, based on the determination that the output of the mounting sensor 154 has changed from the low level signal to the high level signal before the period Δt has elapsed (S59: No & S58: Yes), the controller 130 performs the processing of S51 to S59. Instead, the processing of S60 to S61 is executed. The change of the output of the mounting sensor 154 from the low level signal to the high level signal corresponds to the removal of the cartridge 200 from the mounting case 150. That is, the controller 130 repeatedly executes the processes of S52 to S55 while the cartridge 200 is mounted in the mounting case 150. Further, the controller 130 does not execute the processes of S52 to S55 based on the removal of the cartridge 200 from the mounting case 150. In other words, the processing of S52 to S55 is stopped based on the removal of the cartridge 200 from the mounting case 150. The processes of S60 and S61 correspond to the processes of S15 and S16 in FIG.

一例として、コントローラ130は、S17で開始した残量更新処理が終了したことに基づいて、S11以降の処理を実行してもよい。この場合は、図12(A)に示されるように、液室210、171の液面が揃った状態で、ヘッド21を通じたインクの排出が開始される。他の例として、コントローラ130は、S17で開始した残量更新処理と並行して、S11以降の処理を実行してもよい。この場合は、図11(B)に示されるように、液室210、171の間に水頭差が生じた状態で、ヘッド21を通じたインクの排出が開始される。   As an example, the controller 130 may execute the processes after S11 based on the completion of the remaining amount update process started in S17. In this case, as shown in FIG. 12A, the discharge of ink through the head 21 is started with the liquid surfaces of the liquid chambers 210 and 171 aligned. As another example, the controller 130 may execute the processes after S11 in parallel with the remaining amount update process started in S17. In this case, as shown in FIG. 11B, ink discharge through the head 21 is started in a state where a water head difference is generated between the liquid chambers 210 and 171.

[カウント処理]
次に図10を参照して、S21でコントローラ130が実行するカウント処理の詳細を説明する。なお、コントローラ130は、4つのカートリッジ200のそれぞれに対して、カウント処理を独立して実行する。カートリッジ200毎のカウント処理は共通するので、1つのカートリッジ200に対応するカウント処理のみを説明する。
[Count processing]
Next, with reference to FIG. 10, the detail of the count process which the controller 130 performs by S21 is demonstrated. The controller 130 performs count processing independently for each of the four cartridges 200. Since the counting process for each cartridge 200 is common, only the counting process corresponding to one cartridge 200 will be described.

まず、コントローラ130は、S18、S20でRAM133に記憶させた液面センサ155の信号を示す情報を比較する(S71)。すなわち、コントローラ130は、カウント処理(S21)を実行する直前のS19の処理を実行する前と後とで、4つの液面センサ155それぞれの信号が変化したか否かを判断する。   First, the controller 130 compares information indicating the signal of the liquid level sensor 155 stored in the RAM 133 in S18 and S20 (S71). That is, the controller 130 determines whether or not the signals of the four liquid level sensors 155 have changed before and after the process of S19 immediately before the count process (S21) is executed.

コントローラ130は、S18、S20でRAM133に記憶させた情報が共にローレベル信号を示す(すなわち、S19の処理の前後で液面センサ155の出力が変化していない)ことに基づいて(S71:L→L)、残量更新処理を実行する(S72)。一方、S17で残量更新処理が開始され且つ平衡状態になる前にS19の処理が実行された場合は、S17で開始された残量更新処理が継続して実行されているので、S72で改めて残量更新処理を開始する必要がない。S72における残量更新処理は、流出量Qa≠0である点で前述の説明と相違する。以下、前述の説明との共通点の詳細な説明を省略し、相違点を中心に説明する。   The controller 130 is based on the fact that both the information stored in the RAM 133 in S18 and S20 indicate a low level signal (that is, the output of the liquid level sensor 155 has not changed before and after the process of S19) (S71: L → L), the remaining amount update process is executed (S72). On the other hand, if the remaining amount update process is started in S17 and the process in S19 is executed before the equilibrium state is reached, the remaining amount update process started in S17 is continuously executed. There is no need to start the remaining amount update process. The remaining amount update process in S72 differs from the above description in that the outflow amount Qa ≠ 0. In the following, detailed description of points in common with the above description will be omitted, and differences will be mainly described.

まず、コントローラ130は、S19の開始時刻tk−1から終了時刻tまでのインク排出量Dhを式1に設定して、流出量Qaを算出する(S41)。この場合の期間Δtは、1枚のシートに画像を記録するのに要する期間に相当する。また、この場合のインク排出量Dhは、1枚のシートに吐出されるべきインクの総排出量に相当する。すなわち、コントローラ130は、1枚のシートへの画像の記録が終了する度に、S21の処理を実行すればよい。但し、期間Δt及びインク排出量Dhの具体例は、これらに限定されない。 First, the controller 130, the ink discharge amount Dh from the start time t k-1 S19: the end time t k is set to Equation 1 to calculate the outflow Qa (S41). The period Δt in this case corresponds to a period required for recording an image on one sheet. In addition, the ink discharge amount Dh in this case corresponds to the total discharge amount of ink to be discharged onto one sheet. That is, the controller 130 only needs to execute the process of S21 every time image recording on one sheet is completed. However, specific examples of the period Δt and the ink discharge amount Dh are not limited to these.

他の例として、期間Δtは、1パス分の画像の記録を実行するのに要する期間に相当する。この場合において、時刻tk−1は、1パス分の画像の記録が開始される時刻である。また、時刻tは、1パス分の画像の記録が終了した時刻である。また、インク排出量Dh(tk−1)は、S19の開始から時刻tk−1までに排出を指示したインク量に相当する。さらに、インク排出量Dh(t)は、S19の開始から時刻tまでに排出を指示したインク量に相当する。すなわち、コントローラ130は、1パス分の画像の記録が終了する度に、S21の処理を実行してもよい。さらに他の例として、コントローラ130は、画像記録の区切りとは関係のない任意のタイミングで、S21の処理を実行してもよい。 As another example, the period Δt corresponds to a period required to execute image recording for one pass. In this case, the time t k−1 is a time at which image recording for one pass is started. In addition, time t k is the time at which the first pass content of the image recording has been completed. Further, the ink discharge amount Dh (tk -1 ) corresponds to the ink amount instructed to be discharged from the start of S19 to the time tk -1 . Furthermore, the ink discharge amount Dh (t k ) corresponds to the amount of ink instructed to be discharged from the start of S19 to time t k . That is, the controller 130 may execute the process of S21 every time the image recording for one pass is completed. As yet another example, the controller 130 may execute the process of S21 at an arbitrary timing unrelated to the image recording break.

また、コントローラ130は、EEPROM134に記憶された高さHc’、Hs’、粘度ρ、及び流路抵抗Rc、Rs、Rnと、直前に算出した流出量Qaとを式2に設定して、流出量Qcを算出する(S41)。   Further, the controller 130 sets the heights Hc ′, Hs ′, the viscosity ρ, the flow path resistances Rc, Rs, Rn stored in the EEPROM 134, and the outflow amount Qa calculated immediately before to the outflow. The amount Qc is calculated (S41).

平衡状態の液室210、171は、共に大気圧に維持されている。この状態からヘッド21を通じてインクが排出されると、流出口174を通じて液室171からインクが流出する。さらに、ニードル181の内部空間及びインクバルブ室213を通じて液室210から液室171にインクが移動する。そして、流出量Qaが大きくなると液室210、171の水頭差が大きくなるので、流出量Qcは、流出量Qaが大きいほど大きくなる。   The liquid chambers 210 and 171 in the equilibrium state are both maintained at atmospheric pressure. When ink is discharged through the head 21 from this state, the ink flows out from the liquid chamber 171 through the outflow port 174. Further, the ink moves from the liquid chamber 210 to the liquid chamber 171 through the inner space of the needle 181 and the ink valve chamber 213. When the outflow amount Qa increases, the water head difference between the liquid chambers 210 and 171 increases, so the outflow amount Qc increases as the outflow amount Qa increases.

また、液室171は、ヘッド21を通じてインクが排出されることによって一時的に大気圧から減圧される。そして、液室171内の圧力と大気圧との圧力差は、液室210から液室171にインクが移動し、且つ大気連通室175を通じて液室171に空気が流入することによって解消される。そして、大気連通室175を通じて液室171に流入する空気の量は、流路抵抗Rsが大きいほど少なくなり、流路抵抗Rsが小さいほど大きくなる。そうすると、流出量Qa>0のときの流出量Qcは、液室171内を大気圧に戻すために、流路抵抗Rsが大きいほど大きくなり、流路抵抗Rsが小さいほど小さくなる。   The liquid chamber 171 is temporarily depressurized from atmospheric pressure by discharging ink through the head 21. The pressure difference between the pressure in the liquid chamber 171 and the atmospheric pressure is eliminated by the ink moving from the liquid chamber 210 to the liquid chamber 171 and flowing into the liquid chamber 171 through the atmosphere communication chamber 175. The amount of air flowing into the liquid chamber 171 through the atmosphere communication chamber 175 decreases as the flow path resistance Rs increases, and increases as the flow path resistance Rs decreases. Then, in order to return the inside of the liquid chamber 171 to atmospheric pressure, the outflow amount Qc when the outflow amount Qa> 0 increases as the flow path resistance Rs increases, and decreases as the flow path resistance Rs decreases.

また図10に戻って、コントローラ130は、S18でRAM133に記憶させた情報がローレベル信号を示し、S20でRAM133に記憶させた情報がハイレベル信号を示す(すなわち、S19の処理の前後で液面センサ155の出力が変化した)ことに基づいて(S71:L→H)、C_Emptyフラグに“ON”を設定する(S73)。液面センサ155の出力がローレベル信号からハイレベル信号に変化するのは、図12(B)に示されるように、S19の処理中に液室171の液面が境界位置Pに達したことに対応する。そして、これ以降は、カートリッジ200とタンク160との間でインクが移動しない。そこで図9に示されるように、コントローラ130は、C_Emptyフラグに“ON”が設定されたことに基づいて(S51:ON)、残量更新処理を終了する。   Returning to FIG. 10, the controller 130 indicates that the information stored in the RAM 133 in S18 indicates a low level signal, and the information stored in the RAM 133 in S20 indicates a high level signal (that is, before and after the processing of S19. Based on the fact that the output of the surface sensor 155 has changed) (S71: L → H), the C_Empty flag is set to “ON” (S73). The reason why the output of the liquid level sensor 155 changes from the low level signal to the high level signal is that the liquid level in the liquid chamber 171 has reached the boundary position P during the process of S19, as shown in FIG. Corresponding to Thereafter, the ink does not move between the cartridge 200 and the tank 160. Therefore, as shown in FIG. 9, the controller 130 ends the remaining amount update process based on the fact that “ON” is set in the C_Empty flag (S51: ON).

また、コントローラ130は、EEPROM134に記憶されたインク量Vcを、予め定められた所定値(=0)で上書きする(S74)。同様に、コントローラ130は、EEPROM134に記憶されたインク量Vsを、予め定められた所定値(=容積Vth−インク排出量Dh)で上書きする(S74)。残量更新処理で算出されるインク量Vc、Vsは誤差を含むので、S52の処理の繰り返し回数が増えるほど、インク量Vc、Vsに累積される誤差が大きくなる。そこで、コントローラ130は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したタイミングで、インク量Vc、Vsに予め定められた値を設定して、累積した誤差をリセットする。 Further, the controller 130 overwrites the ink amount Vc stored in the EEPROM 134 with a predetermined value (= 0) determined in advance (S74). Similarly, the controller 130 overwrites the ink amount Vs stored in the EEPROM 134 with a predetermined value (= volume V th −ink discharge amount Dh) (S74). Since the ink amounts Vc and Vs calculated in the remaining amount update process include an error, the error accumulated in the ink amounts Vc and Vs increases as the number of repetitions of the process of S52 increases. Therefore, the controller 130 sets predetermined values for the ink amounts Vc and Vs at the timing when the output of the liquid level sensor 155 changes from the low level signal to the high level signal, and resets the accumulated error.

なお前述したように、インク排出量Dhは、直前のS19で1枚のシートに吐出されるインク量に相当する。一方、液面センサ155の出力が変化するのは、S19の処理の途中である。すなわち、S74で上書きされたインク量Vsは、液面センサ155の出力が変化した瞬間にタンク160に貯留されているインクの量とは僅かにズレを生じている。しかしながら、このズレは僅かなので、S74で上書きしたインク量Vsを、液面センサ155の出力が変化した時点のインク量Vsとして扱うものとする。   As described above, the ink discharge amount Dh corresponds to the amount of ink ejected on one sheet in the immediately preceding S19. On the other hand, the output of the liquid level sensor 155 changes during the process of S19. That is, the ink amount Vs overwritten in S74 slightly deviates from the amount of ink stored in the tank 160 at the moment when the output of the liquid level sensor 155 changes. However, since this deviation is slight, the ink amount Vs overwritten in S74 is treated as the ink amount Vs when the output of the liquid level sensor 155 changes.

また、コントローラ130は、EEPROM134に記憶されたカウント値Nに、インク排出量Dhを設定する(S75)。すなわち、コントローラ130は、直前のS19で排出を指示したインク量に相当する値で、カウント値Nをカウントアップする。換言すれば、コントローラ130は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したことに基づいて、カウント値Nの更新を開始する。   Further, the controller 130 sets the ink discharge amount Dh to the count value N stored in the EEPROM 134 (S75). That is, the controller 130 counts up the count value N by a value corresponding to the amount of ink instructed to be discharged in the immediately preceding S19. In other words, the controller 130 starts updating the count value N based on the change in the output of the liquid level sensor 155 from the low level signal to the high level signal.

次に、コントローラ130は、誤差フラグをEEPROM134から読み出し、読み出した誤差フラグの設定値を判断する(S76)。次に、コントローラ130は、誤差フラグに“OFF”が設定されていると判断したことに基づいて(S76:OFF)、S75で更新したカウント値Nと、閾値Nth1とを比較する(S77)。そして、コントローラ130は、S75で更新したカウント値Nが閾値Nth1未満だと判断したことに基づいて(S77:No)、S79の処理を実行せずに、カウント処理を終了する。一方、コントローラ130は、S75で更新したカウント値Nが閾値Nth1以上だと判断したことに基づいて(S77:Yes)、S_Emptyフラグに“ON”を設定して(S79)、カウント処理を終了する。 Next, the controller 130 reads the error flag from the EEPROM 134, and determines the set value of the read error flag (S76). Next, based on the determination that the error flag is set to “OFF” (S76: OFF), the controller 130 compares the count value N updated in S75 with the threshold value Nth1 (S77). . Then, based on the determination that the count value N updated in S75 is less than the threshold value Nth1 (S77: No), the controller 130 ends the count process without executing the process of S79. Meanwhile, the controller 130, based on the count value N updated in S75 is determined that it threshold N th1 or more (S77: Yes), then set the "ON" to S_Empty flag (S79), terminates the counting process To do.

一方、コントローラ130は、誤差フラグに“ON”が設定されていると判断したことに基づいて(S76:ON)、S75で更新したカウント値Nと、閾値Nth2とを比較する(S78)。そして、コントローラ130は、S75で更新したカウント値Nが閾値Nth2未満だと判断したことに基づいて(S78:No)、S79の処理を実行せずに、カウント処理を終了する。一方、コントローラ130は、S75で更新したカウント値Nが閾値Nth2以上だと判断したことに基づいて(S78:Yes)、S_Emptyフラグに“ON”を設定して(S79)、カウント処理を終了する。 On the other hand, based on the determination that the error flag is set to “ON” (S76: ON), the controller 130 compares the count value N updated in S75 with the threshold value Nth2 (S78). Then, based on the determination that the count value N updated in S75 is less than the threshold value Nth2 (S78: No), the controller 130 ends the count process without executing the process of S79. Meanwhile, the controller 130, based on the count value N updated in S75 is determined that it threshold N th2 or more (S78: Yes), then set the "ON" to S_Empty flag (S79), terminates the counting process To do.

また、コントローラ130は、S18、S20でRAM133に記憶させた情報が共にハイレベル信号を示すことに基づいて(S71:H→H)、EEPROM134に記憶されているインク量Vsを読み出す。そして、コントローラ130は、読み出したインク量Vsからインク排出量Dhを減じて、再びEEPROM134に記憶させる(S80)。また、コントローラ130は、EEPROM134に記憶されているカウント値Nを読み出す。そして、コントローラ130は、読み出したカウント値Nにインク排出量Dhを加算して、再びEEPROM134に記憶させる(S81)。すなわち、コントローラ130は、直前のS19で排出を指示したインク排出量Dhで、EEPROM134に記憶されたインク量Vs及びカウント値Nを更新する。次に、コントローラ130は、S81で更新したカウント値Nを用いて、前述したS76以降の処理を実行する。   Further, the controller 130 reads the ink amount Vs stored in the EEPROM 134 based on the fact that the information stored in the RAM 133 in both S18 and S20 indicates a high level signal (S71: H → H). Then, the controller 130 subtracts the ink discharge amount Dh from the read ink amount Vs and stores it again in the EEPROM 134 (S80). In addition, the controller 130 reads the count value N stored in the EEPROM 134. Then, the controller 130 adds the ink discharge amount Dh to the read count value N, and stores it again in the EEPROM 134 (S81). That is, the controller 130 updates the ink amount Vs and the count value N stored in the EEPROM 134 with the ink discharge amount Dh instructed to be discharged in the immediately preceding S19. Next, the controller 130 uses the count value N updated in S81 to execute the processes after S76 described above.

すなわち、コントローラ130は、ヘッド21を通じてインクを排出させる度に、カートリッジ200毎にカウント処理を実行する。例えば、1つのカートリッジ200を対象として見ると、装着ケース150に装着されてからしばらくの間は残量更新処理が実行され(S71:L→L)、液面センサ155の出力が変化したタイミングでS73〜S79の処理が1回だけ実行され(S71:L→H)、その後はタンク160内のインクがなくなるまでS80〜S81、S76〜S79の処理が実行されることになる(S71:H→H)。   That is, the controller 130 performs a count process for each cartridge 200 every time ink is discharged through the head 21. For example, when viewing one cartridge 200 as a target, the remaining amount update process is executed for a while after being attached to the attachment case 150 (S71: L → L), and the output of the liquid level sensor 155 changes. The processes of S73 to S79 are executed only once (S71: L → H), and thereafter, the processes of S80 to S81 and S76 to S79 are executed until the ink in the tank 160 runs out (S71: H → H).

そして、コントローラ130は、装着ケース150にカートリッジ200が装着された時点の誤差情報C、Sの設定値に基づいて(S34〜S37)、閾値Nth1、Nth2の一方を選択する(S76)。そして、コントローラ130は、カウント値Nが選択した閾値に達したことに基づいて(S77:Yes/S78:Yes)、ヘッド21を通じたインクの排出を禁止する(S79)。カウント値Nが閾値Nth1に達したことは、カウントした排出量が第1液体量に達したことの一例である。カウント値Nが閾値Nth2に達したことは、カウントした排出量が第2液体量に達したことの一例である。なお、第1液体量は、装着ケース150にカートリッジ200に装着された時点のインク量Vc、Vsの和より少なく且つ第2液体量より多い。 Then, the controller 130 selects one of the threshold values N th1 and N th2 based on the set values of the error information C and S when the cartridge 200 is mounted on the mounting case 150 (S34 to S37) (S76). Then, based on the fact that the count value N has reached the selected threshold value (S77: Yes / S78: Yes), the controller 130 prohibits ink discharge through the head 21 (S79). The count value N reaching the threshold value N th1 is an example of the counted discharge amount reaching the first liquid amount. That the count value N has reached the threshold value Nth2 is an example that the counted discharge amount has reached the second liquid amount. The first liquid amount is smaller than the sum of the ink amounts Vc and Vs at the time when the cartridge 200 is mounted on the mounting case 150 and larger than the second liquid amount.

[作用効果]
上述の説明によれば、例えば、プリンタ10から抜かれたカートリッジ200が他のプリンタ10に装着された場合において、当該他のプリンタ10は、ICチップ247のメモリに記憶されたインク量Vcに含まれる誤差の大きさを、誤差情報Cによって把握することができる。なお、液室210、171の間の水頭差が大きいほど、液室210から液室171へ移動するインクの量が多くなるので、算出したインク量Vcと液室210に実際に貯留されているインク量との差は、大きくなる傾向がある。そこで上記の実施形態のように、算出した高さHc、Hsの差に基づいて、誤差の大きさを判断するのが望ましい。
[Function and effect]
According to the above description, for example, when the cartridge 200 removed from the printer 10 is mounted on another printer 10, the other printer 10 is included in the ink amount Vc stored in the memory of the IC chip 247. The magnitude of the error can be grasped from the error information C. Note that the greater the water head difference between the liquid chambers 210 and 171, the greater the amount of ink that moves from the liquid chamber 210 to the liquid chamber 171. Therefore, the calculated ink amount Vc and the liquid chamber 210 are actually stored. The difference from the ink amount tends to increase. Therefore, as in the above embodiment, it is desirable to determine the magnitude of the error based on the difference between the calculated heights Hc and Hs.

また、上述の説明によれば、プリンタ10は、高さHc、Hsの差が閾値高さ未満Hth未満になるまで(S56:No)、S52〜S55の処理を繰り返し実行する。これにより、プリンタ10からカートリッジ200が抜かれる直前に記憶されたインク量Vc及び誤差情報Cを、当該カートリッジ200が装着された他のプリンタ10に利用させることができる。その結果、インク量Vc及び誤差情報Cを書き込んだプリンタ10から抜かれ、他のプリンタ10に装着された場合において、当該他のプリンタ10がインク量Vcに含まれる誤差の大きさを適切に把握することができる。 Further, according to the above description, the printer 10 has a height Hc, the difference Hs until below a threshold less than the height H th (S56: No), repeatedly executes the processing of S52 to S55. Accordingly, the ink amount Vc and the error information C stored immediately before the cartridge 200 is removed from the printer 10 can be used by another printer 10 to which the cartridge 200 is attached. As a result, when the ink is removed from the printer 10 in which the ink amount Vc and the error information C are written and is attached to another printer 10, the other printer 10 appropriately grasps the magnitude of the error included in the ink amount Vc. be able to.

また、インク量Vcに含まれる誤差は、高さHc、Hsの差が大きいほど大きくなり、高さHc、Hsの差が小さいほど小さくなる傾向がある。そこで上記の実施形態のように、高さHc、Hsの差に基づいてS52の処理の実行頻度を変更することによって、リアルタイムな誤差情報Cの把握と、コントローラ130の処理負荷の軽減とを両立させることができる。   The error included in the ink amount Vc tends to increase as the difference between the heights Hc and Hs increases, and decreases as the difference between the heights Hc and Hs decreases. Therefore, as in the above-described embodiment, by changing the execution frequency of the process of S52 based on the difference between the heights Hc and Hs, it is possible to simultaneously grasp the real-time error information C and reduce the processing load of the controller 130. Can be made.

なお、誤差情報C、Sの具体例は、上述の例に限定されない。他の例として、誤差情報C、Sは、直前のS42で算出したインク量Vc、Vsのセットでもよい。この場合の誤差情報C、Sは、インク量Vc、Vsの差が大きいほど誤差が大きいことを示し、インク量Vc、Vsの差が小さいほど誤差が小さいことを示す。さらに他の例として、誤差情報C、Sは、直前のS42で算出した高さHc、Hsのセットでもよい。この場合の誤差情報C、Sは、高さHc、Hsの差が大きいほど誤差が大きいことを示し、高さHc、Hsの差が小さいほど誤差が小さいことを示す。   Note that specific examples of the error information C and S are not limited to the above-described examples. As another example, the error information C and S may be a set of ink amounts Vc and Vs calculated in the immediately preceding S42. The error information C and S in this case indicates that the larger the difference between the ink amounts Vc and Vs, the larger the error, and the smaller the difference between the ink amounts Vc and Vs, the smaller the error. As yet another example, the error information C and S may be a set of heights Hc and Hs calculated in the immediately preceding S42. The error information C and S in this case indicates that the larger the difference between the heights Hc and Hs, the larger the error, and the smaller the difference between the heights Hc and Hs, the smaller the error.

また、インク量Vcに含まれる誤差が大きい状態とは、インク量Vsに含まれる誤差が大きい状態と同義である。すなわち、誤差情報Sで示される誤差が大きい状態でカートリッジ200が交換された場合、新たなカートリッジ200のICチップ247のメモリに記憶されたインク量Vcが誤差を含んでいないとしても、EEPROM134に記憶されたインク量Vsは誤差を含むことになる。   Further, the state where the error included in the ink amount Vc is large is synonymous with the state where the error included in the ink amount Vs is large. That is, when the cartridge 200 is replaced in a state where the error indicated by the error information S is large, the ink amount Vc stored in the memory of the IC chip 247 of the new cartridge 200 is stored in the EEPROM 134 even if it does not include an error. The ink amount Vs thus obtained includes an error.

そこで上述の説明によれば、プリンタ10は、誤差情報C、Sの少なくとも一方に“大”が設定されている場合に誤差報知情報をディスプレイ17に表示させる。これにより、ユーザは、カートリッジ200及びタンク160に実際に貯留されているインク量と、インク量Vc、Vsとに差があることを、適切に把握することができる。但し、誤差情報C、Sと誤差報知情報との関係は、上述の例に限定されない。   Therefore, according to the above description, the printer 10 displays the error notification information on the display 17 when “large” is set in at least one of the error information C and S. Accordingly, the user can appropriately grasp that there is a difference between the ink amount actually stored in the cartridge 200 and the tank 160 and the ink amounts Vc and Vs. However, the relationship between the error information C and S and the error notification information is not limited to the above example.

S44〜S46の他の例として、コントローラ130は、高さHc、Hsの差が第1閾値高さ未満であることに基づいて、誤差情報C、Sに“小”を設定してもよい。また、コントローラ130は、高さHc、Hsの差が第1閾値高さ以上で且つ第2閾値高さ未満であることに基づいて、誤差情報C、Sに“中”を設定してもよい。さらに、コントローラ130は、高さHc、Hsの差が第2閾値高さ以上であることに基づいて、誤差情報C、Sに“大”を設定してもよい。なお、第2閾値高さは、第1閾値高さより大きい。第1閾値高さは第1誤差の一例であり、第2閾値高さは第2誤差の一例である。   As another example of S44 to S46, the controller 130 may set “small” in the error information C and S based on the difference between the heights Hc and Hs being less than the first threshold height. Further, the controller 130 may set “medium” in the error information C and S based on the difference between the heights Hc and Hs being not less than the first threshold height and less than the second threshold height. . Further, the controller 130 may set “large” in the error information C and S based on the difference between the heights Hc and Hs being equal to or higher than the second threshold height. Note that the second threshold height is larger than the first threshold height. The first threshold height is an example of a first error, and the second threshold height is an example of a second error.

またS53〜S55の他の例として、コントローラ130は、装着ケース150にカートリッジ200が装着された時点の誤差情報C、Sの設定値に基づいて、以下の情報をディスプレイ17に表示させてもよい。すなわち、コントローラ130は、誤差情報C、Sの全てに“小”が設定されていることに基づいて、インク量Vc、Vsを示す残量報知情報をディスプレイ17に表示させてもよい。また、コントローラ130は、誤差情報C、Sの少なくとも1つに“中”が設定されていることに基づいて、補正したインク量Vc、Vsを示す残量報知情報と、残量報知情報が補正されていることを示す誤差報知情報とをディスプレイ17に表示させてもよい。さらに、コントローラ130は、誤差情報C、Sの少なくとも1つに“大”が設定されていることに基づいて、液室210、171に貯留されているインクの量が不明なことを示す誤差報知情報をディスプレイ17に表示させてもよい。   As another example of S53 to S55, the controller 130 may cause the display 17 to display the following information based on the set values of the error information C and S when the cartridge 200 is mounted in the mounting case 150. . That is, the controller 130 may cause the display 17 to display remaining amount notification information indicating the ink amounts Vc and Vs based on the fact that “small” is set for all of the error information C and S. Further, the controller 130 corrects the remaining amount notification information indicating the corrected ink amounts Vc and Vs and the remaining amount notification information based on the fact that “medium” is set in at least one of the error information C and S. The error notification information indicating that the error has been made may be displayed on the display 17. Further, the controller 130 notifies that the amount of ink stored in the liquid chambers 210 and 171 is unknown based on the fact that “large” is set in at least one of the error information C and S. Information may be displayed on the display 17.

上述の説明によれば、プリンタ10は、誤差情報C、Sで示される誤差が小さい場合にインク量Vc、Vsをディスプレイ17を通じて報知し、誤差情報C、Sで示される誤差が大きい場合にインク量Vc、Vsが信頼できない値であることをディスプレイ17を通じて報知する。すなわち、ユーザは、このディスプレイ17に表示された情報によって、装着されたカートリッジ200及びタンク160の状態を適切に把握することができる。   According to the above description, the printer 10 notifies the ink amounts Vc and Vs through the display 17 when the error indicated by the error information C and S is small, and the ink when the error indicated by the error information C and S is large. It is notified through the display 17 that the quantities Vc and Vs are unreliable values. That is, the user can appropriately grasp the state of the mounted cartridge 200 and the tank 160 based on the information displayed on the display 17.

なお、インク量Vc、Vsを補正する具体的な方法は特に限定されないが、例えば、以下の方法が考えられる。コントローラ130は、インク量Vcから予め定められた補正値を減じ、インク量Vsから補正値を加算してもよい。そして、コントローラ130は、誤差情報C、Sの少なくとも一方に“大”が設定されている場合に、誤差情報C、Sの両方に“大”が設定されていない場合より、補正値を大きくすればよい。また、コントローラ130は、誤差情報C、Sの少なくとも一方に“中”が設定されている場合に、誤差情報C、Sの両方に“中”が設定されている場合より、補正値を大きくすればよい。すなわち、コントローラ130は、誤差情報C、Sで示される誤差の向きに、誤差情報C、Sで示される誤差の大きさに応じた補正値で、インク量Vc、Vsを補正すればよい。   The specific method for correcting the ink amounts Vc and Vs is not particularly limited, but for example, the following method can be considered. The controller 130 may subtract a predetermined correction value from the ink amount Vc and add the correction value from the ink amount Vs. The controller 130 increases the correction value when “large” is set in at least one of the error information C and S, compared to when “large” is not set in both the error information C and S. That's fine. The controller 130 increases the correction value when “medium” is set in at least one of the error information C and S, compared to when “medium” is set in both the error information C and S. That's fine. That is, the controller 130 may correct the ink amounts Vc and Vs with the correction values corresponding to the error magnitudes indicated by the error information C and S in the direction of the errors indicated by the error information C and S.

また、上述の説明によれば、プリンタ10は、誤差情報C、Sの両方に“小”が設定されている場合に閾値Nth1を選択し、誤差情報C、Sの少なくとも一方に“大”が設定されている場合に閾値Nth2を選択する。これにより、装着ケース150がカートリッジ200に装着されてからヘッド21を通じて排出可能なインク量は、誤差情報C、Sの少なくとも一方に“大”が設定されている場合に、誤差情報C、Sの両方に“小”が設定されている場合より少なくなる。その結果、ヘッド21を通じたインクの排出が禁止される前にタンク160の液面が流出口174に達して、ヘッド21に空気が供給されること(所謂、エアイン)が抑制される。 Further, according to the above description, the printer 10 selects the threshold value N th1 when “small” is set in both the error information C and S, and “large” in at least one of the error information C and S. Is set, the threshold value N th2 is selected. As a result, the amount of ink that can be discharged through the head 21 after the mounting case 150 is mounted on the cartridge 200 is the error information C, S when “large” is set in at least one of the error information C, S. Less than when “Small” is set for both. As a result, the liquid level of the tank 160 reaches the outlet 174 before the discharge of ink through the head 21 is prohibited, and the supply of air to the head 21 (so-called air-in) is suppressed.

但し、エアインを抑制する具体的な方法は、上述の例に限定されない。他の例として、コントローラ130は、S74において、誤差フラグに“OFF”が設定されていることに基づいて、カウント値Nに第1初期値(例えば、0)を設定してもよい。一方、コントローラ130は、S74において、誤差フラグに“ON”が設定されていることに基づいて、カウント値Nに第2初期値(例えば、Dh)を設定してもよい。そして、コントローラ130は、S76〜S78において、カウント値Nと閾値Nthとを比較すればよい。なお、第2初期値は、第1初期値より閾値Nthに近い値である。このように、カウント値N及び閾値Nthの一方或いは両方を調整することによって、ヘッド21から排出可能な液体の量を調整すればよい。 However, the specific method of suppressing air-in is not limited to the above example. As another example, the controller 130 may set a first initial value (for example, 0) as the count value N based on the fact that “OFF” is set in the error flag in S74. On the other hand, the controller 130 may set a second initial value (for example, Dh) as the count value N based on the fact that the error flag is set to “ON” in S74. Then, the controller 130, in S76~S78, may be compared with the count value N and threshold value N th. Note that the second initial value, a value close to the threshold N th than the first initial value. Thus, by adjusting one or both of the count value N and threshold value N th, it may be adjusted the amount of liquid that can be discharged from the head 21.

また、誤差情報C、Sの具体例としては、前述した”大”や”小”に限定されない。例えば、誤差情報C、Sは、誤差があるときにのみ、ICチップ247のメモリやEEPROM134に書き込まれてもよい。詳細には、図13(A)に示されるように、コントローラ130は、前述されたステップS34、S35に代えて、ステップS101、S102を実行してもよい。また、図13(B)に示されるように、コントローラ130は、前述されたステップS45、S46に代えて、ステップS103、S104を実行してもよい。   Further, specific examples of the error information C and S are not limited to the above-described “large” and “small”. For example, the error information C and S may be written into the memory of the IC chip 247 or the EEPROM 134 only when there is an error. Specifically, as shown in FIG. 13A, the controller 130 may execute steps S101 and S102 instead of the steps S34 and S35 described above. Further, as shown in FIG. 13B, the controller 130 may execute steps S103 and S104 instead of the steps S45 and S46 described above.

図13(A)に示されるように、コントローラ130は、接点152を通じてICチップ247のメモリから読み出したCTG情報に誤差情報Cが含まれているかを判断する(S101)。コントローラ130は、CTG情報に誤差情報Cが含まれていないと判断したことに基づいて(S101:No)、コントローラ130は、EEPROM134の所定領域に、誤差情報Sが記憶されているかを判断する(S102)。   As shown in FIG. 13A, the controller 130 determines whether the error information C is included in the CTG information read from the memory of the IC chip 247 through the contact 152 (S101). Based on the determination that the error information C is not included in the CTG information (S101: No), the controller 130 determines whether the error information S is stored in a predetermined area of the EEPROM 134 ( S102).

コントローラ130は、EEPROM134の所定領域に、誤差情報Sが記憶されていないと判断したことに基づいて(S102:No)、誤差フラグに“OFF”を設定する(S36)。すなわち、コントローラ130は、CTG情報に誤差情報Cが含まれていないと判断し(S101:No)、且つ、EEPROM134の所定領域に、誤差情報Sが記憶されていないと判断したことに基づいて(S102:No)、誤差フラグに”OFF”を設定する(S36)。   Based on the determination that the error information S is not stored in the predetermined area of the EEPROM 134 (S102: No), the controller 130 sets “OFF” in the error flag (S36). That is, the controller 130 determines that the error information C is not included in the CTG information (S101: No), and based on the determination that the error information S is not stored in the predetermined area of the EEPROM 134 ( S102: No), “OFF” is set in the error flag (S36).

コントローラ130は、CTG情報に誤差情報Cが含まれていると判断したことに基づいて(S101:Yes)、誤差フラグに”ON”を設定する(S37)。また、コントローラ130は、EEPROM134の所定領域に誤差情報Sが記憶されていると判断したことに基づいて(S120:Yes)、誤差フラグに“ON”を設定する(S37)。すなわち、コントローラ130は、CTG情報に誤差情報Cが含まれていると判断し(S101:Yes)、又は、EEPROM134の所定領域に、誤差情報Sが記憶されていると判断したことに基づいて(S120:Yes)、誤差フラグに”ON”を設定する(S37)。   Based on the determination that the error information C is included in the CTG information (S101: Yes), the controller 130 sets “ON” in the error flag (S37). Further, the controller 130 sets the error flag to “ON” based on the determination that the error information S is stored in a predetermined area of the EEPROM 134 (S120: Yes) (S37). That is, the controller 130 determines that the error information C is included in the CTG information (S101: Yes), or based on determining that the error information S is stored in a predetermined area of the EEPROM 134 ( S120: Yes), “ON” is set in the error flag (S37).

また、図13(B)に示されるように、コントローラ130は、S42で算出した高さHc、Hsの差と閾値高さHthとを比較する(S44)。コントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判断したことに基づいて(S44:Yes)、誤差情報CをICチップ247のメモリに書き込む。さらにコントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判断したことに基づいて(S44:Yes)、誤差情報SをEEPROM134の所定領域に書き込む(S103)。一方、コントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判断したことに基づいて(S44:No)、誤差情報CをICチップ247のメモリから消去する。さらにコントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判断したことに基づいて(S44:No)、誤差情報SをEEPROM134の所定領域から消去する(S104)。なお、誤差情報C,SがICチップ247のメモリやEEPROM134に書き込まれていない場合には、消去する誤差情報C,Sがないので、コントローラ130は、消去動作を実行しない。 Further, as shown in FIG. 13 (B), the controller 130, the height Hc calculated in S42, is compared with the difference between Hs and the threshold height H th (S44). The controller 130 writes the error information C in the memory of the IC chip 247 based on the determination that the difference between the heights Hc and Hs is greater than or equal to the threshold height Hth (S44: Yes). Further, based on the determination that the difference between the heights Hc and Hs is greater than or equal to the threshold height Hth (S44: Yes), the controller 130 writes the error information S in a predetermined area of the EEPROM 134 (S103). Meanwhile, the controller 130, the height Hc, based on the difference in Hs is determined to less than a threshold height H th (S44: No), it erases the error information C from the memory of the IC chip 247. Further, the controller 130, the height Hc, based on the difference in Hs is determined to less than a threshold height H th (S44: No), the error information S erase the predetermined area of the EEPROM 134 (S104). If the error information C and S is not written in the memory of the IC chip 247 or the EEPROM 134, the controller 130 does not execute the erase operation because there is no error information C and S to be erased.

また、コントローラ130が、誤差情報C,Sを書き込むか否かの判断や、コントローラ130が、”大”及び”小”のいずれかを設定するための判断は、カートリッジ200に対する誤差情報Cにおける判断と、タンク160に対する誤差情報Sにおける判断とが、それぞれ別個に行われてもよい。つまり、誤差情報Cに対しては、高さHc、Hsの差が閾値高さHth1以上であるかが判断され、誤差情報Sに対しては、高さHc、Hsの差が閾値高さHth2以上であるかが判断されてもよい。閾値高さHth1は第1閾値誤差の一例である。閾値高さHth2は第2閾値誤差の一例である。 The controller 130 determines whether or not to write the error information C and S, and the controller 130 determines whether to set “large” or “small” in the error information C for the cartridge 200. And the determination in the error information S for the tank 160 may be performed separately. That is, for the error information C, it is determined whether the difference between the heights Hc and Hs is greater than or equal to the threshold height Hth1 , and for the error information S, the difference between the heights Hc and Hs is the threshold height. It may be determined whether H th2 or more. The threshold height H th1 is an example of a first threshold error. The threshold height H th2 is an example of a second threshold error.

例えば、閾値高さHth1は、閾値高さHth2より大きな値である。カートリッジ200の液室210に貯留可能な最大インク量は、タンク160の液室171に貯留可能な最大インク量より多い。また、高さHc、Hsの差により生ずるインク量Vc、Vsに対する誤差は、液室210,171にそれぞれ貯留可能な最大インク量に対する割合が重要であることも想定される。これらを考慮して、閾値高さHth1と、閾値高さHth2とが異なる値であってもよい。 For example, the threshold height H th1 is larger than the threshold height H th2 . The maximum ink amount that can be stored in the liquid chamber 210 of the cartridge 200 is larger than the maximum ink amount that can be stored in the liquid chamber 171 of the tank 160. It is also assumed that the ratio of the error to the ink amounts Vc and Vs caused by the difference between the heights Hc and Hs with respect to the maximum ink amount that can be stored in the liquid chambers 210 and 171 is important. Considering these, the threshold height H th1 and the threshold height H th2 may be different values.

図14に示されるように、コントローラ130は、S42で算出した高さHc、Hsの差と閾値高さHth1とを比較する(S105)。コントローラ130は、高さHc、Hsの差が閾値高さHth1以上だと判断したことに基づいて(S105:Yes)、誤差情報CをICチップ247のメモリに書き込む(S106)。一方、コントローラ130は、高さHc、Hsの差が閾値高さHth1未満だと判断したことに基づいて(S105:No)、誤差情報CをICチップ247のメモリから消去する(S107)。 As shown in FIG. 14, the controller 130 compares the difference between the heights Hc and Hs calculated in S42 and the threshold height H th1 (S105). Based on the determination that the difference between the heights Hc and Hs is equal to or greater than the threshold height Hth1 (S105: Yes), the controller 130 writes the error information C into the memory of the IC chip 247 (S106). On the other hand, the controller 130 erases the error information C from the memory of the IC chip 247 based on the determination that the difference between the heights Hc and Hs is less than the threshold height Hth1 (S105: No) (S107).

また、コントローラ130は、S42で算出した高さHc、Hsの差と閾値高さHth2とを比較する(S108)。コントローラ130は、高さHc、Hsの差が閾値高さHth2以上だと判断したことに基づいて(S108:Yes)、誤差情報SをEEPROM134の所定領域に書き込む(S109)。一方、コントローラ130は、高さHc、Hsの差が閾値高さHth2未満だと判断したことに基づいて(S108:No)、誤差情報SをEEPROM134の所定領域から消去する(S110)。 Further, the controller 130 compares the difference between the heights Hc and Hs calculated in S42 and the threshold height Hth2 (S108). Based on the determination that the difference between the heights Hc and Hs is equal to or greater than the threshold height Hth2 (S108: Yes), the controller 130 writes the error information S in a predetermined area of the EEPROM 134 (S109). On the other hand, the controller 130 deletes the error information S from the predetermined area of the EEPROM 134 based on the determination that the difference between the heights Hc and Hs is less than the threshold height H th2 (S108: No) (S110).

これにより、カートリッジ200の液室210に貯留可能な最大インク量に対する誤差の割合と、タンク160の液室171に貯留可能な最大インク量に対する誤差の割合と、をそれぞれ考慮して、コントローラ130は、液室210,171に対して独立して誤差の有無を判断することができる。   Accordingly, the controller 130 takes into account the ratio of the error to the maximum ink amount that can be stored in the liquid chamber 210 of the cartridge 200 and the ratio of the error to the maximum ink amount that can be stored in the liquid chamber 171 of the tank 160. The presence or absence of an error can be determined independently for the liquid chambers 210 and 171.

また、閾値高さHth1と、閾値高さHth2とは、高さHc、Hsの差に対するものでなくてもよい。例えば、図12(A)に示されるように、閾値高さHth1は、ある高さHと、現在の各高さHcとの差(ΔHc=Hc−H(第1誤差の一例)に対するものであってもよい。また、閾値高さHth2は、ある高さHと、現在の各高さHsとの差(ΔHs=H−Hs(第2誤差の一例))に対するものであってもよい。なお、高さHとは、高さHc、Hsと差がほぼ無くなった所定状態(すなわち液室210と液室171との間でインクの移動が無視できるほどに小さい状態)における高さである。 Further, the threshold height H th1 and the threshold height H th2 may not be relative to the difference between the heights Hc and Hs. For example, as shown in FIG. 12A, the threshold height H th1 is for a difference between a certain height H and the current height Hc (ΔHc = Hc−H (an example of the first error)). The threshold height H th2 may be a difference between a certain height H and the current height Hs (ΔHs = H−Hs (an example of the second error)). The height H is a height in a predetermined state in which the difference between the heights Hc and Hs is almost eliminated (that is, a state in which the movement of ink is negligibly small between the liquid chamber 210 and the liquid chamber 171). It is.

また、コントローラ130が、誤差情報C,Sを書き込むか否かの判断や、コントローラ130が、”大”及び”小”のいずれかを設定するための判断は、カートリッジ200が交換されたこと、カートリッジ200が交換されてからの経過時間が所定時間に到達したことをトリガーとして実行されてもよい。つまり、高さHc、Hsの差が、閾値高さHth1以上であるか否かが、コントローラ130によって判断されなくてもよい。 Further, the controller 130 determines whether or not to write the error information C and S, and the controller 130 determines whether to set “large” or “small”. It may be executed with a trigger that the elapsed time from the replacement of the cartridge 200 has reached a predetermined time. That is, the controller 130 may not determine whether the difference between the heights Hc and Hs is equal to or greater than the threshold height Hth1 .

図15に示されるように、コントローラ130は、S33においてCTG情報を読み出してからの経過時間が所定時間に到達したかを判断する(S111)。所定時間は、例えば、次のように設定される。所定の温度及び気圧であって、所定の組成のインク(例えば、染料のブラック)が使用されるとする。図11(A)に示されるように、タンク160の液室171が空であり(Vs=0)、且つ装着されたカートリッジ200の液室210に最大インク量Vc0が貯留されている状態から、図12(A)に示されるように、高さHc、Hsの差がほぼ無くなった所定状態になるまで、の時間が、所定時間として設定されてもよい。例えば、温度及び気圧が高いほど、所定時間が短く設定される。インクの組成は、例えばインクの粘度に影響するので、インクの粘度が高いほど、所定時間が長く設定される。所定時間は、予め定められてEEPROM134に記憶されていてもよい。また、温度及び気圧や、インクの種類と対応した複数の所定時間が、テーブルとしてEEPROM134に格納されており、コントローラ130が、温度や気圧、インクの種類に応じて、当該テーブルから所定時間を選択してもよい。   As shown in FIG. 15, the controller 130 determines whether or not the elapsed time after reading the CTG information in S33 has reached a predetermined time (S111). The predetermined time is set as follows, for example. It is assumed that an ink (for example, a black dye) having a predetermined temperature and pressure and having a predetermined composition is used. As shown in FIG. 11A, the liquid chamber 171 of the tank 160 is empty (Vs = 0) and the maximum ink amount Vc0 is stored in the liquid chamber 210 of the mounted cartridge 200. As shown in FIG. 12 (A), the time until the difference between the heights Hc and Hs almost disappears may be set as the predetermined time. For example, the higher the temperature and the atmospheric pressure, the shorter the predetermined time is set. Since the composition of the ink affects the viscosity of the ink, for example, the higher the viscosity of the ink, the longer the predetermined time is set. The predetermined time may be determined in advance and stored in the EEPROM 134. In addition, a plurality of predetermined times corresponding to temperature, atmospheric pressure, and ink type are stored in the EEPROM 134 as a table, and the controller 130 selects a predetermined time from the table according to the temperature, atmospheric pressure, and ink type. May be.

コントローラ130は、経過時間が所定時間に到達していないと判断したことに基づいて(S111:No)、誤差情報CをICチップ247のメモリに書き込む(S112)。さらに、コントローラ130は、経過時間が所定時間に到達していないと判断したことに基づいて(S111:No)、誤差情報SをEEPROM134の所定領域に書き込む(S112)。一方、コントローラ130は、経過時間が所定時間に到達したと判断したことに基づいて(S111:Yes)、誤差情報CをICチップ247のメモリから消去する。また、コントローラ130は、経過時間が所定時間に到達したと判断したことに基づいて(S111:Yes)、誤差情報SをEEPROM134の所定領域から消去する(S113)。   Based on the determination that the elapsed time has not reached the predetermined time (S111: No), the controller 130 writes the error information C into the memory of the IC chip 247 (S112). Further, based on the determination that the elapsed time has not reached the predetermined time (S111: No), the controller 130 writes the error information S in the predetermined area of the EEPROM 134 (S112). On the other hand, the controller 130 erases the error information C from the memory of the IC chip 247 based on the determination that the elapsed time has reached the predetermined time (S111: Yes). Further, the controller 130 deletes the error information S from the predetermined area of the EEPROM 134 based on the determination that the elapsed time has reached the predetermined time (S111: Yes) (S113).

なお、前述された実施形態では、コントローラ130が、液面センサ155が出力する信号に基づいて、アクチュエータ190の被検出部194が検出位置に位置しているか否かを検出する構成である。しかし、液室171におけるインクの液面が検出できれば、液面センサ155の構成は特に限定されない。例えば、コントローラ130が、液室171の後壁164にインクが接触しているか否かによって異なる反射率を有するプリズムを利用して、液室171におけるインクの液面を光学的に検出するためのセンサであってもよい。また、液面センサ155は、液室171内に挿入された電極棒であってもよい。   In the above-described embodiment, the controller 130 detects whether or not the detected portion 194 of the actuator 190 is located at the detection position based on the signal output from the liquid level sensor 155. However, the configuration of the liquid level sensor 155 is not particularly limited as long as the ink level in the liquid chamber 171 can be detected. For example, the controller 130 optically detects the ink level in the liquid chamber 171 by using a prism having a different reflectance depending on whether or not the ink is in contact with the rear wall 164 of the liquid chamber 171. It may be a sensor. Further, the liquid level sensor 155 may be an electrode rod inserted into the liquid chamber 171.

また、コントローラ130が、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことは、コントローラ130が、装着ケース150内にカートリッジが装着されたと判断したことの一例である。コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判断する、他の例を以下に説明する。   The controller 130 receives a low level signal from the mounting sensor 154, then receives a high level signal from the mounting sensor 154, and then receives a low level signal from the mounting sensor 154. This is an example of determining that a cartridge is mounted in the mounting case 150. Another example in which the controller 130 determines that the cartridge 200 is mounted in the mounting case 150 will be described below.

例えば、コントローラ130が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ130は、ICチップ247のメモリから識別情報を読み出して、EEPROM134に記憶された交換前のカートリッジ200の識別情報と比較する。ICチップ247のメモリから読み出した識別情報と、EEPROM134に記憶された識別情報とが異なると判断したことに応じて、コントローラ130は、装着ケース150においてインクカートリッジ30が交換されたと判断してもよい。つまり、「コントローラ130は、ICチップ247のメモリから識別情報を読み出して、EEPROM134に記憶された交換前のカートリッジ200の識別情報と比較する。その結果、ICチップ247のメモリから読み出した識別情報と、EEPROM134に記憶された識別情報とが異なると判断した」ことが、コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判断することの一例である。   For example, the controller 130 receives the low level signal after receiving the high level signal from the cover sensor 88. Then, the controller 130 reads the identification information from the memory of the IC chip 247 and compares it with the identification information of the cartridge 200 before replacement stored in the EEPROM 134. In response to determining that the identification information read from the memory of the IC chip 247 is different from the identification information stored in the EEPROM 134, the controller 130 may determine that the ink cartridge 30 has been replaced in the mounting case 150. . That is, “the controller 130 reads the identification information from the memory of the IC chip 247 and compares it with the identification information of the cartridge 200 before replacement stored in the EEPROM 134. As a result, the identification information read from the memory of the IC chip 247 The controller 130 determines that the identification information stored in the EEPROM 134 is different ”is an example in which the controller 130 determines that the cartridge 200 is mounted in the mounting case 150.

また、例えば、コントローラ130が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ130は、ディスプレイ17を通じてユーザに、装着ケース150内に新たなカートリッジ200の装着をしたか、を示す確認画面を表示させる。コントローラ130は、ディスプレイ17に確認画面を表示させている一方で、操作パネル22を通じて、当該確認画面に対応する、入力を受信する。受信した当該入力が、装着ケース150内に新たなカートリッジ200の装着した、ことに対応していることに応じて、コントローラ130は、装着ケース150のインクカートリッジ30が交換されたと判断してもよい。つまり、「コントローラ130が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ130は、ディスプレイ17を通じてユーザに、装着ケース150内に新たなカートリッジ200の装着をしたか、を示す確認画面を表示させる。コントローラ130は、ディスプレイ17に確認画面を表示させている一方で、操作パネル22を通じて、当該確認画面に対応する、入力を受信する。受信した当該入力が、装着ケース150内に新たなカートリッジ200の装着した、ことに対応している」ことが、コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判断することの一例である。   For example, the controller 130 receives a low level signal after receiving a high level signal from the cover sensor 88. Then, the controller 130 causes the user to display a confirmation screen indicating whether or not a new cartridge 200 has been mounted in the mounting case 150 through the display 17. The controller 130 displays a confirmation screen on the display 17, while receiving an input corresponding to the confirmation screen through the operation panel 22. The controller 130 may determine that the ink cartridge 30 of the mounting case 150 has been replaced in response to the received input corresponding to the mounting of a new cartridge 200 in the mounting case 150. . In other words, “the controller 130 receives the low level signal after receiving the high level signal from the cover sensor 88. Then, the controller 130 mounts a new cartridge 200 in the mounting case 150 to the user through the display 17. The controller 130 displays the confirmation screen on the display 17, while receiving the input corresponding to the confirmation screen through the operation panel 22. The received input is “Corresponding to the fact that a new cartridge 200 is mounted in the mounting case 150” is an example in which the controller 130 determines that the cartridge 200 is mounted in the mounting case 150.

上記実施形態では、供給管230に設けられたインク供給口234と、ニードル181の開口183とが開放されて、供給管230のインクバルブ室213と、ニードル181の内部空間とが連通される例が説明された。インク供給口234は、カートリッジ200の後壁202に設けられてもよい。例えば、インク供給口234として、後壁202を厚み方向に貫通する貫通孔が後壁202に形成されてもよい。インク供給口234の内部空間は、第1流路の一例である。この変形例では、カートリッジ200が装着ケース150に装着される過程において、ニードル181がインク供給口234を通じてカートリッジ200の液室210に進入し、ニードル181の一端(開口183)が、カートリッジ200の液室210の内部に位置する状態となる。これにより、カートリッジ200の液室210と、ニードル181の内部空間とが連通される。すなわち、装着ケース150にカートリッジ200が装着された状態において、ニードル181の内部空間は、カートリッジ200の液室210とタンク160の液室171とを連通させる流路を形成する。   In the above embodiment, the ink supply port 234 provided in the supply pipe 230 and the opening 183 of the needle 181 are opened, and the ink valve chamber 213 of the supply pipe 230 and the internal space of the needle 181 communicate with each other. Explained. The ink supply port 234 may be provided on the rear wall 202 of the cartridge 200. For example, a through hole that penetrates the rear wall 202 in the thickness direction may be formed in the rear wall 202 as the ink supply port 234. The internal space of the ink supply port 234 is an example of a first flow path. In this modification, in the process in which the cartridge 200 is mounted in the mounting case 150, the needle 181 enters the liquid chamber 210 of the cartridge 200 through the ink supply port 234, and one end (opening 183) of the needle 181 is connected to the liquid in the cartridge 200. It will be in the state located inside the chamber 210. As a result, the liquid chamber 210 of the cartridge 200 communicates with the internal space of the needle 181. That is, in a state where the cartridge 200 is mounted on the mounting case 150, the internal space of the needle 181 forms a flow path that connects the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160.

また、開口183が、タンク160の前壁162に設けられてもよい。例えば、開口183として、前壁162を厚み方向に貫通する貫通孔が前壁162に形成されてもよい。開口183の内部空間は、第1流路の一例である。この変形例では、カートリッジ200が装着ケース150に装着される過程において、供給管230が開口183を通じてタンク160の液室171に進入し、供給管230の他端(インク供給口234)が、タンク160の液室171の内部に位置する状態となる。これにより、カートリッジ200の液室210と、ニードル181の内部空間とが連通される。すなわち、装着ケース150にカートリッジ200が装着された状態において、インクバルブ室213は、カートリッジ200の液室210とタンク160の液室171とを連通させる流路を形成する。   An opening 183 may be provided in the front wall 162 of the tank 160. For example, as the opening 183, a through-hole penetrating the front wall 162 in the thickness direction may be formed in the front wall 162. The internal space of the opening 183 is an example of a first flow path. In this modification, in the process of mounting the cartridge 200 to the mounting case 150, the supply pipe 230 enters the liquid chamber 171 of the tank 160 through the opening 183, and the other end (ink supply port 234) of the supply pipe 230 is connected to the tank. It will be in the state located inside the 160 liquid chambers 171. As a result, the liquid chamber 210 of the cartridge 200 communicates with the internal space of the needle 181. That is, in a state where the cartridge 200 is mounted in the mounting case 150, the ink valve chamber 213 forms a flow path that connects the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160.

また、ICチップ247は、接点152と接触して導通されるが、これにかえて、NFC(near field communication)やRFID(radio frequency identification)のような電波を用いて非接触でデータを読み書きする情報媒体とインタフェースとが採用されてもよい。   In addition, the IC chip 247 is brought into contact with the contact 152 to conduct, but instead of this, data is read and written in a contactless manner using radio waves such as NFC (near field communication) and RFID (radio frequency identification). An information medium and an interface may be employed.

また、前述された実施形態では、ヘッド21を通じたインクの排出がシートへの画像記録として説明がされているが、ヘッド21を通じたインクの排出は、ヘッド21のノズル29から強制的にインクを排出させる所謂パージであってもよい。   In the above-described embodiment, the discharge of ink through the head 21 is described as image recording on a sheet. However, the discharge of ink through the head 21 is forcibly discharged from the nozzles 29 of the head 21. So-called purging may be performed.

また、前述された各実施形態では、インクが液体の一例として説明されているが、液体は、例えば、画像記録時にインクに先立って用紙などに吐出される前処理液でもよいし、ヘッド21を洗浄するための水でもよい。   In each of the embodiments described above, the ink is described as an example of the liquid. However, the liquid may be, for example, a pretreatment liquid that is ejected onto a sheet or the like prior to the ink during image recording. Water for washing may be used.

10・・・プリンタ
17・・・ディスプレイ
21・・・ヘッド
130・・・コントローラ
134・・・EEPROM
150・・・装着ケース
152・・・接点(インタフェース)
154・・・装着センサ
155・・・液面センサ
160・・・タンク
171・・・液室
175・・・大気連通室
176・・・貫通孔
177・・・大気連通ポート
181・・・ニードル
183・・・開口
184,216,219・・・貫通孔
200・・・カートリッジ
210・・・液室
211・・・上部液室
212・・・下部液室
213・・・インクバルブ室
214・・・大気バルブ室
221・・・大気連通口
230・・・供給管
234・・・インク供給口
10 ... Printer 17 ... Display 21 ... Head 130 ... Controller 134 ... EEPROM
150 ... Mounting case 152 ... Contact (interface)
154: Mounting sensor 155 ... Liquid level sensor 160 ... Tank 171 ... Liquid chamber 175 ... Atmospheric communication chamber 176 ... Through hole 177 ... Atmospheric communication port 181 ... Needle 183 ... openings 184,216,219 ... through hole 200 ... cartridge 210 ... liquid chamber 211 ... upper liquid chamber 212 ... lower liquid chamber 213 ... ink valve chamber 214 ... Atmospheric valve chamber 221 ... atmosphere communication port 230 ... supply pipe 234 ... ink supply port

Claims (32)

液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
インタフェースと、
コントローラと、を備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、
決定した上記液体量Vc、及び当該液体量Vcに誤差があることを示す誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させる液体排出装置。
A first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end external A mounting case in which a cartridge having a second flow path in communication with the mounting unit is mounted;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Interface,
A controller, and
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller
Determining the amount of liquid Vc stored in the first liquid chamber of the cartridge mounted in the mounting case;
A liquid discharging apparatus that stores the determined liquid amount Vc and error information indicating that there is an error in the liquid amount Vc in a cartridge memory of the cartridge through the interface.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
インタフェースと、
コントローラと、を備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、
決定した上記液体量Vc及び当該液体量Vcに含まれる誤差の大きさを示す誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させる液体排出装置。
A first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end external A mounting case in which a cartridge having a second flow path in communication with the mounting unit is mounted;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Interface,
A controller, and
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller
Determining the amount of liquid Vc stored in the first liquid chamber of the cartridge mounted in the mounting case;
A liquid discharging apparatus that stores error information indicating the determined liquid amount Vc and an error included in the liquid amount Vc in a cartridge memory of the cartridge through the interface.
上記コントローラは、
上記第2液室に貯留されている液体量Vsを決定し、
決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、
決定した上記高さHc、Hsの差に基づいて上記誤差を判断し、
判断した上記誤差を示す上記誤差情報を、上記インタフェースを通じて上記カートリッジメモリに記憶させる請求項1又は2に記載の液体排出装置。
The controller
Determining the amount of liquid Vs stored in the second liquid chamber;
Based on the determined liquid amounts Vc and Vs, the height Hc from the reference position to the liquid level of the first liquid chamber and the height Hs from the reference position to the liquid level of the second liquid chamber are determined. ,
Determining the error based on the difference between the determined heights Hc and Hs;
The liquid discharging apparatus according to claim 1, wherein the error information indicating the determined error is stored in the cartridge memory through the interface.
上記コントローラは、
上記第1液室から上記第2液室へ期間Δtの間に流出する液体の流出量Qcを、上記高さHc、Hs、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnに基づいて決定し、
直前に決定した上記液体量Vcから上記流出量Qcを減じて、上記期間Δtが経過した後の上記液体量Vcを決定し、
直前に決定した上記液体量Vsに上記流出量Qcを加えて、上記期間Δtが経過した後の上記液体量Vsを決定し、
決定した上記液体量Vc及び上記誤差情報を、上記インタフェースを通じて上記カートリッジメモリに記憶させる請求項3に記載の液体排出装置。
The controller
The amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the period Δt is defined as the height Hc, Hs, the flow path resistance Rc of the second flow path, and the fifth flow path. Determined based on the channel resistance Rs and the channel resistance Rn which is the resistance of one or both of the first channel and the third channel,
Subtracting the outflow amount Qc from the liquid amount Vc determined immediately before to determine the liquid amount Vc after the period Δt has elapsed,
Adding the outflow amount Qc to the liquid amount Vs determined immediately before, determining the liquid amount Vs after the period Δt has elapsed,
The liquid discharging apparatus according to claim 3, wherein the determined liquid amount Vc and the error information are stored in the cartridge memory through the interface.
上記コントローラは、
上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させ、
上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させてから上記期間Δtが経過するまで待機し、
上記期間Δtが経過したことに基づいて、再び、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させる請求項4に記載の液体排出装置。
The controller
Determining the outflow amount Qc and the liquid amounts Vc, Vs and storing the determined liquid amount Vc and the error information in the cartridge memory;
Wait until the period Δt elapses after the liquid amount Vc and the error information are stored in the cartridge memory.
5. The flow rate Qc and the liquid amounts Vc and Vs are determined again based on the elapse of the period Δt, and the determined liquid amount Vc and the error information are stored in the cartridge memory. Liquid discharger.
上記コントローラは、
上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させたことに基づいて、上記高さHc、Hsの差が閾値高さ未満か否かを判断し、
上記高さHc、Hsの差が上記閾値高さ以上だと判断したことに基づいて、上記期間Δtが経過するまで待機する請求項5に記載の液体排出装置。
The controller
Based on determining the outflow amount Qc and the liquid amounts Vc and Vs and storing the determined liquid amount Vc and the error information in the cartridge memory, the difference between the heights Hc and Hs is a threshold height. Determine whether it is less than
The liquid discharging apparatus according to claim 5, wherein the apparatus waits until the period Δt elapses based on determining that the difference between the heights Hc and Hs is equal to or greater than the threshold height.
上記コントローラは、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc及び上記誤差情報を上記カートリッジメモリに記憶させる処理を停止する請求項6に記載の液体排出装置。   The controller determines the outflow amount Qc and the liquid amounts Vc and Vs based on the determination that the difference between the heights Hc and Hs is less than the threshold height, and determines the determined liquid amount Vc and The liquid discharging apparatus according to claim 6, wherein the process of storing error information in the cartridge memory is stopped. 上記コントローラは、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記誤差情報を上記カートリッジメモリから消去する請求項7に記載の液体排出装置。   8. The liquid discharging apparatus according to claim 7, wherein the controller erases the error information from the cartridge memory based on determining that the difference between the heights Hc and Hs is less than the threshold height. 上記コントローラは、上記高さHc、Hsの差が上記閾値高さに近づくほど、上記液体量Vc、Vs及び上記高さHc、Hsを次に決定するまでの上記時間Δtを長くする請求項6から8のいずれかに記載の液体排出装置。   The controller increases the time Δt until the next determination of the liquid amounts Vc, Vs and the heights Hc, Hs as the difference between the heights Hc, Hs approaches the threshold height. The liquid discharging apparatus according to any one of 1 to 8. 報知機を備えており、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたことを判断し、
上記装着ケースに上記カートリッジが装着されたことを判断したことに基づいて、上記カートリッジメモリに記憶された上記誤差情報を読み出し、
上記誤差情報が読み出されたことに基づいて、上記報知機を作動させる請求項9に記載の液体排出装置。
Equipped with an alarm,
The controller
Determine that the cartridge is mounted in the mounting case,
Based on the determination that the cartridge is mounted in the mounting case, the error information stored in the cartridge memory is read out,
The liquid discharging apparatus according to claim 9, wherein the alarm is operated based on the error information being read out.
装置メモリを備えており、
上記コントローラは、
上記第2液室に貯留されている液体量Vsを決定して上記装置メモリに記憶させ、
上記装着ケースに上記カートリッジが装着されたことに基づいて、上記液体量Vsに誤差があることを示すタンク誤差情報を上記装置メモリに記憶させる請求項1から10のいずれかに記載の液体排出装置。
Equipped with device memory,
The controller
A liquid amount Vs stored in the second liquid chamber is determined and stored in the device memory;
11. The liquid discharge apparatus according to claim 1, wherein tank error information indicating that there is an error in the liquid amount Vs is stored in the apparatus memory based on the mounting of the cartridge in the mounting case. .
上記コントローラは、
決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、
上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記タンク誤差情報を上記装置メモリから消去する請求項11に記載の液体排出装置。
The controller
Based on the determined liquid amounts Vc and Vs, the height Hc from the reference position to the liquid level of the first liquid chamber and the height Hs from the reference position to the liquid level of the second liquid chamber are determined. ,
12. The liquid discharging apparatus according to claim 11, wherein the tank error information is erased from the apparatus memory based on determining that the difference between the heights Hc and Hs is less than the threshold height.
上記コントローラは、
上記誤差情報で示される誤差が第1閾値誤差以上であると判断したことに基づいて、上記カートリッジメモリに上記誤差情報を記憶させ、
上記タンク誤差情報で示される誤差が第2閾値誤差以上であると判断したことに基づいて、上記装置メモリに上記タンク誤差情報を記憶させる請求項11又は12に記載の液体排出装置。
The controller
Based on the determination that the error indicated by the error information is greater than or equal to a first threshold error, the error information is stored in the cartridge memory,
The liquid discharging apparatus according to claim 11 or 12, wherein the tank error information is stored in the apparatus memory based on determining that an error indicated by the tank error information is equal to or greater than a second threshold error.
上記コントローラは、
決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、
上記高さHc、Hsの差が閾値高さ未満である所定状態と、上記Hc,Hsとの差から、上記第1液室における第1誤差及び上記第2液室における第2誤差を決定し、
決定した上記第1誤差が上記第1閾値誤差以上であると判断したことに基づいて、上記カートリッジメモリに上記第1誤差を示す上記誤差情報を記憶させ、
上記タンク誤差情報で示される誤差が上記第2閾値誤差以上であると判断したことに基づいて、上記装置メモリに上記第2誤差を示す上記タンク誤差情報を記憶させる請求項13に記載の液体排出装置。
The controller
Based on the determined liquid amounts Vc and Vs, the height Hc from the reference position to the liquid level of the first liquid chamber and the height Hs from the reference position to the liquid level of the second liquid chamber are determined. ,
A first error in the first liquid chamber and a second error in the second liquid chamber are determined from a predetermined state in which the difference between the heights Hc and Hs is less than a threshold height and the difference between the Hc and Hs. ,
Based on the determination that the determined first error is greater than or equal to the first threshold error, the error information indicating the first error is stored in the cartridge memory,
The liquid discharge according to claim 13, wherein the tank error information indicating the second error is stored in the device memory based on the determination that the error indicated by the tank error information is equal to or greater than the second threshold error. apparatus.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
装置メモリと、
コントローラと、を備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記第2液室に貯留されている液体量Vsを決定して上記装置メモリに記憶させ、
上記装着ケースに上記カートリッジが装着されたことに基づいて、上記液体量Vsに誤差があることを示すタンク誤差情報を上記装置メモリに記憶させる液体排出装置。
A first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end external A mounting case in which a cartridge having a second flow path in communication with the mounting unit is mounted;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Device memory;
A controller, and
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller
A liquid amount Vs stored in the second liquid chamber is determined and stored in the device memory;
A liquid discharging apparatus that stores in the apparatus memory tank error information indicating that there is an error in the liquid amount Vs based on the mounting of the cartridge in the mounting case.
上記コントローラは、
上記第2液室に貯留されている液体量Vsを決定し、
決定した上記液体量Vc、Vsに基づいて、基準位置から上記第1液室の液面までの高さHc、及び上記基準位置から上記第2液室の液面までの高さHsを決定し、
決定した上記高さHc、Hsの差に基づいて上記誤差の有無を判断し、
誤差があると判断したことに基づいて、上記タンク誤差情報を、上記装置メモリに記憶させる請求項15に記載の液体排出装置。
The controller
Determining the amount of liquid Vs stored in the second liquid chamber;
Based on the determined liquid amounts Vc and Vs, the height Hc from the reference position to the liquid level of the first liquid chamber and the height Hs from the reference position to the liquid level of the second liquid chamber are determined. ,
Based on the difference between the determined heights Hc and Hs, the presence or absence of the error is determined,
The liquid discharging apparatus according to claim 15, wherein the tank error information is stored in the apparatus memory based on the determination that there is an error.
上記コントローラは、
上記第1液室から上記第2液室へ期間Δtの間に流出する液体の流出量Qcを、上記高さHc、Hs、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnに基づいて決定し、
直前に決定した上記液体量Vcから上記流出量Qcを減じて、上記期間Δtが経過した後の上記液体量Vcを決定し、
直前に決定した上記液体量Vsに上記流出量Qcを加えて、上記期間Δtが経過した後の上記液体量Vsを決定し、
決定した上記液体量Vs及び上記タンク誤差情報を、上記装置メモリに記憶させる請求項16に記載の液体排出装置。
The controller
The amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the period Δt is defined as the height Hc, Hs, the flow path resistance Rc of the second flow path, and the fifth flow path. Determined based on the channel resistance Rs and the channel resistance Rn which is the resistance of one or both of the first channel and the third channel,
Subtracting the outflow amount Qc from the liquid amount Vc determined immediately before to determine the liquid amount Vc after the period Δt has elapsed,
Adding the outflow amount Qc to the liquid amount Vs determined immediately before, determining the liquid amount Vs after the period Δt has elapsed,
The liquid discharging apparatus according to claim 16, wherein the determined liquid amount Vs and the tank error information are stored in the apparatus memory.
上記コントローラは、
上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させ、
上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させてから上記期間Δtが経過するまで待機し、
上記期間Δtが経過したことに基づいて、再び、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させる請求項17に記載の液体排出装置。
The controller
Determining the outflow amount Qc and the liquid amounts Vc, Vs and storing the determined liquid amount Vs and the tank error information in the device memory;
Wait until the period Δt elapses after the liquid amount Vs and the tank error information are stored in the device memory.
18. The apparatus according to claim 17, wherein the outflow amount Qc and the liquid amounts Vc and Vs are determined again based on the elapse of the period Δt, and the determined liquid amount Vs and the tank error information are stored in the device memory. The liquid discharging apparatus as described.
上記コントローラは、
上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させたことに基づいて、上記高さHc、Hsの差が閾値高さ未満か否かを判断し、
上記高さHc、Hsの差が上記閾値高さ以上だと判断したことに基づいて、上記期間Δtが経過するまで待機する請求項18に記載の液体排出装置。
The controller
Based on determining the outflow amount Qc and the liquid amounts Vc, Vs and storing the determined liquid amount Vs and the tank error information in the device memory, the difference between the heights Hc, Hs is a threshold value high. Determine whether it is less than
19. The liquid discharging apparatus according to claim 18, wherein the apparatus waits until the period [Delta] t elapses based on determining that the difference between the heights Hc and Hs is equal to or greater than the threshold height.
上記コントローラは、上記高さHc、Hsの差が上記閾値高さ未満だと判断したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vs及び上記タンク誤差情報を上記装置メモリに記憶させる処理を停止する請求項19に記載の液体排出装置。   The controller determines the outflow amount Qc and the liquid amounts Vc, Vs based on determining that the difference between the heights Hc, Hs is less than the threshold height, and determines the determined liquid amount Vs and The liquid discharging apparatus according to claim 19, wherein the process of storing tank error information in the apparatus memory is stopped. 上記コントローラは、上記高さHc、Hsの差が上記閾値高さに近づくほど、上記液体量Vc、Vs及び上記高さHc、Hsを次に決定するまでの上記時間Δtを長くする請求項19又は20に記載の液体排出装置。   The controller increases the time Δt until the next determination of the liquid amounts Vc, Vs and the heights Hc, Hs as the difference between the heights Hc, Hs approaches the threshold height. Or the liquid discharge apparatus of 20. 報知機を備えており、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたことを判断し、
上記装着ケースに上記カートリッジが装着されたことを判断したことに基づいて、上記装置メモリに記憶された上記タンク誤差情報を読み出し、
上記タンク誤差情報が読み出されたことに基づいて、上記報知機を作動させる請求項21に記載の液体排出装置。
Equipped with an alarm,
The controller
Determine that the cartridge is mounted in the mounting case,
Based on the determination that the cartridge is mounted in the mounting case, the tank error information stored in the device memory is read out,
The liquid discharging apparatus according to claim 21, wherein the alarm is operated based on the tank error information being read.
インタフェースを備えており、
上記コントローラは、
上記タンク誤差情報が読み出されたことに基づいて、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに、上記第1液室に貯留されている液体量Vcに誤差があることを示す誤差情報を記憶させる請求項22に記載の液体排出装置。
With an interface,
The controller
Based on the readout of the tank error information, error information indicating that there is an error in the liquid amount Vc stored in the first liquid chamber is stored in the cartridge memory of the cartridge through the interface. The liquid discharging apparatus according to claim 22.
液体が貯留された第1液室と、
一端が上記第1液室と連通され且つ他端が外部と連通される第1流路と、
一端が上記第1液室と連通され且つ他端が外部と連通される第2流路と、
カートリッジメモリと、を備え、
装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
インタフェースと、
コントローラと、を備える液体排出装置の、上記装着ケースに当該カートリッジは装着され、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、
上記カートリッジメモリは、上記装着ケースに装着された状態で上記インタフェースを通じて上記コントローラが情報を書込可能であり、且つ上記コントローラが決定した上記液体量Vc、及び当該液体量Vcに誤差があることを示す誤差情報を記憶しているカートリッジ。
A first liquid chamber in which liquid is stored;
A first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside;
A second flow path having one end communicating with the first liquid chamber and the other end communicating with the outside;
And a cartridge memory,
A mounting case;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Interface,
The cartridge is mounted in the mounting case of a liquid discharge device comprising a controller,
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller determines a liquid amount Vc stored in the first liquid chamber of the cartridge mounted in the mounting case;
In the cartridge memory, the controller can write information through the interface in a state where the cartridge memory is mounted, and the liquid amount Vc determined by the controller and the liquid amount Vc have an error. A cartridge that stores error information.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、
上記カートリッジが装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
インタフェースと、
コントローラと、を備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記装着ケースに装着された上記カートリッジの上記第1液室に貯留されている液体量Vcを決定し、
決定した上記液体量Vc、及び当該液体量Vcに誤差があることを示す誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させるシステム。
A first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end external A cartridge having a second flow path in communication with the cartridge;
A mounting case in which the cartridge is mounted;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Interface,
A controller, and
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller
Determining the amount of liquid Vc stored in the first liquid chamber of the cartridge mounted in the mounting case;
A system for storing the determined liquid amount Vc and error information indicating that there is an error in the liquid amount Vc in a cartridge memory of the cartridge through the interface.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、
上記カートリッジが装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
インタフェースと、
装置メモリと、
コントローラと、を備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記第2液室に貯留されている液体量Vsを決定して上記装置メモリに記憶させ、
上記装着ケースに上記カートリッジが装着されたかを判断し、
上記装着ケースに上記カートリッジが装着されたと判断したことに基づいて、上記液体量Vsに誤差があることを示す誤差情報を上記装置メモリに記憶させるシステム。
A first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end external A cartridge having a second flow path in communication with the cartridge;
A mounting case in which the cartridge is mounted;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Interface,
Device memory;
A controller, and
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller
A liquid amount Vs stored in the second liquid chamber is determined and stored in the device memory;
Determine whether the cartridge is mounted in the mounting case,
A system that stores error information indicating that there is an error in the liquid amount Vs in the apparatus memory based on the determination that the cartridge is mounted in the mounting case.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが、装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
インタフェースと、
コントローラと、を備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたかを判断し、
上記装着ケースに上記カートリッジが装着されたと判断したことに基づいて、上記第1液室に貯留されている液体量Vcに誤差があること誤差情報を、上記インタフェースを通じて、上記カートリッジが有するカートリッジメモリに記憶させる液体排出装置。
A first liquid chamber in which liquid is stored, a first flow path having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end external A mounting case in which a cartridge having a second flow path in communication with the mounting unit is mounted;
A tank having a second liquid chamber,
A third flow path having one end communicating with the outside and the other end communicating with the second liquid chamber;
A fourth channel whose one end positioned below the third channel communicates with the second liquid chamber;
A fifth flow path having one end communicating with the second liquid chamber and the other end communicating with the outside;
The tank with
A head communicated with the other end of the fourth flow path;
Interface,
A controller, and
At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted on the mounting case,
The controller
Determine whether the cartridge is mounted in the mounting case,
Based on the determination that the cartridge is mounted in the mounting case, error information indicating that there is an error in the liquid amount Vc stored in the first liquid chamber is sent to the cartridge memory of the cartridge through the interface. Liquid discharge device to be memorized.
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたと判断してからの経過時間が所定時間に到達したことに基づいて、上記インタフェースを通じて、上記カートリッジメモリに記憶された上記誤差情報を消去する請求項27に記載の液体排出装置。
The controller
28. The error information stored in the cartridge memory is erased through the interface based on an elapsed time after determining that the cartridge is mounted in the mounting case reaching a predetermined time. Liquid discharger.
装置メモリを備えており、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたと判断したことに基づいて、上記第2液室に貯留されている液体量Vsに誤差があることを示すタンク誤差情報を、上記装置メモリに記憶させる請求項27又は28に記載の液体排出装置。
Equipped with device memory,
The controller
The tank error information indicating that there is an error in the liquid amount Vs stored in the second liquid chamber based on the determination that the cartridge is mounted in the mounting case is stored in the device memory. The liquid discharging apparatus according to 27 or 28.
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたと判断してからの経過時間が所定時間に到達したことに基づいて、上記装置メモリに記憶された上記タンク誤差情報を消去する請求項29に記載の液体排出装置。
The controller
30. The liquid discharge according to claim 29, wherein the tank error information stored in the device memory is erased based on the fact that an elapsed time since it was determined that the cartridge was mounted in the mounting case has reached a predetermined time. apparatus.
上記コントローラは、
上記第1液室から上記第2液室へ期間Δtの間に流出する液体の流出量Qcを、上記高さHc、Hs、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnに基づいて決定し、
直前に決定した上記液体量Vcから上記流出量Qcを減じて、上記期間Δtが経過した後の上記液体量Vcを決定し、
直前に決定した上記液体量Vsに上記流出量Qcを加えて、上記期間Δtが経過した後の上記液体量Vsを決定し、
決定した上記液体量Vc及び上記誤差情報を、上記インタフェースを通じて上記カートリッジメモリに記憶させる請求項27から30のいずれかに記載の液体排出装置。
The controller
The amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the period Δt is defined as the height Hc, Hs, the flow path resistance Rc of the second flow path, and the fifth flow path. Determined based on the channel resistance Rs and the channel resistance Rn which is the resistance of one or both of the first channel and the third channel,
Subtracting the outflow amount Qc from the liquid amount Vc determined immediately before to determine the liquid amount Vc after the period Δt has elapsed,
Adding the outflow amount Qc to the liquid amount Vs determined immediately before, determining the liquid amount Vs after the period Δt has elapsed,
31. The liquid discharging apparatus according to claim 27, wherein the determined liquid amount Vc and the error information are stored in the cartridge memory through the interface.
報知機を備えており、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたことを判断し、
上記装着ケースに上記カートリッジが装着されたことを判断したことに基づいて、上記カートリッジメモリに記憶された上記誤差情報を読み出し、
上記誤差情報が読み出されたことに基づいて、上記報知機を作動させる請求項27から31のいずれかに記載の液体排出装置。
Equipped with an alarm,
The controller
Determine that the cartridge is mounted in the mounting case,
Based on the determination that the cartridge is mounted in the mounting case, the error information stored in the cartridge memory is read out,
32. The liquid discharge apparatus according to claim 27, wherein the alarm is operated based on the error information being read out.
JP2018066790A 2017-03-31 2018-03-30 Liquid ejection devices, cartridges and systems Active JP7167467B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017072165 2017-03-31
JP2017072165 2017-03-31

Publications (2)

Publication Number Publication Date
JP2018171922A true JP2018171922A (en) 2018-11-08
JP7167467B2 JP7167467B2 (en) 2022-11-09

Family

ID=64107637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018066790A Active JP7167467B2 (en) 2017-03-31 2018-03-30 Liquid ejection devices, cartridges and systems

Country Status (1)

Country Link
JP (1) JP7167467B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1029318A (en) * 1996-04-25 1998-02-03 Canon Inc Method for supplying liquid to liquid container, liquid jet recorder employing the method, liquid supply container liquid container, and head cartridge
JP2004345235A (en) * 2003-05-22 2004-12-09 Seiko Epson Corp Recording agent cartridge, printer, and method of managing recording agent cartridge
JP2007008087A (en) * 2005-07-01 2007-01-18 Olympus Corp Image recording apparatus
JP2016043604A (en) * 2014-08-25 2016-04-04 キヤノン株式会社 Inkjet recording device and control method for ink amount in ink tank
JP2016112685A (en) * 2014-12-10 2016-06-23 キヤノン株式会社 Ink supply device and inkjet recording device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1029318A (en) * 1996-04-25 1998-02-03 Canon Inc Method for supplying liquid to liquid container, liquid jet recorder employing the method, liquid supply container liquid container, and head cartridge
JP2004345235A (en) * 2003-05-22 2004-12-09 Seiko Epson Corp Recording agent cartridge, printer, and method of managing recording agent cartridge
JP2007008087A (en) * 2005-07-01 2007-01-18 Olympus Corp Image recording apparatus
JP2016043604A (en) * 2014-08-25 2016-04-04 キヤノン株式会社 Inkjet recording device and control method for ink amount in ink tank
JP2016112685A (en) * 2014-12-10 2016-06-23 キヤノン株式会社 Ink supply device and inkjet recording device

Also Published As

Publication number Publication date
JP7167467B2 (en) 2022-11-09

Similar Documents

Publication Publication Date Title
JP2018171845A (en) Liquid discharge device
JP2018171803A (en) Liquid discharge device
JP2018171804A (en) Liquid discharge device
US11203205B2 (en) Liquid discharge device
JP2018171802A (en) Liquid discharge device and cartridge
JP7135383B2 (en) Liquid discharge device and system
JP6939030B2 (en) Liquid drainer
JP2019177605A (en) Liquid discharge device
US10717290B2 (en) Liquid discharge device
JP7124613B2 (en) Liquid ejector
JP2019177617A (en) Liquid discharge device
JP2019069565A (en) Liquid discharge device
JP2019069568A (en) Liquid discharge device
JP7119451B2 (en) Liquid discharge device and system
JP2018171922A (en) Liquid discharge device, cartridge and system
JP2018171846A (en) Liquid discharge device
JP2019069599A (en) Liquid discharge device
US10960677B2 (en) Liquid discharge device
JP7119450B2 (en) Liquid discharge device and system
JP2019177614A (en) Liquid discharge device
JP7087579B2 (en) Liquid drainer
US10744781B2 (en) Liquid discharge device
JP2019177493A (en) Liquid discharge device
JP2019177632A (en) Liquid discharge device
JP2019209667A (en) Liquid discharge device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220829

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221010

R150 Certificate of patent or registration of utility model

Ref document number: 7167467

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150