JP4581598B2 - Electronic equipment with time management function - Google Patents
Electronic equipment with time management function Download PDFInfo
- Publication number
- JP4581598B2 JP4581598B2 JP2004278334A JP2004278334A JP4581598B2 JP 4581598 B2 JP4581598 B2 JP 4581598B2 JP 2004278334 A JP2004278334 A JP 2004278334A JP 2004278334 A JP2004278334 A JP 2004278334A JP 4581598 B2 JP4581598 B2 JP 4581598B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- power
- absolute
- elapsed
- result data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Ink Jet (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、内部クロックでカウントした時間と外部機器から与えられる時間とを用いて時間を管理する機能をもつ電子機器に関する。 The present invention relates to an electronic device having a function of managing time using a time counted by an internal clock and a time given from an external device.
この種の電子機器の従来例として、例えば特許文献1に記載されたインクジェット式プリンタがある。このプリンタは、外部装置に接続され、外部装置から印刷実行時やヘッドクリーニング要求時に時刻情報を受け取る。受け取った時刻情報によって、RAMに記憶されている時刻情報が更新される。また、このプリンタの内部にタイマがあり、この内部タイマが時間を継続的にカウントし、カウントされた時間はRAM内の時刻情報に加算される。結果として、RAMには、外部装置でカウントされている時刻情報に実質的に一致した時刻情報が保持される。
As a conventional example of this type of electronic device, for example, there is an ink jet printer described in
なお、プリンタ内部の時間管理機能は、充電式のバッテリによりバックアップされるようになっていてもよい。その場合には、プリンタの電源がオフである間も、プリンタ内での時間カウントが継続的される。 The time management function inside the printer may be backed up by a rechargeable battery. In that case, the time count in the printer is continued even while the printer is turned off.
上記のようにプリンタ内で管理される時刻情報は次のような制御に利用される。例えば、その時刻情報に基づいて、前回のヘッドクリーニングが行われた時刻から現在までの経過時間が計算され、その経過時間に基づいて、ヘッドクリーニングを行うべき時期が到来したか否かの判定や、ヘッドクリーニングによりヘッドから廃インク吸収体へと排出された廃インクの蒸発量(廃インク吸収体内に残存する廃インクの量)の計算などが行われる。 The time information managed in the printer as described above is used for the following control. For example, based on the time information, the elapsed time from the time when the previous head cleaning was performed to the present is calculated, and based on the elapsed time, it is determined whether the time to perform head cleaning has arrived. The amount of evaporation of the waste ink discharged from the head to the waste ink absorber by the head cleaning (the amount of waste ink remaining in the waste ink absorber) is calculated.
上述したような経過時間に基づく制御が適正に行われるためには、プリンタ内で管理される時刻情報又は経過時間情報が正確でなければならないことは言うまでも無い。しかしながら、次の(1)、(2)に示すような問題があるために、プリンタ内の時刻情報又は経過時間情報の正確さが損なわれる。 Needless to say, the time information or the elapsed time information managed in the printer must be accurate for the above-described control based on the elapsed time to be properly performed. However, due to the following problems (1) and (2), the accuracy of time information or elapsed time information in the printer is impaired.
(1) プリンタの電源が長期間にわたりオフであった場合、バックアップバッテリが完全に放電しプリンタ内の時間管理機能が停止する。その後電源がターンオンされて時間管理機能が再起動しても、プリンタ内で保持される時刻情報は、最早、以前に保持されていた時刻情報とは整合しないことになる。よって、電源ターンオフ以前からの経過時間が把握できなくなる。例えば前回のヘッドクリーニングが電源ターンオフ以前に実行されていた場合、前回のヘッドクリーニング実行時点から現在までの経過時間が不明となるため、次のヘッドクリーニングを何時実行すべきかの判定や、廃インク蒸発量の計算が正確に行えない。 (1) When the printer is turned off for a long time, the backup battery is completely discharged and the time management function in the printer is stopped. Even if the power is turned on after that and the time management function is restarted, the time information held in the printer is no longer consistent with the time information held previously. Therefore, it becomes impossible to grasp the elapsed time before the power supply is turned off. For example, if the previous head cleaning was performed before the power supply was turned off, the elapsed time from the previous head cleaning execution time to the present time is unknown, so it is determined when the next head cleaning should be performed, and waste ink evaporation The amount cannot be calculated accurately.
(2) 上記(1)の問題が発生したとしても、電源ターンオン後に外部装置から時刻情報が改めて受信されれば、外部装置からの時刻情報によりプリンタ内の時刻情報が修正されるから、その整合性は再び回復される。しかし、外部装置に滅多に接続されることがなく、且つ、長期間電源オフとなる回数も多いプリンタの場合には、ヘッドクリーニング判定や廃インク蒸発量計算の精度は極めて悪くなる。 (2) Even if the problem (1) occurs, if the time information is received again from the external device after the power is turned on, the time information in the printer is corrected by the time information from the external device. Sex is restored again. However, in the case of a printer that is rarely connected to an external device and frequently turned off for a long period of time, the accuracy of head cleaning determination and waste ink evaporation amount calculation becomes extremely poor.
そのため、従来、定期ヘッドクリーニングや廃インク漏れ防止の機能を設計する場合、ある程度の制御精度の低下を許容して、適当に余裕のあるマージンを持った設計が行われている。しかし、これが製造コストやランニングコストの上昇の原因となる。 For this reason, conventionally, when designing a function for regular head cleaning and waste ink leakage prevention, a design having a margin with an appropriate margin has been performed by allowing a certain degree of reduction in control accuracy. However, this causes an increase in manufacturing cost and running cost.
従って、本発明の目的は、プリンタやその他の電子機器において、電子機器内で管理される時間情報の精度を高めることにある。 Accordingly, an object of the present invention is to increase the accuracy of time information managed in an electronic device in a printer or other electronic device.
また、別の目的は、電子機器内で管理される時間情報に基づいて処理される制御(例えば上述したヘッドクリーニング判定や廃インク蒸発量計算など)の信頼性を高めることにある。 Another object is to increase the reliability of control (for example, the above-described head cleaning determination and waste ink evaporation amount calculation) processed based on time information managed in the electronic device.
本発明の一つの側面に従う、絶対時刻の情報を間欠的に送る外部装置に接続することが可能な電子機器は、前記電子機器の電源オン期間中は電源からの電力により動作し、電源オフ期間中は蓄電器に蓄えられた電力で動作して、継続的に内部時刻をカウントするクロック手段と、前記外部装置から前記絶対時刻の情報を受けたとき、前記情報を用いて前記クロック手段を修正して、前記内部時刻を前記絶対時刻に対応させる内部クロック修正手段と、前記電子機器で所定処理が実行された時点にて前記クロック手段から取得される処理時刻を記憶する時刻記憶手段と、前記内部クロック修正手段により前記クロック手段が修正された場合、前記処理時刻記憶手段に保持されている前記処理時刻を、前記クロック手段と同じ修正幅だけ修正して、前記処理時刻を前記絶対時刻に対応させる記憶時刻修正手段とを備える。 According to one aspect of the present invention, an electronic device that can be connected to an external device that intermittently sends absolute time information operates with power from a power source during a power-on period of the electronic device, and a power-off period The clock means that operates with the electric power stored in the capacitor and continuously counts the internal time, and when the information on the absolute time is received from the external device, the clock means is corrected using the information. An internal clock correcting means for making the internal time correspond to the absolute time, a time storage means for storing a processing time acquired from the clock means when a predetermined process is executed in the electronic device, and the internal When the clock means is corrected by the clock correction means, the processing time held in the processing time storage means is corrected by the same correction width as the clock means. And a storage time adjustment means to adapt the processing time to the absolute time.
この電子機器によれば、外部装置から絶対時刻の情報が提供されると、その情報により、クロック手段からの内部時刻が絶対時刻に対応するよう修正される。また、電子機器で所定処理(例えば、電源ターンオフ、電源ターンオン、インクジェットプリンタの場合のヘッドクリーニングなど)が実行されると、その実行時点での内部時刻である処理時刻が記憶される。そして、クロック手段が絶対時刻に対応するよう修正されたとき、記憶されていた処理時刻も同じく絶対時刻に対応するように修正される。これにより、記憶されている処理時刻が、内部時刻と同じ時間軸上に並ぶことになる。例えば、内部時刻が絶対時間軸上にあれば、記憶されている処理時刻も絶対時間軸上にあり、また、内部時刻が相対時間軸上にあれば、記憶されている処理時刻も相対時間軸上にあるということになる。このように同じ時間軸上に並ぶことで、内部時刻と記憶された処理時刻とを用いて両時点の間の経過時間を精度よく求めることが可能になる。結果として、経過時間に基づき処理される制御の信頼性が向上する。 According to this electronic apparatus, when the information on the absolute time is provided from the external device, the internal time from the clock means is corrected by the information so as to correspond to the absolute time. When a predetermined process (for example, power supply turn-off, power supply turn-on, head cleaning in the case of an ink jet printer) is executed in the electronic device, a processing time that is an internal time at the time of execution is stored. When the clock means is corrected to correspond to the absolute time, the stored processing time is also corrected to correspond to the absolute time. As a result, the stored processing times are arranged on the same time axis as the internal time. For example, if the internal time is on the absolute time axis, the stored processing time is also on the absolute time axis, and if the internal time is on the relative time axis, the stored processing time is also on the relative time axis. It will be on top. Arranging on the same time axis in this way makes it possible to accurately obtain the elapsed time between both time points using the internal time and the stored processing time. As a result, the reliability of the control processed based on the elapsed time is improved.
好適な実施形態では、前記処理時刻記憶手段に記憶された前記処理時刻と、現在時点で前記クロック手段から取得される現在時刻との差分を計算することで、前記所定処理の実行時点から現在までの経過時間を計算する経過時間計算手段が更に備えられる。 In a preferred embodiment, by calculating a difference between the processing time stored in the processing time storage unit and the current time acquired from the clock unit at the current time point, the execution time of the predetermined process is performed until the present time. An elapsed time calculating means for calculating the elapsed time is further provided.
好適な実施形態では、前記経過時間計算手段は、前記電子機器で特定作業(例えば、インクジェットプリンタの場合のヘッドクリーニング)が実行された時、及び電源ターンオフの直前に、それぞれ、前記経過時間を計算する。少なくともこのタイミングで経過時間を計算することで、電源のオンオフが繰り返され、かつ、電源オフ期間中にクロック手段が停止することがあった場合でも、特定作業の実行時点からの経過時間を、ある程度の精度をもって把握することが可能である。その結果、例えば次の特定作業を何時行うべきかなどの、経過時間に基づく制御の信頼性が高まる。ここで、特定作業としては、例えば、インクジェットプリンタの場合のヘッドクリーニングなどがあり得る。 In a preferred embodiment, the elapsed time calculating means calculates the elapsed time when a specific operation (for example, head cleaning in the case of an ink jet printer) is performed on the electronic device and immediately before power-off. To do. By calculating the elapsed time at least at this timing, even if the power supply is repeatedly turned on and off, and the clock means may stop during the power-off period, the elapsed time from the execution time of the specific work is to some extent It is possible to grasp with accuracy. As a result, the reliability of control based on the elapsed time, such as when the next specific operation should be performed, is increased. Here, the specific work may include, for example, head cleaning in the case of an ink jet printer.
好適な実施形態では、前記所定処理として、前記特定作業、電源ターンオン、及び電源ターンオフが採用される。少なくともこれら処理の実行時刻を記憶しておくことで、電源のオンオフが繰り返され、かつ、電源オフ期間中にクロック手段が停止することがあった場合でも、特定作業の実行時点からの経過時間を、良好な精度をもって把握することが可能である。その結果、例えば次の特定作業を何時行うべきかなどの、経過時間に基づく制御の信頼性が高まる。 In a preferred embodiment, the specific operation, power supply turn-on, and power supply turn-off are employed as the predetermined process. By storing at least the execution times of these processes, even if the power supply is repeatedly turned on and off and the clock means may stop during the power supply off period, the elapsed time from the execution time of the specific work can be calculated. It is possible to grasp with good accuracy. As a result, the reliability of control based on the elapsed time, such as when the next specific operation should be performed, is increased.
好適な実施形態では、前記内部時刻が前記絶対時刻に対応しているか否かを判別し、判別結果を記憶する内部時刻判別手段が更に備えられる。内部時刻が絶対時刻に対応しているか否かを判別することで、絶対時刻対応の内部時刻に基づいて経過時間を計算する場合と、絶対時刻に対応してない内部時刻(相対時刻)に基づいて経過時間を計算する場合とで、それぞれの場合に適した計算方法を選択することが可能になる。その結果、経過時間に基づく制御の信頼性が高まる。 In a preferred embodiment, there is further provided an internal time determination means for determining whether or not the internal time corresponds to the absolute time and storing the determination result. By determining whether the internal time corresponds to the absolute time, the elapsed time is calculated based on the internal time corresponding to the absolute time, and based on the internal time (relative time) not corresponding to the absolute time Thus, it is possible to select a calculation method suitable for each case when calculating the elapsed time. As a result, the reliability of control based on the elapsed time is increased.
好適な実施形態では、前記内部時刻判別手段は、電源ターンオンの直後、及び前記内部クロック修正手段により前記クロック手段が修正された時に、前記判別を行う。内部時刻が絶対時刻に対応するようになったり、対応しなくなったりする切替時点は、クロック手段が修正された時点又は電源ターンオン時点であるから、これらの時点で判別を行うことにより、遅れのないタイムリーな判別結果が得られる。 In a preferred embodiment, the internal time determination means performs the determination immediately after power-on and when the clock means is corrected by the internal clock correction means. The switching time at which the internal time corresponds to the absolute time or no longer corresponds to the time when the clock means is corrected or the time when the power supply is turned on, so there is no delay by making a determination at these times. A timely discrimination result is obtained.
好適な実施形態では、電源オフ期間中に前記クロック手段が停止したか、継続動作していたかを判断して、判断結果を記憶するクロック停止判断手段が更に備えられる。そして、前記内部時刻判別手段は、電源ターンオン直後には、
(1) 前記判断結果が停止を示していた場合、前記内部時刻が前記絶対時刻に対応していないという判別結果を出し、
(2) 前記判断結果が継続動作を示していた場合、前回の電源ターンオフ時点での記憶されていた判別結果に従った判別結果を出し、
また、前記内部クロック修正手段により前記クロック手段が修正された時には、前記内部時刻が前記絶対時刻に対応しているという判別結果を出す。これにより、正確な判別結果が得られる。
In a preferred embodiment, there is further provided a clock stop judging means for judging whether the clock means has been stopped or continuously operated during the power-off period, and storing the judgment result. The internal time discriminating means immediately after the power is turned on,
(1) If the determination result indicates stop, a determination result that the internal time does not correspond to the absolute time is issued;
(2) If the determination result indicates a continuation operation, a determination result according to the determination result stored at the previous power-off time is issued,
When the clock means is corrected by the internal clock correction means, a determination result is output that the internal time corresponds to the absolute time. Thereby, an accurate discrimination result is obtained.
好適な実施形態では、前記電子機器で実行された特定作業に応答して、前記特定作業の結果に応じた結果データを計算する手段であって、
(1) 前記内部時刻が前記絶対時刻に対応している時に実行された前記特定作業に応答して絶対時刻ベース結果データを計算し、
(2) 前記内部時刻が前記絶対時刻に対応していない時に実行された前記所定作業に応答して相対時刻ベース結果データを計算し、
(3)前記絶対時刻ベース結果データと前記相対時刻ベース結果データを分離して管理する
作業結果管理手段が更に備えられる。
In a preferred embodiment, in response to the specific work executed by the electronic device, means for calculating result data according to the result of the specific work,
(1) calculating absolute time base result data in response to the specific operation performed when the internal time corresponds to the absolute time;
(2) calculating relative time base result data in response to the predetermined operation performed when the internal time does not correspond to the absolute time;
(3) Work result management means for separately managing the absolute time base result data and the relative time base result data is further provided.
このように、特定作業(例えば、インクジェットプリンタの場合のヘッドクリーニング)の実行結果に応じたデータ(例えば、ヘッドクリーニングでインク吸収体に吸収された廃インク量を計算したデータ)を、その特定作業が実行されたときの内部時刻が絶対時刻に対応していたか否かで区別して、別個に計算し管理することで、特定作業の結果データ(例えば、インク吸収体内の廃インク量の計算データ)の計算精度が向上する。 In this way, data corresponding to the execution result of a specific work (for example, head cleaning in the case of an ink jet printer) (for example, data obtained by calculating the amount of waste ink absorbed by the ink absorber by the head cleaning) is used as the specific work. The result data of a specific operation (for example, calculation data of the amount of waste ink in the ink absorber) is distinguished and calculated separately depending on whether or not the internal time corresponding to the execution of the time corresponds to the absolute time The calculation accuracy of is improved.
好適な実施形態では、前記作業結果管理手段は、前記経過時間計算手段により前記経過時間が計算されたとき、前記絶対時刻ベース結果データと前記相対時刻ベース結果データを、計算された前記経過時間に応じて修正する。このように特定作業の結果データに対して経過時間に応じた修正を行う(例えば、廃インク量の計算データから、経過時間に応じた蒸発量を差し引く)ことで、特定作業の結果データの計算精度が向上する。特に、絶対時刻ベース結果データに対する修正と、相対時刻ベース結果データに対する修正とを分離して行うことで、絶対時刻ベースと相対時刻ベースの性質の違いに応じた異なる修正方法が採用できるので、結果データの計算精度が向上する。 In a preferred embodiment, when the elapsed time is calculated by the elapsed time calculation means, the work result management means sets the absolute time base result data and the relative time base result data to the calculated elapsed time. Correct accordingly. In this way, the result data of the specific work is corrected according to the elapsed time (for example, the evaporation data according to the elapsed time is subtracted from the calculation data of the waste ink amount) to calculate the result data of the specific work. Accuracy is improved. In particular, it is possible to adopt different correction methods according to the difference in properties between absolute time base and relative time base by separately performing correction on absolute time base result data and correction on relative time base result data. Data calculation accuracy is improved.
好適な実施形態では、前記絶対時刻ベース結果データと前記相対時刻ベース結果データとを組み合わせたデータに基づいて、前記特定作業の結果に問題がないか否かを判断する作業結果判断手段が更に備えられる。例えば、インクジェットプリンタの場合、絶対時刻ベースの廃インク量計算データと相対時刻ベースの廃インク量計算データとを加算した値に基づいて、廃インクの溢れ出しが生じないか否かが判断され得る。 In a preferred embodiment, the apparatus further comprises work result judging means for judging whether there is no problem in the result of the specific work based on data obtained by combining the absolute time base result data and the relative time base result data. It is done. For example, in the case of an inkjet printer, it can be determined whether waste ink overflow does not occur based on a value obtained by adding absolute time-based waste ink amount calculation data and relative time-based waste ink amount calculation data. .
好適な実施形態では、前記経過時間計算手段は、
(1) 前記クロック手段の停止が生じた電源オフ期間の時間長が算入され得る第1の経過時間を計算する手段と、
(2) 前記クロック手段の停止が生じた電源オフ期間の時間長が算入され得ない第2の経過時間を計算する手段と
を有する。そして、前記作業結果管理手段は、前記経過時間の計算時点にて前記内部時刻が前記絶対時刻に対応しているか否かをチェックし、チェックの結果、
(1) 前記絶対時刻に対応している場合には、
A. 前記絶対時刻ベース結果データを、前記第1の経過時間に応じて修正し、
B. 前記相対時刻ベース結果データを、前記第2の経過時間に応じて修正し、
(2) 前記絶対時刻に対応していない場合には、前記絶対時刻ベース結果データと前記相対時刻ベース結果データとを、前記第2の経過時間に応じて修正する。
In a preferred embodiment, the elapsed time calculating means includes
(1) means for calculating a first elapsed time in which a time length of a power-off period in which the stop of the clock means has occurred can be counted;
(2) means for calculating a second elapsed time during which the time length of the power-off period in which the clock means has stopped cannot be counted. Then, the work result management means checks whether or not the internal time corresponds to the absolute time at the time of calculation of the elapsed time, and as a result of the check,
(1) When the absolute time is supported,
A. Correcting the absolute time base result data according to the first elapsed time;
B. Correcting the relative time base result data according to the second elapsed time;
(2) If the absolute time is not supported, the absolute time base result data and the relative time base result data are corrected according to the second elapsed time.
このように、結果データを経過時間に応じて修正する場合に、経過時間計算時点の内部時刻が絶対時刻に対応しているか否か、及び、修正対象が絶対時刻ベース結果データか相対時刻ベース結果データかに応じて、適用する経過時間を違えることで、それぞれの結果データを精度よく修正することができる。よって、経過時間に応じて修正された結果データに基づく判断制御(例えば、インクジェットプリンタにおける、経過時間に応じた蒸発量により修正された廃インク量に基づく、廃インクの溢れ出しの虞の判断制御)の信頼性が向上する。 Thus, when the result data is corrected according to the elapsed time, whether the internal time at the time of calculating the elapsed time corresponds to the absolute time, and whether the correction target is the absolute time base result data or the relative time base result By changing the applied elapsed time depending on the data, each result data can be corrected with high accuracy. Therefore, determination control based on the result data corrected according to the elapsed time (for example, determination control of the possibility of overflow of waste ink based on the amount of waste ink corrected by the evaporation amount according to the elapsed time in an inkjet printer) ) Reliability is improved.
好適な実施形態では、前記経過時間計算手段は、電源オフ期間中に前記クロック手段が停止したことにより前記内部時刻が前記絶対時刻に対応しなくなった場合、前記絶対時刻に対応していない前記内部時刻に基づいて前記経過時間を計算し、その後、前記外部装置から受信された前記情報により前記内部時刻及び前記処理時刻が前記絶対時刻に対応するように修正された場合、前記絶対時刻に対応する前記内部時刻及び前記処理時刻に基づいて前記経過時間を計算するとともに、前記絶対時刻に対応していない前記内部時刻に基づいて計算された前記経過時間を無効にする。これにより、長期の電源オフ期間中にクロック手段が停止して絶対時刻が不明になった場合、クロック手段が出力する相対時刻に基づいて経過時間をとりあえず計算するが、その後、外部装置から絶対時刻の情報が受信されれば、その絶対時刻に基づいた経過時間が計算し直され、相対時刻に基づいた経過時間が無かったものとされるので、経過時間に基づいて処理される制御の精度が向上する。 In a preferred embodiment, the elapsed time calculating means does not correspond to the absolute time when the internal time does not correspond to the absolute time due to the clock means being stopped during a power-off period. When the elapsed time is calculated based on time, and then the internal time and the processing time are corrected to correspond to the absolute time according to the information received from the external device, the absolute time corresponds to the absolute time The elapsed time is calculated based on the internal time and the processing time, and the elapsed time calculated based on the internal time not corresponding to the absolute time is invalidated. As a result, if the clock means stops during the long power-off period and the absolute time becomes unknown, the elapsed time is calculated for the time being based on the relative time output by the clock means. If the information is received, the elapsed time based on the absolute time is recalculated and it is assumed that there is no elapsed time based on the relative time. Therefore, the accuracy of the control processed based on the elapsed time is improved. improves.
本発明によれば、プリンタやその他の電子機器において、電子機器内で管理される時間情報の精度が高まる。 ADVANTAGE OF THE INVENTION According to this invention, the precision of the time information managed within an electronic device increases in a printer and other electronic devices.
本発明の好適な実施形態によれば、電子機器内で管理される時間情報に基づいて処理される制御の信頼性が高まる。 According to the preferred embodiment of the present invention, the reliability of the control processed based on the time information managed in the electronic device is increased.
図1は、本発明に従う電子機器の一実施形態にかかるインクジェットプリンタの全体のハードウェア構成を示す。 FIG. 1 shows the overall hardware configuration of an inkjet printer according to an embodiment of an electronic apparatus according to the present invention.
図1に示すように、インクジェットプリンタ(以下、プリンタという)100は、外部装置(例えば、パーソナルコンピュータ、デジタルカメラ又は携帯電話機などのプリンタクライアント又は画像ソース装置など)200に接続することができる。外部装置200は、自ら絶対時刻(典型的には、標準時にほぼ相当する時刻)を継続的にカウントしており、現在時刻を示す時刻情報を、プリンタ100との所定の通信時(例えば、プリンタ100に印刷ジョブ又は画像データを送信する時、あるいは、プリンタ100から時刻問い合わせが来た時など)に、現在の絶対時刻に対応する時刻情報をプリンタ100へ送信する。外部装置200からプリンタ100へ送信される現在の絶対時刻情報を、以下、TI(タイムインデックス)という。
As shown in FIG. 1, an inkjet printer (hereinafter referred to as a printer) 100 can be connected to an external device (for example, a printer client such as a personal computer, a digital camera, or a mobile phone, or an image source device) 200. The
プリンタ100は、印刷動作を行う機構である印刷機構110を有する。印刷機構110には、印刷ヘッド111、インクタンク112、ヘッドメンテナンス機構113、キャリッジ機構113、インク吸収体115、及び紙送り機構116などが含まれる。ヘッドメンテナンス機構113は、印刷ヘッド111に対する各種メンテナンス動作、例えば、新しいインクタンク112の装着時における印刷ヘッド111へのインクの充填や、印刷ヘッド111のクリーニング(インクジェットノズルのインク詰まりの除去や、ヘッド表面の汚れの除去など)を行うための機構であり、ヘッド保護キャップやインク吸引ポンプやワイパーなどから構成される。インク吸収体115は、印刷ヘッド111のメンテナンスが行われることで印刷ヘッド111から外へ排出される廃インクを吸収して、廃インクがプリンタ10に漏れ出ないようにするスポンジ様の物体である。キャリッジ機構114は、印刷ヘッド111を搭載したキャリッジ(図示せず)を、シャフトに沿って走行させることで、印刷ヘッド111を移動させる機構である。
The
プリンタ100は、また、印刷機構110を制御するためのコントローラ120を備える。コントローラ120は、CPU122、RAM124、及びEEPROM(不揮発性メモリ)126を有する。コントローラ120の機能、とりわけ本発明の原理に従う各種の制御機能については後に詳述する。
The
プリンタ100は、また、プリンタ100内で時間を継続的にカウントするためのRTC(リアルタイムクロック回路)130を有する。このRTC130にて継続的にカウントされている時刻を、以下、RTC時刻という。RTC130でカウントされているRTC時刻は、定期的に(例えば1時間間隔で)CPU122に読み込まれるようになっている。また、RTC130でカウントされているRTC時刻は、CPU122からの指示で、CPU122が指定する時刻にセットできるようになっている。
The
プリンタ100は、さらに、上述した印刷機構110、コントローラ120及びRTC130に電力を供給する主電源回路140を有する。主電源回路140は、商用100VAC電源のような外部電源300から電力を入力し、プリンタ100内の上記各部へ各部用の電圧をもつ直流電力を供給する。主電源回路140は、CPU122からの制御でターンオン及びターンオフされるようになっている。以下、主電源回路140を電源と略称する場合がある。
The
上述したRTC130は、電源オフである間も、蓄電器(例えば大容量のコンデンサ又はバッテリ)150から電力を受けて、継続して動作できるようになっている。蓄電器150は、電源オンの間に主電源回路140により充電される。しかし、電源オフの状態が所定時間以上に達すると、蓄電器150は完全に放電し、RTC130は停止する。以下の説明では、電源オフの状態でRTC130が蓄電器150により動作できる最長時間は、一例として160時間であるとする。このように長い電源オフ期間中にRTC130が停止した場合でも、その後に主電源回路140がターンオンされればRTC130は再び動作を開始する。RTC130は、電源オフ期間中に停止したか停止せず動作を継続していたかを示す動作情報を内部に保持するようになっている。CPU122は、電源ターンオン後にRTC130の動作情報を参照することよって、RTC130が電源オフ期間中に停止したか継続動作していたかを把握する。
The
図2は、コントローラ120の制御機能、とりわけ本発明に関連する各種制御の機能を示す。
FIG. 2 shows the control functions of the
図2に示すように、CPU122は、予め組み込まれた制御プログラムを実行することにより、電源オン時時間制御200、TI受信時時間制御202、キャリッジメンテナンス(CM)制御204、ヘッドメンテナンス(HM)制御206、及び廃インク制御208を行う。以下の説明では、キャリッジメンテナンスをCM、ヘッドメンテナンスをHMと略称する場合がある。
As shown in FIG. 2, the
電源オン時時間制御200は、主電源回路140がターンオンされた時(直後)に実行される時間制御である。TI受信時時間制御202は、外部装置200からTIが受信された時(直後)に実行される時間制御である。電源オン時時間制御200とTI受信時時間制御202とが組み合わさって、プリンタ100内部での時間管理制御203を構成する。後の具体的な説明から明らかになるように、内部時間管理制御203は、外部装置200からTIが受信された場合、TIによりRTC時刻を修正することで、RTC時刻が絶対時刻に対応するようにする。また、内部時間管理制御203は、RTC時刻が絶対時刻に対応しているか、いないか(つまり、相対時刻に対応するに過ぎないか)を判別し、その判別結果を示す判別情報(後述するTIフラグ)を保持する。また、内部時間管理制御203は、電源ターンオン時、その前の電源オフ期間中にRTC130が停止したか継続して動作していたかを判定し、停止したと判定された場合には、電源オフ期間長が不明になったことに対処するための処理を行う。
The power-on
キャリッジメンテナンス制御204は、キャリッジ機構114の状態を適正に保つため、特に、それに沿ってキャリッジが走行するためのシャフトに塗られた潤滑油の固化又は劣化を防止するための制御である。キャリッジメンテナンス制御204は、例えば電源ターンオン時(直後)に行われ、その前の電源オフ期間が所定のオイル閾値(潤滑油の固化を防止する観点から定められた閾値時間長)以上に長かったか判断し、そうならば、キャリッジを走行させて潤滑油を流動させて潤滑油の固化を防ぐ。
The
ヘッドメンテナンス制御206は、印刷ヘッド111の状態を適正に維持するために、ヘッドメンテナンス、とりわけクリーニングを、できるだけ適時に自動的に行うための制御である。ヘッドメンテナンス制御206は、例えば印刷開始時(直前)に行われる(電源ターンオン時(直後)に行われる場合もある)。ヘッドメンテナンス制御206は、前回のヘッドメンテナンスの実行時からの経過時間の長短に応じて、クリーニングを行う必要があるかどうかを判断し、必要があれば、それを実行する。ここで、クリーニングには、作業量のレベルの異なる複数種類のプロセスが用意されており、クリーニングを行う必要ありと判断された場合、上記経過時間の長短に応じてどのレベルのクリーニングプロセスを行うかが選択されるようになっている。
The
廃インク制御208は、インク吸収体115から保持されている廃インクの量(廃インク残量)をその蒸発量を考慮に入れて計算し、計算された廃インク残量に基づいて、インク吸収体115から廃インクが溢れて漏れ出ないように、ヘッドメンテナンス(特にクリーニング)の実行を調整するものである。廃インク制御208は、ヘッドメンテナンス制御206内で行われる。また、ユーザの要求によりヘッドメンテナンス(インクタンク装着時のインク充填、ユーザ要求によるクリーニング)が行われたときにも、廃インク制御208は実行される。後の説明から明らかになるように、廃インク制御208は、RTC時刻が絶対時刻に対応しているときに実行されたヘッドメンテナンスで排出された廃インクの残量と、RTC時刻が相対時刻に対応しているときに実行されたヘッドメンテナンスで排出された廃インクの残量とを別個に計算して保持し、そして、両者を合わせたトータルの廃インク残量に基づいて廃インクが溢れるか否かを判定する。それにより、信頼性の高い廃インク漏れ防止制御が行えることになる。
The
上述した各種の制御200〜208を行うために、CPU122は、RAM124及びEEPROM126に次のような変数データを記録する。
In order to perform the
すなわち、図2に示すように、RAM124には、TIフラグ220、電源オフ時間長222、蒸発時間長224、HM(ヘッドメンテナンス)タイマ226、及び、電源オン時刻228などの変数データが記憶される。また、EEPROM126には、前回電源オフ時TIフラグ240、前回HM(ヘッドメンテナンス)時刻242、前回電源オフ時刻244、前回蒸発計算時刻246、絶対時刻ベース廃インク総量(以下、SAと略称する場合がある)248、絶対時刻ベース廃インク残量(以下、Aと略称する場合がある)250、相対時刻ベース廃インク総量(以下、SBと略称する場合がある)252、及び、相対時刻ベース廃インク残量(以下、Bと略称する場合がある)254などの変数データが記録される。EEPROM126内のこれらの変数データは、電源オフ期間中も消えずに保持される。
That is, as shown in FIG. 2, the
RAM124内の変数データ220〜226の意味は次のとおりである。
The meanings of the
TIフラグ220は、それが「1」であれば、RTC時刻が現在絶対時刻に対応していることを示し、それが「0」であれば、RTC時刻が現在絶対時刻に対応していない(相対時刻に対応している)ことを示す。
If it is “1”, the
電源オフ時間長222は、直前の電源オフ期間の時間長を示し、これは、キャリッジメンテナンス制御204においてキャリッジメンテナンスを行うべきか否かの判断材料として用いられる。
The power-
蒸発時間長224は、廃インク蒸発量の計算を実行しようとする時点における、前回の同計算の実行時点から今回の実行時点までの経過時間を示すものであり、特に、絶対時刻(厳密には、絶対時刻に対応するRTC時刻)に基づいて計算される。蒸発時間長224は、廃インク制御208において廃インクの蒸発量の計算に使用される。
The
HMタイマ226は、蒸発時間長224と同様の意味の経過時間を示すもので、廃インクの蒸発量の計算に使用される。但し、HMタイマ226は、相対時刻(厳密には、相対時刻に対応するRTC時刻)に基づいて計算される。後の説明から明らかになるように、電源オフ期間中に蓄電器放電のためにRTC130が停止した場合、その電源オフ期間の長さが不明になるが、その不明な電源オフ期間長はHMタイマ226が示す経過時間には算入されない。結果として、不明になった電源オフ期間長が廃インクの蒸発量の計算から排除されることになり、廃インク制御208の信頼性が向上する。
The
電源オン時刻228は、電源がターンオンされた時点でのRTC時刻である。
The power-on
EEPROM126内の変数データ240〜254の意味は次のとおりである。
The meaning of the
前回電源オフ時TIフラグ240は、前回の電源ターンオフがなされた時点におけるTIフラグ220の値(つまり、RTC時刻が絶対時刻と相対時刻のどちらを示したか)を示す。前回HM時刻242は、前回のヘッドメンテナンスを実行した時刻を示す。前回電源オフ時刻244は、前回の電源ターンオフがなされた時刻を示す。前回蒸発計算時刻246は、前回の蒸発量計算が実行された時刻(前回の廃インク制御208が実行された時刻)を示す。
The previous power-off
絶対時刻ベース廃インク総量(SA)248は、RTC時刻が絶対時刻に対応しているとき(TIフラグ220が「1」であるとき)に実行されたヘッドメンテナンスでインク吸収体115へ排出されたインクの総量を示す。絶対時刻ベース廃インク残量(A)250は、SA248のうち、蒸発量を除いた残量を示す。
The absolute time base waste ink total amount (SA) 248 is discharged to the
相対時刻ベース廃インク総量(SB)252は、RTC時刻が相対時刻に対応しているとき(TIフラグ220が「0」であるとき)に実行されたヘッドメンテナンスでインク吸収体115へ排出されたインクの総量を示す。相対時刻ベース廃インク残量(B)254は、SB252のうち、蒸発量を除いた残量を示す。
The relative time base waste ink total amount (SB) 252 is discharged to the
以下、CPU122が行う上記各種の制御200〜208の具体的な流れを説明する。
Hereinafter, specific flows of the
図3は、電源オン時時間制御200の流れを示す。
FIG. 3 shows the flow of the power-on
図3のステップS300に示すように、電源(主電源回路140)のターンオン直後に、この電源オン時時間制御200が開始される。ステップS302で、RTC130が直前の電源オフ期間中に継続的に動作していたか、蓄電器放電のために停止していたかが、RTC130がもつ動作情報に基づいて判断される。
As shown in step S300 of FIG. 3, the power-on
ステップS302で、RTC130が継続動作していたと判断された場合、制御はステップS304へ進み、前回電源オフ時刻244から現在のRTC時刻(現在時刻)までの経過時間が計算され、計算された経過時間が電源オフ時間長222として記録される。また、ステップ304で、HMタイマに現在のRTC時刻(現在時刻)がセットされる。
If it is determined in step S302 that the
さらに、ステップ308で、前回電源オフ時TIフラグ240がチェックされる。前回電源オフ時TIフラグ240が値「1」であれば、前回の電源ターンオフ時にRTC時刻が絶対時刻に対応していたこと(つまり、TIを受信していたこと)を意味する。その場合には、TIフラグ220に値「1」がセットされる。これは、現在もRTC時刻が絶対時刻に対応していることを意味する。他方、ステップ308の結果、前回電源オフ時TIフラグ240が値「0」であれば、前回の電源ターンオフ時にRTC時刻が相対時刻に対応していたこと(つまり、TIを受信していなかったこと)を意味する。その場合には、TIフラグ220に値「0」がセットされる。これは、現在もRTC時刻が相対時刻に対応していることを意味する。
In step 308, the previous power-off
また、上述したステップS302の結果、RTC130が直前の電源オフ期間中に停止していたと判定された場合には、制御はステップS320へ進む。この場合、電源オフ時間長は正確には不明であるが、蓄電器150の最大バックアップ時間長(例えば160時間)より長いことは判る。そこで、ステップS320で、電源オフ時間長の推定最低値(例えば161時間)が電源オフ時間長222にセットされる。また、この場合、RTC時刻も信頼できない値になっているので、ステップ322でRTC130にRTC時刻として初期値「0」がセットされ、ステップ324でHMタイマ226にもRTC時刻の初期値「0」がセットされる。これにより、RTC130は、電源ターンオン時点を相対時刻の原点として時間カウントを開始することになる。ステップ312で、TIフラグ220に値「0」がセットされる。これは、現在のRTC時刻が相対時刻に対応していることを意味する。
If it is determined as a result of step S302 described above that the
以上の電源オン時時間制御200により、現在のRTC時刻がTIと同様の絶対時刻に対応しているか、あるいは、相対時刻に対応しているかという、プリンタ内部で管理される時刻の性質が、TIフラグ220によって識別されることになる。また、電源オフ期間中にRTC130が継続動作していた場合には、電源オフ期間の正確な時間長が、電源オフ時間長222として記録される。他方、電源オフ期間中にRTC130が停止した場合には、蓄電器のバックアップ能力(例えば160時間)から推定される電源オフ期間の最低時間長(例えば161時間)が、電源オフ時間長222として記録されることになる。また、電源オフ期間中にRTC130が停止した場合、RTC時刻は、その後の電源ターンオン時点を原点としてカウントされ直されることになる。
With the above power-on
図4は、TI受信時時間制御202に流れを示す。
FIG. 4 shows a flow of the TI
図4のステップS400に示すように、外部装置200からTIが受信された直後に、このTI受信時時間制御202が開始される。ステップ402で、今回のTI受信が、電源ターンオン後最初の受信であるか否かがチェックされる。
As shown in step S400 of FIG. 4, immediately after the TI is received from the
その結果、最初の受信である場合には、ステップS404で、RTC130にRTC時刻として、受信されたTIに対応する絶対時刻(TI対応時刻)がセットされる(つまり、RTC時刻がTI対応時刻に一致するように修正される)。ここで、TI対応時刻とは、TIが示す例えば2004年10月1日13時15分のような絶対時刻を、例えば一定年数周期のリングカウンタであるRTC130のカウント値に換算した値である。なお、RTC時刻と受信されたTIとの間の時間差が、外部装置200が管理する時間の通常のばらつき程度に小さい場合(例えば24時間以内)である場合には、その時間差は、外部装置200での時間管理のばらつきに起因するものであり、RTC時刻は正しい絶対時刻に対応しているとみなすことができる。そこで、そのように時間差が小さい場合には、ステップ404はパスされてもよい。
As a result, if it is the first reception, in step S404, the
また、TIが受信された場合、ステップ406でTIフラグ220に値「1」がセットされる。これは、現在のRTC時刻が絶対時刻に対応していることを意味する。
If a TI is received, a value “1” is set in the
さらに、ステップS408で、今回のTI受信が、このプリンタ100の工場出荷後最初の受信であるかがチェックされる。その結果、最初の受信でないと判断された場合には、HMタイマ226、電源オン時刻228、前回HM時刻242、前回電源オフ時刻244、及び、前回蒸発計算時刻246が、ステップ404でのRTC時刻とTI対応時刻と差分(つまり、RTC時刻の修正幅と同じ修正幅)だけ修正される。例えば、ステップ404でRTC時刻に100時間がプラスされた場合、HMタイマ226、電源オン時刻228、前回HM時刻242、前回電源オフ時刻244、及び、前回蒸発計算時刻246も同様に100時間がプラスされる。この修正により、HMタイマ226、電源オン時刻228、前回HM時刻242、前回電源オフ時刻244、及び、前回蒸発計算時刻246が、RTC時刻と同じ絶対時刻の時間軸上の値となるので、これらの値の間の差分が意味ある経過時間を示すようになる(例えば、修正された前回電源オフ時刻244とRTC時刻との差分は、前回の電源オフから現在までの経過時間を示す)。他方、ステップS408の結果、工場出荷後最初の受信と判断された場合には、ステップ410の修正はパスされる。出荷後最初の受信の場合、HMタイマ226、前回HM時刻242、前回電源オフ時刻244、及び、前回蒸発計算時刻246の値は不定であるため、これを修正することに意味がないからである。
In step S408, it is checked whether the current TI reception is the first reception after the
上述したステップ402で、電源オン後最初の受信でない(2回目以降の受信)と判断された場合には、ステップS404〜S410はパスされる。この場合、既にRTC時刻はTIにより修正されて正しい現在の絶対時刻に対応しているので、改めて修正する必要がないからである。 If it is determined in step 402 described above that the reception is not the first reception after the power is turned on (reception after the second time), steps S404 to S410 are passed. In this case, the RTC time has already been corrected by the TI and corresponds to the correct current absolute time, so there is no need to correct it again.
以上のTI受信時時間制御202により、プリンタ内で管理されているRTC時刻、HMタイマ226、電源オン時刻228、前回HM時刻242、前回電源オフ時刻244、及び、前回蒸発計算時刻246などの時間情報が、外部装置200で管理されている絶対時刻に対応した値にセットされる。
By the TI
また、RTC130の停止により絶対時刻が不明になった場合であっても、その後にTIが受信されると、RTC時刻及び記憶されている前回蒸発計算時刻などの各種時刻はTIにより修正されて絶対時刻に対応するものに変る。後に詳述するように、廃インク制御208では、廃インクの蒸発量を計算するために、RTC時刻に基づいて経過時間が計算される。相対時刻に対応するRTC時刻により計算された経過時間は、電源オフ期間中にRTC130が停止したことの影響を受けるので、正確でない可能性がある。これに対し、絶対時刻に対応するRTC時刻により計算された経過時間は、そのような影響を受けないので正確である。RTC130の停止により絶対時刻が不明になった後、相対時刻で経過時間が計算された場合であっても、その後にTIが受信されてRTC時刻及び記憶されている前回蒸発計算時刻などが再び絶対時刻に対応することになったならば、その絶対時刻に基づいて正確な経過時間が計算されることになり、相対時間で計算された不正確な経過時間は無効にされることになる。このように、TIによるRTC130の修正により、正確な経過時間の把握が可能になり、結果として、廃インク制御208のように経過時間に基づいて処理される制御の精度が向上する。
Even if the absolute time becomes unknown due to the stop of the
図5は、キャリッジメンテナンス制御204の流れを示す。
FIG. 5 shows the flow of the
図5のステップS500に示すように、電源ターンオンの直後にこのキャリッジメンテナンス制御204が開始される。ステップS502で、直前の電源オフ期間の時間長が所定のCM(キャリッジメンテナンス)閾値以上であるかどうかが、電源オフ時間長222に基づいて判断される。ここで、CM閾値は、キャリッジメンテナンスのインターバルとして適当な時間長であり、例えば、キャリッジ機構114のシャフト等に塗られている潤滑油の固化を防止するために適切なインターバルの長さであり、蓄電器のバックアップ能力(例えば160時間)よりは短い。
As shown in step S500 of FIG. 5, the
ステップS502の結果、電源オフ時間長222がCM閾値以上であるならば、ステップS504で、キャリッジのシャフトに沿うフル可動範囲にわたる往復走行が実行される。これにより、キャリッジ機構114の潤滑油が引き伸ばされ流動して固化が防止される。
If the result of step S502 is that the power-
以上のキャリッジメンテナンス制御204により、CM閾値以上に長い電源オフ期間があった場合、その後の電源ターンオン直後にキャリッジメンテナンスが必ず実行されることになる。特に長期間の電源オフ期間があった場合、その間にRTC130が停止しても、その後の電源ターンオン直後に確実にキャリッジメンテナンスが実行される。
According to the above
図6は、ヘッドメンテナンス(HM)制御206の流れを示す。
FIG. 6 shows the flow of the head maintenance (HM)
図6のステップS600に示すように、印刷を実行する直前に、このヘッドメンテナンス制御206が開始される。或いは、電源ターンオン直後にヘッドメンテナンス制御206が開始されてもよい。また、ステップS602に示すように、ユーザからヘッドメンテナンス実行要求(例えば、ヘッドクリーニングの実行要求、或いは、インクタンク装着完了の通知など)が入力されたときにも、このヘッドメンテナンス制御206が開始される。
As shown in step S600 of FIG. 6, this
ステップS600により印刷実行直前(又は電源ターンオン直後)にヘッドメンテナンス制御206が開始された場合、ステップS604で、前回HM時刻242と現在のRTC時刻(現在時刻)との差分を計算することで前回のヘッドメンテナンス実行時から現在までの経過時間が計算され、ステップS606で、計算された経過時間が所定の複数レベルのHM(ヘッドメンテナンス)閾値をどれかに該当(超えたか)するか否かが判定される。ここで、それぞれのレベルのHM閾値とは、それぞれのレベルのヘッドメンテナンス(特にヘッドクリーニング)を実行するのに適したヘッドメンテナンス間のインターバルの長さである。レベルが高い(クリーニング作業が入念で重い)ほど、HM閾値はより長い時間に設定されている。
If the
ステップS606の判定の結果、計算された経過時間が複数レベルのHM閾値のいずれにも該当しない(つまり、最小のHM閾値未満である)場合、ヘッドメンテナンスは実行されずにヘッドメンテナンス制御206は終了する。他方、計算された経過時間がいずれかのHM閾値に該当する(「該当するHM閾値」とは、経過時間以下のHM閾値のうちの最大のHM閾値をいう)場合、その該当するHM閾値のレベルのヘッドメンテナンスを実行するために、制御はステップS608へ進む。
As a result of the determination in step S606, if the calculated elapsed time does not correspond to any of the multiple levels of the HM threshold (that is, less than the minimum HM threshold), the head maintenance is not performed and the
また、上述したステップ602で、ユーザ要求によりヘッドメンテナンス制御206が開始された場合にも、ユーザ要求されたヘッドメンテナンスを実行するために、制御はステップS608へ進む。
In addition, when the
ステップS608で、予備的な廃インク制御が実行される。予備的な廃インク制御とは、後に詳述される廃インク制御208と実質的に同じ計算手順により、今行おうとしているヘッドメンテナンスを実際に行った場合にインク吸収体115の廃インク残量がどのような値になるかを予測的に計算して、インク吸収体115から廃インクが溢れ出るか否かを予測的に判定する処理である。この予備的な廃インク制御の計算では、ヘッドメンテナンスによって排出されるインク量として、予めレベルごとに定められているインク排出量値が用いられる。廃インク制御208では、後述するように、RAM124やEEPROM126内の変数データが確定的に更新されるのに対し、予備的な廃インク制御では、変数データの確定的な更新は行われない。
In step S608, preliminary waste ink control is executed. Preliminary waste ink control refers to the amount of waste ink remaining in the
ステップ610で、ステップ608の予備的な廃インク制御の結果により廃インク溢れが生じる可能性があるか否かが判断される。その可能性があると判定された場合、ヘッドメンテナンスの実行はパスされて、ヘッドメンテナンス制御206が終了する。この場合、予備的な廃インク制御の中で、廃インク溢れ用の所定のメンテナンスエラー処理(例えば、ユーザに所定のメッセージを通知する)が行われる。
In step 610, it is determined whether or not there is a possibility of waste ink overflow based on the result of the preliminary waste ink control in step 608. If it is determined that there is such a possibility, the execution of the head maintenance is passed, and the
ステップ610で、廃インク溢れが生じる可能性がないと判断された場合、制御はステップS612に進み、上記ステップ606で判定されたレベル(又は、ステップ602でユーザにより要求されたレベル)のヘッドメンテナンスが実行される。そして、ステップS612で、廃インク制御208が実行される。この廃インク制御208では、今実行されたヘッドメンテナンスの結果としてインク吸収体115の廃インク残量がどのような値になったが計算され、インク吸収体115から廃インクが溢れ出るか否かが判定される。また、ステップS616で、前回HM時刻242に現在のRTC時刻(現在時刻)がセットされる。
If it is determined in step 610 that there is no possibility of waste ink overflow, control proceeds to step S612, and head maintenance at the level determined in step 606 (or the level requested by the user in step 602). Is executed. In step S612,
以上のようなヘッドメンテナンス制御206により、印刷実行前又は電源ターンオン時に、前回のヘッドメンテナンス実行時からの経過時間の長さに応じた適当なレベルのヘッドメンテナンスが選択的に実行される。また、インク吸収体115からの廃インクの溢れ出しを防止するように、ヘッドメンテナンスの実行可否が制御される。
By the
図7と図8は、互いに繋がって廃インク制御208の流れを示す。
7 and 8 show the flow of the
図7のステップS700に示すように、電源ターンオフが行われる直前、及び、上述したヘッドメンテナンス制御206の中で、この廃インク制御208が実行される。ステップS702で、前回蒸発計算時刻246が不定か否かが判断される。前回蒸発計算時刻246が不定な場合とは、このプリンタ10が工場集荷されてからまだ一度もヘッドメンテナンス又は電源ターンオフのいずれもが行われたことがない(廃インク制御208が一度も実行されてない)場合であり、この場合には、廃インク蒸発量の計算を行うことは意味がない。そこで、この場合には、制御は、廃インク蒸発量の計算にかかわる処理をパスして、図8に示すステップ806へ進み、そこで、今回のヘッドメンテナンスで排出したインク量を、SB(相対時刻ベース廃インク総量)252とB(相対時刻ベース廃インク残量)254に加算する。
As shown in step S700 of FIG. 7, the
上記ステップS702の結果、前回蒸発計算時刻246が特定されている場合(既にヘッドメンテナンス又は電源ターンオフのいずれかが行われたことがある場合(既に廃インク制御208が実行されたことがある場合))には、廃インクの蒸発量を計算するために、制御はステップS704に進む。ステップS704で、今回の蒸発量計算が電源ターンオン後の最初の計算回であるか否かが判断される。
If the previous
ステップS704の結果、電源ターンオン後の最初の計算回であると判定された場合には、ステップS706で、その電源ターンオン時にRTC130が継続動作していたか停止していたかが判断される。そして、電源ターンオン時にRTC130が継続動作していた場合には、ステップS708で、前回電源オフ時刻244と現在のRTC時刻(現在時刻)との差分が計算され、その差分がHMタイマ242にセットされる。つまり、前回の電源ターンオフ時点(つまり、前回の蒸発量計算が行われた時点)から現在までの経過時間が、HMタイマ242にセットされる。他方、電源ターンオン時にRTC130が停止していた場合には、現在のRTC時刻は前回の電源ターン時刻からカウントされ続けた値ではなく、電源ターンオン時からカウント開始された値になってしまっている。そこで、この場合には、ステップS710で、電源オン時刻228と現在のRTC時刻(現在時刻)との差分が計算され、その差分がHMタイマ242にセットされる。つまり、電源ターンオン時点から現在までの経過時間がHMタイマ242にセットされる。要するに、電源ターンオン後の最初の計算回では、前回の蒸発量計算が行われた時点から現在までの経過時間のうち、RTC130の停止で不明に陥った電源オフ期間の長さを除いた、確実に経過していると認められる時間長が、HMタイマ242にセットされる。
As a result of step S704, if it is determined that this is the first calculation time after the power supply is turned on, it is determined in step S706 whether the
他方、ステップS704で、電源ターンオン後の最初の計算回でないと判定された場合(電源ターンオン後2回目以降の計算回の場合)には、ステップS712で、現在のHMタイマ242(前回の廃インク制御208におけるステップ732でセットされた、前回の廃インク制御208の実行時刻)と現在のRTC時刻(現在時刻)との差分が計算され、その差分がHMタイマ242に改めてセットされる。つまり、電源ターンオン後2回目以降の計算回では、前回の廃インク制御208の実行時点から現在までの経過時間(これは、確実に経過していると認められる)が、HMタイマ242にセットされる。
On the other hand, if it is determined in step S704 that it is not the first calculation time after the power supply turn-on (in the case of the second or subsequent calculation time after the power supply turn-on), in step S712, the current HM timer 242 (previous waste ink is used). The difference between the previous execution time of
この後、制御はステップS714に進み、TIフラグ220(RTC時刻が絶対時刻に対応するか相対時刻に対応するか)がチェックされる。TIフラグ220が「1」の場合(RTC時刻が絶対時刻に対応する場合)には、制御はステップS716へ進み、そこで、前回蒸発計算時刻246と現在のRTC時刻(現在時刻)との差分が計算され、その差分が蒸発時間長224にセットされる。こうしてセットされた蒸発時間長224は、RTC時刻が示す絶対時刻に基づいて計算された、前回の蒸発計算実行時点から現在まで経過時間であり、これは、確実に経過していると認められる時間である。そして、ステップS718で、前回蒸発計算時刻246が、現在のRTC時刻(現在時刻)に更新される。
Thereafter, control proceeds to step S714, where TI flag 220 (whether RTC time corresponds to absolute time or relative time) is checked. When the
その後、ステップS720で、上記ステップS716でセットされた蒸発時間長224の所定の関数として廃インクの蒸発量が計算される。例えば、蒸発時間長224に所定の蒸発係数(単位時間当たりの蒸発量を定義した値)を乗算することで、蒸発量が計算される。このように蒸発時間長224に基づいて計算された蒸発量が、現在のA(絶対時刻ベース廃インク残量)250から差し引かれ、それにより得られた廃インク残量がA250に改めてセットされる。
Thereafter, in step S720, the evaporation amount of the waste ink is calculated as a predetermined function of the
さらに、ステップS722で、上記ステップS708、710又は712でセットされたHMタイマ220の所定の関数として廃インクの蒸発量が計算される。例えば、HMタイマ220に上記蒸発係数を乗算することで、蒸発量が計算される。このようにHMタイマ220に基づいて計算された蒸発量が、現在のB(相対時刻ベース廃インク残量)254から差し引かれ、それにより得られた廃インク残量がB254に改めてセットされる。
Further, in step S722, the evaporation amount of waste ink is calculated as a predetermined function of the
ここで、上記ステップS720とS722での蒸発量計算の根拠として用いられる蒸発時間長224とHMタイマ220の意味について説明する。
Here, the meaning of the
蒸発時間長224は、絶対時刻に対応するRTC時刻を用いて計算されるもので、前回の蒸発量計算時点(ヘッドメンテナンス実行時点又は電源ターンオフ時点)から、今回の蒸発量計算時点(ヘッドメンテナンス実行時点又は電源ターンオフ時点)までの時間区間の長さである。前回の蒸発量計算時点と今回の蒸発量計算時点との間に電源オフ期間が挟まる場合がある。その電源オフ期間中にRTC130が停止したとしても、その電源オフ期間の長さは、必然的に、蒸発時間長224に算入されることになる。
The
これに対し、HMタイマ220は、絶対時刻に対応するRTC時刻を用いて計算される場合もあれば、相対時刻に対応するRTC時刻を用いて計算される場合もある。これは、HMタイマ220がセットされる時点でRTC時刻が絶対時刻に対応しているか相対時刻に対応しているかによって決まる。HMタイマ220は次の時間長を示す。
In contrast, the
(1) 電源ターンオン後の最初の蒸発量計算時(ヘッドメンテナンス実行時点又は電源ターンオフ時点)の場合
A. 電源オフ期間中にRTC130が継続動作していた場合
前回の電源ターンオフ時点から現在(ヘッドメンテナンス実行時点又は電源ターンオフ時点)までの時間区間の長さ。
(1) When calculating the first evaporation after power-on (when head maintenance is performed or when power is turned off) When the
B. 電源オフ期間中にRTC130が停止した場合
電源ターンオン時点から現在(ヘッドメンテナンス実行時点又は電源ターンオフ時点)までの時間区間の長さ。
B. When the
(2) 電源ターンオン後の2回目の蒸発量計算時(ヘッドメンテナンス実行時点又は電源ターンオフ時点)の場合
前回の蒸発量計算時点(ヘッドメンテナンス実行時点)から今回の蒸発量計算時点(ヘッドメンテナンス実行時点又は電源ターンオフ時点)までの時間区間の長さ。
(2) When the second evaporation amount is calculated after the power is turned on (when head maintenance is performed or when the power is turned off) From the previous evaporation amount calculation time (head maintenance execution time) to the current evaporation amount calculation time (head maintenance execution time) Or the length of the time interval until the power is turned off.
HMタイマ220は、蒸発時間長224と異なり、RTC130の停止が生じた電源オフ期間の時間長は、これに算入されない。一方、RTC130が継続動作している電源オフ期間の時間長は、HMタイマ220に算入され得る。
Unlike the
蒸発時間長224とHMタイマ220とは、通常は同じ値になるのであるが、次の場合にだけ異なる値となる。その場合とは、電源オフ期間中にRTC130が停止した後に電源がターンオンされた後の最初の計算回の場合である。この場合、既に述べたように、蒸発時間長224には、前回蒸発計算時刻246から現在のRTC時刻との差分がセットされるのに対し、他方、HMタイマ220には、電源ターンオン時刻から現在のRTC時刻との差分がセットされ、それには電源ターンオン以前の経過時間は含まれていない。このように異なる蒸発時間長224とHMタイマ220を使い分ることで、後に説明するように、A250とB252の値の信頼性が向上することになる。
The
さて、A250とB252が計算された後、ステップS724で、SA(絶対時刻ベース廃インク総量)248とSB(相対時刻ベース廃インク総量)252と所定の蒸発残率(もうこれ以上は蒸発しないと認められる限界の廃インク残量の廃インク総量に対する比率)とに基づいて、上記計算されたA250とB254がそれぞれ過少ではないか(つまり、計算された廃インク蒸発量が過大でないか)がチェックされる。その結果、A250又はB254が過少と判断されると、そのA250又はB254が修正される。例えば、SA248とSB252にそれぞれ蒸発残率が乗算されることで、SA248に基づく限界廃インク残量と、SB252に基づく限界廃インク残量とが計算される。そして、A250とSA248に基づく限界廃インク残量とが比較され、A250の方が小さければ、A250が、SA248に基づく限界廃インク残量と同じ値に修正される。また、B254も同様に、SB252に基づく限界廃インク残量より小さければ、SB252に基づく限界廃インク残量と同じ値に修正される。 Now, after A250 and B252 are calculated, in step S724, SA (absolute time base waste ink total) 248, SB (relative time base waste ink total) 252 and a predetermined residual evaporation rate (no more evaporation is required). The calculated A250 and B254 are not too small (that is, the calculated amount of waste ink evaporation is not too large) based on the limit of the ratio of the remaining amount of waste ink to the total amount of waste ink). Is done. As a result, when it is determined that A250 or B254 is insufficient, A250 or B254 is corrected. For example, SA248 and SB252 are multiplied by the residual evaporation rate, respectively, so that the limit waste ink remaining amount based on SA248 and the limit waste ink remaining amount based on SB252 are calculated. Then, A250 and the limit waste ink remaining amount based on SA248 are compared. If A250 is smaller, A250 is corrected to the same value as the limit waste ink remaining amount based on SA248. Similarly, if B254 is smaller than the limit waste ink remaining amount based on SB252, it is corrected to the same value as the limit waste ink remaining amount based on SB252.
その後、ステップS726で、今回のヘッドメンテナンスで新たに排出された廃インク量が、SA248とA250に加算される。SB252とB254には、新たに排出された廃インク量の加算は行われない。その後、制御は、後述するステップS728へ進む。 Thereafter, in step S726, the amount of waste ink newly discharged by the current head maintenance is added to SA248 and A250. The amount of newly discharged waste ink is not added to SB252 and B254. Thereafter, the control proceeds to step S728 described later.
他方、上記ステップS714で、TIフラグ220が「0」と判定された場合(RTC時刻が相対時刻に対応している場合)には、制御は図8に示すステップS800へ進む。ステップS800で、前回蒸発計算時刻246が、これに上記ステップS708、710又は712でセットされたHMタイマ220を加算した値に更新される。
On the other hand, when it is determined in step S714 that the
そして、ステップS802で、HMタイマ220の関数として蒸発量が計算される。例えば、HMタイマ220に上記蒸発係数を乗算することで、蒸発量が計算される。このようにHMタイマ220に基づいて計算された蒸発量が、現在のA250とB254からそれぞれ差し引かれ、それにより得られた廃インク残量がそれぞれA250とB254に改めてセットされる。
In step S802, the evaporation amount is calculated as a function of the
その後、ステップ804で、前述のステップS724で行ったと同様の方法で、上記S802で計算されたA250とB254がそれぞれ過少ではないか(つまり、計算された廃インク蒸発量が過大でないか)がチェックされ、その結果、過少と判断されたA250又はB254が修正される。 Thereafter, in step 804, it is checked whether A250 and B254 calculated in step S802 are too small (that is, whether the calculated amount of waste ink evaporation is excessive) in the same manner as in step S724 described above. As a result, A250 or B254 determined to be insufficient is corrected.
その後、ステップS806で、今回のヘッドメンテナンスで新たに排出された廃インク量が、SB252とB254に加算される。SA248とA250には、新たに排出された廃インク量の加算は行われない。その後、制御は、ステップS728へ進む。 Thereafter, in step S806, the amount of waste ink newly discharged by the current head maintenance is added to SB252 and B254. The amount of newly discharged waste ink is not added to SA248 and A250. Thereafter, the control proceeds to step S728.
ステップS728では、A250とB254が加算されてトータルの廃インク残量が計算され、そのトータルの廃インク残量が、所定の溢れ閾値以上になったかが判定される。ここで、溢れ閾値とは、廃インク残量が溢れ閾値以下であれば、インク吸収体115から廃インクが溢れ出るおそれがないと判断される値である。判定の結果、トータルの廃インク残量が溢れ閾値を越えた場合、ステップ730で、廃インク溢れ出しに対処するための所定のメンテナンスエラー制御(例えば、ユーザへのメッセージの表示)が行われる。その後、ステップS732で、HMタイマに現在のRTC時刻(現在時刻)がセットされる。
In step S728, A250 and B254 are added to calculate the total waste ink remaining amount, and it is determined whether the total waste ink remaining amount is equal to or greater than a predetermined overflow threshold. Here, the overflow threshold is a value that determines that there is no possibility of overflow of waste ink from the
以上のような廃インク制御208により、A250には、RTC時刻が絶対時刻に対応しているときに排出された廃インクの残量が記録され、一方、B254には、RTC時刻が相対時刻に対応しているときに排出された廃インクの残量が記録されることになる。
By the
ステップS720、S722に示したように、TIフラグが「1」である場合(つまり、RTC時刻が絶対時刻に対応している場合)には、A250の蒸発量計算では蒸発時間長224が使用されるのに対し、B254の蒸発量計算ではHMタイマ220が使用される。その理由は次のとおりである。すなわち、B254(つまり、RTC時刻が相対時刻に対応しているときに排出された廃インク量)については、電源オフ期間中にRTC130が停止する事態が生じると、そのインク排出が行われた時刻が不明になってしまう。そのような場合には、不明になったB254のインク排出時刻から現在までの経過時間より長い経過時間が、蒸発時間長224にセットされる虞がある。そのため、B254の蒸発量計算に蒸発時間長224を用いると、実際より大きい蒸発量が計算される場合があり、その結果、廃インクが溢れ出る事態が発生する可能性がある。HMタイマ220は、電源ターンオン時点から現在までの確実に経過していると認められる時間を表している。そのため、不明になった経過時間での蒸発量は算入せず、確実に蒸発したと認められる蒸発量だけを計算するために、B254の蒸発量計算ではHMタイマ224が用いられる。他方、A250(つまり、RTC時刻が絶対時刻に対応しているときに排出された廃インク量)については、現在のRTC時刻が絶対時刻に対応している限り、現在のRTC時刻と前回の蒸発量計算時刻との差分である蒸発時間長224の方が、HMタイマ220よりも、そのインク排出時刻から現在までの経過時間長により近い値を表すことになる。そこで、A250の蒸発量計算では、蒸発時間長224が使用される。
As shown in steps S720 and S722, when the TI flag is “1” (that is, when the RTC time corresponds to the absolute time), the
また、ステップS802に示したように、TIフラグが「0」である場合(つまり、RTC時刻が相対時刻に対応している場合)には、A250についても、B254についても、蒸発量計算ではHMタイマ220が使用される。その理由は次のとおりである。すなわち、現在のRTC時刻が相対時刻に対応している場合には、その前の電源オフ期間中にRTC130が停止する事態が生じると、電源オフ期間中の経過時間が不明になってしまう。また、RTC時刻が相対時刻に対応している限り、そのRTC時刻と前回蒸発計算時刻246との差分である蒸発時間長224を計算することは無意味である(ステップS718に示すように、前回蒸発計算時刻246には、絶対時刻に対応しているRTC時刻がセットされるから、相対時刻に対応する現在のRTC時刻との差分は無意味である)。このことは、A250についても、B254についても同様である。要するに、TIフラグが「0」である場合には、前回の蒸発量計算時点から確実に経過したと認められる時間を示すものはHMタイマ220だけである。よって、HMタイマ220だけが蒸発量計算に使用されるのである。
Further, as shown in step S802, when the TI flag is “0” (that is, when the RTC time corresponds to the relative time), the evaporation amount calculation for both A250 and B254 is HM. A
以上のような蒸発時間長224とHMタイマ220との使い分けによって、RTC時刻が絶対時刻に対応しているときに排出された廃インク残量の計算値であるA250と、RTC時刻が相対時刻に対応しているときに排出された廃インク残量の計算値であるB254が、共に、信頼性の高い値となる。A250とB25とを加算したトータルの廃インク残量に基づいて判断することにより、廃インク溢れ出し防止の精度と信頼性が向上する。
By properly using the
また、電源オフ期間中のRTC130の停止により絶対時刻が不明になった後、相対時刻で経過時間(HMタイマ226)が計算された場合であっても、その後にTIが受信されてRTC時刻や記憶されている前回蒸発計算時刻などが再び絶対時刻に対応することになったならば、それらの絶対時刻から正確な経過時間(蒸発時間長224)が計算されるので、相対時間で計算された不正確な経過時間(HMタイマ226)ではなく、正確な経過時間(蒸発時間長224)を用いて廃インク残量が計算される。このように、TIによるRTC130の修正により、正確な経過時間の把握が可能になり、結果として、廃インク制御208のように経過時間に基づいて処理される制御の精度が向上する。
Even when the elapsed time (HM timer 226) is calculated as a relative time after the absolute time becomes unknown due to the stop of the
以上、本発明の実施形態を説明したが、この実施形態は本発明の説明のための例示にすぎず、本発明の範囲をこの実施形態にのみ限定する趣旨ではない。本発明は、その要旨を逸脱することなく、その他の様々な態様でも実施することができる。 As mentioned above, although embodiment of this invention was described, this embodiment is only the illustration for description of this invention, and is not the meaning which limits the scope of the present invention only to this embodiment. The present invention can be implemented in various other modes without departing from the gist thereof.
例えば、上記実施形態では、図7の廃インク制御208におけるステップS710で、HMタイマ226に、電源ターンオン時点から現在までの経過時間をセットしている。これは、RTC130の停止で不明になった電源ターンオン以前の経過時間を蒸発量計算に算入しないようにする趣旨である。しかし、電源オフ期間中にRTC130が停止した場合、その電源オフ期間中に、少なくとも、蓄電器150のバックアップ能力(例えば160時間)を僅かに超える時間(例えばア161時間)が経過していると認められる。そこで、変形例として、ステップS710では、電源ターンオン時点から現在までの経過時間に、上記バックアップ能力を僅かに超える時間長(例えば161時間)を加算してもよい。
For example, in the above embodiment, in step S710 in the
100:プリンタ、110:印刷機構有、111:印刷ヘッド、113:ヘッドメンテナンス機構、113:キャリッジ機構、115:インク吸収体、120:コントローラ、122:CPU、124:RAM、126:EEPROM(不揮発性メモリ)、130:RTC(リアルタイムクロック回路)、140:主電源回路、150:蓄電器、200:電源オン時時間制御、202:TI受信時時間制御、203:内部時間管理制御、204:キャリッジメンテナンス(CM)制御、206:ヘッドメンテナンス制御、208:廃インク制御。 100: printer, 110: printing mechanism present, 111: print head, 113: head maintenance mechanism, 113: carriage mechanism, 115: ink absorber, 120: controller, 122: CPU, 124: RAM, 126: EEPROM (nonvolatile Memory), 130: RTC (real time clock circuit), 140: main power supply circuit, 150: capacitor, 200: power on time control, 202: TI reception time control, 203: internal time management control, 204: carriage maintenance ( CM) control, 206: head maintenance control, 208: waste ink control.
Claims (4)
前記電子機器の電源オン期間中は電源からの電力により動作し、電源オフ期間中は蓄電器に蓄えられた電力で動作して、継続的に内部時刻をカウントするクロック手段と、
前記外部装置から前記絶対時刻の情報を受けたとき、前記情報を用いて前記クロック手段を修正して、前記内部時刻を前記絶対時刻に対応させる内部クロック修正手段と、
前記電子機器で所定処理が実行された時点にて前記クロック手段から取得される処理時刻を記憶する処理時刻記憶手段と、
前記内部クロック修正手段により前記クロック手段が修正された場合、前記処理時刻記憶手段に保持されている前記処理時刻を、前記クロック手段と同じ修正幅だけ修正して、前記処理時刻を前記絶対時刻に対応させる記憶時刻修正手段と、
前記処理時刻記憶手段に記憶された前記処理時刻と、現在時点で前記クロック手段から取得される現在時刻との差分を計算することで、前記所定処理の実行時点から現在までの経過時間を計算する経過時間計算手段と、
前記電子機器で実行された特定作業に応答して、前記特定作業の結果に応じた結果データを計算する手段であって、
(1) 前記内部時刻が前記絶対時刻に対応している時に実行された前記特定作業に応答して絶対時刻ベース結果データを計算し、
(2) 前記内部時刻が前記絶対時刻に対応していない時に実行された前記所定作業に応答して相対時刻ベース結果データを計算し、
(3) 前記絶対時刻ベース結果データと前記相対時刻ベース結果データを分離して保持し、
(4) 前記経過時間計算手段により前記経過時間が計算されたとき、前記絶対時刻ベース結果データと前記相対時刻ベース結果データを、それぞれ、計算された前記経過時間に応じて修正する作業結果管理手段とを備え、
前記経過時間計算手段は、
(1) 前記クロック手段の停止が生じた電源オフ期間の時間長が算入され得る第1の経過時間を計算する手段と、
(2) 前記クロック手段の停止が生じた電源オフ期間の時間長が算入され得ない第2の経過時間を計算する手段と
を有し、
前記作業結果管理手段は、前記経過時間の計算時点にて前記内部時刻が前記絶対時刻に対応しているか否かをチェックし、チェックの結果、
(1) 前記絶対時刻に対応している場合には、
A. 前記絶対時刻ベース結果データを、前記第1の経過時間に応じて修正し、
B. 前記相対時刻ベース結果データを、前記第2の経過時間に応じて修正し、
(2) 前記絶対時刻に対応していない場合には、前記絶対時刻ベース結果データと前記相対時刻ベース結果データとを、前記第2の経過時間に応じて修正する電子機器。 In electronic devices that can be connected to external devices that send absolute time information intermittently,
Clock means for operating with power from a power source during the power-on period of the electronic device, operating with power stored in a capacitor during the power-off period, and continuously counting the internal time;
Internal clock correction means for correcting the clock means using the information when the information on the absolute time is received from the external device, and making the internal time correspond to the absolute time;
A processing time storage means for storing a processing time acquired from the clock means when a predetermined process is executed in the electronic device;
When the clock means is corrected by the internal clock correction means, the processing time held in the processing time storage means is corrected by the same correction width as the clock means, and the processing time is set to the absolute time. A corresponding storage time correction means;
By calculating the difference between the processing time stored in the processing time storage means and the current time acquired from the clock means at the current time, the elapsed time from the execution time of the predetermined process to the present is calculated. Elapsed time calculation means,
In response to the specific work executed in the electronic device, means for calculating result data according to the result of the specific work,
(1) calculating absolute time base result data in response to the specific operation performed when the internal time corresponds to the absolute time;
(2) calculating relative time base result data in response to the predetermined work performed when the internal time does not correspond to the absolute time;
(3) Separately holding the absolute time base result data and the relative time base result data ;
(4) Work result management means for correcting the absolute time base result data and the relative time base result data according to the calculated elapsed time when the elapsed time is calculated by the elapsed time calculation means. It equipped with a door,
The elapsed time calculation means includes
(1) means for calculating a first elapsed time in which a time length of a power-off period in which the stop of the clock means has occurred can be counted;
(2) means for calculating a second elapsed time during which the time length of the power-off period in which the clock means has stopped cannot be counted;
Have
The work result management means checks whether the internal time corresponds to the absolute time at the time of calculation of the elapsed time, and as a result of the check,
(1) If it corresponds to the absolute time,
A. Correcting the absolute time base result data according to the first elapsed time;
B. Correcting the relative time base result data according to the second elapsed time;
(2) An electronic device that corrects the absolute time base result data and the relative time base result data according to the second elapsed time when the absolute time is not supported .
前記電子機器の電源オン期間中は電源からの電力により動作し、電源オフ期間中は蓄電器に蓄えられた電力で動作して、継続的に内部時刻をカウントするクロック手段と、
前記外部装置から前記絶対時刻の情報を受けたとき、前記情報を用いて前記クロック手段を修正して、前記内部時刻を前記絶対時刻に対応させる内部クロック修正手段と、
前記電子機器で所定処理が実行された時点にて前記クロック手段から取得される処理時刻を記憶する処理時刻記憶手段と、
前記内部クロック修正手段により前記クロック手段が修正された場合、前記処理時刻記憶手段に保持されている前記処理時刻を、前記クロック手段と同じ修正幅だけ修正して、前記処理時刻を前記絶対時刻に対応させる記憶時刻修正手段と、
前記処理時刻記憶手段に記憶された前記処理時刻と、現在時点で前記クロック手段から取得される現在時刻との差分を計算することで、前記所定処理の実行時点から現在までの経過時間を計算する経過時間計算手段と、
前記電子機器で実行された特定作業に応答して、前記特定作業の結果に応じた結果データを計算する手段であって、
(1) 前記内部時刻が前記絶対時刻に対応している時に実行された前記特定作業に応答して絶対時刻ベース結果データを計算し、
(2) 前記内部時刻が前記絶対時刻に対応していない時に実行された前記所定作業に応答して相対時刻ベース結果データを計算し、
(3) 前記絶対時刻ベース結果データと前記相対時刻ベース結果データを分離して保持し、
(4)前記経過時間計算手段により前記経過時間が計算されたとき、前記絶対時刻ベース結果データと前記相対時刻ベース結果データを、それぞれ、計算された前記経過時間に応じて計算する作業結果管理手段とを備え、
前記経過時間計算手段は、電源オフ期間中に前記クロック手段が停止したことにより前記内部時刻が前記絶対時刻に対応しなくなった場合、前記絶対時刻に対応していない前記内部時刻に基づいて前記経過時間を計算し、その後、前記外部装置から受信された前記情報により前記内部時刻及び前記処理時刻が前記絶対時刻に対応するように修正された場合、前記絶対時刻に対応する前記内部時刻及び前記処理時刻に基づいて前記経過時間を計算するとともに、前記絶対時刻に対応していない前記内部時刻に基づいて計算された前記経過時間を無効にする電子機器。 In electronic devices that can be connected to external devices that send absolute time information intermittently,
Clock means for operating with power from a power source during the power-on period of the electronic device, operating with power stored in a capacitor during the power-off period, and continuously counting the internal time;
Internal clock correction means for correcting the clock means using the information when the information on the absolute time is received from the external device, and making the internal time correspond to the absolute time;
A processing time storage means for storing a processing time acquired from the clock means when a predetermined process is executed in the electronic device;
When the clock means is corrected by the internal clock correction means, the processing time held in the processing time storage means is corrected by the same correction width as the clock means, and the processing time is set to the absolute time. A corresponding storage time correction means;
By calculating the difference between the processing time stored in the processing time storage means and the current time acquired from the clock means at the current time, the elapsed time from the execution time of the predetermined process to the present is calculated. Elapsed time calculation means,
In response to the specific work executed in the electronic device, means for calculating result data according to the result of the specific work,
(1) calculating absolute time base result data in response to the specific operation performed when the internal time corresponds to the absolute time;
(2) calculating relative time base result data in response to the predetermined operation performed when the internal time does not correspond to the absolute time;
(3) Separately holding the absolute time base result data and the relative time base result data ;
(4) Work result management means for calculating the absolute time base result data and the relative time base result data according to the calculated elapsed time when the elapsed time is calculated by the elapsed time calculation means. It equipped with a door,
The elapsed time calculation means, when the internal time does not correspond to the absolute time due to the clock means being stopped during the power-off period, the elapsed time based on the internal time not corresponding to the absolute time If the internal time and the processing time are corrected to correspond to the absolute time according to the information received from the external device after calculating the time, the internal time and the processing corresponding to the absolute time An electronic device that calculates the elapsed time based on time and invalidates the elapsed time calculated based on the internal time that does not correspond to the absolute time .
前記特定作業は、ヘッドメンテナンスであり、
前記結果データは、前記ヘッドメンテナンスにより印刷ヘッドから排出されてインク吸収体に保持された廃インク量を示す廃インク量データであり、
前記作業結果管理手段による前記修正は、前記廃インク量データから、前記経過時間に応じたインク蒸発量を差し引くことである
請求項1乃至3記載の電子機器。
The electronic device is an inkjet printer;
The specific operation is head maintenance,
The result data is waste ink amount data indicating the amount of waste ink discharged from the print head by the head maintenance and held in the ink absorber,
The work result the correction by the management means, wherein the waste ink amount data, the electronic device of claims 1 to 3, wherein by subtracting the ink evaporation amount corresponding to the elapsed time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004278334A JP4581598B2 (en) | 2004-09-24 | 2004-09-24 | Electronic equipment with time management function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004278334A JP4581598B2 (en) | 2004-09-24 | 2004-09-24 | Electronic equipment with time management function |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006088589A JP2006088589A (en) | 2006-04-06 |
JP2006088589A5 JP2006088589A5 (en) | 2007-09-06 |
JP4581598B2 true JP4581598B2 (en) | 2010-11-17 |
Family
ID=36230004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004278334A Expired - Fee Related JP4581598B2 (en) | 2004-09-24 | 2004-09-24 | Electronic equipment with time management function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4581598B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5465977B2 (en) * | 2009-10-15 | 2014-04-09 | 理想科学工業株式会社 | Image recording apparatus and method for controlling image recording apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11227305A (en) * | 1997-11-17 | 1999-08-24 | Canon Business Mach Inc | Scheduling system of event of device |
JP2002175129A (en) * | 2000-12-07 | 2002-06-21 | Nissin Electric Co Ltd | Computer having time adjusting function, and network system |
JP2004021882A (en) * | 2002-06-20 | 2004-01-22 | Toshiba Corp | Information terminal equipment |
JP2004078754A (en) * | 2002-08-21 | 2004-03-11 | Seiko Instruments Inc | Printer and printing system with authentication module |
JP2004094613A (en) * | 2002-08-30 | 2004-03-25 | Casio Comput Co Ltd | Date certification device, electronic seal device, electronic seal system and date certification program |
-
2004
- 2004-09-24 JP JP2004278334A patent/JP4581598B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11227305A (en) * | 1997-11-17 | 1999-08-24 | Canon Business Mach Inc | Scheduling system of event of device |
JP2002175129A (en) * | 2000-12-07 | 2002-06-21 | Nissin Electric Co Ltd | Computer having time adjusting function, and network system |
JP2004021882A (en) * | 2002-06-20 | 2004-01-22 | Toshiba Corp | Information terminal equipment |
JP2004078754A (en) * | 2002-08-21 | 2004-03-11 | Seiko Instruments Inc | Printer and printing system with authentication module |
JP2004094613A (en) * | 2002-08-30 | 2004-03-25 | Casio Comput Co Ltd | Date certification device, electronic seal device, electronic seal system and date certification program |
Also Published As
Publication number | Publication date |
---|---|
JP2006088589A (en) | 2006-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101002531B1 (en) | Semiconductor storage device management system, semiconductor storage device, host unit, and semiconductor storage device management method | |
US7624298B2 (en) | Memory card, data processor, memory card control method and memory card setting | |
KR100383404B1 (en) | Semiconductor memory device having error detection and correction | |
EP2865524A1 (en) | Method for recording chip usage state information, chip of imaging box and imaging box | |
US7707376B2 (en) | Verifying the validity of data saved at power down by comparing the time of save to time of power-off upon start up | |
US5838591A (en) | Temperature control apparatus for motor and information storing medium used therefor | |
JPWO2008069046A1 (en) | Electronic device, battery, and battery remaining amount display method | |
JP4581598B2 (en) | Electronic equipment with time management function | |
US6554392B2 (en) | System and method for managing an auxiliary spittoon in a printer | |
US20190227919A1 (en) | Electronic apparatus and recording medium suitable for management of nonvolatile memory | |
JP6732234B2 (en) | How to reset chips, container of chips and consumables | |
CN111459726A (en) | Chip and chip self-repairing method | |
US20160288492A1 (en) | Controlling nozzles in a print head | |
KR20050086368A (en) | Recording medium device | |
US9962940B2 (en) | Managing a service cartridge | |
JP2019144816A (en) | Information processing device and information processing method | |
US7398922B2 (en) | POS terminal apparatus | |
JP4750393B2 (en) | Image forming apparatus | |
US11190650B2 (en) | Management apparatus that estimates load of the management apparatus | |
CN108292263B (en) | Information processing apparatus and information processing method | |
US20030081236A1 (en) | Adaptive preventive maintenance for hardcopy devices | |
JP6643931B2 (en) | Oil management system | |
CN110307142B (en) | Control method of air compressor and air compressor | |
EP2442184A1 (en) | Method for determining a time-varying temperature of at least one temperature-critical component | |
US20180275582A1 (en) | Image forming apparatus, replacement management system for the same, and program for image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070725 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070725 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20070725 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100518 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100712 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100803 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100816 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130910 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |