JP6379514B2 - Liquid consuming apparatus and method for controlling liquid consuming apparatus - Google Patents

Liquid consuming apparatus and method for controlling liquid consuming apparatus Download PDF

Info

Publication number
JP6379514B2
JP6379514B2 JP2014034098A JP2014034098A JP6379514B2 JP 6379514 B2 JP6379514 B2 JP 6379514B2 JP 2014034098 A JP2014034098 A JP 2014034098A JP 2014034098 A JP2014034098 A JP 2014034098A JP 6379514 B2 JP6379514 B2 JP 6379514B2
Authority
JP
Japan
Prior art keywords
liquid
remaining
determined
ink
determination process
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
JP2014034098A
Other languages
Japanese (ja)
Other versions
JP2015157442A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014034098A priority Critical patent/JP6379514B2/en
Publication of JP2015157442A publication Critical patent/JP2015157442A/en
Application granted granted Critical
Publication of JP6379514B2 publication Critical patent/JP6379514B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、液体消費装置及び液体消費装置の制御方法等に関係する。   The present invention relates to a liquid consuming apparatus, a method for controlling the liquid consuming apparatus, and the like.

液体消費装置の一例であるインクジェット方式の印刷装置には、取り外し可能な液体収容容器であるインクカートリッジが装着される。インクカートリッジには、インクカートリッジ内のインクの量が所定量を下回ったことをより正確に検出するための光路部材(プリズム)を備えたものがある。   An ink jet printer that is an example of a liquid consuming device is equipped with an ink cartridge that is a removable liquid container. Some ink cartridges include an optical path member (prism) for more accurately detecting that the amount of ink in the ink cartridge has fallen below a predetermined amount.

例えば特許文献1の従来技術では、インクの屈折率に近い屈折率の光路部材をインクカートリッジに設ける。そして、光路部材の内側にインクが満たされている場合には、発光部からの光は光路部材からインク内へ透過する。一方、光路部材の内側のインクがエンプティーの場合には、発光部からの光は光路部材の内面で全反射され、その全反射された光が受光部により検出される。これによりインクの残存状態を検出できる。   For example, in the prior art of Patent Document 1, an optical path member having a refractive index close to the refractive index of ink is provided in the ink cartridge. When the inside of the optical path member is filled with ink, the light from the light emitting portion is transmitted from the optical path member into the ink. On the other hand, when the ink inside the optical path member is empty, the light from the light emitting part is totally reflected by the inner surface of the optical path member, and the totally reflected light is detected by the light receiving part. Thereby, the remaining state of the ink can be detected.

また、特許文献2には、光センサーを用いてインク等の残存状態の判定を行う装置において、センサーの故障を検出する処理を行い、センサー故障が検出された場合とされない場合とで、残存状態の判定処理を変更する手法が開示されている。   Further, in Patent Document 2, in an apparatus for determining the remaining state of ink or the like using an optical sensor, a process for detecting a sensor failure is performed, and the remaining state is determined depending on whether the sensor failure is detected or not. A method of changing the determination process is disclosed.

特開平5−332812号公報JP-A-5-332812 特開2013−188879号公報JP2013-188879A

特許文献1及び特許文献2のように、光を用いてインク等の液体の残存状態を判定する場合には、発光部と受光部を有する光センサーを用いることが考えられる。その際に、光センサーの受光部に、インクカートリッジ内の光路部材からの反射光だけではなく、外乱光(環境光)が入射される場合には、インクの残存状態を誤って判定してしまうことがある。この場合には、液体の残存状態の判定結果が信頼性の低いものとなってしまう。   As in Patent Document 1 and Patent Document 2, when the remaining state of a liquid such as ink is determined using light, it is conceivable to use an optical sensor having a light emitting unit and a light receiving unit. At this time, if not only the reflected light from the optical path member in the ink cartridge but also ambient light (environmental light) is incident on the light receiving portion of the optical sensor, the remaining state of the ink is erroneously determined. Sometimes. In this case, the determination result of the remaining state of the liquid becomes low in reliability.

これに対し、特許文献2では、故障検出板の位置において、発光部を発光させた状態で受光部が受光した光に基づいて、センサー故障を検出している。具体的には、故障判定は当該状態での信号値と、所与の基準信号値との比較というシンプルな処理により実現される。これにより、光センサーが外乱光による悪影響を受けている場合も併せて検出できる。そして、光センサーが外乱光による悪影響を受けていると判定した場合には、光センサーから得られる検出信号に基づいて残存状態を判定せずに、推定した液体残量に基づいて残存状態を判定する。そのため、実際には液体収容容器内の液体が残存状態である場合でも、非残存状態であると誤って判定し、インクカートリッジの交換表示を行ってしまうことがある。またこの際には、印刷の途中であっても、印刷を停止するため、印刷を終了するまでの時間が長くなってしまう。   On the other hand, in Patent Document 2, a sensor failure is detected based on light received by the light receiving unit in a state where the light emitting unit emits light at the position of the failure detection plate. Specifically, the failure determination is realized by a simple process of comparing the signal value in this state with a given reference signal value. Thereby, even when the optical sensor is adversely affected by disturbance light, it can be detected together. If it is determined that the optical sensor is adversely affected by ambient light, the remaining state is determined based on the estimated remaining liquid amount without determining the remaining state based on the detection signal obtained from the optical sensor. To do. Therefore, even when the liquid in the liquid storage container is actually in the remaining state, it may be erroneously determined that it is in the non-remaining state, and the ink cartridge replacement display may be performed. In this case, since printing is stopped even during printing, it takes a long time to complete printing.

本発明の幾つかの態様によれば、印刷中に印刷を停止する頻度を抑制することができる液体消費装置及び液体消費装置の制御方法等を提供することができる。   According to some aspects of the present invention, it is possible to provide a liquid consuming apparatus, a control method for the liquid consuming apparatus, and the like that can suppress the frequency with which printing is stopped during printing.

本発明の一態様は、液体収容容器の液体残量を推定する液体残量推定部と、発光部と受光部とを有し、前記液体収容容器に設けられたプリズムと対向可能な光センサーと、前記光センサーから得られる検出信号に基づいて、前記液体収容容器内における液体の残存状態判定処理を行い、印刷の制御を行う制御部と、を含み、前記制御部は、前記検出信号に基づいて、前記液体収容容器内の前記液体が非残存状態であると判定したが、前記液体残量推定部により推定された前記液体残量が所与の残量以上であると判定した場合には、印刷を続行する液体消費装置に関係する。   One aspect of the present invention includes a liquid remaining amount estimating unit that estimates the remaining amount of liquid in a liquid storage container, a light emitting unit, and a light receiving unit, and an optical sensor that can face a prism provided in the liquid storage container. A control unit that performs a liquid remaining state determination process in the liquid container based on a detection signal obtained from the optical sensor and controls printing, and the control unit is based on the detection signal. When it is determined that the liquid in the liquid container is in a non-remaining state, but the liquid remaining amount estimated by the liquid remaining amount estimating unit is determined to be equal to or greater than a given remaining amount , Relating to the liquid consuming device to continue printing.

本発明の一態様では、制御部が、光センサーから得られる検出信号に基づいて、液体収容容器内の液体が非残存状態であると判定した場合であっても、液体残量推定部により推定された液体残量が所与の残量以上であると判定できる場合には、印刷を続行する。これにより、印刷中に印刷を停止する頻度を抑制することが可能となる。   In one aspect of the present invention, even when the control unit determines that the liquid in the liquid container is in a non-remaining state based on a detection signal obtained from the optical sensor, the control unit estimates the remaining amount of liquid. If it can be determined that the liquid remaining amount is greater than or equal to the given remaining amount, printing is continued. Thereby, it is possible to suppress the frequency of stopping printing during printing.

また、本発明の一態様では、前記制御部は、前記検出信号に基づいて前記液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記液体残量が前記所与の残量よりも少ないと判定した場合には、前記残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行ってもよい。   In the aspect of the invention, the control unit determines that the liquid is in the non-remaining state based on the detection signal, and the liquid remaining amount estimated by the liquid remaining amount estimating unit When it is determined that the remaining amount is less than the given remaining amount, disturbance light determination processing for determining whether or not there is an influence of disturbance light on the remaining state determination processing may be performed.

これにより、外乱光判定処理を行う頻度を抑制すること等が可能になる。   Thereby, it is possible to suppress the frequency of performing the disturbance light determination process.

また、本発明の一態様では、前記制御部は、前記光センサーを消灯して、前記外乱光判定処理を行ってもよい。   In the aspect of the invention, the control unit may turn off the light sensor and perform the disturbance light determination process.

これにより、光センサーの受光部が、発光部により照射される光を受光せずに、外乱光だけを検出して、液体の残存状態判定処理に対する外乱光の影響の有無を判定すること等が可能になる。   Thereby, the light receiving unit of the optical sensor can detect only the disturbance light without receiving the light irradiated by the light emitting unit, and determine whether or not the influence of the disturbance light has an influence on the remaining liquid state determination process. It becomes possible.

また、本発明の一態様では、前記制御部は、前記光センサーと前記液体収容容器とが互いに対向する位置関係である場合に、前記外乱光判定処理を行ってもよい。   In the aspect of the invention, the controller may perform the disturbance light determination process when the optical sensor and the liquid container are in a positional relationship facing each other.

これにより、光センサーと対向する位置関係にある液体収容容器に対して、光センサーを用いて液体の残存状態判定処理を行う際に光センサーが受光する外乱光を、検出すること等が可能になる。   As a result, it is possible to detect disturbance light received by the optical sensor when performing a liquid remaining state determination process using the optical sensor for the liquid container in a positional relationship facing the optical sensor. Become.

また、本発明の一態様では、前記制御部は、前記外乱光判定処理において、前記残存状態判定処理に対する前記外乱光の影響が無いと判定した場合に、前記液体が前記非残存状態であることを確定してもよい。   In one aspect of the present invention, when the controller determines that the disturbance light has no influence on the remaining state determination process in the disturbance light determination process, the liquid is in the non-remaining state. May be confirmed.

これにより、光センサーによる液体の残存状態判定処理に外乱光の悪影響がないと判定でき、かつ液体が非残存状態であると判定した場合に、使用者に液体収容容器の交換指示を報知すること等が可能になる。   Thereby, it is possible to determine that there is no adverse effect of disturbance light in the liquid remaining state determination process by the optical sensor, and to notify the user of an instruction to replace the liquid container when it is determined that the liquid is in a non-remaining state. Etc. becomes possible.

また、本発明の一態様では、前記液体の前記非残存状態が検出された場合に、前記非残存状態の検出情報を記憶する記憶部を含み、前記制御部は、前記液体が前記非残存状態であると判定したが、前記液体残量が前記所与の残量以上である場合には、前記記憶部に記憶された前記検出情報の破棄処理を行ってもよい。   In one aspect of the present invention, when the non-remaining state of the liquid is detected, the control unit includes a storage unit that stores detection information of the non-remaining state, and the control unit includes the liquid in the non-remaining state However, if the remaining amount of liquid is equal to or greater than the given remaining amount, the detection information stored in the storage unit may be discarded.

これにより、残存状態判定処理に対して外乱光による悪影響がある場合でも、液体が残存状態であると判定できる場合に、印刷を続行すること等が可能になる。   Thus, even when there is an adverse effect due to disturbance light on the remaining state determination process, printing can be continued if it can be determined that the liquid is in the remaining state.

また、本発明の一態様では、前記液体残量推定部は、複数の液体収容容器のうちの各液体収容容器について、前記液体残量を推定し、前記制御部は、前記光センサーから得られる前記各液体収容容器についての前記検出信号に基づいて、前記残存状態判定処理を行い、前記液体残量推定部により推定された前記液体残量と、前記残存状態判定処理の結果とに基づいて、前記液体収容容器毎に、印刷を続行するか否かを判定してもよい。   In one aspect of the present invention, the remaining liquid amount estimating unit estimates the remaining liquid amount for each liquid storage container among a plurality of liquid storage containers, and the control unit is obtained from the optical sensor. Based on the detection signal for each liquid container, the remaining state determination process, and based on the remaining liquid amount estimated by the remaining liquid amount estimation unit and the result of the remaining state determination process, Whether or not to continue printing may be determined for each liquid container.

これにより、複数の液体収容容器のうちの各液体収容容器について、液体の残存状態を判定し、液体収容容器毎に、液体収容容器の交換指示を報知すること等が可能になる。   As a result, it is possible to determine the remaining state of the liquid for each liquid storage container of the plurality of liquid storage containers, and to notify the liquid storage container replacement instruction for each liquid storage container.

また、本発明の一態様では、前記制御部は、前記複数の液体収容容器のうちの第1の液体収容容器内の液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記第1の液体収容容器の液体残量が所与の残量以上であると判定した場合に、前記第1の液体収容容器の前記液体が前記非残存状態であるという判定を取り消して、印刷を続行してもよい。   In the aspect of the invention, the control unit determines that the liquid in the first liquid storage container among the plurality of liquid storage containers is in the non-remaining state, and the liquid remaining amount estimation unit When it is determined that the estimated liquid remaining amount in the first liquid storage container is equal to or greater than a given remaining amount, the determination that the liquid in the first liquid storage container is in the non-remaining state is cancelled. Printing may be continued.

これにより、残存状態判定処理に対して、外乱光による悪影響がある場合でも、液体が残存状態であると判定できる場合に、印刷を続行すること等が可能になる。   Accordingly, even when there is an adverse effect due to ambient light on the remaining state determination process, it is possible to continue printing when it can be determined that the liquid is in the remaining state.

また、本発明の一態様では、前記制御部は、前記複数の液体収容容器のうちの第2の液体収容容器内の液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記第2の液体収容容器の液体残量が所与の残量よりも小さいと判定した場合に、前記残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行い、前記外乱光判定処理において、前記残存状態判定処理に対して前記外乱光の影響が無いと判定した場合に、前記第2の液体収容容器の前記液体が前記非残存状態であることを確定し、前記残存状態判定処理に対して前記外乱光の影響があると判定した場合に、前記第2の液体収容容器の前記液体が前記非残存状態であるという判定を取り消して、印刷を続行してもよい。   In the aspect of the invention, the control unit determines that the liquid in the second liquid storage container among the plurality of liquid storage containers is in the non-remaining state, and the liquid remaining amount estimation unit When it is determined that the estimated liquid remaining amount of the second liquid container is smaller than a given remaining amount, a disturbance light determination process is performed to determine whether or not there is an influence of disturbance light on the remaining state determination process. And determining that the liquid in the second liquid container is in the non-remaining state when it is determined in the disturbance light determination process that there is no influence of the disturbance light on the remaining state determination process. When it is determined that the disturbance light has an influence on the remaining state determination process, the determination that the liquid in the second liquid container is in the non-remaining state is canceled and printing is continued. Also good.

これにより、光センサーから得られる検出信号に基づく、液体の残存状態判定処理の結果が、正しいか否かを判定すること等が可能になる。   Accordingly, it is possible to determine whether or not the result of the liquid remaining state determination process based on the detection signal obtained from the optical sensor is correct.

また、本発明の他の態様は、液体収容容器の液体残量を推定する液体残量推定部と、発光部と受光部とを有し、前記液体収容容器の液体の残存状態を検出するための検出信号を出力する光センサーと、前記光センサーから得られる前記検出信号に基づいて、前記液体収容容器内における液体の残存状態判定処理を行い、印刷の制御を行う制御部と、前記光センサーを収容し、カバーを備える筐体と、を含み、前記制御部は、前記液体残量推定部により推定された前記液体残量が所与の残量以上であると判定した場合には、前記カバーの開閉にかかわらず、印刷を続行する液体消費装置に関係する。   According to another aspect of the present invention, there is provided a liquid remaining amount estimating unit that estimates the liquid remaining amount of the liquid storage container, a light emitting unit, and a light receiving unit, and for detecting the remaining state of the liquid in the liquid storage container An optical sensor that outputs a detection signal of the liquid, a control unit that performs a residual state determination process of the liquid in the liquid container and controls printing based on the detection signal obtained from the optical sensor, and the optical sensor And a housing provided with a cover, and when the control unit determines that the liquid remaining amount estimated by the liquid remaining amount estimating unit is equal to or greater than a given remaining amount, This relates to a liquid consuming device that continues printing regardless of opening and closing of the cover.

これにより、カバーが開いている場合でも、空打ちの可能性がないと判断した場合に、印刷を継続すること等が可能になる。   As a result, even when the cover is open, printing can be continued if it is determined that there is no possibility of idle driving.

また、本発明の他の態様では、前記制御部は、前記カバーが開かれた状態で、前記検出信号に基づいて前記液体収容容器内の前記液体が非残存状態であると判定したが、前記液体残量推定部により推定された前記液体残量が所与の残量以上であると判定した場合には、印刷を続行してもよい。   In another aspect of the present invention, the control unit determines that the liquid in the liquid container is in a non-remaining state based on the detection signal in a state where the cover is opened. If it is determined that the liquid remaining amount estimated by the liquid remaining amount estimating unit is greater than or equal to a given remaining amount, printing may be continued.

これにより、カバーが開いており、光センサーにより外乱光の影響でインクカートリッジ内のインクの非残存状態が検出されても、空打ちの可能性がないと判断した場合に、印刷を継続すること等が可能になる。   As a result, even if the cover is open and the non-remaining state of the ink in the ink cartridge is detected by the light sensor due to the influence of ambient light, printing is continued when it is determined that there is no possibility of idle driving. Etc. becomes possible.

また、本発明の他の態様は、印刷の制御を行うことと、液体収容容器の液体残量を推定することと、発光部と受光部とを有し、前記液体収容容器に設けられたプリズムと対向可能な光センサーから得られる検出信号に基づいて、前記液体収容容器内における液体の残存状態判定処理を行うことと、前記検出信号に基づいて、前記液体収容容器内の前記液体が非残存状態であると判定したが、推定された前記液体残量が所与の残量以上であると判定した場合には、印刷を続行することと、を含む液体消費装置の制御方法に関係する。   According to another aspect of the present invention, there is provided a prism provided in the liquid storage container, which controls printing, estimates a remaining amount of liquid in the liquid storage container, and has a light emitting unit and a light receiving unit. Based on a detection signal obtained from an optical sensor that can be opposed to the liquid, a liquid remaining state determination process in the liquid storage container is performed, and the liquid in the liquid storage container is non-remaining based on the detection signal If it is determined that the estimated liquid remaining amount is greater than or equal to a given remaining amount, printing is continued.

本実施形態における印刷装置の要部を示す斜視図。FIG. 3 is a perspective view illustrating a main part of the printing apparatus according to the present embodiment. インクカートリッジの要部を示す斜視図。FIG. 本実施形態における印刷装置の詳細な構成例。2 is a detailed configuration example of a printing apparatus according to the present embodiment. インクニアエンドの検出手法の説明図。Explanatory drawing of the detection method of an ink near end. インクニアエンドの検出手法の他の説明図。Another explanatory view of the detection method of the ink near end. 検出電圧の特性例。Example of detection voltage characteristics. 図7(A)〜図7(D)は、インクの残存状態及び外乱光の関係の説明図。FIG. 7A to FIG. 7D are explanatory diagrams of the relationship between the remaining state of ink and ambient light. 本実施形態の処理の流れを説明するフローチャート。The flowchart explaining the flow of a process of this embodiment. 本実施形態の処理の流れを説明する他のフローチャート。The other flowchart explaining the flow of the process of this embodiment. 図10(A)、図10(B)は、残存状態とインクの残量の説明図。10A and 10B are explanatory diagrams of the remaining state and the remaining amount of ink. 図11(A)、図11(B)は、光センサーの発光部の制御の説明図。11A and 11B are explanatory diagrams of control of the light emitting unit of the photosensor. ヘッド及び光センサーが搭載されたキャリッジを移動させる手法の説明図。Explanatory drawing of the method of moving the carriage in which a head and an optical sensor are mounted. 比較例の処理の流れを説明するフローチャート。The flowchart explaining the flow of a process of a comparative example. 印刷装置の外観図。FIG. 光センサーの構成例。Configuration example of a light sensor.

以下、本実施形態について説明する。なお、以下で説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また、本実施形態で説明される構成の全てが、本発明の必須構成要件であるとは限らない。   Hereinafter, this embodiment will be described. In addition, this embodiment demonstrated below does not unduly limit the content of this invention described in the claim. In addition, all the configurations described in the present embodiment are not necessarily essential configuration requirements of the invention.

例えば以下では、インクを収容するインクカートリッジ及びインクを吐出する印刷装置を例に説明するが、本実施形態はこれに限定されず、種々の液体を収容する液体収容容器及びその液体を吐出(噴射)する液体消費装置に適用可能である。液体は、液体消費装置が吐出可能なものであればよく、例えば溶液、溶媒、ゾル、ゲルや、それらに種々の物質或いは微粒子等を溶解・混合させたものを含む。   For example, in the following, an ink cartridge that stores ink and a printing apparatus that discharges ink will be described as an example. However, the present embodiment is not limited to this, and a liquid storage container that stores various liquids and discharge (eject) the liquid. It is applicable to a liquid consuming apparatus. The liquid is not limited as long as it can be discharged by the liquid consuming device, and includes, for example, a solution, a solvent, a sol, a gel, and various substances or fine particles dissolved therein.

1.本実施形態の手法
まず本実施形態の手法について説明する。前述した特許文献1に開示されているように、光センサーを用いて液体の残存状態を判定する手法(インクニアエンドを判定する手法)が知られている。このような手法では、光センサーが光を精度よく検出することが必要であり、光センサーに故障等が発生した場合、当該光センサーを用いた残存状態の判定結果は精度が低いものとなってしまう。
1. First, the method of this embodiment will be described. As disclosed in Patent Document 1 described above, a method for determining the remaining state of liquid using an optical sensor (a method for determining ink near end) is known. In such a method, it is necessary for the optical sensor to detect light with high accuracy, and when a failure occurs in the optical sensor, the determination result of the remaining state using the optical sensor becomes low accuracy. End up.

例えば、液体の残存状態を判定する際に、光センサーの受光部が外乱光を受光してしまうと、実際には液体収容容器内の液体が残存状態である場合でも、非残存状態であると誤って判定してしまうことがある。外乱光等の光は、残存状態の判定において本来検出したくない光であり、残存状態の判定への悪影響という意味ではセンサー故障と同様に検出することが望ましい。なお、ここでの外乱光とは、例えば液体消費装置の外部から装置内部に進入する光のことであり、外乱光の具体例としては、液体消費装置のカバーが開けられた状態で検出される光などが挙げられる。   For example, when determining the remaining state of the liquid, if the light receiving unit of the optical sensor receives disturbance light, the liquid in the liquid container is actually in a non-remaining state even when the liquid is in the remaining state. It may be judged erroneously. Light such as ambient light is light that should not be detected in the determination of the remaining state, and is desirably detected in the same way as a sensor failure in the sense of adverse effects on the determination of the remaining state. The disturbance light here is, for example, light that enters the inside of the apparatus from the outside of the liquid consuming apparatus. As a specific example of the disturbance light, it is detected in a state where the cover of the liquid consuming apparatus is opened. For example, light.

これに対して、前述した特許文献2に開示されているように、光センサーの故障を検出する手法も種々知られている。特許文献2では、光を全反射するミラーで構成された故障検出板が、光センサーの真上となるような位置で、発光部を発光させた状態での受光部の検出信号を用いて、故障を検知している。具体的には、所定の電圧値範囲を設定しておき、当該範囲内であれば正常、当該範囲外となった場合に故障と判定する。   On the other hand, as disclosed in Patent Document 2 described above, various techniques for detecting a failure of an optical sensor are also known. In Patent Document 2, the detection signal of the light receiving unit in a state where the light emitting unit emits light at a position where the failure detection plate configured by a mirror that totally reflects light is directly above the optical sensor, A failure is detected. Specifically, a predetermined voltage value range is set, and if it is within the range, it is determined to be normal, and if it is outside the range, it is determined to be a failure.

特許文献2の発明では、光センサーが外乱光による悪影響を受けている場合も、光センサーの故障として併せて検出することができる。しかし、光センサー自体に故障が発生しているのか、光センサーが外乱光により悪影響をうけているのかを切り分けて判定することはできない。   In the invention of Patent Document 2, even when the optical sensor is adversely affected by disturbance light, it can be detected as a failure of the optical sensor. However, it is impossible to determine whether a failure has occurred in the optical sensor itself or whether the optical sensor has been adversely affected by ambient light.

そして、光センサーが故障又は外乱光の影響を受けていると判定した場合には、光センサーから得られる検出信号に基づいて残存状態を判定せずに、推定した液体残量に基づいて残存状態を判定する。そのため、実際には液体収容容器内の液体が残存状態である場合でも、非残存状態であると誤って判定し、インクカートリッジの交換表示を行ってしまうことがある。この際には、印刷の途中であっても、印刷を停止するため、印刷を終了するまでの時間が長くなってしまう。   And when it is determined that the optical sensor is damaged or affected by ambient light, the remaining state is not determined based on the detection signal obtained from the optical sensor, but based on the estimated remaining liquid amount. Determine. Therefore, even when the liquid in the liquid storage container is actually in the remaining state, it may be erroneously determined that it is in the non-remaining state, and the ink cartridge replacement display may be performed. At this time, since printing is stopped even during printing, it takes a long time to complete printing.

そもそも、印刷を停止して、外乱光の影響を排除するようにユーザーに報知したり、インクカートリッジの交換表示を行ったりする必要があるのは、インクカートリッジ内の液体が非残存状態(ニアエンド)である場合である。つまり、インクカートリッジ内の液体が、残存状態から非残存状態に移行する際に、光センサーによる残存状態の判定を行う必要があるのであって、例えばドットカウントなどにより、インクカートリッジ内の液体が残存状態であると判定できる場合には、光センサーによる残存状態判定処理を行う必要性は高くない。従って、この場合には、必ずしも印刷を停止する必要はない。このように、光センサーが外乱光により悪影響を受けている場合には、液体消費装置は、誤って非残存状態を検出してしまい、印刷を停止させる必要がないにも関わらず、印刷を停止させ、結果的に印刷が終了するまでに時間がかかることがあった。   In the first place, it is necessary to notify the user to stop printing and eliminate the influence of ambient light, or to display the replacement of the ink cartridge, because the liquid in the ink cartridge is not remaining (near end) This is the case. In other words, when the liquid in the ink cartridge shifts from the remaining state to the non-remaining state, it is necessary to determine the remaining state by the optical sensor. When it can be determined that the state is present, the necessity of performing the remaining state determination process by the optical sensor is not high. Therefore, in this case, it is not always necessary to stop printing. In this way, when the optical sensor is adversely affected by ambient light, the liquid consuming device erroneously detects the non-remaining state and stops printing even though it is not necessary to stop printing. As a result, it may take time until printing is completed.

よって、本実施形態の液体消費装置では、光センサーの受光部が外乱光を受光しており、光センサーの検出信号に基づいて、インクカートリッジ内の液体が非残存状態であると誤って判定した場合であっても、例えばドットカウント等の他の方法により、液体が残存状態である(ニアエンドでない)と判定できる場合には、印刷を続行し、すぐには印刷を停止しないようにする。   Therefore, in the liquid consuming device of the present embodiment, the light receiving unit of the optical sensor receives disturbance light, and erroneously determines that the liquid in the ink cartridge is in a non-remaining state based on the detection signal of the optical sensor. Even in this case, if it is possible to determine that the liquid is in a remaining state (not near-end) by another method such as dot count, printing is continued and printing is not stopped immediately.

具体的には、後述する図3に示すように、本実施形態の液体消費装置200は、液体収容容器(IC1〜IC4に対応)の液体残量を推定する液体残量推定部150と、発光部82と受光部84とを有し、液体収容容器に設けられたプリズム320と対向可能な光センサー80と、光センサー80から得られる検出信号に基づいて、液体収容容器内における液体の残存状態判定処理を行い、印刷の制御を行う制御部100と、を含む。そして、制御部100は、検出信号に基づいて、液体収容容器内の液体が非残存状態であると判定したが、液体残量推定部150により推定された液体残量が所与の残量以上であると判定した場合には、印刷を続行する。   Specifically, as shown in FIG. 3 to be described later, the liquid consuming apparatus 200 of this embodiment includes a liquid remaining amount estimating unit 150 that estimates the remaining amount of liquid in the liquid storage containers (corresponding to IC1 to IC4), and light emission. A liquid sensor in the liquid storage container based on a detection signal obtained from the optical sensor 80 having a section 82 and a light receiving section 84 and capable of facing the prism 320 provided in the liquid storage container. And a control unit 100 that performs determination processing and controls printing. Then, the control unit 100 determines that the liquid in the liquid container is in a non-remaining state based on the detection signal, but the liquid remaining amount estimated by the liquid remaining amount estimating unit 150 is greater than or equal to a given remaining amount. If it is determined that printing is continued, printing is continued.

例えば、後述する図7(B)に示す例のように、外乱光NLを受光している光センサー80から得られる検出信号に基づいて、制御部100が、インクカートリッジIC内のインクIKが非残存状態であると誤って判定したとする。さらに、制御部100が、液体残量推定部150によるドットカウントで推定されたインクIKの残量が、所与の残量以上であると判定したとする。本実施形態では、この場合に制御部100が印刷を停止せずに、印刷を続行する。   For example, as in the example shown in FIG. 7B, which will be described later, the control unit 100 determines that the ink IK in the ink cartridge IC is not based on the detection signal obtained from the optical sensor 80 that receives the disturbance light NL. Suppose that it is erroneously determined that it is a remaining state. Furthermore, it is assumed that the control unit 100 determines that the remaining amount of ink IK estimated by the dot count by the remaining liquid amount estimating unit 150 is equal to or greater than a given remaining amount. In the present embodiment, in this case, the control unit 100 continues printing without stopping printing.

このように、液体収容容器内の液体が残存状態であり、印刷を停止する必要がないと判定できる場合に、印刷を続行することができる。よって、本実施形態の液体消費装置は、印刷中に印刷を停止する頻度を抑制することが可能となる。これにより、印刷を終了するまでの時間を短縮することが可能になる。さらには、印刷が失敗しない範囲で可能な限り、液体収容容器の交換指示を出さないようにするため、液体収容容器内の印刷に使用することが可能な液体の量を、実質的に増やすこと等が可能になる。   As described above, when it is determined that the liquid in the liquid container is remaining and it is not necessary to stop the printing, the printing can be continued. Therefore, the liquid consuming apparatus of the present embodiment can suppress the frequency of stopping printing during printing. As a result, it is possible to shorten the time until printing is completed. Furthermore, in order not to give an instruction to replace the liquid container as much as possible within the range where printing does not fail, the amount of liquid that can be used for printing in the liquid container is substantially increased. Etc. becomes possible.

また、制御部100は、検出信号に基づいて液体が非残存状態であると判定し、液体残量推定部150により推定された液体残量が所与の残量よりも少ないと判定した場合には、残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行う。   Further, the control unit 100 determines that the liquid is in a non-remaining state based on the detection signal, and determines that the liquid remaining amount estimated by the liquid remaining amount estimation unit 150 is less than the given remaining amount. Performs disturbance light determination processing for determining the presence or absence of the influence of disturbance light on the remaining state determination processing.

例えば、後述する図7(C)及び図7(D)に示す例のように、外乱光NLを受光している可能性のある光センサー80から得られる検出信号に基づいて、制御部100が、インクカートリッジIC内のインクIKが非残存状態であると判定したとする。さらに、制御部100が、液体残量推定部150によるドットカウントで推定されたインクIKの残量が、所与の残量よりも少ないと判定したとする。この場合には、制御部100は、残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行う。この外乱光判定処理は、光センサー80からの検出信号に基づいて行う残存状態判定処理の結果が、信頼できるものであるか否かを判定するために行うものである。   For example, as in the example shown in FIGS. 7C and 7D described later, the control unit 100 is based on a detection signal obtained from an optical sensor 80 that may receive disturbance light NL. Assume that it is determined that the ink IK in the ink cartridge IC is not remaining. Further, it is assumed that the control unit 100 determines that the remaining amount of the ink IK estimated by the dot count by the remaining liquid amount estimating unit 150 is smaller than the given remaining amount. In this case, the control unit 100 performs disturbance light determination processing for determining whether or not there is an influence of disturbance light on the remaining state determination processing. This disturbance light determination process is performed to determine whether or not the result of the remaining state determination process performed based on the detection signal from the optical sensor 80 is reliable.

本実施形態では、前述したように、液体が非残存状態であると判定し、推定された液体残量が所与の残量よりも少ないと判定した場合に、外乱光判定処理を行うため、外乱光判定処理を行う頻度を抑制することが可能になる。すなわち、ドットカウントにより液体が残存状態であると断定できる時に、不要な外乱光判定処理を行わずに済むようになる。   In the present embodiment, as described above, when it is determined that the liquid is in a non-remaining state and it is determined that the estimated remaining liquid amount is less than the given remaining amount, the ambient light determination process is performed. It is possible to suppress the frequency of the disturbance light determination process. That is, when it can be determined that the liquid is in the remaining state by the dot count, unnecessary disturbance light determination processing is not required.

そして、外乱光判定処理において、図7(C)の例のように、外乱光の影響を受けていないと判定された場合には、光センサー80からの検出信号に基づいて行う残存状態判定処理は、信頼できるものであると判定する。すなわち、制御部100は、外乱光判定処理において、残存状態判定処理に対する外乱光の影響が無いと判定した場合に、液体が非残存状態であることを確定する。   Then, in the disturbance light determination process, as in the example of FIG. 7C, when it is determined that the light is not affected by the disturbance light, the remaining state determination process performed based on the detection signal from the optical sensor 80. Is determined to be reliable. That is, the control unit 100 determines that the liquid is in the non-remaining state when it is determined in the disturbance light determination process that there is no influence of the disturbance light on the remaining state determination process.

これにより、光センサーによる液体の残存状態判定処理に外乱光の悪影響がないと判定でき、かつ液体が非残存状態であると判定した場合に、使用者に液体収容容器の交換指示を報知することが可能になる。   Thereby, it is possible to determine that there is no adverse effect of disturbance light in the liquid remaining state determination process by the optical sensor, and to notify the user of an instruction to replace the liquid container when it is determined that the liquid is in a non-remaining state. Is possible.

一方、例えば、図7(D)の例のように、外乱光の影響を受けていると判定した場合には、光センサー80からの検出信号に基づいて行う残存状態判定処理は、信頼できないものであると判定し、印刷を停止し、使用者に対して、外乱光による悪影響を受けていることを報知する。   On the other hand, for example, as in the example of FIG. 7D, when it is determined that the light is affected by disturbance light, the remaining state determination processing performed based on the detection signal from the optical sensor 80 is not reliable. Is determined, printing is stopped, and the user is informed that the light is adversely affected by ambient light.

これにより、光センサーによる液体の残存状態判定処理を行う必要があるが、外乱光の影響により精度良く残存状態の判定ができない時にだけ、使用者に外乱光の影響を排除する指示を報知すること等が可能になる。   As a result, it is necessary to perform the liquid remaining state determination process by the optical sensor, but only when the remaining state cannot be accurately determined due to the influence of ambient light, the user is instructed to exclude the influence of the ambient light. Etc. becomes possible.

また実際には、液体消費装置200は、例えば後述する図3に示すように複数の液体収容容器(IC1〜IC4)を有している。そして、液体残量推定部150は、複数の液体収容容器のうちの各液体収容容器について、液体残量を推定する。さらに、制御部100は、光センサー80から得られる各液体収容容器についての検出信号に基づいて、残存状態判定処理を行い、液体残量推定部150により推定された液体残量と、残存状態判定処理の結果とに基づいて、液体収容容器毎に、印刷を続行するか否かを判定する。   Actually, the liquid consuming apparatus 200 has a plurality of liquid containers (IC1 to IC4) as shown in FIG. Then, the remaining liquid amount estimating unit 150 estimates the remaining liquid amount for each liquid storage container among the plurality of liquid storage containers. Further, the control unit 100 performs a remaining state determination process based on the detection signal for each liquid container obtained from the optical sensor 80, and determines the remaining liquid amount and remaining state estimated by the remaining liquid amount estimating unit 150. Whether or not to continue printing is determined for each liquid container based on the processing result.

これにより、複数の液体収容容器のうちの各液体収容容器について、液体の残存状態を判定し、液体収容容器毎に、交換指示を報知することが可能になる。   Thereby, it is possible to determine the remaining state of the liquid for each liquid storage container among the plurality of liquid storage containers and to notify the replacement instruction for each liquid storage container.

以下、本実施形態の液体消費装置について詳細に説明する。まず、液体消費装置の基本構成及びインクカートリッジの構成例について説明した後、液体消費装置の詳細な構成例を説明し、さらに液体の残存状態の判定手法(インクニアエンドの検出手法)について説明する。その後、本実施形態の処理の詳細についてフローチャートを用いて説明する。   Hereinafter, the liquid consuming apparatus of this embodiment will be described in detail. First, a basic configuration of the liquid consuming device and a configuration example of the ink cartridge will be described, then a detailed configuration example of the liquid consuming device will be described, and a method for determining the remaining state of the liquid (ink near end detection method) will be described. Then, details of the processing of the present embodiment will be described using a flowchart.

2.印刷装置の基本構成、インクカートリッジ
図1は、本実施形態における印刷装置(液体消費装置の一例である。)の要部を示す斜視図である。図1には、互いに直交するX方向、Y方向、Z方向を示す。印刷装置の通常の使用姿勢において、印刷装置の正面方向をX方向とし、鉛直方向をZ方向とする。例えばX方向を例にとると、矢印の向く方向を+X方向(又は単にX方向)と呼び、その反対方向を−X方向と呼ぶ。
2. Basic Configuration of Printing Apparatus, Ink Cartridge FIG. 1 is a perspective view showing a main part of a printing apparatus (an example of a liquid consuming apparatus) in the present embodiment. FIG. 1 shows X, Y, and Z directions orthogonal to each other. In the normal use posture of the printing apparatus, the front direction of the printing apparatus is the X direction, and the vertical direction is the Z direction. For example, taking the X direction as an example, the direction of the arrow is called the + X direction (or simply the X direction), and the opposite direction is called the -X direction.

図1の印刷装置は、インクカートリッジIC1〜IC4(液体収容容器、液体収容部)と、インクカートリッジIC1〜IC4を着脱可能に収容するホルダー21を備えるキャリッジ20と、ケーブル30と、紙送りモーター40と、キャリッジモーター50と、キャリッジ駆動ベルト55と、光センサー80(検出部)を含む。なお、ホルダー21とキャリッジ20は一体の部材として形成されてもよいし、別体の部材として形成されてキャリッジ20にホルダー21が組み付けられてもよい。   The printing apparatus of FIG. 1 includes ink cartridges IC1 to IC4 (liquid storage containers and liquid storage units), a carriage 20 including a holder 21 that detachably stores the ink cartridges IC1 to IC4, a cable 30, and a paper feed motor 40. A carriage motor 50, a carriage drive belt 55, and an optical sensor 80 (detection unit). The holder 21 and the carriage 20 may be formed as an integral member, or may be formed as a separate member and the holder 21 may be assembled to the carriage 20.

インクカートリッジIC1〜IC4には、それぞれ一色ずつのインク(液体、印刷材)が収容される。ホルダー21には、インクカートリッジIC1〜IC4が着脱可能に装着される。キャリッジ20の−Z方向の面には、ヘッドが設けられている。インクカートリッジIC1〜IC4から供給されるインクは、ヘッドから記録媒体に向かって吐出される。記録媒体は、例えば印刷用紙である。キャリッジ20は、ケーブル30により制御部(後述する図3の制御部100)に接続されており、このケーブル30を介して制御部により吐出制御が行われる。紙送りモーター40は、紙送りローラー45(図3に記載)を回転駆動し、図1に示すX方向に印刷用紙を送る。キャリッジモーター50は、キャリッジ駆動ベルト55を駆動し、キャリッジ20を±Y方向に移動させる。これらの吐出や紙送り、キャリッジ20の移動を制御部が制御することにより印刷動作が行われる。なお以下では、キャリッジ20を移動させる±Y方向を「主走査方向」と呼び、印刷用紙を紙送りするX方向を「副走査方向」と呼ぶ。   Each of the ink cartridges IC1 to IC4 contains one color of ink (liquid, printing material). Ink cartridges IC <b> 1 to IC <b> 4 are detachably attached to the holder 21. A head is provided on the surface of the carriage 20 in the −Z direction. The ink supplied from the ink cartridges IC1 to IC4 is ejected from the head toward the recording medium. The recording medium is, for example, printing paper. The carriage 20 is connected to a control unit (a control unit 100 in FIG. 3 described later) by a cable 30, and discharge control is performed by the control unit via the cable 30. The paper feed motor 40 rotationally drives a paper feed roller 45 (described in FIG. 3) to feed printing paper in the X direction shown in FIG. The carriage motor 50 drives the carriage drive belt 55 to move the carriage 20 in the ± Y direction. A printing operation is performed by the control unit controlling the discharge, paper feed, and movement of the carriage 20. Hereinafter, the ± Y direction in which the carriage 20 is moved is referred to as “main scanning direction”, and the X direction in which printing paper is fed is referred to as “sub-scanning direction”.

光センサー80は、インクカートリッジIC1〜IC4のインク残存状態を検出するための信号を出力する。具体的には、光センサー80は、インクカートリッジIC1〜IC4に設けられたプリズム(後述する図2のプリズム320)へ光を照射する発光部82(発光素子)と、プリズムからの反射光を受光して電気信号に変換する受光部84(受光素子)と、を含む。例えば、発光部82はLED(Light Emission Diode)により構成され、受光部84はフォトトランジスターにより構成される。   The optical sensor 80 outputs a signal for detecting the ink remaining state of the ink cartridges IC1 to IC4. Specifically, the optical sensor 80 receives a light emitting unit 82 (light emitting element) that irradiates light to a prism (prism 320 in FIG. 2 described later) provided in the ink cartridges IC1 to IC4, and reflected light from the prism. And a light receiving portion 84 (light receiving element) that converts the light into an electric signal. For example, the light emitting unit 82 is configured by an LED (Light Emission Diode), and the light receiving unit 84 is configured by a phototransistor.

次に図2について説明する。図2は、インクカートリッジICの要部を示す斜視図である。図2に示すインクカートリッジICは、図1のインクカートリッジIC1〜IC4の各インクカートリッジに対応する。   Next, FIG. 2 will be described. FIG. 2 is a perspective view showing a main part of the ink cartridge IC. The ink cartridge IC shown in FIG. 2 corresponds to each of the ink cartridges IC1 to IC4 in FIG.

インクカートリッジICは、インクを収容する直方体(略直方体を含む)のインク収容部300と、回路基板350(基板)と、インクカートリッジICをホルダー21に着脱するためのレバー340と、ヘッドにインクを供給するインク供給口330と、インクカートリッジICの底面310に設けられたプリズム320と、を含む。回路基板350の裏面には、インクカートリッジICに関する情報を記憶する記憶装置352が実装されている。回路基板350の表面には、記憶装置352に電気的に接続される複数の端子354が配置されている。これらの複数の端子354は、インクカートリッジICがホルダー21に装着された時に、ホルダー21に設けられた複数の本体側端子を介して、本体側の制御部100に電気的に接続される。記憶装置352としては、例えばEEPROM等の不揮発性メモリーを用いることができる。   The ink cartridge IC includes a rectangular parallelepiped (including a substantially rectangular parallelepiped) ink containing portion 300, a circuit board 350 (substrate), a lever 340 for attaching and detaching the ink cartridge IC to the holder 21, and ink to the head. It includes an ink supply port 330 for supplying, and a prism 320 provided on the bottom surface 310 of the ink cartridge IC. A storage device 352 that stores information about the ink cartridge IC is mounted on the back surface of the circuit board 350. A plurality of terminals 354 that are electrically connected to the storage device 352 are arranged on the surface of the circuit board 350. The plurality of terminals 354 are electrically connected to the control unit 100 on the main body side via the plurality of main body side terminals provided on the holder 21 when the ink cartridge IC is mounted on the holder 21. As the storage device 352, for example, a nonvolatile memory such as an EEPROM can be used.

プリズム320は、発光部82からの光に対して透明な部材で構成され、例えばポリプロピレンにより構成される。プリズム320は、発光部82からの光が入射する入射面が、インクカートリッジICの底面310に露出するように設けられる。底面310は、図1のホルダー21にインクカートリッジICが装着された場合に−Z方向側に向く面である。ホルダー21には、発光部82からの光をプリズム320の入射面に入射させるための開口が設けられている。即ち、ホルダー21を備えたキャリッジ20が図1の主走査方向(±Y方向)に移動すると、インクカートリッジIC1〜IC4が、順次、光センサー80の上(+Z方向)を通過し、各インクカートリッジのプリズム320からの反射光が受光部84により受光される。そして、光センサー80は、受光部84の受光結果を、キャリッジ20の位置に対応したセンサー出力信号(受光結果信号)として出力する。本実施形態では、このキャリッジ20の位置に対応したセンサー出力信号に基づいて、各インクカートリッジのインクニアエンドを検出する。   The prism 320 is made of a member that is transparent to the light from the light emitting unit 82, and is made of, for example, polypropylene. The prism 320 is provided such that the incident surface on which light from the light emitting unit 82 is incident is exposed on the bottom surface 310 of the ink cartridge IC. The bottom surface 310 is a surface facing the −Z direction side when the ink cartridge IC is mounted on the holder 21 in FIG. 1. The holder 21 is provided with an opening for allowing the light from the light emitting unit 82 to enter the incident surface of the prism 320. That is, when the carriage 20 having the holder 21 moves in the main scanning direction (± Y direction) in FIG. 1, the ink cartridges IC1 to IC4 sequentially pass over the optical sensor 80 (+ Z direction), and each ink cartridge. The reflected light from the prism 320 is received by the light receiving unit 84. The optical sensor 80 outputs the light reception result of the light receiving unit 84 as a sensor output signal (light reception result signal) corresponding to the position of the carriage 20. In the present embodiment, the ink near end of each ink cartridge is detected based on the sensor output signal corresponding to the position of the carriage 20.

ここで、インクニアエンドとは、インク収容部300に収容されたインクの残量や液面レベルが所定値以下となり、インクカートリッジICのインク量が残り少ない状態のことである。例えば、光センサーによりインクニアエンドが検出された後に印刷を続行し、インクニアエンドを検出した後に、液体残量推定部150が推定するインク消費量が所定の量を超えた場合に、ヘッドがインクを吐出しなくなる可能性のある状態である。なお、インクニアエンドのことを非残存状態とも言う。あるいは、光センサーがインクニアエンドを検出した時点で、空打ち状態となる可能性がある状態であってもよい。空打ち状態となる可能性がある状態になったときには、印刷装置は印刷を停止する。   Here, the ink near end is a state where the remaining amount of ink stored in the ink storage unit 300 and the liquid level are below a predetermined value and the ink amount of the ink cartridge IC is small. For example, when the ink near end is detected by the optical sensor, printing is continued, and after the ink near end is detected, the head ejects ink when the ink consumption estimated by the liquid remaining amount estimation unit 150 exceeds a predetermined amount. This is a state where there is a possibility that the ink will not be discharged. The ink near end is also referred to as a non-remaining state. Alternatively, it may be in a state where there is a possibility that the idle state will be caused when the optical sensor detects the ink near end. When the printer enters a state where there is a possibility of being idle, the printing apparatus stops printing.

3.印刷装置の詳細な構成
図3に、本実施形態における印刷装置の詳細な構成例を示す。図3では、第1の方向D1を主走査方向とし、第1の方向D1に直交する第2の方向D2を副走査方向とする。なお以下では、光センサー80が出力する受光結果信号が、電圧信号(検出信号)である場合を例に説明する。
3. Detailed Configuration of Printing Apparatus FIG. 3 shows a detailed configuration example of the printing apparatus according to this embodiment. In FIG. 3, the first direction D1 is the main scanning direction, and the second direction D2 orthogonal to the first direction D1 is the sub-scanning direction. Hereinafter, a case where the light reception result signal output from the optical sensor 80 is a voltage signal (detection signal) will be described as an example.

図3の印刷装置200は、インクカートリッジIC1〜IC4と、インクカートリッジIC1〜IC4を着脱可能に保持する(不図示の)ホルダー21を備えるキャリッジ20と、紙送りモーター40と、紙送りローラー45と、キャリッジモーター50と、キャリッジ駆動ベルト55と、A/D変換部70と、光センサー80と、制御部100と、液体残量推定部150と、記憶部190と、表示部210と、インターフェース部(I/F部)220と、を含む。なお、図1で説明した構成要素と同一の構成要素については同一の符号を付し、適宜説明を省略する。また、印刷装置200は、図3の構成に限定されず、これらの一部の構成要素を省略したり、他の構成要素を追加したりするなどの種々の変形実施が可能である。   3 includes an ink cartridge IC1 to IC4, a carriage 20 including a holder 21 (not shown) that detachably holds the ink cartridges IC1 to IC4, a paper feed motor 40, a paper feed roller 45, and the like. The carriage motor 50, the carriage drive belt 55, the A / D conversion unit 70, the optical sensor 80, the control unit 100, the remaining liquid amount estimation unit 150, the storage unit 190, the display unit 210, and the interface unit. (I / F part) 220. In addition, the same code | symbol is attached | subjected about the component same as the component demonstrated in FIG. 1, and description is abbreviate | omitted suitably. In addition, the printing apparatus 200 is not limited to the configuration shown in FIG. 3, and various modifications such as omitting some of these components or adding other components are possible.

A/D変換部70は、光センサー80からの検出信号をA/D変換し、そのA/D変換後のデジタル信号を制御部100へ出力する。具体的には、A/D変換部70は、例えばロータリーエンコーダーのカウント値や制御部100を構成するCPUの割り込み周期等に応じた所定の位置間隔で、検出信号をサンプリングし、複数個のサンプリング電圧を取得する。例えば、1個のカートリッジが光センサー80の上を通過するときに、数10個のサンプリング電圧を取得する。   The A / D converter 70 A / D converts the detection signal from the optical sensor 80 and outputs the digital signal after the A / D conversion to the controller 100. Specifically, the A / D conversion unit 70 samples the detection signal at a predetermined position interval according to, for example, the count value of the rotary encoder, the interrupt cycle of the CPU constituting the control unit 100, and the like. Get the voltage. For example, when one cartridge passes over the optical sensor 80, several tens of sampling voltages are acquired.

制御部100は、駆動制御部110と、検出制御部120と、位置特定部140と、残存状態判定部160と、外乱光判定部180とを含む。制御部100は、CPU等のプロセッサーや、プロセッサー上で動作するプログラムにより実現される。例えばROMに記憶されたプログラムが、記憶部190に展開され、このプログラムをプロセッサーが実行することで、制御部100の各部の処理が実行される。なお制御部100を専用のASICにより実現することも可能である。また、外乱光判定部180の処理の詳細は後述する。   The control unit 100 includes a drive control unit 110, a detection control unit 120, a position specifying unit 140, a remaining state determination unit 160, and a disturbance light determination unit 180. The control unit 100 is realized by a processor such as a CPU or a program operating on the processor. For example, a program stored in the ROM is expanded in the storage unit 190, and the processing of each unit of the control unit 100 is executed by the processor executing this program. The control unit 100 can also be realized by a dedicated ASIC. Details of the processing of the disturbance light determination unit 180 will be described later.

駆動制御部110は、印刷装置200の駆動部の制御を行う。具体的には、駆動部であるキャリッジモーター50の制御を行う。キャリッジモーター50を制御して、キャリッジ20を移動させる制御を行う。これにより、キャリッジ20に備えられるホルダー21とヘッド22を移動させる駆動が、キャリッジモーター50により行われるようになる。   The drive control unit 110 controls the drive unit of the printing apparatus 200. Specifically, the carriage motor 50 that is a drive unit is controlled. The carriage motor 50 is controlled to move the carriage 20. As a result, the carriage motor 50 performs driving for moving the holder 21 and the head 22 provided in the carriage 20.

検出制御部120は、光センサー80の各種の制御を行う。例えば光センサー80の発光部82の制御を行う。例えば検出制御部120は、光センサー80からの検出信号等に基づいて発光部82の発光量を決定する処理を行う。そして決定された発光量に基づいてPWM信号を生成し、発光部82の発光量を制御する。或いは検出制御部120は、受光部84の受光結果に基づき行われるインクニアエンドの閾値の決定処理なども行う。   The detection control unit 120 performs various controls of the optical sensor 80. For example, the light emitting unit 82 of the optical sensor 80 is controlled. For example, the detection control unit 120 performs a process of determining the light emission amount of the light emitting unit 82 based on a detection signal from the optical sensor 80 or the like. Then, a PWM signal is generated based on the determined light emission amount, and the light emission amount of the light emitting unit 82 is controlled. Alternatively, the detection control unit 120 also performs an ink near-end threshold value determination process performed based on the light reception result of the light receiving unit 84.

位置特定部140は、主走査方向D1におけるキャリッジ20(ホルダー21)の位置を特定する処理を行う。キャリッジの位置が特定されると、主走査方向D1における各インクカートリッジICのプリズムが光センサーの直上となる位置(光センサーと対向する位置ともいう。)も特定される。より具体的には、キャリッジモーター50にはロータリーエンコーダーが設けられており、位置特定部140は、ロータリーエンコーダーのカウント値に基づいてキャリッジ20の移動量を特定し、印刷の各パス中におけるキャリッジ20の位置を特定する。なお、ロータリーエンコーダーのカウント値と、各インクカートリッジICのプリズムが光センサーと対向する位置は、対応がつけられている。   The position specifying unit 140 performs a process of specifying the position of the carriage 20 (holder 21) in the main scanning direction D1. When the position of the carriage is specified, a position where the prism of each ink cartridge IC in the main scanning direction D1 is directly above the photosensor (also referred to as a position facing the photosensor) is specified. More specifically, the carriage motor 50 is provided with a rotary encoder, and the position specifying unit 140 specifies the amount of movement of the carriage 20 based on the count value of the rotary encoder, and the carriage 20 in each pass of printing. Specify the position of. The count value of the rotary encoder is associated with the position where the prism of each ink cartridge IC faces the optical sensor.

残存状態判定部160は、インクカートリッジのインクの残存状態判定処理を行う。例えば残存状態判定部160は、光センサー80と各インクカートリッジICが対向する位置にあるときの光センサー80からの検出信号(検出電圧)に基づいて、各インクカートリッジにインクが残存しているか否かの判定処理(インクニアエンドの判定処理)を行う。具体的には、光センサー80からの検出信号である検出電圧は、A/D変換部70によりA/D変換され、デジタル信号として制御部100に入力される。そして制御部100の残存状態判定部160は、このデジタル信号に変換された検出電圧に基づいて、検出電圧と閾値との比較処理を行って、インクの残存状態判定処理を行う。そして、インクが非残存状態であると判定されたインクカートリッジ(インクニアエンドであると判定されたインクカートリッジ)については、表示部210に対して、或いはI/F部220を介して接続されるPC(パーソナルコンピューター)250の表示部に対して、インク交換を知らせるアラームを表示させ、ユーザーにインクカートリッジの交換を促す。   The remaining state determination unit 160 performs ink remaining state determination processing of the ink cartridge. For example, the remaining state determination unit 160 determines whether ink remains in each ink cartridge based on a detection signal (detection voltage) from the optical sensor 80 when the optical sensor 80 and each ink cartridge IC are in a position facing each other. Is determined (ink near-end determination process). Specifically, the detection voltage that is a detection signal from the optical sensor 80 is A / D converted by the A / D conversion unit 70 and input to the control unit 100 as a digital signal. Then, the remaining state determination unit 160 of the control unit 100 performs the ink remaining state determination process by comparing the detected voltage with the threshold value based on the detected voltage converted into the digital signal. For the ink cartridge determined to be in a non-remaining state (ink cartridge determined to be ink near-end), the PC connected to the display unit 210 or via the I / F unit 220 (Personal computer) An alarm notifying ink replacement is displayed on the display unit of 250 to prompt the user to replace the ink cartridge.

次に、液体残量推定部150は、インク残量(インク量情報もしくは液体量情報)及びインク消費量の推定処理を行う。例えばヘッド22からの印刷のために使用されたインクの吐出数のドットカウント値に基づいて、インクの消費量を推定する。具体的には、ヘッド22から噴射されるインク滴の数を計数し、計数されたインク滴の数とインク滴当たりの質量とを積算することでインクの消費量(使用量)を算出する。この消費量には、印刷のために消費されたインク量、ヘッドのクリーニングのために消費されたインク量が含まれる。そして、各インクカートリッジの初期充填量から、算出された消費量を差し引くことで、インク残量を推定する。印刷実行中には、印刷のパス毎にインク残量を更新して記憶部190に記憶している。このようにして推定されたインク残量は、図2のインクカートリッジIC毎の記憶装置352に書き込まれて記憶される。そして、印刷装置200の起動時に、インクカートリッジICの記憶装置352からインク残量を読み出して取得し、記憶部190の残量記憶部194に記憶させる。そして、電源が投入されている間は、印刷の実行やヘッド22のクリーニング等に伴って、この残量記憶部194のインク残量を更新する。さらに、印刷装置200の電源オフ時や、インクカートリッジICの交換時、或いは、所定のインク量を消費するごとに、更新された推定インク残量が、インクカートリッジICの記憶装置352に書き戻される。   Next, the liquid remaining amount estimation unit 150 performs an ink remaining amount (ink amount information or liquid amount information) and ink consumption amount estimation process. For example, the ink consumption is estimated based on the dot count value of the number of ink ejections used for printing from the head 22. Specifically, the number of ink droplets ejected from the head 22 is counted, and the ink consumption (usage amount) is calculated by integrating the counted number of ink droplets and the mass per ink droplet. This consumption includes the amount of ink consumed for printing and the amount of ink consumed for cleaning the head. Then, the ink remaining amount is estimated by subtracting the calculated consumption amount from the initial filling amount of each ink cartridge. During printing, the remaining amount of ink is updated and stored in the storage unit 190 for each printing pass. The ink remaining amount thus estimated is written and stored in the storage device 352 for each ink cartridge IC in FIG. Then, when the printing apparatus 200 is activated, the ink remaining amount is read out and acquired from the storage device 352 of the ink cartridge IC, and is stored in the remaining amount storage unit 194 of the storage unit 190. While the power is on, the ink remaining amount in the remaining amount storage unit 194 is updated as printing is performed, the head 22 is cleaned, and the like. Furthermore, the updated estimated ink remaining amount is written back to the storage device 352 of the ink cartridge IC when the printing apparatus 200 is powered off, the ink cartridge IC is replaced, or whenever a predetermined amount of ink is consumed. .

なお、以下では、インク量情報がインク残量である場合について説明するが、インク量情報は、インク消費量であってもよい。また、インク残量やインク消費量は、インクの重量データとして記憶されてもよいし、インクカートリッジICのインクの使用開始前の充填量に対する割合のデータとして記憶されてもよい。   In the following, the case where the ink amount information is the remaining ink amount will be described. However, the ink amount information may be an ink consumption amount. Further, the ink remaining amount and the ink consumption amount may be stored as ink weight data, or may be stored as data of a ratio with respect to the filling amount of the ink cartridge IC before the start of use of ink.

記憶部190は、残量記憶部194を含む。残量記憶部194は、順次更新される、液体残量推定部150により推定されたインク残量を記憶する。また、記憶部190は、制御部100や液体残量推定部150のワーク領域となるもので、その機能はRAMやEEPROMのメモリーやHDD(ハードディスクドライブ)などにより実現できる。   Storage unit 190 includes a remaining amount storage unit 194. The remaining amount storage unit 194 stores the remaining ink amount estimated by the remaining liquid amount estimating unit 150 that is sequentially updated. The storage unit 190 serves as a work area for the control unit 100 and the remaining liquid amount estimation unit 150, and the function can be realized by a RAM, an EEPROM memory, an HDD (hard disk drive), or the like.

図15に光センサー80の具体的な構成例を示す。なお光センサー80の構成は図15に限定されず、種々の変形実施が可能である。   FIG. 15 shows a specific configuration example of the optical sensor 80. The configuration of the optical sensor 80 is not limited to that shown in FIG. 15, and various modifications can be made.

光センサー80は、発光部82と受光部84を有する。発光部82は光を照射し、受光部84は光を受光する。光センサー80は、反射型のフォトインタラプタによって構成されている。光センサー80は、PWM(Pulse Width Modulation)信号のデューティ比(オン時間とオフ時間の割合)を調整してLEDを発光させる。LEDから発光された光は、インクカートリッジIC内のプリズム320で反射してフォトトランジスターに入射した後、電流値に変換される。この電流値は抵抗R1により電圧Vcに変換され、この電圧VcがA/D変換部70によりA/D変換され、A/D変換後のデジタル信号が制御部100の残存状態判定部160に入力される。   The optical sensor 80 includes a light emitting unit 82 and a light receiving unit 84. The light emitting unit 82 emits light, and the light receiving unit 84 receives light. The optical sensor 80 is configured by a reflective photo interrupter. The optical sensor 80 adjusts the duty ratio (ratio between on time and off time) of a PWM (Pulse Width Modulation) signal to cause the LED to emit light. The light emitted from the LED is reflected by the prism 320 in the ink cartridge IC, enters the phototransistor, and is converted into a current value. This current value is converted into a voltage Vc by the resistor R1, this voltage Vc is A / D converted by the A / D converter 70, and the digital signal after A / D conversion is input to the remaining state determination unit 160 of the control unit 100. Is done.

このように本実施形態では光センサー80は発光部82と受光部84とを有し、インクカートリッジは、光センサー80の発光部82から出射された光をインクの残存状態に応じて反射するプリズム320を有する。そして制御部100は、プリズム320からの反射光を光センサー80の受光部84が受光することで得られた検出信号(A/D変換後の検出電圧)に基づいて、インクカートリッジのインクの残存状態判定処理を行う。   As described above, in this embodiment, the optical sensor 80 includes the light emitting unit 82 and the light receiving unit 84, and the ink cartridge reflects the light emitted from the light emitting unit 82 of the optical sensor 80 according to the remaining state of the ink. 320. The control unit 100 then retains the ink remaining in the ink cartridge based on the detection signal (detected voltage after A / D conversion) obtained by the light receiving unit 84 of the optical sensor 80 receiving the reflected light from the prism 320. State determination processing is performed.

4.インクニアエンドの検出手法
次に、インクニアエンドの検出手法について説明する。図4、図5には、インクカートリッジICのプリズム320を通過するYZ平面の断面図を示す。また、図4、図5では、プリズム320と光センサー80の位置関係が、インクニアエンドを検出可能な位置関係(インクカートリッジのプリズムが光センサーと対向する位置関係)となったときの状態を示している。
4). Ink Near End Detection Method Next, an ink near end detection method will be described. 4 and 5 are sectional views of the YZ plane passing through the prism 320 of the ink cartridge IC. 4 and 5 show a state in which the positional relationship between the prism 320 and the optical sensor 80 is a positional relationship where the ink near end can be detected (the positional relationship in which the prism of the ink cartridge faces the optical sensor). ing.

図4に示すように、プリズム320の入射面EFには、プリズム320を形成するときに生じる変形を抑制するために、空洞部BPが設けられている。ホルダー21には開口が設けられており、インクカートリッジICがホルダー21に装着されたときに開口を通して入射面EFと光センサー80が対向するように構成されている。具体的にホルダー21の開口OP1は、インクカートリッジICのプリズム320が、光センサー80と対向する位置関係にある場合に、発光部82から出射される光EMLが、開口OP1を通って、プリズム320の斜面SF1に入射可能な位置に設けられている。一方、ホルダー21の開口OP2は、プリズム320の斜面SF2に反射された反射光RTLが、開口OP2を通って、受光部84に入射可能な位置に設けられている。つまり、ホルダー21において開口(OP1及びOP2)は、光センサー80における発光部82と受光部84の間隔と、同じ間隔で設けられている。また、プリズム320の斜面SF1、SF2は、図2に示すインク収容部300の内側を向いており、インク収容部300にインクIKが満たされている場合には斜面SF1、SF2はインクIKに接する。斜面SF1は例えば斜面SF2に直交する面であり、斜面SF1と斜面SF2は、図1のXZ平面に平行な平面に対して対称となるように配置される。   As shown in FIG. 4, the cavity BP is provided on the incident surface EF of the prism 320 in order to suppress deformation that occurs when the prism 320 is formed. The holder 21 is provided with an opening, and is configured such that the incident surface EF and the optical sensor 80 face each other through the opening when the ink cartridge IC is mounted on the holder 21. Specifically, the opening OP1 of the holder 21 has the light EML emitted from the light emitting unit 82 through the opening OP1 and the prism 320 when the prism 320 of the ink cartridge IC is in a positional relationship facing the optical sensor 80. It is provided at a position where it can enter the slope SF1. On the other hand, the opening OP2 of the holder 21 is provided at a position where the reflected light RTL reflected by the inclined surface SF2 of the prism 320 can enter the light receiving portion 84 through the opening OP2. That is, in the holder 21, the openings (OP 1 and OP 2) are provided at the same interval as the interval between the light emitting unit 82 and the light receiving unit 84 in the optical sensor 80. In addition, the slopes SF1 and SF2 of the prism 320 face the inside of the ink container 300 shown in FIG. 2, and when the ink container 300 is filled with the ink IK, the slopes SF1 and SF2 are in contact with the ink IK. . The slope SF1 is, for example, a plane orthogonal to the slope SF2, and the slope SF1 and the slope SF2 are arranged so as to be symmetric with respect to a plane parallel to the XZ plane of FIG.

インクカートリッジICにインクIKが満たされている場合、発光部82からプリズム320に入射した光EMLは、ホルダー21の開口を通り、斜面SF1からインクIK内に入射する(光FCL)。この場合、斜面SF1、SF2で反射される光RTLは非常に少なくなるため、受光部84はほとんど光を受光しない。例えば、インクの屈折率を水の屈折率とほぼ同様の1.5と仮定し、プリズム320をポリプロピレンにより構成する場合、斜面SF1、SF2における全反射の臨界角は約64度である。入射角は45度なので、斜面SF1、SF2では全反射されず、入射光EMLはインクIK内に入射する。   When the ink IK is filled in the ink cartridge IC, the light EML that has entered the prism 320 from the light emitting unit 82 passes through the opening of the holder 21 and enters the ink IK from the inclined surface SF1 (light FCL). In this case, since the light RTL reflected by the slopes SF1 and SF2 is very small, the light receiving unit 84 receives almost no light. For example, assuming that the refractive index of the ink is 1.5, which is substantially the same as the refractive index of water, and the prism 320 is made of polypropylene, the critical angle of total reflection on the inclined surfaces SF1 and SF2 is about 64 degrees. Since the incident angle is 45 degrees, the incident light EML is incident on the ink IK without being totally reflected on the inclined surfaces SF1 and SF2.

次に、図5に示すように、インクカートリッジIC内のインクIKが印刷のために消費され、インクカートリッジICにインクIKが満たされていない場合を考える。プリズム320の斜面SF1、SF2のうち、少なくとも発光部82からの光が照射される部分が、空気に接しているとする。この場合、発光部82からプリズム320に入射した光EMLは、斜面SF1、SF2で全反射され、入射面EFからプリズム320の外へ再び出射する(光RTL)。受光部84は、全反射した光RTLを受光するため、インクで満たされている場合の検出電圧とは異なる(基準電圧との差が大きい)検出電圧が得られる。例えば、空気の屈折率を1とし、プリズム320をポリプロピレンにより構成する場合、斜面SF1、SF2における全反射の臨界角は約43度である。入射角は45度なので、入射光EMLは斜面SF1、SF2で全反射される。   Next, as shown in FIG. 5, consider a case where the ink IK in the ink cartridge IC is consumed for printing and the ink cartridge IC is not filled with the ink IK. Of the slopes SF1 and SF2 of the prism 320, it is assumed that at least a portion irradiated with light from the light emitting unit 82 is in contact with air. In this case, the light EML that has entered the prism 320 from the light emitting unit 82 is totally reflected by the slopes SF1 and SF2, and is emitted again from the incident surface EF to the outside of the prism 320 (light RTL). Since the light receiving unit 84 receives the totally reflected light RTL, a detection voltage different from the detection voltage when filled with ink (a difference from the reference voltage is large) is obtained. For example, when the refractive index of air is 1 and the prism 320 is made of polypropylene, the critical angle of total reflection on the inclined surfaces SF1 and SF2 is about 43 degrees. Since the incident angle is 45 degrees, the incident light EML is totally reflected by the inclined surfaces SF1 and SF2.

次に、図6に、1個のインクカートリッジICが光センサー80の上を通過した場合の検出電圧の特性例を示す。図6の横軸は、プリズム320と光センサー80の相対的な位置を表し、プリズム320の中心と光センサー80の中心が一致したときの位置(例えば図4に示すインクカートリッジICと光センサー80との位置関係)を“0”としている。なお、光センサー80の中心とは、主走査方向における発光部82と受光部84の中央である。また、図6の縦軸は、横軸の各位置において光センサー80から出力される検出電圧を表す。   Next, FIG. 6 shows a characteristic example of the detected voltage when one ink cartridge IC passes over the optical sensor 80. 6 represents the relative position of the prism 320 and the optical sensor 80, and the position when the center of the prism 320 and the center of the optical sensor 80 coincide (for example, the ink cartridge IC and the optical sensor 80 shown in FIG. 4). "0". The center of the optical sensor 80 is the center of the light emitting unit 82 and the light receiving unit 84 in the main scanning direction. The vertical axis in FIG. 6 represents the detection voltage output from the optical sensor 80 at each position on the horizontal axis.

そして、図6に示すように、受光部84の受光量がゼロに近いほど検出電圧が上限電圧Vmax(基準電圧)に近くなり、受光部84の受光量が多いほど検出電圧が下限電圧Vminに近くなる(基準電圧との差が大きくなる)。受光量が所定値を越えると、検出電圧が飽和して下限電圧Vminとなる。上限電圧Vmaxと下限電圧Vminは、例えば、図4に示した受光部84がコレクタ端子に出力する電圧範囲の上限電圧と下限電圧に対応する。   As shown in FIG. 6, the detection voltage becomes closer to the upper limit voltage Vmax (reference voltage) as the amount of light received by the light receiving unit 84 is closer to zero, and the detection voltage becomes the lower limit voltage Vmin as the amount of received light of the light receiving unit 84 increases. It becomes closer (the difference from the reference voltage becomes larger). When the amount of received light exceeds a predetermined value, the detection voltage is saturated and becomes the lower limit voltage Vmin. The upper limit voltage Vmax and the lower limit voltage Vmin correspond to, for example, the upper limit voltage and the lower limit voltage of the voltage range that the light receiving unit 84 illustrated in FIG. 4 outputs to the collector terminal.

図6に示すように、検出電圧は、光センサー80とプリズム320との相対位置に応じて変化する。まず、SIKは、図4で説明したインクカートリッジICがインクIKで満たされている場合の検出電圧特性である。この場合、受光部84の受光量は小さいため、位置“0”において検出電圧はVmaxに近くなる。位置“0”から、プリズム320の中心と光センサー80の中心との相対位置が主走査方向にずれた位置pk1、pk2には、プリズム入射面EFからの反射光によってピークSpk1、Spk2が生じる。   As shown in FIG. 6, the detection voltage changes according to the relative position between the optical sensor 80 and the prism 320. First, SIK is a detection voltage characteristic when the ink cartridge IC described in FIG. 4 is filled with the ink IK. In this case, since the amount of light received by the light receiving unit 84 is small, the detection voltage is close to Vmax at the position “0”. Peaks Spk1 and Spk2 are generated by reflected light from the prism incident surface EF at positions pk1 and pk2 where the relative position between the center of the prism 320 and the center of the optical sensor 80 is shifted from the position “0” in the main scanning direction.

一方、SEPは、図5で説明したインクカートリッジICがインクIKで満たされていない場合の検出電圧特性である。この場合、受光部84の受光量は多いため、位置“0”において検出電圧はVminに達する(あるいは、近くなる)。このように、インクカートリッジICがインクIKで満たされているか否かによって検出電圧の特性が大きく異なっており、本実施形態では、この検出電圧の特性の違いを検出することにより、インクカートリッジのインクニアエンドを検出する。   On the other hand, SEP is a detection voltage characteristic when the ink cartridge IC described in FIG. 5 is not filled with the ink IK. In this case, since the light receiving amount of the light receiving unit 84 is large, the detection voltage reaches (or becomes close to) Vmin at the position “0”. As described above, the characteristics of the detection voltage greatly differ depending on whether or not the ink cartridge IC is filled with the ink IK. In this embodiment, the ink in the ink cartridge is detected by detecting the difference in the characteristics of the detection voltage. Detect near end.

具体的には、検出電圧特性SIKのピーク値Vpk1に基づいて、ピーク値Vpk1と下限電圧Vminとの間に閾値Vthを設定する。そして、インクカートリッジICが光センサー80の上を通る検出範囲となったときに、光センサー80の検出電圧が閾値Vthよりも小さい場合には、インクニアエンド(インクが非残存状態)であると判定し、検出電圧が閾値Vth以上である場合には、インクが残存状態であると判定する。   Specifically, the threshold value Vth is set between the peak value Vpk1 and the lower limit voltage Vmin based on the peak value Vpk1 of the detection voltage characteristic SIK. If the detection voltage of the optical sensor 80 is smaller than the threshold value Vth when the ink cartridge IC reaches the detection range passing over the optical sensor 80, it is determined that the ink is near-end (no ink remains). If the detected voltage is equal to or higher than the threshold value Vth, it is determined that the ink is remaining.

5.処理の詳細
次に、本実施形態の処理の流れを説明する前に、図7(A)〜図7(D)を用いて、インクの残存状態と外乱光の関係について具体例を説明する。
5. Details of Processing Next, before describing the processing flow of the present embodiment, a specific example of the relationship between the remaining state of ink and ambient light will be described with reference to FIGS. 7 (A) to 7 (D).

図7(A)は、インクカートリッジIC内にインクIKが十分に充填されている場合の例である。この場合には、インクカートリッジIC内のインクIKは残存状態であると言える。そして、光センサー80の受光部84が外乱光を受光していないため、この状態で光センサー80から得られる検出信号に基づき残存状態判定処理を行えば、インクは残存状態であると正しく判定することが可能である。   FIG. 7A shows an example in which the ink IK is sufficiently filled in the ink cartridge IC. In this case, it can be said that the ink IK in the ink cartridge IC is in a remaining state. Since the light receiving unit 84 of the optical sensor 80 does not receive disturbance light, if the remaining state determination process is performed based on the detection signal obtained from the optical sensor 80 in this state, it is correctly determined that the ink is in the remaining state. It is possible.

図7(B)は、図7(A)と同様に、インクカートリッジIC内のインクIKが残存状態であり、かつ光センサー80の受光部84が外乱光NLを受光している場合の具体例である。この状態で、光センサー80から得られる検出信号に基づき残存状態判定処理を行うと、受光部84は、発光部82から照射された光がプリズムによって反射された反射光をほとんど受光しないが、外乱光NLを受光してしまう。そのため、インクカートリッジIC内のインクIKが非残存状態であると、誤って判定してしまうことがある。この場合には、インクが残存状態であるにも関わらず、印刷を停止して、使用者に対して、インクカートリッジICの交換指示を出してしまうことがあるため問題となる。   FIG. 7B shows a specific example in the case where the ink IK in the ink cartridge IC is in a remaining state and the light receiving portion 84 of the optical sensor 80 receives the disturbance light NL, as in FIG. 7A. It is. In this state, when the remaining state determination process is performed based on the detection signal obtained from the optical sensor 80, the light receiving unit 84 hardly receives the reflected light reflected by the prism from the light emitting unit 82. The light NL is received. Therefore, it may be erroneously determined that the ink IK in the ink cartridge IC is not remaining. In this case, there is a problem that printing may be stopped and the user may be instructed to replace the ink cartridge IC even though the ink remains.

図7(C)は、インクカートリッジIC内のインクIKが非残存状態(ニアエンド)である場合の例である。図7(C)の例では、図7(A)の例と同様に、光センサー80の受光部84が外乱光を受光していない。そのため、この状態で光センサー80から得られる検出信号に基づき残存状態判定処理を行えば、インクは非残存状態であると正しく判定することが可能である。   FIG. 7C shows an example in which the ink IK in the ink cartridge IC is in a non-remaining state (near end). In the example of FIG. 7C, the light receiving portion 84 of the optical sensor 80 does not receive disturbance light as in the example of FIG. Therefore, if the remaining state determination process is performed based on the detection signal obtained from the optical sensor 80 in this state, it is possible to correctly determine that the ink is in a non-remaining state.

図7(D)は、図7(C)と同様に、インクカートリッジIC内のインクIKが非残存状態であり、かつ光センサー80の受光部84が外乱光NLを受光している場合の具体例である。この状態で、光センサー80から得られる検出信号に基づき残存状態判定処理を行うと、受光部84は、発光部82から照射された光がプリズムによって反射された反射光と、外乱光NLの両方を受光する。そのため、多くの場合には、インクカートリッジIC内のインクIKが非残存状態であると、正しく判定することにはなり、結果的に実害はないとも考えられる。ただし、外乱光の影響があるため、正常に残存状態判定処理を行っているとは言えない。光センサー80からの検出信号に基づいて、液体残量を推定する場合には、外乱光の影響で液体残量の推定を誤ることもあり、問題となる。   FIG. 7D shows a specific example of the case where the ink IK in the ink cartridge IC is not remaining and the light receiving portion 84 of the optical sensor 80 receives the disturbance light NL, as in FIG. 7C. It is an example. In this state, when the remaining state determination process is performed based on the detection signal obtained from the optical sensor 80, the light receiving unit 84 receives both the reflected light reflected by the prism and the disturbance light NL. Is received. Therefore, in many cases, if the ink IK in the ink cartridge IC is in a non-remaining state, it is determined correctly, and it is considered that there is no actual harm as a result. However, it cannot be said that the remaining state determination process is normally performed because of the influence of disturbance light. When estimating the remaining amount of liquid based on the detection signal from the optical sensor 80, the estimation of the remaining amount of liquid may be erroneous due to the influence of ambient light, which is a problem.

次に、図8及び図9のフローチャートを用いて、本実施形態の処理の詳細について説明する。また、以下の説明では、一つのインクカートリッジに対する処理を説明する。ただし、前述したように実際には、液体消費装置200は、複数のインクカートリッジを有しており、制御部100及び液体残量推定部150は、インクカートリッジ毎に図8及び図9のフローチャートの各処理を行うものとする。   Next, details of the processing of this embodiment will be described with reference to the flowcharts of FIGS. 8 and 9. In the following description, processing for one ink cartridge will be described. However, as described above, the liquid consuming apparatus 200 actually has a plurality of ink cartridges, and the control unit 100 and the remaining liquid amount estimation unit 150 are shown in the flowcharts of FIGS. 8 and 9 for each ink cartridge. Each process shall be performed.

まず、印刷JOBを受け付けると、制御部100(主に駆動制御部110、位置特定部140)が、キャリッジモーター50の制御を行って、1回のパスによる印刷を行う(S100)。なお、印刷に伴う+Y方向又は−Y方向へのヘッド22の移動を1パスとする。例えば、両方向への移動の際に印刷をする場合には1往復で2パスとなる。そして、制御部100(主に検出制御部120、残存状態判定部160)が、1パスの印刷中に発光部を発光させ、光センサー80から得られる検出信号に基づいて、インクカートリッジ内における液体の残存状態判定処理を行う(S101)。なお、この残存状態判定処理は、図4〜図6を用いて前述したインクニアエンドの検出手法に従って行う。   First, when a print job is received, the control unit 100 (mainly the drive control unit 110 and the position specifying unit 140) controls the carriage motor 50 to perform printing in one pass (S100). The movement of the head 22 in the + Y direction or the −Y direction accompanying printing is defined as one pass. For example, when printing is performed during movement in both directions, two passes are required for one round trip. Then, the control unit 100 (mainly the detection control unit 120 and the remaining state determination unit 160) causes the light emitting unit to emit light during one-pass printing, and the liquid in the ink cartridge is based on the detection signal obtained from the optical sensor 80. The remaining state determination process is performed (S101). This remaining state determination process is performed according to the ink near-end detection method described above with reference to FIGS.

そして、制御部100(残存状態判定部160)は、残存状態判定処理においてインクが残存している、すなわち前述した図7(A)のように、インクが残存状態であると判定した場合には(S102)、1ページ分の印刷が終了したか否かを判定する(S103)。さらに、制御部100が1ページ分の印刷が終了したと判定した場合には、次のページの印刷に移行する(S104)。一方、制御部100が1ページ分の印刷がまだ終了していないと判定した場合には、同ページの印刷を続行するために、次のパスへ移行し(S105)、ステップS100の処理から、処理を繰り返す。   When the control unit 100 (remaining state determination unit 160) determines that ink remains in the remaining state determination process, that is, as described above with reference to FIG. (S102) It is determined whether printing for one page has been completed (S103). Furthermore, when the control unit 100 determines that printing for one page has been completed, the process proceeds to printing of the next page (S104). On the other hand, if the control unit 100 determines that printing for one page has not yet been completed, the process proceeds to the next pass in order to continue printing the same page (S105). Repeat the process.

また、ステップS101の残存状態判定処理において、インクが非残存状態であると、制御部100(残存状態判定部160)が判定した場合には(S102)、記憶部190は非残存状態の検出情報を記憶する。なお、非残存状態の検出情報とは、インクが非残存状態である可能性があることを示す情報(フラグ)であり、非残存状態が確定したことを示す情報ではない。なぜなら、この時点では、光センサー80が外乱光の悪影響を受けているか否かが分からないため、光センサー80の検出信号に基づいて判定されたインクの残存状態が実際の状態と一致しているとは言い切れないためである。そのため、この場合には、インクカートリッジ内のインクと光センサー80は、前述した図7(B)〜図7(D)のいずれかの状態にあると考えられる。   Further, in the remaining state determination process in step S101, when the control unit 100 (remaining state determining unit 160) determines that the ink is in the non-remaining state (S102), the storage unit 190 detects the non-remaining state detection information. Remember. The non-remaining state detection information is information (flag) indicating that the ink may be in a non-remaining state, and is not information indicating that the non-remaining state has been determined. This is because at this point in time, it is not known whether or not the optical sensor 80 is adversely affected by disturbance light, so that the remaining state of the ink determined based on the detection signal of the optical sensor 80 matches the actual state. This is because it cannot be said. Therefore, in this case, the ink in the ink cartridge and the optical sensor 80 are considered to be in any of the states shown in FIGS. 7B to 7D.

次に、ドットカウントにより推定された液体残量が、所与の残量(規定値)以上であるか否かを、制御部100が判定する(S106)。なお、本ステップにおける液体残量は、液体残量推定部150が前述した方法でドットカウントを行って推定したものである。   Next, the control unit 100 determines whether the liquid remaining amount estimated by the dot count is equal to or greater than a given remaining amount (specified value) (S106). Note that the liquid remaining amount in this step is estimated by the liquid remaining amount estimating unit 150 by performing dot counting by the method described above.

ここで、ステップS106の処理の詳細について、図10(A)及び図10(B)を用いて説明する。図10(A)及び図10(B)には、インクカートリッジIC内のインクIKが残存状態ではあるが、非残存状態に近づいている様子を示す。前提として、図10(A)及び図10(B)の例では、インクカートリッジIC内のインクIKの残量が第1の残量TH1以上である場合に、残存状態であると判定し、インクカートリッジIC内のインクIKの残量が第1の残量TH1よりも少ない場合に、非残存状態であると判定するものとする。つまり、インク液面が図10(A)及び図10(B)に示す範囲FIL内にある場合には、残存状態であると判定し、インク液面が図10(A)及び図10(B)に示す範囲EMP内にある場合には、非残存状態であると判定する。   Here, details of the processing in step S106 will be described with reference to FIGS. 10 (A) and 10 (B). FIGS. 10A and 10B show a state in which the ink IK in the ink cartridge IC is in a remaining state but is approaching a non-remaining state. As a premise, in the examples of FIGS. 10A and 10B, when the remaining amount of the ink IK in the ink cartridge IC is equal to or more than the first remaining amount TH1, it is determined that the ink is remaining, and the ink When the remaining amount of ink IK in the cartridge IC is smaller than the first remaining amount TH1, it is determined that the ink is not remaining. That is, when the ink level is within the range FIL shown in FIGS. 10A and 10B, it is determined that the ink level is remaining, and the ink level is in FIGS. 10A and 10B. ) Is within the range EMP shown in FIG.

インクIKの残存状態の精密な判定処理は、前述した通り、光センサー80により行うが、実際に厳密な判定が必要となるのは、範囲FILと範囲EMPの境界付近の範囲AR2内にインク液面がある場合である。一方で、範囲AR2よりも上方の範囲AR1内にインク液面がある場合には、インクIKが十分に残っており、しばらく印刷を続けても、非残存状態にはならないため、今すぐに光センサー80の検出信号に基づく残存状態判定処理を行う必要はない。   As described above, the precise determination process of the remaining state of the ink IK is performed by the optical sensor 80. However, the strict determination is actually required in the area AR2 near the boundary between the range FIL and the range EMP. This is when there is a face. On the other hand, when there is an ink liquid level in the range AR1 above the range AR2, the ink IK remains sufficiently, and even if printing is continued for a while, the non-remaining state does not occur. It is not necessary to perform the remaining state determination process based on the detection signal of the sensor 80.

そのため、ステップS106では、インク液面が範囲AR1内にあるのか、範囲AR2内にあるのかを、第2の残量TH2(前述した所与の残量)以上である否かにより判定する。第2の残量TH2は、推定残量部による残量に、印刷装置の固体差によるばらつきがあったとしても必ずインクが残っていると推定される量で設定されている。そして、その結果に基づいて、今すぐに光センサー80の検出信号に基づく外乱光判定処理を行う必要があるか否かを判定する。本実施形態では、ドットカウントにより推定されたインク残量に基づいて、インクが非残存状態(第2の残量TH2)に近付いているか否かを大まかに判定し、インクが非残存状態に近付いている場合に、光センサー80の検出信号に基づいて、インクの残存状態が正しく検出されているかどうかを判定する。   Therefore, in step S106, it is determined whether the ink liquid level is in the range AR1 or in the range AR2 based on whether or not it is greater than or equal to the second remaining amount TH2 (the given remaining amount described above). The second remaining amount TH2 is set to an amount that always estimates that ink remains even if there is a variation in the remaining amount due to the estimated remaining amount portion due to individual differences in the printing apparatus. Then, based on the result, it is determined whether or not the disturbance light determination process based on the detection signal of the optical sensor 80 needs to be performed immediately. In this embodiment, based on the ink remaining amount estimated by the dot count, it is roughly determined whether the ink is approaching the non-remaining state (second remaining amount TH2), and the ink approaches the non-remaining state. If the ink remaining state is detected, it is determined based on the detection signal of the optical sensor 80 whether the remaining state of the ink is correctly detected.

そして、ドットカウントにより推定された液体残量が所与の残量TH2以上であると、制御部100が判定した場合(S106)、つまり図10(B)の例のような場合には、光センサー80から得られる検出信号によるインクの残存状態判定処理を行う必要がないと判断できる。前述したように、インクが残存状態から非残存状態へ移行する間際(又は移行後)には、光センサー80から得られる検出信号に基づいて残存状態を精密に判定する必要があるが、インクが十分あると判定できる時にまで、光センサー80の検出信号に基づく残存状態判定処理を行う必要はないためである。そのため、この場合には、制御部100は、ステップS101の残存状態判定処理の結果が誤っていると判定する。つまり、この場合には、図7(B)の例のように、インクIKは実際には残存状態であったものの、外乱光等の影響により、非残存状態であると誤って判定されていたと考えられる。そして、制御部100は、記憶部190に記憶された検出情報の破棄処理を行う(S107)。この検出情報の破棄処理は、記憶部190に記憶された非残存状態の検出情報を消去する処理である。外乱光により光センサー80に非残存状態を検出したとしても、インクは残っていると推定されるので印刷は続行できる。そのため、ステップS107後には、ステップS102でインクが残存状態であると判定した場合と同様に、印刷を続行する(S103〜S105)。   When the control unit 100 determines that the liquid remaining amount estimated by the dot count is equal to or greater than the given remaining amount TH2 (S106), that is, in the case of the example of FIG. It can be determined that it is not necessary to perform the remaining ink state determination process based on the detection signal obtained from the sensor 80. As described above, it is necessary to accurately determine the remaining state based on the detection signal obtained from the optical sensor 80 immediately before (or after) the ink shifts from the remaining state to the non-remaining state. This is because it is not necessary to perform the remaining state determination process based on the detection signal of the optical sensor 80 until it can be determined that there is sufficient. Therefore, in this case, the control unit 100 determines that the result of the remaining state determination process in step S101 is incorrect. That is, in this case, as in the example of FIG. 7B, although the ink IK was actually in a remaining state, it was erroneously determined to be a non-remaining state due to the influence of ambient light or the like. Conceivable. And the control part 100 performs the discard process of the detection information memorize | stored in the memory | storage part 190 (S107). The detection information discarding process is a process of erasing the non-remaining state detection information stored in the storage unit 190. Even if a non-remaining state is detected in the optical sensor 80 due to ambient light, printing can be continued because it is estimated that ink remains. Therefore, after step S107, printing is continued in the same manner as in the case where it is determined in step S102 that ink remains (S103 to S105).

つまり、制御部100は、複数のインクカートリッジのうちの第1のインクカートリッジ内の液体が非残存状態であると判定し、液体残量推定部150により推定された第1のインクカートリッジの液体残量が所与の残量以上であると判定した場合に、第1のインクカートリッジの液体が非残存状態であるという判定を取り消して、印刷を続行する。   That is, the control unit 100 determines that the liquid in the first ink cartridge of the plurality of ink cartridges is in a non-remaining state, and the liquid remaining in the first ink cartridge estimated by the liquid remaining amount estimation unit 150 is determined. If it is determined that the amount is equal to or greater than the given remaining amount, the determination that the liquid in the first ink cartridge is in a non-remaining state is canceled and printing is continued.

これにより、残存状態判定処理に対して、外乱光による悪影響がある場合でも、インクが残存状態であると判定できる場合に、印刷を続行すること等が可能になる。   This makes it possible to continue printing or the like when it can be determined that the ink is in the remaining state even if there is an adverse effect due to ambient light on the remaining state determination process.

一方で、ステップS106において、ドットカウントにより推定された液体残量が所与の残量TH2よりも小さいと、制御部100が判定した場合、つまり図10(A)の例のような場合には、インクが残存状態から非残存状態へと移行する間際である、或いは既に非残存状態に移行後である可能性がある。この時点では、インクカートリッジ内のインクと光センサー80は、前述した図7(C)又は図7(D)のいずれかの状態にあると考えられる。よって、この場合には、ステップS101で行った残存状態判定処理に、外乱光の悪影響があったか否かを判定するための外乱光判定処理を行う。   On the other hand, in step S106, when the control unit 100 determines that the liquid remaining amount estimated by the dot count is smaller than the given remaining amount TH2, that is, in the case of the example of FIG. There is a possibility that the ink is just before the transition from the remaining state to the non-residual state, or already after the transition to the non-residual state. At this time, the ink in the ink cartridge and the optical sensor 80 are considered to be in any of the states shown in FIGS. 7C and 7D. Therefore, in this case, disturbance light determination processing is performed to determine whether or not the remaining state determination processing performed in step S101 has an adverse effect of disturbance light.

つまり、制御部100は、印刷実行中の残存状態判定処理(S101)において、液体が非残存状態であると判定した場合に、外乱光判定処理を行う(S108)。   That is, the control unit 100 performs disturbance light determination processing when it is determined in the remaining state determination processing during printing (S101) that the liquid is in the non-remaining state (S108).

具体的には、制御部100(主に検出制御部120)が光センサー80を消灯して、制御部100(主に外乱光判定部180)が、外乱光判定処理を行う(S108)。   Specifically, the control unit 100 (mainly the detection control unit 120) turns off the optical sensor 80, and the control unit 100 (mainly the disturbance light determination unit 180) performs disturbance light determination processing (S108).

また、この際には、制御部100は、光センサー80とインクカートリッジのプリズムとが互いに対向する位置関係となった場合に、外乱光判定処理を行う。光センサー80とインクカートリッジのプリズムとが互いに対向する位置関係とは、例えば図4に示すインクカートリッジICと光センサー80との位置関係である。   At this time, the control unit 100 performs disturbance light determination processing when the optical sensor 80 and the prism of the ink cartridge are in a positional relationship facing each other. The positional relationship between the optical sensor 80 and the prism of the ink cartridge is, for example, the positional relationship between the ink cartridge IC and the optical sensor 80 shown in FIG.

まとめると、液体消費装置200は、光センサー80又はインクカートリッジが搭載され、往復移動するキャリッジ20を含む。そして、制御部100は、印刷実行時にインクカートリッジと光センサー80との相対的な位置関係を変化させ、所与の印字パスでは光センサー80を発光させて、光センサー80から得られる検出信号に基づいて残存状態判定処理を行い、所与の印字パスとは異なる印字パスでは光センサー80を消灯させて、光センサー80から得られる検出信号に基づいて外乱光判定処理を行う。   In summary, the liquid consuming apparatus 200 includes the carriage 20 on which the optical sensor 80 or the ink cartridge is mounted and reciprocally moves. Then, the control unit 100 changes the relative positional relationship between the ink cartridge and the optical sensor 80 at the time of printing, causes the optical sensor 80 to emit light in a given printing pass, and generates a detection signal obtained from the optical sensor 80. Based on the detection signal obtained from the light sensor 80, the remaining light state determination process is performed, the light sensor 80 is turned off in a print path different from the given print path.

ここで、図11(A)に液体の残存状態判定処理時の様子を示し、図11(B)に外乱光判定処理時の様子を示す。図11(A)及び図11(B)では、ホルダー21がインクカートリッジIC1〜IC4を収容しており、インクカートリッジIC1と光センサー80とが互いに対向する位置関係にある。また、図11(A)及び図11(B)のどちらの場合にも、光センサー80の受光部84に外乱光NLが入射されている。   Here, FIG. 11A shows the state during the liquid remaining state determination process, and FIG. 11B shows the state during the disturbance light determination process. 11A and 11B, the holder 21 accommodates the ink cartridges IC1 to IC4, and the ink cartridge IC1 and the optical sensor 80 are in a positional relationship facing each other. In both cases of FIG. 11A and FIG. 11B, the disturbance light NL is incident on the light receiving portion 84 of the optical sensor 80.

図11(A)に示すように、液体の残存状態判定処理では、光センサー80の発光部82がインクカートリッジIC1のプリズム320に対して、光を照射しており、プリズム320からの反射光を受光部84が受光することにより、液体の残存状態を判定する。ただし、この際には、受光部84が外乱光NLも同時に受光してしまうため、判定処理結果を誤ることがある。   As shown in FIG. 11A, in the liquid remaining state determination process, the light emitting unit 82 of the optical sensor 80 irradiates light to the prism 320 of the ink cartridge IC1, and the reflected light from the prism 320 is reflected. When the light receiving unit 84 receives light, the remaining state of the liquid is determined. However, in this case, since the light receiving unit 84 also receives the disturbance light NL at the same time, the determination processing result may be incorrect.

これに対して、外乱光判定処理では、図11(B)に示すように、インクカートリッジIC1と光センサー80を、図11(A)と同じ位置関係にし、かつ発光部82を消灯して、図11(A)の状態で受光部84が受光する外乱光NLを検出する。なお、外乱光判定処理自体は、図4〜図6を用いて説明したインクニアエンドの検出手法と同様に行う。例えば、光センサー80を消灯しているにも関わらず、検出電圧がVmaxよりも所定レベル低下しているときには、外乱光ありと判定し、検出電圧が上限電圧Vmax(基準電圧)に近いままの場合には、外乱光なしと判定する。   On the other hand, in the disturbance light determination process, as shown in FIG. 11B, the ink cartridge IC1 and the optical sensor 80 are in the same positional relationship as in FIG. The disturbance light NL received by the light receiving unit 84 in the state of FIG. The disturbance light determination process itself is performed in the same manner as the ink near-end detection method described with reference to FIGS. For example, when the detection voltage is lower than the Vmax by a predetermined level despite the light sensor 80 being turned off, it is determined that there is ambient light, and the detection voltage remains close to the upper limit voltage Vmax (reference voltage). In this case, it is determined that there is no ambient light.

これにより、光センサー80の受光部84が、発光部82により照射される光を受光せずに、外乱光だけを検出して、液体の残存状態判定処理に対する外乱光の影響の有無を判定すること等が可能になる。   As a result, the light receiving unit 84 of the optical sensor 80 detects only the disturbance light without receiving the light emitted by the light emitting unit 82, and determines the presence or absence of the influence of the disturbance light on the liquid remaining state determination process. It becomes possible.

また、インクカートリッジと光センサー80を対向する位置関係にすることにより、そのインクカートリッジにおいて、光センサー80を用いてインクの残存状態判定処理を行う際に光センサー80が受光してしまう外乱光を、検出することが可能になる。   Further, by making the ink cartridge and the optical sensor 80 face each other, the ambient light that the optical sensor 80 receives when performing the ink remaining state determination process using the optical sensor 80 in the ink cartridge is prevented. , It becomes possible to detect.

次に、ステップS109において、光センサー80が外乱光を受光していないと、制御部100が判定した場合には(S109)、ステップS101の残存状態判定処理の結果が正しいと判定し、インクが非残存状態であることを確定する(S110)。つまり、この場合には、図7(C)の例のように、インクIKは実際に非残存状態であり、外乱光等の影響を受けずに、非残存状態であると正しく判定されていたと考えられる。そしてこの際には、印刷を停止して、使用者に対して、インクカートリッジの交換を促す表示を行ったりする。   Next, in step S109, when the control unit 100 determines that the optical sensor 80 is not receiving disturbance light (S109), it is determined that the result of the remaining state determination process in step S101 is correct, and the ink is discharged. A non-remaining state is determined (S110). That is, in this case, as in the example of FIG. 7C, the ink IK is actually in a non-remaining state, and is correctly determined to be in a non-remaining state without being affected by disturbance light or the like. Conceivable. At this time, printing is stopped, and a display prompting the user to replace the ink cartridge is performed.

一方、ステップS109において、光センサー80が外乱光を受光していると、制御部100が判定した場合には(S109)、ステップS101の残存状態判定処理の結果が誤りを含んでいる可能性があると判定し、ステップS107と同様に、制御部100は、記憶部190に記憶された検出情報の破棄処理を行う(S111)。このように、ステップS111に進んだ場合には、ステップS101における光センサー80の検出信号に基づく残存状態判定処理の結果は、外乱光により信頼性の低いものであると判定できる。そのため、直ちにインクが非残存状態であるとは判定できない。しかし、液体残量推定部150のドットカウントにより推定された液体残量は、所与の残量よりも小さいと判定されているため、少なくとも図7(D)又は図10(A)の例のように、非残存状態に近付いている又は既に非残存状態であると判定できる。つまり、図10(A)の例で説明すれば、少なくともインク液面が範囲AR2内にあるが、インクが非残存状態である範囲EMP内に、インク液面があるとは断定できない状態である。   On the other hand, if the control unit 100 determines that the optical sensor 80 is receiving disturbance light in step S109 (S109), there is a possibility that the result of the remaining state determination process in step S101 includes an error. As in step S107, the control unit 100 discards the detection information stored in the storage unit 190 (S111). As described above, when the process proceeds to step S111, it can be determined that the result of the remaining state determination process based on the detection signal of the optical sensor 80 in step S101 is low in reliability due to disturbance light. Therefore, it cannot be immediately determined that the ink is in a non-remaining state. However, since the liquid remaining amount estimated by the dot count of the liquid remaining amount estimating unit 150 is determined to be smaller than the given remaining amount, at least the example of FIG. 7D or FIG. In this way, it can be determined that the non-remaining state is approaching or is already non-remaining. That is, in the example of FIG. 10A, at least the ink liquid level is in the range AR2, but it cannot be determined that there is an ink liquid level in the range EMP where the ink is not remaining. .

ここで、ステップS110又はステップS111に至る処理の流れをまとめると、制御部100は、例えば複数のインクカートリッジのうちの第2のインクカートリッジ内の液体が非残存状態であると判定し(S102)、液体残量推定部150により推定された第2のインクカートリッジの液体残量が所与の残量よりも小さいと判定した場合には(S106)、残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行う(S108)。さらに、制御部100は、外乱光判定処理において、残存状態判定処理に対して外乱光の影響が無いと判定した場合に(S109)、第2のインクカートリッジの液体が非残存状態であることを確定し(S110)、残存状態判定処理に対して外乱光の影響があると判定した場合に、第2のインクカートリッジの液体が非残存状態であるという判定を取り消して(S111)、印刷を続行する(後述する図9のS112)。   Here, to summarize the flow of processing up to step S110 or step S111, the control unit 100 determines, for example, that the liquid in the second ink cartridge among the plurality of ink cartridges is in a non-remaining state (S102). If it is determined that the liquid remaining amount of the second ink cartridge estimated by the liquid remaining amount estimating unit 150 is smaller than the given remaining amount (S106), the presence or absence of the influence of ambient light on the remaining state determination process A disturbance light determination process is performed (S108). Further, when the control unit 100 determines in the disturbance light determination process that there is no influence of disturbance light on the remaining state determination process (S109), the controller 100 determines that the liquid in the second ink cartridge is in a non-remaining state. When it is determined (S110) and it is determined that there is an influence of disturbance light on the remaining state determination process, the determination that the liquid in the second ink cartridge is in the non-remaining state is canceled (S111), and printing is continued. (S112 in FIG. 9 described later).

これにより、光センサー80から得られる検出信号に基づく、液体の残存状態判定処理の結果が、正しいか否かを判定することが可能になる。   Thereby, it is possible to determine whether or not the result of the liquid remaining state determination process based on the detection signal obtained from the optical sensor 80 is correct.

さらに本実施形態では、ステップS111に進んだ場合にも、現在行っている印刷が用紙(又はページ)の途中である場合には、この用紙への印刷が終わるまでは印刷を停止せずに、印刷を続行する。1枚の用紙の途中で印刷が停止してしまった場合には、使用者が再度印刷をやり直すケースが多く、その用紙への印刷が無駄になってしまうことが多いためである。また、インクが非残存状態であると判定された場合であっても、用紙1枚程度の印刷ならば、インクカートリッジ内に残っているインクで印刷可能なことがほとんどだからである。   Further, in the present embodiment, even when the process proceeds to step S111, if the current printing is in the middle of the paper (or page), the printing is not stopped until the printing on the paper is finished. Continue printing. This is because when printing is stopped in the middle of a sheet of paper, the user often performs printing again, and printing on the sheet is often wasted. In addition, even when it is determined that the ink is in a non-remaining state, if printing is performed on about one sheet of paper, it is almost possible to print with the ink remaining in the ink cartridge.

つまり本実施形態では、制御部100は、光センサー80の発光時のプリズム320からの反射により、光センサー80で検出された検出信号に基づいて、インクカートリッジ内における液体の残存状態判定処理を行う(S101)。そして、制御部100は、光センサー80の消灯時のプリズム320からの反射により、光センサー80で検出された検出信号に基づいて、残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行い(S108)、印刷実行中に、外乱光判定処理により外乱光の影響があると判定した場合であっても(S109)、印刷実行中の用紙の最後まで印刷を続行する。   That is, in the present embodiment, the control unit 100 performs the remaining state determination process for the liquid in the ink cartridge based on the detection signal detected by the optical sensor 80 due to the reflection from the prism 320 when the optical sensor 80 emits light. (S101). Then, the control unit 100 determines the presence or absence of the influence of the disturbance light on the remaining state determination process based on the detection signal detected by the optical sensor 80 due to the reflection from the prism 320 when the optical sensor 80 is turned off. A determination process is performed (S108), and even if it is determined by the disturbance light determination process that there is an influence of disturbance light during printing (S109), printing is continued until the end of the sheet being printed.

これにより、1枚の用紙への印刷の途中で印刷を停止することを抑制することが可能になる。   As a result, it is possible to suppress printing from being stopped during printing on a single sheet.

具体的には、図8のステップS111の後に、図9のステップS112に示すように、印刷を続行する。そして、制御部100は、現在、印刷の被対象となっている用紙への印刷が終了したか否かを判定する(S113)。   Specifically, after step S111 in FIG. 8, printing is continued as shown in step S112 in FIG. Then, the control unit 100 determines whether or not the printing on the paper that is currently the printing target is completed (S113).

そして、制御部100は、外乱光判定処理(S108)において、残存状態判定処理に対して外乱光の影響があると判定した(S109)後も、印刷を続行し(S112)、所与の規定量の液体を消費する毎に(後述するS114)、残存状態判定処理に対する外乱光の影響の有無を判定する第2の外乱光判定処理を行い(後述するS115)、第2の外乱光判定処理において、残存状態判定処理に対して外乱光の影響がないと判定した場合に(後述するS116)、残存状態判定処理を行う(S101)。   Then, the control unit 100 continues the printing (S112) even after determining that there is an influence of the disturbance light on the remaining state determination process (S109) in the disturbance light determination process (S108), and gives a predetermined rule. Each time an amount of liquid is consumed (S114 to be described later), a second disturbance light determination process is performed to determine whether or not the influence of disturbance light has an influence on the remaining state determination process (S115 to be described later), and the second disturbance light determination process is performed. When it is determined that there is no influence of disturbance light on the remaining state determination process (S116 described later), the remaining state determination process is performed (S101).

これにより、印刷を継続している間に、残存状態判定処理に対する外乱光の影響がなくなったか否かを判定することが可能になる。また、所与の規定量だけインクを消費する度に、第2の外乱光判定処理を行うため、印刷中に外乱光による悪影響がなくなった場合に、外乱光による悪影響があると判定された状態から、外乱光による悪影響がなくなった状態に復帰したことを、早く確認することが可能になる。   As a result, it is possible to determine whether or not the influence of disturbance light on the remaining state determination process is eliminated while printing is continued. In addition, since the second disturbance light determination process is performed every time the ink is consumed by a predetermined amount, a state where it is determined that there is an adverse effect due to the disturbance light when the adverse effect due to the disturbance light disappears during printing. Therefore, it is possible to quickly confirm that the state has been restored to the state where the adverse effect due to the disturbance light is eliminated.

具体的には、ステップS113において、現在の用紙への印刷が終了していないと判定した場合には、制御部100は、ステップS112の印刷において、規定値以上のインク量のインクを消費したか否か判定する(S114)。この際には、液体残量推定部150が、ドットカウントを行って、インクの消費量を算出する。そして、制御部100が、液体残量推定部150により推定されたインクの消費量が、規定値以上か否かを判定する。また、この際に推定されるインクの消費量は、ステップS112〜ステップS114のループ処理を行っている間に消費されたインク量である。後述するように、ステップS112〜ステップS114のループ処理を抜けた場合には、ステップS112で消費された液体残量推定部150により推定されるインク消費量がリセットされる。   Specifically, if it is determined in step S113 that printing on the current sheet has not been completed, has the control unit 100 consumed ink of a specified amount or more in printing in step S112? It is determined whether or not (S114). At this time, the remaining liquid amount estimation unit 150 performs dot count to calculate the ink consumption. Then, the control unit 100 determines whether the ink consumption estimated by the remaining liquid amount estimation unit 150 is equal to or greater than a specified value. Further, the ink consumption estimated at this time is the amount of ink consumed during the loop processing from step S112 to step S114. As will be described later, when the loop processing from step S112 to step S114 is exited, the ink consumption estimated by the remaining liquid amount estimation unit 150 consumed in step S112 is reset.

そして、制御部100が、ステップS112の印刷において、規定値以上のインク量のインクを消費していないと判定した場合には(S114)、ステップS112の印刷処理へと戻る。   If the control unit 100 determines that the amount of ink equal to or greater than the specified value is not consumed in the printing in step S112 (S114), the process returns to the printing process in step S112.

一方で、制御部100が、ステップS112の印刷において、規定値以上のインク量のインクを消費したと判定した場合には、ステップS108と同様に、制御部100が光センサー80を消灯して、第2の外乱光判定処理を行う(S108)。   On the other hand, when the control unit 100 determines that the ink amount equal to or larger than the specified value has been consumed in the printing in step S112, the control unit 100 turns off the light sensor 80 in the same manner as in step S108. A second disturbance light determination process is performed (S108).

この第2の外乱光判定処理は、ステップS112で印刷を継続している間に、外乱光が残存状態判定処理に悪影響を及ぼす環境が、使用者等により改善されたか否か(外乱光が遮断されたか否か)を判定するために行う処理である。第2の外乱光判定処理において、印刷を継続している間に、外乱光による悪影響が取り除かれたと判定できるのであれば(S116)、光センサー80の検出信号に基づいて、正確に液体の残存状態判定処理を行うことが可能になる。そのため、この場合にはステップS100へ戻る。   In the second disturbance light determination process, whether or not the environment in which disturbance light adversely affects the remaining state determination process has been improved by the user or the like while printing is continued in step S112 (disturbance light is blocked). It is a process performed to determine whether or not. In the second disturbance light determination process, if it can be determined that the adverse influence due to the disturbance light has been removed while the printing is continued (S116), the liquid remains accurately based on the detection signal of the optical sensor 80. State determination processing can be performed. Therefore, in this case, the process returns to step S100.

一方で、第2の外乱光判定処理において、ステップS112で印刷を継続している間も、外乱光による悪影響があり、環境が改善されていないと判定された場合には(S116)、制御部100は、空打ちの可能性があるか否かを判定する(S117)。具体的には、制御部100は、液体残量推定部150により推定されたインクの累積消費量が所与の閾値以上か否かを判定する。累積消費量とは、ステップS111以降に消費されたインクの量のことであり、ドットカウントにより液体残量推定部150に推定される。なお、累積消費量は、ステップS114で用いた消費量とは異なるものであり、ステップS112〜ステップS114のループを繰り返しても、リセットされずに累積される。   On the other hand, in the second disturbance light determination process, when it is determined that there is an adverse effect due to the disturbance light and the environment is not improved while printing is continued in step S112 (S116), the control unit 100 determines whether or not there is a possibility of an empty shot (S117). Specifically, the control unit 100 determines whether or not the cumulative ink consumption estimated by the remaining liquid amount estimation unit 150 is equal to or greater than a given threshold value. The cumulative consumption is the amount of ink consumed after step S111, and is estimated by the liquid remaining amount estimation unit 150 by dot count. The accumulated consumption amount is different from the consumption amount used in step S114, and is accumulated without being reset even if the loop of step S112 to step S114 is repeated.

また、本実施形態では、前述したように、現在、印刷の被対象となっている用紙への印刷が終わるまでは、基本的に印刷を停止しない。しかし、例外的にその用紙への印刷に大量のインクを使用する場合などには、現在の用紙への印刷が全て終わっていない場合であっても、途中で印刷を停止しなければならないことがある。これは、インクがない状態で印刷を続行すると、インクの空打ちが発生してしまうためである。   In the present embodiment, as described above, printing is basically not stopped until printing on a sheet that is currently a printing target is completed. However, in exceptional cases where a large amount of ink is used for printing on the paper, it may be necessary to stop printing halfway even if the printing on the current paper is not complete. is there. This is because if the printing is continued in a state where there is no ink, the ink is emptied.

具体的には、制御部100は、外乱光判定処理において、残存状態判定処理に対して外乱光の影響があると判定した後に、所与の量以上の液体が消費されたと液体残量推定部150が推定した場合には(つまり、制御部100が、累積消費量が所与の量以上であると判定した場合には)(S117)、空打ちの可能性があると判定して、用紙に印刷する途中であっても印刷を停止する(S118)。なお、制御部100は、印刷を停止する際には、キャリッジの駆動を停止させる。そして、制御部100は、例えばインクカートリッジの交換指示のメッセージを表示部210に表示させる(S119)。   Specifically, in the disturbance light determination process, the control unit 100 determines that there is an influence of disturbance light on the remaining state determination process, and then determines that the liquid remaining amount estimation unit has consumed a predetermined amount or more of liquid. If 150 is estimated (that is, if the control unit 100 determines that the cumulative consumption is equal to or greater than the given amount) (S117), it is determined that there is a possibility of empty shot, and the paper Even during printing, printing is stopped (S118). The control unit 100 stops driving the carriage when stopping printing. Then, the control unit 100 displays, for example, an ink cartridge replacement instruction message on the display unit 210 (S119).

これにより、インクの空打ちを抑制すること等が可能になる。   As a result, it is possible to suppress idle ink ejection.

一方で、制御部100が、インクの累積消費量が所与の量よりも少ないと判定した場合には(S117)、ステップS112に戻り、処理を繰り返す。   On the other hand, when the control unit 100 determines that the cumulative consumption of ink is less than the given amount (S117), the process returns to step S112 and the process is repeated.

また、前述したステップS113において、現在の用紙への印刷が終了したと判定した場合には、区切りがよいため、この機会に外乱光判定処理やインクの残存状態判定処理をやり直す。前述したように、印刷を継続している間に、外乱光が残存状態判定処理に悪影響を及ぼす環境が改善されている可能性があり、環境が改善されている場合には、外乱光の悪影響がない状態で、正確にインクの残存状態を判定することが可能だからである。また、このタイミングであれば、各処理を行っている間、印刷を一時的に中断しても印刷待ち時間への影響が比較的少ないためである。   In step S113 described above, if it is determined that printing on the current sheet has been completed, the separation is good, and the disturbance light determination process and the ink remaining state determination process are performed again at this opportunity. As described above, the environment in which ambient light adversely affects the remaining state determination process may be improved while printing is continued. If the environment is improved, the adverse effect of ambient light This is because it is possible to accurately determine the remaining state of ink in the absence of ink. Further, at this timing, even if printing is temporarily interrupted during each process, the influence on the print waiting time is relatively small.

そこでまず、制御部100は、用紙1枚の印刷が終了した時に、残存状態判定処理に対する外乱光の影響の有無を判定する第3の外乱光判定処理を行う(S120)。この第3の外乱光判定処理は、第2の外乱光判定処理と同様に、制御部100が光センサー80を消灯して行う。   Therefore, first, when the printing of one sheet is completed, the control unit 100 performs a third disturbance light determination process for determining whether or not there is an influence of disturbance light on the remaining state determination process (S120). The third disturbance light determination process is performed by the control unit 100 with the light sensor 80 turned off, similarly to the second disturbance light determination process.

これにより、用紙1枚分の印刷が終了したタイミングで、残存状態判定処理に対する外乱光の影響の有無が変化したか否かを判定すること等が可能になる。   Accordingly, it is possible to determine whether or not the influence of ambient light on the remaining state determination process has changed at the timing when printing for one sheet is completed.

次に、制御部100は、第3の外乱光判定処理において、残存状態判定処理に対して外乱光の影響があると判定した場合には(S121)、外乱光がある旨を使用者に報知する(S122)。   Next, in the third disturbance light determination process, when the control unit 100 determines that there is an influence of disturbance light on the remaining state determination process (S121), the control unit 100 notifies the user that there is disturbance light. (S122).

これにより、用紙1枚分の印刷が終了したタイミングで、制御部100が、例えば印刷装置のカバーの開閉確認を指示するメッセージを表示部210に表示させること等が可能になる(S122)。   As a result, at the timing when printing for one sheet is completed, the control unit 100 can display, for example, a message for instructing confirmation of opening / closing of the cover of the printing apparatus on the display unit 210 (S122).

一方、制御部100は、第3の外乱光判定処理において、残存状態判定処理に対して外乱光の影響がないと判定した場合には、インクカートリッジ内における液体の第2の残存状態判定処理を行う(S123)。そして、制御部100は、第2の残存状態判定処理において、液体が非残存状態であると判定した場合には(S124)、非残存状態であるという判定結果を確定する(S125)。   On the other hand, when it is determined in the third disturbance light determination process that there is no influence of disturbance light on the remaining state determination process, the control unit 100 performs the second remaining state determination process for the liquid in the ink cartridge. Perform (S123). Then, when it is determined in the second remaining state determination process that the liquid is in the non-remaining state (S124), the control unit 100 determines the determination result that it is in the non-remaining state (S125).

これにより、用紙1枚分の印刷が終了したタイミングで、外乱光の悪影響がない場合に、インクが非残存状態であることを確かめること等が可能になる。   This makes it possible to confirm that the ink is in a non-remaining state when there is no adverse effect of ambient light at the timing when printing for one sheet is completed.

また、制御部100は、第2の残存状態判定処理において、液体が残存状態であると判定した場合には(S124)、次の用紙の印刷を行う(S126)。   If the controller 100 determines in the second remaining state determination process that the liquid is in the remaining state (S124), the controller 100 prints the next sheet (S126).

これにより、用紙1枚分の印刷が終了したタイミングで、外乱光の悪影響がない場合に、インクが残存状態であると正しい判定をし直し、印刷を続行すること等が可能になる。以上が本実施形態の処理の流れである。   As a result, when there is no adverse effect of disturbance light at the timing when printing for one sheet is completed, it is possible to make a correct determination that the ink remains and continue printing. The above is the processing flow of this embodiment.

なお、ステップS110或いはステップS125で非残存状態が確定された場合には、ステップS101の後からのインクの累積消費量が所与の量となるまでは印刷を続行してもよい。   If the non-remaining state is determined in step S110 or step S125, printing may be continued until the cumulative ink consumption after step S101 reaches a given amount.

なお、以上では、インクカートリッジが搭載されるホルダー21及びヘッド22がキャリッジ20に搭載されるオンキャリッジ構成の場合に、本実施形態の手法を適用した場合を例にとり説明したが、本実施形態はこれに限定されない。例えば、インクカートリッジが搭載されるホルダー21がキャリッジ20上になく、印刷装置内の固定の位置にあるオフキャリッジの印刷装置でも適用できる。   In the above description, the case where the method of the present embodiment is applied to the case where the holder 21 and the head 22 on which the ink cartridge is mounted is on-carriage mounted on the carriage 20 has been described as an example. It is not limited to this. For example, the present invention can be applied to an off-carriage printing apparatus in which the holder 21 on which the ink cartridge is mounted is not on the carriage 20 and is in a fixed position in the printing apparatus.

図12はオフキャリッジの印刷装置に本発明を適用した場合を示す。光センサー80が、ヘッド22を備えるキャリッジ20に搭載され、キャリッジモーター50が、ヘッド22及び光センサー80が搭載されたキャリッジ20を、インクカートリッジのプリズム320と対向するように移動させる。この場合には制御部100は、キャリッジ20に搭載された光センサー80と、インクカートリッジとが、所与の位置関係(光センサー80によるインクカートリッジのインクの残存状態の検出が可能な位置関係)になるように、キャリッジモーター50により、光センサー80を備えるキャリッジ20を移動させる制御を行うことになる。   FIG. 12 shows a case where the present invention is applied to an off-carriage printing apparatus. The optical sensor 80 is mounted on the carriage 20 including the head 22, and the carriage motor 50 moves the carriage 20 mounted with the head 22 and the optical sensor 80 so as to face the prism 320 of the ink cartridge. In this case, in the control unit 100, the optical sensor 80 mounted on the carriage 20 and the ink cartridge have a given positional relationship (a positional relationship in which the remaining state of the ink in the ink cartridge can be detected by the optical sensor 80). Thus, the carriage motor 50 is controlled to move the carriage 20 including the optical sensor 80.

即ち、図11(A)及び図11(B)では、光センサー80の位置(検出位置)が固定で、キャリッジ20のホルダー21に搭載されたインクカートリッジの方が移動して、残存状態判定処理及び外乱光判定処理が行われている。これに対して図12では、インクカートリッジが、印刷装置に固定されており、ヘッド22及び光センサー80を搭載するキャリッジ20が、キャリッジモーター50の駆動により移動して、残存状態判定処理及び外乱光判定処理が行われる。このようにすることで、いわゆるオフキャリッジの印刷装置においても本実施形態の手法を適用することが可能になる。   That is, in FIG. 11A and FIG. 11B, the position (detection position) of the optical sensor 80 is fixed, and the ink cartridge mounted on the holder 21 of the carriage 20 moves, and the remaining state determination process And disturbance light determination processing is performed. On the other hand, in FIG. 12, the ink cartridge is fixed to the printing apparatus, and the carriage 20 on which the head 22 and the optical sensor 80 are mounted is moved by driving the carriage motor 50, so that the remaining state determination process and disturbance light are performed. Judgment processing is performed. In this way, the method of the present embodiment can be applied to a so-called off-carriage printing apparatus.

6.比較例
次に、図13のフローチャートを用いて本実施形態の比較例を説明し、本実施形態の手法が比較例に対して優れている点について説明する。
6). Comparative Example Next, a comparative example of the present embodiment will be described using the flowchart of FIG. 13, and the point that the method of the present embodiment is superior to the comparative example will be described.

図14は本実施形態と比較例の印刷装置200の外観図である。印刷装置200は、筐体65と筐体65に取り付けられたカバー66を備える。筐体はホルダー21と光センサー80を収容している。光センサー80はホルダー21の下方(−Z軸方向)に配置されているため、図14では図示を省略する。   FIG. 14 is an external view of a printing apparatus 200 of this embodiment and a comparative example. The printing apparatus 200 includes a housing 65 and a cover 66 attached to the housing 65. The housing accommodates the holder 21 and the optical sensor 80. Since the optical sensor 80 is disposed below the holder 21 (in the −Z-axis direction), the illustration is omitted in FIG.

図13で、比較例の制御部が実施する処理を説明する。比較例の印刷装置は、インクの残存状態判定処理に対する外乱光の影響を排除するために、実際に印刷を行う前に、印刷装置のカバー66が開いているか否かを判定する(S201)。比較例の印刷装置は、カバー66の開閉を検出可能なセンサーを備えている。   With reference to FIG. 13, processing performed by the control unit of the comparative example will be described. The printing apparatus of the comparative example determines whether or not the cover 66 of the printing apparatus is open before actually performing printing in order to eliminate the influence of ambient light on the ink remaining state determination process (S201). The printing apparatus of the comparative example includes a sensor that can detect opening and closing of the cover 66.

そして、比較例の印刷装置は、カバー66が開いていると判定した場合には、残存状態判定処理に対して外乱光の悪影響があると判定し、印刷を停止して(S202)、カバー66が開いている旨を表示部に表示する(S203)。   When it is determined that the cover 66 is open, the printing apparatus according to the comparative example determines that there is an adverse effect of disturbance light on the remaining state determination process, stops printing (S202), and the cover 66. Is displayed on the display unit (S203).

一方で、印刷装置は、カバー66が正しく閉じられていると判定した場合には、残存状態判定処理に対して外乱光の悪影響がないと判定し、1回のパスによる印刷を行う(S204)。その後に、印刷装置は、光センサーから得られる検出信号に基づいて、インクの残存状態判定処理を行う(S205)。そして、印刷装置は、残存状態判定処理において、インクが残存状態であると判定した場合には(S206)、次のパスの印刷へ移行し(S207)、ステップS201の前に戻る。   On the other hand, if the printing apparatus determines that the cover 66 is properly closed, the printing apparatus determines that there is no adverse effect of disturbance light on the remaining state determination process, and performs printing in one pass (S204). . Thereafter, the printing apparatus performs ink remaining state determination processing based on the detection signal obtained from the optical sensor (S205). If the printing apparatus determines that the ink is in the remaining state in the remaining state determination process (S206), the printing apparatus proceeds to printing of the next pass (S207) and returns to the step before step S201.

一方、残存状態判定処理において、インクが非残存状態であると判定した場合には(S206)、印刷装置は、推定された液体残量が所与の量以上であるか否かを判定する(S208)。そして、印刷装置は、推定された液体残量が所与の量以上であると判定した場合には、図8で前述した本実施形態の処理のステップS107と同様に、インクが非残存状態であるという判定結果を破棄し(S209)、次のパスの印刷へ移行し(S207)、ステップS201の前に戻る。   On the other hand, in the remaining state determination process, when it is determined that the ink is in a non-remaining state (S206), the printing apparatus determines whether or not the estimated remaining liquid amount is equal to or greater than a given amount (S206). S208). If the printing apparatus determines that the estimated remaining liquid amount is equal to or greater than the given amount, the ink remains in a non-remaining state as in step S107 of the process of the present embodiment described above with reference to FIG. The determination result that there is is discarded (S209), the process proceeds to printing of the next pass (S207), and the process returns to step S201.

また、印刷装置は、推定された液体残量が所与の量よりも少ないと判定した場合には、インクが非残存状態であるという判定結果を確定する。(S210)。以上が、比較例の処理の流れである。   Further, when the printing apparatus determines that the estimated remaining liquid amount is less than a given amount, the printing apparatus determines a determination result that the ink is not remaining. (S210). The above is the process flow of the comparative example.

このように、比較例の場合は、カートリッジ内の残量に関わらず、カバー66が開いていたらキャリッジを停止するため、印字中にキャリッジを停止する頻度が上がる。これに対して、本実施形態では、液体残量推定部により推定された残量が所与の残量以上であれば、カバー66の開閉にかかわらず、印刷を続行する。つまり、カバーが開いており、光センサー80により外乱光の影響でインクカートリッジ内のインクの非残存状態が検出されても、空打ちの可能性がないと判断できれば印刷を継続することができる。   As described above, in the case of the comparative example, the carriage is stopped when the cover 66 is opened regardless of the remaining amount in the cartridge, so that the frequency of stopping the carriage during printing is increased. On the other hand, in this embodiment, if the remaining amount estimated by the liquid remaining amount estimating unit is equal to or greater than a given remaining amount, printing is continued regardless of whether the cover 66 is opened or closed. That is, even if the cover is open and the non-remaining state of the ink in the ink cartridge is detected by the light sensor 80 due to the influence of disturbance light, printing can be continued if it can be determined that there is no possibility of idling.

つまり、本実施形態の液体消費装置200は、液体収容容器の液体残量を推定する液体残量推定部150と、発光部82と受光部84とを有し、液体収容容器の液体の残存状態を検出するための検出信号を出力する光センサー80と、光センサー80から得られる検出信号に基づいて、液体収容容器内における液体の残存状態判定処理を行い、印刷の制御を行う制御部100と、光センサー80を収容し、カバー66を備える筐体65と、を含む。そして、制御部100は、液体残量推定部150により推定された液体残量が所与の残量以上であると判定した場合には、カバー66の開閉にかかわらず、印刷を続行する。   That is, the liquid consuming apparatus 200 of the present embodiment includes the liquid remaining amount estimating unit 150 that estimates the remaining amount of liquid in the liquid storage container, the light emitting unit 82, and the light receiving unit 84, and the liquid remaining state in the liquid storage container An optical sensor 80 that outputs a detection signal for detecting the detection, and a control unit 100 that performs a residual state determination process of the liquid in the liquid container based on the detection signal obtained from the optical sensor 80 and controls printing. A housing 65 that houses the optical sensor 80 and includes a cover 66. When the control unit 100 determines that the remaining liquid amount estimated by the remaining liquid amount estimation unit 150 is equal to or greater than the given remaining amount, the control unit 100 continues printing regardless of whether the cover 66 is opened or closed.

また、制御部100は、カバー66が開かれた状態で、検出信号に基づいて液体収容容器内の液体が非残存状態であると判定したが、液体残量推定部150により推定された液体残量が所与の残量以上であると判定した場合には、印刷を続行してもよい。   In addition, the control unit 100 determines that the liquid in the liquid container is in a non-remaining state based on the detection signal in a state where the cover 66 is opened, but the liquid remaining amount estimated by the liquid remaining amount estimation unit 150 is determined. If it is determined that the amount is greater than or equal to a given remaining amount, printing may continue.

なお、前述した図9のステップS113の現在の用紙への印刷が終了しているか否かの判定は、印刷JOBが片面印刷であれば1ページ分が終了しているか否かの判定となる。印刷JOBが両面印刷であれば2ページ分の印刷、すなわち用紙1枚分の印刷が終了しているか否かの判定となる。   Note that the determination of whether or not printing on the current sheet in step S113 in FIG. 9 has been completed is a determination of whether or not one page has been completed if the print job is single-sided printing. If the print job is double-sided printing, it is determined whether or not printing for two pages, that is, printing for one sheet has been completed.

以上のように本実施形態について詳細に説明したが、本発明の新規事項および効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。従って、このような変形例はすべて本発明の範囲に含まれるものとする。例えば、明細書又は図面において、少なくとも一度、より広義または同義な異なる用語と共に記載された用語は、明細書又は図面のいかなる箇所においても、その異なる用語に置き換えることができる。また、液体消費装置の構成、動作も本実施形態で説明したものに限定されず、種々の変形実施が可能である。   Although the present embodiment has been described in detail as described above, it will be easily understood by those skilled in the art that many modifications can be made without departing from the novel matters and effects of the present invention. Accordingly, all such modifications are intended to be included in the scope of the present invention. For example, a term described at least once together with a different term having a broader meaning or the same meaning in the specification or the drawings can be replaced with the different term in any part of the specification or the drawings. Further, the configuration and operation of the liquid consuming device are not limited to those described in this embodiment, and various modifications can be made.

20 キャリッジ、21 ホルダー、22 ヘッド、30 ケーブル、40 モーター、
45 ローラー、50 キャリッジモーター、55 キャリッジ駆動ベルト、
65 筐体、66 カバー、70 A/D変換部、80 光センサー、82 発光部、
84 受光部、100 制御部、110 駆動制御部、120 検出制御部、
140 位置特定部、150 液体残量推定部、160 残存状態判定部、
180 外乱光判定部、190 記憶部、192 テーブルデータ記憶部、
194 残量記憶部、200 液体消費装置(印刷装置)、210 表示部、
220 I/F部、300 インク収容部、310 カートリッジの底面、
320 プリズム、330 インク供給口、340 レバー、350 回路基板、
352 記憶装置、354 端子
20 Carriage, 21 Holder, 22 Head, 30 Cable, 40 Motor,
45 roller, 50 carriage motor, 55 carriage drive belt,
65 housing, 66 cover, 70 A / D conversion unit, 80 optical sensor, 82 light emitting unit,
84 light receiving unit, 100 control unit, 110 drive control unit, 120 detection control unit,
140 position specifying unit, 150 liquid remaining amount estimating unit, 160 remaining state determining unit,
180 disturbance light determination unit, 190 storage unit, 192 table data storage unit,
194 Remaining amount storage unit, 200 Liquid consumption device (printing device), 210 Display unit,
220 I / F section, 300 ink storage section, 310 bottom surface of cartridge,
320 prism, 330 ink supply port, 340 lever, 350 circuit board,
352 storage device, 354 terminals

Claims (9)

液体収容容器の液体残量を推定する液体残量推定部と、
発光部と受光部とを有し、前記液体収容容器に設けられたプリズムと対向可能な光センサーと、
前記光センサーから得られる検出信号に基づいて、前記液体収容容器内における液体の残存状態判定処理を行い、印刷の制御を行う制御部と、
を含み、
前記制御部は、
前記検出信号に基づいて、前記液体収容容器内の前記液体が非残存状態であると判定したが、前記液体残量推定部により推定された前記液体残量が所与の残量以上であると判定した場合には、印刷を続行し、
前記検出信号に基づいて前記液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記液体残量が前記所与の残量よりも少ないと判定した場合には、前記残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行い、
前記外乱光判定処理において、前記残存状態判定処理に対する前記外乱光の影響があると判定した場合には、印刷を続行し、所与の規定量の液体を消費する毎に前記残存状態判定処理に対する外乱光の影響の有無を判定する第2の外乱光判定処理を行うことを特徴とする液体消費装置。
A liquid remaining amount estimating unit for estimating the remaining amount of liquid in the liquid container;
A light sensor having a light emitting part and a light receiving part, and capable of facing a prism provided in the liquid container;
Based on a detection signal obtained from the optical sensor, a control unit that performs a liquid remaining state determination process in the liquid container and controls printing;
Including
The controller is
Based on the detection signal, it is determined that the liquid in the liquid container is in a non-remaining state, but the liquid remaining amount estimated by the liquid remaining amount estimating unit is greater than or equal to a given remaining amount. If so, continue printing ,
When it is determined that the liquid is in the non-remaining state based on the detection signal, and the liquid remaining amount estimated by the liquid remaining amount estimating unit is determined to be less than the given remaining amount, Perform disturbance light determination processing to determine the presence or absence of the influence of disturbance light on the remaining state determination processing,
In the disturbance light determination process, when it is determined that there is an influence of the disturbance light on the remaining state determination process, the printing is continued, and the remaining state determination process is performed every time a predetermined amount of liquid is consumed. A liquid consuming apparatus that performs second disturbance light determination processing for determining whether or not there is an influence of disturbance light .
請求項において、
前記制御部は、
前記光センサーを消灯して、前記外乱光判定処理を行うことを特徴とする液体消費装置。
In claim 1 ,
The controller is
A liquid consuming apparatus, wherein the light sensor is turned off and the disturbance light determination process is performed.
請求項1又は2において
前記制御部は、
前記光センサーと前記液体収容容器とが互いに対向する位置関係である場合に、前記外乱光判定処理を行うことを特徴とする液体消費装置。
In claim 1 or 2 ,
The controller is
The liquid consuming device, wherein the disturbance light determination process is performed when the optical sensor and the liquid container are in a positional relationship facing each other.
請求項1乃至3のいずれかにおいて、
前記制御部は、
前記外乱光判定処理において、前記残存状態判定処理に対する前記外乱光の影響が無いと判定した場合に、前記液体が前記非残存状態であることを確定することを特徴とする液体消費装置。
In any one of Claims 1 thru | or 3 ,
The controller is
In the disturbance light determination process, when it is determined that there is no influence of the disturbance light on the remaining state determination process, it is determined that the liquid is in the non-remaining state.
請求項1乃至のいずれかにおいて、
前記液体の前記非残存状態が検出された場合に、前記非残存状態の検出情報を記憶する記憶部を含み、
前記制御部は、
前記液体が前記非残存状態であると判定したが、前記液体残量が前記所与の残量以上である場合には、前記記憶部に記憶された前記検出情報の破棄処理を行うことを特徴とする液体消費装置。
In any one of Claims 1 thru | or 4 ,
A storage unit that stores detection information of the non-remaining state when the non-remaining state of the liquid is detected;
The controller is
When it is determined that the liquid is in the non-remaining state, but the remaining amount of the liquid is greater than or equal to the given remaining amount, the detection information stored in the storage unit is discarded. Liquid consumption device.
請求項1乃至のいずれかにおいて、
前記液体残量推定部は、
複数の液体収容容器のうちの各液体収容容器について、前記液体残量を推定し、
前記制御部は、
前記光センサーから得られる前記各液体収容容器についての前記検出信号に基づいて、前記残存状態判定処理を行い、
前記液体残量推定部により推定された前記液体残量と、前記残存状態判定処理の結果とに基づいて、前記液体収容容器毎に、印刷を続行するか否かを判定することを特徴とする液体消費装置。
In any one of Claims 1 thru | or 5 ,
The liquid remaining amount estimation unit includes:
For each liquid storage container among a plurality of liquid storage containers, estimate the remaining liquid amount,
The controller is
Based on the detection signal for each liquid container obtained from the optical sensor, the remaining state determination process is performed,
Whether to continue printing is determined for each liquid container based on the remaining liquid amount estimated by the remaining liquid amount estimation unit and the result of the remaining state determination process. Liquid consuming device.
請求項において、
前記制御部は、
前記複数の液体収容容器のうちの第1の液体収容容器内の液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記第1の液体収容容器の液体残量が所与の残量以上であると判定した場合に、前記第1の液体収容容器の前記液体が前記非残存状態であるという判定を取り消して、印刷を続行することを特徴とする液体消費装置。
In claim 6 ,
The controller is
It is determined that the liquid in the first liquid storage container among the plurality of liquid storage containers is in the non-remaining state, and the remaining liquid amount of the first liquid storage container estimated by the remaining liquid amount estimation unit Is determined to be equal to or more than a given remaining amount, the liquid consumption apparatus is characterized by canceling the determination that the liquid in the first liquid container is in the non-remaining state and continuing printing. .
請求項6又は7において、
前記制御部は、
前記複数の液体収容容器のうちの第2の液体収容容器内の液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記第2の液体収容容器の液体残量が所与の残量よりも小さいと判定した場合に、
前記残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行い、
前記外乱光判定処理において、前記残存状態判定処理に対して前記外乱光の影響が無いと判定した場合に、前記第2の液体収容容器の前記液体が前記非残存状態であることを確定し、
前記残存状態判定処理に対して前記外乱光の影響があると判定した場合に、前記第2の液体収容容器の前記液体が前記非残存状態であるという判定を取り消して、印刷を続行することを特徴とする液体消費装置。
In claim 6 or 7 ,
The controller is
It is determined that the liquid in the second liquid storage container among the plurality of liquid storage containers is in the non-remaining state, and the remaining liquid amount of the second liquid storage container estimated by the remaining liquid amount estimation unit Is determined to be less than a given remaining amount,
Perform disturbance light determination processing to determine the presence or absence of the influence of disturbance light on the remaining state determination processing,
In the disturbance light determination process, when it is determined that there is no influence of the disturbance light on the remaining state determination process, it is determined that the liquid in the second liquid container is in the non-remaining state,
Canceling the determination that the liquid in the second liquid container is in the non-remaining state when it is determined that the disturbance light has an influence on the remaining state determination process, and continuing printing. Liquid consumption device characterized.
印刷の制御を行うことと、
液体収容容器の液体残量を推定することと、
発光部と受光部とを有し、前記液体収容容器に設けられたプリズムと対向可能な光センサーから得られる検出信号に基づいて、前記液体収容容器内における液体の残存状態判定処理を行うことと、
前記検出信号に基づいて、前記液体収容容器内の前記液体が非残存状態であると判定したが、推定された前記液体残量が所与の残量以上であると判定した場合には、印刷を続行することと、
前記検出信号に基づいて前記液体が前記非残存状態であると判定し、前記液体残量推定部により推定された前記液体残量が前記所与の残量よりも少ないと判定した場合には、前記残存状態判定処理に対する外乱光の影響の有無を判定する外乱光判定処理を行うことと、
前記外乱光判定処理において、前記残存状態判定処理に対する前記外乱光の影響があると判定した場合には、印刷を続行し、所与の規定量の液体を消費する毎に前記残存状態判定処理に対する外乱光の影響の有無を判定する第2の外乱光判定処理を行うことと、
を含む液体消費装置の制御方法。
Controlling printing,
Estimating the amount of liquid remaining in the liquid container;
Performing a liquid remaining state determination process in the liquid container based on a detection signal obtained from an optical sensor having a light emitting part and a light receiving part and capable of facing a prism provided in the liquid container. ,
Based on the detection signal, it is determined that the liquid in the liquid container is in a non-remaining state, but if it is determined that the estimated remaining liquid amount is greater than or equal to a given remaining amount, printing is performed. To continue with
When it is determined that the liquid is in the non-remaining state based on the detection signal, and the liquid remaining amount estimated by the liquid remaining amount estimating unit is determined to be less than the given remaining amount, Performing disturbance light determination processing for determining the presence or absence of the influence of disturbance light on the remaining state determination processing;
In the disturbance light determination process, when it is determined that there is an influence of the disturbance light on the remaining state determination process, the printing is continued, and the remaining state determination process is performed every time a predetermined amount of liquid is consumed. Performing a second disturbance light determination process for determining the presence or absence of the influence of disturbance light;
A control method for a liquid consuming apparatus including
JP2014034098A 2014-02-25 2014-02-25 Liquid consuming apparatus and method for controlling liquid consuming apparatus Active JP6379514B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014034098A JP6379514B2 (en) 2014-02-25 2014-02-25 Liquid consuming apparatus and method for controlling liquid consuming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014034098A JP6379514B2 (en) 2014-02-25 2014-02-25 Liquid consuming apparatus and method for controlling liquid consuming apparatus

Publications (2)

Publication Number Publication Date
JP2015157442A JP2015157442A (en) 2015-09-03
JP6379514B2 true JP6379514B2 (en) 2018-08-29

Family

ID=54181872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014034098A Active JP6379514B2 (en) 2014-02-25 2014-02-25 Liquid consuming apparatus and method for controlling liquid consuming apparatus

Country Status (1)

Country Link
JP (1) JP6379514B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6961911B2 (en) * 2016-03-31 2021-11-05 ブラザー工業株式会社 Liquid consumer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3757303B2 (en) * 1997-07-14 2006-03-22 ブラザー工業株式会社 Communication apparatus and storage medium
JP4717223B2 (en) * 2001-01-18 2011-07-06 キヤノン株式会社 Inkjet printer device
JP2007015254A (en) * 2005-07-08 2007-01-25 Canon Inc Recorder and method therefor
EP2214910B1 (en) * 2007-12-06 2012-07-25 Hewlett-Packard Development Company, L.P. Ink cartridge having a prism

Also Published As

Publication number Publication date
JP2015157442A (en) 2015-09-03

Similar Documents

Publication Publication Date Title
JP6287322B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
US9550367B2 (en) Liquid consuming apparatus
US9200942B2 (en) Liquid consumption device and liquid residual determination method
US9308733B2 (en) Liquid cartridge
US8770688B2 (en) Ink remaining amount detecting device, method for detecting ink remaining amount, and ink jet printing apparatus
JP6056200B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
US9370933B2 (en) Liquid cartridge
JP6056199B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
JP6379514B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
JP5906798B2 (en) Liquid consuming apparatus and method
JP6003318B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
JP5906799B2 (en) Liquid consuming apparatus and method
CN109747272B (en) Liquid ejecting apparatus
JP6364896B2 (en) Liquid consumption device
US9347814B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
JP2008194872A (en) Printer, method for controlling printer and controlling program
JP4651081B2 (en) Recording apparatus and control method of recording apparatus
JP6398220B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
US9205660B2 (en) Liquid consuming apparatus with a movable holder having an inclined face
JP2014141017A (en) Liquid consumption device and method
JP2015189100A (en) Liquid consumption device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180716

R150 Certificate of patent or registration of utility model

Ref document number: 6379514

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150