JP7131031B2 - Liquid ejector - Google Patents

Liquid ejector Download PDF

Info

Publication number
JP7131031B2
JP7131031B2 JP2018068964A JP2018068964A JP7131031B2 JP 7131031 B2 JP7131031 B2 JP 7131031B2 JP 2018068964 A JP2018068964 A JP 2018068964A JP 2018068964 A JP2018068964 A JP 2018068964A JP 7131031 B2 JP7131031 B2 JP 7131031B2
Authority
JP
Japan
Prior art keywords
liquid
amount
determined
cartridge
determining
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
JP2018068964A
Other languages
Japanese (ja)
Other versions
JP2019177632A (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 JP2018068964A priority Critical patent/JP7131031B2/en
Publication of JP2019177632A publication Critical patent/JP2019177632A/en
Application granted granted Critical
Publication of JP7131031B2 publication Critical patent/JP7131031B2/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液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、装置メモリと、コントローラとを備える。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、上記装着ケースに上記カートリッジが装着されたか否かを判定し、上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、Hs、及び読み出された上記流路抵抗Rc、Rs、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 comprises a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and A mounting case to which a cartridge having a second flow path communicating with the first liquid chamber and communicating with the outside at the other end is mounted; and a tank having the second liquid chamber, one end communicating with the outside and the other a third flow channel having an end communicating with the second liquid chamber; a fourth flow channel having one end located below the third flow channel communicating with the second liquid chamber; The tank includes a fifth flow path that communicates with the liquid chamber and the other end of which communicates with the outside, a head that communicates with the other end of the fourth flow path, a device memory, and a controller. At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. The controller determines whether or not the cartridge is mounted in the mounting case, and based on 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 and the height Hs from the reference position to the liquid surface of the second liquid chamber are read out, and the liquid amount Vc stored in the first liquid chamber and the above The height Hc from the reference position to the liquid surface of the first liquid chamber, the flow path resistance Rc of the second flow path, the flow path resistance Rs of the fifth flow path, the first flow path and the third flow The flow path resistance Rn, which is the resistance of both or one of the paths, is read, 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 is calculated as follows: determined based on the read heights Hc and Hs and the read flow path resistances Rc, Rs and Rn, and based on the read liquid amount Vc and the determined outflow amount Qc to determine the liquid amount Vc after the first period Δt1 has passed, and based on the read liquid amount Vs and the determined outflow amount Qc, after the first period Δt1 has passed , updating the liquid amount Vs stored in the device memory with the determined liquid amount Vs, and updating the device memory and the cartridge memory with the determined liquid amount Vc update the liquid amount Vc stored in at least one of

上記構成によれば、カートリッジが装着された後、第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) 好ましくは、上記コントローラは、決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第2期間Δt2として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記第2期間Δt2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (2) Preferably, the controller determines the height corresponding to the determined liquid amount Vs based on the determination of the liquid amounts Vc and Vs after the elapse of the determined first period Δt1. determining Hs and updating said height Hs stored in said device memory with said determined height Hs; determining and 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 height Hc, and the difference between the updated heights Hc and Hs is equal to or greater than a threshold height. based on the determination that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height and that the first signal has been received, or the updated Based on the determination that the difference between the heights Hc and Hs is equal to or greater than the threshold height and the determination that the specific operation is to be started, the determined liquid amounts Vc and Vs after the first period Δt1 has passed is determined as a second period Δt2, and the updated liquid amount Vs and updated read out the height Hs, read out the updated liquid amount Vc and the updated height Hc from the device memory or the cartridge memory provided in the cartridge, and read out the updated liquid amount Vc and the updated height Hc during the determined second period Δt2 The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber is determined based on the updated heights Hc and Hs and the flow path resistances Rc, Rs and Rn, and is read out. Based on the liquid amount Vc obtained and the determined outflow amount Qc, the liquid amount Vc after the second period Δt2 has elapsed is determined, and the read liquid amount Vs and the determined outflow amount are determined. determining the liquid amount Vs after the second period Δt2 has elapsed based on the amount Qc, updating the liquid amount Vs stored in the device memory with the determined liquid amount Vs, and 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.

上記構成によれば、液体量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.

(3) 好ましくは、上記コントローラは、更新された上記高さHc、Hsの差が上記閾値高さ未満だと判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する。 (3) Preferably, the controller determines the outflow amount Qc and the liquid amounts Vc, Vs based on determination that the updated difference between the heights Hc, Hs is less than the threshold height. Then, the process of storing the determined liquid amounts Vc and Vs is stopped.

(4) 好ましくは、上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判定した後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記装着ケースに上記カートリッジが装着されたと判定してから第1所定時間が経過したと判定したことに基づいて、上記装置メモリから、上記液体量Vsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (4) 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.

(1) 本発明に係る液体排出装置は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、装置メモリと、コントローラとを備る。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、液体を排出する排出指示を受け付け、上記排出指示に従って上記ヘッドに液体を排出させ、上記排出指示に示される液体の排出量Dhを決定し、上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第4流路から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体流出量Qcを、読み出された上記高さHc、Hs、決定された上記流出量Qa、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。
(1) A liquid discharge device according to the present invention comprises a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and A mounting case to which a cartridge having a second flow path communicating with the first liquid chamber and communicating with the outside at the other end is mounted; and a tank having the second liquid chamber, one end communicating with the outside and the other a third flow channel having an end communicating with the second liquid chamber; a fourth flow channel having one end located below the third flow channel communicating with the second liquid chamber; a head communicating with the other end of the fourth channel; a device memory; and a controller. . At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. The controller 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 fourth flow path 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, the flow path resistance Rc of the second flow path, the flow path resistance Rs of the fifth flow path, the first flow path and the first flow path The flow path resistance Rn, which is the resistance of both or one of the three flow paths, is read, and 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 read. determined based on the heights Hc and Hs determined, the determined outflow amount Qa, and the flow path resistances Rc, Rs, and Rn, and the read out liquid amount Vc and the determined outflow amount Qc based on the liquid amount Vc after the discharge period Δth has passed, and based on the read liquid amount Vs, the determined outflow amount Qc, and the determined outflow amount Qa, the determining the amount of liquid Vs after the discharge period Δth has passed, updating the amount of liquid Vs stored in the device memory with the determined amount of liquid Vs, and using the determined amount of liquid 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 setting the determined height Hs to 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 cartridge at the determined height Hc. update the height Hc stored in at least one of the cartridge memories, determine whether the difference between the updated heights Hc and Hs is equal to or greater than a threshold height, and receive the first signal or determines whether to start a specific operation, determines that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height, and receives the first signal or update Based on the determination that the difference between the heights Hc and Hs determined is equal to or greater than the threshold height and that the specific operation is to be started, the liquid amount Vc after the discharge period Δth has elapsed is determined. , Vs until receiving the first signal or determining that the specific operation is to be started is determined as a post-ejection first period Δth1, and the updated liquid is stored from the device memory. read out the amount Vs and the updated height Hs; read out the updated liquid amount 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 resistances Rc, Rs and Rn, the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during one period Δth1 is calculated. Based on the determined and read out liquid amount Vc and the determined outflow amount Qc, the liquid amount Vc after the passage of the first period Δth1 after the discharge is determined, and the read out liquid amount Vc is determined. Based on the amount Vs and the determined outflow amount Qc, the liquid amount Vs after the first period Δth1 after the discharge has passed is determined, and the determined liquid amount Vs is stored in the device memory. and updating the liquid amount Vc stored in at least one of the device memory and the cartridge memory with the determined liquid amount 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.

(6) 好ましくは、上記コントローラは、決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第2期間Δth2として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記排出後第2期間Δth2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (6) 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 the difference between the updated heights Hc and Hs is used as a threshold height. or not, based on the determination that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height and that the first signal has been received, or the updated Based on the determination that the difference between the heights Hc and Hs is equal to or greater than the threshold height and that the specific operation is to be started, the liquid A period from when the amounts Vc and Vs are determined to when the first signal is received or when it is determined that the specific operation is to be started is determined as a post-ejection second period Δth2, and the updated reading the 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 the discharge The outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during the post-second period Δth2 is set to the updated heights Hc, Hs and flow path resistances Rc, Rs, Rn. Based on the read liquid amount Vc and the determined outflow amount Qc, the liquid amount Vc after the passage of the second period Δth2 after the discharge is determined and read Based on the liquid amount Vs and the determined outflow amount Qc, the liquid amount Vs after the passage of the second period Δth2 after the discharge is determined, and the determined liquid amount Vs is stored in the device memory. The stored liquid amount Vs is updated, and the liquid amount Vc stored in at least one of the device memory and the cartridge memory is updated 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.

(7) 好ましくは、上記コントローラは、更新された上記高さHc、Hsの差が上記閾値高さ未満だと判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する。 (7) Preferably, the controller determines the outflow amount Qc and the liquid amounts Vc, Vs based on determination that the updated difference between the heights Hc, Hs is less than the threshold height. Then, the process of storing the determined liquid amounts Vc and Vs is stopped.

(8) 好ましくは、上記コントローラは、上記排出指示に従って上記ヘッドに液体を排出させた後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記排出指示に従って上記ヘッドに液体を排出させてから第2所定時間が経過したと判定したことに基づいて、上記装置メモリから、上記液体量Vsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。
(8) 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. determine Vc, Vs;
The liquid amount Vs stored in the device memory is updated according to the determined liquid amount Vs, and the liquid amount Vs stored in at least one of the device memory and the cartridge memory is updated according to the determined liquid amount Vc. The liquid amount Vc 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.

(9) 好ましくは、上記コントローラは、上記装着ケースの開口を開閉するカバーが開かれたこと、又は、閉じられたことに基づいてカバーセンサが出力する第1信号を受信、又は、上記装着ケースに上記カートリッジが装着されたこと、又は、上記カートリッジが取り外されたことに基づいて装着センサが出力する第1信号を受信、又は、給送トレイが装着されたこと、又は、取り外されたことに基づいてトレイセンサが出力する第1信号を受信、又は、ユーザからの操作を受け付けたことに基づいてユーザインタフェースが出力する第1信号を受信、又は、上記ヘッドから液体を排出する指示を通信インタフェースを通じて外部装置から受信したことに基づいて上記通信インタフェースが出力する第1信号を受信するように構成されている。 (9) 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 is configured to receive a first signal output by the communication interface based on the reception from an external device through the communication interface.

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

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

上記構成によれば、液体排出装置から抜かれたカートリッジが他の液体排出装置に装着された場合において、当該他の液体排出装置が第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.

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

上記構成によれば、適切に決定された液体量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.

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

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

(14) 好ましくは、上記コントローラは、決定した上記液体量Vsが閾値量未満になったことに基づいて、上記ヘッドを通じた液体の排出を禁止する。 (14) Preferably, the controller prohibits ejection 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.

(15) 本発明に係る液体排出装置は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、上記カートリッジが装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、装置メモリと、コントローラとを備える。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、上記装着ケースに上記カートリッジが装着されたか否かを判定し、上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、Hs、及び読み出された上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。 (15) A liquid discharge device according to the present invention comprises a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and A cartridge having a second flow path communicated with the first liquid chamber and having the other end communicated with the outside, a mounting case in which the cartridge is mounted, and a tank having the second liquid chamber, one end of which communicates with the outside. a third flow path that communicates with the second liquid chamber at the other end; a fourth flow path that is positioned below the third flow path and has one end that communicates with the second liquid chamber; is in communication with the second liquid chamber and the other end is in communication with the outside; a head in communication with the other end of the fourth flow path; a device memory; and a controller and At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. 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 and the height Hs from the reference position to the liquid surface of the second liquid chamber are read out, and the liquid amount Vc stored in the first liquid chamber and the above The height Hc from the reference position to the liquid surface of the first liquid chamber, the flow path resistance Rc of the second flow path, the flow path resistance Rs of the fifth flow path, the first flow path and the third flow The flow path resistance Rn, which is the resistance of both or one of the paths, is read, 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 is calculated as follows: determined based on the read heights Hc and Hs and the read flow path resistances Rc, Rs and Rn, and based on the read liquid amount Vc and the determined outflow amount Qc to determine the liquid amount Vc after the first period Δt1 has passed, and based on the read liquid amount Vs and the determined outflow amount Qc, after the first period Δt1 has passed , updating the liquid amount Vs stored in the device memory with the determined liquid amount Vs, and updating the device memory and the cartridge memory with the determined liquid amount Vc update the liquid amount Vc stored in at least one of

上記構成によれば、カートリッジが装着された後、第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.

(16) 本発明に係る液体排出装置は、液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、上記カートリッジが装着される装着ケースと、第2液室を有するタンクであって、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する上記タンクと、上記第4流路の他端と連通されるヘッドと、装置メモリと、コントローラとを備る。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。上記コントローラは、液体を排出する排出指示を受け付け、上記排出指示に従って上記ヘッドに液体を排出させ、上記排出指示に示される液体の排出量Dhを決定し、上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第4流路から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体流出量Qcを、読み出された上記高さHc、Hs、決定された上記流出量Qa、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する。
(16) A liquid discharge device according to the present invention comprises a first liquid chamber in which liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and A cartridge having a second flow path communicated with the first liquid chamber and having the other end communicated with the outside, a mounting case in which the cartridge is mounted, and a tank having the second liquid chamber, one end of which communicates with the outside. a third flow path that communicates with the second liquid chamber at the other end; a fourth flow path that is positioned below the third flow path and has one end that communicates with the second liquid chamber; is in communication with the second liquid chamber and the other end is in communication with the outside; a head in communication with the other end of the fourth flow path; a device memory; and a controller and At least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. 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 fourth flow path 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, the flow path resistance Rc of the second flow path, the flow path resistance Rs of the fifth flow path, the first flow path and the first flow path The flow path resistance Rn, which is the resistance of both or one of the three flow paths, is read, and 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 read. determined based on the heights Hc and Hs determined, the determined outflow amount Qa, and the flow path resistances Rc, Rs, and Rn, and the read out liquid amount Vc and the determined outflow amount Qc based on the liquid amount Vc after the discharge period Δth has passed, and based on the read liquid amount Vs, the determined outflow amount Qc, and the determined outflow amount Qa, the determining the amount of liquid Vs after the discharge period Δth has passed, updating the amount of liquid Vs stored in the device memory with the determined amount of liquid Vs, and using the determined amount of liquid 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 setting the determined height Hs to 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 cartridge at the determined height Hc. update the height Hc stored in at least one of the cartridge memories, determine whether the difference between the updated heights Hc and Hs is equal to or greater than a threshold height, and receive the first signal or determines whether to start a specific operation, determines that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height, and receives the first signal or update Based on the determination that the difference between the heights Hc and Hs determined is equal to or greater than the threshold height and that the specific operation is to be started, the liquid amount Vc after the discharge period Δth has elapsed is determined. , Vs until receiving the first signal or determining that the specific operation is to be started is determined as a post-ejection first period Δth1, and the updated liquid is stored from the device memory. read out the amount Vs and the updated height Hs; read out the updated liquid amount 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 resistances Rc, Rs and Rn, the outflow amount Qc of the liquid flowing out from the first liquid chamber to the second liquid chamber during one period Δth1 is calculated. Based on the determined and read out liquid amount Vc and the determined outflow amount Qc, the liquid amount Vc after the passage of the first period Δth1 after the discharge is determined, and the read out liquid amount Vc is determined. Based on the amount Vs and the determined outflow amount Qc, the liquid amount Vs after the first period Δth1 after the discharge has passed is determined, and the determined liquid amount Vs is stored in the device memory. and updating the liquid amount Vc stored in at least one of the device memory and the cartridge memory with the determined liquid amount 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.

本発明によれば、処理負荷の上昇を抑制しつつ、第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は、プリンタ10の外観斜視図であって、(A)はカバー87が被覆位置の状態を、(B)はカバー87が露出位置の状態を示す。FIG. 1 is an external perspective view of the printer 10, in which (A) shows the cover 87 in the covered position, and (B) shows the cover 87 in the exposed position. 図2は、プリンタ10の内部構造を模式的に示す模式断面図である。FIG. 2 is a schematic cross-sectional view schematically showing the internal structure of the printer 10. As shown in FIG. 図3は、装着ケース150の縦断面図である。FIG. 3 is a longitudinal sectional view of the mounting case 150. As shown in FIG. 図4は、カートリッジ200の構造を示す図であって、(A)は前方斜視図を、(B)は縦断面図を示す。4A and 4B are diagrams showing the structure of the cartridge 200, where (A) is a front perspective view and (B) is a vertical sectional view. 図5は、装着ケース150にカートリッジ200が装着された状態の縦断面図である。FIG. 5 is a vertical cross-sectional view of the cartridge 200 mounted in the mounting case 150. As shown in FIG. 図6は、プリンタ10のブロック図である。FIG. 6 is a block diagram of the printer 10. As shown in FIG. 図7は、カートリッジ装着処理のフローチャートである。FIG. 7 is a flowchart of cartridge mounting processing. 図8は、画像記録処理のフローチャートである。FIG. 8 is a flowchart of image recording processing. 図9は、カウント処理のフローチャートである。FIG. 9 is a flowchart of counting processing. 図10は、残量更新処理のフローチャートである。FIG. 10 is a flowchart of remaining amount update processing. 図11は、タンク160及びカートリッジ200が連通された状態の模式図であって、(A)はインクが貯留されていないタンク160に新品のカートリッジ200が連通された状態を、(B)はカートリッジ200に貯留されたインクの一部がタンク160にインクが移動した状態を示す。11A and 11B are schematic diagrams of the state in which the tank 160 and the cartridge 200 are in communication, and FIG. A part of the ink stored in the tank 200 has moved to the tank 160 . 図12は、タンク160及びカートリッジ200が連通された状態の模式図であって、(A)はタンク160及びカートリッジ200の液面が揃った状態を、(B)はカートリッジエンプティ状態を示す。12A and 12B are schematic diagrams of a state in which the tank 160 and the cartridge 200 are in communication with each other. FIG. 12A shows a state in which the liquid surfaces of the tank 160 and the cartridge 200 are aligned, and FIG. 12B shows a state in which the cartridge is empty. 図13は、インク残量画面の例である。FIG. 13 is an example of an ink remaining amount screen.

以下、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。また、プリンタ10が使用可能に水平面に設置された使用姿勢を基準として上下方向7が定義され、プリンタ10の開口13が形成された面を前面として前後方向8が定義され、プリンタ10を前面から見て左右方向9が定義される。本実施形態では、使用姿勢において、上下方向7が鉛直方向に相当し、前後方向8及び左右方向9が水平方向に相当する。前後方向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. A vertical direction 7 is defined with reference to a usage posture in which the printer 10 is installed on a horizontal plane so that it can be used. A left-to-right direction 9 is defined as viewed. 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. The front-rear direction 8 and the left-right direction 9 are orthogonal.

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

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

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

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

なお、本実施形態においては、画像記録におけるヘッド21のノズル29からのインクの排出が「吐出」と称され、他方、パージにおけるヘッド21のノズル29からのインクの排出が「吐出」と称されないが、「吐出」は「排出」に含まれる概念である。 In the present embodiment, discharging ink from the nozzles 29 of the head 21 during image recording is referred to as "ejection," whereas discharging ink from the nozzles 29 of the head 21 during purging is not referred to as "ejection." However, "discharge" is a concept included in "discharge".

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

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

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

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

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

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

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

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

[装着センサ154]
装着センサ154は、装着ケース150の天壁に位置している。装着センサ154は、カートリッジ200が装着ケース150に装着されているか否かを検出するためのセンサである。装着センサ154は、左右方向9に離間した発光部及び受光部を備える。装着ケース150にカートリッジ200が装着された状態において、カートリッジ200の後述する遮光リブ245は、装着センサ154の発光部及び受光部の間に位置する。換言すれば、装着センサ154の発光部及び受光部は、装着ケース150に装着されたカートリッジ200の遮光リブ245を挟んで、互いに対向した状態で位置している。
[Wearing sensor 154]
The mounting sensor 154 is located on the ceiling wall of the mounting case 150 . The mounting sensor 154 is a sensor for detecting whether or not the cartridge 200 is mounted in the mounting case 150 . The mounting sensor 154 has a light-emitting portion and a light-receiving portion spaced apart in the left-right direction 9 . When the cartridge 200 is mounted in the mounting case 150 , a light shielding rib 245 (described later) of the cartridge 200 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 light shielding rib 245 of the cartridge 200 mounted in the mounting case 150 interposed therebetween.

装着センサ154は、発光部から左右方向9に沿って照射された光が受光部で受光されたか否かに応じて、異なる信号(図中では、「装着信号」と表記する。)を出力する。装着センサ154は、例えば、受光部で受光された光の受光強度が閾値強度未満であることに応じて、ローレベル信号をコントローラ130へ出力する。一方、装着センサ154は、受光部で受光された光の受光強度が閾値強度以上であることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。ハイレベル信号及びローレベル信号は、第1信号の一例である。 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 130, 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 130 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 and a low level signal are examples of a first signal.

[液面センサ155]
液面センサ155は、後述するアクチュエータ190の被検出部194が検出位置に位置しているか否かを検出するためのセンサである。液面センサ155は、左右方向9に離間した発光部及び受光部を備える。換言すれば、液面センサ155の発光部及び受光部は、検出位置に位置した被検出部194を挟んで、互いに対向した状態で位置している。液面センサ155は、発光部から出力された光が受光部で受光されたか否かに応じて異なる信号(図中では、「液面信号」と表記する。)を出力する。液面センサ155は、例えば、受光部で受光された光の受光強度が閾値強度未満であることに応じて、ローレベル信号をコントローラ130へ出力する。一方、液面センサ155は、受光部で受光された光の受光強度が閾値強度以上であることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。
[Liquid level sensor 155]
The liquid level sensor 155 is a sensor for detecting whether or not a detected portion 194 of the actuator 190, which will be described later, is positioned at the detection position. The liquid level sensor 155 has a light emitting part and a light receiving part spaced apart in the left-right direction 9 . In other words, the light-emitting portion and the light-receiving portion of the liquid level sensor 155 are positioned facing each other with the detected portion 194 positioned at the detection position in between. 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. The liquid level sensor 155 outputs a low level signal to the controller 130, 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 liquid level sensor 155 outputs a high level signal having a higher signal strength than the low level signal to the controller 130 when the intensity of the light received by the light receiving portion is equal to or higher than the threshold intensity.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

また、ASIC135には、ディスプレイ17と、操作パネル22と、通信インタフェース95(通信I/F95)が接続されている。ディスプレイ17は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示面を備える。ディスプレイ17は、報知機の一例である。但し、報知機の具体例はディスプレイ17に限定されず、スピーカ、LEDランプ、或いはこれらの組み合わせでもよい。操作パネル22は、ユーザによる操作に応じた操作信号をコントローラ130に出力する。操作パネル22は、例えば、押ボタンを有していてもよいし、ディスプレイ17に重畳されたタッチセンサを有していてもよい。通信インタフェース95は、通信ネットワーク等を通じて外部装置と通信可能なインタフェースである。通信インタフェース95の具体的な通信手段は特に限定されないが、例えば、Wi-Fi(登録商標)を採用することができる。通信インタフェース95は、USBケーブルを着脱可能なUSBインタフェースであってもよい。通信インタフェース95は、外部装置から受信した情報に応じた受信信号をコントローラ130に出力する。操作パネル22は、ユーザインタフェースの一例である。操作信号は、第1信号の一例である。受信信号は、第1信号の一例である。 The ASIC 135 is also connected to the display 17, the operation panel 22, and the communication interface 95 (communication I/F 95). 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 130 according to the operation by the user. The operation panel 22 may have push buttons, or may have a touch sensor superimposed on the display 17, for example. A communication interface 95 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 95 is not particularly limited, but Wi-Fi (registered trademark), for example, can be adopted. The communication interface 95 may be a USB interface with a detachable USB cable. The communication interface 95 outputs a received signal to the controller 130 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.

さらに、ASIC135には、接点152と、トレイセンサ19と、カバーセンサ88と、装着センサ154と、液面センサ155とが電気的に接続されている。コントローラ130は、装着ケース150に装着されたカートリッジ200のIC基板247のメモリに、接点152を通じてアクセスする。コントローラ130は、給送トレイ15の着脱をトレイセンサ19を通じて検出する。コントローラ130は、カバー87の位置をカバーセンサ88を通じて検出する。また、コントローラ130は、カートリッジ200の挿抜を装着センサ154を通じて検出する。さらに、コントローラ130は、液室171内のインクの液面が所定位置P以上か否かを液面センサ155を通じて検出する。 Further, a contact 152 , a tray sensor 19 , a cover sensor 88 , an attachment sensor 154 and a liquid level sensor 155 are electrically connected to the ASIC 135 . The controller 130 accesses the memory of the IC board 247 of the cartridge 200 mounted in the mounting case 150 through the contacts 152 . The controller 130 detects attachment/detachment of the feed tray 15 through the tray sensor 19 . Controller 130 detects the position of cover 87 through cover sensor 88 . Also, the controller 130 detects insertion/removal of the cartridge 200 through the mounting sensor 154 . Furthermore, the controller 130 detects whether or not the liquid level of the ink in the liquid chamber 171 is equal to or higher than a predetermined position P through the liquid level sensor 155 .

ROM132には、後述するカートリッジ装着処理及び残量更新処理においてコントローラ130が実行する判定に用いられる閾値時間Th1、Th2が記憶されている。閾値時間Th1は、第1所定時間の一例である。閾値時間Th2は、第2所定時間の一例である。 The ROM 132 stores threshold times Th1 and Th2 used in determinations executed by the controller 130 in cartridge mounting processing and remaining amount update processing, 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.

EEPROM134は、装着ケース150に装着される4つのカートリッジ200それぞれに対応付けて、換言すれば、カートリッジ200と連通されるタンク160それぞれに対応付けて、各種情報を記憶している。各種情報とは、例えば、液体量の一例であるインク量Vc、Vsと、最大インク量Vc0と、高さHc、Hsと、流路抵抗Rc、Rs、Rnと、関数Fc、Fsと、関数F1、F2と、閾値Vhと、C_Emptyフラグと、S_Emptyフラグと、第1初回フラグと、第2初回フラグと、カウント値Nとを含む。 The EEPROM 134 stores various information associated with each of the four cartridges 200 mounted in the mounting case 150 , in other words, associated with each of the tanks 160 communicating with the cartridges 200 . 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 resistances Rc, Rs, and Rn, functions Fc and Fs, and functions F1, F2, threshold value Vh, C_Empty flag, S_Empty flag, first initial flag, second initial flag, and count value N are included.

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

インク量Vcは、カートリッジ200の液室210に貯留されているインクの量を示す。インク量Vsは、タンク160の液室171に貯留されているインクの量を示す。インク量Vc、Vsは、例えば、後述する式3、4によって算出される。また、インク量Vsは、関数F1又は関数F2によって算出される。インク量Vcは、関数F1又は関数F2によって算出されたインク量Vsと、総量Vtとによって算出される。 The ink amount Vc indicates the amount of ink stored in the liquid chamber 210 of the cartridge 200 . The ink amount Vs indicates the amount of ink stored in the liquid chamber 171 of the tank 160 . The ink amounts Vc and Vs are calculated by Equations 3 and 4, which will be described later, for example. Also, the ink amount Vs is calculated by the function F1 or the function F2. The ink amount Vc is calculated from the ink amount Vs calculated by the function F1 or the function F2 and the total amount Vt.

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

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

関数Fcは、インク量Vc及び高さHcの対応関係を示す。カートリッジ200の液室210の水平断面積Dcが上下方向7において変化する場合、関数Fcは、インク量Vc及び高さHcを変数として、カートリッジ200の設計時に予め決定される。一方、上下方向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 liquid chamber 210 of the cartridge 200 changes in the vertical direction 7, the function Fc is determined in advance when the cartridge 200 is designed 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の対応関係を示す。タンク160の液室171の水平断面積Dsが上下方向7において変化する場合、関数Fsは、インク量Vs及び高さHsを変数として、タンク160の設計時に予め決定される。一方、上下方向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 liquid chamber 171 of the tank 160 changes in the vertical direction 7, the function Fs is determined in advance when the tank 160 is designed 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.

関数F1及び関数F2は、インクの総量Vtと、インク量Vsとの対応関係を示す情報である。カートリッジ200の液室210内のインクと、タンク160の液室171内のインクとは、それぞれのインクの液面の上下方向7の位置が一致した状態で平衡になる。つまり、平衡状態では、液室210と液室171との間でのインクの移動が停止する。平衡状態におけるインクの総量Vtとインク量Vsとの関係は、実測値を関数で近似することができる。 The function F1 and the function F2 are information indicating the correspondence relationship between the total ink amount Vt and the ink amount Vs. The ink in the liquid chamber 210 of the cartridge 200 and the ink in the liquid chamber 171 of the tank 160 are in equilibrium when the positions of the respective ink surfaces in the vertical direction 7 match. In other words, in the equilibrium state, movement of ink between the liquid chambers 210 and 171 stops. The relationship between the total ink amount Vt and the ink amount Vs in the equilibrium state can be approximated by a function of actual measurements.

例えば、総量Vtに対するインク量Vsの関係は、2つの関数F1及び関数F2によって近似的に表すことができる。関数F1は、総量Vtが閾値Vh以上であるときのインク量Vsとの関係を示しており、例えば、Vs=a×Vt+b(a,bは定数)で表される。関数F2は、総量Vtが閾値Vh未満であるときのインク量Vsとの関係を示しており、例えば、Vs=c×Vt+d(c,dは定数)で表される。 For example, the relationship between the ink amount Vs and the total amount Vt can be approximately represented by two functions F1 and F2. A function F1 indicates the relationship between the total amount Vt and the ink amount Vs when the total amount Vt is equal to or greater than the threshold value Vh, and is represented by, for example, Vs=a×Vt+b (a and b are constants). A function F2 indicates the relationship between the total amount Vt and the ink amount Vs when the total amount Vt is less than the threshold value Vh, and is represented by, for example, Vs=c×Vt+d (c and d are constants).

閾値Vhは、カートリッジ200の液室210の上部液室211に貯留されたインクの液面が、隔壁215の上面215U又は下面215Lと接触するときの総量Vtに相当する値である。したがって、カートリッジ200の液室210において、インクの液面が隔壁215より上方にあるときには、すなわち総量Vtが閾値Vh以上であるときには、関数F1によってインク量Vsが算出される。カートリッジ200の液室210において、インクの液面が隔壁215に接触しているか、或いは隔壁215より下方にあるときには、すなわち総量Vtが閾値Vh未満であるときには、関数F2によってインク量Vsが算出される。インク量Vcは、総量Vtとインク量Vsとの差として算出される。 The threshold value Vh is a value corresponding to the total amount Vt when the liquid surface of the ink stored in the upper liquid chamber 211 of the liquid chamber 210 of the cartridge 200 contacts the upper surface 215U or the lower surface 215L of the partition wall 215 . Therefore, when the ink surface is above the partition wall 215 in the liquid chamber 210 of the cartridge 200, that is, when the total amount Vt is equal to or greater than the threshold value Vh, the ink amount Vs is calculated by the function F1. In the liquid chamber 210 of the cartridge 200, when the ink surface is in contact with the partition wall 215 or is below the partition wall 215, that is, when the total amount Vt is less than the threshold value Vh, the ink amount Vs is calculated by the function F2. be. The ink amount Vc is calculated as the difference between the total amount Vt and the ink amount Vs.

カウント値Nは、液面センサ155から出力される信号がローレベル信号からハイレベル信号に変化した後に、ヘッド21に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値で、閾値Nthに近づく向きに更新される値である。カウント値Nは、初期値を“0”としてカウントアップされる値である。また、閾値Nthは、流出口174の上端と境界位置Pとの間の液室171の容積Vthに相当する。但し、カウント値Nは、容積Vthに相当する値を初期値として、カウントダウンされる値でもよい。この場合の閾値Nthは、0となる。 The count value N corresponds to the ink discharge amount Dh (that is, the ink amount indicated by the drive signal) instructed to discharge the head 21 after the signal output from the liquid level sensor 155 changes from the low level signal to the high level signal. It is a value that is updated in the direction of approaching the threshold Nth with a corresponding value. 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 liquid chamber 171 between the upper end of the outflow port 174 and the boundary position P. 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から出力される信号がハイレベル信号からローレベル信号に変化した後に、ヘッド21に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値であり、初期値を“0”としてカウントアップされる値である。 The count value TN corresponds to the ink discharge amount Dh (that is, the ink amount indicated by the drive signal) instructed to discharge the head 21 after the signal output from the mounting sensor 154 changes from the high level signal to the low level signal. It is a value that is counted up with an initial value of "0".

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

S_Emptyフラグは、タンク160がインクエンプティ状態か否かを示す情報である。S_Emptyフラグには、インクエンプティ状態であることに対応する値“ON”、或いはインクエンプティ状態でないことに対応する値“OFF”が設定される。インクエンプティ状態とは、例えば、タンク160(より詳細には、液室171)に貯留されたインクの液面が流出口174の上端の位置に達した状態である。換言すれば、インクエンプティ状態とは、カウント値Nが閾値Nth以上の状態である。インクエンプティ状態になった後にヘッド21によるインクの吐出を継続すると、ノズル29内がインクで満たされず、空気が混入してしまう(所謂、エアイン)可能性がある。すなわち、インクエンプティ状態は、ヘッド21を通じたインクの排出を禁止しなければならない状態である。 The S_Empty flag is information indicating whether the tank 160 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 level of ink stored in the tank 160 (more specifically, the liquid chamber 171 ) reaches the upper end of the outflow port 174 . 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 head 21 continues to eject ink after the ink is empty, the nozzles 29 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 head 21 must be prohibited.

第1初回フラグは、コントローラ130が、カートリッジ装着処理にて算出期間の決定に用いられる情報である。第1初回フラグには、カートリッジ装着処理における算出期間の決定が1回目であることに対応する値“ON”、或いは2回目以降であることに対応する値“OFF”が設定される。第2初回フラグは、コントローラ130が、残量更新処理にて算出期間の決定に用いられる情報である。第2初回フラグには、残量更新処理算出期間の決定が1回目であることに対応する値“ON”、或いは2回目以降であることに対応する値“OFF”が設定される。 The first initial flag is information used by the controller 130 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 130 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の動作]
図7~図10を参照して、本実施形態に係るプリンタ10の動作を説明する。図7~図10に示される各処理は、コントローラ130のCPU131によって実行される。なお、以下の各処理は、ROM132に記憶されているプログラムをCPU131が読み出して実行してもよいし、コントローラ130に搭載されたハードウェア回路によって実現されてもよい。また、以下の各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。
[Operation of printer 10]
The operation of the printer 10 according to this embodiment will be described with reference to FIGS. 7 to 10. FIG. Each process shown in FIGS. 7 to 10 is executed by the CPU 131 of the controller 130. FIG. Note that each of the following processes may be executed by the CPU 131 reading out a program stored in the ROM 132 , or may be implemented by a hardware circuit mounted on the controller 130 . Also, the execution order of the following processes can be changed as appropriate without changing the gist of the present invention.

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

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

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

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

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

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

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

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

コントローラ130は、第1初回フラグの設定値について判定する(S19)。コントローラ130は、第1初回フラグの設定値が“ON”であると判定したことに応じて(S19:ON)、S15でRAM133に記憶させた経過時間T1の開始時刻と現在の時刻とから、経過時間T1を算出し、算出した経過時間T1を算出期間Δtとして決定し、RAM133に記憶させる(S20)。ここで、経過時間T1は、S12にてYesと判定されてから、S18にて初めてYesと判定されるまでの時間である。決定された算出期間Δtは、第1期間Δt1の一例である。 The controller 130 determines the set value of the first initial flag (S19). In response to determining that the set value of the first initial flag is "ON" (S19: ON), the controller 130, based on the start time of the elapsed time T1 stored in the RAM 133 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 133 (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.

コントローラ130は、第1初回フラグの設定値が“OFF”であると判定したことに応じて(S19:OFF)、後述するS27でRAM133に記憶させる経過時間T2の開始時刻と現在の時刻とから、経過時間T2を算出し、算出した経過時間T2を算出期間Δtとして決定し、RAM133に記憶させる(S21)。ここで、経過時間T2は、S18にてYesと判定されてから、次にS18でYesと判定されるまでの時間である。決定された算出期間Δtは、第2期間Δt2の一例である。 When the controller 130 determines that the set value of the first initial flag is "OFF" (S19: OFF), the controller 130 calculates the elapsed time T2 from the current time and the start time of the elapsed time T2 stored in the RAM 133 in S27, 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 133 (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.

また、コントローラ130は、S20及びS21にて、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tkとして決定し、RAM133に記憶させる(S20,S21)。時刻tk-1は、経過時間T1の開始時刻又は経過時間T2の開始時刻である。時刻tkは、現在の時刻、すなわちS19の処理を実行した時刻である。 Further, in S20 and S21, the controller 130 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 133 (S20, S21). The time tk-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.

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

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

Figure 0007131031000001
Figure 0007131031000001

次に、流出量Qcは、連通されたニードル181の内部空間及びインクバルブ室213を通じて、算出期間Δtの間に液室210から液室171に流出するインクの量を示す。コントローラ130は、EEPROM134に記憶された高さHc、Hsを、時刻tk-1における高さHc’、Hs’として読み出す。また、コントローラ130は、粘度ρ、流路抵抗Rc、Rs、RnをEEPROM134から読み出す。そして、コントローラ130は、EEPROM134から読み出した情報と、重力加速度gと、直前に算出した流出量Qa(ヘッド21を通じたインクの排出が行われていない場合には、Qa=0)とを式2に代入して、流出量Qcを算出する(S22)。 Next, the outflow amount Qc indicates the amount of ink that flows out from the liquid chamber 210 to the liquid chamber 171 during the calculation period Δt through the communicating internal space of the needle 181 and the ink valve chamber 213 . Controller 130 reads heights Hc and Hs stored in EEPROM 134 as heights Hc' and Hs' at time tk -1 . The controller 130 also reads the viscosity ρ and the flow path resistances Rc, Rs, and Rn from the EEPROM 134 . Then, the controller 130 converts the information read from the EEPROM 134, the gravitational acceleration g, and the outflow amount Qa calculated immediately before (Qa=0 when the ink is not discharged through the head 21) into Equation 2 to calculate the outflow amount Qc (S22).

Figure 0007131031000002
Figure 0007131031000002

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

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

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

次に、コントローラ130は、EEPROM134に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S23)。すなわち、コントローラ130は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に液室210から液室171に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 130 reads the ink amount Vc stored in the EEPROM 134 as the ink amount Vc' at time tk -1 . Then, the controller 130 substitutes the ink amount Vc′ read from the EEPROM 134 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 130 subtracts the outflow amount Qc of the ink flowing out from the liquid chamber 210 into the liquid chamber 171 during the calculation period Δt from the ink amount Vc′ at the time t k−1 to obtain the ink amount Vc at the time t k Calculate

Figure 0007131031000003
Figure 0007131031000003

またS23において、コントローラ130は、EEPROM134に記憶されたインク量Vsを、時刻tk-1におけるインク量Vs’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に代入して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ130は、時刻tk-1におけるインク量Vs’に、算出期間Δtの間にタンク160から流出したインクの流出量Qaを減じ、且つ算出期間Δtの間に液室210から液室171に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S23, the controller 130 reads the ink amount Vs stored in the EEPROM 134 as the ink amount Vs' at time tk -1 . Then, the controller 130 substitutes the ink amount Vs′ read from the EEPROM 134 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 130 subtracts the outflow amount Qa of the ink flowing out of the tank 160 during the calculation period Δt from the ink amount Vs′ at the time tk −1 , The outflow amount Qc of the outflowing ink is added to 171 to calculate the ink amount Vs at the time tk .

Figure 0007131031000004
Figure 0007131031000004

またS23において、コントローラ130は、EEPROM134に記憶された関数Fcを読み出す。そして、コントローラ130は、式5で示されるように、式3で算出したインク量Vcを関数Fcに代入して、時刻tにおける高さHcを特定する。さらにS23において、コントローラ130は、式4で算出したインク量Vsと容積Vthとを比較する。そして、コントローラ130は、式4で算出したインク量Vsが容積Vth以下(すなわち、図11(A)に示されるように、液室171の液面が境界位置P以下)だと判定したことに応じて、式6で示されるように時刻tにおける高さHs=0と特定する。一方、コントローラ130は、インク量Vsが容積Vthより多い(すなわち、図11(B)及び図12(A)に示されるように、液室171の液面が境界位置Pより高い)と判定したことに応じて、EEPROM134から関数Fsを読み出す。そして、コントローラ130は、式6で示されるように、式4で算出したインク量Vsを関数Fsに代入して、時刻tにおける高さHsを特定する(S23)。 Also, in S23, the controller 130 reads the function Fc stored in the EEPROM 134. FIG. Then, the controller 130 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 130 compares the ink amount Vs calculated by Equation 4 with the volume Vth . Then, the controller 130 determines that the ink amount Vs calculated by Equation 4 is equal to or less than the volume Vth (that is, the liquid surface of the liquid chamber 171 is equal to or less than the boundary position P as shown in FIG. 11A). , specify the height Hs=0 at time t k as shown in Equation 6. On the other hand, the controller 130 determines that the ink amount Vs is greater than the volume Vth (that is, the liquid level of the liquid chamber 171 is higher than the boundary position P as shown in FIGS. 11B and 12A). Function Fs is read from EEPROM 134 according to the operation. Then, the controller 130 assigns the ink amount Vs calculated by the formula 4 to the function Fs as shown by the formula 6 to specify the height Hs at the time tk (S23).

Figure 0007131031000005
Figure 0007131031000005

Figure 0007131031000006
Figure 0007131031000006

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

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

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

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

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

次に、コントローラ130は、直前のS23で算出した高さHc、Hsの差と閾値高さHthとを比較する(S29)。閾値高さHthは、液室210、171の間において、実質的にインクが移動しないと考えられる水頭差を示す。閾値高さHthは、例えば、0である。液室210、171の間において、実質的にインクが移動しない状態を、平衡状態とする。すなわち、この平衡状態では、液室210、171の水頭差が実質的に0である。コントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判定したことに応じて(S29:No)、S18以降の処理を再び実行する。コントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判定したことに応じて(S29:Yes)、カートリッジ装着処理を終了する。 Next, the controller 130 compares the difference between the heights Hc and Hs calculated in the previous S23 with the threshold height Hth (S29). The threshold height H th represents a water head difference between the liquid chambers 210 and 171 at which ink does not substantially move. The threshold height H th is 0, for example. A state in which ink does not substantially move between the liquid chambers 210 and 171 is defined as an equilibrium state. That is, in this equilibrium state, the head difference between the liquid chambers 210 and 171 is substantially zero. When the controller 130 determines that the difference between the heights Hc and Hs is equal to or greater than the threshold height Hth (S29: No), the controller 130 executes the processes after S18 again. When the controller 130 determines that the difference between the heights Hc and Hs is less than the threshold height Hth (S29: Yes), it ends the cartridge mounting process.

コントローラ130は、S18にて、いずれの信号も受信しておらず、且つ、パージ処理を開始せず、且つ、スリープ状態への移行を開始しないと判定したことに応じて(S18:No)、上記経過時間T1が閾値時間Th1を越えたか否かを判定する(S30)。経過時間T1は、S15でRAM133に記憶させた経過時間T1の開始時刻と現在の時刻との差の時間である。コントローラ130は、経過時間T1が閾値時間Th1を越えていないと判定したことに応じて(S30:No)、S18の処理を再び実行する。 When the controller 130 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 133 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 130 executes the process of S18 again.

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

まず、コントローラ130は、S17でEEPROM134に記憶させた交換後インク量Vc1とVs1との和を、交換後の総量Vt1として算出する(Vt1=Vc1+Vs1)。次に、コントローラ130は、算出した総量Vtと、EEPROM134から読み出した関数F1又は関数F2に基づいて、液室210から液室171へのインクの移動が終了したときのインク量Vc及びインク量Vsを算出する。カートリッジが交換されると、新たなカートリッジ200の液室210に貯留されているインクが、インクニードル181を通じてタンク160の液室171に流入する。その結果、液室210のインク量Vcは減少し、また、液室171のインク量Vsは増加する。そして、カートリッジ200の液室210と、タンク160の液室171とは、それぞれの液面の上下方向7の位置が一致した状態で平衡になる。 First, the controller 130 calculates the sum of the post-replacement ink amounts Vc1 and Vs1 stored in the EEPROM 134 in S17 as the post-replacement total amount Vt1 (Vt1=Vc1+Vs1). Next, based on the calculated total amount Vt and the function F1 or F2 read from the EEPROM 134, the controller 130 determines the ink amount Vc and the ink amount Vs when the movement of the ink from the liquid chamber 210 to the liquid chamber 171 is completed. Calculate When the cartridge is replaced, the ink stored in the liquid chamber 210 of the new cartridge 200 flows through the ink needle 181 into the liquid chamber 171 of the tank 160 . As a result, the ink amount Vc in the liquid chamber 210 decreases, and the ink amount Vs in the liquid chamber 171 increases. Then, the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160 are balanced in a state where the positions of the respective liquid surfaces in the vertical direction 7 match.

コントローラ130は、算出した総量Vtが閾値Vh以上であるかを判定する。例えば、新品のカートリッジ200が装着ケース150に装着されると、総量Vtは閾値Vh以上である。コントローラ130は、総量Vtが閾値Vh以上であれば、関数F1を用いて、総量Vtからインク量Vsを算出する。すなわち、コントローラ130は、関数F1が示すVs=a×Vt+bに従って、インク量Vsを算出する。そして、コントローラ130は、算出したインク量Vsを現在の総量Vtから減じて、インク量Vcを算出する。すなわち、コントローラ130は、Vc=Vt-Vsに従って、インク量Vcを算出する。続いて、コントローラ130は、算出したインク量Vc、Vsと、EEPROM134から読み出した関数Fc,Fsとに基づいて、S23と同様の処理により、高さHc、Hsを決定する。 The controller 130 determines whether the calculated total amount Vt is greater than or equal to the threshold value Vh. For example, when a new cartridge 200 is attached to the attachment case 150, the total amount Vt is equal to or greater than the threshold value Vh. If the total amount Vt is equal to or greater than the threshold value Vh, the controller 130 uses the function F1 to calculate the ink amount Vs from the total amount Vt. That is, the controller 130 calculates the ink amount Vs according to Vs=a*Vt+b indicated by the function F1. The controller 130 then subtracts the calculated ink amount Vs from the current total amount Vt to calculate the ink amount Vc. That is, the controller 130 calculates the ink amount Vc according to Vc=Vt-Vs. Subsequently, the controller 130 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 134 by the same process as S23.

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

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

続いて、コントローラ130は、インク残量画面をディスプレイ17に表示させる(S34)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。そして、コントローラ130は、カートリッジ装着処理を終了する。 Subsequently, the controller 130 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 130 then ends the cartridge mounting process.

[画像記録処理]
コントローラ130は、プリンタ10に記録指示が入力されたことに応じて、図8に示される画像記録処理を実行する。記録指示は、画像データで示される画像をシートに記録する記録処理をプリンタ10に実行させるための排出指示の一例である。記録指示の取得方法は特に限定されないが、例えば、記録指示に対応するユーザ操作を操作パネル22を通じて受け付けてもよいし、不図示の通信インタフェースを通じて外部装置から受信してもよい。
[Image recording process]
Controller 130 executes the image recording process shown in FIG. 8 in response to a recording instruction being input to printer 10 . A print instruction is an example of a discharge instruction for causing the printer 10 to execute a print process of printing 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).

まず、コントローラ130は、4つのS_Emptyフラグそれぞれの設定値を判定する(S41)。そして、コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていると判定したことに応じて(S41:ON)、S_Empty報知画面をディスプレイ17に表示させる(S42)。S_Empty報知画面は、対応するタンク160がインクエンプティ状態になったことを、ユーザに報知するための画面である。S_Empty報知画面は、例えば、インクエンプティ状態のタンク160に貯留されているインクの色及びインク量Vc、Vsを示す情報を含んでもよい。 First, the controller 130 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 130 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 tank 160 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 tank 160 when the ink is empty.

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

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

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

続いて、コントローラ130は、現在の時刻を経過時間T3の開始時刻としてRAM133に記憶させて、経過時間T3の計測を開始する(S47)。また、コントローラ130は、2ページ目以降のシートへの画像記録(S45)を行った場合には、第3タイマの再スタート又は開始時刻の記憶(S47)を実行せず、経過時間T3の計測を継続する。 Subsequently, the controller 130 causes the RAM 133 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 second and subsequent pages (S45) is performed, the controller 130 does not restart the third timer or store the start time (S47), and measures the elapsed time T3. to continue.

そして、コントローラ130は、カウント処理を実行する(S48)。カウント処理は、S44、S46で液面センサ155から受信した信号に基づいて、カウント値N、C_Emptyフラグ、及びS_Emptyフラグを更新する処理である。カウント処理の詳細は、図9を参照して後述する。 Controller 130 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.

次に、コントローラ130は、記録指示で示された全ての画像をシートに記録するまで(S49:Yes)、S41~S48の処理を繰り返し実行する。そして、コントローラ130は、記録指示で示される全ての画像をシートに記録したことに応じて(S49:No)、残量更新処理を実行する(S50)。残量更新処理は、コントローラ130が、ヘッド21からインクが吐出されたことに応じて、EEPROM134に記憶されたインク量Vc、Vs及び高さHc、Hsを更新する処理である。残量更新処理の詳細は、図10を参照して後述する。コントローラ130は、残量更新処理と並行して或いは残量更新処理が終了したことに応じて、S51以降の処理を実行する。 Next, the controller 130 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 130 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 130 updates the ink amounts Vc, Vs and the heights Hc, Hs stored in the EEPROM 134 in accordance with ink ejection from the head 21 . Details of the remaining amount update processing will be described later with reference to FIG. The controller 130 executes the processes after S51 in parallel with the remaining amount update process or in response to completion of the remaining amount update process.

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

コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていることに応じて(S51:ON)、S_Empty報知画面をディスプレイ17に表示させる(S53)。また、コントローラ130は、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 130 causes the display 17 to display the S_Empty notification screen (S53). In addition, the controller 130 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フラグに対応するカートリッジ200がカートリッジエンプティ状態になったことを、ユーザに報知するための画面である。C_Empty報知画面は、例えば、カートリッジエンプティ状態のカートリッジ200に貯留されているインクの色及びインク量Vc、Vsを示す情報を含んでもよい。一方、コントローラ130は、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 cartridge 200 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 cartridge 200 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 130 performs the image recording process without executing the processes of S53 and S54. exit.

なお、排出指示の具体例は記録指示に限定されず、ノズル29のメンテナンスを指示するメンテナンス指示等であってもよい。コントローラ130は、例えばメンテナンス指示を受信したことに応じて、図8と同様の処理を実行する。メンテナンス指示を受信した場合の前述の処理との相違点は、以下の通りである。まず、コントローラ130は、S45において、不図示のメンテナンス機構を駆動させて、ノズル29を通じてインクを排出させる。また、コントローラ130は、カウント処理を実行した後に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 29, or the like. Controller 130 executes the same processing as in FIG. 8 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 130 drives a maintenance mechanism (not shown) to discharge ink through the nozzles 29 . In addition, the controller 130 executes the processes after S50 without executing the process of S49 after executing the counting process.

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

まず、コントローラ130は、S44、S46でRAM133に記憶させた液面センサ155の信号を示す情報を比較する(S61)。すなわち、コントローラ130は、カウント処理(S48)を実行する直前のS45の処理を実行する前と後とで、4つの液面センサ155それぞれの信号が変化したか否かを判定する。 First, the controller 130 compares the information indicating the signal of the liquid level sensor 155 stored in the RAM 133 in S44 and S46 (S61). That is, the controller 130 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).

コントローラ130は、S44、S46でRAM133に記憶させた情報が共にローレベル信号を示す(すなわち、S45の処理の前後で液面センサ155の信号出力が変化していない)ことに応じて(S61:L→L)、カウント値TNを更新する(S62)。すなわち、コントローラ130は、直前のS45で排出を指示したインク量に相当する値で、カウント値TNをカウントアップする。そして、コントローラ130は、カウント処理を終了する。 The controller 130 responds that the information stored in the RAM 133 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 130 counts up the count value TN with a value corresponding to the amount of ink instructed to be discharged in S45 immediately before. Controller 130 then terminates the counting process.

コントローラ130は、S44でRAM133に記憶させた情報がローレベル信号を示し、S46でRAM133に記憶させた情報がハイレベル信号を示す(すなわち、S45の処理の前後で液面センサ155の信号出力が変化した)ことに応じて(S61:L→H)、C_Emptyフラグに“ON”を設定する(S63)。 In the controller 130, the information stored in the RAM 133 in S44 indicates a low level signal, and the information stored in the RAM 133 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).

また、コントローラ130は、EEPROM134に記憶されたインク量Vcを、予め定められた所定値(=0)で上書きする(S64)。同様に、コントローラ130は、EEPROM134に記憶されたインク量Vsを、予め定められた所定値(=容積Vth-インク排出量Dh)で上書きする(S64)。第1、残量更新処理で算出されるインク量Vc、Vsは誤差を含むので、算出の繰り返し回数が増えるほど、インク量Vc、Vsに累積される誤差が大きくなる。そこで、コントローラ130は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したタイミングで、インク量Vc、Vsに予め定められた値を代入して、累積した誤差をリセットする。 Further, the controller 130 overwrites the ink amount Vc stored in the EEPROM 134 with a predetermined value (=0) (S64). Similarly, the controller 130 overwrites the ink amount Vs stored in the EEPROM 134 with a predetermined value (=volume V th -ink discharge amount Dh) (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 130 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の信号出力が変化した瞬間にタンク160に貯留されているインクの量とは僅かにズレを生じている。しかしながら、このズレは僅かなので、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 tank 160 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.

また、コントローラ130は、EEPROM134に記憶されたカウント値Nに、インク排出量Dhを代入する(S65)。すなわち、コントローラ130は、直前のS45で排出を指示したインク量に相当する値で、カウント値Nのカウントアップを開始する。換言すれば、コントローラ130は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したことに応じて、カウント値Nの更新を開始する。 Further, the controller 130 substitutes the discharged ink amount Dh for the count value N stored in the EEPROM 134 (S65). That is, the controller 130 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 130 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.

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

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

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

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

まず、コントローラ130は、C_Emptyフラグの設定値について判定する(S71)。コントローラ130は、C_Emptyフラグの設定値が“ON”であると判定したことに応じて(S71:ON)、残量更新処理を終了する。C_Emptyに“ON”が設定されるのは(S63)、液面センサ155の出力がローレベル信号からハイレベル信号に変化した場合である(S:51:L→H)。このとき、タンク160の液室171の液面が、図12(B)に示されるように、S45の処理中に境界位置Pに達している。そして、これ以降は、カートリッジ200とタンク160との間でインクが移動しないため、インク量Vcを更新する必要がない。そこで図10に示されるように、コントローラ130は、C_Emptyフラグに“ON”が設定されていることに応じて(S71:ON)、残量更新処理を終了する。なお、インク量Vsは、C_Emptyフラグに“ON”が設定された後、カウント処理のS68で更新される。 First, the controller 130 determines the set value of the C_Empty flag (S71). When the controller 130 determines that the setting value of the C_Empty flag is "ON" (S71: ON), the controller 130 ends the remaining amount update process. 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 surface of the liquid chamber 171 of the tank 160 reaches the boundary position P during the processing of S45, as shown in FIG. 12(B). After that, since the ink does not move between the cartridge 200 and the tank 160, there is no need to update the ink amount Vc. Therefore, as shown in FIG. 10, the controller 130 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".

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

次に、コントローラ130は、流出量Qa、Qc、インク量Vc、Vs、及び高さHc、Hsを、上述の式1~式6を用いて算出する(S73、S74)。まず、コントローラ130は、式1を用いて、算出期間Δtの間の流出量Qaを算出する(S73)。インク排出量Dh(tk-1)は、今回の画像記録処理のS45の開始までに排出を指示したインク量に相当する。なお、時刻tk-1は、S45で1ページ目のシートへの画像記録のためにヘッド21からのインクの排出を開始した時刻であり、時刻tk-1では未だインクの排出を行っていないので、インク排出量Dh(tk-1)はゼロである。インク排出量Dh(tk)は、今回の画像記録処理の全ページの画像記録が終了したときまでに排出を指示したインク量に相当する。 Next, the controller 130 calculates the outflow amounts Qa, Qc, the ink amounts Vc, Vs, and the heights Hc, Hs using the above-described Equations 1 to 6 (S73, S74). First, the controller 130 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 head 21 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 . Therefore, 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.

次に、コントローラ130は、式2を用いて、算出期間Δtの間の液室210から液室171へのインクの流出量Qcを算出する。コントローラ130は、EEPROM134に記憶された高さHc、Hsを、時刻tk-1における高さHc’、Hs’として読み出す。また、コントローラ130は、粘度ρ、流路抵抗Rc、Rs、RnをEEPROM134から読み出す。そして、コントローラ130は、EEPROM134から読み出した情報と、重力加速度gと、直前に算出した流出量Qaとを式2に代入して、流出量Qcを算出する(S73)。 Next, the controller 130 uses Equation 2 to calculate the amount Qc of ink flowing from the liquid chamber 210 to the liquid chamber 171 during the calculation period Δt. Controller 130 reads heights Hc and Hs stored in EEPROM 134 as heights Hc' and Hs' at time tk -1 . The controller 130 also reads the viscosity ρ and the flow path resistances Rc, Rs, and Rn from the EEPROM 134 . Then, the controller 130 substitutes the information read from the EEPROM 134, the gravitational acceleration g, and the outflow amount Qa calculated immediately before into Equation 2 to calculate the outflow amount Qc (S73).

次に、コントローラ130は、EEPROM134に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S74)。すなわち、コントローラ130は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に液室210から液室171に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 130 reads the ink amount Vc stored in the EEPROM 134 as the ink amount Vc' at time tk -1 . Then, the controller 130 substitutes the ink amount Vc′ read from the EEPROM 134 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 130 subtracts the outflow amount Qc of the ink flowing out from the liquid chamber 210 into the liquid chamber 171 during the calculation period Δt from the ink amount Vc′ at the time t k−1 to obtain the ink amount Vc at the time t k Calculate

またS74において、コントローラ130は、EEPROM134に記憶されたインク量Vsを、時刻tk-1におけるインク量Vs’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vs’と、直前に算出した流出量Qa、Qcとを式4に代入して、時刻tにおけるインク量Vsを算出する。すなわち、コントローラ130は、時刻tk-1におけるインク量Vs’に、算出期間Δtの間にタンク160から流出したインクの流出量Qaを減じ、且つ算出期間Δtの間に液室210から液室171に流出したインクの流出量Qcを加えて、時刻tにおけるインク量Vsを算出する。 In S74, the controller 130 reads the ink amount Vs stored in the EEPROM 134 as the ink amount Vs' at time tk -1 . Then, the controller 130 substitutes the ink amount Vs′ read from the EEPROM 134 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 130 subtracts the outflow amount Qa of the ink flowing out of the tank 160 during the calculation period Δt from the ink amount Vs′ at the time tk −1 , The outflow amount Qc of the outflowing ink is added to 171 to calculate the ink amount Vs at the time tk .

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

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

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

続いて、コントローラ130は、インク残量画面をディスプレイ17に表示させる(S77)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。 Subsequently, the controller 130 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.

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

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

次に、コントローラ130は、直前のS74で算出した高さHc、Hsの差と閾値高さHthとを比較する(S80)。コントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判定したことに応じて(S80:No)、S81以降の処理を実行する。コントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判定したことに応じて(S80:Yes)、残量更新処理を終了する。 Next, the controller 130 compares the difference between the heights Hc and Hs calculated in S74 immediately before with the threshold height Hth (S80). When the controller 130 determines that the difference between the heights Hc and Hs is equal to or greater than the threshold height Hth (S80: No), the controller 130 executes the processes after S81. When the controller 130 determines that the difference between the heights Hc and Hs is less than the threshold height Hth (S80: Yes), it ends the remaining amount update process.

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

コントローラ130は、上記のいずれかの信号を受信したと判定したこと、又は、パージ処理を開始すると判定したこと、又は、スリープ状態への移行を開始すると判定したことに応じて(S81:Yes)、S82以降の処理を実行する。詳しくは、コントローラ130は、カバーセンサ88からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ130は、装着センサ154からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ130は、トレイセンサ19からハイレベル信号又はローレベル信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ130は、操作パネル22から操作信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ130は、通信インタフェース95から受信信号を受信したと判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ130は、パージ処理を開始すると判定したことに応じて(S81:Yes)、S82以降の処理を実行する。コントローラ130は、スリープ状態への移行を開始すると判定したことに応じて(S81:Yes)、S82以降の処理を実行する。 The controller 130 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 130 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 130 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 130 determines that it has received a high level signal or a low level signal from the tray sensor 19 (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 130 executes the processes from S82 onwards. When the controller 130 determines that it has received the reception signal from the communication interface 95 (S81: Yes), it executes the processes from S82 onwards. When the controller 130 determines to start the purge process (S81: Yes), the process from S82 onwards is executed. When the controller 130 determines to start transitioning to the sleep state (S81: Yes), the controller 130 executes the processes after S82.

コントローラ130は、第2初回フラグの設定値について判定する(S82)。コントローラ130は、第2初回フラグの設定値が“ON”であると判定したことに応じて(S82:ON)、S78でRAM133に記憶させた経過時間T4の開始時刻と現在の時刻とから、経過時間T4を算出し、算出した経過時間T4を算出期間Δtとして決定し、RAM133に記憶させる(S83)。ここで、経過時間T4は、S40でNoと判定されてから、S81にて初めてYesと判定されるまでの時間である。決定された算出期間Δtは、排出後第1期間Δth1の一例である。 The controller 130 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 130, based on the start time of the elapsed time T4 stored in the RAM 133 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 133 (S83). Here, the elapsed time T4 is the time from the determination of No in S40 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.

コントローラ130は、第2初回フラグの設定値が“OFF”であると判定したことに応じて(S82:OFF)、後述するS90でRAM133に記憶させる経過時間T5の開始時刻と現在の時刻とから、経過時間T5を算出し、算出した経過時間T5を算出期間Δtとして決定し、RAM133に記憶させる(S84)。ここで、経過時間T5は、S81にてYesと判定されてから、次にS81でYesと判定されるまでの時間である。決定された算出期間Δtは、排出後第2期間Δth2の一例である。 When the controller 130 determines that the set value of the second initial flag is "OFF" (S82: OFF), the controller 130 calculates the elapsed time T5 from the current time and the start time of the elapsed time T5 stored in the RAM 133 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 133 (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.

また、コントローラ130は、S83及びS84にて、算出期間Δtの開始時刻を時刻tk-1、終了時刻を時刻tとして決定し、RAM133に記憶させる(S83,S84)。時刻tk-1は、経過時間T4の開始時刻又は経過時間T5の開始時刻である。時刻tは、現在の時刻、すなわちS82の処理を実行した時刻である。 Further, in S83 and S84, the controller 130 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 133 (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.

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

次に、コントローラ130は、式2を用いて、算出期間Δtの間の液室210から液室171へのインクの流出量Qcを算出する。コントローラ130は、EEPROM134に記憶された高さHc、Hsを、時刻tk-1における高さHc’、Hs’として読み出す。また、コントローラ130は、粘度ρ、流路抵抗Rc、Rs、RnをEEPROM134から読み出す。そして、コントローラ130は、EEPROM134から読み出した情報と、重力加速度gと、直前に算出した流出量Qa(ヘッド21を通じたインクの排出が行われていない場合には、Qa=0)とを式2に代入して、流出量Qcを算出する(S85)。 Next, the controller 130 uses Equation 2 to calculate the amount Qc of ink flowing from the liquid chamber 210 to the liquid chamber 171 during the calculation period Δt. Controller 130 reads heights Hc and Hs stored in EEPROM 134 as heights Hc' and Hs' at time tk -1 . The controller 130 also reads the viscosity ρ and the flow path resistances Rc, Rs, and Rn from the EEPROM 134 . Then, the controller 130 converts the information read from the EEPROM 134, the gravitational acceleration g, and the outflow amount Qa calculated immediately before (Qa=0 when the ink is not discharged through the head 21) into Equation 2 to calculate the outflow amount Qc (S85).

次に、コントローラ130は、EEPROM134に記憶されたインク量Vcを、時刻tk-1におけるインク量Vc’として読み出す。そして、コントローラ130は、EEPROM134から読み出したインク量Vc’と、直前に算出した流出量Qcとを式3に代入して、時刻tにおけるインク量Vcを算出する(S86)。すなわち、コントローラ130は、時刻tk-1におけるインク量Vc’から、算出期間Δtの間に液室210から液室171に流出したインクの流出量Qcを減じて、時刻tにおけるインク量Vcを算出する。 Next, the controller 130 reads the ink amount Vc stored in the EEPROM 134 as the ink amount Vc' at time tk -1 . Then, the controller 130 substitutes the ink amount Vc′ read from the EEPROM 134 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 130 subtracts the outflow amount Qc of the ink flowing out from the liquid chamber 210 into the liquid chamber 171 during the calculation period Δt from the ink amount Vc′ at the time t k−1 to obtain the ink amount Vc at the time t k Calculate

またS86において、コントローラ130は、EEPROM134に記憶された関数Fcを読み出す。そして、コントローラ130は、式5で示されるように、式3で直前に算出したインク量Vcを関数Fcに代入して、時刻tにおける高さHcを特定する。さらにS74において、コントローラ130は、EEPROM134から関数Fsを読み出す。そして、コントローラ130は、式6で示されるように、式4で算出したインク量Vsを関数Fsに代入して、時刻tにおける高さHsを特定する(S86)。 Also, in S86, the controller 130 reads the function Fc stored in the EEPROM 134. FIG. Then, the controller 130 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, controller 130 reads function Fs from EEPROM 134. FIG. Then, the controller 130 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 ).

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

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

続いて、コントローラ130は、インク残量画面をディスプレイ17に表示させる(S89)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。 Subsequently, the controller 130 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.

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

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

次に、コントローラ130は、直前のS86で算出した高さHc、Hsの差と閾値高さHthとを比較する(S92)。コントローラ130は、高さHc、Hsの差が閾値高さHth以上だと判定したことに応じて(S92:No)、S81以降の処理を再び実行する。コントローラ130は、高さHc、Hsの差が閾値高さHth未満だと判定したことに応じて(S92:Yes)、残量更新処理を終了する。 Next, the controller 130 compares the difference between the heights Hc and Hs calculated in S86 immediately before with the threshold height Hth (S92). When the controller 130 determines that the difference between the heights Hc and Hs is equal to or greater than the threshold height Hth (S92: No), the controller 130 executes the processes after S81 again. When the controller 130 determines that the difference between the heights Hc and Hs is less than the threshold height Hth (S92: Yes), it ends the remaining amount update process.

コントローラ130は、S81にて、いずれの信号も受信しておらず、且つ、パージ処理を開始せず、且つ、スリープ状態への移行を開始しないと判定したことに応じて(S81:No)、上記経過時間T3が、閾値時間Th2を越えたか否かを判定する(S93)。経過時間T3は、S47でRAM133に記憶させた経過時間T3の開始時刻と現在の時刻との差の時間である。コントローラ130は、経過時間T3が閾値時間Th2を越えていないと判定したことに応じて(S93:No)、S81の処理を再び実行する。 When the controller 130 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 133 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 130 executes the process of S81 again.

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

まず、コントローラ130は、S17でEEPROM134に記憶させた交換後インク量Vc1とVs1との和を、交換後総量Vt1として算出する(Vt1=Vc1+Vs1)。次に、コントローラ130は、交換後総量Vt1から、カウント値TNに相当するインク量を差し引いた値として、現在の総量Vtを算出する(Vt=Vt1-TN)。そして、コントローラ130は、算出した総量Vtと、EEPROM134から読み出した関数F1又は関数F2に基づいて、液室210から液室171へのインクの移動が終了したときのインク量Vc及びインク量Vsを算出する。 First, the controller 130 calculates the sum of the post-replacement ink amount Vc1 and Vs1 stored in the EEPROM 134 in S17 as the post-replacement total amount Vt1 (Vt1=Vc1+Vs1). Next, the controller 130 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). Based on the calculated total amount Vt and the function F1 or F2 read from the EEPROM 134, the controller 130 calculates the ink amount Vc and the ink amount Vs when the movement of the ink from the liquid chamber 210 to the liquid chamber 171 is completed. calculate.

コントローラ130は、算出した総量Vtが閾値Vh以上であるかを判定する。コントローラ130は、総量Vtが閾値Vh以上であれば、関数F1を用いて、総量Vtからインク量Vsを算出する。すなわち、コントローラ130は、関数F1が示すVs=a×Vt+bに従って、インク量Vsを算出する。コントローラ130は、総量Vtが閾値Vh未満であれば、関数F2を用いて、総量Vtからインク量Vsを算出する。すなわち、コントローラ130は、Vc=Vt-Vsに従って、インク量Vcを算出する。そして、コントローラ130は、算出したインク量Vsを現在の総量Vtから減じて、インク量Vcを算出する。続いて、コントローラ130は、算出したインク量Vc、Vsと、EEPROM134から読み出した関数Fc,Fsとに基づいて、S23と同様の処理により、高さHc、Hsを決定する。 The controller 130 determines whether the calculated total amount Vt is greater than or equal to the threshold value Vh. If the total amount Vt is equal to or greater than the threshold value Vh, the controller 130 uses the function F1 to calculate the ink amount Vs from the total amount Vt. That is, the controller 130 calculates the ink amount Vs according to Vs=a*Vt+b indicated by the function F1. If the total amount Vt is less than the threshold value Vh, the controller 130 uses the function F2 to calculate the ink amount Vs from the total amount Vt. That is, the controller 130 calculates the ink amount Vc according to Vc=Vt-Vs. The controller 130 then subtracts the calculated ink amount Vs from the current total amount Vt to calculate the ink amount Vc. Subsequently, the controller 130 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 134 by the same process as S23.

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

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

続いて、コントローラ130は、インク残量画面をディスプレイ17に表示させる(S97)。インク残量画面は、S26でディスプレイ17に表示させるインク残量画面と同様であってよい。そして、コントローラ130は、残量更新処理を終了する。 Subsequently, the controller 130 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 130 then ends the remaining amount update process.

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

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

[変形例]
上記実施形態では、S18及びS81の判定に用いる信号(第1信号)の例として、カバーセンサ88が出力する信号、装着センサ154が出力する信号、トレイセンサ19が出力する信号、操作パネル22が出力する信号、及び通信インタフェース95が出力する信号が例示されたが、コントローラ130が受信する他の信号を用いてもよい。また、上記実施形態では、S18及びS81の判定に用いる特定動作の例として、パージ処理の開始と、スリープ状態への移行の開始が例示されたが、コントローラ130が実行する他の動作を用いてもよい。
[Modification]
In the above-described embodiment, examples of the signal (first signal) used for determination in S18 and S81 include a signal output by the cover sensor 88, a signal output by the mounting sensor 154, a signal output by the tray sensor 19, and a signal output by the operation panel 22. Although the signal output and the signal output by the communication interface 95 are illustrated, other signals received by the controller 130 may be used. Further, in the above-described embodiment, 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 and S81. good too.

上記実施形態では、コントローラ130は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことに応じて(S12:Yes)、S13に示す処理を実行した。コントローラ130がS13に示す処理を実行するのは、装着ケース150内にカートリッジ200が存在しない装着ケース150内に、カートリッジ200が装着されたことを契機としている。つまり、コントローラ130は、装着ケース150内にカートリッジ200が装着されたと判定したことに応じて、S13に示す処理を実行すればよい。なお、コントローラ130が、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことは、コントローラ130が、装着ケース150内にカートリッジが装着されたと判定したことの一例である。コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判定する、他の例を以下に説明する。 In the above embodiment, the controller 130 responds to receiving a low signal from the mounting sensor 154, followed by a high signal from the mounting sensor 154, and then a low signal from the mounting sensor 154. (S12: Yes), the process shown in S13 was executed. The reason why the controller 130 executes the processing shown in S13 is that the cartridge 200 is mounted in the mounting case 150 where the cartridge 200 is not present. In other words, the controller 130 may perform the processing shown in S13 in response to determining that the cartridge 200 is mounted in the mounting case 150. FIG. It should be noted that controller 130 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 150 . Another example in which the controller 130 determines that the cartridge 200 is mounted in the mounting case 150 will be described below.

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

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

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

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

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

また、IC基板247は、接点152と接触して導通されるが、これにかえて、NFC(near field communication)やRFID(radio frequency identification)のような電波を用いて非接触でデータを読み書きする情報媒体とインターフェースとが採用されてもよい。 Also, the IC substrate 247 is in contact with the contact 152 and is electrically connected, but instead of this, data is read and written 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.

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

10・・・プリンタ(液体排出装置)
17・・・ディスプレイ(報知機)
19・・・トレイセンサ
21・・・ヘッド
22・・・操作パネル(ユーザインタフェース)
32・・・チューブ(第4流路)
88・・・カバーセンサ
95・・・通信インタフェース
130・・・コントローラ
132・・・ROM(メモリ)
133・・・RAM(メモリ)
134・・・EEPROM(メモリ)
150・・・装着ケース
152・・・接点(インターフェース)
154・・・装着センサ
155・・・液面センサ
160・・・タンク
171・・・液室(第2液室)
175・・・大気連通室(第5流路)
181・・・ニードル(第3流路)
200・・・カートリッジ
210・・・液室(第1液室)
213・・・インクバルブ室(第1流路)
214・・・大気バルブ室(第2流路)
10 Printer (liquid ejection device)
17... Display (annunciator)
19 Tray sensor 21 Head 22 Operation panel (user interface)
32 Tube (fourth channel)
88... cover sensor 95... communication interface 130... controller 132... ROM (memory)
133 RAM (memory)
134 EEPROM (memory)
150: Mounting case 152: Contact (interface)
154 Mounted sensor 155 Liquid level sensor 160 Tank 171 Liquid chamber (second liquid chamber)
175: Atmospheric communication chamber (fifth flow path)
181 Needle (third flow path)
200 Cartridge 210 Liquid chamber (first liquid chamber)
213... Ink valve chamber (first channel)
214: atmosphere valve chamber (second flow path)

Claims (16)

液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
装置メモリと、
コントローラとを備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたか否かを判定し、
上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、
上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、
上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、
決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、Hs、及び読み出された上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end communicating with the outside a mounting case in which a cartridge having a second flow path communicating with is mounted;
A tank having a second liquid chamber,
a third channel having one end communicating with the outside and the other end communicating with the second liquid chamber;
a fourth channel having one end located below the third channel and communicating with the second liquid chamber;
a fifth channel having one end communicating with the second liquid chamber and the other end communicating with the outside;
and
a head communicating with the other end of the fourth channel;
a device memory;
a controller;
at least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case;
The 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 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 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, the height of the second flow path reading the flow path resistance Rc, the flow path resistance Rs of the fifth flow path, and the flow path resistance Rn, which is the resistance of both or one of the first flow path and the third flow path;
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. determined based on the road resistances Rc, Rs, 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.
上記コントローラは、
決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、
決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、
決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記第1期間Δt1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第2期間Δt2として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記第2期間Δt2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第2期間Δt2が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する
請求項1に記載の液体排出装置。
The above controller is
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 difference between the updated heights Hc and Hs is equal to or greater than a threshold height,
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height and determining that the first signal has been received, or
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater 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;
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 is calculated using the updated heights Hc and Hs and the flow path resistances Rc and Rs. , Rn, 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;
2. 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.
上記コントローラは、更新された上記高さHc、Hsの差が上記閾値高さ未満だと判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する
請求項2に記載の液体排出装置。
The controller determines the outflow amount Qc and the liquid amounts Vc, Vs based on the determination that the difference between the updated heights Hc, Hs is less than the threshold height, and determines the liquid amount 3. The liquid discharge device according to claim 2, wherein the process of storing Vc and Vs is stopped.
上記コントローラは、上記装着ケースに上記カートリッジが装着されたと判定した後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記装着ケースに上記カートリッジが装着されたと判定してから第1所定時間が経過したと判定したことに基づいて、
上記装置メモリから、上記液体量Vsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、
読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する
請求項1から3のいずれかに記載の液体排出装置。
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;
4. The liquid ejection device according to any one of claims 1 to 3, 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液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
装置メモリと、
コントローラとを備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
液体を排出する排出指示を受け付け、
上記排出指示に従って上記ヘッドに液体を排出させ、
上記排出指示に示される液体の排出量Dhを決定し、
上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第4流路から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、
上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体流出量Qcを、読み出された上記高さHc、Hs、決定された上記流出量Qa、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、
決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、
第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end communicating with the outside a mounting case in which a cartridge having a second flow path communicating with is mounted;
A tank having a second liquid chamber,
a third channel having one end communicating with the outside and the other end communicating with the second liquid chamber;
a fourth channel having one end located below the third channel and communicating with the second liquid chamber;
a fifth channel having one end communicating with the second liquid chamber and the other end communicating with the outside;
and
a head communicating with the other end of the fourth channel;
a device memory;
a controller;
at least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case;
The 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 fourth flow path 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 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, the height of the second flow path reading the flow path resistance Rc, the flow path resistance Rs of the fifth flow path, and the flow path resistance Rn, which is the resistance of both or one of the first flow path and the third flow path;
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 is calculated using the read heights Hc and Hs, the determined outflow amount Qa, and the flow determined based on the road resistances Rc, Rs, 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 difference between the updated heights Hc and Hs is equal to or greater than a threshold height,
Determining whether or not the first signal has been received, or determining whether or not to start a specific action,
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height and determining that the first signal has been received, or
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater 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 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 Rc. , Rs, 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.
上記コントローラは、
決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定したことに基づいて、決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記排出後第1期間Δth1が経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第2期間Δth2として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記排出後第2期間Δth2の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第2期間Δth2が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する
請求項5に記載の液体排出装置。
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 difference between the updated heights Hc and Hs is equal to or greater than a threshold height,
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height and determining that the first signal has been received, or
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater 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 post-discharge second period Δth2 is calculated using the updated heights Hc and Hs and the flow path resistance Rc. , Rs, 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;
6. The liquid ejection device according to claim 5, 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.
上記コントローラは、更新された上記高さHc、Hsの差が上記閾値高さ未満だと判定したことに基づいて、上記流出量Qc及び上記液体量Vc、Vsを決定し且つ決定した上記液体量Vc、Vsを記憶させる処理を停止する
請求項6に記載の液体排出装置。
The controller determines the outflow amount Qc and the liquid amounts Vc, Vs based on the determination that the difference between the updated heights Hc, Hs is less than the threshold height, and determines the liquid amount 7. The liquid discharge device according to claim 6, wherein the process of storing Vc and Vs is stopped.
上記コントローラは、上記排出指示に従って上記ヘッドに液体を排出させた後であって、上記第1信号を受信したと判定する前、且つ、上記特定動作を開始すると判定する前に、上記排出指示に従って上記ヘッドに液体を排出させてから第2所定時間が経過したと判定したことに基づいて、
上記装置メモリから、上記液体量Vsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、上記液体量Vcを読み出し、
読み出した上記液体量Vc、Vsに基づいて、上記第1液室から上記第2液室への液体の流入が終了した状態にあるときの上記液体量Vc、Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する
請求項5から7のいずれかに記載の液体排出装置。
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;
8. The liquid ejection device according to any one of claims 5 to 7, 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から8のいずれかに記載の液体排出装置。
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
Receiving a first signal output by the communication interface based on receiving an instruction to discharge the liquid from the head from an external device through the communication interface;
9. A liquid ejection device as claimed in any one of claims 1 to 8 configured to.
上記コントローラは、
上記特定動作として、上記ヘッドからの液体の排出を開始する、又は、スリープ状態への移行を開始するように構成されている
請求項1から9のいずれかに記載の液体排出装置。
The above controller is
10. The liquid ejecting apparatus according to any one of claims 1 to 9, wherein the specific operation is to start ejecting liquid from the head or to initiate transition to a sleep state.
インタフェースを更に有し、
上記コントローラは、
上記液体量Vcを決定したことに基づいて、決定した上記液体量Vcを上記インタフェースを通じて上記カートリッジが有するカートリッジメモリに記憶させる
請求項1から10のいずれかに記載の液体排出装置。
further having an interface;
The above controller is
11. The liquid ejection device according to any one of claims 1 to 10, 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から11のいずれかに記載の液体排出装置。
further having a display;
The above controller is
12. The liquid discharge device according to any one of claims 1 to 11, 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から12のいずれかに記載の液体排出装置。
further comprising an alarm;
The above controller is
13. The liquid discharge device according to any one of claims 1 to 12, wherein the alarm is activated when the determined liquid amount Vs becomes less than a threshold amount.
上記コントローラは、
決定した上記液体量Vsが閾値量未満になったことに基づいて、上記ヘッドを通じた液体の排出を禁止する
請求項1から13のいずれかに記載の液体排出装置。
The above controller is
14. The liquid ejection device according to any one of claims 1 to 13, wherein ejection of the liquid through the head is prohibited when the determined liquid amount Vs becomes less than a threshold amount.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、
上記カートリッジが装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
装置メモリと、
コントローラとを備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
上記装着ケースに上記カートリッジが装着されたか否かを判定し、
上記カートリッジが装着されたと判定したことに基づいて、第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、
上記第1信号を受信したと判定したことに基づいて、又は、上記特定動作を開始すると判定したことに基づいて、
上記装着ケースに上記カートリッジが装着されたと判定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を第1期間Δt1として決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、
決定された上記第1期間Δt1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、読み出された上記高さHc、Hs、及び読み出された上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記第1期間Δt1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end communicating with the outside a cartridge having a second flow path in communication with
a mounting case in which the cartridge is mounted;
A tank having a second liquid chamber,
a third channel having one end communicating with the outside and the other end communicating with the second liquid chamber;
a fourth channel having one end located below the third channel and communicating with the second liquid chamber;
a fifth channel having one end communicating with the second liquid chamber and the other end communicating with the outside;
and
a head communicating with the other end of the fourth channel;
a device memory;
a controller;
at least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case;
The 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 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 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, the height of the second flow path reading the flow path resistance Rc, the flow path resistance Rs of the fifth flow path, and the flow path resistance Rn, which is the resistance of both or one of the first flow path and the third flow path;
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. determined based on the road resistances Rc, Rs, 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.
液体が貯留された第1液室、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジと、
上記カートリッジが装着される装着ケースと、
第2液室を有するタンクであって、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有する上記タンクと、
上記第4流路の他端と連通されるヘッドと、
装置メモリと、
コントローラとを備え、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通し、
上記コントローラは、
液体を排出する排出指示を受け付け、
上記排出指示に従って上記ヘッドに液体を排出させ、
上記排出指示に示される液体の排出量Dhを決定し、
上記ヘッドを通じた液体の排出中の排出期間Δthの間に上記第4流路から上記ヘッドに向けて流出する液体の流出量Qaを、決定した上記排出量Dhに基づいて決定し、
上記装置メモリから、上記第2液室に貯留されている液体量Vs及び基準位置から上記第2液室の液面までの高さHsを読み出し、
上記カートリッジが備えるカートリッジメモリ又は上記装置メモリから、上記第1液室に貯留されている液体量Vc、上記基準位置から上記第1液室の液面までの高さHc、上記第2流路の流路抵抗Rc、上記第5流路の流路抵抗Rs、及び上記第1流路及び上記第3流路の双方の抵抗又は一方の抵抗である流路抵抗Rnを読み出し、
上記排出期間Δthの間に上記第1液室から上記第2液室へ流出する液体流出量Qcを、読み出された上記高さHc、Hs、決定された上記流出量Qa、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出期間Δthが経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vs、決定された上記流出量Qc及び決定された上記流出量Qaに基づいて、上記排出期間Δthが経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新し、
決定された上記液体量Vsに対応する上記高さHsを決定し且つ決定された上記高さHsにて上記装置メモリに記憶されている上記高さHsを更新し、決定された上記液体量Vcに対応する上記高さHcを決定し且つ決定された上記高さHcにて上記装置メモリ及び上記カートリッジが有するカートリッジメモリのうち少なくとも一方に記憶されている上記高さHcを更新し、
更新された上記高さHc、Hsの差が閾値高さ以上か否かを判定し、
第1信号を受信したか否かを判定し、又は、特定動作を開始するか否かを判定し、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記第1信号を受信したと判定したことに基づいて、又は、
更新された上記高さHc、Hsの差が上記閾値高さ以上だと判定し且つ上記特定動作を開始すると判定したことに基づいて、
決定された上記排出期間Δthが経過した後の上記液体量Vc、Vsを決定してから上記第1信号を受信するまで、又は、上記特定動作を開始すると判定するまでの期間を排出後第1期間Δth1として決定し、
上記装置メモリから、更新された上記液体量Vs及び更新された上記高さHsを読み出し、
上記装置メモリ又は上記カートリッジが備えるカートリッジメモリから、更新された上記液体量Vc及び更新された上記高さHcを読み出し、
決定された上記排出後第1期間Δth1の間に上記第1液室から上記第2液室へ流出する液体の流出量Qcを、更新された上記高さHc、Hs、及び上記流路抵抗Rc、Rs、Rnに基づいて決定し、
読み出された上記液体量Vcと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vcを決定し、
読み出された上記液体量Vsと決定された上記流出量Qcとに基づいて、上記排出後第1期間Δth1が経過した後の上記液体量Vsを決定し、
決定された上記液体量Vsによって、上記装置メモリに記憶されている上記液体量Vsを更新し、
決定された上記液体量Vcによって、上記装置メモリ及び上記カートリッジメモリのうち少なくとも一方に記憶されている上記液体量Vcを更新する液体排出装置。
a first liquid chamber in which a liquid is stored, a first channel having one end communicating with the first liquid chamber and the other end communicating with the outside, and one end communicating with the first liquid chamber and the other end communicating with the outside a cartridge having a second flow path in communication with
a mounting case in which the cartridge is mounted;
A tank having a second liquid chamber,
a third channel having one end communicating with the outside and the other end communicating with the second liquid chamber;
a fourth channel having one end located below the third channel and communicating with the second liquid chamber;
a fifth channel having one end communicating with the second liquid chamber and the other end communicating with the outside;
and
a head communicating with the other end of the fourth channel;
a device memory;
a controller;
at least one of the first flow path and the third flow path communicates the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case;
The 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 fourth flow path 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 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, the height of the second flow path reading the flow path resistance Rc, the flow path resistance Rs of the fifth flow path, and the flow path resistance Rn, which is the resistance of both or one of the first flow path and the third flow path;
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 is calculated using the read heights Hc and Hs, the determined outflow amount Qa, and the flow determined based on the road resistances Rc, Rs, 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 difference between the updated heights Hc and Hs is equal to or greater than a threshold height,
Determining whether or not the first signal has been received, or determining whether or not to start a specific action,
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater than the threshold height and determining that the first signal has been received, or
Based on determining that the difference between the updated heights Hc and Hs is equal to or greater 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 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 Rc. , Rs, 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.
JP2018068964A 2018-03-30 2018-03-30 Liquid ejector Active JP7131031B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018068964A JP7131031B2 (en) 2018-03-30 2018-03-30 Liquid ejector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018068964A JP7131031B2 (en) 2018-03-30 2018-03-30 Liquid ejector

Publications (2)

Publication Number Publication Date
JP2019177632A JP2019177632A (en) 2019-10-17
JP7131031B2 true JP7131031B2 (en) 2022-09-06

Family

ID=68277233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018068964A Active JP7131031B2 (en) 2018-03-30 2018-03-30 Liquid ejector

Country Status (1)

Country Link
JP (1) JP7131031B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008238635A (en) 2007-03-28 2008-10-09 Seiko Epson Corp Liquid ejector
JP2008238792A (en) 2007-03-29 2008-10-09 Brother Ind Ltd Liquid discharge device and liquid discharge device body
JP2016068431A (en) 2014-09-30 2016-05-09 理想科学工業株式会社 Ink jet printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6155664A (en) * 1998-06-19 2000-12-05 Lexmark International, Inc. Off-carrier inkjet print supply with memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008238635A (en) 2007-03-28 2008-10-09 Seiko Epson Corp Liquid ejector
JP2008238792A (en) 2007-03-29 2008-10-09 Brother Ind Ltd Liquid discharge device and liquid discharge device body
JP2016068431A (en) 2014-09-30 2016-05-09 理想科学工業株式会社 Ink jet printer

Also Published As

Publication number Publication date
JP2019177632A (en) 2019-10-17

Similar Documents

Publication Publication Date Title
JP6859811B2 (en) Liquid drainer
US10569537B2 (en) Liquid discharge apparatus
JP6859809B2 (en) Liquid drainer
US11203205B2 (en) Liquid discharge device
JP6848616B2 (en) Liquid drainer and cartridge
JP7135383B2 (en) Liquid discharge device and system
JP7131029B2 (en) Liquid ejector
JP6939030B2 (en) Liquid drainer
JP2024003143A (en) liquid discharge device
JP7114872B2 (en) Liquid ejector
JP6874728B2 (en) Liquid drainer
JP7119451B2 (en) Liquid discharge device and system
JP7131031B2 (en) Liquid ejector
JP7131030B2 (en) Liquid ejector
JP7196509B2 (en) Liquid ejector
JP7077573B2 (en) Liquid drainer
JP7119450B2 (en) Liquid discharge device and system
JP6922352B2 (en) Liquid drainer
JP7167467B2 (en) Liquid ejection devices, cartridges and systems
JP7131270B2 (en) Liquid ejector
JP6879251B2 (en) Liquid drainer
JP7063129B2 (en) Liquid drainer
JP7180099B2 (en) Liquid ejector
JP6950438B2 (en) Liquid drainer
JP2022019846A (en) Liquid discharge device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220526

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 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: 7131031

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150