JP7131270B2 - Liquid ejector - Google Patents

Liquid ejector Download PDF

Info

Publication number
JP7131270B2
JP7131270B2 JP2018187812A JP2018187812A JP7131270B2 JP 7131270 B2 JP7131270 B2 JP 7131270B2 JP 2018187812 A JP2018187812 A JP 2018187812A JP 2018187812 A JP2018187812 A JP 2018187812A JP 7131270 B2 JP7131270 B2 JP 7131270B2
Authority
JP
Japan
Prior art keywords
liquid
amount
determined
cartridge
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.)
Active
Application number
JP2018187812A
Other languages
Japanese (ja)
Other versions
JP2020055229A (en
Inventor
賢太 洞出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Priority to JP2018187812A priority Critical patent/JP7131270B2/en
Publication of JP2020055229A publication Critical patent/JP2020055229A/en
Application granted granted Critical
Publication of JP7131270B2 publication Critical patent/JP7131270B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)

Description

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

従来より、着脱可能なメインタンクと、装着されたメインタンクから供給されたインクを貯留するサブタンクと、サブタンクに貯留されたインクを吐出して画像を記録する画像記録ユニットとを備えるインクジェットプリンタが知られている(例えば、特許文献1)。また、メインタンク及びサブタンクの内部空間は、大気に開放されている。そのため、メインタンクをインクジェットプリンタに装着すると、メインタンクの内部空間の水頭及びサブタンクの内部空間の水頭の差(以下、「水頭差」と表記する。)によって、メインタンク及びサブタンクの液面が同一高さに揃うようにインクが移動する。 2. Description of the Related Art Conventionally, there has been known an inkjet printer including a detachable main tank, a sub-tank for storing ink supplied from the attached main tank, and an image recording unit for recording an image by ejecting the ink stored in the sub-tank. (For example, Patent Document 1). Also, the internal spaces of the main tank and the sub-tank are open to the atmosphere. Therefore, when the main tank is attached to the inkjet printer, the liquid levels of the main tank and the sub tank are 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 "head difference"). Ink moves to align with height.

特開2008-213162号公報Japanese Patent Application Laid-Open No. 2008-213162

画像記録ユニットがインクを吐出すると、メインタンク及びサブタンクがそれぞれ貯留する液量が変化する。例えば、カートリッジが貯留するインク量がゼロ付近になれば、カートリッジの交換が必要であることをユーザに知らせることが望ましい。他方、サブタンクが貯留するインク量がゼロ付近になれば、サブタンクから画像記録ユニットへ空気が進入しないように、ユーザに知らせたり、画像記録を禁止したりすることが望ましい。したがって、メインタンク及びサブタンクのそれぞれのインク量は、把握されることが望ましい。ここで、インク量の把握のため、メインタンクからサブタンクへインクが流入する間、所定時間毎にメインタンク及びサブタンクのインク量を計算する手法が考えられる。しかしこの手法には、プリンタで行われる処理の負荷が高くなるという問題がある。 When the image recording unit ejects ink, the amount of liquid stored in each of the main tank and the sub-tank changes. For example, it is desirable to inform the user that the cartridge needs to be replaced when the amount of ink stored in the cartridge is near zero. On the other hand, when the amount of ink stored in the sub-tank approaches zero, it is desirable to notify the user or prohibit image recording so that air does not enter the image recording unit from the sub-tank. Therefore, it is desirable to know the amount of ink in each of the main tank and sub-tank. Here, in order to grasp the amount of ink, it is conceivable to calculate the amount of ink in the main tank and the sub-tank at predetermined time intervals while the ink flows from the main tank to the sub-tank. However, this method has the problem of increasing the processing load on the printer.

本発明は、上記の事情に鑑みてなされたものであり、その目的は、処理負荷の上昇を抑制しつつ、第1液室及び第2液室に貯留された液体の量を個別に把握することが可能な液体排出装置を提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and its object is to individually grasp the amounts of liquids stored in the first liquid chamber and the second liquid chamber while suppressing an increase in the processing load. To provide a liquid discharge device capable of

(1) 本発明に係る液体排出装置は、タンクと、カートリッジが装着される装着ケースと、上記タンクと連通されたヘッドと、装置メモリと、コントローラと、を備える。上記カートリッジは、液体を貯留する第1液室を有している。上記タンクは、上記液体を貯留する第2液室と、上記第2液室と連通する液体流路及び気体流路と、上記第2液室を外部と連通する大気連通路と、を有している。上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有している。上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有している。上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、上記第2液室は、上記第3開口よりも下方に位置する部分を有している。上記コントローラは、上記装着ケースに上記カートリッジが装着されたか否かを判定し、上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、及び上記液体流路の流路抵抗Rnを読み出し、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、及び読み出された上記流路抵抗Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (1) A liquid discharge device according to the present invention includes a tank, a mounting case in which a cartridge is mounted, a head communicating with the tank, a device memory, and a controller. The cartridge has a first liquid chamber that stores liquid. The tank has a second liquid chamber that stores the liquid, a liquid flow path and a gas flow path that communicate with the second liquid chamber, and an atmosphere communication path that communicates the second liquid chamber with the outside. ing. The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected mounted state, the first liquid chamber has a portion positioned above the second opening, and the second liquid chamber has a portion positioned below the third opening. have. The controller determines whether or not the cartridge is mounted in the mounting case, and based on the determination that the cartridge is mounted, determines whether or not a first signal is received, or performs a specific operation. and based on the determination that the first signal has been received or based on the determination that the specific operation is to be started, it is determined that the cartridge has been attached to the attachment case. A period from determination to reception of the first signal or determination to start the specific operation is determined as a first period Δt1, and stored in the second liquid chamber from the device memory. The liquid amount Vs is read out, and the liquid amount Vc stored in the first liquid chamber, the height Hc from the reference position to the liquid surface of the first liquid chamber, and the like are obtained from the cartridge memory provided in the cartridge or the device memory. and the flow path resistance Rn of the liquid flow path, and the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined first period Δt1 determined based on the height Hc and the read flow path resistance Rn, and after the first period Δt1 has passed based on the read liquid amount Vc and the determined outflow amount Qc and determining the liquid amount Vs after the first period Δt1 has passed based on the read liquid amount Vs and the determined outflow amount Qc, and determining the determined liquid amount Vs The liquid amount Vs stored in the device memory is updated with the liquid amount Vs obtained, and the liquid stored in at least one of the device memory and the cartridge memory is updated with the determined liquid amount Vc. Update the quantity Vc.

上記構成によれば、カートリッジが装着された後、第1信号を受信又は特定動作を開始することに基づいて、液体量Vc、Vsが決定される。第1信号は例えば、各種センサやユーザインタフェースからの信号である。特定動作は例えば、液体排出装置が自動的に実行する動作である。すなわち、ユーザから何らかの操作を受け付けたり、液体排出装置が動作したりするときに、液体量Vc、Vsの決定が行われる。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室に貯留された液体の量を個別に把握することができる。 According to the above configuration, after the cartridge is mounted, the liquid amounts Vc and Vs are determined based on the reception of the first signal or the start of the specific operation. The first signal is, for example, a signal from various sensors or a user interface. The specific action is, for example, an action automatically performed by the liquid ejection device. That is, the liquid amounts Vc and Vs are determined when some operation is received from the user or when the liquid ejection device is operated. As a result, the amount of liquid stored in the first liquid chamber and the amount of liquid stored in the second liquid chamber can be individually grasped while suppressing an increase in the processing load.

(2) 好ましくは、上記コントローラは、上記装置メモリから、基準位置から上記第2液室までの高さHsを更に読み出し、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、Hs、及び読み出された上記流路抵抗Rnに基づいて決定する。 (2) Preferably, the controller further reads the height Hs from the reference position to the second liquid chamber from the device memory, and height Hs from the first liquid chamber to the above height during the determined first period Δt1. An outflow amount Qc of the liquid flowing out to the second liquid chamber is determined based on the read heights Hc and Hs and the read flow path resistance Rn.

(3) 好ましくは、上記コントローラは、上記装置メモリから、基準位置から上記第2液室までの高さHsを更に読み出し、決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHsが閾値高さ未満か否かを判定し、更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第2期間Δt2として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記第2期間Δt2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、及び上記流路抵抗Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (3) Preferably, the controller further reads the height Hs from the reference position to the second liquid chamber from the device memory, and determines the liquid amount Vc after the elapse of the determined first period Δt1, Based on determining Vs, determining the height Hs corresponding to the determined liquid volume Vs and updating the height Hs stored in the device memory with the determined height Hs. Then, the height Hc corresponding to the determined liquid amount Vc is determined, and the height stored in at least one of the device memory and the cartridge memory of the cartridge is determined at the determined height Hc. updating the height Hc, determining whether the updated height Hs is less than the threshold height, determining that the updated height Hs is less than the threshold height, and receiving the first signal or based on the determination that the updated height Hs is less than the threshold height and the determination that the specific action is started, the determined first period Δt1 is A period from determining the liquid amounts Vc and Vs after the elapse to receiving the first signal or determining to start the specific operation is determined as a second period Δt2, and is read from the device memory. , reading the updated liquid amount Vs and the updated height Hs, reading the updated liquid amount Vc and the updated height Hc from the device memory or the cartridge memory provided in the cartridge, and determining based on the updated height Hc and flow path resistance Rn. , based on the read liquid amount Vc and the determined outflow amount Qc, determine the liquid amount Vc after the second period Δt2 has passed, and determine the read liquid amount Vs Based on the determined outflow amount Qc, the liquid amount Vs after the second period Δt2 has elapsed is determined, and the liquid amount Vs stored in the device memory is determined based on the determined liquid amount Vs and updates the liquid amount Vc stored in at least one of the device memory and the cartridge memory with the determined liquid amount Vc.

上記構成によれば、液体量Vc、Vsが決定された後、第1信号を受信又は特定動作を開始することに基づいて、再び、液体量Vc、Vsが決定される。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室の液体量を継続的に把握することができる。 According to the above configuration, after the liquid amounts Vc and Vs are determined, the liquid amounts Vc and Vs are determined again based on the reception of the first signal or the start of the specific operation. As a result, the amount of liquid in the first liquid chamber and the second liquid chamber can be continuously grasped while suppressing an increase in the processing load.

(4) 好ましくは、上記コントローラは、決定された上記第2期間Δt2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定する。 (4) Preferably, the controller determines the outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the determined second period Δt2, based on the updated height Hc, It is determined based on Hs and the flow path resistance Rn.

(5) 好ましくは、上記コントローラは、上記高さHsが、上記基準位置から上記気体流路の上記第3開口までの高さHth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する。 (5) Preferably, the controller controls the outflow amount Qc and The process of determining the liquid amounts Vc and Vs and storing the determined liquid amounts Vc and Vs is stopped.

(6) 本発明に係る液体排出装置は、タンクと、カートリッジが装着される装着ケースと、上記タンクと連通されたヘッドと、装置メモリと、コントローラと、を備える。上記カートリッジは、液体を貯留する第1液室を有している。上記タンクは、上記液体を貯留する第2液室と、上記第2液室と連通する液体流路及び気体流路と、上記第2液室を外部と連通する大気連通路と、を有している。上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有している。上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有している。上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、上記第2液室は、上記第3開口よりも下方に位置する部分を有している。上記コントローラは、上記装着ケースに上記カートリッジが装着されたか否かを判定し、上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、及び上記液体流路の流路抵抗Rnを読み出し、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記液体量Vcに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (6) A liquid discharge device according to the present invention includes a tank, a mounting case in which a cartridge is mounted, a head communicating with the tank, a device memory, and a controller. The cartridge has a first liquid chamber that stores liquid. The tank has a second liquid chamber that stores the liquid, a liquid flow path and a gas flow path that communicate with the second liquid chamber, and an atmosphere communication path that communicates the second liquid chamber with the outside. ing. The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected mounted state, the first liquid chamber has a portion positioned above the second opening, and the second liquid chamber has a portion positioned below the third opening. have. The controller determines whether or not the cartridge is mounted in the mounting case, and based on the determination that the cartridge is mounted, determines whether or not a first signal is received, or performs a specific operation. and based on the determination that the first signal has been received or based on the determination that the specific operation is to be started, it is determined that the cartridge has been attached to the attachment case. A period from determination to reception of the first signal or determination to start the specific operation is determined as a first period Δt1, and stored in the second liquid chamber from the device memory. The liquid amount Vs is read out, the liquid amount Vc stored in the first liquid chamber and the flow path resistance Rn of the liquid flow path are read out from the cartridge memory provided in the cartridge or the device memory, and the determined first liquid flow path resistance Rn is read out. An outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during one period Δt1 is determined based on the read liquid amount Vc, and the read liquid amount Vc and Based on the determined outflow amount Qc, the liquid amount Vc after the elapse of the first period Δt1 is determined, and based on the read out liquid amount Vs and the determined outflow amount Qc , determining the liquid amount Vs after the first period Δt1 has passed, updating the liquid amount Vs stored in the device memory with the determined liquid amount Vs, and determining the liquid amount Vc updates the liquid volume Vc stored in at least one of the device memory and the cartridge memory.

上記構成によれば、カートリッジが装着された後、第1信号を受信又は特定動作を開始することに基づいて、液体量Vc、Vsが決定される。第1信号は例えば、各種センサやユーザインタフェースからの信号である。特定動作は例えば、液体排出装置が自動的に実行する動作である。すなわち、ユーザから何らかの操作を受け付けたり、液体排出装置が動作したりするときに、液体量Vc、Vsの決定が行われる。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室に貯留された液体の量を個別に把握することができる。 According to the above configuration, after the cartridge is mounted, the liquid amounts Vc and Vs are determined based on the reception of the first signal or the start of the specific operation. The first signal is, for example, a signal from various sensors or a user interface. The specific action is, for example, an action automatically performed by the liquid ejection device. That is, the liquid amounts Vc and Vs are determined when some operation is received from the user or when the liquid ejection device is operated. As a result, the amount of liquid stored in the first liquid chamber and the amount of liquid stored in the second liquid chamber can be individually grasped while suppressing an increase in the processing load.

(7) 好ましくは、上記コントローラは、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記液体量Vc、Vsに基づいて決定する。 (7) Preferably, the controller determines an outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the determined first period Δt1 using the read liquid amount Vc. , Vs.

(8) 好ましくは、上記コントローラは、上記液体量Vsが、上記気体流路の上記第3開口を塞ぐ液体量Vth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する。 (8) Preferably, the controller determines that the outflow amount Qc and the liquid amount Vc , Vs and the process of storing the determined liquid amounts Vc and Vs is stopped.

(9) 好ましくは、上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判定した後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記装着ケースに上記カートリッジが装着されたと判定してから第1所定時間が経過したと判定したことに基づいて、上記装置メモリから、上記液体量Vsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (9) Preferably, the controller determines that the cartridge is mounted in the mounting case, before determining that the first signal has been received, and before determining that the specific operation is to be started. and, based on determination that a first predetermined time has passed since it was determined that the cartridge was mounted in the mounting case, the liquid amount Vs is read from the device memory, and the device memory or the cartridge is loaded. The amount of liquid Vc is read from the provided cartridge memory, and based on the read amounts of liquid Vc and Vs, the liquid when the flow of the liquid from the first liquid chamber to the second liquid chamber is completed. determining the amounts Vc and Vs; updating the liquid amount Vs stored in the device memory according to the determined liquid amount Vs; and updating the liquid amount Vs stored in the apparatus memory and the cartridge memory according to the determined liquid amount Vc The liquid amount Vc stored in at least one of them is updated.

カートリッジが装着されてからある程度の時間が経過すると、カートリッジからタンクへの液体の流入が終了する。上記構成によれば、カートリッジが装着されてから所定時間が経過したときに、第1信号を受信又は特定動作を開始すると判定していないことに基づいて、第1液室から第2液室への液体の流入が終了した状態にあるときの液体量Vc、Vsが決定されメモリに記憶される。従って、所定時間が経過するとユーザからの操作や装置動作が無くとも、液体量Vc、Vsが、カートリッジからタンクへの液体の流入が終了した状態の量へ決定され、メモリに記憶される。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室の液体量を、より適切な値に更新することができる。 After a certain amount of time has passed after the cartridge is attached, the liquid from the cartridge stops flowing into the tank. According to the above configuration, when the predetermined time has passed since the cartridge was mounted, the flow from the first liquid chamber to the second liquid chamber is performed based on the fact that the first signal has not been received or the specific operation has not been determined to start. The liquid amounts Vc and Vs are determined and stored in the memory when the inflow of the liquid is finished. Therefore, after a predetermined period of time has elapsed, the liquid amounts Vc and Vs are determined to the amounts in which the liquid has finished flowing from the cartridge to the tank, and are stored in the memory without any user operation or device operation. As a result, the amounts of liquid in the first liquid chamber and the second liquid chamber can be updated to more appropriate values while suppressing an increase in the processing load.

(10) 本発明に係る液体排出装置は、タンクと、カートリッジが装着される装着ケースと、上記タンクと連通されたヘッドと、装置メモリと、コントローラと、を備える。上記カートリッジは、液体を貯留する第1液室を有している。上記タンクは、上記液体を貯留する第2液室と、上記第2液室と連通する液体流路及び気体流路と、上記第2液室を外部と連通する大気連通路と、を有している。上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有している。上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有している。上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、上記第2液室は、上記第3開口よりも下方に位置する部分を有している。上記コントローラは、液体を排出する排出指示を受け付け、上記排出指示に従って上記ヘッドに液体を排出させ、上記排出指示に示される液体の排出量Dhを決定し、上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第2液室から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、及び上記液体流路の流路抵抗Rnを読み出し、上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHsが閾値高さ未満か否かを判定し、更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、及び上記流路抵抗Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (10) A liquid discharge device according to the present invention includes a tank, a mounting case in which a cartridge is mounted, a head communicating with the tank, a device memory, and a controller. The cartridge has a first liquid chamber that stores liquid. The tank has a second liquid chamber that stores the liquid, a liquid flow path and a gas flow path that communicate with the second liquid chamber, and an atmosphere communication path that communicates the second liquid chamber with the outside. ing. The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected mounted state, the first liquid chamber has a portion positioned above the second opening, and the second liquid chamber has a portion positioned below the third opening. have. The controller receives a discharge instruction to discharge the liquid, causes the head to discharge the liquid according to the discharge instruction, determines a liquid discharge amount Dh indicated in the discharge instruction, and discharges the liquid through the head during discharge. An outflow amount Qa of the liquid that flows out from the second liquid chamber toward the head during the period Δth is determined based on the determined discharge amount Dh, and the amount of liquid stored in the second liquid chamber is determined from the device memory. The liquid amount Vs stored in the first liquid chamber and the height Hs from the reference position to the liquid level in the second liquid chamber are read out, and the liquid amount Vc stored in the first liquid chamber is read from the cartridge memory provided in the cartridge or the device memory. , the height Hc from the reference position to the liquid surface of the first liquid chamber, and the flow path resistance Rn of the liquid flow path are read, and the liquid flow path from the first liquid chamber to the second liquid chamber is read out during the discharge period Δth. is determined based on the read heights Hc and Hs and the flow path resistance Rn, and the read liquid amount Vc and the determined outflow amount Qc and based on the read liquid amount Vs, the determined outflow amount Qc, and the determined outflow amount Qa, determining the liquid amount Vs after the elapse of the discharge period Δth, updating the liquid amount Vs stored in the device memory with the determined liquid amount Vs, and updating the liquid amount Vs with the determined liquid amount Vc , updating the liquid volume Vc stored in at least one of the device memory and the cartridge memory, determining the height Hs corresponding to the determined liquid volume Vs, and determining the determined height Hs to update the height Hs stored in the device memory, determine the height Hc corresponding to the determined liquid amount Vc, and update the device memory and the updating the height Hc stored in at least one of the cartridge memories of the cartridge; determining whether or not the updated height Hs is less than a threshold height; Based on determining that the height is less than the threshold height and determining that the first signal has been received, or upon determining that the updated height Hs is less than the threshold height and starting the specific operation. Based on the determination, the liquid amounts Vc and Vs after the elapse of the determined discharge period Δth are determined until the first signal is received, or the specific operation is started. is determined as a first period Δth1 after ejection, the updated liquid amount Vs and the updated height Hs are read from the device memory, and the device memory or the cartridge memory provided in the cartridge , the updated liquid amount Vc and the updated height Hc are read out, and the outflow of liquid from the first liquid chamber to the second liquid chamber during the determined first period Δth1 after discharge Amount Qc is determined based on the updated height Hc and the flow path resistance Rn, and based on the read liquid amount Vc and the determined outflow amount Qc, the first after-discharging The liquid amount Vc after the period Δth1 has passed is determined, and the liquid after the first period Δth1 after the discharge has passed is determined based on the read liquid amount Vs and the determined outflow amount Qc. determining a volume Vs; updating the liquid volume Vs stored in the device memory with the determined liquid volume Vs; and updating at least one of the device memory and the cartridge memory with the determined liquid volume Vc It updates the liquid amount Vc stored in one.

上記構成によれば、ヘッドからの液体の排出が行われた後、第1信号を受信又は特定動作を開始することに基づいて、液体量Vc、Vsが決定される。第1信号は例えば、各種センサやユーザインタフェースからの信号である。特定動作は例えば、液体排出装置が所定時間毎に自動的に実行する動作である。すなわち、ユーザから何らかの操作を受け付けたり、液体排出装置が動作したりするときに、液体量Vc、Vsの決定が行われる。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室に貯留された液体の量を個別に把握することができる。 According to the above configuration, after the liquid is discharged from the head, the liquid amounts Vc and Vs are determined based on the reception of the first signal or the start of the specific operation. The first signal is, for example, a signal from various sensors or a user interface. The specific operation is, for example, an operation that the liquid ejection device automatically executes at predetermined time intervals. That is, the liquid amounts Vc and Vs are determined when some operation is received from the user or when the liquid ejection device is operated. As a result, the amount of liquid stored in the first liquid chamber and the amount of liquid stored in the second liquid chamber can be individually grasped while suppressing an increase in the processing load.

(11) 好ましくは、上記コントローラは、上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定し、決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定する。 (11) Preferably, the controller measures the outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the discharge period Δth according to the read heights Hc, Hs, and the flow path resistance Rn, and the outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the determined first period Δth1 after discharge is changed from the updated It is determined based on the heights Hc and Hs and the flow path resistance Rn.

(12) 好ましくは、上記コントローラは、決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHsが閾値高さ以下か否かを判定し、更新された上記高さHsが上記閾値高さ以下だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHsが上記閾値高さ以下だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第2期間Δth2として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記排出後第2期間Δth2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、及び上記流路抵抗Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (12) Preferably, the controller determines the liquid amounts Vc and Vs after the elapse of the determined first period Δth1 after discharge, and calculates the liquid amount Vs corresponding to the determined liquid amount Vs. determining a height Hs and updating said height Hs stored in said device memory with said determined height Hs, determining said height Hc corresponding to said determined liquid volume Vc; The height Hc stored in at least one of the device memory and the cartridge memory of the cartridge is updated with the determined height Hc, and whether or not the updated height Hs is equal to or less than a threshold height. based on the determination that the updated height Hs is equal to or less than the threshold height and that the first signal has been received, or that the updated height Hs is equal to or lower than the threshold Based on the determination that it is below the height and the determination that the specific operation is to be started, the liquid amounts Vc and Vs after the elapse of the determined first period Δth1 after discharge are determined, and then the first A period until a signal is received or a period until it is determined that the specific operation is started is determined as a post-ejection second period Δth2, and the updated liquid amount Vs and the updated height Hs are obtained from the device memory. , reads out the updated liquid amount Vc and the updated height Hc from the device memory or the cartridge memory provided in the cartridge, and reads the first liquid during the determined second period Δth2 after discharge An outflow amount Qc of the liquid flowing out from the chamber to the second liquid chamber is determined based on the updated height Hc and the flow path resistance Rn, and the read liquid amount Vc and the determined liquid amount Vc are determined. Based on the outflow amount Qc, the liquid amount Vc after the passage of the second period Δth2 after discharge is determined, and based on the read out liquid amount Vs and the determined outflow amount Qc, the above determining the amount of liquid Vs after a second period Δth2 has elapsed after discharge, updating the amount of liquid Vs stored in the device memory with the determined amount of liquid Vs, and determining the amount of liquid Vc updates the liquid volume Vc stored in at least one of the device memory and the cartridge memory.

上記構成によれば、液体量Vc、Vsが決定された後、第1信号を受信又は特定動作を開始することに基づいて、再び、液体量Vc、Vsが決定される。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室の液体量を継続的に把握することができる。 According to the above configuration, after the liquid amounts Vc and Vs are determined, the liquid amounts Vc and Vs are determined again based on the reception of the first signal or the start of the specific operation. As a result, the amount of liquid in the first liquid chamber and the second liquid chamber can be continuously grasped while suppressing an increase in the processing load.

(13) 好ましくは、上記コントローラは、決定された上記排出後第2期間Δth2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定する。 (13) Preferably, the controller updates the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined post-discharge second period Δth2 by the updated height It is determined based on Hc, Hs, and the flow path resistance Rn.

(14) 好ましくは、上記コントローラは、上記高さHsが、上記基準位置から上記気体流路の上記第3開口までの高さHth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する。 (14) Preferably, the controller controls the outflow amount Qc and The process of determining the liquid amounts Vc and Vs and storing the determined liquid amounts Vc and Vs is stopped.

(15) 本発明に係る液体排出装置は、タンクと、カートリッジが装着される装着ケースと、上記タンクと連通されたヘッドと、装置メモリと、コントローラと、を備える。上記カートリッジは、液体を貯留する第1液室を有している。上記タンクは、上記液体を貯留する第2液室と、上記第2液室と連通する液体流路及び気体流路と、上記第2液室を外部と連通する大気連通路と、を有している。上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有している。上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有している。上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、上記第2液室は、上記第3開口よりも下方に位置する部分を有している。上記コントローラは、液体を排出する排出指示を受け付け、上記排出指示に従って上記ヘッドに液体を排出させ、上記排出指示に示される液体の排出量Dhを決定し、上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第2液室から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、及び上記液体流路の流路抵抗Rnを読み出し、上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記液体量Vcに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、更新された上記液体量Vsが閾値未満か否かを判定し、更新された上記液体量Vsが上記閾値未満だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記液体量Vsが上記閾値未満だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、上記装置メモリから、更新された上記液体量Vsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vcを読み出し、決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記液体量Vcに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (15) A liquid discharge device according to the present invention includes a tank, a mounting case in which a cartridge is mounted, a head communicating with the tank, a device memory, and a controller. The cartridge has a first liquid chamber that stores liquid. The tank has a second liquid chamber that stores the liquid, a liquid flow path and a gas flow path that communicate with the second liquid chamber, and an atmosphere communication path that communicates the second liquid chamber with the outside. ing. The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. is doing. The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected mounted state, the first liquid chamber has a portion positioned above the second opening, and the second liquid chamber has a portion positioned below the third opening. have. The controller receives a discharge instruction to discharge the liquid, causes the head to discharge the liquid according to the discharge instruction, determines a liquid discharge amount Dh indicated in the discharge instruction, and discharges the liquid through the head during discharge. An outflow amount Qa of the liquid that flows out from the second liquid chamber toward the head during the period Δth is determined based on the determined discharge amount Dh, and the amount of liquid stored in the second liquid chamber is determined from the device memory. read out the liquid amount Vs stored in the cartridge, read out the liquid amount Vc stored in the first liquid chamber and the flow path resistance Rn of the liquid flow path from the cartridge memory provided in the cartridge or the device memory, and read out the discharge period The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during Δth is determined based on the read liquid amount Vc, and determined as the read liquid amount Vc. The liquid amount Vc after the elapse of the discharge period Δth is determined based on the outflow amount Qc thus obtained, and the read out liquid amount Vs, the determined outflow amount Qc, and the determined outflow amount are determined. Based on the amount Qa, the liquid amount Vs after the discharge period Δth has passed is determined, the liquid amount Vs stored in the device memory is updated with the determined liquid amount Vs, and the determined liquid amount Vs is updated. The liquid amount Vc stored in at least one of the device memory and the cartridge memory is updated with the liquid amount Vc obtained, and it is determined whether or not the updated liquid amount Vs is less than a threshold value. based on determining that the liquid amount Vs is less than the threshold value and that the first signal has been received, or determining that the updated liquid amount Vs is less than the threshold value and performing the specific operation from the determination of the liquid amounts Vc and Vs after the elapse of the determined discharge period Δth to the reception of the first signal, or when the specific operation is started A period until determination is determined as a first period Δth1 after discharge, the updated liquid amount Vs is read from the device memory, and the updated liquid amount Vc is read from the device memory or the cartridge memory provided in the cartridge. is determined based on the updated liquid amount Vc, and an outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined first period Δth1 after discharge is determined; Based on the read liquid amount Vc and the determined outflow amount Qc, the above-mentioned liquid after the first period Δth1 after the discharge has passed A liquid amount Vc is determined, and based on the read liquid amount Vs and the determined outflow amount Qc, the liquid amount Vs after the passage of the first period Δth1 after the discharge is determined, and the determined liquid amount Vs is determined. The liquid amount Vs stored in the device memory is updated with the liquid amount Vs obtained, and the liquid stored in at least one of the device memory and the cartridge memory is updated with the determined liquid amount Vc. Update the quantity Vc.

上記構成によれば、ヘッドからの液体の排出が行われた後、第1信号を受信又は特定動作を開始することに基づいて、液体量Vc、Vsが決定される。第1信号は例えば、各種センサやユーザインタフェースからの信号である。特定動作は例えば、液体排出装置が所定時間毎に自動的に実行する動作である。すなわち、ユーザから何らかの操作を受け付けたり、液体排出装置が動作したりするときに、液体量Vc、Vsの決定が行われる。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室に貯留された液体の量を個別に把握することができる。 According to the above configuration, after the liquid is discharged from the head, the liquid amounts Vc and Vs are determined based on the reception of the first signal or the start of the specific operation. The first signal is, for example, a signal from various sensors or a user interface. The specific operation is, for example, an operation that the liquid ejection device automatically executes at predetermined time intervals. That is, the liquid amounts Vc and Vs are determined when some operation is received from the user or when the liquid ejection device is operated. As a result, the amount of liquid stored in the first liquid chamber and the amount of liquid stored in the second liquid chamber can be individually grasped while suppressing an increase in the processing load.

(16) 好ましくは、上記コントローラは、上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記液体量Vc、Vsに基づいて決定し、決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記液体量Vc、Vsに基づいて決定する。 (16) Preferably, the controller adjusts the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the discharge period Δth to the read liquid amounts Vc and Vs. based on the updated liquid amounts Vc and Vs. to decide.

(17) 好ましくは、上記コントローラは、上記液体量Vsが、上記気体流路の上記第3開口を塞ぐ液体量Vth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する。 (17) Preferably, the controller determines that the outflow amount Qc and the liquid amount Vc , Vs and the process of storing the determined liquid amounts Vc and Vs is stopped.

(18) 好ましくは、上記コントローラは、上記排出指示に従って上記ヘッドに液体を排出させた後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記排出指示に従って上記ヘッドに液体を排出させてから第2所定時間が経過したと判定したことに基づいて、上記装置メモリから、上記液体量Vsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (18) Preferably, the controller causes the head to discharge the liquid according to the discharge instruction, before determining that the first signal has been received, and before determining that the specific operation is to be started. and, based on determination that a second predetermined time has elapsed since the liquid was discharged from the head according to the discharge instruction, the liquid amount Vs is read from the device memory, and stored in the device memory or the cartridge. The amount of liquid Vc is read from the cartridge memory, and based on the read amounts of liquid Vc and Vs, the amount of liquid when the flow of liquid from the first liquid chamber to the second liquid chamber is completed. Vc and Vs are determined, the liquid amount Vs stored in the device memory is updated with the determined liquid amount Vs, and the determined liquid amount Vc is used in the apparatus memory and the cartridge memory. The liquid amount Vc stored in at least one of them is updated.

ヘッドから液体を排出してからある程度の時間が経過すると、カートリッジからタンクへの液体の流入が終了する。上記構成によれば、ヘッドに液体を排出させてから所定時間が経過したときに、第1信号を受信又は特定動作を開始していないことに基づいて、第1液室から第2液室への液体の流入が終了した状態にあるときの液体量Vc、Vsが決定されメモリに記憶される。従って、所定時間が経過するとユーザからの操作や装置動作が無くとも、液体量Vc、Vsが、カートリッジからタンクへの液体の流入が終了した状態の量へ決定され、メモリに記憶される。これにより、処理負荷の上昇を抑制しつつ、第1液室及び第2液室の液体量を、より適切な値に更新することができる。 After a certain amount of time has passed after the liquid is discharged from the head, the liquid from the cartridge stops flowing into the tank. According to the above configuration, the flow from the first liquid chamber to the second liquid chamber is performed on the basis that the first signal is not received or the specific operation is not started when the predetermined time has elapsed since the liquid was discharged from the head. The liquid amounts Vc and Vs are determined and stored in the memory when the inflow of the liquid is finished. Therefore, after a predetermined period of time has elapsed, the liquid amounts Vc and Vs are determined to the amounts in which the liquid has finished flowing from the cartridge to the tank, and are stored in the memory without any user operation or device operation. As a result, the amounts of liquid in the first liquid chamber and the second liquid chamber can be updated to more appropriate values while suppressing an increase in the processing load.

(19) 好ましくは、上記コントローラは、上記装着ケースの開口を開閉するカバーが開かれたこと、又は、閉じられたことに基づいてカバーセンサが出力する第1信号を受信、又は、上記装着ケースに上記カートリッジが装着されたこと、又は、上記カートリッジが取り外されたことに基づいて装着センサが出力する第1信号を受信、又は、給送トレイが装着されたこと、又は、取り外されたことに基づいてトレイセンサが出力する第1信号を受信、又は、ユーザからの操作を受け付けたことに基づいてユーザインタフェースが出力する第1信号を受信、又は、上記ヘッドから液体を排出する指示を通信インタフェースを通じて外部装置から受信したことに基づいて上記通信インタフェースが出力する第1信号を受信、するように構成されている。 (19) Preferably, the controller receives a first signal output by a cover sensor based on opening or closing of a cover that opens and closes the opening of the mounting case, or receives the first signal from the mounting case. receiving a first signal output by a mounting sensor based on the fact that the cartridge has been mounted or the fact that the cartridge has been removed, or that the feed tray has been mounted or removed receiving a first signal output by the tray sensor based on the received operation from the user, or receiving a first signal output by the user interface based on acceptance of an operation from the user, or receiving an instruction to discharge the liquid from the head through the communication interface and receives a first signal output by the communication interface based on the reception from an external device through the communication interface.

(20) 好ましくは、上記コントローラは、上記特定動作として、上記ヘッドからの液体の排出を開始する、又は、スリープ状態への移行を開始するように構成されている。 (20) Preferably, the controller is configured to start discharging liquid from the head or to start transitioning to a sleep state as the specific operation.

(21) 好ましくは、上記液体排出装置は、インタフェースを更に有し、上記コントローラは、上記液体量Vcを決定したことに基づいて、決定した上記液体量Vcを上記インタフェースを通じて上記カートリッジが有するカートリッジメモリに記憶させる。 (21) Preferably, the liquid ejection device further has an interface, and the controller stores the determined liquid amount Vc in the cartridge memory held in the cartridge through the interface based on the determination of the liquid amount Vc. be memorized.

上記構成によれば、液体排出装置から抜かれたカートリッジが他の液体排出装置に装着された場合において、当該他の液体排出装置が第1液室に貯留された液体の量を適切に把握することができる。 According to the above configuration, when the cartridge removed from the liquid discharge device is attached to another liquid discharge device, the other liquid discharge device can appropriately grasp the amount of liquid stored in the first liquid chamber. can be done.

(22) 好ましくは、上記液体排出装置は、ディスプレイを更に有し、上記コントローラは、決定した上記液体量Vc、Vs、又は上記液体量Vcと上記液体量Vsとの和を示す情報を上記ディスプレイに表示させる。 (22) Preferably, the liquid discharge device further includes a display, and the controller displays information indicating the determined liquid amounts Vc, Vs or the sum of the liquid amounts Vc and the liquid amounts Vs on the display. to display.

上記構成によれば、適切に決定された液体量Vc、Vs、又はVcとVsの和をディスプレイに表示することができる。 According to the above configuration, the appropriately determined liquid amounts Vc, Vs, or the sum of Vc and Vs can be displayed on the display.

(23) 好ましくは、上記液体排出装置は、報知器を更に有し、上記コントローラは、決定した上記液体量Vsが閾値量未満になったことに基づいて、上記報知器を作動させる。 (23) Preferably, the liquid discharge device further includes an alarm, and the controller activates the alarm when the determined liquid amount Vs becomes less than a threshold amount.

上記構成によれば、適切に決定された液体量Vsに基づいて報知器を作動させることができる。 According to the above configuration, the annunciator can be activated based on the appropriately determined liquid amount Vs.

(24) 好ましくは、上記コントローラは、決定した上記液体量Vsが閾値量未満になったことに基づいて、上記ヘッドを通じた液体の排出を禁止する。 (24) Preferably, the controller prohibits discharge of liquid through the head based on the determined liquid amount Vs becoming less than a threshold amount.

上記構成によれば、適切に決定された液体量Vsに基づいて液体の排出の禁止を行うことができる。 According to the above configuration, liquid discharge can be prohibited based on the appropriately determined liquid amount Vs.

本発明によれば、処理負荷の上昇を抑制しつつ、第1液室及び第2液室に貯留された液体の量を個別に把握することができる。 According to the present invention, it is possible to individually grasp the amount of liquid stored in the first liquid chamber and the second liquid chamber while suppressing an increase in the processing load.

図1は、第1実施形態に係る複合機10の外観斜視図であって、(A)はカバー48が閉塞位置にある状態、(B)はカバー48が開放位置にある状態を示す。FIG. 1 is an external perspective view of the multifunction device 10 according to the first embodiment, in which (A) shows a state in which the cover 48 is in the closed position, and (B) shows a state in which the cover 48 is in the open position. 図2は、プリンタ部11の内部構造を模式的に示す縦断面図である。FIG. 2 is a longitudinal sectional view schematically showing the internal structure of the printer section 11. As shown in FIG. 図3は、キャリッジ23及びインク供給装置15の配置を示す平面図である。FIG. 3 is a plan view showing the arrangement of the carriage 23 and the ink supply device 15. As shown in FIG. 図4は、インク供給装置15を左前方から視た斜視図である。FIG. 4 is a perspective view of the ink supply device 15 as seen from the front left. 図5は、図4のV-V矢視断面図である。5 is a cross-sectional view taken along line VV in FIG. 4. FIG. 図6は、インクカートリッジ50が取り外された状態における図4のV-V矢視断面図である。FIG. 6 is a cross-sectional view taken along line VV in FIG. 4 with the ink cartridge 50 removed. 図7は、サブタンク100の周辺部を示す図4のV-V矢視断面図である。7 is a cross-sectional view taken along line VV in FIG. 4, showing the peripheral portion of the sub-tank 100. FIG. 図8は、図4のVIII-VIII矢視断面図である。8 is a cross-sectional view taken along line VIII-VIII in FIG. 4. FIG. 図9は、図4のIX-IX矢視断面図である。9 is a cross-sectional view taken along line IX-IX of FIG. 4. FIG. 図10は、サブタンク100の周辺部を示す図4のIX-IX矢視断面図である。10 is a cross-sectional view taken along line IX-IX in FIG. 図11は、サブタンク100及びバッファタンク90の左前方から視た斜視図である。FIG. 11 is a perspective view of the sub-tank 100 and the buffer tank 90 as seen from the front left. 図12(A)は、図10のXIIA-XIIA矢視断面図であり、図12(B)は、図11のXIIB-XIIB矢視断面図である。12A is a cross-sectional view taken along line XIIA-XIIA in FIG. 10, and FIG. 12B is a cross-sectional view taken along line XIIB-XIIB in FIG. 図13は、複合機10のブロック図である。FIG. 13 is a block diagram of the MFP 10. As shown in FIG. 図14は、カートリッジ装着処理のフローチャートである。FIG. 14 is a flowchart of cartridge mounting processing. 図15は、画像記録処理のフローチャートである。FIG. 15 is a flowchart of image recording processing. 図16は、カウント処理のフローチャートである。FIG. 16 is a flowchart of counting processing. 図17は、残量更新処理のフローチャートである。FIG. 17 is a flowchart of remaining amount update processing. 図18は、サブタンク100及びインクカートリッジ50が連通された状態の模式図であって、(A)はインクが貯留されていないサブタンク100に新品のインクカートリッジ50が連通された状態を、(B)は平衡状態を示す。18A and 18B are schematic diagrams of the state in which the sub-tank 100 and the ink cartridge 50 are in communication, (A) in which the sub-tank 100 in which no ink is stored is in communication with the new ink cartridge 50, and (B). indicates equilibrium. 図19は、サブタンク100及びインクカートリッジ50が連通された状態において、カートリッジエンプティ状態を示す。FIG. 19 shows a cartridge empty state in which the sub-tank 100 and the ink cartridge 50 are in communication. 図20は、インク残量画面の例である。FIG. 20 is an example of the remaining ink screen. 図21は、第2実施形態に係るカートリッジ装着処理のフローチャートである。FIG. 21 is a flowchart of cartridge mounting processing according to the second embodiment. 図22は、第2実施形態に係る残量更新処理のフローチャートである。FIG. 22 is a flowchart of remaining amount update processing according to the second embodiment.

以下、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。また、複合機10及び複合機10に取り付けられたインクカートリッジ50が使用可能に水平面に設置された姿勢(図1の姿勢であって、「使用姿勢」と表記することがある。)を基準として上下方向7が定義され、複合機10の開口13が設けられている面を前面として前後方向8が定義され、複合機10を前面から見て左右方向9が定義される。本実施形態では、使用姿勢において、上下方向7が鉛直方向に相当し、前後方向8及び左右方向9が水平方向に相当する。 Embodiments of the present invention will be described below. It should be noted that the embodiment described below is merely an example of the present invention, and it goes without saying that the embodiment of the present invention can be changed as appropriate without changing the gist of the present invention. In addition, the orientation in which the MFP 10 and the ink cartridge 50 attached to the MFP 10 are installed on a horizontal plane for use (the orientation in FIG. 1 and may be referred to as “usage orientation”) is used as a reference. A vertical direction 7 is defined, a front-rear direction 8 is defined with the surface of the MFP 10 having an opening 13 as the front surface, and a left-right direction 9 is defined when the MFP 10 is viewed from the front. In this embodiment, in the usage 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.

[第1実施形態]
以下、第1実施形態に係る複合機10及びインク供給装置15が説明される。
[First embodiment]
The multifunction device 10 and the ink supply device 15 according to the first embodiment will be described below.

[複合機10の全体構成]
図1に示されるように、複合機10(液体排出装置の一例)は、概ね直方体形状である。複合機10は、プリンタ部11、スキャナ部12、及び操作パネル22を有している。プリンタ部11は、複合機10の下部に位置し、インクジェット記録方式で用紙28(図2参照)に画像を記録する。スキャナ部12は、スキャン機能を有する装置であり、プリンタ部11の上方に位置する。プリンタ部11は、前方に開口する開口13を有する筐体14と、筐体14の内部において開口13の右方に位置するインク供給装置15と、を備えている。
[Overall Configuration of MFP 10]
As shown in FIG. 1, a multi-function device 10 (an example of a liquid ejection device) has a substantially rectangular parallelepiped shape. The MFP 10 has a printer section 11 , a scanner section 12 and an operation panel 22 . The printer unit 11 is located in the lower part of the multifunction device 10, and records an image on a sheet 28 (see FIG. 2) by an inkjet recording method. The scanner section 12 is a device having a scanning function and is positioned above the printer section 11 . The printer unit 11 includes a housing 14 having an opening 13 that opens forward, and an ink supply device 15 positioned to the right of the opening 13 inside the housing 14 .

操作パネル22は、スキャナ部12の前方に位置している。操作パネル22は、プリンタ部11による画像記録やスキャナ部12による画像読取りを複合機10に実行させるために、ユーザが操作するものである。操作パネル22は、ディスプレイ17を有する。ディスプレイ17は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示面を備える。ディスプレイ17は、報知機の一例である。但し、報知機の具体例はディスプレイ17に限定されず、スピーカ、LEDランプ、或いはこれらの組み合わせでもよい。操作パネル22は、ユーザによる操作に応じた操作信号をコントローラ230に出力する。操作パネル22は、例えば、押ボタンを有していてもよいし、ディスプレイに重畳されたタッチセンサを有していてもよい。 The operation panel 22 is positioned in front of the scanner section 12 . The operation panel 22 is operated by the user to cause the multifunction device 10 to perform image recording by the printer section 11 and image reading by the scanner section 12 . The operation panel 22 has a display 17 . The display 17 is a liquid crystal display, an organic EL display, or the like, and has a display surface for displaying various information. The display 17 is an example of an annunciator. However, a specific example of the annunciator 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 to the controller 230 according to the operation by the user. The operation panel 22 may have, for example, push buttons, or may have a touch sensor superimposed on the display.

図2に示されるように、筐体14の内部には、給送部16と、給送トレイ20と、排出トレイ21と、搬送ローラ対45と、記録部24と、排出ローラ対46と、プラテン42と、が配置されている。 As shown in FIG. 2, the inside of the housing 14 includes a feeding unit 16, a feeding tray 20, a discharge tray 21, a conveying roller pair 45, a recording unit 24, a discharge roller pair 46, A platen 42 and are arranged.

[給送トレイ20、排出トレイ21]
図1に示されるように、給送トレイ20は、開口13を通じて前後方向8に沿って筐体14に対して挿抜可能である。開口13は、複合機10の前面で且つ左右方向9の中央部に位置する。図2に示されるように、給送トレイ20は、積層された複数の用紙28を支持可能である。排出トレイ21は、給送トレイ20の上方に配置されており、給送トレイ20と共に前後方向8に沿って挿抜される。排出トレイ21は、排出ローラ対46によって排出された用紙28を支持する。
[Feed tray 20, discharge tray 21]
As shown in FIG. 1 , the feed tray 20 can be inserted into and removed from the housing 14 along the front-rear direction 8 through the opening 13 . The opening 13 is located on the front surface of the multi-function device 10 and at the center in the left-right direction 9 . As shown in FIG. 2, feed tray 20 is capable of supporting a plurality of stacked sheets 28 . The discharge tray 21 is arranged above the feed tray 20 and is inserted and removed along the front-rear direction 8 together with the feed tray 20 . The discharge tray 21 supports the paper 28 discharged by the discharge roller pair 46 .

本実施形態では、給送トレイ20は筐体14に対して着脱可能に構成されている。複合機10は、トレイセンサ29を有する。トレイセンサ29は、例えば給送トレイ20が接離するスイッチ等の機械式センサであってもよいし、給送トレイ20の位置によって光が遮断或いは透過される光学式センサであってもよい。トレイセンサ29は、給送トレイ20の位置に応じた信号をコントローラ230に出力する。より詳細には、トレイセンサ29は、給送トレイ20が筐体14取り付けられていることに応じて、ローレベル信号をコントローラ230へ出力する。一方、トレイセンサ29は、給送トレイ20が筐体14から取り外されていることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ230へ出力する。ローレベル信号及びハイレベル信号は、第1信号の一例である。 In this embodiment, the feed tray 20 is configured to be detachable from the housing 14 . The MFP 10 has a tray sensor 29 . The tray sensor 29 may be, for example, a mechanical sensor such as a switch that causes the feed tray 20 to contact or separate, or may be an optical sensor that blocks or transmits light depending on the position of the feed tray 20 . The tray sensor 29 outputs a signal corresponding to the position of the feed tray 20 to the controller 230 . More specifically, tray sensor 29 outputs a low level signal to controller 230 in response to attachment of feed tray 20 to housing 14 . On the other hand, the tray sensor 29 outputs a high level signal having a higher signal strength than the low level signal to the controller 230 in response to the removal of the feed tray 20 from the housing 14 . A low level signal and a high level signal are examples of the first signal.

[給送部16]
給送部16は、給送トレイ20に支持された用紙28を搬送経路38へ給送する。図2に示されるように、給送部16は、給送ローラ25と、給送アーム26と、軸27とを備える。給送ローラ25は、給送アーム26の先端に回転可能に支持されている。給送ローラ25は、不図示の給送用モータから駆動が伝達される。給送アーム26は、プリンタ部11のフレームに支持された軸27に回動可能に支持されている。給送アーム26は、自重或いはバネ等による弾性力によって給送トレイ20に向かって回動付勢されている。
[Feeding unit 16]
The feeding section 16 feeds the paper 28 supported by the feeding tray 20 to the transport path 38 . As shown in FIG. 2 , the feeding section 16 includes a feeding roller 25 , a feeding arm 26 and a shaft 27 . The feeding roller 25 is rotatably supported at the tip of the feeding arm 26 . The feeding roller 25 is driven by a feeding motor (not shown). The feeding arm 26 is rotatably supported by a shaft 27 supported by the frame of the printer section 11 . The feed arm 26 is urged to rotate toward the feed tray 20 by its own weight or elastic force of a spring or the like.

以下、用紙28の搬送に関わる給送ローラ25、搬送ローラ34、及び排出ローラ36が、用紙28を搬送向き38Aに搬送する向きに回転することを、「正回転」と表記する。 Hereinafter, the rotation of the feed roller 25, the transport roller 34, and the discharge roller 36 involved in the transport of the paper 28 in the direction of transporting the paper 28 in the transport direction 38A is referred to as "forward rotation".

[搬送経路38]
図2に示されるように、搬送経路38は、その一部がプリンタ部11の内部において、所定間隔で対向する外側ガイド部材18及び内側ガイド部材19などによって形成される空間を指す。搬送経路38は、給送トレイ20の後端部から後方に延びる経路である。搬送経路38は、プリンタ部11の後部において上方に延びつつ前方にUターンし、記録部24とプラテン42との間の空間を経て排出トレイ21に至る経路である。図2及び図3に示されるように、搬送ローラ対45及び排出ローラ対46の間における搬送経路38は、左右方向9における複合機10の概ね中央に設けられており、且つ前後方向8に延びている。搬送経路38における用紙28の搬送向き38Aは、図2において矢印で示されている。
[Conveyance path 38]
As shown in FIG. 2, the conveying path 38 refers to a space partially formed inside the printer section 11 by the outer guide member 18 and the inner guide member 19 facing each other at a predetermined interval. The transport path 38 is a path extending rearward from the rear end of the feed tray 20 . The transport path 38 extends upward at the rear of the printer section 11 , makes a U-turn forward, passes through the space between the recording section 24 and the platen 42 , and reaches the discharge tray 21 . As shown in FIGS. 2 and 3, the transport path 38 between the transport roller pair 45 and the discharge roller pair 46 is provided approximately in the center of the multifunction machine 10 in the left-right direction 9 and extends in the front-rear direction 8. ing. A conveying direction 38A of the paper 28 in the conveying path 38 is indicated by an arrow in FIG.

[搬送ローラ対45]
図2に示されるように、搬送ローラ対45は、記録部24より搬送向き38Aの上流に位置する。搬送ローラ対45は、互いに対向する搬送ローラ34及びピンチローラ35を有する。搬送ローラ34は、不図示の搬送用モータから駆動伝達されて正回転又は逆回転する。ピンチローラ35は、搬送ローラ34の回転に伴って連れ回る。用紙28は、正回転する搬送ローラ34及びピンチローラ35に挟持されて搬送向き38Aに搬送される。
[Transport roller pair 45]
As shown in FIG. 2, the transport roller pair 45 is positioned upstream of the recording unit 24 in the transport direction 38A. The transport roller pair 45 has a transport roller 34 and a pinch roller 35 facing each other. The conveying roller 34 rotates forward or backward by being driven by a conveying motor (not shown). The pinch roller 35 rotates together with the rotation of the conveying roller 34 . The paper 28 is nipped between a transport roller 34 and a pinch roller 35 rotating forward and transported in a transport direction 38A.

[排出ローラ対46]
図2に示されるように、排出ローラ対46は、記録部24より搬送向き38Aの下流に配置されている。排出ローラ対46は、互いに対向する排出ローラ36及び拍車37を有する。排出ローラ36は、不図示の搬送用モータから駆動伝達されて正回転又は逆回転する。拍車37は、排出ローラ36の回転に伴って連れ回る。用紙28は、正回転する排出ローラ36及び拍車37に挟持されて搬送向き38Aに搬送される。
[Discharge roller pair 46]
As shown in FIG. 2, the discharge roller pair 46 is arranged downstream of the recording unit 24 in the transport direction 38A. The discharge roller pair 46 has a discharge roller 36 and a spur 37 facing each other. The discharge roller 36 rotates forward or backward by being driven by a transport motor (not shown). The spur 37 rotates with the rotation of the discharge roller 36 . The paper 28 is nipped between the forwardly rotating discharge roller 36 and the spur 37 and transported in the transport direction 38A.

[記録部24]
図2に示されるように、記録部24は、搬送向き38Aにおける搬送ローラ対45及び排出ローラ対46の間に位置する。記録部24は、搬送経路38を挟んでプラテン42と上下方向7に対向している。記録部24は、キャリッジ23と、キャリッジ23に搭載された記録ヘッド39とを備えている。
[Recording unit 24]
As shown in FIG. 2, the recording unit 24 is positioned between the transport roller pair 45 and the discharge roller pair 46 in the transport direction 38A. The recording unit 24 faces the platen 42 in the vertical direction 7 with the transport path 38 interposed therebetween. The recording unit 24 includes a carriage 23 and a recording head 39 mounted on the carriage 23 .

図3に示されるように、キャリッジ23は、前後方向8に離間しており、各々が左右方向9に延びるガイドレール43、44に支持されている。ガイドレール43、44は、不図示のフレームに支持されている。キャリッジ23は、ガイドレール44に設けられた公知のベルト機構に連結されている。ベルト機構は、不図示のキャリッジ駆動用モータから駆動伝達されて回動する。キャリッジ23は、ベルト機構の回動に伴って、ガイドレール43,44により案内されて左右方向9に往復移動する。キャリッジ23の移動範囲は、図3の一点鎖線で示されるように、搬送経路38の幅38Bよりも右方及び左方にまで及ぶ。 As shown in FIG. 3, the carriages 23 are separated in the front-rear direction 8 and supported by guide rails 43 and 44 extending in the left-right direction 9, respectively. The guide rails 43 and 44 are supported by a frame (not shown). Carriage 23 is connected to a known belt mechanism provided on guide rails 44 . The belt mechanism is driven and rotated by a carriage driving motor (not shown). The carriage 23 is guided by guide rails 43 and 44 and reciprocates in the left-right direction 9 as the belt mechanism rotates. The movement range of the carriage 23 extends to the right and left of the width 38B of the transport path 38, as indicated by the dashed line in FIG.

記録ヘッド39と、インク供給装置15に設けられた4つのサブタンク100とは、4本のインクチューブ32によって接続されている。記録ヘッド39は、フレキシブルフラットケーブル33によって、不図示の制御基板と接続されている。 The recording head 39 and four sub-tanks 100 provided in the ink supply device 15 are connected by four ink tubes 32 . The recording head 39 is connected to a control board (not shown) via a flexible flat cable 33 .

4つのサブタンク100は、マゼンタサブタンク100M、シアンサブタンク100C、イエローサブタンク100Y、及びブラックサブタンク100Bである。マゼンタサブタンク100M、シアンサブタンク100C、イエローサブタンク100Y、及びブラックサブタンク100Bは、本明細書において特に区別する必要がない場合、サブタンク100と総称される。 The four sub-tanks 100 are a magenta sub-tank 100M, a cyan sub-tank 100C, a yellow sub-tank 100Y, and a black sub-tank 100B. The magenta sub-tank 100M, the cyan sub-tank 100C, the yellow sub-tank 100Y, and the black sub-tank 100B are collectively referred to as the sub-tank 100 in this specification unless they need to be distinguished from each other.

4本のインクチューブ32は、イエローインクチューブ32Y、シアンインクチューブ32C、マゼンタインクチューブ32M、及びブラックインクチューブ32Bからなっている。イエローインクチューブ32Y、シアンインクチューブ32C、マゼンタインクチューブ32M、及びブラックインクチューブ32Bは、本明細書において特に区別する必要がない場合、インクチューブ32と総称される。4本のインクチューブ32は、一体に束ねられている。 The four ink tubes 32 consist of a yellow ink tube 32Y, a cyan ink tube 32C, a magenta ink tube 32M and a black ink tube 32B. The yellow ink tube 32Y, the cyan ink tube 32C, the magenta ink tube 32M, and the black ink tube 32B are collectively referred to as the ink tube 32 in this specification unless they need to be distinguished from each other. The four ink tubes 32 are bundled together.

フレキシブルフラットケーブル33は、制御部が実装された制御基板及び記録ヘッド39を電気的に接続するものである。フレキシブルフラットケーブル33は、制御部から出力される制御信号を記録ヘッド39に伝達する。 The flexible flat cable 33 electrically connects the control board on which the control section is mounted and the recording head 39 . A flexible flat cable 33 transmits a control signal output from the control unit to the recording head 39 .

図2に示されるように、記録ヘッド39の下面には、複数のノズル40が配置されている。複数のノズル40の先端は、記録ヘッド39の下面から露出している。記録ヘッド39は、ノズル40からインクを微小なインク滴として吐出する。キャリッジ23が移動する過程において、プラテン42に支持されている用紙28に向けて記録ヘッド39がインク滴を吐出する。これにより、用紙28に画像が記録される。また、これにより、4つのサブタンク100に貯留されたインクが消費される。 As shown in FIG. 2, a plurality of nozzles 40 are arranged on the bottom surface of the recording head 39 . Tips of the plurality of nozzles 40 are exposed from the bottom surface of the recording head 39 . The recording head 39 ejects ink from nozzles 40 as minute ink droplets. While the carriage 23 is moving, the recording head 39 ejects ink droplets onto the paper 28 supported by the platen 42 . An image is thus recorded on the paper 28 . In addition, this consumes the ink stored in the four sub-tanks 100 .

[プラテン42]
図2及び図3に示されるように、プラテン42は、搬送経路38における搬送ローラ対45及び排出ローラ対46の間に配置されている。プラテン42は、搬送経路38を挟んで記録部24と上下方向7に対向配置されている。プラテン42は、搬送ローラ対45によって搬送される用紙28を下方から支持する。
[Platen 42]
As shown in FIGS. 2 and 3, the platen 42 is arranged between the transport roller pair 45 and the discharge roller pair 46 in the transport path 38 . The platen 42 is arranged to face the recording section 24 in the vertical direction 7 with the transport path 38 interposed therebetween. The platen 42 supports the paper 28 transported by the transport roller pair 45 from below.

[カバー48]
図1(B)に示されるように、筐体14の右前部には、開口47が形成されている。筐体14にはインク供給装置15が収納されており、インク供給装置15の前面が開口47から露出している。筐体14には、開口47を開閉可能なカバー48が取り付けられている。カバー48の下端部は、開口47の下方において、左右方向9の軸周りに回転可能に筐体14に支持されている。カバー48は、開口47を閉鎖する閉鎖位置(図1(A)に示される位置)と、開口47を開放する開放位置(図1(B)に示される位置)との間を、回転可能である。
[Cover 48]
As shown in FIG. 1B, an opening 47 is formed in the front right portion of the housing 14 . The housing 14 accommodates the ink supply device 15 , and the front surface of the ink supply device 15 is exposed through the opening 47 . A cover 48 capable of opening and closing the opening 47 is attached to the housing 14 . A lower end portion of the cover 48 is supported by the housing 14 below the opening 47 so as to be rotatable about an axis in the left-right direction 9 . The cover 48 is rotatable between a closed position (the position shown in FIG. 1A) that closes the opening 47 and an open position that opens the opening 47 (the position shown in FIG. 1B). be.

図1(A)に示されるように、カバー48は、透光部49を有している。透光部49は、カバー48の外側から内部の構成を視認可能な透光性を有する。カバー48が閉鎖位置にあるときに、透光部49から、インク供給装置15に取り付けられたインクカートリッジ50の前面が視認可能である。 As shown in FIG. 1A, the cover 48 has a translucent portion 49 . The translucent portion 49 has translucency such that the internal configuration can be visually recognized from the outside of the cover 48 . When the cover 48 is in the closed position, the front surface of the ink cartridge 50 attached to the ink supply device 15 can be seen through the translucent portion 49 .

[カバーセンサ88]
複合機10は、カバーセンサ88(図13参照)を有する。カバーセンサ88は、例えば、カバー48が接離するスイッチ等の機械式センサであってもよいし、カバー48の位置によって光が遮断或いは透過される光学式センサであってもよい。カバーセンサ88は、カバー48の位置に応じた信号をコントローラ230に出力する。より詳細には、カバーセンサ88は、カバー48が閉鎖位置に位置していることに応じて、ローレベル信号をコントローラ230へ出力する。一方、カバーセンサ88は、カバー48が閉鎖位置と異なる位置に位置していることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ230へ出力する。換言すれば、カバーセンサ88は、カバー48が開放位置に位置していることに応じて、ハイレベル信号をコントローラ230へ出力する。
[Cover sensor 88]
The MFP 10 has a cover sensor 88 (see FIG. 13). The cover sensor 88 may be, for example, a mechanical sensor such as a switch that the cover 48 contacts or separates, or an optical sensor that blocks or transmits light depending on the position of the cover 48 . Cover sensor 88 outputs a signal corresponding to the position of cover 48 to controller 230 . More specifically, cover sensor 88 outputs a low level signal to controller 230 in response to cover 48 being positioned in the closed position. On the other hand, the cover sensor 88 outputs a high level signal having a higher signal strength than the low level signal to the controller 230 in response to the cover 48 being positioned at a position different from the closed position. In other words, cover sensor 88 outputs a high level signal to controller 230 in response to cover 48 being positioned at the open position.

[インク供給装置15]
図4に示されるように、インク供給装置15は、4つのインクカートリッジ50と、装着ケース71と、4つのサブタンク100と、大気連通部70(図5、図11参照)と、を備えている。
[Ink supply device 15]
As shown in FIG. 4, the ink supply device 15 includes four ink cartridges 50, a mounting case 71, four sub-tanks 100, and an atmosphere communicating portion 70 (see FIGS. 5 and 11). .

[インクカートリッジ50]
図1、図3に示されるように、4つのインクカートリッジ50(カートリッジの一例)は、マゼンタインクカートリッジ50M、シアンインクカートリッジ50C、イエローインクカートリッジ50Y、及びブラックインクカートリッジ50Bからなっている。マゼンタインクカートリッジ50M、シアンインクカートリッジ50C、イエローインクカートリッジ50Y、及びブラックインクカートリッジ50Bは、本明細書において特に区別される必要がない場合、インクカートリッジ50と総称される。
[Ink cartridge 50]
As shown in FIGS. 1 and 3, the four ink cartridges 50 (an example of cartridges) consist of a magenta ink cartridge 50M, a cyan ink cartridge 50C, a yellow ink cartridge 50Y, and a black ink cartridge 50B. The magenta ink cartridge 50M, the cyan ink cartridge 50C, the yellow ink cartridge 50Y, and the black ink cartridge 50B are collectively referred to as the ink cartridge 50 in this specification unless they need to be distinguished from each other.

図4は、4つのインクカートリッジ50のうち、左右方向9の最も左側に位置するマゼンタインクカートリッジ50Mのみが装着ケース71に収納された状態を示している。 FIG. 4 shows a state in which only the magenta ink cartridge 50</b>M positioned on the leftmost side in the left-right direction 9 among the four ink cartridges 50 is accommodated in the mounting case 71 .

図5、図6に示されるように、インクカートリッジ50は、カートリッジ本体51と、ジョイント受部52と、を備えている。カートリッジ本体51は、インク(液体の一例)を貯留する第1貯留室53(第1液室の一例)を有する。 As shown in FIGS. 5 and 6, the ink cartridge 50 has a cartridge main body 51 and a joint receiving portion 52 . The cartridge main body 51 has a first storage chamber 53 (an example of a first liquid chamber) that stores ink (an example of liquid).

カートリッジ本体51は、概ね直方体状の箱形状を有している。カートリッジ本体51は、上下方向7及び前後方向8から視て概ね長方形状である。カートリッジ本体51は、カートリッジ本体51の前端部に下方に突出する凸部65を有している。カートリッジ本体51は、上壁54、サブ下壁55、右壁56(図4参照)、左壁57(図4参照)、後壁58、前壁59、下壁60を有している。下壁60は、カートリッジ本体51の前部かつ下端部に位置しており、サブ下壁55よりも下方に位置している。サブ下壁55は、下壁60よりも後方に位置している。カートリッジ本体51は、凸部65において、後方(水平方向の一例)に開口する連通口61を有している。連通口61は、サブ下壁55、下壁60、右壁56、及び左壁57によって画定された開口である。 The cartridge main body 51 has a generally rectangular parallelepiped box shape. The cartridge body 51 has a substantially rectangular shape when viewed from the vertical direction 7 and the front-rear direction 8 . The cartridge body 51 has a protrusion 65 protruding downward at the front end of the cartridge body 51 . The cartridge body 51 has an upper wall 54 , a sub-lower wall 55 , a right wall 56 (see FIG. 4), a left wall 57 (see FIG. 4), a rear wall 58 , a front wall 59 and a lower wall 60 . The lower wall 60 is positioned at the front and lower end of the cartridge main body 51 and positioned below the sub-lower wall 55 . The sub-lower wall 55 is located behind the lower wall 60 . The cartridge main body 51 has a communication port 61 that opens rearward (an example in the horizontal direction) at a convex portion 65 . The communication port 61 is an opening defined by the sub-lower wall 55 , the lower wall 60 , the right wall 56 and the left wall 57 .

上壁54には、前後方向8の中央部に上方に突出する当接部64が設けられている。当接部64は、装着ケース71のロックレバー79(後述)と当接する部分である。 The upper wall 54 is provided with a contact portion 64 protruding upward at the central portion in the front-rear direction 8 . The contact portion 64 is a portion that contacts a lock lever 79 (described later) of the mounting case 71 .

当接部64の上面にはICチップ66(カートリッジメモリの一例)が位置している。ICチップ66には、ICチップ66が形成されている。また、ICチップ66は、不図示のメモリを備える。ICチップ66は、ICチップ66の上記メモリと電気的に接続されている。ICチップ66は、ICチップ66の上面において、接点152と導通可能に露出されている。すなわち、インクカートリッジ50が装着ケース71に装着された状態において、ICチップ66は、接点152と電気的に導通する。コントローラ230は、接点152及びICチップ66を通じてICチップ66のメモリから情報を読み出し、接点152及びICチップ66を通じてICチップ66のメモリに情報を書き込むことができる。 An IC chip 66 (an example of a cartridge memory) is positioned on the upper surface of the contact portion 64 . An IC chip 66 is formed on the IC chip 66 . The IC chip 66 also includes a memory (not shown). The IC chip 66 is electrically connected to the memory of the IC chip 66 . The IC chip 66 is exposed on the upper surface of the IC chip 66 so as to be electrically conductive with the contacts 152 . That is, the IC chip 66 is electrically connected to the contacts 152 when the ink cartridge 50 is mounted in the mounting case 71 . Controller 230 can read information from the memory of IC chip 66 through contacts 152 and IC chip 66 and write information to the memory of IC chip 66 through contacts 152 and IC chip 66 .

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

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

第1貯留室53の底面を画定するサブ下壁55の上面は、前後方向8に沿って凸部65に向かって下方に傾斜している。 The upper surface of the sub-lower wall 55 defining the bottom surface of the first storage chamber 53 is inclined downward toward the convex portion 65 along the front-rear direction 8 .

ジョイント受部52は、カートリッジ本体51において連通口61を囲む部分から後方に延びる円筒形状を有している。ジョイント受部52は、サブタンク100のジョイント102(後述)が挿入される部分である。 The joint receiving portion 52 has a cylindrical shape extending rearward from a portion of the cartridge body 51 surrounding the communication port 61 . The joint receiving portion 52 is a portion into which a joint 102 (described later) of the sub-tank 100 is inserted.

図5は、インクカートリッジ50がサブタンク100に装着された装着状態を示している。図6は、インクカートリッジ50がサブタンク100から分離された分離状態を示している。装着状態については以下で詳しく説明される。 FIG. 5 shows an installed state in which the ink cartridge 50 is installed in the sub-tank 100 . FIG. 6 shows the separated state in which the ink cartridge 50 is separated from the sub-tank 100 . Mounting states are described in more detail below.

ジョイント受部52には、連通口61を閉鎖可能な栓部材62と、栓部材62を後方に付勢するバネ63と、が設けられている。図6に示されるように、インクカートリッジ50に外力が加わらない状態では、栓部材62は、連通口61を閉鎖する位置にある。バネ63は、栓部材62と前壁59との間において前後方向8に沿って延びており、前後方向8に圧縮可能である。図5に示されるように、ジョイント102によって、バネ63の弾性力よりも大きな前向きの外力が栓部材62に加えられると、栓部材62が前方に移動して連通口61から離れる。 The joint receiving portion 52 is provided with a plug member 62 that can close the communication port 61 and a spring 63 that biases the plug member 62 backward. As shown in FIG. 6, the plug member 62 is positioned to close the communication port 61 when no external force is applied to the ink cartridge 50 . The spring 63 extends along the front-rear direction 8 between the plug member 62 and the front wall 59 and is compressible in the front-rear direction 8 . As shown in FIG. 5 , when a forward external force larger than the elastic force of the spring 63 is applied to the plug member 62 by the joint 102 , the plug member 62 moves forward and separates from the communication port 61 .

[装着ケース71]
装着ケース71は、前方が開放された直方体状の箱形状である。装着ケース71は、上壁72、下壁73、右壁74、左壁75、後壁76、及び3つの仕切壁77を有している。上壁72、下壁73、右壁74、左壁75、及び後壁76により、前方が開放された内部空間78が画定されている。3つの仕切壁77は、右壁74及び左壁75と平行な壁であり、内部空間78を、4つの空間に区画している。区画された4つの空間のそれぞれに、4つのインクカートリッジ50のそれぞれが収納される。装着ケース71は、図5、図6、図7に示されるように、ロックレバー79と、接点152と、装着センサ154と、液面センサ155と、を備えている。
[Mounting case 71]
The mounting case 71 has a rectangular parallelepiped box shape with an open front. The mounting case 71 has an upper wall 72 , a lower wall 73 , a right wall 74 , a left wall 75 , a rear wall 76 and three partition walls 77 . The upper wall 72 , lower wall 73 , right wall 74 , left wall 75 , and rear wall 76 define an internal space 78 with an open front. The three partition walls 77 are walls parallel to the right wall 74 and the left wall 75, and divide the internal space 78 into four spaces. Each of the four ink cartridges 50 is housed in each of the four partitioned spaces. The mounting case 71 includes a lock lever 79, a contact 152, a mounting sensor 154, and a liquid level sensor 155, as shown in FIGS.

[ロックレバー79]
図4、図5、図6に示されるように、装着ケース71には、インクカートリッジ50を内部空間78内に保持するロックレバー79が設けられている。ロックレバー79は、前後方向に延びた板状部材である。ロックレバー79の中央部は、上壁72に、左右方向9の軸周りに回転可能に設けられている。ロックレバー79は、後方に傾いたロック位置と、前方に傾いたアンロック位置との間で回転する。ロックレバー79は、外力が加わらない状態では、自重により後方に傾いてロック位置となる。ロック位置において、ロックレバー79の後端部は、内部空間78にあるインクカートリッジ50の当接部64の前面と当接し、インクカートリッジ50が前後方向8の前方へ移動することを規制する。ロック位置のロックレバー79の前端部がユーザの指等によって下方に押圧されると、ロックレバー79はロック位置からアンロック位置に回転する。アンロック位置において、ロックレバー79の後端部は、当接部64の前面より上方に位置する。アンロック位置のロックレバー79は、前後方向8の前方へ移動するインクカートリッジ50の当接部64と当接しないので、装着ケース71からインクカートリッジ50が取り外し可能となる。
[Lock lever 79]
As shown in FIGS. 4, 5, and 6, the mounting case 71 is provided with a lock lever 79 that holds the ink cartridge 50 within the internal space 78. As shown in FIGS. The lock lever 79 is a plate-like member extending in the front-rear direction. A center portion of the lock lever 79 is provided on the upper wall 72 so as to be rotatable around an axis in the left-right direction 9 . The lock lever 79 rotates between a rearwardly inclined locked position and a forwardly inclined unlocked position. When no external force is applied, the lock lever 79 tilts rearward due to its own weight to reach the locked position. At the locked position, the rear end of the lock lever 79 contacts the front surface of the contact portion 64 of the ink cartridge 50 in the internal space 78 to restrict the forward movement of the ink cartridge 50 in the front-rear direction 8 . When the front end of the lock lever 79 at the lock position is pressed downward by a user's finger or the like, the lock lever 79 rotates from the lock position to the unlock position. At the unlocked position, the rear end portion of the lock lever 79 is located above the front surface of the contact portion 64 . Since the lock lever 79 at the unlock position does not contact the contact portion 64 of the ink cartridge 50 moving forward in the front-rear direction 8 , the ink cartridge 50 can be removed from the mounting case 71 .

[接点152]
接点152(インタフェースの一例)は、装着ケース71の上壁72に位置している。接点152は、上壁72から装着ケース71の内部空間78へ向けて下方に突出している。接点152は、装着ケース71にインクカートリッジ50が装着された状態において、インクカートリッジ50の後述するICチップ66に接する位置に位置している。接点152は、導電性を有しており、さらに上下方向7に沿って弾性的に変形可能である。接点152は、コントローラ230に電気的に接続されている。
[Contact 152]
A contact 152 (an example of an interface) is located on the upper wall 72 of the mounting case 71 . The contact 152 protrudes downward from the upper wall 72 toward the inner space 78 of the mounting case 71 . The contact 152 is located at a position where it contacts an IC chip 66 (described later) of the ink cartridge 50 when the ink cartridge 50 is mounted in the mounting case 71 . The contact 152 is conductive and elastically deformable in the vertical direction 7 . Contact 152 is electrically connected to controller 230 .

[装着センサ154]
装着センサ154は、装着ケース71の上壁72に位置している。装着センサ154は、インクカートリッジ50が装着ケース71に装着されているか否かを検出するためのセンサである。装着センサ154は、左右方向9に離間した発光部及び受光部を備える。装着ケース71にインクカートリッジ50が装着された状態において、インクカートリッジ50の図示しない被検知部が、装着センサ154の発光部及び受光部の間に位置する。換言すれば、装着センサ154の発光部及び受光部は、装着ケース71に装着されたインクカートリッジ50の被検知部を挟んで、互いに対向した状態で位置している。
[Wearing sensor 154]
The mounting sensor 154 is positioned on the upper wall 72 of the mounting case 71 . The mounting sensor 154 is a sensor for detecting whether or not the ink cartridge 50 is mounted in the mounting case 71 . The mounting sensor 154 has a light-emitting portion and a light-receiving portion spaced apart in the left-right direction 9 . When the ink cartridge 50 is mounted in the mounting case 71 , the detected portion (not shown) of the ink cartridge 50 is positioned between the light emitting portion and the light receiving portion of the mounting sensor 154 . In other words, the light-emitting portion and the light-receiving portion of the mounting sensor 154 are positioned facing each other with the detected portion of the ink cartridge 50 mounted in the mounting case 71 interposed therebetween.

装着センサ154は、発光部から左右方向9に沿って照射された光が受光部で受光されたか否かに応じて、異なる信号(図中では、「装着信号」と表記する。)を出力する。装着センサ154は、例えば、受光部で受光された光の受光強度が閾値強度未満であることに応じて、ローレベル信号をコントローラ230へ出力する。一方、装着センサ154は、受光部で受光された光の受光強度が閾値強度以上であることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ230へ出力する。ハイレベル信号は第3信号の一例であり、ローレベル信号は第4信号の一例である。 The mounting sensor 154 outputs a different signal (denoted as "mounting signal" in the drawing) depending on whether the light emitted from the light emitting section along the horizontal direction 9 is received by the light receiving section. . The mounting sensor 154 outputs a low-level signal to the controller 230, for example, in response to the intensity of light received by the light receiving portion being less than the threshold intensity. On the other hand, the mounting sensor 154 outputs a high-level signal having a higher signal intensity than the low-level signal to the controller 230 in response to the intensity of the light received by the light-receiving portion being equal to or higher than the threshold intensity. A high level signal is an example of a third signal, and a low level signal is an example of a fourth signal.

[サブタンク100]
図4から図11には、サブタンク100(タンクの一例)が示されている。サブタンク100は、装着ケース71の下壁73の下方に位置している。
[Sub tank 100]
4 to 11 show a sub-tank 100 (an example of a tank). The sub-tank 100 is positioned below the lower wall 73 of the mounting case 71 .

図7に示されるように、サブタンク100は、タンク本体101と、ジョイント102と、を備えている。タンク本体101の内部に、インクを貯留する第2貯留室105(第2液室の一例)が形成されている。サブタンク100は、第2貯留室105と連通する液体流路103及び気体流路104を備えている。液体流路103及び気体流路104は、タンク本体101の内部及びジョイント102の内部に形成されている。また、サブタンク100は、第2貯留室105を外部に連通する大気連通口106(図9、図10、図12(A)参照)を備えている。 As shown in FIG. 7, the sub-tank 100 includes a tank main body 101 and joints 102 . A second storage chamber 105 (an example of a second liquid chamber) that stores ink is formed inside the tank main body 101 . The sub-tank 100 has a liquid channel 103 and a gas channel 104 communicating with the second storage chamber 105 . The liquid channel 103 and the gas channel 104 are formed inside the tank body 101 and inside the joint 102 . The sub-tank 100 also has an air communication port 106 (see FIGS. 9, 10, and 12A) that communicates the second storage chamber 105 with the outside.

[液体流路103及び気体流路104]
図7に示されるように、液体流路103及び気体流路104は並列に位置している。
[Liquid channel 103 and gas channel 104]
As shown in FIG. 7, liquid channel 103 and gas channel 104 are positioned in parallel.

液体流路103は、第1開口131と、第2開口132と、鉛直部分133と、水平部分134と、を有している。第1開口131は、液体流路103の一端側(後端側)に形成され且つ第2貯留室105に連通する開口である。第1開口131は、上下方向7に沿って開口している。第2開口132は、液体流路103の一端側とは反対の他端側(前端側)に形成され且つ外部に開口する開口である。第2開口132は、前後方向8に沿って開口している。第2開口132は、インクカートリッジ50の装着状態において、インクカートリッジ50の第1貯留室53内に位置する。鉛直部分133は、液体流路103において第1開口131から上方に延びる部分である。水平部分134は、液体流路103において第2開口132から後方に延びる部分である。鉛直部分133の上端部は水平部分134の後端部に接続されている。 Liquid channel 103 has a first opening 131 , a second opening 132 , a vertical portion 133 and a horizontal portion 134 . The first opening 131 is an opening that is formed on one end side (rear end side) of the liquid channel 103 and communicates with the second storage chamber 105 . The first opening 131 opens along the vertical direction 7 . The second opening 132 is an opening that is formed on the other end side (front end side) opposite to the one end side of the liquid channel 103 and opens to the outside. The second opening 132 opens along the front-rear direction 8 . The second opening 132 is located inside the first storage chamber 53 of the ink cartridge 50 when the ink cartridge 50 is installed. The vertical portion 133 is a portion extending upward from the first opening 131 in the liquid channel 103 . The horizontal portion 134 is a portion extending rearward from the second opening 132 in the liquid channel 103 . The upper end of vertical portion 133 is connected to the rear end of horizontal portion 134 .

気体流路104は、第3開口141と、第4開口142と、鉛直部分143と、水平部分144と、を有している。第3開口141は、気体流路104の一端側(後端側)に形成され且つ第2貯留室105に連通する開口である。第3開口141は、上下方向7に沿って開口している。第4開口142は、気体流路104の一端側とは反対の他端側(前端側)に形成され且つ外部に開口する開口である。第4開口142は、前後方向8に沿って開口している。第4開口142は、インクカートリッジ50の装着状態において、インクカートリッジ50の第1貯留室53に連通する。鉛直部分143は、気体流路104において第3開口141から上方に延びる部分である。水平部分144は、気体流路104において第4開口142から後方に延びる部分である。鉛直部分143の上端部は水平部分144の後端部に接続されている。 The gas channel 104 has a third opening 141 , a fourth opening 142 , a vertical portion 143 and a horizontal portion 144 . The third opening 141 is an opening that is formed on one end side (rear end side) of the gas flow path 104 and communicates with the second storage chamber 105 . The third opening 141 opens along the vertical direction 7 . The fourth opening 142 is an opening that is formed on the other end side (front end side) opposite to the one end side of the gas flow path 104 and opens to the outside. The fourth opening 142 opens along the front-rear direction 8 . The fourth opening 142 communicates with the first storage chamber 53 of the ink cartridge 50 when the ink cartridge 50 is installed. The vertical portion 143 is a portion extending upward from the third opening 141 in the gas flow path 104 . The horizontal portion 144 is the portion extending rearward from the fourth opening 142 in the gas flow path 104 . The upper end of vertical portion 143 is connected to the rear end of horizontal portion 144 .

[タンク本体101]
タンク本体101は、概ね直方体状の外壁を有している。タンク本体101は、上下方向7から視て概ねT字形状(図9、図10参照)であり、前後方向8から視て概ね長方形状(図8参照)であり、左右方向9から視てL字形状(図4から図7参照)である。
[Tank body 101]
The tank main body 101 has an outer wall that is substantially rectangular parallelepiped. The tank body 101 has a substantially T-shape (see FIGS. 9 and 10) when viewed in the vertical direction 7, a substantially rectangular shape (see FIG. 8) when viewed in the front-rear direction 8, and an L shape when viewed in the left-right direction 9. It is a character shape (see FIGS. 4 to 7).

図4から図11に示されるように、タンク本体101の外壁は、後側上壁107、屈曲上壁130、前側上壁108、下壁109、2つの後側側壁110、2つの前側屈曲側壁111、後壁112、及び前壁113を有している。後側上壁107は、後端から水平面に対して上方に傾斜しながら前方に延びる壁である。屈曲上壁130は、後側上壁107の前端から延びる壁であって、前方から上方に向けて屈曲している。前側上壁108は、屈曲上壁130の上端から、水平面と平行に前方に延びている。下壁109は、水平面と平行に前後方向8に延びている。下壁109は、上下方向7から視てT字形状を有している。後側側壁110は、後側上壁107と下壁109とを上下方向7に接続している。後側側壁110は、左右方向9から視て概ね長方形である。図9に示されるように、後側側壁110は、隣り合う異なるインクのタンク本体101において共用されている。前側屈曲側壁111は、屈曲上壁130及び前側上壁108と、下壁109とを上下方向7に接続している。前側屈曲側壁111は、左右方向9から視て概ね長方形であり、上下方向7から視て隅部が弧を描くL字形状である。後壁112は、下壁109の後端部から上方に延びており、左右に位置する2つの後側側壁110と、後側上壁107とに接続されている。前壁113は、下壁109の前端部から上方に延びており、左右に位置する2つの前側屈曲側壁111に接続されている。 As shown in FIGS. 4 to 11, the outer wall of the tank body 101 includes a rear upper wall 107, a curved upper wall 130, a front upper wall 108, a lower wall 109, two rear side walls 110, two front curved side walls. 111 , a rear wall 112 and a front wall 113 . The rear upper wall 107 is a wall extending forward from the rear end while being inclined upward with respect to the horizontal plane. The bent upper wall 130 is a wall extending from the front end of the rear upper wall 107 and is bent upward from the front. The front upper wall 108 extends forward from the upper end of the curved upper wall 130 parallel to the horizontal plane. The lower wall 109 extends in the front-rear direction 8 parallel to the horizontal plane. The lower wall 109 has a T shape when viewed from the vertical direction 7 . The rear side wall 110 connects the rear upper wall 107 and the lower wall 109 in the vertical direction 7 . The rear side wall 110 has a substantially rectangular shape when viewed from the left-right direction 9 . As shown in FIG. 9, the rear side wall 110 is shared by adjacent tank bodies 101 of different inks. The front bent side wall 111 connects the bent upper wall 130 and the front upper wall 108 to the lower wall 109 in the vertical direction 7 . The front curved side wall 111 has a substantially rectangular shape when viewed in the left-right direction 9 and an L-shape with curved corners when viewed in the up-down direction 7 . The rear wall 112 extends upward from the rear end of the lower wall 109 and is connected to the two rear side walls 110 located on the left and right and the rear upper wall 107 . The front wall 113 extends upward from the front end of the lower wall 109 and is connected to the two front curved side walls 111 located on the left and right.

図7、図11に示されるように、下壁109には、第2貯留室105に連通する連通口129が形成されている。連通口129には、インクチューブ32の一端部が接続されており、インクチューブ32を介して、第2貯留室105と記録ヘッド39とが連通接続されている。 As shown in FIGS. 7 and 11, the lower wall 109 is formed with a communication port 129 that communicates with the second storage chamber 105 . One end of the ink tube 32 is connected to the communication port 129 , and the second storage chamber 105 and the recording head 39 are communicatively connected via the ink tube 32 .

タンク本体101の前端部かつ上部には、前後方向8に延びる円筒形状の内筒部114が設けられている。内筒部114の内部は、前壁113、左右に位置する2つの前側屈曲側壁111、及び前側上壁108によって形成された開口に連通している。内筒部114には、ジョイント102の後端部が取り付け可能である。内筒部114にジョイント102が取り付けられた装着状態では、内筒部114の内部とジョイント102の内部が連通する。 A cylindrical inner cylinder portion 114 extending in the front-rear direction 8 is provided at the front end portion and upper portion of the tank body 101 . The interior of the inner cylindrical portion 114 communicates with an opening formed by the front wall 113 , the two front curved side walls 111 positioned on the left and right, and the front upper wall 108 . A rear end portion of the joint 102 can be attached to the inner cylindrical portion 114 . In the mounted state in which the joint 102 is attached to the inner tubular portion 114, the inside of the inner tubular portion 114 and the inside of the joint 102 communicate with each other.

[幅広部150及び幅狭部151]
図10に示されるように、タンク本体101は、前後方向8に沿って並ぶ幅広部150及び幅狭部151を有している。幅広部150は、タンク本体101において前後方向8の後部に位置し、2つの後側側壁110及び後壁112を含む部分である。幅狭部151は、タンク本体101において前後方向8の前端部(第1方向の一端部の一例)に位置し、2つの前側屈曲側壁111及び前壁113を含む部分である。幅狭部151の左右方向9(第1方向に直交する第2方向の一例)における幅は、幅広部150の左右方向9における幅よりも小さい。第2貯留室105は、幅広部150及び幅狭部151に亘って形成されている。
[Wide part 150 and narrow part 151]
As shown in FIG. 10 , the tank body 101 has a wide portion 150 and a narrow portion 151 arranged along the front-rear direction 8 . The wide portion 150 is located at the rear portion of the tank body 101 in the front-rear direction 8 and includes two rear side walls 110 and a rear wall 112 . The narrow portion 151 is located at the front end in the front-rear direction 8 (an example of one end in the first direction) of the tank body 101 and includes two front curved side walls 111 and a front wall 113 . The width of the narrow portion 151 in the left-right direction 9 (an example of a second direction orthogonal to the first direction) is smaller than the width of the wide portion 150 in the left-right direction 9 . The second storage chamber 105 is formed across the wide portion 150 and the narrow portion 151 .

図8に示されるように、幅広部150の左右方向9における幅は、インクカートリッジ50の左右方向9における幅に、概ね等しい。したがって、幅狭部151の左右方向9における幅は、インクカートリッジ50の左右方向9における幅よりも小さい。 As shown in FIG. 8, the width of the wide portion 150 in the left-right direction 9 is substantially equal to the width of the ink cartridge 50 in the left-right direction 9 . Therefore, the width of the narrow portion 151 in the left-right direction 9 is smaller than the width of the ink cartridge 50 in the left-right direction 9 .

[鉛直壁115及び水平壁116]
図7、図11に示されるように、タンク本体101は、タンク本体101の前部且つ上部に、鉛直壁115及び水平壁116を備えている。
[Vertical wall 115 and horizontal wall 116]
As shown in FIGS. 7 and 11 , the tank body 101 has a vertical wall 115 and a horizontal wall 116 on the front and top of the tank body 101 .

鉛直壁115は、上下方向7に延びる壁であり、前後方向8において前壁113と屈曲上壁130との間に位置している。鉛直壁115は、左右に位置する2つの前側屈曲側壁111を接続しており、前壁113、前側上壁108、2つの前側屈曲側壁111に画定される空間を前後に区画している。鉛直壁115の下端位置が、液体流路103の第1開口131の上下方向7における位置であり、且つ、気体流路104の第3開口141の上下方向7における位置である。鉛直壁115の下端位置は、後側上壁107の前端の下端位置に等しい。つまり、第2貯留室105の上面は、鉛直壁115の下端位置を通り水平面と平行な仮想平面と、後側上壁107の下面とによって画定されている。 The vertical wall 115 is a wall extending in the vertical direction 7 and positioned between the front wall 113 and the curved upper wall 130 in the front-rear direction 8 . The vertical wall 115 connects the two front curved side walls 111 located on the left and right, and divides the space defined by the front wall 113, the front upper wall 108, and the two front curved side walls 111 into the front and rear. The lower end position of the vertical wall 115 is the position in the vertical direction 7 of the first opening 131 of the liquid channel 103 and the position in the vertical direction 7 of the third opening 141 of the gas channel 104 . The lower end position of the vertical wall 115 is equal to the lower end position of the front end of the rear upper wall 107 . In other words, the upper surface of the second storage chamber 105 is defined by the imaginary plane passing through the lower end position of the vertical wall 115 and parallel to the horizontal plane, and the lower surface of the rear upper wall 107 .

水平壁116は、鉛直壁115の上端から前方に延びる壁である。水平壁116は、内筒部114の内部まで延びている。水平壁116は、左右に位置する2つの前側屈曲側壁111を接続し、且つ、内筒部114の内面を左右方向9において接続している。水平壁116は、前側上壁108、2つの前側屈曲側壁111によって画定される空間と、内筒部114によって画定される空間とを、上下に区画している。 The horizontal wall 116 is a wall extending forward from the upper end of the vertical wall 115 . The horizontal wall 116 extends to the inside of the inner tubular portion 114 . The horizontal wall 116 connects the two front curved side walls 111 located on the left and right, and also connects the inner surface of the inner tubular portion 114 in the left-right direction 9 . The horizontal wall 116 vertically divides a space defined by the front upper wall 108 and the two front curved side walls 111 and a space defined by the inner tubular portion 114 .

図10に示されるように、液体流路103の鉛直部分133は、鉛直壁115、前壁113、及び2つの前側屈曲側壁111によって形成されている。液体流路103の鉛直部分133において上下方向7と直交する断面の形状は、矩形である。液体流路103の鉛直部分133は、第2貯留室105を区画する2つの前側屈曲側壁111と面一に連続している。したがって、液体流路103の鉛直部分133の左右方向9における幅は、幅狭部151によって画定される第2貯留室105の左右方向9における幅と、同じである。 As shown in FIG. 10, the vertical portion 133 of the liquid channel 103 is formed by a vertical wall 115, a front wall 113 and two front curved side walls 111. As shown in FIG. The shape of the cross section perpendicular to the vertical direction 7 in the vertical portion 133 of the liquid channel 103 is rectangular. A vertical portion 133 of the liquid channel 103 continues flush with the two front curved side walls 111 that partition the second storage chamber 105 . Therefore, the width in the left-right direction 9 of the vertical portion 133 of the liquid channel 103 is the same as the width in the left-right direction 9 of the second storage chamber 105 defined by the narrow portion 151 .

図10に示されるように、気体流路104の鉛直部分143は、屈曲上壁130、鉛直壁115、及び2つの前側屈曲側壁111によって形成されている。気体流路104の鉛直部分133において上下方向7と直交する断面の形状は、矩形である。気体流路104の鉛直部分133は、第2貯留室105を区画する2つの前側屈曲側壁111と面一に連続している。したがって、気体流路104の鉛直部分143の左右方向9における幅は、幅狭部151によって画定される第2貯留室105の左右方向9における幅と、同じである。 As shown in FIG. 10, the vertical portion 143 of the gas channel 104 is formed by a curved top wall 130, a vertical wall 115, and two front curved side walls 111. As shown in FIG. The shape of the cross section orthogonal to the vertical direction 7 in the vertical portion 133 of the gas channel 104 is rectangular. The vertical portion 133 of the gas flow path 104 continues flush with the two front curved side walls 111 that partition the second storage chamber 105 . Therefore, the width in the left-right direction 9 of the vertical portion 143 of the gas channel 104 is the same as the width in the left-right direction 9 of the second storage chamber 105 defined by the narrow portion 151 .

図10に示されるように、気体流路104の第3開口141の前後方向8(水平方向の一例)に沿った長さ149は、液体流路103の第1開口131の前後方向8(水平方向の一例)に沿った長さ148よりも、長い。気体流路104の第3開口141の左右方向9に沿った長さは、液体流路103の第1開口131の左右方向9に沿った長さに、等しい。そのため、気体流路104の第3開口141の開口面積は、液体流路103の第1開口131の開口面積よりも大きい。 As shown in FIG. 10 , the length 149 of the third opening 141 of the gas channel 104 along the front-rear direction 8 (an example of the horizontal direction) 148 along the example direction). The length of the third opening 141 of the gas channel 104 along the left-right direction 9 is equal to the length of the first opening 131 of the liquid channel 103 along the left-right direction 9 . Therefore, the opening area of the third opening 141 of the gas channel 104 is larger than the opening area of the first opening 131 of the liquid channel 103 .

図7に示されるように、気体流路104の鉛直部分143において、気体流路104の開口面積は、気体流路104の第3開口141に近づくにつれて拡大している。液体流路103の鉛直部分133では、液体流路103の開口面積は、上下方向7において一定である。 As shown in FIG. 7 , in the vertical portion 143 of the gas channel 104 , the opening area of the gas channel 104 increases as it approaches the third opening 141 of the gas channel 104 . In the vertical portion 133 of the liquid channel 103 , the opening area of the liquid channel 103 is constant in the vertical direction 7 .

図7に示されるように、タンク本体101内における液体流路103の水平部分134は、前側上壁108、水平壁116、2つの前側屈曲側壁111、及び内筒部114によって形成されている。タンク本体101内における気体流路104の水平部分144は、水平壁116、2つの前側屈曲側壁111、及び内筒部114によって形成されている。 As shown in FIG. 7 , the horizontal portion 134 of the liquid channel 103 within the tank body 101 is formed by the front upper wall 108 , the horizontal wall 116 , the two front curved side walls 111 and the inner cylindrical portion 114 . A horizontal portion 144 of the gas flow path 104 inside the tank body 101 is formed by the horizontal wall 116 , the two front curved side walls 111 and the inner cylindrical portion 114 .

[第1リブ117]
図7、図11に示されるように、タンク本体101は、鉛直壁115と連続する第1リブ117を備えている。第1リブ117は、前側屈曲側壁111から突出しており、鉛直壁115から下方に延びている。第1リブ117と下壁109との間は離間している。左右に位置する2つの前側屈曲側壁111のそれぞれに第1リブ117が設けられており、1つの第2貯留室105内には、2つの第1リブ117が左右方向9に離れて位置している。
[First rib 117]
As shown in FIGS. 7 and 11 , the tank body 101 has a first rib 117 continuous with the vertical wall 115 . A first rib 117 protrudes from the front curved side wall 111 and extends downward from the vertical wall 115 . A space is provided between the first rib 117 and the lower wall 109 . A first rib 117 is provided on each of the two front curved side walls 111 positioned on the left and right sides, and two first ribs 117 are positioned apart in the left-right direction 9 in one second storage chamber 105 . there is

[液面センサ155]
図7に示されるように、液面センサ155は、タンク本体101の第2貯留室105の液面が所定位置B以上であるか否かを検出するためのセンサである。所定位置Bは、気体流路104の第3開口141を通過して水平方向に延びる仮想線Lより下方の位置である。液面センサ155は、タンク本体101の後壁112の所定位置Bにインクが接触しているか否かによって異なる反射率を有するプリズムを利用して、第2貯留室105の所定位置Bにおけるインクの液面を光学的に検出するためのセンサである。
[Liquid level sensor 155]
As shown in FIG. 7, the liquid level sensor 155 is a sensor for detecting whether or not the liquid level in the second storage chamber 105 of the tank body 101 is equal to or higher than a predetermined position B. As shown in FIG. The predetermined position B is a position below the virtual line L extending horizontally through the third opening 141 of the gas flow path 104 . The liquid level sensor 155 detects the amount of ink at a predetermined position B of the second storage chamber 105 using a prism having a different reflectance depending on whether ink is in contact with the predetermined position B of the rear wall 112 of the tank body 101 . It is a sensor for optically detecting the liquid level.

液面センサ155は、左右方向9に離間した発光部及び受光部を備える。液面センサ155は、発光部から出力された光が受光部で受光されたか否かに応じて異なる信号(図中では、「液面信号」と表記する。)を出力する。本実施形態では、タンク本体101の第2貯留室105の液面が所定位置B以上であれば、液面センサ155は、ローレベル信号を出力する。タンク本体101の第2貯留室105の液面が所定位置B未満であれば、液面センサ155は、ハイレベル信号を出力する。ローレベル信号が第1信号の一例である。ハイレベル信号が第2信号の一例である。 The liquid level sensor 155 has a light emitting part and a light receiving part spaced apart in the left-right direction 9 . The liquid level sensor 155 outputs a different signal (denoted as "liquid level signal" in the figure) depending on whether the light output from the light emitting section is received by the light receiving section. In this embodiment, when the liquid level in the second storage chamber 105 of the tank body 101 is equal to or higher than the predetermined position B, the liquid level sensor 155 outputs a low level signal. If the liquid level in the second storage chamber 105 of the tank body 101 is below the predetermined position B, the liquid level sensor 155 outputs a high level signal. A low level signal is an example of a first signal. A high level signal is an example of the second signal.

[ジョイント102]
図4から図9、図11に示されるように、ジョイント102は、ジョイント本体118、内壁119、栓部材120(図6、図7参照)、及びバネ121(図6、図7参照)を備えている。
[Joint 102]
As shown in FIGS. 4 to 9 and 11, the joint 102 includes a joint body 118, an inner wall 119, a plug member 120 (see FIGS. 6 and 7), and a spring 121 (see FIGS. 6 and 7). ing.

[ジョイント本体118]
図7に示されるように、ジョイント本体118は、ジョイント本体118は、後端部に位置する外筒部122と、前端部に位置する先端部123と、外筒部122及び先端部123を接続する本体部124と、を備えている。外筒部122は、円筒形状を有しており、前後方向8に延びている。外筒部122は、タンク本体101の内筒部114に嵌め込まれている。これにより、ジョイント本体118がタンク本体101に固定されている。先端部123は、前後方向8の軸を軸芯とする円板形状を有している。本体部124は、円筒形状を有しており、前後方向8に延びている。本体部124の前端部には、上方及び下方にそれぞれ開口する上開口部125及び下開口部126が形成されている。
[Joint body 118]
As shown in FIG. 7, the joint body 118 connects an outer cylinder portion 122 located at the rear end, a tip portion 123 located at the front end, and the outer cylinder portion 122 and the tip portion 123 . and a main body portion 124 that The outer tube portion 122 has a cylindrical shape and extends in the front-rear direction 8 . The outer tubular portion 122 is fitted into the inner tubular portion 114 of the tank body 101 . Thereby, the joint body 118 is fixed to the tank body 101 . The distal end portion 123 has a disk shape with an axis extending in the front-rear direction 8 as an axis. The body portion 124 has a cylindrical shape and extends in the front-rear direction 8 . An upper opening 125 and a lower opening 126 are formed at the front end of the main body 124 to open upward and downward, respectively.

[仕切壁127及び第2リブ128]
図7、図8に示されるように、内壁119は、ジョイント本体118の内部に位置している。内壁119は、先端部123から後方に外筒部122を超えて延びている。内壁119は、仕切壁127と、第2リブ128とを備えている。図8に示されるように、内壁119は、前後方向8から視てT字形状を有している。仕切壁127の後端面は、タンク本体101内の水平壁116の前端面に接触している。仕切壁127及び水平壁116により、ジョイント本体118とタンク本体101との接続部分の内部空間が、液体流路103及び気体流路104に区画されている。
[Partition wall 127 and second rib 128]
As shown in FIGS. 7 and 8, the inner wall 119 is located inside the joint body 118 . The inner wall 119 extends rearwardly beyond the outer tube portion 122 from the tip portion 123 . The inner wall 119 has a partition wall 127 and second ribs 128 . As shown in FIG. 8 , the inner wall 119 has a T shape when viewed from the front-rear direction 8 . A rear end surface of the partition wall 127 is in contact with a front end surface of the horizontal wall 116 inside the tank body 101 . The partition wall 127 and the horizontal wall 116 partition the internal space of the connecting portion between the joint body 118 and the tank body 101 into the liquid channel 103 and the gas channel 104 .

仕切壁127は、ジョイント本体118の内部において左右方向9に拡がる壁である。仕切壁127は、先端部123から後方に延びている。ジョイント本体118の内部空間は、仕切壁127によって上部と下部とに区画されている。 The partition wall 127 is a wall extending in the left-right direction 9 inside the joint body 118 . Partition wall 127 extends rearward from tip 123 . The internal space of the joint body 118 is partitioned into upper and lower parts by a partition wall 127 .

第2リブ128は、仕切壁127の左右方向9の中央部から下方に突出している。第2リブ128は、先端部123から後方に延びている。第2リブ128とジョイント本体118の内面との間には隙間がある。 The second rib 128 protrudes downward from the central portion of the partition wall 127 in the left-right direction 9 . The second rib 128 extends rearward from the tip portion 123 . There is a gap between the second rib 128 and the inner surface of the joint body 118 .

ジョイント102内における液体流路103の水平部分134は、ジョイント本体118の内面及び内壁119の下面によって形成されている。ジョイント102内における液体流路103の水平部分134の断面は、略半円形状である。より正確には、水平部分134の断面は、半円形状の上側部分が第2リブ128によって左右に分割されており、半円形状の下側部分が左右に分割されずに繋がっている。ジョイント102内における気体流路104の水平部分144は、ジョイント本体118の内面及び内壁119の上面によって形成されている。ジョイント102内における気体流路104の水平部分144の断面は、半円形状である。 A horizontal portion 134 of the liquid flow path 103 within the joint 102 is formed by the inner surface of the joint body 118 and the lower surface of the inner wall 119 . The cross section of the horizontal portion 134 of the liquid channel 103 within the joint 102 is substantially semicircular. More precisely, in the cross section of the horizontal portion 134, the semicircular upper portion is divided into left and right by the second rib 128, and the semicircular lower portion is connected without being divided into left and right. A horizontal portion 144 of gas flow path 104 within joint 102 is formed by the inner surface of joint body 118 and the upper surface of inner wall 119 . The cross-section of the horizontal portion 144 of the gas flow path 104 within the joint 102 is semicircular.

[栓部材120及びバネ121]
栓部材120は、円筒状の部材であり、ジョイント本体118の本体部124の外側に位置している。栓部材120は、本体部124に沿って前後方向8に移動可能である。バネ121は、前端部が栓部材120の後端部に固定されており、後端部が大気連通部70のバッファタンク90及びジョイント本体118の外筒部122に当接している。バネ121は、栓部材120を前方に付勢する。外力が加えられない状態では、栓部材120は、ジョイント本体118の前端部に位置しており、上開口部125及び下開口部126を閉鎖している。バネ121の弾性力よりも大きな後向きの外力が栓部材120に加えられると、栓部材120は後方に移動して、上開口部125及び下開口部126が開放される。インクカートリッジ50の装着時には、栓部材120にインクカートリッジ50のジョイント受部52が当接する。インクカートリッジ50の装着時に加えられる外力により、ジョイント受部52に当接する栓部材120が後方に移動する。
[Plug member 120 and spring 121]
The plug member 120 is a cylindrical member positioned outside the body portion 124 of the joint body 118 . The plug member 120 is movable in the front-rear direction 8 along the body portion 124 . The front end of the spring 121 is fixed to the rear end of the plug member 120 , and the rear end of the spring 121 is in contact with the buffer tank 90 of the atmosphere communicating portion 70 and the outer cylindrical portion 122 of the joint main body 118 . A spring 121 biases the plug member 120 forward. When no external force is applied, the plug member 120 is positioned at the front end of the joint body 118 and closes the upper opening 125 and the lower opening 126 . When a rearward external force greater than the elastic force of the spring 121 is applied to the plug member 120, the plug member 120 moves rearward and the upper opening 125 and the lower opening 126 are opened. When the ink cartridge 50 is attached, the joint receiving portion 52 of the ink cartridge 50 abuts against the plug member 120 . The external force applied when the ink cartridge 50 is attached causes the plug member 120 that contacts the joint receiving portion 52 to move rearward.

[インクカートリッジ50の装着状態]
図5、図7に示されるように、インクカートリッジ50がサブタンク100に装着された装着状態では、サブタンク100のジョイント本体118が、前後方向8に沿ってインクカートリッジ50のジョイント受部52内に挿入され、さらに連通口61内に挿入されている。この装着状態では、インクカートリッジ50の第1貯留室53に、サブタンク100の液体流路103の第2開口132及び気体流路104の第4開口142が進入している。図4、図5に示されるように、インクカートリッジ50は、前後方向8に沿ってサブタンク100に分離及び装着可能である。
[Installation state of ink cartridge 50]
As shown in FIGS. 5 and 7, when the ink cartridge 50 is attached to the sub-tank 100, the joint main body 118 of the sub-tank 100 is inserted into the joint receiving portion 52 of the ink cartridge 50 along the front-rear direction 8. and inserted into the communication port 61 . In this mounted state, the second opening 132 of the liquid channel 103 and the fourth opening 142 of the gas channel 104 of the sub-tank 100 enter the first storage chamber 53 of the ink cartridge 50 . As shown in FIGS. 4 and 5, the ink cartridge 50 can be separated and mounted in the sub-tank 100 along the front-rear direction 8 .

[インクカートリッジ50及びサブタンク100のレイアウト]
インクカートリッジ50及びサブタンク100のレイアウトが説明される。レイアウトは、インクカートリッジ50が装着ケース71に装着され、インクカートリッジ50及びサブタンク100が図5に示される使用姿勢であるとして説明がなされる。
[Layout of Ink Cartridge 50 and Sub Tank 100]
A layout of the ink cartridge 50 and the sub-tank 100 will be described. The layout will be described assuming that the ink cartridge 50 is mounted in the mounting case 71 and that the ink cartridge 50 and the sub-tank 100 are in the usage posture shown in FIG.

図5に示されるように、インクカートリッジ50の凸部65は、上下方向7において、ジョイント102と略同じ位置にあるが、インクカートリッジ50の凸部65より上方の部分は、ジョイント102よりも上方にある。そのため、インクカートリッジ50の第1貯留室53の大部分は、第2開口132よりも上方に位置している。また、サブタンク100の上部、すなわち屈曲上壁130付近から上方の部分は、ジョイント102と略同じ位置にあるが、サブタンク100の屈曲上壁130付近より下方の部分は、ジョイント102よりも下方にある。そのため、サブタンク100の第2貯留室105の大部分は、第3開口141ジョイント102よりも下方にある。 As shown in FIG. 5, the convex portion 65 of the ink cartridge 50 is at substantially the same position as the joint 102 in the vertical direction 7, but the portion above the convex portion 65 of the ink cartridge 50 is above the joint 102. It is in. Therefore, most of the first storage chamber 53 of the ink cartridge 50 is located above the second opening 132 . The upper portion of the sub-tank 100, that is, the portion above the bent upper wall 130 is at substantially the same position as the joint 102, but the portion below the bent upper wall 130 of the sub-tank 100 is below the joint 102. . Therefore, most of the second storage chamber 105 of the sub-tank 100 is below the third opening 141 joint 102 .

第1貯留室53の凸部65より上方の部分は、液体流路103の水平部分134及び気体流路104の水平部分144よりも上方に位置している。第2貯留室105は、液体流路103の水平部分134及び気体流路104の水平部分144よりも下方に位置している。第1貯留室53の下側部分と、第2貯留室105の上側部分とは、前後方向8の同軸上に並んでいる。第1貯留室53の容積は、第2貯留室105の容積よりも大きい。 A portion of the first storage chamber 53 above the projection 65 is located above the horizontal portion 134 of the liquid channel 103 and the horizontal portion 144 of the gas channel 104 . The second storage chamber 105 is located below the horizontal portion 134 of the liquid channel 103 and the horizontal portion 144 of the gas channel 104 . The lower portion of the first storage chamber 53 and the upper portion of the second storage chamber 105 are coaxially aligned in the front-rear direction 8 . The volume of the first storage chamber 53 is larger than the volume of the second storage chamber 105 .

気体流路104の水平部分144は、液体流路103の水平部分134よりも上方に位置している。 The horizontal portion 144 of the gas channel 104 is located above the horizontal portion 134 of the liquid channel 103 .

図7に示されるように、第1貯留室53の連通口61から後方に向けて、液体流路103の第1開口131、気体流路104の第3開口141、及び大気連通口106が順に位置している。第1貯留室53の連通口61の上下方向7の位置が、第1貯留室53と液体流路103とが連通する上下方向7の位置に相当し、その上下方向7の位置において連通口61から後方に向かう方向が、第1貯留室53から遠ざかる方向である。 As shown in FIG. 7, the first opening 131 of the liquid channel 103, the third opening 141 of the gas channel 104, and the air communication port 106 are arranged in order from the communication port 61 of the first storage chamber 53 toward the rear. positioned. The position in the vertical direction 7 of the communication port 61 of the first storage chamber 53 corresponds to the position in the vertical direction 7 where the first storage chamber 53 communicates with the liquid channel 103, and the communication port 61 is located at the position in the vertical direction 7. is the direction away from the first storage chamber 53 .

[大気連通部70]
図5、図11、図12に示されるように、大気連通部70は、バッファタンク90と、連通流路145と、大気連通路147と、を備えている。
[Atmosphere communication part 70]
As shown in FIGS. 5, 11, and 12, the atmosphere communication portion 70 includes a buffer tank 90, a communication channel 145, and an atmosphere communication channel 147. As shown in FIGS.

[バッファタンク90]
図5、図11に示されるように、バッファタンク90は、装着ケース71の下方且つサブタンク100の上方に位置している。
[Buffer tank 90]
As shown in FIGS. 5 and 11, the buffer tank 90 is positioned below the mounting case 71 and above the sub-tank 100 .

図5、図11に示されるように、バッファタンク90は、上壁91、下壁92、2つの側壁93、3つの仕切壁94、後壁95、及び突出壁96を備えている。上壁91は、水平面に対して傾斜した面に沿って拡がる壁である。下壁92は、後方から水平面と平行に延びながら、前方に向かうにつれて上方に屈曲する壁である。下壁92の前端部は上壁91の前端部に接続している。2つの側壁93は、上壁91及び下壁92の左右方向9の両端部をそれぞれ上下方向7に接続する壁である。3つの仕切壁94は、2つの側壁93と左右方向9に並列に配置された壁である。後壁95は、上壁91及び下壁92の後端部を接続する壁である。突出壁96は、上壁91の後端部から上方に延びる壁である。後壁95と突出壁96との間には、前後方向8に隙間が形成されている。 5 and 11, the buffer tank 90 comprises a top wall 91, a bottom wall 92, two side walls 93, three partition walls 94, a rear wall 95 and a projecting wall 96. As shown in FIGS. The upper wall 91 is a wall that extends along a plane that is inclined with respect to the horizontal plane. The lower wall 92 is a wall that extends parallel to the horizontal plane from the rear and bends upward toward the front. The front end of the lower wall 92 connects to the front end of the upper wall 91 . The two side walls 93 are walls that connect both ends of the upper wall 91 and the lower wall 92 in the left-right direction 9 in the up-down direction 7 . The three partition walls 94 are walls arranged in parallel with the two side walls 93 in the left-right direction 9 . The rear wall 95 is a wall that connects the rear ends of the upper wall 91 and the lower wall 92 . The projecting wall 96 is a wall extending upward from the rear end of the upper wall 91 . A gap is formed in the front-rear direction 8 between the rear wall 95 and the projecting wall 96 .

バッファタンク90の上壁91の上方には、装着ケース71の下壁73が位置している。バッファタンク90の上壁91は、装着ケース71の下壁73を支持している。したがって、バッファタンク90の上壁91は、装着ケース71に収納されたインクカートリッジ50を、装着ケース71の下壁73を介して支持可能である。 A lower wall 73 of the mounting case 71 is positioned above the upper wall 91 of the buffer tank 90 . A top wall 91 of the buffer tank 90 supports a bottom wall 73 of the mounting case 71 . Therefore, the upper wall 91 of the buffer tank 90 can support the ink cartridge 50 accommodated in the mounting case 71 via the lower wall 73 of the mounting case 71 .

[バッファ室97]
上壁91、下壁92、2つの側壁93、後壁95によって画定される内部空間は、3つの仕切壁94により4つのバッファ室97として区画されている。4つのバッファ室97は、それぞれ4つのサブタンク100に連通接続されている。4つのバッファ室97は、気液置換により第1貯留室53内のインクが第2貯留室105に供給されるに伴って第1貯留室53に送られる空気を、貯留可能な空間である。4つのバッファ室97は、記録部24よりも上方に位置している。
[Buffer room 97]
An internal space defined by an upper wall 91 , a lower wall 92 , two side walls 93 and a rear wall 95 is divided into four buffer chambers 97 by three partition walls 94 . The four buffer chambers 97 are connected to the four sub-tanks 100, respectively. The four buffer chambers 97 are spaces capable of storing air sent to the first storage chamber 53 as ink in the first storage chamber 53 is supplied to the second storage chamber 105 by air-liquid replacement. The four buffer chambers 97 are positioned above the recording section 24 .

図5に示されるように、第1貯留室53の下方にバッファ室97が位置し、バッファ室97の下方に第2貯留室105が位置している。凸部65内に形成された第1貯留室53の一部及びバッファ室97の一部は、前後方向8(水平方向の一例)の同軸上に並んでいる。さらに、凸部65の一部、ジョイント102の一部、及びバッファタンク90の一部が、前後方向8(水平方向の一例)の同軸上に並んでいる。また、第1貯留室53の一部及びバッファ室97の一部は、上下方向7の同軸上に並んでいる。 As shown in FIG. 5, the buffer chamber 97 is located below the first storage chamber 53 and the second storage chamber 105 is located below the buffer chamber 97 . A portion of the first storage chamber 53 and a portion of the buffer chamber 97 formed in the convex portion 65 are coaxially arranged in the front-rear direction 8 (an example of the horizontal direction). Further, a portion of the convex portion 65, a portion of the joint 102, and a portion of the buffer tank 90 are coaxially arranged in the front-rear direction 8 (an example of the horizontal direction). A portion of the first storage chamber 53 and a portion of the buffer chamber 97 are coaxially arranged in the vertical direction 7 .

[連通流路145]
図12(A)に示されるように、バッファタンク90の下壁92は、バッファ室97に連通する開口部98を有している。インク供給装置15は、タンク本体101の大気連通口106とバッファタンク90の開口部98とを接続する接続管99を備えている。接続管99は、円筒形状である。接続管99の内面によって、第2貯留室105とバッファ室97とを接続する連通流路145が形成されている。連通流路145は、上下方向7に延びている。
[Communication channel 145]
As shown in FIG. 12A, the lower wall 92 of the buffer tank 90 has an opening 98 communicating with the buffer chamber 97 . The ink supply device 15 has a connection pipe 99 that connects the atmosphere communication port 106 of the tank body 101 and the opening 98 of the buffer tank 90 . The connecting pipe 99 has a cylindrical shape. A communicating channel 145 that connects the second storage chamber 105 and the buffer chamber 97 is formed by the inner surface of the connecting pipe 99 . The communication channel 145 extends in the vertical direction 7 .

[大気連通路147]
図12(B)に示されるように、上壁91の後端部には、バッファ室97毎に開口部146が形成されている。上壁91は、突出壁96の後方に4つの開口部146を有している。上壁91の下面は、前後方向8(水平方向の一例)に沿って開口部98と反対(後方)に向かって上方に傾斜している。開口部146は、上壁91の下面が上下方向7の最も高い位置において、上壁91に開口している。ここで、後壁95の前面と突出壁96の後面とによって、上下方向7に延びる大気連通路147が形成されている。大気連通路147は、開口部146を介してバッファ室97から上方に延びており、複合機10の筐体14の外部に連通している。
[Atmospheric communication passage 147]
As shown in FIG. 12B, an opening 146 is formed in each buffer chamber 97 at the rear end of the upper wall 91 . The top wall 91 has four openings 146 behind the projecting wall 96 . The lower surface of the upper wall 91 is inclined upward along the front-rear direction 8 (an example of the horizontal direction) toward the opposite side (rearward) of the opening 98 . The opening 146 opens into the upper wall 91 at the highest position in the vertical direction 7 of the lower surface of the upper wall 91 . Here, the front surface of the rear wall 95 and the rear surface of the projecting wall 96 form an air communication passage 147 extending in the vertical direction 7 . The atmosphere communication path 147 extends upward from the buffer chamber 97 through the opening 146 and communicates with the outside of the housing 14 of the multifunction device 10 .

[本実施形態の動作]
まず、空のサブタンク100にインクカートリッジ50が初めて装着された初期導入時におけるインク及び空気の流れが説明される。
[Operation of this embodiment]
First, the flow of ink and air when the ink cartridge 50 is first installed in the empty sub-tank 100 will be described.

図6に示される初期導入前の状態(前状態)では、インクカートリッジ50はサブタンク100から分離されている。前状態では、インクカートリッジ50の連通口61は栓部材62によって閉鎖されており、第1貯留室53がインクカートリッジ50によって密閉されている。そのため、第1貯留室53に満たされたインクは、外部に漏れることはない。一方、前状態では、サブタンク100の上開口部125及び下開口部126(図7参照)は、栓部材120によって閉鎖されている。そのため、第2貯留室105に連通する液体流路103の第2開口132及び気体流路104の第2開口が、外部に対して閉じられている。第2貯留室105は、液体流路103及び気体流路104の他に外部に連通する部位として、大気連通口106(図7参照)及び連通口129(図7参照)を有している。大気連通口106は、バッファ室97を介して複合機10の外気と連通している。連通口129は、インクチューブ32を介して記録ヘッド39に連通しているが、記録ヘッド39の休止状態ではインクは連通口129から流出することはない。ここで、第2貯留室105には、インクが満たされておらず、第2貯留室105は空の状態である。 In the state before the initial introduction (pre-state) shown in FIG. 6, the ink cartridge 50 is separated from the sub-tank 100 . In the previous state, the communication port 61 of the ink cartridge 50 is closed by the plug member 62 and the first storage chamber 53 is sealed by the ink cartridge 50 . Therefore, the ink filled in the first storage chamber 53 will not leak to the outside. On the other hand, in the previous state, the upper opening 125 and the lower opening 126 (see FIG. 7) of the sub-tank 100 are closed by the plug member 120 . Therefore, the second opening 132 of the liquid channel 103 and the second opening of the gas channel 104 communicating with the second storage chamber 105 are closed to the outside. The second storage chamber 105 has an air communication port 106 (see FIG. 7) and a communication port 129 (see FIG. 7) as portions communicating with the outside in addition to the liquid channel 103 and the gas channel 104 . The atmosphere communication port 106 communicates with the outside air of the multifunction device 10 via the buffer chamber 97 . The communication port 129 communicates with the recording head 39 through the ink tube 32, but ink does not flow out from the communication port 129 when the recording head 39 is in a resting state. Here, the second storage chamber 105 is not filled with ink, and the second storage chamber 105 is empty.

図5、図7に示されるように、インクカートリッジ50がサブタンク100に装着されると、連通口61を閉鎖する栓部材62がバネ63の付勢力に逆らって前方に退避し、且つ、上開口部125及び下開口部126を閉鎖する栓部材120がバネ121の付勢力に逆らって後方に退避する。この結果、第1貯留室53が液体流路103及び気体流路104を介して第2貯留室105に連通する。そうすると、インクカートリッジ50の第1貯留室53内のインクが、液体流路103を介して自然落下して、サブタンク100の第2貯留室105内に導入される。大気連通口106が外気に開放されているため、第2貯留室105内に導入されたインクの量と同じ体積の空気が、大気連通口106及び気体流路104を介して第1貯留室53に導入される。このように、第1貯留室53内のインクが空気に置換されること(気液置換)により、第1貯留室53内のインクが第2貯留室105に供給される。 As shown in FIGS. 5 and 7, when the ink cartridge 50 is attached to the sub-tank 100, the plug member 62 closing the communication port 61 retracts forward against the urging force of the spring 63 and opens upward. The plug member 120 that closes the portion 125 and the lower opening 126 retreats backward against the biasing force of the spring 121 . As a result, the first storage chamber 53 communicates with the second storage chamber 105 via the liquid channel 103 and the gas channel 104 . Then, the ink in the first storage chamber 53 of the ink cartridge 50 naturally falls through the liquid flow path 103 and is introduced into the second storage chamber 105 of the sub-tank 100 . Since the atmosphere communication port 106 is open to the outside air, the same volume of air as the amount of ink introduced into the second storage chamber 105 flows through the atmosphere communication port 106 and the gas flow path 104 into the first storage chamber 53 . introduced into In this way, the ink in the first storage chamber 53 is supplied to the second storage chamber 105 by replacing the ink in the first storage chamber 53 with air (air-liquid replacement).

気液置換の進行により、第2貯留室105のインクの液面は上昇する。インクの液面が上昇して鉛直壁115の下端位置に到達すると、気体流路104の第3開口141が閉じられる。そうすると、気液置換ができなくなるので、第1貯留室53から第2貯留室105へのインクの供給が停止される。このようにして、初期導入時におけるインクの供給が行われる。 As the gas-liquid replacement progresses, the ink level in the second storage chamber 105 rises. When the ink level rises and reaches the lower end position of the vertical wall 115, the third opening 141 of the gas flow path 104 is closed. Then, gas-liquid replacement cannot be performed, so the supply of ink from the first storage chamber 53 to the second storage chamber 105 is stopped. In this way, ink is supplied at the time of initial introduction.

次に、インクカートリッジ50の装着状態においてプリンタ部11による記録動作が実行された場合のインク及び空気の流れが説明される。 Next, the flow of ink and air when the printing operation is performed by the printer section 11 with the ink cartridge 50 installed will be described.

記録動作の実行時に記録ヘッド39からインクが吐出されると、第2貯留室105内のインクが連通口129から記録ヘッド39へと吸引される。インクの減少に伴って第2貯留室105内のインクの液面が下降するので、閉じられていた気体流路104の第3開口141が開放される。気体流路104の第3開口141が開放されると、上述したように、気液置換が実行されて、第1貯留室53から第2貯留室105にインクが供給される。記録ヘッド39でのインクの消費を補うように、第1貯留室53から第2貯留室105にインクが供給され、第2貯留室105内のインクの液面の高さは、気体流路104の第3開口141の位置に保たれる。 When ink is ejected from the recording head 39 during a recording operation, the ink in the second storage chamber 105 is sucked into the recording head 39 through the communication port 129 . As the amount of ink decreases, the ink level in the second storage chamber 105 drops, so that the closed third opening 141 of the gas flow path 104 is opened. When the third opening 141 of the gas flow path 104 is opened, gas-liquid replacement is performed as described above, and ink is supplied from the first storage chamber 53 to the second storage chamber 105 . Ink is supplied from the first storage chamber 53 to the second storage chamber 105 so as to compensate for the consumption of ink in the recording head 39 , and the liquid level of the ink in the second storage chamber 105 is controlled by the gas flow path 104 . is maintained at the position of the third opening 141 of

第1貯留室53内のインクが空になった場合、空になったインクカートリッジ50を、インクに満たされた別のインクカートリッジ50に交換することにより、複合機10は継続的に記録動作を実行できる。 When the first storage chamber 53 runs out of ink, the empty ink cartridge 50 is replaced with another ink cartridge 50 filled with ink, so that the multi-function device 10 can continue the printing operation. can run.

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

ASIC235は、給送ローラ25、搬送ローラ34、排出ローラ36、及び記録ヘッド39を動作させるためのものである。コントローラ230は、ASIC235を通じて不図示のモータを駆動させることによって、給送ローラ25、搬送ローラ34、及び排出ローラ36を回転させる。また、コントローラ230は、ASIC235を通じて記録ヘッド39の駆動素子に駆動信号を出力することによって、記録ヘッド39にノズル40を通じてインクを吐出させる。ASIC235は、ノズル40を通じて吐出すべきインクの量に応じて、複数種類の駆動信号を出力可能である。 The ASIC 235 is for operating the feed roller 25 , the transport roller 34 , the discharge roller 36 and the recording head 39 . The controller 230 rotates the feed roller 25 , the transport roller 34 and the discharge roller 36 by driving a motor (not shown) through the ASIC 235 . Further, the controller 230 outputs drive signals to the drive elements of the recording head 39 through the ASIC 235 to cause the recording head 39 to eject ink through the nozzles 40 . The ASIC 235 can output multiple types of drive signals according to the amount of ink to be ejected through the nozzles 40 .

また、ASIC235には、ディスプレイ17と、操作パネル22と、通信インタフェース89(通信I/F89)が接続されている。通信インタフェース89は、通信ネットワーク等を通じて外部装置と通信可能なインタフェースである。通信インタフェース89の具体的な通信手段は特に限定されないが、例えば、Wi-Fi(登録商標)を採用することができる。通信インタフェース89は、USBケーブルを着脱可能なUSBインタフェースであってもよい。通信インタフェース89は、外部装置から受信した情報に応じた受信信号をコントローラ230に出力する。操作パネル22は、ユーザインタフェースの一例である。操作信号は、第1信号の一例である。受信信号は、第1信号の一例である。 The ASIC 235 is also connected to the display 17, the operation panel 22, and the communication interface 89 (communication I/F 89). A communication interface 89 is an interface capable of communicating with an external device through a communication network or the like. A specific communication means of the communication interface 89 is not particularly limited, but Wi-Fi (registered trademark), for example, can be adopted. The communication interface 89 may be a USB interface with a detachable USB cable. The communication interface 89 outputs a received signal to the controller 230 according to the information received from the external device. The operation panel 22 is an example of a user interface. The operation signal is an example of the first signal. The received signal is an example of the first signal.

さらに、ASIC235には、接点152と、トレイセンサ29と、カバーセンサ88と、装着センサ154と、液面センサ155とが電気的に接続されている。コントローラ230は、装着ケース71に装着されたインクカートリッジ50のICチップ66のメモリに、接点152を通じてアクセスする。コントローラ230は、給送トレイ20の着脱をトレイセンサ29を通じて検出する。コントローラ230は、カバー87の位置をカバーセンサ88を通じて検出する。また、コントローラ230は、インクカートリッジ50の挿抜を装着センサ154を通じて検出する。さらに、コントローラ230は、第2貯留室105内のインクの液面が所定位置B以上か否かを液面センサ155を通じて検出する。 Furthermore, the contact 152 , the tray sensor 29 , the cover sensor 88 , the mounting sensor 154 and the liquid level sensor 155 are electrically connected to the ASIC 235 . The controller 230 accesses the memory of the IC chip 66 of the ink cartridge 50 mounted in the mounting case 71 through the contact 152 . The controller 230 detects attachment/detachment of the feed tray 20 through the tray sensor 29 . Controller 230 detects the position of cover 87 through cover sensor 88 . Also, the controller 230 detects insertion/removal of the ink cartridge 50 through the mounting sensor 154 . Further, the controller 230 detects through the liquid level sensor 155 whether or not the liquid level of the ink in the second storage chamber 105 is equal to or higher than the predetermined position B. FIG.

ROM232には、後述するカートリッジ装着処理及び残量更新処理においてコントローラ230が実行する判定に用いられる閾値時間Th1、Th2が記憶されている。閾値時間Th1は、第1所定時間の一例である。閾値時間Th2は、第2所定時間の一例である。 The ROM 232 stores threshold times Th1 and Th2 used in determinations executed by the controller 230 in the cartridge mounting process and remaining amount update process, which will be described later. The threshold time Th1 is an example of a first predetermined time. The threshold time Th2 is an example of a second predetermined time.

EEPROM234は、装着ケース71に装着される4つのインクカートリッジ50それぞれに対応付けて、換言すれば、インクカートリッジ50と連通されるサブタンク100それぞれに対応付けて、各種情報を記憶している。各種情報とは、例えば、液体量の一例であるインク量Vc、Vsと、最大インク量Vc0と、高さHc、Hsと、流路抵抗Rnと、関数Fc、Fsと、C_Emptyフラグと、S_Emptyフラグと、第1初回フラグと、第2初回フラグと、カウント値Nとを含む。 The EEPROM 234 stores various information associated with each of the four ink cartridges 50 mounted in the mounting case 71 , in other words, with each of the sub-tanks 100 communicating with the ink cartridges 50 . The various information includes, for example, ink amounts Vc and Vs, which are examples of liquid amounts, maximum ink amount Vc0, heights Hc and Hs, flow path resistance Rn, functions Fc and Fs, a C_Empty flag, and S_Empty A flag, a first first-time flag, a second first-time flag, and a count value N are included.

なお、最大インク量Vc0、インク量Vc、高さHc、及び関数Fcは、インクカートリッジ50が装着ケース71に装着された状態で、接点152を通じてICチップ66のメモリからコントローラ230によって読み出される情報である。また、流路抵抗Rn及び関数Fsは、EEPROM234に代えて、ROM232に記憶されていてもよい。 The maximum ink amount Vc0, the ink amount Vc, the height Hc, and the function Fc are information read from the memory of the IC chip 66 through the contact 152 by the controller 230 while the ink cartridge 50 is mounted in the mounting case 71. be. Also, the flow path resistance Rn and the function Fs may be stored in the ROM 232 instead of the EEPROM 234 .

インク量Vcは、インクカートリッジ50の第1貯留室53に貯留されているインクの量を示す。インク量Vsは、サブタンク100の第2貯留室105に貯留されているインクの量を示す。インク量Vc、Vsは、例えば、後述する式3、4によって算出される。 The ink amount Vc indicates the amount of ink stored in the first storage chamber 53 of the ink cartridge 50 . The ink amount Vs indicates the amount of ink stored in the second storage chamber 105 of the sub-tank 100 . The ink amounts Vc and Vs are calculated by Equations 3 and 4, which will be described later, for example.

高さHcは、インクカートリッジ50に貯留されているインクの液面と基準位置との上下方向7の高さを示す。高さHsは、サブタンク100に貯留されているインクの液面と貯留室105の底面との上下方向7の高さを示す。一例として、基準位置は、気体流路104の第3開口141を通り水平方向(より詳細には、前後方向8)に沿って延びる仮想線Lの位置でもよい。高さHc、Hsは、例えば、式5、6によって算出される。 The height Hc indicates the height in the vertical direction 7 between the liquid surface of the ink stored in the ink cartridge 50 and the reference position. The height Hs indicates the height in the vertical direction 7 between the liquid surface of the ink stored in the sub-tank 100 and the bottom surface of the storage chamber 105 . As an example, the reference position may be the position of an imaginary line L passing through the third opening 141 of the gas flow path 104 and extending in the horizontal direction (more specifically, the front-rear direction 8). The heights Hc and Hs are calculated by Equations 5 and 6, for example.

流路抵抗Rnは、液体流路103の内部空間を通過するインクが受ける抵抗の大きさを示す。 The channel resistance Rn indicates the magnitude of resistance that ink passing through the internal space of the liquid channel 103 receives.

関数Fcは、インク量Vc及び高さHcの対応関係を示す。インクカートリッジ50の第1貯留室53の水平断面積Dcが上下方向7において変化する場合、関数Fcは、インク量Vc及び高さHcを変数として、インクカートリッジ50の設計時に予め決定される。一方、上下方向7における水平断面積Dcが一定の場合、関数Fc=Vc/Dcとなる。なお、関数Fcに代えて、対応するインク量Vc及び高さHcの複数のセットを含むテーブルが用いられてもよい。 A function Fc indicates the correspondence relationship between the ink amount Vc and the height Hc. When the horizontal cross-sectional area Dc of the first storage chamber 53 of the ink cartridge 50 changes in the vertical direction 7, the function Fc is determined in advance when the ink cartridge 50 is designed using the ink amount Vc and the height Hc as variables. On the other hand, when the horizontal cross-sectional area Dc in the vertical direction 7 is constant, the function Fc=Vc/Dc. A table containing a plurality of sets of corresponding ink amounts Vc and heights Hc may be used instead of the function Fc.

関数Fsは、インク量Vs及び高さHsの対応関係を示す。サブタンク100の第2貯留室105の水平断面積Dsが上下方向7において変化する場合、関数Fsは、インク量Vs及び高さHsを変数として、サブタンク100の設計時に予め決定される。一方、上下方向7における水平断面積Dsが一定の場合、関数Fs=Vs/Dsとなる。なお、関数Fsに代えて、対応するインク量Vs及び高さHsの複数のセットを含むテーブルが用いられてもよい。 A function Fs indicates the correspondence relationship between the ink amount Vs and the height Hs. When the horizontal cross-sectional area Ds of the second storage chamber 105 of the sub-tank 100 changes in the vertical direction 7, the function Fs is determined in advance when the sub-tank 100 is designed using the ink amount Vs and the height Hs as variables. On the other hand, when the horizontal cross-sectional area Ds in the vertical direction 7 is constant, the function Fs=Vs/Ds. A table containing a plurality of sets of corresponding ink amounts Vs and heights Hs may be used instead of the function Fs.

インクカートリッジ50の第1貯留室53内にサブタンク100へ流出可能なインクがあるとき、サブタンク100の第2貯留室105内のインクの液面は、気体流路104の第3開口141を含む仮想線Lの位置となる。この状態が平衡状態と称される。つまり、平衡状態では、第1貯留室53と第2貯留室105との間でのインクの移動が停止する。平衡状態におけるインク量Vsは、第2貯留室105の仮想線Lから下方の容積Vthである。 When there is ink in the first storage chamber 53 of the ink cartridge 50 that can flow out to the sub-tank 100 , the liquid level of the ink in the second storage chamber 105 of the sub-tank 100 is an imaginary It becomes the position of the line L. This state is called the equilibrium state. That is, in the equilibrium state, movement of ink between the first storage chamber 53 and the second storage chamber 105 stops. The ink amount Vs in the equilibrium state is the volume Vth of the second storage chamber 105 below the imaginary line L.

カウント値Nは、液面センサ155から出力される信号がローレベル信号からハイレベル信号に変化した後に、記録ヘッド39に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値で、閾値Nthに近づく向きに更新される値である。カウント値Nは、初期値を“0”としてカウントアップされる値である。また、閾値Nthは、連通口129の上端と所定位置Bとの間の第2貯留室105の容積Vthに相当する。但し、カウント値Nは、容積Vthに相当する値を初期値として、カウントダウンされる値でもよい。この場合の閾値Nthは、0となる。 The count value N is the ink discharge amount Dh instructed to discharge to the recording head 39 after the signal output from the liquid level sensor 155 changes from the low level signal to the high level signal (that is, the ink amount indicated by the drive signal). , and is updated in the direction of approaching the threshold value Nth . The count value N is a value that is counted up with an initial value of "0". Also, the threshold value N th corresponds to the volume V th of the second storage chamber 105 between the upper end of the communication port 129 and the predetermined position B. However, the count value N may be a value counted down from a value corresponding to the volume Vth as an initial value. The threshold Nth in this case is zero.

カウント値TNは、装着センサ154から出力される信号がハイレベル信号からローレベル信号に変化した後に、記録ヘッド39に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値であり、初期値を“0”としてカウントアップされる値である。 The count value TN corresponds to the ink discharge amount Dh (that is, the ink amount indicated by the drive signal) instructing the recording head 39 to discharge after the signal output from the mounting sensor 154 changes from a high level signal to a low level signal. This is a corresponding value, which is counted up with an initial value of "0".

インクカートリッジ50の第1貯留室53内にサブタンク100へ流出可能なインクがあるとき、サブタンク100の第2貯留室105内のインクの液面は、気体流路104の第3開口141を含む仮想線Lの位置となる。この状態が平衡状態と称される。つまり、平衡状態では、第1貯留室53と第2貯留室105との間でのインクの移動が停止する。平衡状態におけるインク量Vsは、第2貯留室105の仮想線Lから下方の容積Vthである。 When there is ink in the first storage chamber 53 of the ink cartridge 50 that can flow out to the sub-tank 100 , the liquid level of the ink in the second storage chamber 105 of the sub-tank 100 is an imaginary It becomes the position of the line L. This state is called the equilibrium state. That is, in the equilibrium state, movement of ink between the first storage chamber 53 and the second storage chamber 105 stops. The ink amount Vs in the equilibrium state is the volume Vth of the second storage chamber 105 below the imaginary line L.

C_Emptyフラグは、インクカートリッジ50がカートリッジエンプティ状態か否かを示す情報である。C_Emptyフラグには、カートリッジエンプティ状態であることに対応する値“ON”、或いはカートリッジエンプティ状態でないことに対応する値“OFF”が設定される。カートリッジエンプティ状態とは、インクカートリッジ50(より詳細には、第1貯留室53)にインクが実質的に貯留されていない状態である。換言すれば、カートリッジエンプティ状態とは、連通されたインクカートリッジ50からサブタンク100にインクが移動しない状態である。さらに換言すれば、カートリッジエンプティ状態とは、当該インクカートリッジ50に連通されたサブタンク100の液面が所定位置B未満の状態である。 The C_Empty flag is information indicating whether the ink cartridge 50 is in a cartridge empty state. The C_Empty flag is set to the value "ON" corresponding to the cartridge empty state or the value "OFF" corresponding to the non-cartridge empty state. The cartridge empty state is a state in which substantially no ink is stored in the ink cartridge 50 (more specifically, the first storage chamber 53). In other words, the cartridge empty state is a state in which ink does not move from the connected ink cartridge 50 to the sub-tank 100 . In other words, the cartridge empty state is a state in which the liquid surface of the sub-tank 100 communicating with the ink cartridge 50 is below the predetermined position B.

S_Emptyフラグは、サブタンク100がインクエンプティ状態か否かを示す情報である。S_Emptyフラグには、インクエンプティ状態であることに対応する値“ON”、或いはインクエンプティ状態でないことに対応する値“OFF”が設定される。インクエンプティ状態とは、例えば、サブタンク100(より詳細には、第2貯留室105)に貯留されたインクの液面が連通口129の上端の位置に達した状態である。換言すれば、インクエンプティ状態とは、カウント値Nが閾値Nth以上の状態である。インクエンプティ状態になった後に記録ヘッド39によるインクの吐出を継続すると、ノズル40内がインクで満たされず、空気が混入してしまう(所謂、エアイン)可能性がある。すなわち、インクエンプティ状態は、記録ヘッド39を通じたインクの排出を禁止しなければならない状態である。 The S_Empty flag is information indicating whether the sub-tank 100 is in an ink-empty state. The S_Empty flag is set to the value "ON" corresponding to the ink empty state or the value "OFF" corresponding to the non-ink empty state. The ink empty state is, for example, a state in which the liquid surface of the ink stored in the sub-tank 100 (more specifically, the second storage chamber 105) reaches the upper end of the communication port 129. In other words, the ink-empty state is a state in which the count value N is equal to or greater than the threshold value Nth . If the recording head 39 continues to eject ink after the ink is empty, the nozzles 40 may not be filled with ink and air may enter (so-called air-in). That is, the ink-empty state is a state in which discharge of ink through the recording head 39 must be prohibited.

第1初回フラグは、コントローラ230が、カートリッジ装着処理にて算出期間の決定に用いられる情報である。第1初回フラグには、カートリッジ装着処理における算出期間の決定が1回目であることに対応する値“ON”、或いは2回目以降であることに対応する値“OFF”が設定される。第2初回フラグは、コントローラ230が、残量更新処理にて算出期間の決定に用いられる情報である。第2初回フラグには、残量更新処理算出期間の決定が1回目であることに対応する値“ON”、或いは2回目以降であることに対応する値“OFF”が設定される。 The first initial flag is information used by the controller 230 to determine the calculation period in the cartridge mounting process. The first initial flag is set with a value "ON" corresponding to the first determination of the calculation period in the cartridge mounting process, or a value "OFF" corresponding to the second or later determination. The second initial flag is information used by the controller 230 to determine the calculation period in the remaining amount update process. The second initial flag is set with a value "ON" corresponding to the first determination of the remaining amount update processing calculation period, or a value "OFF" corresponding to the second or later determination.

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

[カートリッジ装着処理]
コントローラ230は、カバーセンサ88からハイレベル信号を受信したことに応じて、図14に示されるカートリッジ装着処理を実行する。カートリッジ装着処理は、コントローラ230が、カバー87が開かれたことに応じて、インクカートリッジ50の装着を待機し、さらにコントローラ230が、EEPROM234に記憶されたインク量Vc、Vs及び高さHc、Hsを更新する処理である。なお、コントローラ230は、4つのインクカートリッジ50のそれぞれに対して、カートリッジ装着処理を独立して実行する。インクカートリッジ50毎のカートリッジ装着処理は共通するので、1つのインクカートリッジ50に対応するカートリッジ装着処理のみを説明する。また、以下の説明では、図18(A)に示されるように、サブタンク100内にインクが貯留されていない状態の装着ケース71に、新品(すなわち、最大インク量Vc0のインクが貯留された)インクカートリッジ50が装着された場合を前提とする。
[Cartridge loading process]
Controller 230 executes the cartridge mounting process shown in FIG. 14 in response to receiving a high level signal from cover sensor 88 . In the cartridge mounting process, the controller 230 waits for the mounting of the ink cartridge 50 in response to the opening of the cover 87, and the controller 230 reads the ink amounts Vc, Vs and heights Hc, Hs stored in the EEPROM 234. This is the process of updating the Note that the controller 230 independently executes the cartridge mounting process for each of the four ink cartridges 50 . Since the cartridge mounting process for each ink cartridge 50 is common, only the cartridge mounting process corresponding to one ink cartridge 50 will be described. Further, in the following description, as shown in FIG. 18A, the mounting case 71 in which no ink is stored in the sub-tank 100 is new (that is, the maximum ink amount Vc0 is stored). It is assumed that the ink cartridge 50 is attached.

まず、コントローラ230は、装着センサ154が出力する信号を受信する(S11)。次に、コントローラ230は、装着センサ154から受信した信号がハイレベル信号及びローレベル信号のどちらであるかを判定する(S12)。そして、コントローラ230は、装着センサ154が出力する信号が、ローレベル信号からハイレベル信号に変化し、再びハイレベル信号からローレベル信号に変化するまで(S12:No)、所定の時間間隔でS11、S12の処理を繰り返し実行する。換言すれば、コントローラ230は、インクカートリッジ50が装着ケース71から抜き出され、新たにインクカートリッジ50が装着ケース71に装着されるまで、S11、S12の処理を繰り返し実行する。 First, the controller 230 receives a signal output by the mounting sensor 154 (S11). Controller 230 then determines whether the signal received from mounting sensor 154 is a high level signal or a low level signal (S12). Then, the controller 230 controls S11 at predetermined time intervals until the signal output from the mounting sensor 154 changes from a low level signal to a high level signal and again changes from a high level signal to a low level signal (S12: No). , S12 are repeatedly executed. In other words, the controller 230 repeats the processes of S11 and S12 until the ink cartridge 50 is removed from the mounting case 71 and a new ink cartridge 50 is mounted in the mounting case 71 .

そして、コントローラ230は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことに応じて(S12:Yes)、S13以降の処理を実行する。まず、コントローラ230は、接点152を通じてICチップ66のメモリからCTG情報を読み出し、読み出したCTG情報をEEPROM234に記憶させる(S13)。詳しくは、コントローラ230は、接点152を通じてICチップ66のメモリから、最大インク量Vc0、粘度ρ、インク量Vc、高さHc、及び関数Fcを読み出して、EEPROM234に記憶させる(S13)。また、コントローラ230は、C_Emptyフラグに初期値“OFF”を設定し、S_Emptyフラグに初期値“OFF”を設定し、カウント値Nに初期値“0”を設定する(S14)。 Then, the controller 230 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 (S12: Yes), the process after S13 is executed. First, the controller 230 reads the CTG information from the memory of the IC chip 66 through the contact 152, and stores the read CTG information in the EEPROM 234 (S13). Specifically, the controller 230 reads the maximum ink amount Vc0, the viscosity ρ, the ink amount Vc, the height Hc, and the function Fc from the memory of the IC chip 66 through the contact 152, and stores them in the EEPROM 234 (S13). The controller 230 also sets the C_Empty flag to the initial value "OFF", sets the S_Empty flag to the initial value "OFF", and sets the count value N to the initial value "0" (S14).

続いて、コントローラ230は、現在の時刻を経過時間T1の開始時刻としてRAM233に記憶させて、経過時間T1の計測を開始する(S15)。 Subsequently, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T1, and starts measuring the elapsed time T1 (S15).

次に、コントローラ230は、第1初回フラグの設定値に“ON”を設定する(S16)。 Next, the controller 230 sets the set value of the first initial flag to "ON" (S16).

次に、コントローラ230は、EEPROM234に記憶されている現在のインク量Vsを交換後インク量Vs1としてEEPROM234に記憶させ、インクカートリッジ50のICチップ66のメモリに記憶されているインク量Vcを、交換後インク量Vc1としてEEPROM234に記憶させる(S17)。 Next, the controller 230 causes the EEPROM 234 to store the current ink amount Vs stored in the EEPROM 234 as the post-replacement ink amount Vs1, and stores the ink amount Vc stored in the memory of the IC chip 66 of the ink cartridge 50 after replacement. It is stored in the EEPROM 234 as the post ink amount Vc1 (S17).

続いて、コントローラ230は、コントローラ230が信号を受信したか否か、及び、特定動作を開始するか否かを判定する(S18)。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、操作パネル22から操作信号を受信したか否かを判定する。コントローラ230は、通信インタフェース89から受信信号を受信したか否かを判定する。コントローラ230は、パージ処理を開始するか否かを判定する。コントローラ230は、スリープ状態への移行を開始するか否かを判定する。 Subsequently, the controller 230 determines whether or not the controller 230 has received the signal and whether or not to start the specific operation (S18). Specifically, controller 230 determines whether a high level signal or a low level signal is received from cover sensor 88 . Controller 230 determines whether it receives a high level signal or a low level signal from mounting sensor 154 . Controller 230 determines whether it has received a high level signal or a low level signal from tray sensor 29 . Controller 230 determines whether or not an operation signal has been received from operation panel 22 . Controller 230 determines whether or not a reception signal has been received from communication interface 89 . Controller 230 determines whether to start the purge process. The controller 230 determines whether or not to initiate transition to the sleep state.

コントローラ230は、上記のいずれかの信号を受信したと判定したこと、又は、パージ処理を開始すると判定したこと、又は、スリープ状態への移行を開始すると判定したことに応じて(S18:Yes)、S19以降の処理を実行する。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S18:Yes)、S19以降の処理を実行する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S18:Yes)、S19以降の処理を実行する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S18:Yes)、S19以降の処理を実行する。コントローラ230は、操作パネル22から操作信号を受信したと判定したことに応じて(S18:Yes)、S19以降の処理を実行する。コントローラ230は、通信インタフェース89から受信信号を受信したと判定したことに応じて(S18:Yes)、S19以降の処理を実行する。コントローラ230は、パージ処理を開始すると判定したことに応じて(S18:Yes)、S19以降の処理を実行する。コントローラ230は、スリープ状態への移行を開始すると判定したことに応じて(S18:Yes)、S19以降の処理を実行する。 The controller 230 determines that it has received one of the above signals, or determines that it starts the purge process, or determines that it starts transitioning to the sleep state (S18: Yes). , the processing from S19 onwards is executed. Specifically, when the controller 230 determines that it has received a high level signal or a low level signal from the cover sensor 88 (S18: Yes), it executes the processes from S19 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the mounting sensor 154 (S18: Yes), it executes the processes from S19 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the tray sensor 29 (S18: Yes), it executes the processing from S19 onwards. When the controller 230 determines that it has received the operation signal from the operation panel 22 (S18: Yes), it executes the processing from S19 onwards. When the controller 230 determines that it has received the reception signal from the communication interface 89 (S18: Yes), it executes the processes from S19 onward. When the controller 230 determines to start the purge process (S18: Yes), the controller 230 executes the process from S19 onwards. When the controller 230 determines to start transitioning to the sleep state (S18: Yes), the controller 230 executes the processes after S19.

コントローラ230は、第1初回フラグの設定値について判定する(S19)。コントローラ230は、第1初回フラグの設定値が“ON”であると判定したことに応じて(S19:ON)、S15でRAM233に記憶させた経過時間T1の開始時刻と現在の時刻とから、経過時間T1を算出し、算出した経過時間T1を算出期間Δtとして決定し、RAM233に記憶させる(S20)。ここで、経過時間T1は、S12にてYesと判定されてから、S18にて初めてYesと判定されるまでの時間である。決定された算出期間Δtは、第1期間Δt1の一例である。 The controller 230 determines the set value of the first initial flag (S19). In response to determining that the setting value of the first initial flag is "ON" (S19: ON), the controller 230, based on the start time of the elapsed time T1 stored in the RAM 233 in S15 and the current time, The elapsed time T1 is calculated, the calculated elapsed time T1 is determined as the calculation period Δt, and stored in the RAM 233 (S20). Here, the elapsed time T1 is the time from the determination of YES in S12 to the determination of YES in S18 for the first time. The determined calculation period Δt is an example of the first period Δt1.

コントローラ230は、第1初回フラグの設定値が“OFF”であると判定したことに応じて(S19:OFF)、後述するS27でRAM233に記憶させる経過時間T2の開始時刻と現在の時刻とから、経過時間T2を算出し、算出した経過時間T2を算出期間Δtとして決定し、RAM233に記憶させる(S21)。ここで、経過時間T2は、S18にてYesと判定されてから、次にS18でYesと判定されるまでの時間である。決定された算出期間Δtは、第2期間Δt2の一例である。 When the controller 230 determines that the set value of the first initial flag is "OFF" (S19: OFF), the controller 230 calculates the elapsed time T2 from the current time and the start time of the elapsed time T2 stored in the RAM 233 in S27 described later. , the elapsed time T2 is calculated, the calculated elapsed time T2 is determined as the calculation period Δt, and stored in the RAM 233 (S21). Here, the elapsed time T2 is the time from the determination of YES in S18 to the determination of YES in S18. The determined calculation period Δt is an example of the second period Δt2.

また、コントローラ230は、S20及びS21にて、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tkとして決定し、RAM233に記憶させる(S20,S21)。時刻tk-1は、経過時間T1の開始時刻又は経過時間T2の開始時刻である。時刻tkは、現在の時刻、すなわちS19の処理を実行した時刻である。 Further, in S20 and S21, the controller 230 determines the start time of the calculation period Δt as time t k−1 and the end time as time tk, and stores them in the RAM 233 (S20, S21). The time t k−1 is the start time of the elapsed time T1 or the start time of the elapsed time T2. Time tk is the current time, that is, the time when the process of S19 was executed.

続いて、コントローラ230は、流出量Qa、Qc、インク量Vc、Vs、及び高さHc、Hsを、下記の式1~式6を用いて算出する(S22、S23)。 Subsequently, the controller 230 calculates the outflow amounts Qa, Qc, the ink amounts Vc, Vs, and the heights Hc, Hs using the following formulas 1 to 6 (S22, S23).

まず、流出量Qaは、連通口129を通じて第2貯留室105から算出期間Δtの間に流出するインクの量を示す。コントローラ230は、式1を用いて、流出量Qaを算出する(S22)。算出期間Δtの間にシートへの画像の記録(S46)やパージ処理等、記録ヘッド39を通じたインクの排出が行われていない場合には、Qa=0となる。 First, the outflow amount Qa indicates the amount of ink that flows out from the second storage chamber 105 through the communication port 129 during the calculation period Δt. The controller 230 calculates the outflow amount Qa using Equation 1 (S22). Qa=0 when ink is not discharged through the recording head 39 during the calculation period Δt, such as recording of an image on the sheet (S46) or purge processing.

Figure 0007131270000001
Figure 0007131270000001

次に、流出量Qcは、液体流路103を通じて、算出期間Δtの間に第1貯留室53から第2貯留室105に流出するインクの量を示す。コントローラ230は、EEPROM234に記憶された高さHcを、時刻tk-1における高さHc’として読み出す。また、コントローラ230は、粘度ρ、流路抵抗RnをEEPROM234から読み出す。そして、コントローラ230は、EEPROM234から読み出した情報と、重力加速度gと、を式2に代入して、流出量Qcを算出する(S22)。 Next, the outflow amount Qc indicates the amount of ink that flows out from the first storage chamber 53 to the second storage chamber 105 through the liquid flow path 103 during the calculation period Δt. The controller 230 reads the height Hc stored in the EEPROM 234 as the height Hc' at time tk -1 . Also, the controller 230 reads the viscosity ρ and the flow path resistance Rn from the EEPROM 234 . Then, the controller 230 substitutes the information read from the EEPROM 234 and the gravitational acceleration g into Equation 2 to calculate the outflow amount Qc (S22).

Figure 0007131270000002
Figure 0007131270000002

流出量Qcは、式2で示されるように、高さHc’が大きいほど大きくなり、高さHc’が小さいほど小さくなる。また、流出量Qcは、インクが液体流路103の内部空間の流路抵抗Rnが大きいほど小さくなり、流路抵抗Rnが小さいほど大きくなる。 As shown in Equation 2, the outflow Qc increases as the height Hc' increases, and decreases as the height Hc' decreases. In addition, the outflow amount Qc decreases as the flow path resistance Rn of the internal space of the liquid flow path 103 increases, and increases as the flow path resistance Rn decreases.

また、第1貯留室53から第2貯留室105にインクが移動すると、移動したインクと同じ体積の気体が、第2貯留室105から気体流路104を通じて第1貯留室53に流入する。 Also, when the ink moves from the first storage chamber 53 to the second storage chamber 105 , the same volume of gas as the moved ink flows from the second storage chamber 105 into the first storage chamber 53 through the gas flow path 104 .

次に、コントローラ230は、EEPROM234に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S23)。すなわち、コントローラ230は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 230 reads the ink amount Vc stored in the EEPROM 234 as the ink amount Vc' at time tk -1 . Then, the controller 230 substitutes the ink amount Vc' read from the EEPROM 234 and the outflow amount Qc calculated immediately before into Equation 3 to calculate the ink amount Vc at time tk (S23). That is, the controller 230 subtracts the outflow amount Qc of the ink flowing out from the first storage chamber 53 to the second storage chamber 105 during the calculation period Δt from the ink amount Vc′ at the time tk −1 , , the ink amount Vc is calculated.

Figure 0007131270000003
Figure 0007131270000003

またS23において、コントローラ230は、EEPROM234に記憶されたインク量Vsを、時刻tk-1におけるインク量Vs’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に代入して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ230は、時刻tk-1におけるインク量Vs’に、算出期間Δtの間にサブタンク100から流出したインクの流出量Qaを減じ、且つ算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S23, the controller 230 reads the ink amount Vs stored in the EEPROM 234 as the ink amount Vs' at time tk -1 . Then, the controller 230 substitutes the ink amount Vs′ read from the EEPROM 234 and the outflow amounts Qa and Qc calculated immediately before into Equation 4 to calculate the ink amount Vs at time tk . That is, the controller 230 subtracts the outflow amount Qa of the ink flowing out of the sub-tank 100 during the calculation period Δt from the ink amount Vs′ at the time tk −1 , and The ink amount Vs at time tk is calculated by adding the outflow amount Qc of the ink that has flowed out to the second storage chamber 105 .

Figure 0007131270000004
Figure 0007131270000004

またS23において、コントローラ230は、EEPROM234に記憶された関数Fcを読み出す。そして、コントローラ230は、式5で示されるように、式3で算出したインク量Vcを関数Fcに代入して、時刻tにおける高さHcを特定する。さらにS23において、コントローラ230は、式4で算出したインク量Vsと容積Vthとを比較する。そして、コントローラ230は、式4で算出したインク量Vsが容積Vth以下(すなわち、第2貯留室105の液面が仮想線L以下)だと判定したことに応じて、EEPROM234から関数Fsを読み出す。そして、コントローラ230は、式6で示されるように、式4で算出したインク量Vsを関数Fsに代入して、時刻tにおける高さHsを特定する(S23)。 Also, in S23, the controller 230 reads the function Fc stored in the EEPROM 234. FIG. Then, the controller 230 assigns the ink amount Vc calculated by Equation 3 to the function Fc, as shown by Equation 5, to specify the height Hc at time tk. Furthermore, in S23, the controller 230 compares the ink amount Vs calculated by Equation 4 with the volume Vth . Then, the controller 230 outputs the function Fs from the EEPROM 234 in response to determining that the ink amount Vs calculated by Equation 4 is equal to or less than the volume Vth (that is, the liquid level of the second storage chamber 105 is equal to or less than the virtual line L). read out. Then, the controller 230 assigns the ink amount Vs calculated by Equation 4 to the function Fs as shown by Equation 6 to specify the height Hs at time tk (S23).

Figure 0007131270000005
Figure 0007131270000005

Figure 0007131270000006
Figure 0007131270000006

次に、コントローラ230は、S23で算出したインク量Vc、Vs及び高さHc、HsをEEPROM234に記憶させる(S24)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vs及び高さHc、Hsを、直前のS23で算出したインク量Vc、Vs及び高さHc、Hsで上書きする。 Next, the controller 230 stores the ink amounts Vc, Vs and the heights Hc, Hs calculated in S23 in the EEPROM 234 (S24). More specifically, the controller 230 overwrites the ink amounts Vc, Vs and heights Hc, Hs stored in the EEPROM 234 with the ink amounts Vc, Vs and heights Hc, Hs calculated in S23 immediately before.

また、コントローラ230は、S23で算出したインク量Vc及び高さHcを、接点152を通じてICチップ66のメモリに記憶させる(S25)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vc及び高さHcを、直前のS23で算出したインク量Vc及び高さHcで上書きする。 Also, the controller 230 stores the ink amount Vc and the height Hc calculated in S23 in the memory of the IC chip 66 through the contact 152 (S25). More specifically, the controller 230 overwrites the ink amount Vc and height Hc stored in the second area of the memory of the IC chip 66 with the ink amount Vc and height Hc calculated in S23 immediately before.

そして、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S26)。インク残量画面は、算出したインク量Vc及びインク量Vsの双方をユーザに報知するための画面である。図20に、インク残量画面の例を示す。図示例のインク残量画面は、マゼンタ、シアン、イエロー、及びブラックの各インクカートリッジ50のインク量Vcを示すオブジェクト274M、274C、274Y、274Bを有する。これらオブジェクトの縦方向271の大きさが、各色のインク量Vcを示している。インク残量画面は、マゼンタ、シアン、イエロー、及びブラックの各サブタンク100のインク残量Vsを示すオブジェクト275M、275C、275Y、275Bを有する。これらオブジェクトの縦方向271の大きさが、各色のインク量Vsを示している。オブジェクト274Mの縦方向271の大きさと、オブジェクト275Mの縦方向271の大きさの和が、マゼンタのインク残量VcとVsとの和、すなわちマゼンタのインクの総量Vtを示している。シアン、イエロー、及びブラックについても同様である。 Then, the controller 230 causes the display 17 to display the ink remaining amount screen (S26). The ink remaining amount screen is a screen for notifying the user of both the calculated ink amount Vc and ink amount Vs. FIG. 20 shows an example of the remaining ink screen. The remaining ink amount screen in the illustrated example has objects 274M, 274C, 274Y, and 274B that indicate the ink amounts Vc of the respective ink cartridges 50 of magenta, cyan, yellow, and black. The size of these objects in the vertical direction 271 indicates the ink amount Vc of each color. The remaining ink screen has objects 275M, 275C, 275Y, and 275B indicating the ink remaining amount Vs of each sub-tank 100 of magenta, cyan, yellow, and black. The size of these objects in the vertical direction 271 indicates the ink amount Vs of each color. The sum of the vertical size 271 of the object 274M and the vertical size 271 of the object 275M indicates the sum of the remaining magenta ink amounts Vc and Vs, that is, the total magenta ink amount Vt. The same is true for cyan, yellow, and black.

次に、コントローラ230は、現在の時刻を経過時間T2の開始時刻としてRAM233に記憶させて、経過時間T2の計測を開始する(S27)。 Next, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T2, and starts measuring the elapsed time T2 (S27).

続いて、コントローラ230は、第1初回フラグの設定値に“OFF”を設定する(S28)。 Subsequently, the controller 230 sets the setting value of the first initial flag to "OFF" (S28).

次に、コントローラ230は、S23で算出したインク量Vsと、容積Vthとを比較する(S35)。図18(B)に示されるように、インク量Vsが容積Vthになると、サブタンク100の第2貯留室105における液面が仮想線Lに到達する。これにより、気体流路104の第3開口141がインクにより閉塞されて、第1貯留室53及び第2貯留室105の間においてインクが移動しない。第1貯留室53及び第2貯留室105の間において、実質的にインクが移動しない状態を、平衡状態とする。 Next, the controller 230 compares the ink amount Vs calculated in S23 with the volume Vth (S35). As shown in FIG. 18B, the liquid surface in the second storage chamber 105 of the sub-tank 100 reaches the imaginary line L when the ink amount Vs reaches the volume Vth . As a result, the ink blocks the third opening 141 of the gas flow path 104 , and the ink does not move between the first storage chamber 53 and the second storage chamber 105 . A state in which ink does not substantially move between the first storage chamber 53 and the second storage chamber 105 is defined as an equilibrium state.

コントローラ230は、インク量Vsが容積Vth未満と判定したことに応じて(S29:No)、S18以降の処理を実行する。コントローラ230は、インク量Vsが容積Vth以上と判定したことに応じて(S29:Yes)、カートリッジ装着処理を終了する。 When the controller 230 determines that the ink amount Vs is less than the volume Vth (S29: No), the controller 230 executes the processes after S18. When the controller 230 determines that the ink amount Vs is equal to or greater than the volume Vth (S29: Yes), the cartridge mounting process ends.

コントローラ230は、S18にて、いずれの信号も受信しておらず、且つ、パージ処理を開始せず、且つ、スリープ状態への移行を開始しないと判定したことに応じて(S18:No)、上記経過時間T1が閾値時間Th1を越えたか否かを判定する(S30)。経過時間T1は、S15でRAM233に記憶させた経過時間T1の開始時刻と現在の時刻との差の時間である。コントローラ230は、経過時間T1が閾値時間Th1を越えていないと判定したことに応じて(S30:No)、S18の処理を再び実行する。 When the controller 230 determines in S18 that it has not received any signal, does not start the purge process, and does not start transitioning to the sleep state (S18: No), It is determined whether or not the elapsed time T1 exceeds the threshold time Th1 (S30). The elapsed time T1 is the difference between the start time of the elapsed time T1 stored in the RAM 233 in S15 and the current time. In response to determining that the elapsed time T1 has not exceeded the threshold time Th1 (S30: No), the controller 230 executes the process of S18 again.

コントローラ230は、経過時間T1が閾値時間Th1を越えたと判定したことに応じて(S30:Yes)、インクカートリッジ50からサブタンク100へのインクの流入が完了した状態のインク量Vc、Vs、液面高さHc、Hsを算出する(S31)。 When the controller 230 determines that the elapsed time T1 has exceeded the threshold time Th1 (S30: Yes), the ink amounts Vc, Vs, and liquid level Heights Hc and Hs are calculated (S31).

まず、コントローラ230は、S17でEEPROM234に記憶させた交換後インク量Vc1とVs1との和を、交換後の総量Vt1として算出する(Vt1=Vc1+Vs1)。次に、コントローラ230は、総量Vtが容積Vthより大きければ、インク量Vsを容積Vthとし、また、インク量Vcを、総量VtからVthを差し引いた値(Vc=Vt-Vth)とする。他方、コントローラ230は、総量Vtが容積Vthより小さければ、インク量Vcをゼロとし、インク量Vsを総量Vtとする。続いて、コントローラ230は、算出したインク量Vc、Vsと、EEPROM234から読み出した関数Fc,Fsとに基づいて、S23と同様の処理により、高さHc、Hsを決定する。 First, the controller 230 calculates the sum of the post-replacement ink amounts Vc1 and Vs1 stored in the EEPROM 234 in S17 as the post-replacement total amount Vt1 (Vt1=Vc1+Vs1). Next, if the total amount Vt is greater than the volume V th , the controller 230 sets the ink amount Vs to the volume V th , and sets the ink amount Vc to a value obtained by subtracting V th from the total amount Vt (Vc=Vt−V th ). and On the other hand, if the total amount Vt is smaller than the volume Vth , the controller 230 sets the ink amount Vc to zero and the ink amount Vs to the total amount Vt. Subsequently, the controller 230 determines the heights Hc and Hs based on the calculated ink amounts Vc and Vs and the functions Fc and Fs read from the EEPROM 234 by the same process as S23.

次に、コントローラ230は、S31で算出したインク量Vc、Vs及び高さHc、HsをEEPROM234に記憶させる(S32)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vs及び高さHc、Hsを、直前のS31で算出したインク量Vc、Vs及び高さHc、Hsで上書きする。 Next, the controller 230 causes the EEPROM 234 to store the ink amounts Vc, Vs and the heights Hc, Hs calculated in S31 (S32). More specifically, the controller 230 overwrites the ink amounts Vc, Vs and heights Hc, Hs stored in the EEPROM 234 with the ink amounts Vc, Vs and heights Hc, Hs calculated in S31 immediately before.

また、コントローラ230は、S31で算出したインク量Vc及び高さHcを、接点152を通じてICチップ66のメモリに記憶させる(S33)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vc及び高さHcを、直前のS31で算出したインク量Vc及び高さHcで上書きする。 Also, the controller 230 stores the ink amount Vc and the height Hc calculated in S31 in the memory of the IC chip 66 through the contact 152 (S33). More specifically, the controller 230 overwrites the ink amount Vc and height Hc stored in the second area of the memory of the IC chip 66 with the ink amount Vc and height Hc calculated in S31 immediately before.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S34)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。そして、コントローラ230は、カートリッジ装着処理を終了する。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S34). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S26. The controller 230 then ends the cartridge mounting process.

[画像記録処理]
コントローラ230は、複合機10に記録指示が入力されたことに応じて、図15に示される画像記録処理を実行する。記録指示は、画像データで示される画像をシートに記録する記録処理を複合機10に実行させるための排出指示の一例である。記録指示の取得方法は特に限定されないが、例えば、記録指示に対応するユーザ操作を操作パネル22を通じて受け付けてもよいし、不図示の通信インタフェースを通じて外部装置から受信してもよい。
[Image recording process]
The controller 230 executes the image recording process shown in FIG. 15 in response to the recording instruction being input to the MFP 10 . The recording instruction is an example of a discharge instruction for causing the multi-function device 10 to execute a recording process of recording an image indicated by image data on a sheet. A method of acquiring the recording instruction is not particularly limited, but 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).

まず、コントローラ230は、4つのS_Emptyフラグそれぞれの設定値を判定する(S41)。そして、コントローラ230は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていると判定したことに応じて(S41:ON)、S_Empty報知画面をディスプレイ17に表示させる(S42)。S_Empty報知画面は、対応するサブタンク100がインクエンプティ状態になったことを、ユーザに報知するための画面である。S_Empty報知画面は、例えば、インクエンプティ状態のサブタンク100に貯留されているインクの色及びインク量Vc、Vsを示す情報を含んでもよい。 First, the controller 230 determines the set values of the four S_Empty flags (S41). Then, in response to determining that at least one of the four S_Empty flags is set to "ON" (S41: ON), the controller 230 causes the display 17 to display the S_Empty notification screen (S42). The S_Empty notification screen is a screen for notifying the user that the corresponding sub-tank 100 has become ink empty. The S_Empty notification screen may include, for example, information indicating the ink color and ink amounts Vc and Vs stored in the sub-tank 100 in the ink-empty state.

続いて、コントローラ230は、“ON”が設定されたS_Emptyフラグに対応するインクカートリッジ50それぞれに対して、上述したカートリッジ装着処理を実行する(S43)。そして、コントローラ230は、S_Emptyフラグに“OFF”が設定された後(S14)、カートリッジ装着処理と平行して、S41以降の処理を再び実行する。そして、コントローラ230は、4つのS_Emptyフラグの全てに“OFF”が設定されていることに応じて(S41:OFF)、現時点で4つの液面センサ155それぞれから出力されている信号を受信する(S44)。さらにS44において、コントローラ230は、液面センサ155から受信した信号がハイレベル信号及びローレベル信号のどちらかを示す情報を、RAM233に記憶させる。 Subsequently, the controller 230 executes the cartridge mounting process described above for each of the ink cartridges 50 corresponding to the S_Empty flag set to "ON" (S43). Then, after the S_Empty flag is set to "OFF" (S14), the controller 230 executes the processes after S41 again in parallel with the cartridge mounting process. Then, in response to all four S_Empty flags being set to "OFF" (S41: OFF), the controller 230 receives signals currently output from the four liquid level sensors 155 ( S44). Furthermore, in S44, the controller 230 causes the RAM 233 to store information indicating whether the signal received from the liquid level sensor 155 is a high level signal or a low level signal.

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

次に、コントローラ230は、記録指示に従ってシートに画像を記録したことに応じて、現時点で4つの液面センサ155それぞれから出力されている信号を受信する(S46)。S46において、S44と同様に、コントローラ230は、液面センサ155から受信した信号がハイレベル信号及びローレベル信号のどちらかを示す情報を、RAM233に記憶させる。 Next, the controller 230 receives the signals currently output from the four liquid level sensors 155 in response to the printing of the image on the sheet according to the printing instruction (S46). In S46, similarly to S44, the controller 230 causes the RAM 233 to store information indicating whether the signal received from the liquid level sensor 155 is a high level signal or a low level signal.

続いて、コントローラ230は、現在の時刻を経過時間T3の開始時刻としてRAM233に記憶させて、経過時間T3の計測を開始する(S47)。また、コントローラ230は、2ページ目以降のシートへの画像記録(S45)を行った場合には、第3タイマの再スタート又は開始時刻の記憶(S47)を実行せず、経過時間T3の計測を継続する。 Subsequently, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T3, and starts measuring the elapsed time T3 (S47). Further, when the image recording on the sheets of the second and subsequent pages is performed (S45), the controller 230 does not restart the third timer or store the start time (S47), and measures the elapsed time T3. to continue.

そして、コントローラ230は、カウント処理を実行する(S48)。カウント処理は、S44、S46で液面センサ155から受信した信号に基づいて、カウント値N、C_Emptyフラグ、及びS_Emptyフラグを更新する処理である。カウント処理の詳細は、図16を参照して後述する。 The controller 230 then executes a count process (S48). The counting process is a process of updating the count value N, the C_Empty flag, and the S_Empty flag based on the signals received from the liquid level sensor 155 in S44 and S46. Details of the counting process will be described later with reference to FIG.

次に、コントローラ230は、記録指示で示された全ての画像をシートに記録するまで(S49:Yes)、S41~S48の処理を繰り返し実行する。そして、コントローラ230は、記録指示で示される全ての画像をシートに記録したことに応じて(S49:No)、残量更新処理を実行する(S50)。残量更新処理は、コントローラ230が、記録ヘッド39からインクが吐出されたことに応じて、EEPROM234に記憶されたインク量Vc、Vs及び高さHc、Hsを更新する処理である。残量更新処理の詳細は、図16を参照して後述する。コントローラ230は、残量更新処理と並行して或いは残量更新処理が終了したことに応じて、S51以降の処理を実行する。 Next, the controller 230 repeats the processes of S41 to S48 until all the images indicated by the print instruction are printed on the sheet (S49: Yes). Then, the controller 230 executes the remaining amount update process (S50) in response to printing all the images indicated by the printing instruction on the sheet (S49: No). The remaining amount update process is a process in which the controller 230 updates the ink amounts Vc and Vs and the heights Hc and Hs stored in the EEPROM 234 in response to ejection of ink from the recording head 39 . Details of the remaining amount update processing will be described later with reference to FIG. The controller 230 executes the processes after S51 in parallel with the remaining amount update process or in response to completion of the remaining amount update process.

コントローラ230は、4つのS_Emptyフラグそれぞれの設定値及び4つのC_Emptyフラグそれぞれの設定値を判定する(S51、S52)。 The controller 230 determines the set values of the four S_Empty flags and the set values of the four C_Empty flags (S51, S52).

コントローラ230は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていることに応じて(S51:ON)、S_Empty報知画面をディスプレイ17に表示させる(S53)。また、コントローラ230は、4つのS_Emptyフラグの全てに“OFF”が設定されており、且つ4つのC_Emptyフラグの少なくとも1つに“ON”が設定されていることに応じて(S51:OFF&S52:ON)、C_Empty報知画面をディスプレイ17に表示させる(S54)。S53、S54の処理は、報知機を作動させることの一例である。 When at least one of the four S_Empty flags is set to "ON" (S51: ON), the controller 230 causes the display 17 to display the S_Empty notification screen (S53). In addition, the controller 230 responds that all four S_Empty flags are set to "OFF" and at least one of the four C_Empty flags is set to "ON" (S51: OFF & S52: ON ), the C_Empty notification screen is displayed on the display 17 (S54). The processing of S53 and S54 is an example of activating an alarm.

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

なお、排出指示の具体例は記録指示に限定されず、ノズル40のメンテナンスを指示するメンテナンス指示等であってもよい。コントローラ230は、例えばメンテナンス指示を受信したことに応じて、図15と同様の処理を実行する。メンテナンス指示を受信した場合の前述の処理との相違点は、以下の通りである。まず、コントローラ230は、S45において、不図示のメンテナンス機構を駆動させて、ノズル40を通じてインクを排出させる。また、コントローラ230は、カウント処理を実行した後にS49の処理を実行することなく、S50以降の処理を実行する。 A specific example of the discharge instruction is not limited to a recording instruction, and may be a maintenance instruction for instructing maintenance of the nozzles 40 or the like. Controller 230 executes the same process as in FIG. 15 in response to receiving a maintenance instruction, for example. Differences from the above-described processing when receiving a maintenance instruction are as follows. First, in S<b>45 , the controller 230 drives a maintenance mechanism (not shown) to discharge ink through the nozzles 40 . In addition, the controller 230 executes the processes after S50 without executing the process of S49 after executing the counting process.

[カウント処理]
次に図16を参照して、S48でコントローラ230が実行するカウント処理の詳細を説明する。なお、コントローラ230は、4つのインクカートリッジ50のそれぞれに対して、カウント処理を独立して実行する。インクカートリッジ50毎のカウント処理は共通するので、1つのインクカートリッジ50に対応するカウント処理のみを説明する。
[Count processing]
Next, with reference to FIG. 16, the details of the counting process executed by the controller 230 in S48 will be described. Note that the controller 230 independently executes the counting process for each of the four ink cartridges 50 . Since the counting process for each ink cartridge 50 is common, only the counting process for one ink cartridge 50 will be described.

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

コントローラ230は、S44、S46でRAM233に記憶させた情報が共にローレベル信号を示す(すなわち、S45の処理の前後で液面センサ155の信号出力が変化していない)ことに応じて(S61:L→L)、カウント値TNを更新する(S62)。すなわち、コントローラ230は、直前のS45で排出を指示したインク量に相当する値で、カウント値TNをカウントアップする。そして、コントローラ230は、カウント処理を終了する。 The controller 230 responds that the information stored in the RAM 233 in S44 and S46 both indicate a low level signal (that is, the signal output of the liquid level sensor 155 does not change before and after the process of S45) (S61: L→L), and update the count value TN (S62). That is, the controller 230 counts up the count value TN with a value corresponding to the amount of ink instructed to be discharged in S45 immediately before. Controller 230 then ends the counting process.

コントローラ230は、S44でRAM233に記憶させた情報がローレベル信号を示し、S46でRAM233に記憶させた情報がハイレベル信号を示す(すなわち、S45の処理の前後で液面センサ155の信号出力が変化した)ことに応じて(S61:L→H)、C_Emptyフラグに“ON”を設定する(S63)。 In the controller 230, the information stored in the RAM 233 in S44 indicates a low level signal, and the information stored in the RAM 233 in S46 indicates a high level signal (that is, the signal output of the liquid level sensor 155 before and after the process of S45 is changed. changed) (S61: L→H), the C_Empty flag is set to "ON" (S63).

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

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

また、コントローラ230は、EEPROM234に記憶されたカウント値Nに、インク排出量Dhを代入する(S65)。すなわち、コントローラ230は、直前のS45で排出を指示したインク量に相当する値で、カウント値Nのカウントアップを開始する。換言すれば、コントローラ230は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したことに応じて、カウント値Nの更新を開始する。 Also, the controller 230 substitutes the discharged ink amount Dh for the count value N stored in the EEPROM 234 (S65). That is, the controller 230 starts counting up the count value N with a value corresponding to the amount of ink instructed to be discharged in S45 immediately before. In other words, the controller 230 starts updating the count value N in response to the output of the liquid level sensor 155 changing from the low level signal to the high level signal.

次に、コントローラ230は、S65で更新したカウント値Nと、閾値Nthとを比較する(S66)。そして、コントローラ230は、S65で更新したカウント値Nが閾値Nth未満だと判定したことに応じて(S66:No)、カウント処理を終了する。一方、コントローラ230は、S65で更新したカウント値Nが閾値Nth以上だと判定したことに応じて(S66:Yes)、S_Emptyフラグに“ON”を設定して(S67)、カウント処理を終了する。 Next, the controller 230 compares the count value N updated in S65 with the threshold value Nth (S66). When the controller 230 determines that the count value N updated in S65 is less than the threshold value Nth (S66: No), the controller 230 ends the counting process. On the other hand, when the controller 230 determines that the count value N updated in S65 is equal to or greater than the threshold value Nth (S66: Yes), it sets the S_Empty flag to "ON" (S67), and ends the counting process. do.

また、コントローラ230は、S44、S46でRAM233に記憶させた情報が共にハイレベル信号を示すことに応じて(S61:H→H)、EEPROM234に記憶されているインク量Vsを読み出す。そして、コントローラ230は、読み出したインク量Vsからインク排出量Dhを減じて、再びEEPROM234に記憶させる(S68)。また、コントローラ230は、EEPROM234に記憶されているカウント値Nを読み出す。そして、コントローラ230は、読み出したカウント値Nにインク排出量Dhを加算して、再びEEPROM234に記憶させる(S69)。すなわち、コントローラ230は、直前のS45で排出を指示したインク排出量Dhで、EEPROM234に記憶されたインク量Vs及びカウント値Nを更新する。 In addition, the controller 230 reads the ink amount Vs stored in the EEPROM 234 in response to the information stored in the RAM 233 in S44 and S46 both indicating a high level signal (S61: H→H). Then, the controller 230 subtracts the discharged ink amount Dh from the read ink amount Vs, and stores the result in the EEPROM 234 again (S68). Controller 230 also reads count value N stored in EEPROM 234 . Then, the controller 230 adds the discharged ink amount Dh to the read count value N and stores the result in the EEPROM 234 again (S69). That is, the controller 230 updates the ink amount Vs and the count value N stored in the EEPROM 234 with the ink discharge amount Dh instructed to be discharged in the previous S45.

次に、コントローラ230は、S69で更新したカウント値Nと、閾値Nthとを比較する(S66)。そして、コントローラ230は、S69で更新したカウント値Nが閾値Nth未満だと判定したことに応じて(S66:No)、カウント処理を終了する。一方、コントローラ230は、S69で更新したカウント値Nが閾値Nth以上だと判定したことに応じて(S66:Yes)、S_Emptyフラグに“ON”を設定して(S67)、カウント処理を終了する。 Next, the controller 230 compares the count value N updated in S69 with the threshold value Nth (S66). When the controller 230 determines that the count value N updated in S69 is less than the threshold value Nth (S66: No), the controller 230 ends the counting process. On the other hand, in response to determining that the count value N updated in S69 is equal to or greater than the threshold value Nth (S66: Yes), the controller 230 sets the S_Empty flag to "ON" (S67), and ends the counting process. .

[残量更新処理]
次に図17を参照して、コントローラ230がS50で実行する残量更新処理の詳細を説明する。なお、コントローラ230は、4つのインクカートリッジ50のそれぞれに対して、残量更新処理を独立して実行する。インクカートリッジ50毎の残量更新処理は共通するので、1つのインクカートリッジ50に対応する残量更新処理のみを説明する。
[Remaining amount update process]
Next, with reference to FIG. 17, details of the remaining amount update process executed by the controller 230 in S50 will be described. Note that the controller 230 independently executes the remaining amount update process for each of the four ink cartridges 50 . Since the remaining amount update process for each ink cartridge 50 is common, only the remaining amount update process for one ink cartridge 50 will be described.

まず、コントローラ230は、C_Emptyフラグの設定値について判定する(S71)。コントローラ230は、C_Emptyフラグの設定値が“ON”であると判定したことに応じて(S71:ON)、残量更新処理を終了する。C_Emptyに“ON”が設定されるのは(S63)、液面センサ155の出力がローレベル信号からハイレベル信号に変化した場合である(S:51:L→H)。このとき、サブタンク100の第2貯留室105の液面が、図19に示されるように、S45の処理中に所定位置Bに達している。そして、これ以降は、インクカートリッジ50とサブタンク100との間でインクが移動しないため、インク量Vcを更新する必要がない。そこで図17に示されるように、コントローラ230は、C_Emptyフラグに“ON”が設定されていることに応じて(S71:ON)、残量更新処理を終了する。なお、インク量Vsは、C_Emptyフラグに“ON”が設定された後、カウント処理のS68で更新される。 First, the controller 230 determines the set value of the C_Empty flag (S71). When the controller 230 determines that the setting value of the C_Empty flag is "ON" (S71: ON), the remaining amount update process ends. C_Empty is set to "ON" (S63) when the output of the liquid level sensor 155 changes from a low level signal to a high level signal (S:51:L→H). At this time, the liquid level in the second storage chamber 105 of the sub-tank 100 reaches a predetermined position B during the process of S45, as shown in FIG. After that, since the ink does not move between the ink cartridge 50 and the sub-tank 100, there is no need to update the ink amount Vc. Therefore, as shown in FIG. 17, the controller 230 terminates the remaining amount update process in response to the C_Empty flag being set to "ON" (S71: ON). Note that the ink amount Vs is updated in S68 of the counting process after the C_Empty flag is set to "ON".

コントローラ230は、C_Emptyフラグの設定値が“OFF”であると判定したことに応じて(S71:OFF)、算出期間Δtを決定する(S72)。詳しくは、コントローラ230は、S45で1ページ目のシートの画像記録のために記録ヘッド39からのインクの排出が開始されてから、全ページのシートの画像記録が終了するまで(S49:No)の期間を、算出期間Δtとして決定し、RAM233に記憶させる(S72)。また、コントローラ230は、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tとして決定し、RAM233に記憶させる。時刻tk-1は、S45で1ページ目のシートの画像記録のために記録ヘッド39からのインクの排出を開始した時刻である。時刻tは、全ページのシートの画像記録が終了した(S49:No)時刻であり、S72の処理を実行した時刻である。決定された算出期間Δtは、排出期間Δthの一例である。 When the controller 230 determines that the setting value of the C_Empty flag is "OFF" (S71: OFF), the controller 230 determines the calculation period Δt (S72). Specifically, the controller 230 controls the operation from the start of discharging ink from the recording head 39 for image recording of the first page sheet in S45 to the end of image recording of all pages of sheets (S49: No). is determined as the calculation period Δt and stored in the RAM 233 (S72). Further, the controller 230 determines the start time of the calculation period Δt as time t k−1 and the end time as time t k , and stores them in the RAM 233 . Time tk -1 is the time when ink discharge from the recording head 39 is started for image recording of the first page sheet in S45. Time tk is the time when image recording of all pages of sheets is completed (S49: No), and the time when the process of S72 is executed. The determined calculation period Δt is an example of the discharge period Δth.

次に、コントローラ230は、流出量Qa、Qc、インク量Vc、Vs、及び高さHc、Hsを、上述の式1~式6を用いて算出する(S73、S74)。まず、コントローラ230は、式1を用いて、算出期間Δtの間の流出量Qaを算出する(S73)。インク排出量Dh(tk-1)は、今回の画像記録処理のS45の開始までに排出を指示したインク量に相当する。なお、時刻tk-1は、S45で1ページ目のシートへの画像記録のために記録ヘッド39からのインクの排出を開始した時刻であり、時刻tk-1では未だインクの排出を行っていないので、インク排出量Dh(tk-1)はゼロである。インク排出量Dh(tk)は、今回の画像記録処理の全ページの画像記録が終了したときまでに排出を指示したインク量に相当する。 Next, the controller 230 calculates the outflow amounts Qa, Qc, the ink amounts Vc, Vs, and the heights Hc, Hs using the above-described formulas 1 to 6 (S73, S74). First, the controller 230 uses Equation 1 to calculate the outflow amount Qa during the calculation period Δt (S73). The ink discharge amount Dh(t k−1 ) corresponds to the ink amount instructed to be discharged by the start of S45 of the current image recording process. Note that the time tk -1 is the time when ink discharge from the recording head 39 is started in order to record an image on the sheet of the first page in S45, and the ink is not yet discharged at the time tk -1 . , the ink discharge amount Dh(t k-1 ) is zero. The ink discharge amount Dh(tk) corresponds to the ink amount instructed to be discharged by the time image recording of all pages in the current image recording process is completed.

次に、コントローラ230は、式2を用いて、算出期間Δtの間の第1貯留室53から第2貯留室105へのインクの流出量Qcを算出する。コントローラ230は、EEPROM234に記憶された高さHcを、時刻tk-1における高さHc’として読み出す。また、コントローラ230は、粘度ρ、流路抵抗RnをEEPROM234から読み出す。そして、コントローラ230は、EEPROM234から読み出した情報と、重力加速度gと、を式2に代入して、流出量Qcを算出する(S73)。 Next, the controller 230 uses Equation 2 to calculate the outflow amount Qc of ink from the first reservoir 53 to the second reservoir 105 during the calculation period Δt. The controller 230 reads the height Hc stored in the EEPROM 234 as the height Hc' at time tk -1 . Also, the controller 230 reads the viscosity ρ and the flow path resistance Rn from the EEPROM 234 . Then, the controller 230 substitutes the information read from the EEPROM 234 and the gravitational acceleration g into Equation 2 to calculate the outflow amount Qc (S73).

次に、コントローラ230は、EEPROM234に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S74)。すなわち、コントローラ230は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 230 reads the ink amount Vc stored in the EEPROM 234 as the ink amount Vc' at time tk -1 . Then, the controller 230 substitutes the ink amount Vc' read from the EEPROM 234 and the outflow amount Qc calculated immediately before into Equation 3 to calculate the ink amount Vc at time tk (S74). That is, the controller 230 subtracts the outflow amount Qc of the ink flowing out from the first storage chamber 53 to the second storage chamber 105 during the calculation period Δt from the ink amount Vc′ at the time tk −1 , , the ink amount Vc is calculated.

またS74において、コントローラ230は、EEPROM234に記憶されたインク量Vsを、時刻tk-1におけるインク量Vs’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に代入して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ230は、時刻tk-1におけるインク量Vs’に、算出期間Δtの間にサブタンク100から流出したインクの流出量Qaを減じ、且つ算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S74, the controller 230 reads the ink amount Vs stored in the EEPROM 234 as the ink amount Vs' at time tk -1 . Then, the controller 230 substitutes the ink amount Vs′ read from the EEPROM 234 and the outflow amounts Qa and Qc calculated immediately before into Equation 4 to calculate the ink amount Vs at time tk . That is, the controller 230 subtracts the outflow amount Qa of the ink flowing out of the sub-tank 100 during the calculation period Δt from the ink amount Vs′ at the time tk −1 , and The ink amount Vs at time tk is calculated by adding the outflow amount Qc of the ink that has flowed out to the second storage chamber 105 .

またS74において、コントローラ230は、EEPROM234に記憶された関数Fcを読み出す。そして、コントローラ230は、式5で示されるように、式3で算出したインク量Vcを関数Fcに代入して、時刻tにおける高さHcを特定する。さらにS74において、コントローラ230は、EEPROM234から関数Fsを読み出す。そして、コントローラ230は、式6で示されるように、式4で算出したインク量Vsを関数Fsに代入して、時刻tにおける高さHsを特定する(S74)。 Also, in S74, the controller 230 reads the function Fc stored in the EEPROM 234. FIG. Then, the controller 230 assigns the ink amount Vc calculated by Equation 3 to the function Fc, as shown by Equation 5, to specify the height Hc at time tk. Furthermore, in S74, the controller 230 reads the function Fs from the EEPROM234. Then, the controller 230 assigns the ink amount Vs calculated by Equation 4 to the function Fs as shown by Equation 6 to identify the height Hs at time tk (S74).

次に、コントローラ230は、S74で算出したインク量Vc、Vs及び高さHc、HsをEEPROM234に記憶させる(S75)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vs及び高さHc、Hsを、直前のS74で算出したインク量Vc、Vs及び高さHc、Hsで上書きする。 Next, the controller 230 causes the EEPROM 234 to store the ink amounts Vc, Vs and the heights Hc, Hs calculated in S74 (S75). More specifically, the controller 230 overwrites the ink amounts Vc, Vs and heights Hc, Hs stored in the EEPROM 234 with the ink amounts Vc, Vs and heights Hc, Hs calculated in S74 immediately before.

また、コントローラ230は、S74で算出したインク量Vc及び高さHcを、接点152を通じてICチップ66のメモリに記憶させる(S76)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vc及び高さHcを、直前のS74で算出したインク量Vc及び高さHcで上書きする。 Also, the controller 230 stores the ink amount Vc and the height Hc calculated in S74 in the memory of the IC chip 66 through the contact 152 (S76). More specifically, the controller 230 overwrites the ink amount Vc and height Hc stored in the second area of the memory of the IC chip 66 with the ink amount Vc and height Hc calculated in S74 immediately before.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S77)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S77). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S26.

次に、コントローラ230は、現在の時刻を経過時間T4の開始時刻としてRAM233に記憶させて、経過時間T4の計測を開始する(S78)。 Next, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T4, and starts measuring the elapsed time T4 (S78).

続いて、コントローラ230は、第2初回フラグの設定値に“ON”を設定する(S79)。 Subsequently, the controller 230 sets the setting value of the second initial flag to "ON" (S79).

コントローラ230は、インク量Vsが容積Vth未満と判定したことに応じて(S80:No)、S81以降の処理を実行する。コントローラ230は、インク量Vsが容積Vth以上と判定したことに応じて(S80:Yes)、残量更新処理を終了する。 When the controller 230 determines that the ink amount Vs is less than the volume Vth (S80: No), the controller 230 executes the processes after S81. When the controller 230 determines that the ink amount Vs is equal to or greater than the volume Vth (S80: Yes), the remaining amount update process ends.

コントローラ230は、コントローラ230が信号を受信したか否か、及び、特定動作を開始するか否かを判定する(S81)。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、操作パネル22から操作信号を受信したか否かを判定する。コントローラ230は、通信インタフェース89から受信信号を受信したか否かを判定する。コントローラ230は、パージ処理を開始するか否かを判定する。コントローラ230は、スリープ状態への移行を開始するか否かを判定する。 The controller 230 determines whether or not the controller 230 has received the signal and whether or not to start the specific operation (S81). Specifically, controller 230 determines whether a high level signal or a low level signal is received from cover sensor 88 . Controller 230 determines whether it receives a high level signal or a low level signal from mounting sensor 154 . Controller 230 determines whether it has received a high level signal or a low level signal from tray sensor 29 . Controller 230 determines whether or not an operation signal has been received from operation panel 22 . Controller 230 determines whether or not a reception signal has been received from communication interface 89 . Controller 230 determines whether to start the purge process. The controller 230 determines whether or not to initiate transition to the sleep state.

コントローラ230は、上記のいずれかの信号を受信したと判定したこと、又は、パージ処理を開始すると判定したこと、又は、スリープ状態への移行を開始すると判定したことに応じて(S81:Yes)、S82以降の処理を実行する。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ230は、操作パネル22から操作信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ230は、通信インタフェース89から受信信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ230は、パージ処理を開始すると判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ230は、スリープ状態への移行を開始すると判定したことに応じて(S81:Yes)、S82以降の処理を実行する。 The controller 230 determines that it has received one of the above signals, or determines that it starts the purge process, or determines that it starts transitioning to the sleep state (S81: Yes). , S82 and subsequent steps are executed. Specifically, when the controller 230 determines that it has received a high level signal or a low level signal from the cover sensor 88 (S81: Yes), it executes the processes from S82 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the mounting sensor 154 (S81: Yes), it executes the processes from S82 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the tray sensor 29 (S81: Yes), it executes the processes from S82 onwards. Upon determining that the operation signal has been received from the operation panel 22 (S81: Yes), the controller 230 executes the processes from S82 onwards. When the controller 230 determines that the reception signal has been received from the communication interface 89 (S81: Yes), it executes the processes from S82 onwards. In response to determining to start the purge process (S81: Yes), the controller 230 executes the process from S82 onwards. When the controller 230 determines to start transitioning to the sleep state (S81: Yes), the controller 230 executes the processes after S82.

コントローラ230は、第2初回フラグの設定値について判定する(S82)。コントローラ230は、第2初回フラグの設定値が“ON”であると判定したことに応じて(S82:ON)、S78でRAM233に記憶させた経過時間T4の開始時刻と現在の時刻とから、経過時間T4を算出し、算出した経過時間T4を算出期間Δtとして決定し、RAM233に記憶させる(S83)。ここで、経過時間T4は、S80でNoと判定されてから、S81にて初めてYesと判定されるまでの時間である。決定された算出期間Δtは、排出後第1期間Δth1の一例である。 The controller 230 determines the set value of the second initial flag (S82). In response to determining that the set value of the second initial flag is "ON" (S82: ON), the controller 230, based on the start time of the elapsed time T4 stored in the RAM 233 in S78 and the current time, The elapsed time T4 is calculated, the calculated elapsed time T4 is determined as the calculation period Δt, and stored in the RAM 233 (S83). Here, the elapsed time T4 is the time from the determination of No in S80 to the determination of Yes for the first time in S81. The determined calculation period Δt is an example of the first post-ejection period Δth1.

コントローラ230は、第2初回フラグの設定値が“OFF”であると判定したことに応じて(S82:OFF)、後述するS90でRAM233に記憶させる経過時間T5の開始時刻と現在の時刻とから、経過時間T5を算出し、算出した経過時間T5を算出期間Δtとして決定し、RAM233に記憶させる(S84)。ここで、経過時間T5は、S81にてYesと判定されてから、次にS81でYesと判定されるまでの時間である。決定された算出期間Δtは、排出後第2期間Δth2の一例である。 When the controller 230 determines that the set value of the second initial flag is "OFF" (S82: OFF), the controller 230 calculates the elapsed time T5 from the start time and the current time stored in the RAM 233 in S90, which will be described later. , the elapsed time T5 is calculated, the calculated elapsed time T5 is determined as the calculation period Δt, and stored in the RAM 233 (S84). Here, the elapsed time T5 is the time from when it is determined as YES in S81 to when it is determined as YES in S81 next time. The determined calculation period Δt is an example of the post-ejection second period Δth2.

また、コントローラ230は、S83及びS84にて、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tとして決定し、RAM233に記憶させる(S83,S84)。時刻tk-1は、経過時間T4の開始時刻又は経過時間T5の開始時刻である。時刻tは、現在の時刻、すなわちS82の処理を実行した時刻である。 Also, in S83 and S84, the controller 230 determines the start time of the calculation period Δt as time t k−1 and the end time as time t k , and stores them in the RAM 233 (S83, S84). Time t k−1 is the start time of elapsed time T4 or the start time of elapsed time T5. Time tk is the current time, that is, the time when the process of S82 was executed.

次に、コントローラ230は、流出量Qa、Qc、インク量Vc、Vs、及び高さHc、Hsを、上述の式1~式6を用いて算出する(S85、S86)。まず、コントローラ230は、式1を用いて、算出期間Δtの間の流出量Qaを算出する(S85)。算出期間Δtの間にシートへの画像の記録(S46)やパージ処理等、記録ヘッド39を通じたインクの排出が行われていない場合には、Qa=0となる。 Next, the controller 230 calculates the outflow amounts Qa, Qc, the ink amounts Vc, Vs, and the heights Hc, Hs using the above-described formulas 1 to 6 (S85, S86). First, the controller 230 uses Equation 1 to calculate the outflow amount Qa during the calculation period Δt (S85). Qa=0 when ink is not discharged through the recording head 39 during the calculation period Δt, such as recording of an image on the sheet (S46) or purge processing.

次に、コントローラ230は、式2を用いて、算出期間Δtの間の第1貯留室53から第2貯留室105へのインクの流出量Qcを算出する。コントローラ230は、EEPROM234に記憶された高さHcを、時刻tk-1における高さHc’として読み出す。また、コントローラ230は、粘度ρ、流路抵抗RnをEEPROM234から読み出す。そして、コントローラ230は、EEPROM234から読み出した情報と、重力加速度gと、を式2に代入して、流出量Qcを算出する(S85)。 Next, the controller 230 uses Equation 2 to calculate the outflow amount Qc of ink from the first reservoir 53 to the second reservoir 105 during the calculation period Δt. The controller 230 reads the height Hc stored in the EEPROM 234 as the height Hc' at time tk -1 . Also, the controller 230 reads the viscosity ρ and the flow path resistance Rn from the EEPROM 234 . Then, the controller 230 substitutes the information read from the EEPROM 234 and the gravitational acceleration g into Equation 2 to calculate the outflow amount Qc (S85).

次に、コントローラ230は、EEPROM234に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S86)。すなわち、コントローラ230は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 230 reads the ink amount Vc stored in the EEPROM 234 as the ink amount Vc' at time tk -1 . Then, the controller 230 substitutes the ink amount Vc' read from the EEPROM 234 and the outflow amount Qc calculated immediately before into Equation 3 to calculate the ink amount Vc at time tk ( S86 ). That is, the controller 230 subtracts the outflow amount Qc of the ink flowing out from the first storage chamber 53 to the second storage chamber 105 during the calculation period Δt from the ink amount Vc′ at the time tk −1 , , the ink amount Vc is calculated.

またS86において、コントローラ230は、EEPROM234に記憶された関数Fcを読み出す。そして、コントローラ230は、式5で示されるように、式3で直前に算出したインク量Vcを関数Fcに代入して、時刻tにおける高さHcを特定する。さらにS74において、コントローラ230は、EEPROM234から関数Fsを読み出す。そして、コントローラ230は、式6で示されるように、式4で算出したインク量Vsを関数Fsに代入して、時刻tにおける高さHsを特定する(S86)。 Also, in S86, the controller 230 reads the function Fc stored in the EEPROM 234. FIG. Then, the controller 230 substitutes the ink amount Vc calculated immediately before using Equation 3 into the function Fc, as shown in Equation 5, to specify the height Hc at time tk. Furthermore, in S74, the controller 230 reads the function Fs from the EEPROM234. Then, the controller 230 substitutes the ink amount Vs calculated by the formula 4 into the function Fs as shown by the formula 6 to specify the height Hs at the time tk ( S86 ).

次に、コントローラ230は、S86で算出したインク量Vc、Vs及び高さHc、HsをEEPROM234に記憶させる(S87)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vs及び高さHc、Hsを、直前のS74で算出したインク量Vc、Vs及び高さHc、Hsで上書きする。 Next, the controller 230 causes the EEPROM 234 to store the ink amounts Vc, Vs and the heights Hc, Hs calculated in S86 (S87). More specifically, the controller 230 overwrites the ink amounts Vc, Vs and heights Hc, Hs stored in the EEPROM 234 with the ink amounts Vc, Vs and heights Hc, Hs calculated in S74 immediately before.

また、コントローラ230は、S86で算出したインク量Vc及び高さHcを、接点152を通じてICチップ66のメモリに記憶させる(S88)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vc及び高さHcを、直前のS86で算出したインク量Vc及び高さHcで上書きする。 Also, the controller 230 stores the ink amount Vc and the height Hc calculated in S86 in the memory of the IC chip 66 through the contact 152 (S88). More specifically, the controller 230 overwrites the ink amount Vc and height Hc stored in the second area of the memory of the IC chip 66 with the ink amount Vc and height Hc calculated in S86 immediately before.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S89)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S89). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S26.

次に、コントローラ230は、現在の時刻を経過時間T5の開始時刻としてRAM233に記憶させて、経過時間T5の計測を開始する(S90)。 Next, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T5, and starts measuring the elapsed time T5 (S90).

続いて、コントローラ230は、第2初回フラグの設定値に“OFF”を設定する(S91)。 Subsequently, the controller 230 sets the setting value of the second initial flag to "OFF" (S91).

コントローラ230は、インク量Vsが容積Vth未満と判定したことに応じて(S92:No)、S81以降の処理を再び実行する。コントローラ230は、インク量Vsが容積Vth以上と判定したことに応じて(S92:Yes)、残量更新処理を終了する。 When the controller 230 determines that the ink amount Vs is less than the volume Vth (S92: No), the controller 230 executes the processes after S81 again. When the controller 230 determines that the ink amount Vs is equal to or greater than the volume Vth (S92: Yes), the remaining amount update process ends.

コントローラ230は、S81にて、いずれの信号も受信しておらず、且つ、パージ処理を開始せず、且つ、スリープ状態への移行を開始しないと判定したことに応じて(S81:No)、上記経過時間T3が、閾値時間Th2を越えたか否かを判定する(S93)。経過時間T3は、S47でRAM233に記憶させた経過時間T3の開始時刻と現在の時刻との差の時間である。コントローラ230は、経過時間T3が閾値時間Th2を越えていないと判定したことに応じて(S93:No)、S81の処理を再び実行する。 When the controller 230 determines in S81 that it has not received any signal, does not start the purge process, and does not start transitioning to the sleep state (S81: No), It is determined whether or not the elapsed time T3 exceeds the threshold time Th2 (S93). The elapsed time T3 is the difference between the start time of the elapsed time T3 stored in the RAM 233 in S47 and the current time. In response to determining that the elapsed time T3 has not exceeded the threshold time Th2 (S93: No), the controller 230 executes the process of S81 again.

コントローラ230は、経過時間T3が閾値時間Th2を越えたと判定したことに応じて(S93:Yes)、インクカートリッジ50からサブタンク100へのインクの流入が完了した状態のインク量Vc、Vs、液面高さHc、Hsを算出する(S94)。 When the controller 230 determines that the elapsed time T3 has exceeded the threshold time Th2 (S93: Yes), the ink amounts Vc, Vs, and liquid level Heights Hc and Hs are calculated (S94).

まず、コントローラ230は、S17でEEPROM234に記憶させた交換後インク量Vc1とVs1との和を、交換後の総量Vt1として算出する(Vt1=Vc1+Vs1)。次に、コントローラ230は、交換後総量Vt1から、カウント値TNに相当するインク量を差し引いた値として、現在の総量Vtを算出する(Vt=Vt1-TN)。次に、コントローラ230は、総量Vtが容積Vthより大きければ、インク量Vsを容積Vthとし、また、インク量Vcを、総量VtからVthを差し引いた値(Vc=Vt-Vth)とする。他方、コントローラ230は、総量Vtが容積Vthより小さければ、インク量Vcをゼロとし、インク量Vsを総量Vtとする。続いて、コントローラ230は、算出したインク量Vc、Vsと、EEPROM234から読み出した関数Fc,Fsとに基づいて、S23と同様の処理により、高さHc、Hsを決定する。 First, the controller 230 calculates the sum of the post-replacement ink amounts Vc1 and Vs1 stored in the EEPROM 234 in S17 as the post-replacement total amount Vt1 (Vt1=Vc1+Vs1). Next, the controller 230 calculates the current total amount Vt by subtracting the ink amount corresponding to the count value TN from the post-replacement total amount Vt1 (Vt=Vt1−TN). Next, if the total amount Vt is greater than the volume V th , the controller 230 sets the ink amount Vs to the volume V th , and sets the ink amount Vc to a value obtained by subtracting V th from the total amount Vt (Vc=Vt−V th ). and On the other hand, if the total amount Vt is smaller than the volume Vth , the controller 230 sets the ink amount Vc to zero and the ink amount Vs to the total amount Vt. Subsequently, the controller 230 determines the heights Hc and Hs based on the calculated ink amounts Vc and Vs and the functions Fc and Fs read from the EEPROM 234 by the same process as S23.

次に、コントローラ230は、S94で算出したインク量Vc、Vs及び高さHc、HsをEEPROM234に記憶させる(S95)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vs及び高さHc、Hsを、直前のS94で算出したインク量Vc、Vs及び高さHc、Hsで上書きする。 Next, the controller 230 stores the ink amounts Vc, Vs and the heights Hc, Hs calculated in S94 in the EEPROM 234 (S95). More specifically, the controller 230 overwrites the ink amounts Vc, Vs and heights Hc, Hs stored in the EEPROM 234 with the ink amounts Vc, Vs and heights Hc, Hs calculated in S94 immediately before.

また、コントローラ230は、S94で算出したインク量Vc及び高さHcを、接点152を通じてICチップ66のメモリに記憶させる(S96)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vc及び高さHcを、直前のS94で算出したインク量Vc及び高さHcで上書きする。 Also, the controller 230 stores the ink amount Vc and the height Hc calculated in S94 in the memory of the IC chip 66 through the contact 152 (S96). More specifically, the controller 230 overwrites the ink amount Vc and height Hc stored in the second area of the memory of the IC chip 66 with the ink amount Vc and height Hc calculated in S94 immediately before.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S97)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。そして、コントローラ230は、残量更新処理を終了する。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S97). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S26. The controller 230 then ends the remaining amount update process.

[第1実施形態の作用効果]
第1実施形態によれば、装着センサ154からの信号がハイレベル信号からローレベル信号へ変化した後、コントローラ230が第1信号を受信又は特定動作を開始することに基づいて、インク量Vc、Vs、液面高さHc,Hsの決定の処理が行われる。つまり、ユーザから何らかの操作を受け付けたり、複合機10が動作したりするときに、インク量の決定処理が行われる。そして、決定されたインク量Vsが容積Vth未満であることに応じて、ユーザからの操作やプリンタ動作を待機し、再びインク量Vc、Vsの決定の処理が行われる。従って、処理負荷の上昇を抑制しつつ、インク量Vc、Vsを個別に把握することができる。
[Action and effect of the first embodiment]
According to the first embodiment, after the signal from the mounting sensor 154 changes from a high level signal to a low level signal, the ink amount Vc, Processing for determining Vs and liquid level heights Hc and Hs is performed. That is, the process of determining the amount of ink is performed when some kind of operation is received from the user or when the MFP 10 operates. If the determined ink amount Vs is less than the volume Vth , the user's operation or printer operation is awaited, and the process of determining the ink amounts Vc and Vs is performed again. Therefore, it is possible to individually grasp the ink amounts Vc and Vs while suppressing an increase in the processing load.

また、上記実施形態によれば、記録ヘッド39からインクの排出を行った後、排出後のインク量Vsが容積Vth未満である場合には、コントローラ230が第1信号を受信又は特定動作を開始することに基づいて、インク量Vc、Vs、液面高さHc,Hsの決定の処理が行われる。そして、決定されたインク量Vsが容積Vth未満であることに応じて、ユーザからの操作やプリンタ動作を待機し、再びインク量Vc、Vsの決定の処理が行われる。従って、処理負荷の上昇を抑制しつつ、インク量Vc、Vsを個別に把握することができる。 Further, according to the above-described embodiment, after the ink is discharged from the recording head 39, the controller 230 receives the first signal or performs a specific operation when the ink amount Vs after discharge is less than the volume Vth . Based on the start, processing for determining ink amounts Vc, Vs and liquid level heights Hc, Hs is performed. If the determined ink amount Vs is less than the volume Vth , the user's operation or printer operation is awaited, and the process of determining the ink amounts Vc and Vs is performed again. Therefore, it is possible to individually grasp the ink amounts Vc and Vs while suppressing an increase in the processing load.

[第2実施形態]
以下、第2実施形態が説明される。第2実施形態における複合機10の構成は、第1実施形態と同様なので、ここでは詳細な説明が省略される。また、複合機10の動作における、画像記録処理(図15)及びカウント処理(図16)も第1実施形態と同様である。以下、第2実施形態のカートリッジ装着処理及び残量更新処理が説明される。
[Second embodiment]
A second embodiment will be described below. The configuration of the MFP 10 in the second embodiment is the same as in the first embodiment, so detailed description is omitted here. Also, the image recording process (FIG. 15) and the count process (FIG. 16) in the operation of the MFP 10 are the same as in the first embodiment. The cartridge mounting process and remaining amount update process of the second embodiment will be described below.

第2実施形態においては、高さHcに基づかずに流出量Qcが算出される。したがって、ICチップ66のメモリは、最大インク量Vc0と、インク量Vcと、インク量Vcと流量FR(単位時間当たりに液体流路103を通じて第1貯留室53から第2貯留室105へ流出するインク量)との関係を示すテーブル又は関数と、を記憶する。特定のインクカートリッジ50において第1貯留室53の形状やインクの粘度は一定である。特定のインクカートリッジ50が装着される複合機10が特定される。その特定の複合機10において液体流路103の流路抵抗Rnは一定である。また、第1貯留室53におけるインク量Vcが特定されれば、高さHcが一義的に決定できる。したがって、温度などの要素を近似的に25℃などに設定することによって、インク量Vcと流量FRとの関係が特定されたテーブル又は関数が設定可能である。 In the second embodiment, the outflow amount Qc is calculated without being based on the height Hc. Therefore, the memory of the IC chip 66 stores the maximum ink amount Vc0, the ink amount Vc, the ink amount Vc, and the flow rate FR (flow from the first storage chamber 53 to the second storage chamber 105 through the liquid flow path 103 per unit time). and a table or function showing the relationship with the amount of ink). In a specific ink cartridge 50, the shape of the first storage chamber 53 and the viscosity of the ink are constant. The MFP 10 to which the specific ink cartridge 50 is attached is specified. The flow path resistance Rn of the liquid flow path 103 is constant in that particular multifunction machine 10 . Also, if the ink amount Vc in the first storage chamber 53 is specified, the height Hc can be uniquely determined. Therefore, by setting factors such as temperature to approximately 25° C., it is possible to set a table or function specifying the relationship between the ink amount Vc and the flow rate FR.

また、EEPROM234に記憶される各種情報は、例えば、インク量Vc、Vsと、最大インク量Vc0と、C_Emptyフラグと、S_Emptyフラグと、第1初回フラグと、第2初回フラグと、カウント値Nとを含む。 Various information stored in the EEPROM 234 includes, for example, the ink amounts Vc and Vs, the maximum ink amount Vc0, the C_Empty flag, the S_Empty flag, the first initial flag, the second initial flag, and the count value N. including.

[カートリッジ装着処理]
コントローラ230は、カバーセンサ88からハイレベル信号を受信したことに応じて、図21に示されるカートリッジ装着処理を実行する。カートリッジ装着処理は、コントローラ230が、カバー87が開かれたことに応じて、インクカートリッジ50の装着を待機し、さらにコントローラ230が、EEPROM234に記憶されたインク量Vc、Vsを更新する処理である。なお、コントローラ230は、4つのインクカートリッジ50のそれぞれに対して、カートリッジ装着処理を独立して実行する。インクカートリッジ50毎のカートリッジ装着処理は共通するので、1つのインクカートリッジ50に対応するカートリッジ装着処理のみを説明する。また、以下の説明では、図18(A)に示されるように、サブタンク100内にインクが貯留されていない状態の装着ケース71に、新品(すなわち、最大インク量Vc0のインクが貯留された)インクカートリッジ50が装着された場合を前提とする。
[Cartridge loading process]
Controller 230 executes the cartridge mounting process shown in FIG. 21 in response to receiving a high level signal from cover sensor 88 . In the cartridge mounting process, the controller 230 waits for the mounting of the ink cartridge 50 in response to the opening of the cover 87, and further updates the ink amounts Vc and Vs stored in the EEPROM 234. . Note that the controller 230 independently executes the cartridge mounting process for each of the four ink cartridges 50 . Since the cartridge mounting process for each ink cartridge 50 is common, only the cartridge mounting process corresponding to one ink cartridge 50 will be described. Further, in the following description, as shown in FIG. 18A, the mounting case 71 in which no ink is stored in the sub-tank 100 is new (that is, the maximum ink amount Vc0 is stored). It is assumed that the ink cartridge 50 is attached.

まず、コントローラ230は、装着センサ154が出力する信号を受信する(S111)。次に、コントローラ230は、装着センサ154から受信した信号がハイレベル信号及びローレベル信号のどちらであるかを判定する(S112)。そして、コントローラ230は、装着センサ154が出力する信号が、ローレベル信号からハイレベル信号に変化し、再びハイレベル信号からローレベル信号に変化するまで(S112:No)、所定の時間間隔でS111、S112の処理を繰り返し実行する。換言すれば、コントローラ230は、インクカートリッジ50が装着ケース71から抜き出され、新たにインクカートリッジ50が装着ケース71に装着されるまで、S111、S112の処理を繰り返し実行する。 First, the controller 230 receives a signal output by the mounting sensor 154 (S111). Controller 230 then determines whether the signal received from mounting sensor 154 is a high level signal or a low level signal (S112). Then, the controller 230 controls S111 at predetermined time intervals until the signal output from the mounting sensor 154 changes from a low level signal to a high level signal and again changes from a high level signal to a low level signal (S112: No). , S112 are repeatedly executed. In other words, the controller 230 repeats the processes of S111 and S112 until the ink cartridge 50 is pulled out from the mounting case 71 and a new ink cartridge 50 is mounted in the mounting case 71 .

そして、コントローラ230は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことに応じて(S112:Yes)、S113以降の処理を実行する。まず、コントローラ230は、接点152を通じてICチップ66のメモリからCTG情報を読み出し、読み出したCTG情報をEEPROM234に記憶させる(S113)。詳しくは、コントローラ230は、接点152を通じてICチップ66のメモリから、最大インク量Vc0、及びインク量Vcを読み出して、EEPROM234に記憶させる(S113)。また、コントローラ230は、C_Emptyフラグに初期値“OFF”を設定し、S_Emptyフラグに初期値“OFF”を設定し、カウント値Nに初期値“0”を設定する(S114)。
Then, the controller 230 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 (S112: Yes), the process after S113 is executed. First, the controller 230 reads CTG information from the memory of the IC chip 66 through the contact 152, and stores the read CTG information in the EEPROM 234 (S113). Specifically, the controller 230 reads the maximum ink amount Vc0 and the ink amount Vc from the memory of the IC chip 66 through the contact 152 and stores them in the EEPROM 234 (S113). The controller 230 also sets the C_Empty flag to the initial value "OFF", sets the S_Empty flag to the initial value "OFF", and sets the count value N to the initial value "0" (S114).

続いて、コントローラ230は、現在の時刻を経過時間T1の開始時刻としてRAM233に記憶させて、経過時間T1の計測を開始する(S115)。 Subsequently, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T1, and starts measuring the elapsed time T1 (S115).

次に、コントローラ230は、第1初回フラグの設定値に“ON”を設定する(S116)。 Next, the controller 230 sets the set value of the first initial flag to "ON" (S116).

次に、コントローラ230は、EEPROM234に記憶されている現在のインク量Vsを交換後インク量Vs1としてEEPROM234に記憶させ、インクカートリッジ50のICチップ66のメモリに記憶されているインク量Vcを、交換後インク量Vc1としてEEPROM234に記憶させる(S117)。 Next, the controller 230 causes the EEPROM 234 to store the current ink amount Vs stored in the EEPROM 234 as the post-replacement ink amount Vs1, and stores the ink amount Vc stored in the memory of the IC chip 66 of the ink cartridge 50 after replacement. It is stored in the EEPROM 234 as the post ink amount Vc1 (S117).

続いて、コントローラ230は、コントローラ230が信号を受信したか否か、及び、特定動作を開始するか否かを判定する(S118)。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、操作パネル22から操作信号を受信したか否かを判定する。コントローラ230は、通信インタフェース89から受信信号を受信したか否かを判定する。コントローラ230は、パージ処理を開始するか否かを判定する。コントローラ230は、スリープ状態への移行を開始するか否かを判定する。 Subsequently, the controller 230 determines whether or not the controller 230 has received the signal and whether or not to start the specific operation (S118). Specifically, controller 230 determines whether a high level signal or a low level signal is received from cover sensor 88 . Controller 230 determines whether it receives a high level signal or a low level signal from mounting sensor 154 . Controller 230 determines whether it has received a high level signal or a low level signal from tray sensor 29 . Controller 230 determines whether or not an operation signal has been received from operation panel 22 . Controller 230 determines whether or not a reception signal has been received from communication interface 89 . Controller 230 determines whether to start the purge process. The controller 230 determines whether or not to initiate transition to the sleep state.

コントローラ230は、上記のいずれかの信号を受信したと判定したこと、又は、パージ処理を開始すると判定したこと、又は、スリープ状態への移行を開始すると判定したことに応じて(S118:Yes)、S119以降の処理を実行する。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S118:Yes)、S119以降の処理を実行する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S118:Yes)、S119以降の処理を実行する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S118:Yes)、S19以降の処理を実行する。コントローラ230は、操作パネル22から操作信号を受信したと判定したことに応じて(S118:Yes)、S19以降の処理を実行する。コントローラ230は、通信インタフェース89から受信信号を受信したと判定したことに応じて(S118:Yes)、S119以降の処理を実行する。コントローラ230は、パージ処理を開始すると判定したことに応じて(S118:Yes)、S119以降の処理を実行する。コントローラ230は、スリープ状態への移行を開始すると判定したことに応じて(S118:Yes)、S119以降の処理を実行する。 The controller 230 determines that it has received one of the above signals, or that it determines to start the purge process, or that it determines that it starts transitioning to the sleep state (S118: Yes). , the processing from S119 onward is executed. Specifically, when the controller 230 determines that it has received a high level signal or a low level signal from the cover sensor 88 (S118: Yes), it executes the processes from S119 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the mounting sensor 154 (S118: Yes), it executes the processes from S119 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the tray sensor 29 (S118: Yes), it executes the processes from S19 onwards. Upon determining that the operation signal has been received from the operation panel 22 (S118: Yes), the controller 230 executes the processes from S19 onward. When the controller 230 determines that the reception signal has been received from the communication interface 89 (S118: Yes), it executes the processes from S119 onwards. When the controller 230 determines to start the purge process (S118: Yes), it executes the processes from S119 onwards. When the controller 230 determines to start transitioning to the sleep state (S118: Yes), the controller 230 executes the processes from S119 onwards.

コントローラ230は、第1初回フラグの設定値について判定する(S119)。コントローラ230は、第1初回フラグの設定値が“ON”であると判定したことに応じて(S119:ON)、S115でRAM233に記憶させた経過時間T1の開始時刻と現在の時刻とから、経過時間T1を算出し、算出した経過時間T1を算出期間Δtとして決定し、RAM233に記憶させる(S120)。ここで、経過時間T1は、S112にてYesと判定されてから、S118にて初めてYesと判定されるまでの時間である。決定された算出期間Δtは、第1期間Δt1の一例である。 The controller 230 determines the set value of the first initial flag (S119). In response to determining that the set value of the first initial flag is "ON" (S119: ON), the controller 230, based on the start time of the elapsed time T1 stored in the RAM 233 in S115 and the current time, The elapsed time T1 is calculated, the calculated elapsed time T1 is determined as the calculation period Δt, and stored in the RAM 233 (S120). Here, the elapsed time T1 is the time from the determination of YES in S112 to the determination of YES for the first time in S118. The determined calculation period Δt is an example of the first period Δt1.

コントローラ230は、第1初回フラグの設定値が“OFF”であると判定したことに応じて(S119:OFF)、後述するS127でRAM233に記憶させる経過時間T2の開始時刻と現在の時刻とから、経過時間T2を算出し、算出した経過時間T2を算出期間Δtとして決定し、RAM233に記憶させる(S121)。ここで、経過時間T2は、S118にてYesと判定されてから、次にS118でYesと判定されるまでの時間である。決定された算出期間Δtは、第2期間Δt2の一例である。 When the controller 230 determines that the set value of the first initial flag is "OFF" (S119: OFF), the controller 230 determines the elapsed time T2 from the start time and the current time to be stored in the RAM 233 in S127, which will be described later. , the elapsed time T2 is calculated, the calculated elapsed time T2 is determined as the calculation period Δt, and stored in the RAM 233 (S121). Here, the elapsed time T2 is the time from the determination of YES in S118 to the determination of YES in S118. The determined calculation period Δt is an example of the second period Δt2.

また、コントローラ230は、S120及びS121にて、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tkとして決定し、RAM233に記憶させる(S120,S121)。時刻tk-1は、経過時間T1の開始時刻又は経過時間T2の開始時刻である。時刻tkは、現在の時刻、すなわちS119の処理を実行した時刻である。 Further, in S120 and S121, the controller 230 determines the start time of the calculation period Δt as time t k−1 and the end time as time tk, and stores them in the RAM 233 (S120, S121). The time t k−1 is the start time of the elapsed time T1 or the start time of the elapsed time T2. Time tk is the current time, that is, the time when the process of S119 was executed.

続いて、コントローラ230は、流出量Qa、Qc、及びインク量Vc、Vsを決定する(S122、S123)。 Subsequently, the controller 230 determines the outflow amounts Qa, Qc and the ink amounts Vc, Vs (S122, S123).

まず、流出量Qaは、連通口129を通じて第2貯留室105から算出期間Δtの間に流出するインクの量を示す。コントローラ230は、式1を用いて、流出量Qaを算出する(S122)。算出期間Δtの間にシートへの画像の記録(S146)やパージ処理等、記録ヘッド39を通じたインクの排出が行われていない場合には、Qa=0となる。 First, the outflow amount Qa indicates the amount of ink that flows out from the second storage chamber 105 through the communication port 129 during the calculation period Δt. The controller 230 calculates the outflow amount Qa using Equation 1 (S122). Qa=0 when ink is not discharged through the recording head 39 during the calculation period Δt, such as recording of an image on the sheet (S146) or purge processing.

Figure 0007131270000007
Figure 0007131270000007

流出量Qcは、液体流路103を通じて、算出期間Δtの間に第1貯留室53から第2貯留室105に流出するインクの量を示す。コントローラ230は、ICチップ66に記憶されたインク量Vcと流量FRとのテーブル又は関数から、流量FRを取得する。そして、コントローラ230は、その流量FRとのに算出期間Δtを乗じることによって流出量Qcを算出する(Qc=FR×Δt)。 The outflow amount Qc indicates the amount of ink that flows out from the first storage chamber 53 to the second storage chamber 105 through the liquid flow path 103 during the calculation period Δt. The controller 230 obtains the flow rate FR from a table or function of the ink amount Vc and the flow rate FR stored in the IC chip 66 . Then, the controller 230 calculates the outflow amount Qc by multiplying the flow amount FR by the calculation period Δt (Qc=FR×Δt).

次に、コントローラ230は、EEPROM234に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S123)。すなわち、コントローラ230は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 230 reads the ink amount Vc stored in the EEPROM 234 as the ink amount Vc' at time tk -1 . Then, the controller 230 substitutes the ink amount Vc′ read from the EEPROM 234 and the outflow amount Qc calculated immediately before into Equation 3 to calculate the ink amount Vc at time tk (S123). That is, the controller 230 subtracts the outflow amount Qc of the ink flowing out from the first storage chamber 53 to the second storage chamber 105 during the calculation period Δt from the ink amount Vc′ at the time tk −1 , , the ink amount Vc is calculated.

Figure 0007131270000008
Figure 0007131270000008

またS123において、コントローラ230は、EEPROM234に記憶されたインク量Vsを、時刻tk-1におけるインク量Vs’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に代入して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ230は、時刻tk-1におけるインク量Vs’に、算出期間Δtの間にサブタンク100から流出したインクの流出量Qaを減じ、且つ算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S123, the controller 230 reads the ink amount Vs stored in the EEPROM 234 as the ink amount Vs' at time tk -1 . Then, the controller 230 substitutes the ink amount Vs′ read from the EEPROM 234 and the outflow amounts Qa and Qc calculated immediately before into Equation 4 to calculate the ink amount Vs at time tk . That is, the controller 230 subtracts the outflow amount Qa of the ink flowing out of the sub-tank 100 during the calculation period Δt from the ink amount Vs′ at the time tk −1 , and The ink amount Vs at time tk is calculated by adding the outflow amount Qc of the ink that has flowed out to the second storage chamber 105 .

Figure 0007131270000009
Figure 0007131270000009

次に、コントローラ230は、S123で算出したインク量Vc、VsをEEPROM234に記憶させる(S124)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vsを、直前のS123で算出したインク量Vc、Vsで上書きする。 Next, the controller 230 stores the ink amounts Vc and Vs calculated in S123 in the EEPROM 234 (S124). More specifically, the controller 230 overwrites the ink amounts Vc and Vs stored in the EEPROM 234 with the ink amounts Vc and Vs calculated in S123 immediately before.

また、コントローラ230は、S123で算出したインク量Vcを、接点152を通じてICチップ66のメモリに記憶させる(S125)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vcを、直前のS123で算出したインク量Vcで上書きする。 Also, the controller 230 stores the ink amount Vc calculated in S123 in the memory of the IC chip 66 through the contact 152 (S125). More specifically, the controller 230 overwrites the ink amount Vc stored in the second area of the memory of the IC chip 66 with the ink amount Vc calculated in S123 immediately before.

そして、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S126)。インク残量画面は、算出したインク量Vc及びインク量Vsの双方をユーザに報知するための画面である。インク残量画面は、例えば図20に示される画面である。 Then, the controller 230 causes the display 17 to display the ink remaining amount screen (S126). The ink remaining amount screen is a screen for notifying the user of both the calculated ink amount Vc and ink amount Vs. The ink remaining amount screen is, for example, the screen shown in FIG.

次に、コントローラ230は、現在の時刻を経過時間T2の開始時刻としてRAM233に記憶させて、経過時間T2の計測を開始する(S127)。 Next, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T2, and starts measuring the elapsed time T2 (S127).

続いて、コントローラ230は、第1初回フラグの設定値に“OFF”を設定する(S128)。 Subsequently, the controller 230 sets the setting value of the first initial flag to "OFF" (S128).

次に、コントローラ230は、S123で算出したインク量Vsと、容積Vthとを比較する(S135)。図18(B)に示されるように、インク量Vsが容積Vthになると、サブタンク100の第2貯留室105における液面が仮想線Lに到達する。これにより、気体流路104の第3開口141がインクにより閉塞されて、第1貯留室53及び第2貯留室105の間においてインクが移動しない。第1貯留室53及び第2貯留室105の間において、実質的にインクが移動しない状態を、平衡状態とする。 Next, the controller 230 compares the ink amount Vs calculated in S123 with the volume Vth (S135). As shown in FIG. 18B, the liquid surface in the second storage chamber 105 of the sub-tank 100 reaches the imaginary line L when the ink amount Vs reaches the volume Vth . As a result, the ink blocks the third opening 141 of the gas flow path 104 , and the ink does not move between the first storage chamber 53 and the second storage chamber 105 . A state in which ink does not substantially move between the first storage chamber 53 and the second storage chamber 105 is defined as an equilibrium state.

コントローラ230は、インク量Vsが容積Vth未満と判定したことに応じて(S129:No)、S118以降の処理を実行する。コントローラ230は、インク量Vsが容積Vth以上と判定したことに応じて(S129:Yes)、カートリッジ装着処理を終了する。 In response to determining that the ink amount Vs is less than the volume Vth (S129: No), the controller 230 executes the processes from S118. When the controller 230 determines that the ink amount Vs is equal to or greater than the volume Vth (S129: Yes), the cartridge mounting process ends.

コントローラ230は、S118にて、いずれの信号も受信しておらず、且つ、パージ処理を開始せず、且つ、スリープ状態への移行を開始しないと判定したことに応じて(S118:No)、上記経過時間T1が閾値時間Th1を越えたか否かを判定する(S130)。経過時間T1は、S115でRAM233に記憶させた経過時間T1の開始時刻と現在の時刻との差の時間である。コントローラ230は、経過時間T1が閾値時間Th1を越えていないと判定したことに応じて(S130:No)、S118の処理を再び実行する。 When the controller 230 determines in S118 that it has not received any signal, does not start the purge process, and does not start transitioning to the sleep state (S118: No), It is determined whether or not the elapsed time T1 exceeds the threshold time Th1 (S130). The elapsed time T1 is the difference between the start time of the elapsed time T1 stored in the RAM 233 in S115 and the current time. In response to determining that the elapsed time T1 has not exceeded the threshold time Th1 (S130: No), the controller 230 executes the process of S118 again.

コントローラ230は、経過時間T1が閾値時間Th1を越えたと判定したことに応じて(S130:Yes)、インクカートリッジ50からサブタンク100へのインクの流入が完了した状態のインク量Vc、Vsを算出する(S131)。 When the controller 230 determines that the elapsed time T1 has exceeded the threshold time Th1 (S130: Yes), the controller 230 calculates the ink amounts Vc and Vs when the ink has completely flowed from the ink cartridge 50 to the sub-tank 100. (S131).

まず、コントローラ230は、S17でEEPROM234に記憶させた交換後インク量Vc1とVs1との和を、交換後の総量Vt1として算出する(Vt1=Vc1+Vs1)。次に、コントローラ230は、総量Vtが容積Vthより大きければ、インク量Vsを容積Vthとし、また、インク量Vcを、総量VtからVthを差し引いた値(Vc=Vt-Vth)とする。他方、コントローラ230は、総量Vtが容積Vthより小さければ、インク量Vcをゼロとし、インク量Vsを総量Vtとする。 First, the controller 230 calculates the sum of the post-replacement ink amounts Vc1 and Vs1 stored in the EEPROM 234 in S17 as the post-replacement total amount Vt1 (Vt1=Vc1+Vs1). Next, if the total amount Vt is greater than the volume V th , the controller 230 sets the ink amount Vs to the volume V th , and sets the ink amount Vc to a value obtained by subtracting V th from the total amount Vt (Vc=Vt−V th ). and On the other hand, if the total amount Vt is smaller than the volume Vth , the controller 230 sets the ink amount Vc to zero and the ink amount Vs to the total amount Vt.

次に、コントローラ230は、S131で算出したインク量Vc、VsをEEPROM234に記憶させる(S132)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vsを、直前のS131で算出したインク量Vc、Vsで上書きする。 Next, the controller 230 stores the ink amounts Vc and Vs calculated in S131 in the EEPROM 234 (S132). More specifically, the controller 230 overwrites the ink amounts Vc and Vs stored in the EEPROM 234 with the ink amounts Vc and Vs calculated in S131 immediately before.

また、コントローラ230は、S131で算出したインク量Vcを、接点152を通じてICチップ66のメモリに記憶させる(S133)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vcを、直前のS131で算出したインク量Vcで上書きする。 Also, the controller 230 stores the ink amount Vc calculated in S131 in the memory of the IC chip 66 through the contact 152 (S133). More specifically, the controller 230 overwrites the ink amount Vc stored in the second area of the memory of the IC chip 66 with the ink amount Vc calculated immediately before at S131.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S134)。インク残量画面は、S126でディスプレイ17に表示させるインク残量画面と同様であってよい。そして、コントローラ230は、カートリッジ装着処理を終了する。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S134). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S126. The controller 230 then ends the cartridge mounting process.

[残量更新処理]
次に図22を参照して、コントローラ230がS50で実行する残量更新処理の詳細を説明する。なお、コントローラ230は、4つのインクカートリッジ50のそれぞれに対して、残量更新処理を独立して実行する。インクカートリッジ50毎の残量更新処理は共通するので、1つのインクカートリッジ50に対応する残量更新処理のみを説明する。
[Remaining amount update process]
Next, with reference to FIG. 22, details of the remaining amount update process executed by the controller 230 in S50 will be described. Note that the controller 230 independently executes the remaining amount update process for each of the four ink cartridges 50 . Since the remaining amount update process for each ink cartridge 50 is common, only the remaining amount update process for one ink cartridge 50 will be described.

まず、コントローラ230は、C_Emptyフラグの設定値について判定する(S171)。コントローラ230は、C_Emptyフラグの設定値が“ON”であると判定したことに応じて(S171:ON)、残量更新処理を終了する。C_Emptyに“ON”が設定されるのは(S163)、液面センサ155の出力がローレベル信号からハイレベル信号に変化した場合である(S:151:L→H)。このとき、サブタンク100の第2貯留室105の液面が、図19に示されるように、S45の処理中に所定位置Bに達している。そして、これ以降は、インクカートリッジ50とサブタンク100との間でインクが移動しないため、インク量Vcを更新する必要がない。そこで図22に示されるように、コントローラ230は、C_Emptyフラグに“ON”が設定されていることに応じて(S171:ON)、残量更新処理を終了する。なお、インク量Vsは、C_Emptyフラグに“ON”が設定された後、カウント処理のS68で更新される。 First, the controller 230 determines the set value of the C_Empty flag (S171). When the controller 230 determines that the setting value of the C_Empty flag is "ON" (S171: ON), it ends the remaining amount update process. C_Empty is set to "ON" (S163) when the output of the liquid level sensor 155 changes from a low level signal to a high level signal (S: 151: L→H). At this time, the liquid level in the second storage chamber 105 of the sub-tank 100 reaches a predetermined position B during the process of S45, as shown in FIG. After that, since the ink does not move between the ink cartridge 50 and the sub-tank 100, there is no need to update the ink amount Vc. Therefore, as shown in FIG. 22, the controller 230 terminates the remaining amount update process in response to the C_Empty flag being set to "ON" (S171: ON). Note that the ink amount Vs is updated in S68 of the counting process after the C_Empty flag is set to "ON".

コントローラ230は、C_Emptyフラグの設定値が“OFF”であると判定したことに応じて(S171:OFF)、算出期間Δtを決定する(S172)。詳しくは、コントローラ230は、S45で1ページ目のシートの画像記録のために記録ヘッド39からのインクの排出が開始されてから、全ページのシートの画像記録が終了するまで(S49:No)の期間を、算出期間Δtとして決定し、RAM233に記憶させる(S172)。また、コントローラ230は、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tとして決定し、RAM233に記憶させる。時刻tk-1は、S45で1ページ目のシートの画像記録のために記録ヘッド39からのインクの排出を開始した時刻である。時刻tは、全ページのシートの画像記録が終了した(S49:No)時刻であり、S172の処理を実行した時刻である。決定された算出期間Δtは、排出期間Δthの一例である。 When the controller 230 determines that the set value of the C_Empty flag is "OFF" (S171: OFF), the controller 230 determines the calculation period Δt (S172). Specifically, the controller 230 controls the operation from the start of discharging ink from the recording head 39 for image recording of the first page sheet in S45 to the end of image recording of all pages of sheets (S49: No). is determined as the calculation period Δt and stored in the RAM 233 (S172). Further, the controller 230 determines the start time of the calculation period Δt as time t k−1 and the end time as time t k , and stores them in the RAM 233 . Time tk -1 is the time when ink discharge from the recording head 39 is started for image recording of the first page sheet in S45. Time tk is the time when image recording of all pages of sheets is completed (S49: No), and the time when the process of S172 is executed. The determined calculation period Δt is an example of the discharge period Δth.

次に、コントローラ230は、流出量Qa、Qc、インク量Vc、Vsを算出する(S173、S174)。まず、コントローラ230は、式1を用いて、算出期間Δtの間の流出量Qaを算出する(S173)。インク排出量Dh(tk-1)は、今回の画像記録処理のS45の開始までに排出を指示したインク量に相当する。なお、時刻tk-1は、S45で1ページ目のシートへの画像記録のために記録ヘッド39からのインクの排出を開始した時刻であり、時刻tk-1では未だインクの排出を行っていないので、インク排出量Dh(tk-1)はゼロである。インク排出量Dh(tk)は、今回の画像記録処理の全ページの画像記録が終了したときまでに排出を指示したインク量に相当する。 Next, the controller 230 calculates outflow amounts Qa, Qc and ink amounts Vc, Vs (S173, S174). First, the controller 230 uses Equation 1 to calculate the outflow amount Qa during the calculation period Δt (S173). The ink discharge amount Dh(t k−1 ) corresponds to the ink amount instructed to be discharged by the start of S45 of the current image recording process. Note that the time tk -1 is the time when ink discharge from the recording head 39 is started in order to record an image on the sheet of the first page in S45, and the ink is not yet discharged at the time tk -1 . , the ink discharge amount Dh(t k-1 ) is zero. The ink discharge amount Dh(tk) corresponds to the ink amount instructed to be discharged by the time image recording of all pages in the current image recording process is completed.

流出量Qcは、液体流路103を通じて、算出期間Δtの間に第1貯留室53から第2貯留室105に流出するインクの量を示す。コントローラ230は、ICチップ66に記憶されたインク量Vcと流量FRとのテーブル又は関数から、流量FRを取得する。そして、コントローラ230は、その流量FRとのに算出期間Δtを乗じることによって流出量Qcを算出する(Qc=FR×Δt)。 The outflow amount Qc indicates the amount of ink that flows out from the first storage chamber 53 to the second storage chamber 105 through the liquid flow path 103 during the calculation period Δt. The controller 230 obtains the flow rate FR from a table or function of the ink amount Vc and the flow rate FR stored in the IC chip 66 . Then, the controller 230 calculates the outflow amount Qc by multiplying the flow amount FR by the calculation period Δt (Qc=FR×Δt).

次に、コントローラ230は、EEPROM234に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S174)。すなわち、コントローラ230は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 230 reads the ink amount Vc stored in the EEPROM 234 as the ink amount Vc' at time tk -1 . Then, the controller 230 substitutes the ink amount Vc′ read from the EEPROM 234 and the outflow amount Qc calculated immediately before into Equation 3 to calculate the ink amount Vc at time tk (S174). That is, the controller 230 subtracts the outflow amount Qc of the ink flowing out from the first storage chamber 53 to the second storage chamber 105 during the calculation period Δt from the ink amount Vc′ at the time tk −1 , , the ink amount Vc is calculated.

またS174において、コントローラ230は、EEPROM234に記憶されたインク量Vsを、時刻tk-1におけるインク量Vs’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に代入して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ230は、時刻tk-1におけるインク量Vs’に、算出期間Δtの間にサブタンク100から流出したインクの流出量Qaを減じ、且つ算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S174, the controller 230 reads the ink amount Vs stored in the EEPROM 234 as the ink amount Vs' at time tk -1 . Then, the controller 230 substitutes the ink amount Vs′ read from the EEPROM 234 and the outflow amounts Qa and Qc calculated immediately before into Equation 4 to calculate the ink amount Vs at time tk . That is, the controller 230 subtracts the outflow amount Qa of the ink flowing out of the sub-tank 100 during the calculation period Δt from the ink amount Vs′ at the time tk −1 , and The ink amount Vs at time tk is calculated by adding the outflow amount Qc of the ink that has flowed out to the second storage chamber 105 .

次に、コントローラ230は、S174で算出したインク量Vc、VsをEEPROM234に記憶させる(S175)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vsを、直前のS174で算出したインク量Vc、Vsで上書きする。 Next, the controller 230 causes the EEPROM 234 to store the ink amounts Vc and Vs calculated in S174 (S175). More specifically, the controller 230 overwrites the ink amounts Vc and Vs stored in the EEPROM 234 with the ink amounts Vc and Vs calculated in S174 immediately before.

また、コントローラ230は、S174で算出したインク量Vcを、接点152を通じてICチップ66のメモリに記憶させる(S176)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vcを、直前のS174で算出したインク量Vcで上書きする。 Also, the controller 230 stores the ink amount Vc calculated in S174 in the memory of the IC chip 66 through the contact 152 (S176). More specifically, the controller 230 overwrites the ink amount Vc stored in the second area of the memory of the IC chip 66 with the ink amount Vc calculated immediately before at S174.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S177)。インク残量画面は、S126でディスプレイ17に表示させるインク残量画面と同様であってよい。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S177). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S126.

次に、コントローラ230は、現在の時刻を経過時間T4の開始時刻としてRAM233に記憶させて、経過時間T4の計測を開始する(S178)。 Next, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T4, and starts measuring the elapsed time T4 (S178).

続いて、コントローラ230は、第2初回フラグの設定値に“ON”を設定する(S179)。 Subsequently, the controller 230 sets the setting value of the second initial flag to "ON" (S179).

コントローラ230は、インク量Vsが容積Vth未満と判定したことに応じて(S180:No)、S181以降の処理を実行する。コントローラ230は、インク量Vsが容積Vth以上と判定したことに応じて(S180:Yes)、残量更新処理を終了する。 When the controller 230 determines that the ink amount Vs is less than the volume Vth (S180: No), it executes the processes from S181 onwards. When the controller 230 determines that the ink amount Vs is equal to or greater than the volume Vth (S180: Yes), the remaining amount update process ends.

コントローラ230は、コントローラ230が信号を受信したか否か、及び、特定動作を開始するか否かを判定する(S181)。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したか否かを判定する。コントローラ230は、操作パネル22から操作信号を受信したか否かを判定する。コントローラ230は、通信インタフェース89から受信信号を受信したか否かを判定する。コントローラ230は、パージ処理を開始するか否かを判定する。コントローラ230は、スリープ状態への移行を開始するか否かを判定する。 The controller 230 determines whether or not the controller 230 has received the signal and whether or not to start the specific operation (S181). Specifically, controller 230 determines whether a high level signal or a low level signal is received from cover sensor 88 . Controller 230 determines whether it receives a high level signal or a low level signal from mounting sensor 154 . Controller 230 determines whether it has received a high level signal or a low level signal from tray sensor 29 . Controller 230 determines whether or not an operation signal has been received from operation panel 22 . Controller 230 determines whether or not a reception signal has been received from communication interface 89 . Controller 230 determines whether to start the purge process. The controller 230 determines whether or not to initiate transition to the sleep state.

コントローラ230は、上記のいずれかの信号を受信したと判定したこと、又は、パージ処理を開始すると判定したこと、又は、スリープ状態への移行を開始すると判定したことに応じて(S181:Yes)、S182以降の処理を実行する。詳しくは、コントローラ230は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S181:Yes)、S182以降の処理を実行する。コントローラ230は、装着センサ154からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S181:Yes)、S182以降の処理を実行する。コントローラ230は、トレイセンサ29からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S181:Yes)、S182以降の処理を実行する。コントローラ230は、操作パネル22から操作信号を受信したと判定したことに応じて(S181:Yes)、S182以降の処理を実行する。コントローラ230は、通信インタフェース89から受信信号を受信したと判定したことに応じて(S181:Yes)、S182以降の処理を実行する。コントローラ230は、パージ処理を開始すると判定したことに応じて(S181:Yes)、S182以降の処理を実行する。コントローラ230は、スリープ状態への移行を開始すると判定したことに応じて(S181:Yes)、S182以降の処理を実行する。 The controller 230 determines that it has received any one of the above signals, or determines that it starts the purge process, or determines that it starts transitioning to the sleep state (S181: Yes). , the processing from S182 onward is executed. More specifically, when the controller 230 determines that it has received a high level signal or a low level signal from the cover sensor 88 (S181: Yes), it executes the processes from S182 onwards. When the controller 230 determines that it has received a high-level signal or a low-level signal from the mounting sensor 154 (S181: Yes), it executes the processes from S182 onwards. When the controller 230 determines that it has received a high level signal or a low level signal from the tray sensor 29 (S181: Yes), it executes the processes from S182 onwards. Upon determining that the operation signal has been received from the operation panel 22 (S181: Yes), the controller 230 executes the processes from S182 onward. When the controller 230 determines that the reception signal has been received from the communication interface 89 (S181: Yes), it executes the processes from S182 onwards. When the controller 230 determines to start the purge process (S181: Yes), the process from S182 onwards is executed. When the controller 230 determines to start transitioning to the sleep state (S181: Yes), the controller 230 executes the processes from S182 onward.

コントローラ230は、第2初回フラグの設定値について判定する(S182)。コントローラ230は、第2初回フラグの設定値が“ON”であると判定したことに応じて(S182:ON)、S178でRAM233に記憶させた経過時間T4の開始時刻と現在の時刻とから、経過時間T4を算出し、算出した経過時間T4を算出期間Δtとして決定し、RAM233に記憶させる(S183)。ここで、経過時間T4は、S180でNoと判定されてから、S181にて初めてYesと判定されるまでの時間である。決定された算出期間Δtは、排出後第1期間Δth1の一例である。 The controller 230 determines the set value of the second initial flag (S182). In response to determining that the set value of the second initial flag is "ON" (S182: ON), the controller 230, based on the start time of the elapsed time T4 stored in the RAM 233 in S178 and the current time, The elapsed time T4 is calculated, the calculated elapsed time T4 is determined as the calculation period Δt, and stored in the RAM 233 (S183). Here, the elapsed time T4 is the time from the determination of No in S180 to the determination of Yes for the first time in S181. The determined calculation period Δt is an example of the first post-ejection period Δth1.

コントローラ230は、第2初回フラグの設定値が“OFF”であると判定したことに応じて(S182:OFF)、後述するS190でRAM233に記憶させる経過時間T5の開始時刻と現在の時刻とから、経過時間T5を算出し、算出した経過時間T5を算出期間Δtとして決定し、RAM233に記憶させる(S184)。ここで、経過時間T5は、S181にてYesと判定されてから、次にS181でYesと判定されるまでの時間である。決定された算出期間Δtは、排出後第2期間Δth2の一例である。 When the controller 230 determines that the set value of the second initial flag is "OFF" (S182: OFF), the controller 230 calculates the elapsed time T5 from the start time and the current time to be stored in the RAM 233 in S190, which will be described later. , the elapsed time T5 is calculated, the calculated elapsed time T5 is determined as the calculation period Δt, and stored in the RAM 233 (S184). Here, the elapsed time T5 is the time from when it is determined as YES in S181 to when it is determined as YES in S181 next time. The determined calculation period Δt is an example of the post-ejection second period Δth2.

また、コントローラ230は、S183及びS184にて、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tとして決定し、RAM233に記憶させる(S183,S184)。時刻tk-1は、経過時間T4の開始時刻又は経過時間T5の開始時刻である。時刻tは、現在の時刻、すなわちS182の処理を実行した時刻である。 Further, in S183 and S184, the controller 230 determines the start time of the calculation period Δt as time t k−1 and the end time as time t k , and stores them in the RAM 233 (S183, S184). Time t k−1 is the start time of elapsed time T4 or the start time of elapsed time T5. Time tk is the current time, that is, the time when the process of S182 was executed.

次に、コントローラ230は、流出量Qa、Qc、及びインク量Vc、Vsを算出する(S185、S186)。まず、コントローラ230は、式1を用いて、算出期間Δtの間の流出量Qaを算出する(S185)。算出期間Δtの間にシートへの画像の記録(S46)やパージ処理等、記録ヘッド39を通じたインクの排出が行われていない場合には、Qa=0となる。 Next, the controller 230 calculates outflow amounts Qa, Qc and ink amounts Vc, Vs (S185, S186). First, the controller 230 uses Equation 1 to calculate the outflow amount Qa during the calculation period Δt (S185). Qa=0 when ink is not discharged through the recording head 39 during the calculation period Δt, such as recording of an image on the sheet (S46) or purge processing.

流出量Qcは、液体流路103を通じて、算出期間Δtの間に第1貯留室53から第2貯留室105に流出するインクの量を示す。コントローラ230は、ICチップ66に記憶されたインク量Vcと流量FRとのテーブル又は関数から、流量FRを取得する。そして、コントローラ230は、その流量FRとのに算出期間Δtを乗じることによって流出量Qcを算出する(Qc=FR×Δt)。 The outflow amount Qc indicates the amount of ink that flows out from the first storage chamber 53 to the second storage chamber 105 through the liquid flow path 103 during the calculation period Δt. The controller 230 obtains the flow rate FR from a table or function of the ink amount Vc and the flow rate FR stored in the IC chip 66 . Then, the controller 230 calculates the outflow amount Qc by multiplying the flow amount FR by the calculation period Δt (Qc=FR×Δt).

次に、コントローラ230は、EEPROM234に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ230は、EEPROM234から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S186)。すなわち、コントローラ230は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に第1貯留室53から第2貯留室105に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 230 reads the ink amount Vc stored in the EEPROM 234 as the ink amount Vc' at time tk -1 . Then, the controller 230 substitutes the ink amount Vc' read from the EEPROM 234 and the outflow amount Qc calculated immediately before into Equation 3 to calculate the ink amount Vc at time tk ( S186 ). That is, the controller 230 subtracts the outflow amount Qc of the ink flowing out from the first storage chamber 53 to the second storage chamber 105 during the calculation period Δt from the ink amount Vc′ at the time tk −1 , , the ink amount Vc is calculated.

次に、コントローラ230は、S186で算出したインク量Vc、VsをEEPROM234に記憶させる(S187)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vsを、直前のS174で算出したインク量Vc、Vsで上書きする。 Next, the controller 230 causes the EEPROM 234 to store the ink amounts Vc and Vs calculated in S186 (S187). More specifically, the controller 230 overwrites the ink amounts Vc and Vs stored in the EEPROM 234 with the ink amounts Vc and Vs calculated in S174 immediately before.

また、コントローラ230は、S186で算出したインク量Vcを、接点152を通じてICチップ66のメモリに記憶させる(S188)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vcを、直前のS186で算出したインク量Vcで上書きする。 Also, the controller 230 stores the ink amount Vc calculated in S186 in the memory of the IC chip 66 through the contact 152 (S188). More specifically, the controller 230 overwrites the ink amount Vc stored in the second area of the memory of the IC chip 66 with the ink amount Vc calculated immediately before in S186.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S189)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S189). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S26.

次に、コントローラ230は、現在の時刻を経過時間T5の開始時刻としてRAM233に記憶させて、経過時間T5の計測を開始する(S190)。 Next, the controller 230 causes the RAM 233 to store the current time as the start time of the elapsed time T5, and starts measuring the elapsed time T5 (S190).

続いて、コントローラ230は、第2初回フラグの設定値に“OFF”を設定する(S191)。 Subsequently, the controller 230 sets the setting value of the second initial flag to "OFF" (S191).

コントローラ230は、インク量Vsが容積Vth未満と判定したことに応じて(S192:No)、S181以降の処理を再び実行する。コントローラ230は、インク量Vsが容積Vth以上と判定したことに応じて(S192:Yes)、残量更新処理を終了する。 When the controller 230 determines that the ink amount Vs is less than the volume Vth (S192: No), the controller 230 executes the processes after S181 again. When the controller 230 determines that the ink amount Vs is equal to or greater than the volume Vth (S192: Yes), the remaining amount update process ends.

コントローラ230は、S181にて、いずれの信号も受信しておらず、且つ、パージ処理を開始せず、且つ、スリープ状態への移行を開始しないと判定したことに応じて(S181:No)、上記経過時間T3が、閾値時間Th2を越えたか否かを判定する(S193)。経過時間T3は、S47でRAM233に記憶させた経過時間T3の開始時刻と現在の時刻との差の時間である。コントローラ230は、経過時間T3が閾値時間Th2を越えていないと判定したことに応じて(S193:No)、S181の処理を再び実行する。 When the controller 230 determines in S181 that it has not received any signal, does not start the purge process, and does not start transitioning to the sleep state (S181: No), It is determined whether or not the elapsed time T3 exceeds the threshold time Th2 (S193). The elapsed time T3 is the difference between the start time of the elapsed time T3 stored in the RAM 233 in S47 and the current time. In response to determining that the elapsed time T3 has not exceeded the threshold time Th2 (S193: No), the controller 230 executes the process of S181 again.

コントローラ230は、経過時間T3が閾値時間Th2を越えたと判定したことに応じて(S193:Yes)、インクカートリッジ50からサブタンク100へのインクの流入が完了した状態のインク量Vc、Vsを算出する(S194)。 When the controller 230 determines that the elapsed time T3 has exceeded the threshold time Th2 (S193: Yes), the controller 230 calculates the ink amounts Vc and Vs when the ink has completely flowed from the ink cartridge 50 to the sub-tank 100. (S194).

まず、コントローラ230は、S17でEEPROM234に記憶させた交換後インク量Vc1とVs1との和を、交換後の総量Vt1として算出する(Vt1=Vc1+Vs1)。次に、コントローラ230は、交換後総量Vt1から、カウント値TNに相当するインク量を差し引いた値として、現在の総量Vtを算出する(Vt=Vt1-TN)。次に、コントローラ230は、総量Vtが容積Vthより大きければ、インク量Vsを容積Vthとし、また、インク量Vcを、総量VtからVthを差し引いた値(Vc=Vt-Vth)とする。他方、コントローラ230は、総量Vtが容積Vthより小さければ、インク量Vcをゼロとし、インク量Vsを総量Vtとする。 First, the controller 230 calculates the sum of the post-replacement ink amounts Vc1 and Vs1 stored in the EEPROM 234 in S17 as the post-replacement total amount Vt1 (Vt1=Vc1+Vs1). Next, the controller 230 calculates the current total amount Vt by subtracting the ink amount corresponding to the count value TN from the post-replacement total amount Vt1 (Vt=Vt1−TN). Next, if the total amount Vt is greater than the volume V th , the controller 230 sets the ink amount Vs to the volume V th , and sets the ink amount Vc to a value obtained by subtracting V th from the total amount Vt (Vc=Vt−V th ). and On the other hand, if the total amount Vt is smaller than the volume Vth , the controller 230 sets the ink amount Vc to zero and the ink amount Vs to the total amount Vt.

次に、コントローラ230は、S194で算出したインク量Vc、VsをEEPROM234に記憶させる(S195)。より詳細には、コントローラ230は、EEPROM234に記憶されているインク量Vc、Vsを、直前のS194で算出したインク量Vc、Vsで上書きする。 Next, the controller 230 causes the EEPROM 234 to store the ink amounts Vc and Vs calculated in S194 (S195). More specifically, the controller 230 overwrites the ink amounts Vc and Vs stored in the EEPROM 234 with the ink amounts Vc and Vs calculated in S194 immediately before.

また、コントローラ230は、S194で算出したインク量Vcを、接点152を通じてICチップ66のメモリに記憶させる(S196)。より詳細には、コントローラ230は、ICチップ66のメモリの第2領域に記憶されているインク量Vcを、直前のS194で算出したインク量Vcで上書きする。 Also, the controller 230 stores the ink amount Vc calculated in S194 in the memory of the IC chip 66 through the contact 152 (S196). More specifically, the controller 230 overwrites the ink amount Vc stored in the second area of the memory of the IC chip 66 with the ink amount Vc calculated in S194 immediately before.

続いて、コントローラ230は、インク残量画面をディスプレイ17に表示させる(S197)。インク残量画面は、S126でディスプレイ17に表示させるインク残量画面と同様であってよい。そして、コントローラ230は、残量更新処理を終了する。 Subsequently, the controller 230 causes the display 17 to display an ink remaining amount screen (S197). The remaining ink screen may be the same as the remaining ink screen displayed on the display 17 in S126. The controller 230 then ends the remaining amount update process.

[変形例]
上記各実施形態では、液体流路103の第1開口131が所定位置Bより上方であるが、第1開口131は、所定位置Bより下方であって第2貯留室105の底面付近にあってもよい。この場合、第1貯留室53に貯留されたインクと、第2貯留室105に貯留されたインクとが液体流路103によって連続する。したがって、流量Qcは、第1貯留室53に貯留されたインクの液面と、第2貯留室105に貯留されたインクの液面との差、すなわち水頭差に基づいて算出される。すなわち、時刻tk-1における高さHc’と、高さHs’と基準位置(仮想線L)との差Hsl’の和、粘度ρ、流路抵抗Rn、及び重力加速度gに基づいて算出される。そして、流出量Qcは、高さHc’と差Hsl’の和が大きいほど大きくなる。また、流出量Qcは、液体流路103の流路抵抗Rnが大きいほど小さくなる。
[Modification]
In each of the above embodiments, the first opening 131 of the liquid channel 103 is above the predetermined position B, but the first opening 131 is below the predetermined position B and near the bottom surface of the second storage chamber 105. good too. In this case, the ink stored in the first storage chamber 53 and the ink stored in the second storage chamber 105 are connected by the liquid channel 103 . Therefore, the flow rate Qc is calculated based on the difference between the liquid level of the ink stored in the first storage chamber 53 and the liquid level of the ink stored in the second storage chamber 105, that is, the water head difference. That is, it is calculated based on the sum of the height Hc' at time tk -1 , the difference Hsl' between the height Hs' and the reference position (virtual line L), the viscosity ρ, the flow path resistance Rn, and the gravitational acceleration g be done. The outflow amount Qc increases as the sum of the height Hc' and the difference Hsl' increases. Also, the outflow amount Qc becomes smaller as the channel resistance Rn of the liquid channel 103 increases.

また、上記各実施形態では、カートリッジ装着処理及び残量更新処理において、算出されたインク量Vsが容量Vth以上であると判定したことに基づいて平衡状態であることをコントローラ230が判定したが、これに代えて、液面センサ155が、第2貯留室105の液面が仮想線Lに到達しているかを検出することによって、コントローラ230が平衡状態を判定してもよい。また、S30、S93、S130、S193に代えて、液面センサ155が、第2貯留室105の液面が仮想線Lに到達したことを検出したことに基づいて、S31、S94、S131、S194の処理を実行することとしてもよい。 In each of the above-described embodiments, the controller 230 determines that the equilibrium state is established based on determination that the calculated ink amount Vs is equal to or greater than the capacity Vth in the cartridge mounting process and the remaining amount update process. Alternatively, the controller 230 may determine the equilibrium state by detecting whether the liquid level in the second storage chamber 105 reaches the imaginary line L with the liquid level sensor 155 . Further, instead of S30, S93, S130, and S193, S31, S94, S131, and S194 are executed based on the fact that the liquid level sensor 155 detects that the liquid level of the second storage chamber 105 has reached the virtual line L. may be executed.

また、上記各実施形態では、残量更新処理において流出量Qcを算出して(S73、S173)、インク量Vc、Vsを算出したが(S74、S174)、残量更新処理においては、流出量Qcを算出することなく、平衡状態となったときのインク量Vc、Vsを算出してもよい。 In each of the above embodiments, the outflow amount Qc is calculated (S73, S173) and the ink amounts Vc and Vs are calculated (S74, S174) in the remaining amount update process. The ink amounts Vc and Vs in equilibrium may be calculated without calculating Qc.

すなわち、コントローラ230は、残量更新処理において、流出量Qcを算出することなく、S94、S194と同様にして、インクカートリッジ50からサブタンク100へのインクの流入が完了した状態の総量Vt及びインク量Vc、Vsを算出する。そして、コントローラ230は、S95、S195と同様に、算出したインク量Vc、VsをEEPROM234に記憶させる。また、コントローラ230は、S94、S194と同様に、算出したインク量Vcを、接点152を通じてICチップ66のメモリに記憶させる。続いて、コントローラ230は、S97、S197と同様に、インク残量画面をディスプレイ17に表示させて、残量更新処理を終了する。 That is, in the remaining amount update process, the controller 230 does not calculate the outflow amount Qc, and similarly to S94 and S194, calculates the total amount Vt and the ink amount when the ink has completely flowed from the ink cartridge 50 to the sub-tank 100. Calculate Vc and Vs. Then, the controller 230 stores the calculated ink amounts Vc and Vs in the EEPROM 234 as in S95 and S195. Also, the controller 230 causes the memory of the IC chip 66 to store the calculated ink amount Vc through the contact 152 as in S94 and S194. Subsequently, the controller 230 causes the display 17 to display the remaining ink amount screen similarly to S97 and S197, and ends the remaining amount updating process.

上記各実施形態では、S18、S81、S118、S181の判定に用いる信号(第1信号)の例として、カバーセンサ88が出力する信号、装着センサ154が出力する信号、トレイセンサ29が出力する信号、操作パネル22が出力する信号、及び通信インタフェース89が出力する信号が例示されたが、コントローラ230が受信する他の信号を用いてもよい。また、上記各実施形態では、S18、S81、S118、S181の判定に用いる特定動作の例として、パージ処理の開始と、スリープ状態への移行の開始が例示されたが、コントローラ230が実行する他の動作を用いてもよい。 In each of the above-described embodiments, examples of signals (first signals) used for the determination of S18, S81, S118, and S181 include a signal output by the cover sensor 88, a signal output by the mounting sensor 154, and a signal output by the tray sensor 29. , the signal output by the operation panel 22, and the signal output by the communication interface 89 are illustrated, but other signals received by the controller 230 may be used. Further, in each of the above-described embodiments, the start of the purge process and the start of transition to the sleep state were exemplified as examples of specific operations used for the determination of S18, S81, S118, and S181. may be used.

上記各実施形態では、コントローラ230は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことに応じて(S12,S112:Yes)、S13,S113に示す処理を実行した。コントローラ230がS13,S113に示す処理を実行するのは、装着ケース71内にインクカートリッジ50が存在しない装着ケース71内に、インクカートリッジ50が装着されたことを契機としている。つまり、コントローラ230は、装着ケース71内にインクカートリッジ50が装着されたと判定したことに応じて、S13、S113に示す処理を実行すればよい。なお、コントローラ230が、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことは、コントローラ230が、装着ケース71内にカートリッジが装着されたと判定したことの一例である。コントローラ230が、装着ケース71内にインクカートリッジ50が装着されたと判定する、他の例を以下に説明する。 In each of the above embodiments, the controller 230 responds to receiving a low level signal from the mounting sensor 154, then receiving a high level signal from the mounting sensor 154, and then receiving a low level signal from the mounting sensor 154. (S12, S112: Yes), the processing shown in S13, S113 was executed. The reason why the controller 230 executes the processes shown in S13 and S113 is that the ink cartridge 50 is installed in the installation case 71 where the ink cartridge 50 is not present. In other words, the controller 230 may execute the processes shown in S13 and S113 in response to determining that the ink cartridge 50 is installed in the installation case 71 . It should be noted that controller 230 receives a low level signal from mounting sensor 154, then receives a high level signal from mounting sensor 154, and then receives a low level signal from mounting sensor 154. This is an example of determining that the cartridge is mounted in the mounting case 71 . Another example in which the controller 230 determines that the ink cartridge 50 is installed in the installation case 71 will be described below.

例えば、コントローラ230が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ230は、ICチップ66のメモリから識別情報を読み出して、EEPROM234に記憶された交換前のインクカートリッジ50の識別情報と比較する。ICチップ66のメモリから読み出した識別情報と、EEPROM234に記憶された識別情報とが異なると判定したことに応じて、コントローラ230は、S17に示す処理を実行してもよい。つまり、「コントローラ230は、ICチップ66のメモリから識別情報を読み出して、EEPROM234に記憶された交換前のインクカートリッジ50の識別情報と比較する。その結果、ICチップ66のメモリから読み出した識別情報と、EEPROM234に記憶された識別情報とが異なると判定した」ことが、コントローラ230が、装着ケース71内にインクカートリッジ50が装着されたと判定することの一例である。 For example, controller 230 receives a low level signal after receiving a high level signal from cover sensor 88 . The controller 230 then reads the identification information from the memory of the IC chip 66 and compares it with the identification information of the ink cartridge 50 before replacement stored in the EEPROM 234 . In response to determining that the identification information read from the memory of the IC chip 66 is different from the identification information stored in the EEPROM 234, the controller 230 may execute the processing shown in S17. That is, "the controller 230 reads the identification information from the memory of the IC chip 66 and compares it with the identification information of the ink cartridge 50 before replacement stored in the EEPROM 234. As a result, the identification information read from the memory of the IC chip 66 is is different from the identification information stored in the EEPROM 234 ” is an example of the controller 230 determining that the ink cartridge 50 is installed in the installation case 71 .

また、例えば、コントローラ230が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ230は、ディスプレイ17を通じてユーザに、装着ケース71内に新たなインクカートリッジ50の装着をしたか、を示す確認画面を表示させる。コントローラ230は、ディスプレイ17に確認画面を表示させている一方で、操作パネル22を通じて、当該確認画面に対応する、入力を受信する。受信した当該入力が、装着ケース71内に新たなインクカートリッジ50の装着した、ことに対応していることに応じて、コントローラ230は、S17に示す処理を実行する。つまり、「コントローラ230が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ230は、ディスプレイ17を通じてユーザに、装着ケース71内に新たなインクカートリッジ50の装着をしたか、を示す確認画面を表示させる。コントローラ230は、ディスプレイ17に確認画面を表示させている一方で、操作パネル22を通じて、当該確認画面に対応する、入力を受信する。受信した当該入力が、装着ケース71内に新たなインクカートリッジ50の装着した、ことに対応している」ことが、コントローラ230が、装着ケース71内にインクカートリッジ50が装着されたと判定することの一例である。 Also, for example, the controller 230 receives a low level signal after receiving a high level signal from the cover sensor 88 . Then, the controller 230 causes the user to display a confirmation screen through the display 17 as to whether or not a new ink cartridge 50 has been installed in the installation case 71 . While displaying the confirmation screen on the display 17 , the controller 230 receives an input corresponding to the confirmation screen through the operation panel 22 . When the received input corresponds to the installation of the new ink cartridge 50 in the installation case 71, the controller 230 executes the process shown in S17. In other words, "the controller 230 receives a low level signal after receiving a high level signal from the cover sensor 88. Then, the controller 230 instructs the user via the display 17 to mount a new ink cartridge 50 in the mounting case 71." While displaying the confirmation screen on the display 17, the controller 230 receives an input corresponding to the confirmation screen through the operation panel 22. If the received input is , and that a new ink cartridge 50 has been installed in the installation case 71” is an example of the controller 230 determining that the ink cartridge 50 has been installed in the installation case 71.

また、上記各実施形態では、コントローラ230は、S_Emptyフラグが”ON”であれば、記録ヘッド39を通じたインクの排出を禁止するが、記録ヘッド39を通じたインクの排出は必ずしも禁止される必要はなく、コントローラ230は、S_Emptyフラグが”ON”であれば、S_Empty報知画面をディスプレイ17に表示させるのみであってもよい。 In each of the above-described embodiments, the controller 230 prohibits the discharge of ink through the recording head 39 if the S_Empty flag is "ON". Alternatively, the controller 230 may only display the S_Empty notification screen on the display 17 if the S_Empty flag is "ON".

また、ICチップ66は、接点152と接触して導通されるが、これにかえて、NFC(near field communication)やRFID(radio frequency identification)のような電波を用いて非接触でデータを読み書きする情報媒体とインターフェースとが採用されてもよい。 Also, the IC chip 66 contacts the contact 152 and is electrically connected, but instead of this, it reads and writes data without contact using radio waves such as NFC (near field communication) and RFID (radio frequency identification). An information medium and an interface may be employed.

また、上記各実施形態では、インクが液体の一例として説明されているが、液体は、例えば、画像記録時にインクに先立って用紙などに吐出される前処理液でもよいし、記録ヘッド39を洗浄するための水でもよい。 In addition, in each of the above-described embodiments, the ink is described as an example of the liquid. It can also be water for

10・・・複合機(液体排出装置)
17・・・ディスプレイ(報知機)
39・・・記録ヘッド
53・・・第1貯留室(第1液室)
66・・・ICチップ(カートリッジメモリ)
71・・・装着ケース
88・・・カバーセンサ
100・・・サブタンク
103・・・液体流路
104・・・気体流路
105・・・第2貯留室(第2液室)
106・・・大気連通口
131・・・第1開口
132・・・第2開口
141・・・第3開口
142・・・第4開口
147・・・大気連通路
152・・・接点(インタフェース)
154・・・装着センサ
155・・・液面センサ
230・・・コントローラ
234・・・EEPROM(装置メモリ)
10... compound machine (liquid ejection device)
17... Display (annunciator)
39... Recording head 53... First storage chamber (first liquid chamber)
66 IC chip (cartridge memory)
71... Mounting case 88... Cover sensor 100... Sub-tank 103... Liquid channel 104... Gas channel 105... Second storage chamber (second liquid chamber)
106...Atmospheric communication port 131...First opening 132...Second opening 141...Third opening 142...Fourth opening 147...Atmospheric communication path 152...Contact point (interface)
154 Mounted sensor 155 Liquid level sensor 230 Controller 234 EEPROM (apparatus memory)

Claims (24)

タンクと、
カートリッジが装着される装着ケースと、
上記タンクと連通されたヘッドと、
装置メモリと、
コントローラと、を備える液体排出装置であって、
上記カートリッジは、
液体を貯留する第1液室を有しており、
上記タンクは、
上記液体を貯留する第2液室と、
上記第2液室と連通する液体流路及び気体流路と、
上記第2液室を外部と連通する大気連通路と、を有しており、
上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有しており、
上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有しており、
上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、
上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、
上記第2液室は、上記第3開口よりも下方に位置する部分を有しており、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたか否かを判定し、
上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、
上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、
上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、及び上記液体流路の流路抵抗Rnを読み出し、
決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、及び読み出された上記流路抵抗Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a tank;
a mounting case in which the cartridge is mounted;
a head in communication with the tank;
a device memory;
A liquid ejection device comprising a controller,
The above cartridge
having a first liquid chamber for storing liquid,
The tank above
a second liquid chamber that stores the liquid;
a liquid channel and a gas channel communicating with the second liquid chamber;
an atmosphere communication passage that communicates the second liquid chamber with the outside,
The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. and
The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. and
The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected wearing state,
The first liquid chamber has a portion positioned above the second opening,
The second liquid chamber has a portion located below the third opening,
The above controller is
determining whether or not the cartridge is mounted in the mounting case;
determining whether or not the first signal has been received, or whether or not to start a specific operation, based on the determination that the cartridge has been mounted;
Based on determining that the first signal is received, or based on determining that the specific action is started,
determining a period from when it is determined that the cartridge is mounted in the mounting case until when the first signal is received or when it is determined that the specific operation is to be started, as a first period Δt1;
reading the liquid amount Vs stored in the second liquid chamber from the device memory;
From the cartridge memory provided in the cartridge or the device memory, the amount of liquid Vc stored in the first liquid chamber, the height Hc from the reference position to the liquid surface of the first liquid chamber, and the size of the liquid flow path reading the flow path resistance Rn,
The outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the determined first period Δt1 is calculated based on the read height Hc and the read flow path resistance. determined based on Rn;
determining the liquid amount Vc after the first period Δt1 has elapsed based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the first period Δt1 has elapsed based on the read liquid amount Vs and the determined outflow amount Qc;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
A liquid ejection device for updating the liquid volume Vc stored in at least one of the device memory and the cartridge memory according to the determined liquid volume Vc.
上記コントローラは、
上記装置メモリから、基準位置から上記第2液室までの高さHsを更に読み出し、
決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、Hs、及び読み出された上記流路抵抗Rnに基づいて決定する請求項1に記載の液体排出装置。
The above controller is
further reading the height Hs from the reference position to the second liquid chamber from the device memory;
The outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the determined first period Δt1 is calculated based on the read heights Hc and Hs and the read flow rate. 2. The liquid discharge device according to claim 1, wherein the determination is made based on the road resistance Rn.
上記コントローラは、
上記装置メモリから、基準位置から上記第2液室までの高さHsを更に読み出し、
決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、
決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、
決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHsが閾値高さ未満か否かを判定し、
更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第2期間Δt2として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記第2期間Δt2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する請求項1又は2に記載の液体排出装置。
The above controller is
further reading the height Hs from the reference position to the second liquid chamber from the device memory;
Based on the determination of the liquid amounts Vc and Vs after the elapse of the determined first period Δt1,
determining the height Hs corresponding to the determined liquid volume Vs and updating the height Hs stored in the device memory with the determined height Hs;
determining the height Hc corresponding to the determined liquid amount Vc, and determining the height Hc stored in at least one of the device memory and the cartridge memory of the cartridge at the determined height Hc; and update
Determining whether the updated height Hs is less than the threshold height,
Based on determining that the updated height Hs is less than the threshold height and determining that the first signal has been received, or
Based on determining that the updated height Hs is less than the threshold height and determining to start the specific action,
A second period is a period from when the liquid amounts Vc and Vs are determined after the determined first period Δt1 has passed to when the first signal is received or when it is determined that the specific operation is to be started. determined as Δt2,
reading the updated liquid volume Vs and the updated height Hs from the device memory;
reading the updated liquid volume Vc and the updated height Hc from the device memory or the cartridge memory provided in the cartridge;
Based on the updated heights Hc and Hs and the flow path resistance Rn, the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined second period Δt2 is calculated. and
determining the liquid amount Vc after the second period Δt2 has elapsed based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the second period Δt2 has elapsed based on the read liquid amount Vs and the determined outflow amount Qc;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
3. The liquid ejection device according to claim 1, wherein the determined liquid amount Vc is used to update the liquid amount Vc stored in at least one of the device memory and the cartridge memory.
上記コントローラは、決定された上記第2期間Δt2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定する請求項3に記載の液体排出装置。 The controller determines the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined second period Δt2 by using the updated heights Hc, Hs and the flow path. 4. The liquid ejection device according to claim 3, wherein the determination is based on the resistance Rn. 上記コントローラは、上記高さHsが、上記基準位置から上記気体流路の上記第3開口までの高さHth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する請求項3又は4に記載の液体排出装置。 Based on the determination that the height Hs is equal to or greater than the height Hth from the reference position to the third opening of the gas flow path, the controller determines that the outflow amount Qc and the liquid amounts Vc, Vs 5. The liquid discharge device according to claim 3 or 4, wherein the process of determining and storing the determined liquid amounts Vc and Vs is stopped. タンクと、
カートリッジが装着される装着ケースと、
上記タンクと連通されたヘッドと、
装置メモリと、
コントローラと、を備える液体排出装置であって、
上記カートリッジは、
液体を貯留する第1液室を有しており、
上記タンクは、
上記液体を貯留する第2液室と、
上記第2液室と連通する液体流路及び気体流路と、
上記第2液室を外部と連通する大気連通路と、を有しており、
上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有しており、
上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有しており、
上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、
上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、
上記第2液室は、上記第3開口よりも下方に位置する部分を有しており、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたか否かを判定し、
上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、
上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、
上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、及び上記液体流路の流路抵抗Rnを読み出し、
決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記液体量Vcに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a tank;
a mounting case in which the cartridge is mounted;
a head in communication with the tank;
a device memory;
A liquid ejection device comprising a controller,
The above cartridge
having a first liquid chamber for storing liquid,
The tank above
a second liquid chamber that stores the liquid;
a liquid channel and a gas channel communicating with the second liquid chamber;
an atmosphere communication passage that communicates the second liquid chamber with the outside,
The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. and
The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. and
The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected wearing state,
The first liquid chamber has a portion positioned above the second opening,
The second liquid chamber has a portion located below the third opening,
The above controller is
determining whether or not the cartridge is mounted in the mounting case;
determining whether or not the first signal has been received, or whether or not to start a specific operation, based on the determination that the cartridge has been mounted;
Based on determining that the first signal is received, or based on determining that the specific action is started,
determining a period from when it is determined that the cartridge is mounted in the mounting case until when the first signal is received or when it is determined that the specific operation is to be started, as a first period Δt1;
reading the liquid amount Vs stored in the second liquid chamber from the device memory;
reading out the amount of liquid Vc stored in the first liquid chamber and the flow path resistance Rn of the liquid flow path from the cartridge memory provided in the cartridge or the device memory;
determining an outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined first period Δt1 based on the read liquid amount Vc;
determining the liquid amount Vc after the first period Δt1 has elapsed based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the first period Δt1 has elapsed based on the read liquid amount Vs and the determined outflow amount Qc;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
A liquid ejection device for updating the liquid volume Vc stored in at least one of the device memory and the cartridge memory according to the determined liquid volume Vc.
上記コントローラは、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記液体量Vc、Vsに基づいて決定する請求項6に記載の液体排出装置。 The controller determines an outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined first period Δt1 based on the read liquid amounts Vc and Vs. 7. The liquid ejection device according to claim 6. 上記コントローラは、上記液体量Vsが、上記気体流路の上記第3開口を塞ぐ液体量Vth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する請求項6又は7に記載の液体排出装置。 The controller determines the outflow amount Qc and the liquid amounts Vc and Vs based on determination that the liquid amount Vs is equal to or greater than the liquid amount Vth that closes the third opening of the gas flow path, and 8. The liquid discharging device according to claim 6, wherein the process of storing the determined liquid amounts Vc and Vs is stopped. 上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判定した後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記装着ケースに上記カートリッジが装着されたと判定してから第1所定時間が経過したと判定したことに基づいて、
上記装置メモリから、上記液体量Vsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、
読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する請求項1から8のいずれかに記載の液体排出装置。
After determining that the cartridge is attached to the mounting case, before determining that the first signal has been received, and before determining that the specific operation is to be started, the controller attaches the cartridge to the mounting case. Based on determining that the first predetermined time has elapsed after determining that the cartridge is attached,
reading the liquid amount Vs from the device memory;
reading the liquid amount Vc from the device memory or the cartridge memory provided in the cartridge;
determining the liquid amounts Vc and Vs when the inflow of the liquid from the first liquid chamber to the second liquid chamber is completed based on the read liquid amounts Vc and Vs;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
9. The liquid ejection device according to any one of claims 1 to 8, wherein the determined liquid amount Vc is used to update the liquid amount Vc stored in at least one of the device memory and the cartridge memory.
タンクと、
カートリッジが装着される装着ケースと、
上記タンクと連通されたヘッドと、
装置メモリと、
コントローラと、を備える液体排出装置であって、
上記カートリッジは、
液体を貯留する第1液室を有しており、
上記タンクは、
上記液体を貯留する第2液室と、
上記第2液室と連通する液体流路及び気体流路と、
上記第2液室を外部と連通する大気連通路と、を有しており、
上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有しており、
上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有しており、
上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、
上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、
上記第2液室は、上記第3開口よりも下方に位置する部分を有しており、
上記コントローラは、
液体を排出する排出指示を受け付け、
上記排出指示に従って上記ヘッドに液体を排出させ、
上記排出指示に示される液体の排出量Dhを決定し、
上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第2液室から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、及び上記液体流路の流路抵抗Rnを読み出し、
上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記高さHc、及び上記流路抵抗Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、
決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHsが閾値高さ未満か否かを判定し、
更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHsが上記閾値高さ未満だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、及び上記流路抵抗Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a tank;
a mounting case in which the cartridge is mounted;
a head in communication with the tank;
a device memory;
A liquid ejection device comprising a controller,
The above cartridge
having a first liquid chamber for storing liquid,
The tank above
a second liquid chamber that stores the liquid;
a liquid channel and a gas channel communicating with the second liquid chamber;
an atmosphere communication passage that communicates the second liquid chamber with the outside,
The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. and
The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. and
The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected wearing state,
The first liquid chamber has a portion positioned above the second opening,
The second liquid chamber has a portion located below the third opening,
The above controller is
Receiving a discharge instruction to discharge the liquid,
causing the head to discharge the liquid according to the discharge instruction;
Determining the liquid discharge amount Dh indicated in the discharge instruction,
determining an outflow amount Qa of the liquid flowing out from the second liquid chamber toward the head during a discharge period Δth during liquid discharge through the head based on the determined discharge amount Dh;
reading from the device memory the liquid amount Vs stored in the second liquid chamber and the height Hs from the reference position to the liquid surface of the second liquid chamber;
From the cartridge memory provided in the cartridge or the device memory, the amount of liquid Vc stored in the first liquid chamber, the height Hc from the reference position to the liquid surface of the first liquid chamber, and the size of the liquid flow path reading the flow path resistance Rn,
determining the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the discharge period Δth based on the read height Hc and the flow path resistance Rn;
determining the liquid amount Vc after the discharge period Δth has elapsed based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the discharge period Δth has elapsed based on the read liquid amount Vs, the determined outflow amount Qc, and the determined outflow amount Qa;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
updating the liquid amount Vc stored in at least one of the device memory and the cartridge memory with the determined liquid amount Vc;
determining the height Hs corresponding to the determined liquid volume Vs, updating the height Hs stored in the device memory with the determined height Hs, and determining the liquid volume Vc determining the height Hc corresponding to and updating the height Hc stored in at least one of the device memory and the cartridge memory of the cartridge with the determined height Hc;
Determining whether the updated height Hs is less than the threshold height,
Based on determining that the updated height Hs is less than the threshold height and determining that the first signal has been received, or
Based on determining that the updated height Hs is less than the threshold height and determining to start the specific action,
A period from the determination of the liquid amounts Vc and Vs after the elapse of the determined discharge period Δth to the reception of the first signal or the determination to start the specific operation is defined as a first post-discharge period. Determined as the period Δth1,
reading the updated liquid volume Vs and the updated height Hs from the device memory;
reading the updated liquid volume Vc and the updated height Hc from the device memory or the cartridge memory provided in the cartridge;
The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined first period Δth1 after discharge is calculated based on the updated height Hc and the flow path resistance Rn. and
determining the liquid amount Vc after the passage of the first period Δth1 after the discharge based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the passage of the first period Δth1 after the discharge based on the read liquid amount Vs and the determined outflow amount Qc;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
A liquid ejection device for updating the liquid volume Vc stored in at least one of the device memory and the cartridge memory according to the determined liquid volume Vc.
上記コントローラは、
上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定し、
決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定する請求項10に記載の液体排出装置。
The above controller is
The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the discharge period Δth is determined based on the read heights Hc and Hs and the flow path resistance Rn. death,
The outflow amount Qc of the liquid that flows out from the first liquid chamber to the second liquid chamber during the determined first period Δth1 after discharge is calculated using the updated heights Hc and Hs and the flow path resistance Rn. 11. The liquid ejection device of claim 10, wherein the determination is based on:
上記コントローラは、
決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHsが閾値高さ以下か否かを判定し、
更新された上記高さHsが上記閾値高さ以下だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHsが上記閾値高さ以下だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第2期間Δth2として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記排出後第2期間Δth2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、及び上記流路抵抗Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する請求項10又は11に記載の液体排出装置。
The above controller is
determining and determining the height Hs corresponding to the determined liquid amount Vs based on determining the liquid amounts Vc and Vs after the elapse of the determined first period Δth1 after discharge; update the height Hs stored in the device memory at the height Hs; determine the height Hc corresponding to the determined liquid volume Vc; updating the height Hc stored in at least one of a device memory and a cartridge memory of the cartridge;
Determining whether the updated height Hs is equal to or less than the threshold height,
Based on determining that the updated height Hs is equal to or less than the threshold height and determining that the first signal has been received, or
Based on determining that the updated height Hs is equal to or less than the threshold height and determining to start the specific action,
A period from the determination of the liquid amounts Vc and Vs after the elapse of the determined first period Δth1 after ejection to the reception of the first signal or the determination that the specific operation is to be started is ejected. determined as the second period Δth2,
reading the updated liquid volume Vs and the updated height Hs from the device memory;
reading the updated liquid volume Vc and the updated height Hc from the device memory or the cartridge memory provided in the cartridge;
The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined second period Δth2 after discharge is calculated based on the updated height Hc and the flow path resistance Rn. and
determining the liquid amount Vc after the passage of the second period Δth2 after the discharge based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the passage of the second period Δth2 after the discharge based on the read liquid amount Vs and the determined outflow amount Qc;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
12. The liquid ejection device according to claim 10, wherein the determined liquid amount Vc is used to update the liquid amount Vc stored in at least one of the device memory and the cartridge memory.
上記コントローラは、決定された上記排出後第2期間Δth2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rnに基づいて決定する請求項12に記載の液体排出装置。 The controller determines the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined second period Δth2 after discharge, using the updated heights Hc, Hs, and the 13. The liquid ejection device according to claim 12, wherein the determination is made based on the flow path resistance Rn. 上記コントローラは、上記高さHsが、上記基準位置から上記気体流路の上記第3開口までの高さHth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する請求項12又は13に記載の液体排出装置。 Based on the determination that the height Hs is equal to or greater than the height Hth from the reference position to the third opening of the gas flow path, the controller determines that the outflow amount Qc and the liquid amounts Vc, Vs 14. The liquid discharge device according to claim 12 or 13, wherein the process of determining and storing the determined liquid amounts Vc and Vs is stopped. タンクと、
カートリッジが装着される装着ケースと、
上記タンクと連通されたヘッドと、
装置メモリと、
コントローラと、を備える液体排出装置であって、
上記カートリッジは、
液体を貯留する第1液室を有しており、
上記タンクは、
上記液体を貯留する第2液室と、
上記第2液室と連通する液体流路及び気体流路と、
上記第2液室を外部と連通する大気連通路と、を有しており、
上記液体流路は、上記第2液室に連通する一端側に形成された第1開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第2開口と、を有しており、
上記気体流路は、上記第2液室に連通する一端側に形成された第3開口と、当該一端側とは反対の他端側に形成され且つ外部に開口する第4開口と、を有しており、
上記カートリッジが上記装着ケースに装着されて、上記カートリッジの上記第1液室と、上記タンクの上記液体流路の上記第2開口及び上記気体流路の上記第4開口と、が連通する状態で接続される装着状態において、
上記第1液室は、上記第2開口よりも上方に位置する部分を有しており、
上記第2液室は、上記第3開口よりも下方に位置する部分を有しており、
上記コントローラは、
液体を排出する排出指示を受け付け、
上記排出指示に従って上記ヘッドに液体を排出させ、
上記排出指示に示される液体の排出量Dhを決定し、
上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第2液室から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、及び上記液体流路の流路抵抗Rnを読み出し、
上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記液体量Vcに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、
更新された上記液体量Vsが閾値未満か否かを判定し、
更新された上記液体量Vsが上記閾値未満だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記液体量Vsが上記閾値未満だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、
上記装置メモリから、更新された上記液体量Vsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vcを読み出し、
決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記液体量Vc、Vs、及び上記流路抵抗Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a tank;
a mounting case in which the cartridge is mounted;
a head in communication with the tank;
a device memory;
A liquid ejection device comprising a controller,
The above cartridge
having a first liquid chamber for storing liquid,
The tank above
a second liquid chamber that stores the liquid;
a liquid channel and a gas channel communicating with the second liquid chamber;
an atmosphere communication passage that communicates the second liquid chamber with the outside,
The liquid channel has a first opening formed at one end side communicating with the second liquid chamber, and a second opening formed at the other end side opposite to the one end side and opening to the outside. and
The gas flow path has a third opening formed at one end side communicating with the second liquid chamber, and a fourth opening formed at the other end side opposite to the one end side and opening to the outside. and
The cartridge is mounted in the mounting case, and the first liquid chamber of the cartridge communicates with the second opening of the liquid channel and the fourth opening of the gas channel of the tank. In the connected wearing state,
The first liquid chamber has a portion positioned above the second opening,
The second liquid chamber has a portion located below the third opening,
The above controller is
Receiving a discharge instruction to discharge the liquid,
causing the head to discharge the liquid according to the discharge instruction;
Determining the liquid discharge amount Dh indicated in the discharge instruction,
determining an outflow amount Qa of the liquid flowing out from the second liquid chamber toward the head during a discharge period Δth during liquid discharge through the head based on the determined discharge amount Dh;
reading the liquid amount Vs stored in the second liquid chamber from the device memory;
reading out the amount of liquid Vc stored in the first liquid chamber and the flow path resistance Rn of the liquid flow path from the cartridge memory provided in the cartridge or the device memory;
determining the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the discharge period Δth based on the read liquid amount Vc;
determining the liquid amount Vc after the discharge period Δth has elapsed based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the discharge period Δth has elapsed based on the read liquid amount Vs, the determined outflow amount Qc, and the determined outflow amount Qa;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
updating the liquid amount Vc stored in at least one of the device memory and the cartridge memory with the determined liquid amount Vc;
determining whether or not the updated liquid amount Vs is less than a threshold;
based on determining that the updated liquid volume Vs is less than the threshold and determining that the first signal has been received, or
Based on determining that the updated liquid amount Vs is less than the threshold value and determining to start the specific operation,
A period from the determination of the liquid amounts Vc and Vs after the elapse of the determined discharge period Δth to the reception of the first signal or the determination to start the specific operation is defined as a first post-discharge period. Determined as the period Δth1,
reading the updated liquid volume Vs from the device memory;
reading the updated liquid amount Vc from the device memory or the cartridge memory provided in the cartridge;
The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined post-discharge first period Δth1 is obtained from the updated liquid amounts Vc and Vs and the flow path resistance Rn determined based on
determining the liquid amount Vc after the passage of the first period Δth1 after the discharge based on the read liquid amount Vc and the determined outflow amount Qc;
determining the liquid amount Vs after the passage of the first period Δth1 after the discharge based on the read liquid amount Vs and the determined outflow amount Qc;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
A liquid ejection device for updating the liquid volume Vc stored in at least one of the device memory and the cartridge memory according to the determined liquid volume Vc.
上記コントローラは、
上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体の上記流出量Qcを、読み出された上記液体量Vc、Vsに基づいて決定し、
決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記液体量Vc、Vsに基づいて決定する請求項15に記載の液体排出装置。
The above controller is
determining the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the discharge period Δth based on the read liquid amounts Vc and Vs;
wherein an outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the determined first period Δth1 after discharge is determined based on the updated liquid amounts Vc and Vs. 16. The liquid ejection device according to 15.
上記コントローラは、上記液体量Vsが、上記気体流路の上記第3開口を塞ぐ液体量Vth以上であると判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する請求項15又は16に記載の液体排出装置。 The controller determines the outflow amount Qc and the liquid amounts Vc and Vs based on determination that the liquid amount Vs is equal to or greater than the liquid amount Vth that closes the third opening of the gas flow path, and 17. The liquid discharge device according to claim 15 or 16, wherein the process of storing the determined liquid amounts Vc and Vs is stopped. 上記コントローラは、上記排出指示に従って上記ヘッドに液体を排出させた後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記排出指示に従って上記ヘッドに液体を排出させてから第2所定時間が経過したと判定したことに基づいて、
上記装置メモリから、上記液体量Vsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、
読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する請求項10から17のいずれかに記載の液体排出装置。
After causing the head to discharge the liquid according to the discharge instruction, before determining that the first signal has been received, and before determining that the specific operation is to be started, the controller follows the discharge instruction. Based on the determination that the second predetermined time has elapsed since the liquid was discharged from the head,
reading the liquid amount Vs from the device memory;
reading the liquid amount Vc from the device memory or the cartridge memory provided in the cartridge;
determining the liquid amounts Vc and Vs when the inflow of the liquid from the first liquid chamber to the second liquid chamber is completed based on the read liquid amounts Vc and Vs;
updating the liquid quantity Vs stored in the device memory with the determined liquid quantity Vs;
18. The liquid ejection device according to any one of claims 10 to 17, wherein the determined liquid amount Vc is used to update the liquid amount Vc stored in at least one of the device memory and the cartridge memory.
上記コントローラは、
上記装着ケースの開口を開閉するカバーが開かれたこと、又は、閉じられたことに基づいてカバーセンサが出力する第1信号を受信、又は、
上記装着ケースに上記カートリッジが装着されたこと、又は、上記カートリッジが取り外されたことに基づいて装着センサが出力する第1信号を受信、又は、
給送トレイが装着されたこと、又は、取り外されたことに基づいてトレイセンサが出力する第1信号を受信、又は、
ユーザからの操作を受け付けたことに基づいてユーザインタフェースが出力する第1信号を受信、又は、
上記ヘッドから液体を排出する指示を通信インタフェースを通じて外部装置から受信したことに基づいて上記通信インタフェースが出力する第1信号を受信、するように構成されている請求項1から18のいずれかに記載の液体排出装置。
The above controller is
receiving a first signal output by a cover sensor based on opening or closing of a cover that opens and closes the opening of the mounting case; or
receiving a first signal output by a mounting sensor based on the mounting of the cartridge in the mounting case or the removal of the cartridge; or
Receiving a first signal output by the tray sensor based on whether the feed tray is attached or removed, or
Receiving a first signal output by the user interface based on acceptance of an operation from the user, or
19. The apparatus according to any one of claims 1 to 18, configured to receive a first signal output by said communication interface based on receiving an instruction to discharge liquid from said head from an external device through said communication interface. liquid discharger.
上記コントローラは、
上記特定動作として、上記ヘッドからの液体の排出を開始する、又は、スリープ状態への移行を開始するように構成されている請求項1から19のいずれかに記載の液体排出装置。
The above controller is
20. The liquid ejection device according to any one of claims 1 to 19, wherein the specific operation is configured to start ejection of liquid from the head or to initiate transition to a sleep state.
インタフェースを更に有し、
上記コントローラは、
上記液体量Vcを決定したことに基づいて、決定した上記液体量Vcを上記インタフェースを通じて上記カートリッジが有するカートリッジメモリに記憶させる請求項1から20のいずれかに記載の液体排出装置。
further having an interface;
The above controller is
21. The liquid ejection device according to any one of claims 1 to 20, wherein the determined liquid amount Vc is stored in a cartridge memory of the cartridge through the interface based on the determination of the liquid amount Vc.
ディスプレイを更に有し、
上記コントローラは、
決定した上記液体量Vc、Vs、又は上記液体量Vcと上記液体量Vsとの和を示す情報を上記ディスプレイに表示させる請求項1から21のいずれかに記載の液体排出装置。
further having a display;
The above controller is
22. The liquid discharging device according to any one of claims 1 to 21, wherein information indicating the determined liquid amounts Vc, Vs or the sum of the liquid amounts Vc and the liquid amounts Vs is displayed on the display.
報知器を更に有し、
上記コントローラは、
決定した上記液体量Vsが閾値量未満になったことに基づいて、上記報知器を作動させる請求項1から22のいずれかに記載の液体排出装置。
further comprising an alarm;
The above controller is
23. The liquid discharge device according to any one of claims 1 to 22, wherein the alarm is activated when the determined liquid amount Vs becomes less than a threshold amount.
上記コントローラは、
決定した上記液体量Vsが閾値量未満になったことに基づいて、上記ヘッドを通じた液体の排出を禁止する請求項1から23のいずれかに記載の液体排出装置。
The above controller is
24. The liquid ejection device according to any one of claims 1 to 23, wherein ejection of the liquid through the head is prohibited when the determined liquid amount Vs becomes less than a threshold amount.
JP2018187812A 2018-10-02 2018-10-02 Liquid ejector Active JP7131270B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018187812A JP7131270B2 (en) 2018-10-02 2018-10-02 Liquid ejector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018187812A JP7131270B2 (en) 2018-10-02 2018-10-02 Liquid ejector

Publications (2)

Publication Number Publication Date
JP2020055229A JP2020055229A (en) 2020-04-09
JP7131270B2 true JP7131270B2 (en) 2022-09-06

Family

ID=70106080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018187812A Active JP7131270B2 (en) 2018-10-02 2018-10-02 Liquid ejector

Country Status (1)

Country Link
JP (1) JP7131270B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016112687A (en) 2014-12-10 2016-06-23 キヤノン株式会社 Inkjet recording apparatus
JP2018140607A (en) 2017-02-28 2018-09-13 ブラザー工業株式会社 Liquid supply device and image recording device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6862747B2 (en) * 2016-10-11 2021-04-21 ブラザー工業株式会社 Liquid discharge device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016112687A (en) 2014-12-10 2016-06-23 キヤノン株式会社 Inkjet recording apparatus
JP2018140607A (en) 2017-02-28 2018-09-13 ブラザー工業株式会社 Liquid supply device and image recording device

Also Published As

Publication number Publication date
JP2020055229A (en) 2020-04-09

Similar Documents

Publication Publication Date Title
JP6859811B2 (en) Liquid drainer
JP6543994B2 (en) Printing device
US10569537B2 (en) Liquid discharge apparatus
JP6859809B2 (en) Liquid drainer
US11203205B2 (en) Liquid discharge device
US11845285B2 (en) Liquid discharge device
JP6848616B2 (en) Liquid drainer and cartridge
JP7135383B2 (en) Liquid discharge device and system
JP6939030B2 (en) Liquid drainer
JP7131270B2 (en) Liquid ejector
JP7196509B2 (en) Liquid ejector
JP7119451B2 (en) Liquid discharge device and system
US10556441B2 (en) Liquid discharge device
JP7131030B2 (en) Liquid ejector
JP7124614B2 (en) Liquid ejector
JP7131031B2 (en) Liquid ejector
JP6922352B2 (en) Liquid drainer
JP7119450B2 (en) Liquid discharge device and system
JP7167467B2 (en) Liquid ejection devices, cartridges and systems
JP7230410B2 (en) Liquid ejector
US10744781B2 (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: 20211001

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220720

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220808

R150 Certificate of patent or registration of utility model

Ref document number: 7131270

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150