[go: up one dir, main page]

JP2015189100A - Liquid consumption device - Google Patents

Liquid consumption device Download PDF

Info

Publication number
JP2015189100A
JP2015189100A JP2014068235A JP2014068235A JP2015189100A JP 2015189100 A JP2015189100 A JP 2015189100A JP 2014068235 A JP2014068235 A JP 2014068235A JP 2014068235 A JP2014068235 A JP 2014068235A JP 2015189100 A JP2015189100 A JP 2015189100A
Authority
JP
Japan
Prior art keywords
ink
light
unit
liquid
peak
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.)
Pending
Application number
JP2014068235A
Other languages
Japanese (ja)
Inventor
淳平 吉田
Junpei Yoshida
淳平 吉田
隆幸 矢澤
Takayuki Yazawa
隆幸 矢澤
西原 雄一
Yuichi Nishihara
雄一 西原
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 JP2014068235A priority Critical patent/JP2015189100A/en
Publication of JP2015189100A publication Critical patent/JP2015189100A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a liquid consumption device capable of improving accuracy of residual amount reduction detection and residual state determination of liquid.SOLUTION: A printer 10 comprises: detection sections 90 having light emission sections 92 and light reception sections 94; holders 20 detachably holding ink cartridges IC disposed with prisms 170; a carriage motor 33; and a control section 40. The control section 40 is configured so as to able to execute: first ink near-end determination determining a residual state of ink IK on the basis of detection voltage characteristics SEP in a detection range DPR'; first position correction processing determining an adjustment value on the basis of the detection voltage characteristics SIK; second ink near-end determination determining the residual state of the ink IK on the basis of detection voltage characteristics SBA in the detection range DPR when the adjustment value cannot be determined; and second position correction processing determining the adjustment value on the basis of the detection voltage characteristics SBA when the ink IK is determined not to remain by the second ink near-end determination.

Description

本発明は、液体消費装置に関する。   The present invention relates to a liquid consuming apparatus.

液体消費装置の一例であるインクジェット方式の印刷装置には、一般的に、着脱可能な液体収容容器であるインクカートリッジが装着される。インクカートリッジ内にプリズムを設け、発光部で照射された光がプリズムの斜面で反射する際に、斜面がインクと接しているか否かで反射状態が異なることを利用して、受光部で受光する反射光の強度のレベル等に基づいてインクの残存状態の判定(インクの残存量低下の検出)を行う印刷装置が開示されている(例えば、特許文献1参照)。   An ink jet printer, which is an example of a liquid consuming device, is generally equipped with an ink cartridge that is a detachable liquid container. A prism is provided in the ink cartridge, and when the light emitted from the light emitting part is reflected by the slope of the prism, the light receiving part receives light by utilizing the fact that the reflection state differs depending on whether the slope is in contact with ink. There has been disclosed a printing apparatus that determines the remaining state of ink (detects a decrease in the remaining amount of ink) based on the intensity level of reflected light or the like (see, for example, Patent Document 1).

インクの残存状態の判定は、プリズムと検出部とが対向する位置関係となる所定の範囲において行われるが、例えば各部品の寸法公差や部品相互の取り付け公差等があると、検出部の位置に対するプリズムの相対的な位置が想定している位置からずれてしまう場合がある。そのため、特許文献1に記載の印刷装置では、インク残存状態の判定を行う前に、プリズムの入射面で反射され受光部が受光した光の強度のレベル等に基づき、検出部の位置に対するプリズムの相対的な位置の調整が行われ、調整された位置を基準としてインクの残存状態を判定するための所定の範囲が設定される。   The determination of the remaining state of the ink is performed within a predetermined range where the prism and the detection unit are opposed to each other. For example, if there is a dimensional tolerance of each component or an attachment tolerance between components, the position of the detection unit is determined. The relative position of the prism may deviate from the assumed position. Therefore, in the printing apparatus described in Patent Document 1, before determining the ink remaining state, the prism of the prism with respect to the position of the detection unit is based on the intensity level of light reflected by the incident surface of the prism and received by the light reception unit. The relative position is adjusted, and a predetermined range for determining the ink remaining state is set with reference to the adjusted position.

特開2014−18992号公報JP 2014-18992 A

ところで、例えば、インクカートリッジ内の気泡、発光部の発光量の低下や受光部の感度低下、外乱光等により、プリズムで反射された光の強度のレベル等に基づいて、検出部の位置に対するプリズムの相対的な位置の調整が行えない場合がある。このような場合に、特許文献1に記載の印刷装置では、受光部で受光する反射光の強度のレベルに基づく判定ではなく、インクの消費量から推定されるインクの推定残存量に基づいて、インクの残存状態の判定が行われる。   By the way, the prism with respect to the position of the detection unit, for example, based on the level of light intensity reflected by the prism due to bubbles in the ink cartridge, a decrease in the light emission amount of the light emitting unit, a decrease in sensitivity of the light receiving unit, disturbance light, etc. In some cases, it is not possible to adjust the relative position of. In such a case, in the printing apparatus described in Patent Document 1, the determination is not based on the intensity level of the reflected light received by the light receiving unit, but based on the estimated residual amount of ink estimated from the ink consumption amount. Determination of the remaining state of the ink is performed.

しかしながら、このような判定方法では、インクの消費量から推定されるインクの推定残存量が実際のインクの残存量と異なる場合があり、インクの残存状態の判定精度が低下するおそれがある。例えば、インクの残存量低下が検出される前にインクカートリッジ内のインクが無くなってしまうと、インクを吐出しない空打ち状態となる。したがって、インクカートリッジ内の気泡、発光部の光量低下、受光部の感度低下、外乱光等がある場合でも、インクの残存量低下をより確実に検出でき、インクの残存状態の判定精度を向上できる液体消費装置が求められている。   However, in such a determination method, the estimated remaining ink amount estimated from the ink consumption amount may be different from the actual remaining ink amount, and the determination accuracy of the ink remaining state may be lowered. For example, if the ink in the ink cartridge runs out before the decrease in the remaining amount of ink is detected, the ink is ejected in a non-ejection state. Therefore, even when there are bubbles in the ink cartridge, a decrease in the light amount of the light emitting unit, a decrease in sensitivity of the light receiving unit, disturbance light, etc., a decrease in the remaining amount of ink can be detected more reliably, and the determination accuracy of the ink remaining state can be improved There is a need for a liquid consuming device.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]本適用例に係る液体消費装置は、光を照射する発光部と、前記発光部から照射された前記光の反射光の受光量に応じて検出信号を出力する受光部と、を有する検出部と、液体を収容し、前記発光部から照射された前記光が入射する入射面を有し前記光を前記液体の残存状態に応じて反射するプリズムが配置された液体収容部と、前記液体収容部を着脱可能に保持するホルダーと、前記ホルダーと前記検出部とを第1の方向に沿って相対的に移動させる移動部と、制御部と、を備え、前記制御部は、前記液体収容部が前記ホルダーに装着された状態で、前記検出部と前記プリズムとが対向する位置関係となる第1の範囲において、前記プリズムで反射された前記反射光の受光量に応じて前記受光部から出力された前記検出信号に基づいて、前記液体の残存状態を判定する第1の判定と、前記ホルダーと前記検出部とを前記移動部により相対的に移動させたときに、前記受光部から出力された前記検出信号に基づいて、前記第1の範囲を設定するための調整値を決定する第1の調整と、前記第1の調整において前記調整値を決定できなかった場合に、第2の範囲において、前記受光部から出力された前記検出信号に基づいて、前記液体の残存状態を判定する第2の判定と、前記第2の判定で前記液体が残存しないと判定された場合に、前記第2の判定を実行した際の前記検出信号に基づいて、前記調整値を決定する第2の調整と、を実行可能に構成されていることを特徴とする。   Application Example 1 A liquid consuming apparatus according to this application example includes a light emitting unit that emits light, a light receiving unit that outputs a detection signal according to the amount of reflected light of the light emitted from the light emitting unit, And a liquid storage section in which a prism is disposed that contains a liquid and has an incident surface on which the light emitted from the light emitting section is incident, and reflects the light according to the remaining state of the liquid. A holder that detachably holds the liquid storage unit, a moving unit that relatively moves the holder and the detection unit along a first direction, and a control unit, the control unit comprising: In a first range where the detection unit and the prism face each other in a state where the liquid storage unit is mounted on the holder, the liquid storage unit is in accordance with the amount of the reflected light reflected by the prism. Based on the detection signal output from the light receiving unit. And the first determination for determining the remaining state of the liquid, and the detection signal output from the light receiving unit when the holder and the detection unit are relatively moved by the moving unit. The first adjustment for determining the adjustment value for setting the first range, and the output from the light receiving unit in the second range when the adjustment value cannot be determined in the first adjustment. A second determination for determining the remaining state of the liquid based on the detected signal, and when the second determination is performed when it is determined by the second determination that the liquid does not remain The second adjustment for determining the adjustment value based on the detection signal is configured to be executable.

本適用例の構成によれば、検出部とプリズムとが対向する位置関係となる第1の範囲において、プリズムで反射された反射光の受光量に応じて受光部から出力された検出信号に基づいて制御部が実行する第1の判定により、液体収容部内の液体の残存状態が判定される。そして、ホルダーと検出部とを相対的に移動させたときに、プリズムで反射された反射光の受光量に応じて受光部から出力された検出信号に基づいて制御部が実行する第1の調整により、第1の判定を行う際の第1の範囲を設定するための調整値が決定される。これにより、検出部の位置に対するプリズムの相対的な位置が想定している位置からずれていた場合でも、その位置のずれを補正して設定される第1の範囲において第1の判定が行われるので、液体の残存状態の判定を精度良く行うことができる。   According to the configuration of this application example, in the first range in which the detection unit and the prism are opposed to each other, based on the detection signal output from the light receiving unit according to the received light amount of the reflected light reflected by the prism. The remaining state of the liquid in the liquid storage unit is determined by the first determination performed by the control unit. Then, when the holder and the detection unit are relatively moved, the first adjustment performed by the control unit based on the detection signal output from the light receiving unit in accordance with the amount of received light reflected by the prism Thus, an adjustment value for setting the first range when performing the first determination is determined. Thereby, even when the relative position of the prism with respect to the position of the detection unit is deviated from the assumed position, the first determination is performed in the first range set by correcting the deviation of the position. Therefore, it is possible to accurately determine the remaining state of the liquid.

ここで、第1の調整において調整値を決定できなかった場合には、第2の範囲において、受光部から出力された検出信号に基づいて制御部が実行する第2の判定により、液体収容部内の液体の残存状態が判定される。この第2の判定が実行されることにより、液体の消費量から推定される液体の推定残存量に基づいて判定を行う場合と比べて、液体の残存量低下をより確実に検出できる。また、第2の判定で液体が残存しないと判定された場合には、第2の判定を実行した際の検出信号に基づいて制御部が実行する第2の調整により、第1の範囲を設定するための調整値が決定される。これにより、第1の調整において調整値を決定できなかった場合でも、第2の調整により調整値を決定して第1の範囲の基準となるプリズムの相対的な位置ずれを補正できるので、液体の残存状態の判定精度を向上することができる。好ましくは、第2の範囲を第1の範囲よりも広く設定することで、第1の範囲の基準となるプリズムの相対的な位置が想定している位置からずれていた場合でも、液体収容部内の液体の残存状態を判定することが可能となる。   Here, if the adjustment value cannot be determined in the first adjustment, the second determination performed by the control unit based on the detection signal output from the light receiving unit in the second range results in the inside of the liquid storage unit. The remaining state of the liquid is determined. By executing the second determination, it is possible to detect the decrease in the remaining amount of the liquid more reliably than in the case where the determination is made based on the estimated remaining amount of the liquid estimated from the liquid consumption. When it is determined in the second determination that no liquid remains, the first range is set by the second adjustment performed by the control unit based on the detection signal when the second determination is performed. An adjustment value for determining the value is determined. Thus, even when the adjustment value cannot be determined in the first adjustment, the adjustment value can be determined by the second adjustment and the relative positional deviation of the prism serving as the reference of the first range can be corrected. It is possible to improve the determination accuracy of the remaining state. Preferably, by setting the second range wider than the first range, even if the relative position of the prism serving as the reference of the first range is deviated from the assumed position, It is possible to determine the remaining state of the liquid.

[適用例2]上記適用例に係る液体消費装置であって、前記制御部は、前記液体消費装置の電源が投入されたとき、または、前記液体収容部が交換されたときに、前記第1の調整を実行することが好ましい。   Application Example 2 In the liquid consuming device according to the application example, the control unit may be configured such that when the power of the liquid consuming device is turned on or the liquid storage unit is replaced, It is preferable to perform the adjustment.

本適用例の構成によれば、液体消費装置の電源投入や液体収容部交換の際に第1の調整が実行されるので、電源投入や液体収容部交換の都度、プリズムの相対的な位置ずれを補正して第1の範囲を設定することができる。   According to the configuration of this application example, since the first adjustment is performed when the liquid consuming device is turned on or the liquid container is replaced, the relative displacement of the prism is performed each time the power is turned on or the liquid container is replaced. Can be corrected to set the first range.

[適用例3]上記適用例に係る液体消費装置であって、不揮発的に、かつ、書き換え可能に情報を記憶するための記憶部を備え、前記制御部は、前記調整値を前記記憶部に書き込むことが好ましい。   Application Example 3 The liquid consuming apparatus according to the application example described above, including a storage unit for storing information in a nonvolatile and rewritable manner, and the control unit stores the adjustment value in the storage unit. It is preferable to write.

本適用例の構成によれば、第1の調整または第2の調整により決定された調整値を記憶部に書き込んで保存できる。これにより、例えば、液体収容部を交換した際に第1の調整を実行して調整値を決定できなかった場合でも、過去に設定された調整値を記憶部から読み出し、読み出した調整値を用いて第1の範囲を設定することが可能となる。   According to the configuration of this application example, the adjustment value determined by the first adjustment or the second adjustment can be written and stored in the storage unit. Thereby, for example, even when the adjustment value cannot be determined by executing the first adjustment when the liquid container is replaced, the adjustment value set in the past is read from the storage unit, and the read adjustment value is used. Thus, the first range can be set.

[適用例4]上記適用例に係る液体消費装置であって、前記ホルダーは、複数の前記液体収容部を着脱可能に保持し、前記検出部に対向する面における前記プリズムの各々の前記入射面と対向する位置に設けられた開口部と、前記開口部の一部を塞ぎ前記開口部を前記第1の方向に沿って並ぶ第1の部分と第2の部分とに分割するように設けられた遮光部と、を有し、前記制御部は、前記第1の調整において、前記検出信号における、前記第1の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第1のピークの位置と、前記第2の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第2のピークの位置と、の間隔に基づいて前記調整値を決定するとともに、前記第1の範囲を、前記第1のピークの位置と前記第2のピークの位置との間隔よりも狭い範囲に設定することが好ましい。   Application Example 4 In the liquid consuming device according to the application example, the holder holds a plurality of the liquid storage portions in a detachable manner, and the incident surface of each of the prisms on a surface facing the detection unit And an opening provided at a position opposite to the opening, and a part of the opening is closed, and the opening is divided into a first part and a second part arranged along the first direction. The control unit, based on the received light amount of the reflected light that is incident from the first portion and reflected by the incident surface in the detection signal in the first adjustment. The adjustment value is determined based on an interval between the position of the first peak and the position of the second peak based on the amount of the reflected light incident from the second portion and reflected by the incident surface. And the first range is changed to the position of the first peak. It is preferable to set the range narrower than the interval between the position of the second peak and.

本適用例の構成によれば、ホルダーと検出部とを第1の方向に沿って相対的に移動させたときに、プリズムの入射面で反射された反射光の受光量に応じて受光部から出力された検出信号に、第1のピークと第2のピークとが発生する。そして、第1のピークの位置と第2のピークの位置との間隔に基づいて調整値を決定するので、プリズムの相対的な位置ずれを精度良く補正して、第1の範囲を設定することができる。そして、第1の範囲を第1のピークの位置と第2のピークの位置との間隔よりも狭い範囲に設定することで、受光部から出力された検出信号に基づいて実行される第1の判定において、外乱光等に起因するノイズの影響が抑えられるので、液体の残存状態の判定精度をより向上することができる。   According to the configuration of this application example, when the holder and the detection unit are relatively moved along the first direction, the light reception unit determines whether the reflected light reflected by the incident surface of the prism is received. A first peak and a second peak are generated in the output detection signal. Since the adjustment value is determined based on the interval between the first peak position and the second peak position, the first range is set by accurately correcting the relative positional deviation of the prism. Can do. The first range is set based on the detection signal output from the light receiving unit by setting the first range to a range narrower than the interval between the first peak position and the second peak position. In the determination, the influence of noise caused by disturbance light or the like is suppressed, so that the determination accuracy of the remaining state of the liquid can be further improved.

[適用例5]上記適用例に係る液体消費装置であって、前記制御部は、前記第2の範囲を、前記第1のピークの位置と前記第2のピークの位置とを含み、前記第1のピークの位置と前記第2のピークの位置との間隔よりも広い範囲に設定するが好ましい。   Application Example 5 In the liquid consuming device according to the application example, the control unit includes the second range including the position of the first peak and the position of the second peak. It is preferable to set a range wider than the interval between the position of the first peak and the position of the second peak.

本適用例の構成によれば、第1の調整において調整値を決定できなかった場合に、液体の残存状態を判定する第2の判定を実行する際の第2の範囲を、第1のピークの位置と第2のピークの位置とを含み、第1のピークの位置と第2のピークの位置との間隔よりも広い範囲に設定する。これにより、プリズムの相対的な位置が想定している位置からずれていた場合でも、想定している位置を基準とする第1の範囲を含むように第2の範囲を設定して、液体の残存状態の判定を行うことが可能となる。   According to the configuration of this application example, when the adjustment value cannot be determined in the first adjustment, the second range for executing the second determination for determining the remaining state of the liquid is the first peak. And a position wider than the interval between the first peak position and the second peak position. Accordingly, even when the relative position of the prism is deviated from the assumed position, the second range is set so as to include the first range with the assumed position as a reference, and the liquid The remaining state can be determined.

[適用例6]上記適用例に係る液体消費装置であって、前記制御部は、前記ホルダーと前記検出部とを前記移動部により相対的に往復移動させて往路と復路とにおいて前記第1の調整を実行し、前記調整値を、前記往路と前記復路とにおいて個別に決定することが好ましい。   Application Example 6 In the liquid consuming device according to the application example described above, the control unit causes the holder and the detection unit to reciprocate relatively by the moving unit, so that the first and second passes in the forward path and the return path. It is preferable to perform adjustment and determine the adjustment value individually for the forward path and the return path.

本適用例の構成によれば、ホルダーと検出部とを相対的に往復移動させて、往路と復路とにおいて個別に第1の調整を実行し調整値を決定する。そのため、例えば、往路方向と復路方向とで受光部の応答速度が異なる場合等に、それぞれの方向における調整値を決定することで、往路と復路とのそれぞれでプリズムの相対的な位置ずれを補正して第1の範囲を設定できるので、液体の残存状態の判定精度をより向上することができる。   According to the configuration of this application example, the holder and the detection unit are relatively reciprocated, and the first adjustment is performed individually on the forward path and the backward path to determine the adjustment value. Therefore, for example, when the response speed of the light receiving unit is different between the forward direction and the backward direction, the relative position shift of the prism is corrected in each of the forward and backward directions by determining an adjustment value in each direction. Since the first range can be set, the determination accuracy of the remaining state of the liquid can be further improved.

[適用例7]上記適用例に係る液体消費装置であって、前記制御部は、前記第2の調整において、前記第2の判定で前記液体が残存しないと判定された際の、前記検出信号が所定の閾値を横切る第1のポイントの位置と第2のポイントの位置との間隔に基づいて前記調整値を決定することが好ましい。   Application Example 7 In the liquid consuming apparatus according to the application example, the control unit detects the detection signal when it is determined in the second adjustment that the liquid does not remain in the second determination. Preferably, the adjustment value is determined based on an interval between the position of the first point and the position of the second point that crosses a predetermined threshold.

本適用例の構成によれば、第2の判定で液体が残存しないと判定された際の検出信号が所定の閾値を横切る第1のポイントの位置と第2のポイントの位置との間隔に基づいて、プリズムの相対的な位置ずれを補正するための調整値が決定される。これにより、第1の調整において調整値を決定できなかった場合でも、第2の調整において調整値を決定することができる。   According to the configuration of this application example, based on the interval between the position of the first point and the position of the second point when the detection signal when it is determined in the second determination that the liquid does not remain crosses a predetermined threshold. Thus, an adjustment value for correcting the relative displacement of the prism is determined. Thereby, even when the adjustment value cannot be determined in the first adjustment, the adjustment value can be determined in the second adjustment.

[適用例8]上記適用例に係る液体消費装置であって、前記ホルダーは、複数の前記液体収容部を着脱可能に保持し、前記検出部に対向する面における前記プリズムの各々の前記入射面と対向する位置に設けられた開口部と、前記開口部の一部を塞ぎ前記開口部を前記第1の方向に沿って並ぶ第1の部分と第2の部分とに分割するように設けられた遮光部と、を有し、前記制御部は、前記第1の調整において、前記検出信号における、前記第1の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第1のピークの位置と、前記第2の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第2のピークの位置と、の間隔に基づいて前記調整値を決定するとともに、前記第1の範囲および前記第2の範囲を、前記第1のピークの位置と前記第2のピークの位置とを含む範囲に設定することが好ましい。   Application Example 8 In the liquid consuming device according to the application example described above, the holder holds the plurality of liquid storage units in a detachable manner, and the incident surface of each of the prisms on a surface facing the detection unit And an opening provided at a position opposite to the opening, and a part of the opening is closed, and the opening is divided into a first part and a second part arranged along the first direction. The control unit, based on the received light amount of the reflected light that is incident from the first portion and reflected by the incident surface in the detection signal in the first adjustment. The adjustment value is determined based on an interval between the position of the first peak and the position of the second peak based on the amount of the reflected light incident from the second portion and reflected by the incident surface. And the first range and the second range are: It is preferably set in a range of serial and location of the first peak and a position of the second peak.

本適用例の構成によれば、検出部の位置に対するプリズムの相対的な位置が想定している位置からずれていた場合でも、液体の残存状態を確実に判定することができる。   According to the configuration of the application example, it is possible to reliably determine the remaining state of the liquid even when the relative position of the prism with respect to the position of the detection unit is deviated from the assumed position.

本実施形態に係る印刷装置の要部を示す斜視図。FIG. 3 is a perspective view illustrating a main part of the printing apparatus according to the embodiment. 本実施形態に係る印刷装置の概略構成図。1 is a schematic configuration diagram of a printing apparatus according to an embodiment. 検出部の電気的構成を示す説明図。Explanatory drawing which shows the electrical structure of a detection part. インクカートリッジの斜視図。The perspective view of an ink cartridge. 本実施形態に係るホルダーの構成及びプリズムとの位置関係を説明する図。The figure explaining the positional relationship with the structure of the holder which concerns on this embodiment, and a prism. インクニアエンド判定の手法を説明する図。The figure explaining the technique of an ink near end determination. インクニアエンド判定の手法を説明する図。The figure explaining the technique of an ink near end determination. 位置補正処理の手法を説明する図。The figure explaining the technique of a position correction process. 位置補正処理の手法を説明する図。The figure explaining the technique of a position correction process. 第1の位置補正処理において調整値が設定できなかった場合の第2のインクニアエンド判定の手法を説明する図。FIG. 6 is a diagram for explaining a second ink near-end determination method when an adjustment value cannot be set in the first position correction process.

以下、本発明を具体化した実施形態について図面を参照して説明する。使用する図面は、説明する部分が認識可能な状態となるように、適宜拡大、縮小、あるいは誇張して表示している。また、説明に必要な構成要素以外は図示を省略する場合がある。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Embodiments of the invention are described below with reference to the drawings. The drawings to be used are appropriately enlarged, reduced or exaggerated so that the part to be described can be recognized. In addition, illustrations of components other than those necessary for the description may be omitted.

<印刷装置の基本構成>
本実施形態に係る液体消費装置としての印刷装置の基本構成について、図1及び図2を参照して説明する。図1は、本実施形態に係る印刷装置の要部を示す斜視図である。図2は、本実施形態に係る印刷装置の概略構成図である。
<Basic configuration of printing device>
A basic configuration of a printing apparatus as a liquid consuming apparatus according to the present embodiment will be described with reference to FIGS. 1 and 2. FIG. 1 is a perspective view illustrating a main part of the printing apparatus according to the present embodiment. FIG. 2 is a schematic configuration diagram of the printing apparatus according to the present embodiment.

図1には、第1の方向としてのY軸方向と、Y軸方向と直交するX軸方向と、X軸方向およびY軸方向と直交するZ軸方向と、を示している。本実施形態において、印刷装置10の使用姿勢では、Z軸方向(+Z方向及び−Z方向)が鉛直方向であり、+X方向が印刷装置10の正面である。また、Y軸方向(+Y方向及び−Y方向)が印刷装置10の主走査方向HDであり、X軸方向(+X方向及び−X方向)が印刷装置10の副走査方向VDである。   FIG. 1 shows a Y-axis direction as a first direction, an X-axis direction orthogonal to the Y-axis direction, and a Z-axis direction orthogonal to the X-axis direction and the Y-axis direction. In the present embodiment, in the usage posture of the printing apparatus 10, the Z-axis direction (+ Z direction and −Z direction) is the vertical direction, and the + X direction is the front of the printing apparatus 10. Further, the Y-axis direction (+ Y direction and −Y direction) is the main scanning direction HD of the printing apparatus 10, and the X-axis direction (+ X direction and −X direction) is the sub-scanning direction VD of the printing apparatus 10.

図1に示すように、印刷装置10は、液体収容部としての複数のインクカートリッジICと、ホルダー20を備えるキャリッジCRと、紙送りモーター30と、移動部としてのキャリッジモーター33と、ケーブルFFC1と、検出部90と、制御部40と、A/D変換部36(図2参照)と、記憶部50(図2参照)とを備えている。   As shown in FIG. 1, the printing apparatus 10 includes a plurality of ink cartridge ICs serving as liquid storage units, a carriage CR including a holder 20, a paper feed motor 30, a carriage motor 33 serving as a moving unit, and a cable FFC1. , A detection unit 90, a control unit 40, an A / D conversion unit 36 (see FIG. 2), and a storage unit 50 (see FIG. 2).

各インクカートリッジICには、例えば、シアン、マゼンタ、イエロー、ブラック等の液体としてのインクが一色ずつ収容されている。ホルダー20には、各インクカートリッジICが着脱可能に装着され保持される。なお、ホルダー20はキャリッジCRと一体の部材として形成されてもよいし、別体の部材として形成されてキャリッジCRに組み付けられてもよい。   Each ink cartridge IC contains, for example, ink as a liquid such as cyan, magenta, yellow, and black one by one. Each ink cartridge IC is detachably mounted and held in the holder 20. The holder 20 may be formed as a member integrated with the carriage CR, or may be formed as a separate member and assembled to the carriage CR.

図2に示すように、キャリッジCRは、ホルダー20と印刷ヘッド35とを備えている。キャリッジCRは、ケーブルFFC1(図1参照)により、制御部40に接続されている。キャリッジCRは、キャリッジモーター33に駆動されることにより、印刷媒体PA上を主走査方向HDに沿って往復移動する。印刷媒体PAは、例えば印刷紙である。なお、図1及び図2では、キャリッジCRは、ホームポジションに位置している。   As shown in FIG. 2, the carriage CR includes a holder 20 and a print head 35. The carriage CR is connected to the control unit 40 by a cable FFC1 (see FIG. 1). The carriage CR is reciprocated along the main scanning direction HD on the print medium PA by being driven by the carriage motor 33. The print medium PA is, for example, printing paper. In FIGS. 1 and 2, the carriage CR is located at the home position.

紙送りモーター30は、紙送りローラー34を回転駆動し、印刷媒体PAを副走査方向VDに搬送する。印刷ヘッド35は、キャリッジCRに搭載されて、各インクカートリッジICから供給されたインクを吐出する。印刷ヘッド35の吐出制御は、ケーブルFFC1を介して制御部40により行われる。すなわち、制御部40は、紙送りモーター30、キャリッジモーター33、印刷ヘッド35を制御することにより、印刷媒体PAに対しての印刷を制御する。   The paper feed motor 30 rotates the paper feed roller 34 and transports the print medium PA in the sub-scanning direction VD. The print head 35 is mounted on the carriage CR and ejects ink supplied from each ink cartridge IC. The discharge control of the print head 35 is performed by the control unit 40 via the cable FFC1. That is, the control unit 40 controls printing on the print medium PA by controlling the paper feed motor 30, the carriage motor 33, and the print head 35.

検出部90は、インクカートリッジICのインク残存状態を検出するための信号を制御部40に出力する。検出部90は、インクカートリッジIC内のプリズム170(図4参照)へ光を照射する発光部92(発光素子)と、プリズム170からの反射光を受光しその受光量に応じて電気信号に変換する受光部94(受光素子)と、を備えている。   The detection unit 90 outputs a signal for detecting the ink remaining state of the ink cartridge IC to the control unit 40. The detection unit 90 receives light reflected from the light emitting unit 92 (light emitting element) that irradiates light to the prism 170 (see FIG. 4) in the ink cartridge IC, and converts it into an electrical signal according to the amount of light received. A light receiving portion 94 (light receiving element).

図3は、検出部90の電気的構成を示す説明図である。検出部90は、例えば、発光部92(発光素子)としてLED(Light Emitting Diode)を備え、受光部94(受光素子)としてフォトトランジスターを備えている。受光部94のエミッター端子は接地電位VSSに接続され、コレクター端子は抵抗素子R1を介して電源電位Vccに接続されている。   FIG. 3 is an explanatory diagram showing an electrical configuration of the detection unit 90. The detection unit 90 includes, for example, an LED (Light Emitting Diode) as the light emitting unit 92 (light emitting element), and a phototransistor as the light receiving unit 94 (light receiving element). The emitter terminal of the light receiving unit 94 is connected to the ground potential VSS, and the collector terminal is connected to the power supply potential Vcc via the resistance element R1.

発光部92が照射する光の発光量は、トランジスターTR1と抵抗素子R2,R3とキャパシターC1とを介して発光部92に印加されるPWM(Pulse Width Modulation)信号のデューティー比(オン時間とオフ時間の割合)が制御部40(図2参照)によって調整されることにより設定される。   The amount of light emitted from the light emitting unit 92 is the duty ratio (on time and off time) of a PWM (Pulse Width Modulation) signal applied to the light emitting unit 92 via the transistor TR1, the resistance elements R2 and R3, and the capacitor C1. Is adjusted by the control unit 40 (see FIG. 2).

A/D変換部36には、抵抗素子R1とコレクター端子の間の電位が、検出部90の出力電圧Vcとして入力される。A/D変換された検出部90の出力電圧Vcは、残存判定部43に入力される。すなわち、発光部92から照射された光が、インクカートリッジIC内のプリズム170で反射して反射光が受光部94に受光されると、その受光量に応じた出力電圧Vcが、検出信号として残存判定部43に入力される。本実施形態では、受光部94が受光する反射光の光量が多いほど、検出部90から出力される出力電圧Vcは低くなる。以下では、受光部94の受光量に応じて検出部90から出力される出力電圧Vc(検出信号)を検出電圧ともいう。   The potential between the resistance element R1 and the collector terminal is input to the A / D converter 36 as the output voltage Vc of the detector 90. The A / D converted output voltage Vc of the detection unit 90 is input to the remaining determination unit 43. That is, when the light emitted from the light emitting unit 92 is reflected by the prism 170 in the ink cartridge IC and the reflected light is received by the light receiving unit 94, the output voltage Vc corresponding to the amount of received light remains as a detection signal. Input to the determination unit 43. In the present embodiment, the output voltage Vc output from the detection unit 90 decreases as the amount of reflected light received by the light receiving unit 94 increases. Hereinafter, the output voltage Vc (detection signal) output from the detection unit 90 according to the amount of light received by the light receiving unit 94 is also referred to as a detection voltage.

図2に示すように、検出部90が備える発光部92及び受光部94は、ホルダー20が移動する主走査方向HD(Y軸方向)に沿って並ぶように配置されている。ホルダー20は、キャリッジモーター33によって、検出部90に対して主走査方向HDに沿って相対的に移動する。発光部92及び受光部94は、ホルダー20が、キャリッジモーター33によって移動させられて検出部90上に位置したときに、ホルダー20の開口部22(図5(b)参照)を介してインクカートリッジIC内のプリズム170(図5(b)参照)と対向するように配置されている。   As shown in FIG. 2, the light emitting unit 92 and the light receiving unit 94 included in the detection unit 90 are arranged so as to be aligned along the main scanning direction HD (Y-axis direction) in which the holder 20 moves. The holder 20 is moved relative to the detection unit 90 along the main scanning direction HD by the carriage motor 33. When the holder 20 is moved by the carriage motor 33 and positioned on the detection unit 90, the light emitting unit 92 and the light receiving unit 94 are connected to the ink cartridge through the opening 22 of the holder 20 (see FIG. 5B). It arrange | positions so that the prism 170 (refer FIG.5 (b)) in IC may be opposed.

A/D変換部36は、検出部90からの検出電圧をA/D変換し、そのA/D変換後のデジタル信号を制御部40へ出力する。具体的には、A/D変換部36は、例えばロータリーエンコーダーのカウント値や制御部40を構成するCPUの割り込み周期等に応じた所定の位置間隔で、検出電圧をサンプリングし、複数個のサンプリング電圧を取得する。例えば、1個のインクカートリッジICが検出部90の上を通過するときに、数10個のサンプリング電圧を取得する。   The A / D converter 36 A / D converts the detection voltage from the detector 90 and outputs the digital signal after the A / D conversion to the controller 40. Specifically, the A / D conversion unit 36 samples the detection voltage 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 40, and the like. Get the voltage. For example, several tens of sampling voltages are acquired when one ink cartridge IC passes over the detection unit 90.

制御部40には、印刷装置10の動作状態等が表示される表示部47が接続されている。制御部40には、インターフェイス(I/F)48を介してコンピューター49が接続されている。制御部40は、インターフェイス48を介してコンピューター49から画像データを受信し、その画像を印刷媒体PAに印刷する制御を行う。また、制御部40には、ケーブルFFC1(図1参照)を介してキャリッジCRが接続され、ケーブルFFC2(図3参照)を介して検出部90が接続されている。   Connected to the control unit 40 is a display unit 47 for displaying the operation state of the printing apparatus 10 and the like. A computer 49 is connected to the control unit 40 via an interface (I / F) 48. The control unit 40 receives image data from the computer 49 via the interface 48 and performs control to print the image on the print medium PA. Further, the carriage CR is connected to the control unit 40 via a cable FFC1 (see FIG. 1), and the detection unit 90 is connected via a cable FFC2 (see FIG. 3).

制御部40は、駆動制御部41と、位置補正部42と、残存判定部43と、発光量決定部44と、閾値決定部45と、残存量推定部46とを有している。制御部40は、CPU、ROM、RAM等(図示省略)を備えている。制御部40は、例えば、ROMに記憶された制御プログラムをRAMに展開し、そのRAMに展開された制御プログラムをCPUが実行することで制御部40の各部として動作する。   The control unit 40 includes a drive control unit 41, a position correction unit 42, a remaining determination unit 43, a light emission amount determination unit 44, a threshold determination unit 45, and a remaining amount estimation unit 46. The control unit 40 includes a CPU, a ROM, a RAM, and the like (not shown). For example, the control unit 40 operates as each unit of the control unit 40 when the control program stored in the ROM is expanded in the RAM and the CPU executes the control program expanded in the RAM.

駆動制御部41は、キャリッジモーター33を制御して、キャリッジCRを移動させる制御を行う。これにより、キャリッジCRが備えるホルダー20と印刷ヘッド35とを移動させる駆動が、キャリッジモーター33により行われる。   The drive control unit 41 controls the carriage motor 33 to move the carriage CR. Accordingly, the carriage motor 33 performs driving for moving the holder 20 and the print head 35 included in the carriage CR.

位置補正部42は、サンプリングされた検出電圧に基づいて、主走査方向HDにおけるプリズム170(キャリッジCR)の位置を補正する。位置を補正する必要があるのは、例えばキャリッジCRの取り付け公差等の公差があるからである。具体的には、位置補正部42は、各インクカートリッジICの検出電圧に対してピーク検出を行い、その検出したピークの位置に基づいて、インク残存状態の判定を行う際の主走査方向HDにおける検出部90に対するプリズム170の中心位置を補正する。検出電圧のピークについては、図7を用いて後に説明する。   The position correction unit 42 corrects the position of the prism 170 (carriage CR) in the main scanning direction HD based on the sampled detection voltage. The position needs to be corrected because there is a tolerance such as a mounting tolerance of the carriage CR, for example. Specifically, the position correction unit 42 performs peak detection on the detection voltage of each ink cartridge IC, and in the main scanning direction HD when determining the remaining ink state based on the detected peak position. The center position of the prism 170 with respect to the detection unit 90 is corrected. The peak of the detection voltage will be described later with reference to FIG.

検出部90に対するプリズム170の実際の相対位置と、その設計上の相対位置(想定している位置)とにずれが生じていると、インクカートリッジICのインク残存状態の判定における精度が低下してしまう。そこで、詳細は後述するが、各インクカートリッジICについて検出電圧に対してピーク検出を行い、その検出したピークの位置に基づいて、インク残存状態の判定を行う際の、検出部90に対するプリズム170(キャリッジCR)の相対位置を補正する。   If there is a deviation between the actual relative position of the prism 170 with respect to the detection unit 90 and the design relative position (assumed position), the accuracy in determining the ink remaining state of the ink cartridge IC decreases. End up. Therefore, although details will be described later, a peak 170 is detected with respect to the detection voltage for each ink cartridge IC, and the prism 170 (with respect to the detection unit 90) when determining the remaining ink state based on the detected peak position. The relative position of the carriage CR) is corrected.

プリズム170(キャリッジCR)の位置は、キャリッジモーター33に搭載されたロータリーエンコーダーの出力に基づいて把握される。すなわち、ロータリーエンコーダーは、例えばキャリッジCRのホームポジションPHを基準位置として、その基準位置からの移動量に応じたカウント値を出力する。各インクカートリッジICのプリズム170の中心の位置には、それぞれロータリーエンコーダーの所定のカウント値が対応している。   The position of the prism 170 (carriage CR) is grasped based on the output of the rotary encoder mounted on the carriage motor 33. That is, the rotary encoder outputs a count value corresponding to the amount of movement from the reference position, for example, with the home position PH of the carriage CR as the reference position. A predetermined count value of the rotary encoder corresponds to the center position of the prism 170 of each ink cartridge IC.

位置補正前においては、その各位置に対応するカウント値は、設計値に基づいてメカ的に設定されており、記憶部50に記憶されている。位置補正部42は、この設計値に基づいて設定された各位置に対応するカウント値を、プリズム170の実際の相対位置に対応するカウント値に補正するための調整値を決定し、その調整値を記憶部50に書き込む。記憶部50は、不揮発的に、かつ、書き換え可能に情報を記憶する。記憶部50は、例えば、EEPROM等の不揮発性メモリーで構成される。   Before the position correction, the count value corresponding to each position is mechanically set based on the design value and stored in the storage unit 50. The position correction unit 42 determines an adjustment value for correcting the count value corresponding to each position set based on the design value to the count value corresponding to the actual relative position of the prism 170, and the adjustment value Is stored in the storage unit 50. The storage unit 50 stores information in a nonvolatile manner and rewritable. The storage unit 50 is configured by a nonvolatile memory such as an EEPROM, for example.

残存判定部43は、インクカートリッジIC内のインクの残存状態を、プリズム170を用いて判定する。残存判定部43は、プリズム170が検出部90に対して所定の位置(検出位置)にあるときにサンプリングされた検出電圧を、A/D変換部36から取得する。そして、残存判定部43は、取得した検出電圧と所定の閾値とに基づき、インクカートリッジIC内のインクが所定量以下となったか否かを判定する。   The remaining determination unit 43 determines the remaining state of the ink in the ink cartridge IC using the prism 170. The remaining determination unit 43 acquires the detection voltage sampled when the prism 170 is at a predetermined position (detection position) with respect to the detection unit 90 from the A / D conversion unit 36. Then, the remaining determination unit 43 determines whether or not the amount of ink in the ink cartridge IC has become a predetermined amount or less based on the acquired detection voltage and a predetermined threshold value.

インクカートリッジIC内に収容されたインクの残存量や液面レベルが所定値以下となり、インクカートリッジICのインク量が残り少ない状態のことを、以降では「インクニアエンド」ともいう。そして、インクニアエンドを検出するためのインクの残存状態の判定を「インクニアエンド判定」ともいう。   The state in which the remaining amount and the liquid level of the ink stored in the ink cartridge IC are below a predetermined value and the ink amount in the ink cartridge IC is small is hereinafter referred to as “ink near end”. The determination of the ink remaining state for detecting the ink near end is also referred to as “ink near end determination”.

例えば、インクニアエンドが検出された後に印刷を継続し、残存判定部43が推定するインク消費量が所定の量を超えた場合には、印刷ヘッド35がインクを吐出しない空打ち状態となる可能性がある。そこで、制御部40は、インクニアエンドが検出されたインクカートリッジICについて、印刷装置10の表示部47やコンピューター49の表示部にインク交換を知らせるアラームを表示させる指示を出力する。これにより、ユーザーにインクカートリッジICの交換を促し、空打ち状態とならないようにしている。   For example, if printing is continued after the ink near end is detected and the ink consumption estimated by the remaining determination unit 43 exceeds a predetermined amount, there is a possibility that the print head 35 is in an idle state where ink is not discharged. There is. Therefore, the control unit 40 outputs an instruction to display an alarm notifying ink replacement on the display unit 47 of the printing apparatus 10 or the display unit of the computer 49 for the ink cartridge IC in which the ink near end is detected. As a result, the user is prompted to replace the ink cartridge IC so that the user is not in an idle state.

制御部40は、例えば、インクニアエンドが検出された後に、残存量推定部46により所定量のインクが消費されたと推定される場合に、インクカートリッジICが空(インクが残存しない状態)であると判定する。制御部40は、インクカートリッジICが空であると判定した場合、インクカートリッジICが交換されるまで印刷を実行しない。   For example, when the remaining amount estimating unit 46 estimates that a predetermined amount of ink has been consumed after the ink near end is detected, the control unit 40 determines that the ink cartridge IC is empty (no ink remains). judge. When determining that the ink cartridge IC is empty, the control unit 40 does not execute printing until the ink cartridge IC is replaced.

なお、インクカートリッジIC内の構成や、液面レベルを判定する所定値の設定により、残存判定部43が、液面レベルが所定値以下となったと判定したときを、インクカートリッジIC内にインクが残存しない状態(以降では「インクエンド」ともいう)と判定することとしてもよい。インクエンド判定を行う場合には、制御部40は、インクエンドが検出された時点でインクカートリッジICが空(インクが残存しない状態)であると判定し、インクカートリッジICが交換されるまで印刷を実行しない。   In addition, when the remaining determination unit 43 determines that the liquid level is equal to or lower than the predetermined value based on the configuration in the ink cartridge IC and the setting of the predetermined value for determining the liquid level, the ink is stored in the ink cartridge IC. It may be determined that the state does not remain (hereinafter also referred to as “ink end”). When performing the ink end determination, the control unit 40 determines that the ink cartridge IC is empty (no ink remains) when the ink end is detected, and performs printing until the ink cartridge IC is replaced. Do not execute.

発光量決定部44は、サンプリングされた検出電圧及び気泡有無の判断結果に基づいて、発光部92の発光量を決定する処理を行う。制御部40は、決定された発光量に基づいて図3に示すPWM信号を制御し、発光部92の発光量を制御する。この発光量決定処理は、気泡判断処理や閾値決定処理と共にインクニアエンド判定よりも前に行われ、インクニアエンド判定は、調整された発光量により行われる。   The light emission amount determination unit 44 performs processing for determining the light emission amount of the light emission unit 92 based on the sampled detection voltage and the determination result of the presence or absence of bubbles. The control unit 40 controls the PWM signal shown in FIG. 3 based on the determined light emission amount, and controls the light emission amount of the light emitting unit 92. The light emission amount determination process is performed before the ink near-end determination together with the bubble determination process and the threshold value determination process, and the ink near-end determination is performed based on the adjusted light emission amount.

残存量推定部46は、ドットカウント(ソフトカウントとも呼ぶ)により各インクカートリッジIC内のインク残存量を推定する。具体的には、残存量推定部46は、印刷ヘッド35から噴射されるインク滴の数を計数し、計数されたインク滴の数とインク滴当たりの質量とを積算することでインクの使用量を算出する。そして、各インクカートリッジIC内のインクの初期充填量から、算出されたインクの使用量を差し引くことでインク残存量を推定する。   The remaining amount estimation unit 46 estimates the remaining amount of ink in each ink cartridge IC by dot count (also referred to as soft count). Specifically, the remaining amount estimation unit 46 counts the number of ink droplets ejected from the print head 35, and integrates the counted number of ink droplets and the mass per ink droplet to use the amount of ink used. Is calculated. Then, the ink remaining amount is estimated by subtracting the calculated ink use amount from the initial ink filling amount in each ink cartridge IC.

残存量推定部46は、こうして推定されたインクの残存量を、各インクカートリッジICに備えられた記憶装置151(図4参照)に適宜記録する。例えば、残存量推定部46は、印刷装置10の起動時に、各インクカートリッジICの記憶装置151からインクの残存量を取得して制御部40のRAMに記憶させ、電源が投入されている間には、印刷の実行や印刷ヘッド35のクリーニングに伴って、このRAM内の値を更新していく。   The remaining amount estimation unit 46 appropriately records the estimated remaining amount of ink in the storage device 151 (see FIG. 4) provided in each ink cartridge IC. For example, the remaining amount estimation unit 46 acquires the remaining amount of ink from the storage device 151 of each ink cartridge IC and stores it in the RAM of the control unit 40 when the printing apparatus 10 is started up. The values in the RAM are updated as printing is performed and the print head 35 is cleaned.

そして、例えば、印刷装置10の電源がオフされたときや、各インクカートリッジICが交換されたとき、あるいは、所定のインク量が消費される毎に、更新された推定残存量を各インクカートリッジICの記憶装置151に書き戻す。なお、以下ではインク残存量を推定する場合を例に説明するが、本実施形態はこれに限定されず、例えば、インク消費量などの種々のインク量を推定することとしてもよい。   For example, when the power of the printing apparatus 10 is turned off, each ink cartridge IC is replaced, or each time a predetermined amount of ink is consumed, the updated estimated remaining amount is used for each ink cartridge IC. Is written back to the storage device 151. In the following, a case where the remaining ink amount is estimated will be described as an example. However, the present embodiment is not limited to this, and for example, various ink amounts such as an ink consumption amount may be estimated.

閾値決定部45は、サンプリングされた検出電圧に基づいて、インクが有る場合の検出電圧とインクニアエンドの場合の検出電圧とを区別するための閾値を設定する。位置補正部42により、インクニアエンドを検出するときのプリズム170の中心位置が高精度に補正されるため、より適切な閾値を設定することが可能となり、インクニアエンドの検出精度を向上できる。この点については、詳細に後述する。   Based on the sampled detection voltage, the threshold value determination unit 45 sets a threshold value for distinguishing between a detection voltage when ink is present and a detection voltage when ink is near-end. Since the center position of the prism 170 when the ink near end is detected is corrected with high accuracy by the position correction unit 42, it is possible to set a more appropriate threshold value and improve the detection accuracy of the ink near end. This point will be described later in detail.

<インクカートリッジの構成>
図4は、インクカートリッジの斜視図である。インクカートリッジICは、インクを内部に収容する略直方体形状のインク収容室130と、回路基板150と、ホルダー20にインクカートリッジICを着脱するためのレバー120とを備えている。回路基板150は、インク収容室130の−X方向側の面の−Z方向側に設けられており、レバー120は、インク収容室130の−X方向側の面の+Z方向側に設けられている。
<Configuration of ink cartridge>
FIG. 4 is a perspective view of the ink cartridge. The ink cartridge IC includes a substantially rectangular ink storage chamber 130 that stores ink therein, a circuit board 150, and a lever 120 for attaching and detaching the ink cartridge IC to the holder 20. The circuit board 150 is provided on the −Z direction side of the surface on the −X direction side of the ink storage chamber 130, and the lever 120 is provided on the + Z direction side of the surface on the −X direction side of the ink storage chamber 130. Yes.

インク収容室130の底部には、直角二等辺三角柱状のプリズム170が配置されている。プリズム170の検出部90に対向する面である底面170cは、発光部92(図2参照)からの照射光が入射する入射面であり、インクカートリッジICの−Z方向側の面をなす底面101から露出している。プリズム170は、発光部92からの照射光を透過する、例えばポリプロピレン等の部材によって形成されている。   A prism 170 having a right isosceles triangular prism shape is disposed at the bottom of the ink storage chamber 130. A bottom surface 170c that is a surface facing the detection unit 90 of the prism 170 is an incident surface on which irradiation light from the light emitting unit 92 (see FIG. 2) is incident, and is a bottom surface 101 that forms a surface on the −Z direction side of the ink cartridge IC. Is exposed from. The prism 170 is formed of a member such as polypropylene that transmits the irradiation light from the light emitting unit 92.

インクカートリッジICの底面101には、インクカートリッジICがホルダー20に装着されたときに、ホルダー20に設けられたインク受給針(図示省略)が挿入されるインク供給口110が形成されている。インクカートリッジICの使用前の状態では、インク供給口110はフィルムによって封止されている。ホルダー20(図1参照)にインクカートリッジICを上方から装着すると、インク受給針によってフィルムが破れ、インク供給口110を通じてインク収容室130から印刷ヘッド35にインクが供給される。   On the bottom surface 101 of the ink cartridge IC, an ink supply port 110 into which an ink receiving needle (not shown) provided on the holder 20 is inserted when the ink cartridge IC is mounted on the holder 20 is formed. In the state before using the ink cartridge IC, the ink supply port 110 is sealed with a film. When the ink cartridge IC is mounted on the holder 20 (see FIG. 1) from above, the film is broken by the ink receiving needle, and ink is supplied from the ink storage chamber 130 to the print head 35 through the ink supply port 110.

回路基板150の裏面には、インクカートリッジICに関する情報を記録するための記憶装置151が実装されている。回路基板150の表面には、記憶装置151に電気的に接続された複数の端子152が配置されている。複数の端子152は、インクカートリッジICがホルダー20に装着されたときに、ホルダー20に設けられた複数の本体側端子(図示省略)と電気的に接触する。   A storage device 151 for recording information related to the ink cartridge IC is mounted on the back surface of the circuit board 150. A plurality of terminals 152 electrically connected to the storage device 151 are arranged on the surface of the circuit board 150. The plurality of terminals 152 are in electrical contact with a plurality of main body side terminals (not shown) provided on the holder 20 when the ink cartridge IC is mounted on the holder 20.

これらの本体側端子は、ケーブルFFC1によって、制御部40に電気的に接続されている。これにより、インクカートリッジICがホルダー20に装着されたとき、制御部40は、記憶装置151に電気的に接続されて記憶装置151に対してデータの読み書きが可能になる。記憶装置151としては、例えば、EEPROM等の不揮発性メモリーを用いることができる。   These main body side terminals are electrically connected to the control unit 40 by a cable FFC1. Thereby, when the ink cartridge IC is mounted in the holder 20, the control unit 40 is electrically connected to the storage device 151 and can read / write data from / to the storage device 151. As the storage device 151, for example, a nonvolatile memory such as an EEPROM can be used.

<ホルダーの構成とプリズムとの位置関係>
図5は、本実施形態に係るホルダーの構成及びプリズムとの位置関係を説明する図である。図5(a)は、検出部90側から見たホルダー20の底部21の模式図である。図5(b)は、インクカートリッジICが装着されたホルダー20のYZ断面の模式図である。図5(b)は、図5(a)のA−A’線に沿った断面図に相当する。
<Relationship between holder configuration and prism>
FIG. 5 is a diagram illustrating the configuration of the holder and the positional relationship with the prism according to the present embodiment. FIG. 5A is a schematic diagram of the bottom 21 of the holder 20 as viewed from the detection unit 90 side. FIG. 5B is a schematic diagram of a YZ cross section of the holder 20 to which the ink cartridge IC is mounted. FIG. 5B corresponds to a cross-sectional view along the line AA ′ in FIG.

図5(a),(b)に示すように、ホルダー20の底部21には、主走査方向HDに沿って並ぶように、例えば、4つの開口部22が設けられている。ホルダー20には、各開口部22に対応する位置に4つのインクカートリッジIC1〜IC4が装着される。   As shown in FIGS. 5A and 5B, for example, four openings 22 are provided in the bottom portion 21 of the holder 20 so as to be aligned along the main scanning direction HD. Four ink cartridges IC <b> 1 to IC <b> 4 are mounted on the holder 20 at positions corresponding to the respective openings 22.

インクカートリッジIC1〜IC4の各インク収容室130内に設けられた各プリズム170は、傾斜面170aと傾斜面170bと底面170c(図5(b)参照)とを有している。傾斜面170aと傾斜面170bとで、主走査方向HD(Y軸方向)と交差する副走査方向VD(X軸方向)に沿ったプリズム170の稜線が構成される。プリズム170は、X軸方向からみて、傾斜面170aと傾斜面170bとで頂角を形成した、直角二等辺三角形状である。底面170cは、ホルダー20にインクカートリッジICが装着された場合に−Z方向側を向き検出部90に対向する面である。   Each prism 170 provided in each ink storage chamber 130 of the ink cartridges IC1 to IC4 has an inclined surface 170a, an inclined surface 170b, and a bottom surface 170c (see FIG. 5B). The inclined surface 170a and the inclined surface 170b form a ridge line of the prism 170 along the sub-scanning direction VD (X-axis direction) that intersects the main scanning direction HD (Y-axis direction). The prism 170 has a right-angled isosceles triangle shape with an apex angle formed by the inclined surface 170a and the inclined surface 170b when viewed from the X-axis direction. The bottom surface 170 c is a surface that faces the detection unit 90 in the −Z direction when the ink cartridge IC is mounted in the holder 20.

図5(b)に示す発光部92から各プリズム170に入射する照射光が反射される状態は、傾斜面170a,170bのそれぞれに接する流体(インク又は空気)の屈折率によって異なる。換言すれば、各プリズム170は、入射する照射光を、インク収容室130内の液体の残存状態に応じて反射する。なお、プリズム170の底面170cには、プリズム170を形成するときに生じる変形を抑制するために、例えば底面170cの中央部に空洞部が設けられていてもよい。   The state in which the irradiation light incident on each prism 170 from the light emitting unit 92 shown in FIG. 5B is reflected differs depending on the refractive index of the fluid (ink or air) in contact with each of the inclined surfaces 170a and 170b. In other words, each prism 170 reflects incident irradiation light according to the remaining state of the liquid in the ink storage chamber 130. In addition, in order to suppress the deformation | transformation which arises when forming the prism 170, the cavity part may be provided in the center part of the bottom face 170c in the bottom face 170c of the prism 170, for example.

ホルダー20の各開口部22は、ホルダー20の往復移動によってインクカートリッジIC1〜IC4の各プリズム170が検出部90の直上に位置したときに、検出部90の備える発光部92及び受光部94と対向する位置に配置されている。   Each opening 22 of the holder 20 faces the light emitting unit 92 and the light receiving unit 94 provided in the detection unit 90 when the prisms 170 of the ink cartridges IC1 to IC4 are positioned immediately above the detection unit 90 by the reciprocation of the holder 20. It is arranged at the position to do.

各開口部22の中央には、開口部22の一部を塞ぐように、発光部92からの照射光を遮光する遮光部23が設けられている。開口部22の中央とは、インクカートリッジICがホルダー20に装着されたときに、プリズム170の稜線(中心)に対応する位置である。隣り合う開口部22同士の中央位置から中央位置までは、b1の距離だけ離れている。したがって、隣り合う遮光部23同士の中央位置から中央位置までは、b1の距離だけ離れている。この距離b1は、設計値に基づいてメカ的に設定されたものである。   In the center of each opening 22, a light blocking unit 23 that blocks the irradiation light from the light emitting unit 92 is provided so as to block a part of the opening 22. The center of the opening 22 is a position corresponding to the ridgeline (center) of the prism 170 when the ink cartridge IC is mounted on the holder 20. The distance from the center position of adjacent openings 22 to the center position is a distance of b1. Therefore, the distance from the center position between the adjacent light shielding portions 23 to the center position is a distance of b1. This distance b1 is mechanically set based on the design value.

遮光部23は、主走査方向HD(Y軸方向)と交差する副走査方向VD(X軸方向)に沿って設けられており、ホルダー20の開口部22を、第1の部分としての開口部22bと、第2の部分としての開口部22aとの2つに分割している。遮光部23は、プリズム170の稜線と対向する位置に配置されている。なお、プリズム170の底面170cに空洞部が設けられている場合は、Z方向における平面視で遮光部23と空洞部とが重なるように配置されていることが好ましい。   The light-shielding portion 23 is provided along the sub-scanning direction VD (X-axis direction) intersecting the main scanning direction HD (Y-axis direction), and the opening 22 of the holder 20 is an opening as a first portion. 22b and an opening 22a as the second part. The light shielding unit 23 is disposed at a position facing the ridge line of the prism 170. In addition, when the cavity part is provided in the bottom face 170c of the prism 170, it is preferable to arrange | position so that the light-shielding part 23 and a cavity part may overlap by planar view in a Z direction.

各開口部22が遮光部23によって2つに分割された開口部22aと開口部22bとは、主走査方向HD(Y軸方向)に沿って並ぶように配置されている。インクニアエンド判定を行う際の検出位置において、各開口部22の一方の開口部22aは発光部92と傾斜面170aとが対向する位置に配置され、他方の開口部22bは受光部94と傾斜面170bとが対向する位置に配置される。   An opening 22a and an opening 22b in which each opening 22 is divided into two by the light shielding part 23 are arranged so as to be aligned along the main scanning direction HD (Y-axis direction). At the detection position when performing the ink near end determination, one opening 22a of each opening 22 is arranged at a position where the light emitting portion 92 and the inclined surface 170a face each other, and the other opening 22b is arranged with the light receiving portion 94 and the inclined surface. It is arranged at a position facing 170b.

遮光部23は、光を吸収する材質からなり、例えば、黒色で着色したポリスチレンによって形成されている。本実施形態では、遮光部23はホルダー20と同材質で一体的に形成されている。なお、遮光部23の材質は、上記に限定されず、反射光が受光部94に入射するのを抑制可能であれば、任意の材質を適用してもよい。また、遮光部23が、ホルダー20と別体で形成されホルダー20に取り付けられた構成としてもよい。   The light shielding portion 23 is made of a material that absorbs light, and is formed of, for example, black colored polystyrene. In the present embodiment, the light shielding portion 23 is integrally formed of the same material as the holder 20. The material of the light shielding unit 23 is not limited to the above, and any material may be applied as long as the reflected light can be prevented from entering the light receiving unit 94. The light shielding portion 23 may be formed separately from the holder 20 and attached to the holder 20.

ホルダー20を備えたキャリッジCRが主走査方向HD(Y軸方向)に沿って移動すると、インクカートリッジIC1〜IC4が、順次、検出部90の上(+Z方向)を通過する。そして、開口部22(開口部22a及び開口部22b)を通して、発光部92からの照射光が各インクカートリッジICのプリズム170で反射され、反射光が受光部94により受光される。   When the carriage CR including the holder 20 moves along the main scanning direction HD (Y-axis direction), the ink cartridges IC1 to IC4 sequentially pass over the detection unit 90 (+ Z direction). Then, the light emitted from the light emitting unit 92 is reflected by the prism 170 of each ink cartridge IC through the opening 22 (the opening 22a and the opening 22b), and the reflected light is received by the light receiving unit 94.

検出部90は、受光部94の受光結果を、キャリッジCR(プリズム170)の位置に対応した検出電圧として出力する。本実施形態では、このキャリッジCRの位置に対応した検出部90の検出電圧がサンプリングされた電圧に基づいて、各インクカートリッジICのインクニアエンド判定と、インクニアエンド判定を行う際の検出位置の補正とが行われる。   The detection unit 90 outputs the light reception result of the light receiving unit 94 as a detection voltage corresponding to the position of the carriage CR (prism 170). In the present embodiment, based on the voltage obtained by sampling the detection voltage of the detection unit 90 corresponding to the position of the carriage CR, the ink near-end determination of each ink cartridge IC and the correction of the detection position when performing the ink near-end determination are performed. Is done.

<インクニアエンド判定の手法>
次に、本実施形態に係るインクニアエンド判定の手法について説明する。図6および図7は、インクニアエンド判定の手法を説明する図である。図6(a)及び(b)には、インクカートリッジICのプリズム170を通過するYZ平面の断面を示す。図6(a)および(b)では、プリズム170と検出部90の位置関係が、インクニアエンド判定のためのインク残存量検出が可能な位置関係(検出位置)となったときの状態を示している。
<Ink near-end determination method>
Next, an ink near-end determination method according to this embodiment will be described. 6 and 7 are diagrams for explaining a method of ink near-end determination. 6A and 6B show a cross section of the YZ plane passing through the prism 170 of the ink cartridge IC. FIGS. 6A and 6B show a state when the positional relationship between the prism 170 and the detection unit 90 becomes a positional relationship (detection position) where the remaining ink amount can be detected for ink near-end determination. Yes.

図6(a)に示すように、プリズム170の傾斜面170a,170bはインク収容室130の内側を向いている。傾斜面170aは例えば傾斜面170bと直交する面であり、傾斜面170aと傾斜面170bとは、X−Z平面に平行な平面に対して対称となるように配置されている。インク収容室130にインクIKが満たされている場合には、傾斜面170a,170bはインクIKに接する。この場合、発光部92からプリズム170に入射した照射光Leは、傾斜面170aからインクIK内に入射する。   As shown in FIG. 6A, the inclined surfaces 170 a and 170 b of the prism 170 face the inside of the ink storage chamber 130. The inclined surface 170a is, for example, a surface orthogonal to the inclined surface 170b, and the inclined surface 170a and the inclined surface 170b are arranged so as to be symmetric with respect to a plane parallel to the XZ plane. When the ink storage chamber 130 is filled with the ink IK, the inclined surfaces 170a and 170b are in contact with the ink IK. In this case, the irradiation light Le incident on the prism 170 from the light emitting unit 92 enters the ink IK from the inclined surface 170a.

例えば、インクIKの屈折率を水の屈折率とほぼ同様の1.5と仮定し、プリズム170をポリプロピレンにより構成する場合、傾斜面170a,170bにおける全反射の臨界角は約64度である。照射光Leの入射角は45度なので、プリズム170に入射する照射光Leは、傾斜面170a,170bでは全反射されずインクIK内に入射する。したがって、インクカートリッジICにインクIKが満たされている場合には、傾斜面170a,170bで反射される反射光Lr1は非常に少なくなるため、受光部94が反射光Lr1を受光することによる検出電圧はほとんど出力されない。   For example, assuming that the refractive index of the ink IK is 1.5, which is substantially the same as the refractive index of water, and the prism 170 is made of polypropylene, the critical angle of total reflection at the inclined surfaces 170a and 170b is about 64 degrees. Since the incident angle of the irradiation light Le is 45 degrees, the irradiation light Le incident on the prism 170 is not totally reflected by the inclined surfaces 170a and 170b and enters the ink IK. Accordingly, when the ink cartridge IC is filled with the ink IK, the reflected light Lr1 reflected by the inclined surfaces 170a and 170b is very small, and thus the detection voltage generated when the light receiving unit 94 receives the reflected light Lr1. Is hardly output.

図6(b)に示すように、インクカートリッジIC内のインクIKが印刷のために消費され、インクカートリッジICにインクIKが満たされていない場合を考える。プリズム170の傾斜面170a,170bのうち、少なくとも発光部92からの照射光Leが入射する部分が空気に接しているとする。この場合、発光部92からプリズム170に入射した照射光Leは、傾斜面170a,170bで全反射され、その反射光Lr1はプリズム170の外(受光部94側)へ射出される。   As shown in FIG. 6B, 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 inclined surfaces 170a and 170b of the prism 170, it is assumed that at least a portion where the irradiation light Le from the light emitting portion 92 is incident is in contact with air. In this case, the irradiation light Le incident on the prism 170 from the light emitting unit 92 is totally reflected by the inclined surfaces 170a and 170b, and the reflected light Lr1 is emitted to the outside of the prism 170 (on the light receiving unit 94 side).

例えば、空気の屈折率を1とし、プリズム170をポリプロピレンにより構成する場合、傾斜面170a,170bにおける全反射の臨界角は約43度である。入射角は45度なので、プリズム170に入射する照射光Leは傾斜面170a,170bで全反射される。したがって、インクカートリッジICにインクIKが満たされていない場合には、受光部94が全反射した反射光Lr1を受光するため、大きな検出電圧が出力される。   For example, when the refractive index of air is 1 and the prism 170 is made of polypropylene, the critical angle of total reflection on the inclined surfaces 170a and 170b is about 43 degrees. Since the incident angle is 45 degrees, the irradiation light Le incident on the prism 170 is totally reflected by the inclined surfaces 170a and 170b. Therefore, when the ink cartridge IC is not filled with the ink IK, the reflected light Lr1 totally reflected by the light receiving unit 94 is received, and thus a large detection voltage is output.

図7(a)には、インクカートリッジICのプリズム170を通過するYZ平面の断面を示す。図7(a)では、プリズム170と検出部90との位置関係が、インクニアエンド判定のためのインク残存量検出が可能な位置関係でないときの状態を示している。また、図7(b)には、1個のインクカートリッジICが検出部90の上を通過した場合の検出電圧の特性例を示している。   FIG. 7A shows a cross section of the YZ plane passing through the prism 170 of the ink cartridge IC. FIG. 7A shows a state in which the positional relationship between the prism 170 and the detection unit 90 is not a positional relationship in which the remaining ink amount can be detected for ink near-end determination. FIG. 7B shows a characteristic example of a detection voltage when one ink cartridge IC passes over the detection unit 90.

図7(a)に示すように、発光部92からプリズム170の底面(入射面)170cに入射した照射光Leは、その一部が底面170cで反射され反射光Lr2として受光部94に受光される。この反射光Lr2の底面170cでの反射角は、照射光Leの底面170cへの入射角と等しい。受光部94が底面170cで反射される反射光Lr2を受光して出力される検出電圧は、傾斜面170a,170bで全反射される反射光Lr1を受光して出力される検出電圧よりも小さくなる。   As shown in FIG. 7A, a part of the irradiation light Le incident on the bottom surface (incident surface) 170c of the prism 170 from the light emitting unit 92 is reflected by the bottom surface 170c and received by the light receiving unit 94 as reflected light Lr2. The The reflection angle of the reflected light Lr2 on the bottom surface 170c is equal to the incident angle of the irradiation light Le on the bottom surface 170c. The detection voltage output when the light receiving unit 94 receives the reflected light Lr2 reflected by the bottom surface 170c is smaller than the detection voltage output by receiving the reflected light Lr1 totally reflected by the inclined surfaces 170a and 170b. .

図7(b)において、横軸は、プリズム170と検出部90との相対的な位置を表し、縦軸は、横軸の各位置において検出部90から出力される検出電圧を表す。検出部90から出力される検出電圧は、検出部90とプリズム170との相対位置に応じて変化する。プリズム170の中心と検出部90の中心とが一致したときの位置(例えば図6(a)に示すインクカートリッジICと検出部90との位置関係)を、横軸の“0”としている。検出部90の中心とは、主走査方向HDにおける発光部92と受光部94との中央である。   In FIG. 7B, the horizontal axis represents the relative position between the prism 170 and the detection unit 90, and the vertical axis represents the detection voltage output from the detection unit 90 at each position on the horizontal axis. The detection voltage output from the detection unit 90 changes according to the relative position between the detection unit 90 and the prism 170. The position when the center of the prism 170 coincides with the center of the detection unit 90 (for example, the positional relationship between the ink cartridge IC and the detection unit 90 shown in FIG. 6A) is “0” on the horizontal axis. The center of the detection unit 90 is the center of the light emitting unit 92 and the light receiving unit 94 in the main scanning direction HD.

また、図7(a)に示すインクカートリッジICと検出部90との位置関係のように、位置“0”から、プリズム170の中心と検出部90の中心との相対位置が主走査方向HDにずれた位置であって、ホルダー20の開口部22bに対応する位置を位置PK1とする。同様に、位置“0”から、プリズム170の中心と検出部90の中心との相対位置が主走査方向HDに沿ってずれた位置であって、ホルダー20の開口部22aに対応する位置を位置PK2とする。位置PK1は、主走査方向HDにおける開口部22bの中央と検出部90の中央とが一致する位置であり、位置PK2は、主走査方向HDにおける開口部22aの中央と検出部90の中央とが一致する位置である。   Further, as in the positional relationship between the ink cartridge IC and the detection unit 90 shown in FIG. 7A, the relative position between the center of the prism 170 and the center of the detection unit 90 from the position “0” in the main scanning direction HD. A position that is shifted and corresponds to the opening 22b of the holder 20 is defined as a position PK1. Similarly, the position corresponding to the opening 22a of the holder 20 is a position where the relative position between the center of the prism 170 and the center of the detection unit 90 is shifted along the main scanning direction HD from the position “0”. Let PK2. The position PK1 is a position where the center of the opening 22b in the main scanning direction HD coincides with the center of the detection unit 90, and the position PK2 is the position of the center of the opening 22a in the main scanning direction HD and the center of the detection unit 90. It is a matching position.

図7(b)に示すように、受光部94の受光量がゼロに近いほど検出電圧が上限電圧Vmaxに近くなり、受光部94の受光量が大きいほど検出電圧が下限電圧Vminに近くなる。受光量が所定値を越えると、検出電圧が飽和して下限電圧Vminとなる。上限電圧Vmaxと下限電圧Vminは、例えば、図3において受光部94がコレクター端子に出力する電圧範囲の上限電圧と下限電圧に対応する。   As shown in FIG. 7B, the detection voltage approaches the upper limit voltage Vmax as the amount of light received by the light receiver 94 is closer to zero, and the detection voltage approaches the lower limit voltage Vmin as the amount of light received by the light receiver 94 increases. 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 output from the light receiving unit 94 to the collector terminal in FIG.

図7(b)に示すSIKは、インクカートリッジICがインクIKで満たされている場合の検出電圧特性である。この場合、図6(a)に示すように、受光部94は傾斜面170a,170bで反射される反射光Lr1をほとんど受光しない。そのため、インクカートリッジICと検出部90との相対的な位置関係に関わらず、受光部94が反射光Lr1を受光することによる検出電圧はほとんど出力されない。   SIK shown in FIG. 7B is a detection voltage characteristic when the ink cartridge IC is filled with the ink IK. In this case, as shown in FIG. 6A, the light receiving unit 94 hardly receives the reflected light Lr1 reflected by the inclined surfaces 170a and 170b. Therefore, regardless of the relative positional relationship between the ink cartridge IC and the detection unit 90, the detection voltage due to the light receiving unit 94 receiving the reflected light Lr1 is hardly output.

インクカートリッジICがインクIKで満たされている場合には、図7(a)に示すように、受光部94は底面170cで反射される反射光Lr2を受光する。そのため、受光部94が反射光Lr2を受光することによる検出電圧が出力される。したがって、図7(b)に示す検出電圧特性SIKは、底面170cで反射される反射光Lr2に基づくものである。   When the ink cartridge IC is filled with the ink IK, as shown in FIG. 7A, the light receiving unit 94 receives the reflected light Lr2 reflected by the bottom surface 170c. Therefore, a detection voltage generated when the light receiving unit 94 receives the reflected light Lr2 is output. Therefore, the detection voltage characteristic SIK shown in FIG. 7B is based on the reflected light Lr2 reflected by the bottom surface 170c.

ここで、ホルダー20の開口部22の中央(開口部22aと開口部22bとの間)に発光部92からの光を遮光する遮光部23が設けられているため、位置“0”では底面170cからの反射光Lr2は検出されない。したがって、図7(b)に示す検出電圧特性SIKのように、位置“0”において、受光部94の受光量が小さくなるので、検出電圧はVmaxに近くなる。   Here, since the light shielding portion 23 that shields light from the light emitting portion 92 is provided in the center of the opening portion 22 of the holder 20 (between the opening portion 22a and the opening portion 22b), the bottom surface 170c at the position “0”. The reflected light Lr2 from is not detected. Therefore, as shown in the detection voltage characteristic SIK shown in FIG. 7B, at the position “0”, the amount of light received by the light receiving unit 94 is small, so the detection voltage is close to Vmax.

これに対して、位置“0”から、プリズム170の中心と検出部90の中心との相対位置が主走査方向HDにずれた位置PK1では、遮光部23が存在しないため、開口部22bから入射してプリズム170の底面170cで反射された反射光Lr2の受光量に基づいて、第1のピークとしてのピークSpk1が検出される。同様に、位置“0”から主走査方向HDにずれた位置PK2では、開口部22aから入射してプリズム170の底面170cで反射された反射光Lr2の受光量に基づいて、第2のピークとしてのピークSpk2が検出される。   On the other hand, at the position PK1 where the relative position between the center of the prism 170 and the center of the detection unit 90 is shifted in the main scanning direction HD from the position “0”, the light shielding unit 23 does not exist, and thus the light enters from the opening 22b. Then, based on the received light amount of the reflected light Lr2 reflected by the bottom surface 170c of the prism 170, the peak Spk1 as the first peak is detected. Similarly, at the position PK2 shifted from the position “0” in the main scanning direction HD, the second peak is obtained based on the amount of received light Lr2 incident from the opening 22a and reflected by the bottom surface 170c of the prism 170. The peak Spk2 is detected.

一方、図7(b)に破線で示すSEPは、インクカートリッジICがインクIKで満たされていない場合の検出電圧特性である。この場合、図6(b)に示すように、検出部90から、プリズム170の傾斜面170a,170bで全反射された反射光Lr1を受光することによる検出信号が出力される。また、受光部94の反射光Lr1の受光量が大きいため、位置“0”において検出電圧はVminに達する(あるいは、Vminに近くなる)。   On the other hand, SEP indicated by a broken line in FIG. 7B is a detection voltage characteristic when the ink cartridge IC is not filled with the ink IK. In this case, as shown in FIG. 6B, a detection signal is received from the detection unit 90 by receiving the reflected light Lr1 totally reflected by the inclined surfaces 170a and 170b of the prism 170. Further, since the amount of the reflected light Lr1 received by the light receiving unit 94 is large, the detection voltage reaches Vmin (or close to Vmin) at the position “0”.

なお、受光部94は、全反射された反射光Lr1を受光するとともに、底面170cからの反射光Lr2も受光する。しかしながら、プリズム170の傾斜面170a,170bで全反射された反射光Lr1の受光量は、底面170cで反射された反射光Lr2の受光量と比べて格段に大きい。そのため、図7(b)に示すように、反射光Lr2による検出電圧は反射光Lr1による検出電圧に埋もれてしまうので、検出電圧特性SEPにピークSpk1,Spk2は生じない。   The light receiving unit 94 receives the totally reflected reflected light Lr1, and also receives the reflected light Lr2 from the bottom surface 170c. However, the received light amount of the reflected light Lr1 totally reflected by the inclined surfaces 170a and 170b of the prism 170 is significantly larger than the received light amount of the reflected light Lr2 reflected by the bottom surface 170c. Therefore, as shown in FIG. 7B, the detection voltage due to the reflected light Lr2 is buried in the detection voltage due to the reflected light Lr1, so that the peaks Spk1 and Spk2 do not occur in the detection voltage characteristic SEP.

このように、インクカートリッジICがインクIKで満たされているか否か、すなわち、プリズム170の傾斜面170a,170bがインクIKと接しているか否かによって、検出部90の検出電圧の特性は大きく異なったものとなる。本実施形態では、このプリズム170の傾斜面170a,170bがインクIKと接しているか否かによる検出電圧の特性の違いを検出することにより、インクカートリッジICのインクニアエンド判定を行う。   As described above, the characteristics of the detection voltage of the detection unit 90 vary greatly depending on whether or not the ink cartridge IC is filled with the ink IK, that is, whether or not the inclined surfaces 170a and 170b of the prism 170 are in contact with the ink IK. It will be. In this embodiment, the ink near-end determination of the ink cartridge IC is performed by detecting the difference in the characteristics of the detection voltage depending on whether the inclined surfaces 170a and 170b of the prism 170 are in contact with the ink IK.

具体的には、検出電圧特性SIKのピーク値Vpk1に基づいて、ピーク値Vpk1と下限電圧Vminとの間に所定の閾値Vthを設定する。また、インクカートリッジICが検出部90の上を通り、検出部90とプリズム170とが対向する位置関係となる範囲(第2の範囲)を検出範囲DPRとする。   Specifically, a predetermined 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. A range (second range) in which the ink cartridge IC passes over the detection unit 90 and the detection unit 90 and the prism 170 face each other is defined as a detection range DPR.

検出範囲DPRは、各部品の寸法公差や部品相互の取り付け公差等が最大の場合であっても、ピークSpk1の位置とピークSpk2の位置とを含み、ピークSpk1の位置とピークSpk2の位置との間隔よりも広い範囲となるように設定される。この検出範囲DPRにおいて、検出部90の検出電圧が閾値Vthよりも小さい場合には、インクニアエンドであると判定し、検出電圧が閾値Vth以上である場合には、インクが残存していると判定する。   The detection range DPR includes the position of the peak Spk1 and the position of the peak Spk2, and includes the position of the peak Spk1 and the position of the peak Spk2, even when the dimensional tolerance of each part or the attachment tolerance between the parts is the maximum. The range is set to be wider than the interval. In this detection range DPR, when the detection voltage of the detection unit 90 is smaller than the threshold value Vth, it is determined that the ink is near-end, and when the detection voltage is equal to or higher than the threshold value Vth, it is determined that ink remains. To do.

なお、インクエンドの判定も、上述のインクニアエンドの判定と同様の手法で行うことができる。インクエンドの判定を行う場合は、検出範囲及び閾値を上述の検出範囲DPR及び閾値Vthと異なる設定としてもよい。   The ink end determination can also be performed by the same method as the above-described ink near end determination. When determining the ink end, the detection range and the threshold may be set differently from the above-described detection range DPR and threshold Vth.

<位置補正処理の手法>
さて、インクカートリッジIC(プリズム170)の位置は、種々の公差によって位置ずれを生じる。公差としては、例えば、各部品の寸法公差や、キャリッジCRの傾きや取り付けのずれ、ロータリーエンコーダーの誤差、電子回路(例えば検出部90)の応答速度、例えばキャリッジ駆動等のメカ的な位置ずれ等が想定される。制御部40は、ロータリーエンコーダーのカウント値に基づいてインクカートリッジICの位置を把握しているが、これらの公差により、このカウント値に基づいて把握している位置と実際のインクカートリッジICの位置とが相対的にずれてしまうことがある。
<Position correction processing method>
Now, the position of the ink cartridge IC (prism 170) is displaced due to various tolerances. The tolerances include, for example, dimensional tolerances of each component, carriage CR inclination and mounting deviation, rotary encoder error, response speed of an electronic circuit (for example, the detection unit 90), mechanical position deviation such as carriage drive, etc. Is assumed. The control unit 40 grasps the position of the ink cartridge IC based on the count value of the rotary encoder. Due to these tolerances, the position grasped based on the count value and the actual position of the ink cartridge IC May shift relatively.

この位置ずれを補正しない場合には、想定される全ての公差を含めた(最悪の条件を組み合わせた場合の)位置ずれ範囲を考慮し、その範囲内で正しくインクニアエンドが検出できるように、図7(b)に示す検出範囲DPRを設定する必要がある。そのため、検出範囲DPRは、ピークSpk1の位置とピークSpk2の位置とを含み、ピークSpk1の位置とピークSpk2の位置との間隔よりも広い範囲となる。検出範囲DPRでは、閾値VthをピークSpk1,Spk2のピーク電圧Vpk1に近づけることができなくなる。   If this misregistration is not corrected, the misalignment range including all possible tolerances (when the worst conditions are combined) is taken into account so that the ink near end can be detected correctly within that range. It is necessary to set the detection range DPR shown in FIG. Therefore, the detection range DPR includes the position of the peak Spk1 and the position of the peak Spk2, and is a range wider than the interval between the position of the peak Spk1 and the position of the peak Spk2. In the detection range DPR, the threshold value Vth cannot be brought close to the peak voltage Vpk1 of the peaks Spk1 and Spk2.

ここで、図7(b)に2点鎖線で示す検出電圧特性SEP’のように、インクが無くなった場合のピークが、プリズム170の底面170cで反射された反射光Lr2によるピークSpk1,Spk2(Vpk1)よりもわずかに大きくなる(検出電圧が低くなる)場合を考える。このような場合には、位置“0”において、検出電圧特性SEP’は閾値Vthよりも大きいため、閾値Vthにより正しくインクニアエンドを検出できないことになる。そうすると、インクニアエンドの検出タイミングが通常よりも遅くなり、印刷ヘッド35(図2参照)がインクを吐出しない空打ち状態となる可能性が大きくなってしまう。   Here, as shown in the detection voltage characteristic SEP ′ indicated by the two-dot chain line in FIG. 7B, the peak when the ink runs out is the peak Spk1, Spk2 (the peak due to the reflected light Lr2 reflected by the bottom surface 170c of the prism 170. Consider a case where the voltage is slightly larger than Vpk1) (the detection voltage is lowered). In such a case, at the position “0”, the detection voltage characteristic SEP ′ is larger than the threshold value Vth, so that the ink near end cannot be detected correctly by the threshold value Vth. As a result, the detection timing of the ink near end becomes later than usual, and there is a high possibility that the print head 35 (see FIG. 2) enters an idle state in which ink is not discharged.

このような状態は、例えば、発光部92の発光量や受光部94の受光量が低下し、ピークSpk1,Spk2を含めたノイズと、プリズム170の傾斜面170a,170bで全反射された反射光Lr1の検出電圧との比(いわゆるS/N比)が小さくなった場合等に生じ得る。発光部92の発光量や受光部94の受光量が低下する原因としては、例えば、検出部90へのインクミストの付着や、発光部92(発光素子)及び受光部94(受光素子)の特性劣化等が考えられる。   In such a state, for example, the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 are reduced, noise including the peaks Spk1 and Spk2, and reflected light totally reflected by the inclined surfaces 170a and 170b of the prism 170. This may occur when the ratio of Lr1 to the detection voltage (so-called S / N ratio) becomes small. For example, the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 are decreased. Deterioration is considered.

そこで本実施形態では、ロータリーエンコーダーのカウント値に基づいて把握されるインクカートリッジIC(プリズム170)の位置を、プリズム170の底面170cからの反射光Lr2(以下では、入射面反射ともいう)による2つのピークSpk1,Spk2の間隔に基づいて補正する。この位置の補正(以下では、位置補正処理という)により、公差による位置ずれが補正されるため、インクカートリッジICの位置とロータリーエンコーダーのカウント値とを高精度に対応付けることができる。   Therefore, in the present embodiment, the position of the ink cartridge IC (prism 170) grasped based on the count value of the rotary encoder is set to 2 by reflected light Lr2 (hereinafter also referred to as incident surface reflection) from the bottom surface 170c of the prism 170. Correction is performed based on the interval between the two peaks Spk1, Spk2. By this position correction (hereinafter referred to as position correction processing), the positional deviation due to tolerance is corrected, so that the position of the ink cartridge IC and the count value of the rotary encoder can be associated with high accuracy.

位置補正処理を行うことにより、インクニアエンドの検出範囲を、位置補正しない場合の検出範囲DPR(第2の範囲)よりも狭く設定できる。この、位置補正処理を行うことにより狭く設定した検出範囲を検出範囲DPR’(第1の範囲)とする。図7(b)に示すように、検出範囲DPR’は、検出部90とプリズム170とが対向する位置関係となる範囲であって、ピークSpk1の位置とピークSpk2の位置との間隔よりも狭い範囲となる。   By performing the position correction process, the ink near-end detection range can be set narrower than the detection range DPR (second range) when position correction is not performed. The detection range narrowly set by performing the position correction process is set as a detection range DPR ′ (first range). As shown in FIG. 7B, the detection range DPR ′ is a range in which the detection unit 90 and the prism 170 face each other, and is narrower than the interval between the position of the peak Spk1 and the position of the peak Spk2. It becomes a range.

これにより、ピークSpk1,Spk2のピーク電圧Vpk1付近に、閾値Vthよりも大きい閾値Vth’を設定することが可能となるので、発光部92の発光量や受光部94の受光量が低下した場合でも、正しく確実にインクニアエンドを検出することができる。また、ピークSpk1の位置とピークSpk2の位置との間隔よりも狭い範囲に検出範囲DPR’を設定することで、例えば外乱光等によるノイズの影響を受けにくくなるので、インクニアエンドの判定を精度良く行うことができる。   As a result, a threshold value Vth ′ larger than the threshold value Vth can be set in the vicinity of the peak voltage Vpk1 of the peaks Spk1 and Spk2, so that even when the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 are reduced. Ink near end can be detected correctly and reliably. Further, by setting the detection range DPR ′ in a range narrower than the interval between the position of the peak Spk1 and the position of the peak Spk2, it becomes less susceptible to noise due to, for example, disturbance light, etc. It can be carried out.

なお、位置補正処理は、往路と復路とのそれぞれにおいて行うようにしてもよい。ここで往路は、キャリッジCRと検出部90の相対的な位置が離れていく移動のことであり、復路は、キャリッジCRと検出部90の相対的な位置が近づいていく移動のことである。往路と復路とでは、受光部94の回路的な(例えばフォトトランジスター等の)応答速度が異なるが、往路と復路とにおいてそれぞれ位置補正処理を行うことで、その応答速度の違いを考慮して位置ずれを補正することができる。   Note that the position correction process may be performed on each of the forward path and the return path. Here, the forward path is a movement in which the relative position between the carriage CR and the detection unit 90 is separated, and the backward path is a movement in which the relative position between the carriage CR and the detection unit 90 is approaching. Although the circuit-like response speed (for example, a phototransistor or the like) of the light receiving unit 94 is different between the forward path and the return path, position correction processing is performed in each of the forward path and the return path in consideration of the difference in response speed. The deviation can be corrected.

次に、本実施形態における位置補正処理の手法について詳細に説明する。図8及び図9は、位置補正処理の手法を説明する図である。図8には、キャリッジCR(ホルダー20)が、ホームポジションPHから主走査方向HDに沿って移動したときの検出部90とインクカートリッジIC(プリズム170)との位置関係を示している。なお、以降の説明では、制御部40の各部について、個別の呼称ではなく制御部40と記載する。   Next, the position correction processing method in this embodiment will be described in detail. 8 and 9 are diagrams for explaining a method of position correction processing. FIG. 8 shows the positional relationship between the detection unit 90 and the ink cartridge IC (prism 170) when the carriage CR (holder 20) moves from the home position PH along the main scanning direction HD. In the following description, each unit of the control unit 40 is described as the control unit 40 instead of an individual name.

インクカートリッジIC1〜IC4には、例えば、それぞれシアン、マゼンタ、イエロー、ブラックのインクIKが充填されている。インクニアエンド判定は、インクカートリッジIC1〜IC4のそれぞれについて行われる。図8に示す位置P1〜P4は、インクカートリッジIC1〜IC4の各々のプリズム170に発光部92からの光が当たる位置である。   The ink cartridges IC1 to IC4 are filled with, for example, cyan, magenta, yellow, and black inks IK, respectively. The ink near-end determination is performed for each of the ink cartridges IC1 to IC4. Positions P1 to P4 shown in FIG. 8 are positions where the light from the light emitting unit 92 strikes the prisms 170 of the ink cartridges IC1 to IC4.

これらの位置P1〜P4はロータリーエンコーダーのカウント値に対応しており、キャリッジCRの設計値に基づくカウント値が記憶部50(図2参照)に記憶されている。インクニアエンド判定の際には、制御部40は、記憶部50から読み出したカウント値に基づいて位置P1〜P4を特定する。   These positions P1 to P4 correspond to the count values of the rotary encoder, and the count values based on the design values of the carriage CR are stored in the storage unit 50 (see FIG. 2). When determining the ink near end, the control unit 40 specifies the positions P1 to P4 based on the count value read from the storage unit 50.

上述のように、この位置P1〜P4が、種々の公差によって実際のインクカートリッジIC1〜IC4の位置とずれている場合がある。本実施形態では、このような位置ずれがある場合に、制御部40が、位置P1〜P4を実際のインクカートリッジIC1〜IC4の位置に対応するように補正するための調整値を決定し、決定した調整値により位置を補正する。   As described above, the positions P1 to P4 may deviate from the actual positions of the ink cartridges IC1 to IC4 due to various tolerances. In the present embodiment, when there is such a displacement, the control unit 40 determines an adjustment value for correcting the positions P1 to P4 so as to correspond to the actual positions of the ink cartridges IC1 to IC4. The position is corrected with the adjusted value.

位置補正処理において、制御部40は、キャリッジCRをホームポジションPHから主走査方向HDに走査して、検出部90に対するインクカートリッジIC(プリズム170)の相対的な位置を移動させる。そして、制御部40は、補正前の位置P1〜P4において、発光部92から照射されインクカートリッジIC1〜IC4のプリズム170で反射された反射光Lr1,Lr2を受光部94で受光させる。   In the position correction process, the control unit 40 scans the carriage CR from the home position PH in the main scanning direction HD, and moves the relative position of the ink cartridge IC (prism 170) with respect to the detection unit 90. Then, the control unit 40 causes the light receiving unit 94 to receive the reflected lights Lr1 and Lr2 irradiated from the light emitting unit 92 and reflected by the prisms 170 of the ink cartridges IC1 to IC4 at the positions P1 to P4 before correction.

続いて、制御部40は、位置P1〜P4において、インクカートリッジIC1〜IC4の各プリズム170からの反射光Lr1,Lr2の受光量に応じて検出部90から出力される検出電圧を読み取る。図9には、キャリッジCRが、ホームポジションPHから主走査方向HDに移動したときの位置P1〜P4における検出電圧の特性例を示している。なお、インクカートリッジIC3については、プリズム170に後述する気泡BABが付着していない場合の検出電圧を実線で示し、気泡BABが付着している場合の検出電圧を破線で示している。   Subsequently, the control unit 40 reads the detection voltage output from the detection unit 90 according to the amount of received light of the reflected lights Lr1 and Lr2 from the prisms 170 of the ink cartridges IC1 to IC4 at the positions P1 to P4. FIG. 9 shows a characteristic example of the detection voltage at positions P1 to P4 when the carriage CR moves from the home position PH in the main scanning direction HD. For the ink cartridge IC3, a detection voltage when a bubble BAB (described later) is not attached to the prism 170 is indicated by a solid line, and a detection voltage when a bubble BAB is attached is indicated by a broken line.

続いて、制御部40は、補正前の位置に基づいてインクカートリッジIC1〜IC4の検出電圧を取得するための位置範囲AD1を設定し、その位置範囲AD1をキャリッジCRが通過したときに、検出部90からの検出電圧をA/D変換部36がA/D変換する。制御部40は、各インクカートリッジICの検出電圧に対してピーク検出処理を行い、ピーク電圧が最も小さいピークと、その次にピーク電圧が小さいピークとを検出する。   Subsequently, the control unit 40 sets a position range AD1 for acquiring the detection voltages of the ink cartridges IC1 to IC4 based on the position before correction, and when the carriage CR passes through the position range AD1, the detection unit The A / D converter 36 A / D converts the detected voltage from 90. The control unit 40 performs peak detection processing on the detection voltage of each ink cartridge IC, and detects the peak with the smallest peak voltage and the peak with the next smallest peak voltage.

インクカートリッジIC1を例にとると、制御部40は、ピーク電圧が最も小さい位置P1aのピーク(ピークSpk2)と、その次にピーク電圧が小さい位置P1bのピーク(ピークSpk1)とを検出し、2つのピークの中心位置P1c(P1aとP1bとの平均値)を求める。インクカートリッジIC1の中心位置(P1c)とキャリッジCRの設計値に基づくカウント値で特定される位置(P1)との差分(P1−P1c)が、インクカートリッジIC1の実際の位置とカウント値で特定される位置とのずれ量である。   Taking the ink cartridge IC1 as an example, the control unit 40 detects the peak at the position P1a with the lowest peak voltage (peak Spk2) and the peak at the position P1b with the next lowest peak voltage (peak Spk1). The center position P1c (average value of P1a and P1b) of two peaks is obtained. The difference (P1−P1c) between the center position (P1c) of the ink cartridge IC1 and the position (P1) specified by the count value based on the design value of the carriage CR is specified by the actual position of the ink cartridge IC1 and the count value. The amount of deviation from the position.

制御部40は、インクカートリッジIC2,IC3,IC4についても同様に、それぞれピーク電圧が最も小さいピーク(ピークSpk2)と、その次にピーク電圧が小さいピーク(ピークSpk1)とを検出し、それぞれの2つのピークの中心位置P2c,P3c,P4cを求める。そして、インクカートリッジIC1〜IC4のそれぞれの中心位置とキャリッジCRの設計値に基づくカウント値で特定されるそれぞれの位置との差分(P1−P1c,P2−P2c,P3−P3c,P4−P4c)の平均値である調整値を求める。   Similarly, for the ink cartridges IC2, IC3, and IC4, the control unit 40 detects the peak with the lowest peak voltage (peak Spk2) and the peak with the next lowest peak voltage (peak Spk1), respectively. The center positions P2c, P3c, and P4c of two peaks are obtained. Then, the difference (P1-P1c, P2-P2c, P3-P3c, P4-P4c) between the respective center positions of the ink cartridges IC1 to IC4 and the respective positions specified by the count value based on the design value of the carriage CR. An adjustment value that is an average value is obtained.

この調整値を位置P1〜P4に加算することで、インクカートリッジIC1〜IC4のそれぞれの位置が修正され、実際のインクカートリッジIC1〜IC4の位置とのずれが補正される。この結果、位置P1’〜P4’がインクカートリッジIC1〜IC4のそれぞれの補正後の中心位置となる。   By adding this adjustment value to the positions P1 to P4, the positions of the ink cartridges IC1 to IC4 are corrected, and the deviation from the actual positions of the ink cartridges IC1 to IC4 is corrected. As a result, the positions P1 'to P4' are the corrected center positions of the ink cartridges IC1 to IC4.

位置補正処理の結果、調整値により補正された位置P1’〜P4’をそれぞれの中心位置として、インクカートリッジIC1〜IC4のそれぞれについて検出範囲DPR’が設定される。位置補正処理を行った後は、インクカートリッジIC1〜IC4のそれぞれについて、検出範囲DPR’において閾値Vth’によりインクニアエンドを検出するインクニアエンド判定が行われる。   As a result of the position correction process, the detection range DPR 'is set for each of the ink cartridges IC1 to IC4 with the positions P1' to P4 'corrected by the adjustment values as the center positions. After performing the position correction process, ink near-end determination is performed for each of the ink cartridges IC1 to IC4 to detect the ink near-end based on the threshold value Vth 'in the detection range DPR'.

ここで、図8に示すインクカートリッジIC3のように、プリズム170に気泡BABが付着する場合がある。例えば、ユーザーがインクカートリッジICを床に落としてしまった場合等にプリズム170に気泡BABが付着し、インクカートリッジICがそのままの状態でホルダー20に装着されると、気泡BABが付着した状態で検出電圧がサンプリングされる。気泡BABが付着すると、インクIKが満たされている場合であってもプリズム170と空気(気泡BAB)が接するため、入射する照射光Leの一部が全反射されてしまう。   Here, the bubble BAB may adhere to the prism 170 as in the ink cartridge IC3 shown in FIG. For example, when the user drops the ink cartridge IC on the floor, the bubble BAB adheres to the prism 170, and when the ink cartridge IC is attached to the holder 20 as it is, detection is performed with the bubble BAB attached. The voltage is sampled. If the bubble BAB adheres, even if the ink IK is filled, the prism 170 and the air (bubble BAB) are in contact with each other, so that a part of the incident irradiation light Le is totally reflected.

インクカートリッジIC3においてプリズム170に気泡BABが付着した場合、図9に破線で示すように、インクカートリッジIC3の検出電圧に気泡BABによるピークSpbabが発生する。このピークSpbabの大きさは、気泡BABの付着量や付着位置によって変化し、入射面反射によるピークSpk1,Spk2よりも大きくなる(検出電圧が低くなる)場合がある。このような場合には、入射面反射によるピークSpk1,Spk2の中心位置を算出することができない。   When the bubble BAB adheres to the prism 170 in the ink cartridge IC3, as shown by a broken line in FIG. 9, a peak Spbab due to the bubble BAB is generated in the detection voltage of the ink cartridge IC3. The size of the peak Spbab varies depending on the amount and position of the bubble BAB attached, and may be larger than the peaks Spk1 and Spk2 due to incident surface reflection (the detection voltage becomes lower). In such a case, the center positions of the peaks Spk1 and Spk2 due to the incident surface reflection cannot be calculated.

具体的には、ピーク検出において、ピーク電圧が最も小さいピークとして位置P3dのピークSpbabが検出され、その次にピーク電圧が小さいピークとして入射面反射による位置P3aのピークSpk2が検出される。これらの2つのピークの間隔P3d−P3aが所定値よりも小さい場合には、P3a,P3dのいずれかの位置(図9の例ではP3d)のピークが、入射面反射によるピークSpk1,Spk2のいずれでもなく、気泡BABの付着によって生じたピークSpbabであると判断する。   Specifically, in the peak detection, the peak Spbab at the position P3d is detected as the peak with the smallest peak voltage, and the peak Spk2 at the position P3a due to the incident surface reflection is detected as the peak with the next smallest peak voltage. When the interval P3d-P3a between these two peaks is smaller than a predetermined value, the peak at any position of P3a, P3d (P3d in the example of FIG. 9) is any of the peaks Spk1, Spk2 due to the incident surface reflection. Rather, it is determined that the peak Spbab is generated by the adhesion of the bubble BAB.

上述したように、各インクカートリッジIC内のインクIKの残存量は、残存量推定部46によりドットカウントに基づいて推定できる。そのため、例えば、図9に破線で示すようにインクカートリッジIC3においてピークSpbabが発生している場合に、ドットカウントに基づいて推定されるインクIKの残存量からインクカートリッジIC3内にまだインクIKが残存していることがわかる。したがって、ピークSpbabにおける検出電圧がVminに近い値であっても、インクカートリッジIC3についてインクニアエンドであるとは判定されず、ピークSpbabが気泡BABによるものであると判断される。   As described above, the remaining amount of the ink IK in each ink cartridge IC can be estimated by the remaining amount estimation unit 46 based on the dot count. Therefore, for example, when the peak Spbab occurs in the ink cartridge IC3 as shown by the broken line in FIG. 9, the ink IK still remains in the ink cartridge IC3 from the remaining amount of the ink IK estimated based on the dot count. You can see that Therefore, even if the detection voltage at the peak Spbab is a value close to Vmin, it is not determined that the ink cartridge IC3 is in the ink near end, and it is determined that the peak Spbab is due to the bubble BAB.

また、例えばキャリッジCRが存在する印刷部の上にスキャナー部が設けられるタイプの印刷装置において、受光部94が反射光Lr1,Lr2を受光する際にスキャナー部を持ち上げて印刷部が露出した場合等に、入射した外乱光を受光部94が受光してしまうことがある。特に、インクカートリッジIC1〜IC4のうち、ホルダー20の端に装着されるインクカートリッジIC1、IC4のいずれかに外乱光が入射することが想定される。また、受光部94が赤外光を検出する場合、太陽光などの自然光が外乱光となりやすく、蛍光灯などの赤外光をあまり含まない光では外乱光とならないことが想定される。   Further, for example, in a printing apparatus in which a scanner unit is provided on a printing unit where the carriage CR exists, when the light receiving unit 94 receives the reflected lights Lr1 and Lr2, the scanner unit is lifted to expose the printing unit. In addition, the incident light may be received by the light receiving unit 94. In particular, it is assumed that ambient light enters one of the ink cartridges IC1 and IC4 mounted on the end of the holder 20 among the ink cartridges IC1 to IC4. Further, when the light receiving unit 94 detects infrared light, natural light such as sunlight tends to be disturbance light, and it is assumed that light that does not contain much infrared light such as a fluorescent lamp does not become disturbance light.

図示を省略するが、受光部94に外乱光が入射した場合は、図7(b)に示す検出範囲DPRの端に向かって検出電圧値が下降するような波形となる。そのため、外乱光によるピークSpk1,Spk2よりも大きな(検出電圧値が低い)ピークがまず検出され、次にピークSpk1,Spk2の一方が検出される。これらの2つのピークの間隔が所定値よりも大きい場合には、2つのピークのいずれかが、入射面反射によるSpk1,ピークSpk2のいずれでもなく、外乱光によって生じたピークであると判断する。   Although illustration is omitted, when disturbance light is incident on the light receiving unit 94, the detection voltage value decreases toward the end of the detection range DPR shown in FIG. 7B. Therefore, a peak larger than the peaks Spk1 and Spk2 due to disturbance light (detection voltage value is low) is first detected, and then one of the peaks Spk1 and Spk2 is detected. When the interval between these two peaks is larger than a predetermined value, it is determined that one of the two peaks is not one of Spk1 and peak Spk2 due to incident surface reflection but a peak caused by ambient light.

4つのインクカートリッジIC1〜IC4のうち、いずれか一つのインクカートリッジICについて、気泡BABの付着や外乱光により、入射面反射によるピークの中心位置を算出することができない場合、そのインクカートリッジIC(例えば、上述のインクカートリッジIC3)については、上述した調整値の算出対象から除外する。   If any one of the four ink cartridges IC1 to IC4 cannot calculate the center position of the peak due to the incident surface reflection due to the attachment of the bubble BAB or disturbance light, the ink cartridge IC (for example, The above-described ink cartridge IC3) is excluded from the adjustment value calculation target described above.

このような場合、調整値の算出対象から除外したインクカートリッジIC3を除くインクカートリッジIC1,IC2,IC4を対象として中心位置P1c,P2c,P4cを求め、差分P1−P1c,P2−P2c,P4−P4cを求め、それらの差分の平均値を調整値として決定する。この調整値は、調整値の算出対象から除外したインクカートリッジIC3に対しても適用される。すなわち、この調整値を用いて、インクカートリッジIC1〜IC4のすべてに対して、位置P1〜P4に対する位置補正処理が行われる。   In such a case, the center positions P1c, P2c, and P4c are obtained for the ink cartridges IC1, IC2, and IC4 excluding the ink cartridge IC3 that is excluded from the adjustment value calculation targets, and the differences P1-P1c, P2-P2c, P4-P4c are obtained. And an average value of the differences is determined as an adjustment value. This adjustment value is also applied to the ink cartridge IC3 excluded from the adjustment value calculation target. That is, using this adjustment value, the position correction process for the positions P1 to P4 is performed on all of the ink cartridges IC1 to IC4.

一方、4つのインクカートリッジIC1〜IC4のうち、例えば、2つ以上のインクカートリッジICについて、気泡BABの付着や外乱光等により、入射面反射によるピークの中心位置を求めることができない場合は、差分の平均値を算出しない。このような場合、調整値が決定できなかったと判断し、インクカートリッジIC1〜IC4のすべてに対して、位置P1〜P4に対する位置補正処理を行わない。   On the other hand, for the two or more ink cartridges IC4 among the four ink cartridges IC1 to IC4, if the center position of the peak due to the incident surface reflection cannot be obtained due to the adhesion of the bubble BAB or disturbance light, the difference The average value of is not calculated. In such a case, it is determined that the adjustment value could not be determined, and the position correction process for the positions P1 to P4 is not performed for all of the ink cartridges IC1 to IC4.

調整値が決定できなかった場合(位置補正処理を行わなかった場合)は、インクカートリッジIC1〜IC4のすべてに対して、検出範囲DPRにおいて閾値Vthによりインクニアエンド判定が行われる。検出範囲DPRは、検出範囲DPR’を含み検出範囲DPR’よりも広い範囲となる。ただし、後述するように、位置補正処理を行わなかった場合に、その状態で印刷装置10を使用することによりインクIKが消費され、いずれかのインクカートリッジICに対してインクニアエンドが検出された際には、位置補正処理(第2の位置補正処理)が行われる。   When the adjustment value cannot be determined (when the position correction process is not performed), the ink near-end determination is performed for all of the ink cartridges IC1 to IC4 based on the threshold value Vth in the detection range DPR. The detection range DPR includes the detection range DPR 'and is wider than the detection range DPR'. However, as described later, when the position correction process is not performed, the ink IK is consumed by using the printing apparatus 10 in that state, and the ink near end is detected for any of the ink cartridges IC. The position correction process (second position correction process) is performed.

<位置補正処理及びインクニアエンド判定の実行方法>
次に、本実施形態に係る位置補正処理及びインクニアエンド判定の実行方法について説明する。本実施形態では、位置補正処理は、例えば、印刷装置10の電源投入時やインクカートリッジICの交換時等のタイミングで実行される。したがって、印刷装置10の電源投入やインクカートリッジICの交換の都度、位置補正処理を行い、位置が補正された状態でインクニアエンド判定を行うことができる。
<Execution Method of Position Correction Process and Ink Near End Determination>
Next, a method for performing position correction processing and ink near-end determination according to the present embodiment will be described. In the present embodiment, the position correction process is executed, for example, at timing such as when the printing apparatus 10 is turned on or when the ink cartridge IC is replaced. Therefore, the position correction process can be performed every time the printing apparatus 10 is powered on or the ink cartridge IC is replaced, and the ink near-end determination can be performed with the position corrected.

より具体的には、印刷装置10の電源投入やインクカートリッジICの交換の際に、制御部40は、まず、第1の調整としての第1の位置補正処理を実行する。第1の位置補正処理では、上述した通り、ホルダー20と検出部90とを相対的に移動させ、インクカートリッジIC1〜IC4のプリズム170で反射された反射光Lr1,Lr2を受光部94で受光させる。   More specifically, when the printing apparatus 10 is turned on or the ink cartridge IC is replaced, the control unit 40 first executes a first position correction process as a first adjustment. In the first position correction process, as described above, the holder 20 and the detection unit 90 are relatively moved, and the reflected light Lr1 and Lr2 reflected by the prisms 170 of the ink cartridges IC1 to IC4 are received by the light receiving unit 94. .

そして、制御部40は、インクカートリッジIC1〜IC4について、図7(b)に示す検出電圧特性SIKの第1のピークSpk1と第2のピークSpk2とを検出し、上述した差分の平均値を算出して調整値として決定する。制御部40は、決定した調整値を、記憶部50(図2参照)に書き込む。そして、この調整値を位置P1〜P4に加算することで、ロータリーエンコーダーのカウント値に対応する位置と実際のインクカートリッジIC1〜IC4の位置とのずれが補正される。その結果、位置P1’〜P4’がインクカートリッジIC1〜IC4のそれぞれの補正後の中心位置となる。   Then, the control unit 40 detects the first peak Spk1 and the second peak Spk2 of the detection voltage characteristic SIK shown in FIG. 7B for the ink cartridges IC1 to IC4, and calculates the average value of the differences described above. To determine the adjustment value. The control unit 40 writes the determined adjustment value in the storage unit 50 (see FIG. 2). Then, by adding this adjustment value to the positions P1 to P4, the deviation between the position corresponding to the count value of the rotary encoder and the actual position of the ink cartridges IC1 to IC4 is corrected. As a result, the positions P1 'to P4' are the corrected center positions of the ink cartridges IC1 to IC4.

第1の位置補正処理を実行した後、制御部40は、補正された位置P1’〜P4’のそれぞれを基準として、図7(b)に示す第1のピークSpk1と第2のピークSpk2との間に、両者の間隔よりも狭い検出範囲DPR’を設定する。換言すれば、第1の位置補正処理において決定された調整値により、後述する第1のインクニアエンド判定を行う際の検出範囲DPR’の基準となる位置P1〜P4が、位置P1’〜P4’に補正される。   After executing the first position correction process, the control unit 40 uses the corrected positions P1 ′ to P4 ′ as a reference, and the first peak Spk1 and the second peak Spk2 shown in FIG. In the meantime, a detection range DPR ′ narrower than the interval between the two is set. In other words, based on the adjustment value determined in the first position correction process, the positions P1 to P4 that become the reference of the detection range DPR ′ when performing the first ink near-end determination described later are the positions P1 ′ to P4 ′. It is corrected to.

続いて、制御部40は、検出電圧特性SEPに基づいて、検出範囲DPR’において閾値Vth’により、第1の判定としての第1のインクニアエンド判定を実行する。第1のインクニアエンド判定では、第1の位置補正処理により、ロータリーエンコーダーのカウント値に基づいて把握されるインクカートリッジICの位置が、実際のインクカートリッジICの位置に対応するように補正されているので、インクニアエンドの検出精度を向上できる。   Subsequently, the control unit 40 performs the first ink near-end determination as the first determination based on the threshold value Vth ′ in the detection range DPR ′ based on the detection voltage characteristic SEP. In the first ink near end determination, the position of the ink cartridge IC grasped based on the count value of the rotary encoder is corrected by the first position correction process so as to correspond to the actual position of the ink cartridge IC. Therefore, the detection accuracy of the ink near end can be improved.

また、第1のインクニアエンド判定では、閾値Vth’がピークSpk1,Spk2のピーク電圧Vpk1付近に設定されているため、閾値Vthにより判定する場合と比べて、インクニアエンドをより早く検出することができる。これにより、印刷ヘッド35(図2参照)がインクを吐出しない空打ち状態を、より確実に抑止することができる。   In the first ink near-end determination, the threshold Vth ′ is set in the vicinity of the peak voltage Vpk1 of the peaks Spk1 and Spk2, so that the ink near-end can be detected earlier than in the case of determination based on the threshold Vth. . As a result, it is possible to more reliably suppress an idle driving state in which the print head 35 (see FIG. 2) does not eject ink.

次に、第1の位置補正処理において調整値が決定できなかった場合、すなわち、位置P1〜P4の位置ずれに対する補正ができなかった場合は、制御部40は、検出範囲DPR’よりも広い検出範囲DPRにおいて閾値Vthにより、第2の判定としての第2のインクニアエンド判定を実行する。   Next, when the adjustment value cannot be determined in the first position correction process, that is, when the correction of the positional deviations of the positions P1 to P4 cannot be performed, the control unit 40 detects a wider range than the detection range DPR ′. Based on the threshold value Vth in the range DPR, the second ink near end determination as the second determination is executed.

第2のインクニアエンド判定では、ロータリーエンコーダーのカウント値に基づいて把握されるインクカートリッジICの位置が実際のインクカートリッジICの位置からずれている場合でもインクニアエンドが検出できるように、検出範囲をより広い検出範囲DPRに設定する。ただし、第2のインクニアエンド判定では、検出範囲が広がることで、第1のインクニアエンド判定と比べて、インクニアエンドの検出精度は低下する。   In the second ink near end determination, the detection range is further set so that the ink near end can be detected even when the position of the ink cartridge IC grasped based on the count value of the rotary encoder is deviated from the actual position of the ink cartridge IC. A wide detection range DPR is set. However, in the second ink near-end determination, since the detection range is widened, the detection accuracy of the ink near-end is lower than that in the first ink near-end determination.

第2のインクニアエンド判定の実行方法を、図10を参照して説明する。図10は、第1の位置補正処理において調整値が決定できなかった場合の第2のインクニアエンド判定の手法を説明する図である。   A method for executing the second ink near-end determination will be described with reference to FIG. FIG. 10 is a diagram for explaining a second ink near-end determination method when an adjustment value cannot be determined in the first position correction process.

図10(a)に示すSBAは、図8に示すインクカートリッジIC3のように、プリズム170に気泡BABが付着していることによりピークSpbabが発生したため、入射面反射によるピークの中心位置を求めることができなかったインクカートリッジICの検出電圧特性の一例である。なお、図10(a)に示す検出電圧特性SBAでは、図9に示すインクカートリッジIC3の検出電圧と比べて、ピークSpbabの大きさが小さく(検出電圧が高く)なっている。   The SBA shown in FIG. 10A is to obtain the center position of the peak due to the incident surface reflection because the peak Spbab is generated due to the bubble BAB adhering to the prism 170 as in the ink cartridge IC3 shown in FIG. It is an example of the detection voltage characteristic of the ink cartridge IC which was not able to perform. In the detection voltage characteristic SBA shown in FIG. 10A, the magnitude of the peak Spbab is small (the detection voltage is high) compared to the detection voltage of the ink cartridge IC3 shown in FIG.

検出電圧特性SBAは、気泡BABのためプリズム170と空気が接して入射光の一部が全反射された反射光Lr1を受光して検出部90から出力される検出電圧と、底面170cで反射された反射光Lr2を受光して検出部90から出力される検出電圧とで構成されている。検出電圧特性SBAのうち、ピークSpbabの部分は、気泡BABのためプリズム170で全反射された反射光Lr1による検出電圧に相当する部分である。   The detection voltage characteristic SBA is reflected by the bottom surface 170c and the detection voltage output from the detection unit 90 by receiving the reflected light Lr1 in which the prism 170 is in contact with the air due to the bubble BAB and a part of the incident light is totally reflected. And a detection voltage output from the detector 90 upon receiving the reflected light Lr2. In the detection voltage characteristic SBA, the portion of the peak Spbab is a portion corresponding to the detection voltage by the reflected light Lr1 totally reflected by the prism 170 due to the bubble BAB.

図10(b)には、図10(a)に示す状態から印刷装置10の印刷を繰り返すこと等により、インクカートリッジIC内のインクIKの残存量が低下した状態におけるインクカートリッジICの検出電圧特性SBAを示している。図10(b)に示す検出電圧特性SBAでは、気泡BABの付着に加えてインクIKの残存量の低下により、プリズム170で全反射された反射光Lr1の受光量が増加することで、図10(a)に示す状態よりもピークSpbabの大きさが大きく(検出電圧が低く)なっている。   FIG. 10B shows the detected voltage characteristics of the ink cartridge IC in a state where the remaining amount of the ink IK in the ink cartridge IC is reduced by repeating printing of the printing apparatus 10 from the state shown in FIG. SBA is shown. In the detection voltage characteristic SBA shown in FIG. 10B, the received light amount of the reflected light Lr1 totally reflected by the prism 170 increases due to the decrease in the remaining amount of the ink IK in addition to the adhesion of the bubble BAB. The magnitude of the peak Spbab is larger (detection voltage is lower) than in the state shown in (a).

図10(b)に示す検出電圧特性SBAのピークSpbabの部分における検出電圧は閾値Vthよりも小さいので、この状態において第2のインクニアエンド判定を実行すると、インクニアエンドであると判定される。第2のインクニアエンド判定においては、ピークSpk1,Spk2のピーク電圧Vpk1に対して閾値Vth’よりも低い閾値Vthにより判定されるため、第1のインクニアエンド判定と比べてインクニアエンドが検出されるタイミングは遅くなる。   Since the detection voltage at the peak Spbab portion of the detection voltage characteristic SBA shown in FIG. 10B is smaller than the threshold value Vth, when the second ink near end determination is executed in this state, it is determined that the ink near end has occurred. In the second ink near-end determination, since the determination is based on the threshold Vth lower than the threshold Vth ′ with respect to the peak voltage Vpk1 of the peaks Spk1 and Spk2, the timing at which the ink near-end is detected as compared with the first ink near-end determination. Will be late.

ところで、特許文献1に記載の印刷装置では、位置補正処理(本実施形態の第1の位置補正処理)において位置補正ができなかった場合、インクIKの消費量から推定される推定残存量に基づいてインクニアエンド判定が行われる。しかしながら、ドットカウントによる推定残存量と実際の残存量との誤差が大きい場合に、インクIKの残存量が低下したと判定される前にインクIKが無くなり、インクを吐出しない空打ち状態となるおそれがある。   By the way, in the printing apparatus described in Patent Document 1, when position correction cannot be performed in the position correction processing (first position correction processing of the present embodiment), it is based on the estimated remaining amount estimated from the consumption amount of ink IK. Ink near-end determination is performed. However, if there is a large error between the estimated remaining amount by the dot count and the actual remaining amount, the ink IK may be exhausted before it is determined that the remaining amount of the ink IK has been reduced, and a blanking state in which ink is not discharged may occur. There is.

これに対して、本実施形態では、第1の位置補正処理において位置補正ができなかった場合でも、第2のインクニアエンド判定を実行し、検出部90から出力される検出電圧特性SBAに基づいて閾値Vthにより判定するため、確実にインクニアエンドを検出することができる。   On the other hand, in the present embodiment, even when the position correction cannot be performed in the first position correction process, the second ink near-end determination is executed and based on the detected voltage characteristic SBA output from the detection unit 90. Since the determination is made based on the threshold value Vth, the ink near end can be reliably detected.

続いて、第2のインクニアエンド判定でインクニアエンドであると判定された場合に、制御部40は、インクカートリッジIC1〜IC4の位置ずれを補正するため、第2の調整としての第2の位置補正処理を実行する。第2の位置補正処理は、インクニアエンドであると判定されたインクカートリッジICに対して、インクニアエンドと判定された際の検出電圧特性SBAに基づいて実行される。   Subsequently, when it is determined in the second ink near-end determination that the ink near-end is reached, the control unit 40 corrects the positional deviation of the ink cartridges IC1 to IC4, so that the second position correction as the second adjustment is performed. Execute the process. The second position correction process is executed on the ink cartridge IC determined to be ink near-end based on the detected voltage characteristic SBA when determined to be ink near-end.

第2の位置補正処理では、制御部40は、図10(b)に示す検出電圧特性SBAが閾値Vthを横切る第1のポイントの位置Pnaと第2のポイントの位置Pnbとの中心位置Pnc(PnaとPnbとの平均値)を求める。そして、その平均値とキャリッジCRの設計値に基づくカウント値との差分を調整値として決定する。決定された調整値は、記憶部50(図2参照)に書き込まれる。このように、第2の位置補正処理では、閾値Vthを横切る2つのポイントの間隔に基づいて調整値が決定される。   In the second position correction process, the control unit 40 determines the center position Pnc () of the position Pna of the first point and the position Pnb of the second point at which the detected voltage characteristic SBA shown in FIG. (Average value of Pna and Pnb). Then, the difference between the average value and the count value based on the design value of the carriage CR is determined as the adjustment value. The determined adjustment value is written in the storage unit 50 (see FIG. 2). Thus, in the second position correction process, the adjustment value is determined based on the interval between two points that cross the threshold value Vth.

また、第2の位置補正処理では、インクニアエンドであると判定されたインクカートリッジICを対象として調整値を決定する。決定された調整値は、他のインクカートリッジICにも適用される。すなわち、第2の位置補正処理では、インクニアエンドと判定されたインクカートリッジICを対象として設定された調整値により、すべてのインクカートリッジIC1〜IC4の位置が補正される。第2の位置補正処理が行われた後は、インクニアエンド判定における検出範囲が検出範囲DPRよりも狭い検出範囲DPR’に設定され、閾値が閾値Vthよりも大きい閾値Vth’に設定される。   In the second position correction process, an adjustment value is determined for the ink cartridge IC that is determined to be ink near-end. The determined adjustment value is also applied to other ink cartridge ICs. That is, in the second position correction process, the positions of all the ink cartridges IC1 to IC4 are corrected by the adjustment value set for the ink cartridge IC determined to be ink near-end. After the second position correction process is performed, the detection range in the ink near-end determination is set to a detection range DPR ′ that is narrower than the detection range DPR, and the threshold value is set to a threshold value Vth ′ that is larger than the threshold value Vth.

上述したように、第2の位置補正処理では、インクIKの残存量が低下してからプリズム170で全反射された反射光Lr1に基づいて調整値を決定する。そのため、インクIKが十分に残留している状態でプリズム170の底面170cからの反射光Lr2に基づいて実行する第1の位置補正処理と比べて、より高精度に調整値を決定して位置ずれを補正することが可能である。   As described above, in the second position correction process, the adjustment value is determined based on the reflected light Lr1 totally reflected by the prism 170 after the remaining amount of the ink IK decreases. For this reason, the adjustment value is determined with higher accuracy than the first position correction processing that is executed based on the reflected light Lr2 from the bottom surface 170c of the prism 170 in a state where the ink IK remains sufficiently. Can be corrected.

第1のインクニアエンド判定及び第2のインクニアエンド判定は、上述したように、印刷装置10の電源投入時やインクカートリッジICの交換時等のタイミングで実行されるほかに、例えば、印刷ジョブの間や印刷中の所定タイミング等で実行される。これらのいずれのタイミングで実施されるかに関わらず、検出範囲DPR’において閾値Vth’により実行される判定が第1のインクニアエンド判定であり、検出範囲DPRにおいて閾値Vthにより実行される判定が第2のインクニアエンド判定であるということができる。   As described above, the first ink near-end determination and the second ink near-end determination are performed at a timing such as when the printing apparatus 10 is turned on or when the ink cartridge IC is replaced. Or at a predetermined timing during printing. Regardless of which timing is performed, the determination executed by the threshold value Vth ′ in the detection range DPR ′ is the first ink near-end determination, and the determination executed by the threshold value Vth in the detection range DPR is the first. It can be said that the ink near-end determination of 2 is made.

第1のインクニアエンド判定及び第2のインクニアエンド判定でインクニアエンドであると判定され、その後、残存量推定部46のドットカウントによりインクカートリッジICが空になったと判定されると、印刷が実行されなくなる。また、第1の判定及び第2の判定としてインクエンドを判定する場合は、インクエンドであると判定された時点で印刷が実行されなくなる。印刷が実行されなくなった場合には、インクカートリッジICの交換が必要となり、ユーザーがインクカートリッジICを交換すると第1の位置補正処理が実行される。   When it is determined that the ink near end is determined by the first ink near end determination and the second ink near end determination, and then it is determined by the dot count of the remaining amount estimation unit 46 that the ink cartridge IC is empty, printing is executed. Disappear. Further, when the ink end is determined as the first determination and the second determination, printing is not executed when it is determined that the ink end is reached. When printing is not executed, the ink cartridge IC needs to be replaced. When the user replaces the ink cartridge IC, the first position correction process is executed.

なお、ユーザーがインクカートリッジICを落下させてしまったためにプリズム170に気泡BABが付着した場合、時間の経過に伴って気泡BABが減少すると考えられる。また、スキャナー部が設けられるタイプの印刷装置において、スキャナー部を持ち上げて印刷部が露出したために外乱光が入射した場合、印刷部が露出しない状態とすることで外乱光の入射を抑えることができる。したがって、気泡BABや外乱光により第1の位置補正処理で調整値が決定できなかった場合でも、次に印刷装置10の電源を投入した際に実行される第1の位置補正処理で調整値を決定できる場合がある。   In addition, when the bubble BAB adheres to the prism 170 because the user has dropped the ink cartridge IC, it is considered that the bubble BAB decreases with the passage of time. Further, in a printing apparatus of a type provided with a scanner unit, when disturbance light is incident because the scanner unit is lifted and the printing unit is exposed, incidence of disturbance light can be suppressed by preventing the printing unit from being exposed. . Therefore, even if the adjustment value cannot be determined by the first position correction process due to the bubble BAB or ambient light, the adjustment value is set by the first position correction process that is executed when the printing apparatus 10 is turned on next time. Sometimes it can be determined.

以上説明したように、本実施形態に係る印刷装置10の構成によれば、電源投入やインクカートリッジICの交換の際に実行される第1の位置補正処理で調整値を決定できなかった場合でも、インクニアエンドが検出された時点で実行される第2の位置補正処理により調整値を決定して、位置ずれを補正することができる。したがって、印刷装置10を繰り返し使用して第1の位置補正処理ができない状態が続いたとしても、少なくともいずれかのインクカートリッジIC内のインクが消費されれば、第2の位置補正処理が行われ位置ずれを補正できることとなる。   As described above, according to the configuration of the printing apparatus 10 according to the present embodiment, even when the adjustment value cannot be determined by the first position correction process executed when the power is turned on or the ink cartridge IC is replaced. The adjustment value can be determined by the second position correction process executed when the ink near end is detected, and the positional deviation can be corrected. Therefore, even if the printing apparatus 10 is repeatedly used and the first position correction process cannot be performed, the second position correction process is performed as long as at least one of the ink in the ink cartridge IC is consumed. The positional deviation can be corrected.

発光部92の発光量や受光部94の受光量が低下する原因となる、検出部90へのインクミストの付着や、発光部92(発光素子)及び受光部94(受光素子)の特性劣化は、印刷装置10を繰り返し使用しているうちに経時的に生じるものである。通常の使用形態であれば、発光部92の発光量や受光部94の受光量が低下するまでには、印刷装置10の電源ON/OFFが何度も繰り返され、インクカートリッジICが交換されるので、第1の位置補正処理及び第2の位置補正処理の少なくとも一方を行うことができる。また、発光部92の発光量や受光部94の受光量が十分である間は、仮に第1の位置補正処理及び第2の位置補正処理ができなかったとしても、インクニアエンド判定の精度はそれほど低下しない。   Adhesion of ink mist to the detection unit 90 and deterioration in characteristics of the light emitting unit 92 (light emitting element) and the light receiving unit 94 (light receiving element), which cause the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 to decrease, This occurs over time while the printing apparatus 10 is repeatedly used. In the normal usage mode, the power ON / OFF of the printing apparatus 10 is repeated many times and the ink cartridge IC is replaced until the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 decrease. Therefore, at least one of the first position correction process and the second position correction process can be performed. Further, while the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 are sufficient, even if the first position correction process and the second position correction process cannot be performed, the accuracy of the ink near end determination is not so much. It will not decline.

なお、第1の位置補正処理及び第2の位置補正処理により決定された調整値は、記憶部50に書き込まれる。一旦決定された調整値が記憶部50に書き込まれていれば、新たに調整値が決定できなかった場合でも、記憶部50に書き込まれている調整値を読み出して位置ずれを補正することが可能となる。したがって、例えば、発光部92の発光量や受光部94の受光量が低下して第1の位置補正処理及び第2の位置補正処理で調整値が決定できなくなった場合でも、過去に決定された調整値により位置ずれを補正して、インクニアエンド判定を精度良く行うこともできる。   The adjustment values determined by the first position correction process and the second position correction process are written in the storage unit 50. If the adjustment value once determined is written in the storage unit 50, it is possible to read out the adjustment value written in the storage unit 50 and correct the misalignment even when a new adjustment value cannot be determined. It becomes. Therefore, for example, even when the light emission amount of the light emitting unit 92 and the light reception amount of the light receiving unit 94 are decreased and the adjustment value cannot be determined in the first position correction process and the second position correction process, it has been determined in the past. Ink near-end determination can also be performed with high accuracy by correcting the positional deviation by the adjustment value.

上述した実施形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形及び応用が可能である。変形例としては、例えば、以下のようなものが考えられる。   The above-described embodiments merely show one aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention. As modifications, for example, the following can be considered.

(変形例1)
例えば、上記の実施形態では、4つのインクカートリッジIC1〜IC4のうち、2つ以上のインクカートリッジICについて入射面反射によるピークの中心位置を求めることができず調整値が決定できなかった場合に位置補正処理を行わないこととしたが、本発明はこのような形態に限定されない。例えば、2つまでのインクカートリッジICについてピークの中心位置を求めることができれば調整値を決定して位置補正処理を行い、3つ以上のインクカートリッジICについてピークの中心位置を求めることができない場合に、位置補正処理を行わないこととしてもよい。また、4つのインクカートリッジICについてピークの中心位置を求めることができた場合であっても、それぞれのインクカートリッジICについて求めたピークの中心位置とキャリッジCRの設計値に基づくカウント値との差分のばらつきが所定の範囲よりも大きい場合に、位置補正処理を行わないこととしてもよい。
(Modification 1)
For example, in the above-described embodiment, when the center position of the peak due to the incident surface reflection cannot be obtained and the adjustment value cannot be determined for two or more of the four ink cartridges IC1 to IC4. Although the correction process is not performed, the present invention is not limited to such a form. For example, if the peak center position can be obtained for up to two ink cartridges IC, the adjustment value is determined and position correction processing is performed, and the peak center position cannot be obtained for three or more ink cartridge ICs. The position correction process may not be performed. Even if the peak center position can be obtained for the four ink cartridges IC, the difference between the peak center position obtained for each ink cartridge IC and the count value based on the design value of the carriage CR. When the variation is larger than the predetermined range, the position correction process may not be performed.

(変形例2)
本実施形態では、位置補正処理で調整値が決定できた場合には、インクニアエンドの検出範囲を、調整値により調整された中心値を中心として位置補正処理の際の検出範囲(検出範囲DPR)よりも狭い検出範囲DPR’に設定したが、インクニアエンドの検出範囲の設定はこれに限定されない。例えば、インクニアエンドの検出範囲(第1の範囲)を、調整値により調整された中心値を中心として、位置補正処理の際の検出範囲と同じ長さの範囲で設定するものとしてもよい。
(Modification 2)
In the present embodiment, when the adjustment value can be determined by the position correction process, the detection range of the ink near end is set to the detection range (detection range DPR) for the position correction process with the center value adjusted by the adjustment value as the center. Although the detection range is set to be narrower than the detection range DPR ′, the setting of the detection range of the ink near end is not limited to this. For example, the ink near-end detection range (first range) may be set within a range having the same length as the detection range in the position correction process, with the center value adjusted by the adjustment value as the center.

(変形例3)
上記の実施形態では、ホルダー20に4つのインクカートリッジICが装着される構成であったが、本発明はこのような形態に限定されない。ホルダー20に装着されるインクカートリッジICの数は、4つ以外であってもよい。なお、ホルダー20に装着されるインクカートリッジICの数が4つ以外である場合、そのうちの何個のインクカートリッジICについて中心位置を求めることができた場合に調整値を決定して位置補正処理を行うかは、適宜定めることができる。
(Modification 3)
In the above embodiment, the four ink cartridges IC are mounted on the holder 20, but the present invention is not limited to such a form. The number of ink cartridges IC mounted on the holder 20 may be other than four. When the number of ink cartridges IC mounted in the holder 20 is other than four, when the center position can be obtained for how many of the ink cartridges IC, the adjustment value is determined and the position correction process is performed. Whether to do it can be determined as appropriate.

(変形例4)
ホルダー20において、開口部22から主走査方向HDに所定の距離離れた位置に、入射光を全反射可能なミラー等で形成された反射部が設けられた構成としてもよい。このような反射部を設けることで、ホルダー20の往復移動によって反射部が検出部90の直上に位置するとき、発光部92からの照射光が反射部に入射すると、反射部で全反射された反射光が受光部94に入射する。反射部の位置をロータリーエンコーダーの所定のカウント値に対応させておくことで、検出部90から出力される検出電圧から反射部で全反射された反射光によるピークを検出し、その検出したピーク位置(反射部の中心位置)を基準として、キャリッジCRの位置ずれを補正することができる。そして、さらに上記実施形態の各インクカートリッジICの検出電圧に基づいてプリズム170の中心位置を補正することで、位置補正の精度をより向上させることが可能となる。
(Modification 4)
The holder 20 may have a configuration in which a reflection portion formed of a mirror or the like capable of totally reflecting incident light is provided at a position away from the opening 22 in the main scanning direction HD by a predetermined distance. By providing such a reflection portion, when the reflection portion is positioned immediately above the detection portion 90 by the reciprocating movement of the holder 20, when the irradiation light from the light emitting portion 92 enters the reflection portion, the reflection portion is totally reflected by the reflection portion. The reflected light enters the light receiving unit 94. By making the position of the reflecting portion correspond to the predetermined count value of the rotary encoder, the peak due to the reflected light totally reflected by the reflecting portion is detected from the detection voltage output from the detecting portion 90, and the detected peak position The positional deviation of the carriage CR can be corrected with the (center position of the reflecting portion) as a reference. Further, by correcting the center position of the prism 170 based on the detection voltage of each ink cartridge IC of the above embodiment, the accuracy of position correction can be further improved.

(変形例5)
上記の実施形態では、ホルダー20において開口部22が底部21に設けられた構成を有していたが、本発明はこのような形態に限定されない。開口部22は、プリズム170と検出部90とが対向する位置に設けられていればよく、例えば、ホルダー20の側部に設けられていてもよい。
(Modification 5)
In the above-described embodiment, the holder 20 has a configuration in which the opening 22 is provided in the bottom 21, but the present invention is not limited to such a form. The opening 22 only needs to be provided at a position where the prism 170 and the detection unit 90 face each other. For example, the opening 22 may be provided on the side of the holder 20.

(変形例6)
上記の実施形態では、検出部90の備える発光部92及び受光部94は、キャリッジCRが移動する主走査方向HD(Y軸方向)に沿って並ぶように配置された構成を有していたが、本発明はこのような形態に限定されない。例えば、発光部92及び受光部94が主走査方向HDと直交する方向(X軸方向)に沿って並ぶように配置された構成を有していてもよい。
(Modification 6)
In the above embodiment, the light emitting unit 92 and the light receiving unit 94 included in the detection unit 90 have a configuration arranged so as to be aligned along the main scanning direction HD (Y-axis direction) in which the carriage CR moves. The present invention is not limited to such a form. For example, the light emitting unit 92 and the light receiving unit 94 may be configured to be arranged along a direction (X-axis direction) orthogonal to the main scanning direction HD.

(変形例7)
上記の実施形態では、インクカートリッジIC1〜IC4を着脱可能なホルダー20を搭載したキャリッジCRが移動し、検出部90が印刷装置本体に固定される場合を例に説明したが、本発明はこのような形態に限定されない。例えば、検出部90を搭載したキャリッジCRが移動し、インクカートリッジIC1〜IC4を着脱可能なホルダー20が印刷装置本体に固定されてもよく、インクカートリッジIC1〜IC4と検出部90とが相対的に移動する構成であればよい。また、ホルダー20が固定されており、印刷ヘッド35を備えるキャリッジCRに検出部90が配置された構成であってもよい。
(Modification 7)
In the above-described embodiment, the case where the carriage CR on which the holder 20 to which the ink cartridges IC1 to IC4 are detachable is moved and the detection unit 90 is fixed to the printing apparatus main body has been described as an example. It is not limited to any form. For example, the carriage CR on which the detection unit 90 is mounted may move, and the holder 20 to which the ink cartridges IC1 to IC4 can be attached and detached may be fixed to the printing apparatus main body, and the ink cartridges IC1 to IC4 and the detection unit 90 are relatively positioned. Any configuration that moves is acceptable. Alternatively, the holder 20 may be fixed, and the detection unit 90 may be disposed on a carriage CR including the print head 35.

(変形例8)
上記の実施形態では、本発明を印刷装置とインクカートリッジとに適用した例を説明したが、本発明はこのような形態に限定されない。本発明は、例えば、インク以外の他の液体を噴射したり吐出したりする液体消費装置に用いてもよく、また、そのような液体を収容した液体容器にも適用可能である。また、本発明の液体容器は、微小量の液滴を吐出させる液体噴射ヘッド等を備える各種の液体消費装置に流用可能である。「液滴」とは、上記液体消費装置から吐出される液体の状態をいい、粒状、涙状、糸状に尾を引くものも含むものとする。また、ここでいう「液体」とは、液体消費装置が噴射させることができるような材料であれよい。例えば、物質が液相であるときの状態のものであればよく、粘性の高い又は低い液状態、ゾル、ゲル水、その他の無機溶剤、有機溶剤、溶液、液状樹脂、液状金属(金属融液)のような流状態、また物質の一状態としての液体のみならず、顔料や金属粒子等の固形物からなる機能材料の粒子が溶媒に溶解、分散又は混合されたもの等を含む。また、液体の代表的な例としては上記実施形態で説明したようなインクや、液晶等が挙げられる。ここで、インクとは一般的な水性インク及び油性インク並びにジェルインク、ホットメルトインク等の各種液体組成物を包含するものとする。液体消費装置の具体例としては、例えば、液晶ディスプレイ、EL(エレクトロルミネッセンス)ディスプレイ、面発光ディスプレイ、カラーフィルターの製造等に用いられる電極材や色材等の材料を分散又は溶解のかたちで含む液体を噴射する液体消費装置、バイオチップ製造に用いられる生体有機物を噴射する液体消費装置、精密ピペットとして用いられ試料となる液体を噴射する液体消費装置であってもよい。更に、時計やカメラ等の精密機械にピンポイントで潤滑油を噴射する液体消費装置、光通信素子等に用いられる微小半球レンズ(光学レンズ)等を形成するために紫外線硬化樹脂等の透明樹脂液を基板上に噴射する液体消費装置、基板等をエッチングするために酸又はアルカリ等のエッチング液を噴射する液体消費装置を採用してもよい。
(Modification 8)
In the above embodiment, an example in which the present invention is applied to a printing apparatus and an ink cartridge has been described, but the present invention is not limited to such a form. The present invention may be used, for example, in a liquid consuming apparatus that ejects or discharges liquid other than ink, and is also applicable to a liquid container that contains such liquid. In addition, the liquid container of the present invention can be used for various liquid consuming apparatuses including a liquid ejecting head that discharges a minute amount of liquid droplets. “Droplet” refers to the state of the liquid ejected from the liquid consuming apparatus, and includes those that have a tail in the form of particles, tears, or threads. In addition, the “liquid” referred to here may be a material that can be ejected by the liquid consuming device. For example, it may be in the state when the substance is in a liquid phase, such as a liquid state with high or low viscosity, sol, gel water, other inorganic solvents, organic solvents, solutions, liquid resins, liquid metals (metal melts ) And a liquid as one state of the substance, as well as those in which particles of a functional material made of solid materials such as pigments and metal particles are dissolved, dispersed or mixed in a solvent. Further, typical examples of the liquid include ink as described in the above embodiment, liquid crystal, and the like. Here, the ink includes general water-based inks and oil-based inks, and various liquid compositions such as gel inks and hot melt inks. Specific examples of the liquid consuming device include, for example, a liquid containing a material such as an electrode material or a color material used for manufacturing a liquid crystal display, an EL (electroluminescence) display, a surface light emitting display, a color filter, or the like in a dispersed or dissolved state. It may be a liquid consuming device for injecting a liquid, a liquid consuming device for injecting a bio-organic material used for biochip manufacturing, or a liquid consuming device for injecting a liquid as a sample used as a precision pipette. Furthermore, a transparent resin liquid such as an ultraviolet curable resin is used to form a liquid consuming device that injects lubricating oil pinpoint into precision machines such as watches and cameras, and a micro hemispherical lens (optical lens) used for optical communication elements. A liquid consuming device that jets a liquid onto the substrate, or a liquid consuming device that jets an etching solution such as acid or alkali to etch the substrate or the like may be employed.

10…印刷装置(液体消費装置)、20…ホルダー、22…開口部、22a…開口部(第2の部分)、22b…開口部(第1の部分)、23…遮光部、33…キャリッジモーター(移動部)、40…制御部、50…記憶部、90…検出部、92…発光部、94…受光部、170…プリズム、170c…底面(入射面)、DPR…検出範囲(第2の範囲)、DPR’…検出範囲(第1の範囲)、HD…主走査方向(第1の方向)、IC,IC1〜IC4…インクカートリッジ(液体収容部)、IK…インク(液体)、Lr1,Lr2…反射光、SBA,SEP,SIK…検出電圧特性(検出信号)、Spk1…ピーク(第1のピーク)、Spk2…ピーク(第2のピーク)。   DESCRIPTION OF SYMBOLS 10 ... Printing apparatus (liquid consumption apparatus), 20 ... Holder, 22 ... Opening part, 22a ... Opening part (2nd part), 22b ... Opening part (1st part), 23 ... Light-shielding part, 33 ... Carriage motor (Moving unit), 40 ... control unit, 50 ... storage unit, 90 ... detecting unit, 92 ... light emitting unit, 94 ... light receiving unit, 170 ... prism, 170c ... bottom surface (incident surface), DPR ... detection range (second) Range), DPR '... detection range (first range), HD ... main scanning direction (first direction), IC, IC1 to IC4 ... ink cartridge (liquid container), IK ... ink (liquid), Lr1, Lr2 ... reflected light, SBA, SEP, SIK ... detection voltage characteristics (detection signal), Spk1 ... peak (first peak), Spk2 ... peak (second peak).

Claims (8)

光を照射する発光部と、前記発光部から照射された前記光の反射光の受光量に応じて検出信号を出力する受光部と、を有する検出部と、
液体を収容し、前記発光部から照射された前記光が入射する入射面を有し前記光を前記液体の残存状態に応じて反射するプリズムが配置された液体収容部と、
前記液体収容部を着脱可能に保持するホルダーと、
前記ホルダーと前記検出部とを第1の方向に沿って相対的に移動させる移動部と、
制御部と、を備え、
前記制御部は、
前記液体収容部が前記ホルダーに装着された状態で、
前記検出部と前記プリズムとが対向する位置関係となる第1の範囲において、前記プリズムで反射された前記反射光の受光量に応じて前記受光部から出力された前記検出信号に基づいて、前記液体の残存状態を判定する第1の判定と、
前記ホルダーと前記検出部とを前記移動部により相対的に移動させたときに、前記受光部から出力された前記検出信号に基づいて、前記第1の範囲を設定するための調整値を決定する第1の調整と、
前記第1の調整において前記調整値を決定できなかった場合に、第2の範囲において、前記受光部から出力された前記検出信号に基づいて、前記液体の残存状態を判定する第2の判定と、
前記第2の判定で前記液体が残存しないと判定された場合に、前記第2の判定を実行した際の前記検出信号に基づいて、前記調整値を決定する第2の調整と、
を実行可能に構成されていることを特徴とする液体消費装置。
A detection unit comprising: a light emitting unit that emits light; and a light receiving unit that outputs a detection signal in accordance with the amount of received light of the reflected light of the light emitted from the light emitting unit;
A liquid storage portion that contains a liquid and has a light incident surface on which the light emitted from the light emitting portion is incident, and a prism that reflects the light according to a remaining state of the liquid;
A holder for detachably holding the liquid container;
A moving unit that relatively moves the holder and the detecting unit along a first direction;
A control unit,
The controller is
With the liquid container mounted on the holder,
Based on the detection signal output from the light receiving unit according to the amount of received light of the reflected light reflected by the prism in a first range in which the detection unit and the prism are opposed to each other. A first determination for determining the remaining state of the liquid;
When the holder and the detection unit are relatively moved by the moving unit, an adjustment value for setting the first range is determined based on the detection signal output from the light receiving unit. A first adjustment;
A second determination for determining a remaining state of the liquid based on the detection signal output from the light receiving unit in a second range when the adjustment value cannot be determined in the first adjustment; ,
A second adjustment for determining the adjustment value based on the detection signal when the second determination is executed when it is determined in the second determination that the liquid does not remain;
It is comprised so that execution is possible, The liquid consumption apparatus characterized by the above-mentioned.
請求項1に記載の液体消費装置であって、
前記制御部は、
前記液体消費装置の電源が投入されたとき、または、前記液体収容部が交換されたときに、前記第1の調整を実行することを特徴とする液体消費装置。
The liquid consuming device according to claim 1,
The controller is
The liquid consumption apparatus according to claim 1, wherein the first adjustment is performed when the power of the liquid consumption apparatus is turned on or when the liquid storage unit is replaced.
請求項1または2に記載の液体消費装置であって、
不揮発的に、かつ、書き換え可能に情報を記憶するための記憶部を備え、
前記制御部は、前記調整値を前記記憶部に書き込むことを特徴とする液体消費装置。
The liquid consuming device according to claim 1 or 2,
A storage unit for storing information in a nonvolatile and rewritable manner,
The liquid consumption apparatus, wherein the control unit writes the adjustment value in the storage unit.
請求項1から3のいずれか一項に記載の液体消費装置であって、
前記ホルダーは、
複数の前記液体収容部を着脱可能に保持し、
前記検出部に対向する面における前記プリズムの各々の前記入射面と対向する位置に設けられた開口部と、前記開口部の一部を塞ぎ前記開口部を前記第1の方向に沿って並ぶ第1の部分と第2の部分とに分割するように設けられた遮光部と、を有し、
前記制御部は、
前記第1の調整において、
前記検出信号における、前記第1の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第1のピークの位置と、前記第2の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第2のピークの位置と、の間隔に基づいて前記調整値を決定するとともに、
前記第1の範囲を、前記第1のピークの位置と前記第2のピークの位置との間隔よりも狭い範囲に設定することを特徴とする液体消費装置。
The liquid consuming device according to any one of claims 1 to 3,
The holder is
A plurality of the liquid storage portions are detachably held,
An opening provided at a position facing the incident surface of each of the prisms on a surface facing the detection unit, a part of the opening being blocked, and the opening aligned in the first direction. A light shielding portion provided so as to be divided into a first portion and a second portion,
The controller is
In the first adjustment,
In the detection signal, the position of the first peak based on the amount of received light of the reflected light that is incident from the first portion and reflected by the incident surface, and the incident surface is incident from the second portion. While determining the adjustment value based on the interval between the second peak position based on the amount of received reflected light, and the second peak position,
The liquid consuming apparatus, wherein the first range is set to a range narrower than an interval between the position of the first peak and the position of the second peak.
請求項4に記載の液体消費装置であって、
前記制御部は、
前記第2の範囲を、前記第1のピークの位置と前記第2のピークの位置とを含み、前記第1のピークの位置と前記第2のピークの位置との間隔よりも広い範囲に設定することを特徴とする液体消費装置。
The liquid consuming device according to claim 4,
The controller is
The second range includes a position of the first peak and a position of the second peak, and is set to a range wider than an interval between the position of the first peak and the position of the second peak. A liquid consuming device.
請求項1から5のいずれか一項に記載の液体消費装置であって、
前記制御部は、
前記ホルダーと前記検出部とを前記移動部により相対的に往復移動させて往路と復路とにおいて前記第1の調整を実行し、
前記調整値を、前記往路と前記復路とにおいて個別に決定することを特徴とする液体消費装置。
A liquid consuming device according to any one of claims 1 to 5,
The controller is
The holder and the detection unit are reciprocated relatively by the moving unit to perform the first adjustment in the forward path and the return path,
The liquid consumption apparatus according to claim 1, wherein the adjustment value is individually determined for the forward path and the backward path.
請求項1から6のいずれか一項に記載の液体消費装置であって、
前記制御部は、
前記第2の調整において、前記第2の判定で前記液体が残存しないと判定された際の、前記検出信号が所定の閾値を横切る第1のポイントの位置と第2のポイントの位置との間隔に基づいて前記調整値を決定することを特徴とする液体消費装置。
The liquid consuming device according to any one of claims 1 to 6,
The controller is
In the second adjustment, an interval between the position of the first point and the position of the second point at which the detection signal crosses a predetermined threshold when it is determined in the second determination that the liquid does not remain. The liquid consuming apparatus, wherein the adjustment value is determined based on
請求項1から3、6、7のいずれか一項に記載の液体消費装置であって、
前記ホルダーは、
複数の前記液体収容部を着脱可能に保持し、
前記検出部に対向する面における前記プリズムの各々の前記入射面と対向する位置に設けられた開口部と、前記開口部の一部を塞ぎ前記開口部を前記第1の方向に沿って並ぶ第1の部分と第2の部分とに分割するように設けられた遮光部と、を有し、
前記制御部は、
前記第1の調整において、
前記検出信号における、前記第1の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第1のピークの位置と、前記第2の部分から入射して前記入射面で反射された前記反射光の受光量に基づく第2のピークの位置と、の間隔に基づいて前記調整値を決定するとともに、
前記第1の範囲および前記第2の範囲を、前記第1のピークの位置と前記第2のピークの位置とを含む範囲に設定することを特徴とする液体消費装置。
The liquid consuming device according to any one of claims 1 to 3, 6, and 7,
The holder is
A plurality of the liquid storage portions are detachably held,
An opening provided at a position facing the incident surface of each of the prisms on a surface facing the detection unit, a part of the opening being blocked, and the opening aligned in the first direction. A light shielding portion provided so as to be divided into a first portion and a second portion,
The controller is
In the first adjustment,
In the detection signal, the position of the first peak based on the amount of received light of the reflected light that is incident from the first portion and reflected by the incident surface, and the incident surface is incident from the second portion. While determining the adjustment value based on the interval between the second peak position based on the amount of received reflected light, and the second peak position,
The liquid consuming apparatus, wherein the first range and the second range are set to a range including the position of the first peak and the position of the second peak.
JP2014068235A 2014-03-28 2014-03-28 Liquid consumption device Pending JP2015189100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014068235A JP2015189100A (en) 2014-03-28 2014-03-28 Liquid consumption device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014068235A JP2015189100A (en) 2014-03-28 2014-03-28 Liquid consumption device

Publications (1)

Publication Number Publication Date
JP2015189100A true JP2015189100A (en) 2015-11-02

Family

ID=54424040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014068235A Pending JP2015189100A (en) 2014-03-28 2014-03-28 Liquid consumption device

Country Status (1)

Country Link
JP (1) JP2015189100A (en)

Similar Documents

Publication Publication Date Title
JP5903841B2 (en) Liquid consumption device
JP5970876B2 (en) Liquid consumption apparatus and liquid remaining amount determination method
JP6056200B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
CN103287108B (en) Liquid consuming device and method
CN104669797B (en) Liquid consuming device
US9102144B2 (en) Liquid consuming apparatus and control method for liquid consuming apparatus
JP5906798B2 (en) Liquid consuming apparatus and method
JP2015157441A (en) Liquid consumption device and control method of the same
JP2019093618A (en) Liquid jet device
JP6019757B2 (en) Liquid consumption device
US20090213181A1 (en) Liquid Jetting Apparatus, Liquid Container, and Method of Controlling Multiple Liquid Containers
JP6003318B2 (en) Liquid consuming apparatus and method for controlling liquid consuming apparatus
JP5176690B2 (en) Liquid supply device, electric circuit, and liquid ejection system
JP2015189100A (en) Liquid consumption device
JP6364896B2 (en) Liquid consumption device
JP2015189101A (en) Liquid consumption device
JP5906799B2 (en) Liquid consuming apparatus and method
JP2014019048A (en) Liquid consumption device
JP6291915B2 (en) Liquid consumption device
CN110871630B (en) Liquid container, liquid consuming apparatus, and method of controlling liquid consuming apparatus
JP2014100845A (en) Liquid consuming device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160627