JP3976034B2 - Information terminal and battery remaining charge calculation method - Google Patents
Information terminal and battery remaining charge calculation method Download PDFInfo
- Publication number
- JP3976034B2 JP3976034B2 JP2004195677A JP2004195677A JP3976034B2 JP 3976034 B2 JP3976034 B2 JP 3976034B2 JP 2004195677 A JP2004195677 A JP 2004195677A JP 2004195677 A JP2004195677 A JP 2004195677A JP 3976034 B2 JP3976034 B2 JP 3976034B2
- Authority
- JP
- Japan
- Prior art keywords
- battery
- hard disk
- load
- disk drive
- information terminal
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Description
本発明は、情報端末、及び、電池残量算出方法に関する。 The present invention relates to an information terminal and a battery remaining amount calculation method.
電池を使用した小型の情報端末の例として、デジタルカメラ、携帯型動画再生装置、携帯型静止画再生装置、などがある。昨今、このような小型の情報端末に、ハードディスクドライブなどの負荷変動に大きな影響を及ぼす装置が搭載されるようになっており、このため、このような装置の駆動状態により電池に対する負荷が大きく変動するようになっている。 Examples of small information terminals using a battery include a digital camera, a portable video playback device, and a portable still image playback device. Recently, devices such as hard disk drives that have a large effect on load fluctuations have been installed in such small information terminals. For this reason, the load on the battery varies greatly depending on the driving state of such devices. It is supposed to be.
ユーザにとって、情報端末があとどれくらい使用できるかを推測する手段として、電池残量の正確な表示は、非常に重要である。電池残量を検出する方法として、電池の充放電電流を測定する方法(例えば、特開平5−66251号公報、特開平7−260839号公報参照、)と、電池電圧を測定する方法(例えば、特開平6−51876号公報、特開平11−55372号公報参照)とがある。
しかしながら、充放電電流を測定する方法は、電流測定部や、その測定された電流のデータを格納する格納部、データから電池残量を算出するCPUが必要となり、小型化、低コスト化を阻害する。このため、小型の情報端末には向かない。 However, the method for measuring the charge / discharge current requires a current measurement unit, a storage unit for storing the measured current data, and a CPU for calculating the remaining battery capacity from the data, which hinders downsizing and cost reduction. To do. For this reason, it is not suitable for a small information terminal.
一方、電池電圧を測定する方法では、電池の特性として、負荷が変動する際に内部インピーダンスにより外部電圧が変化する。このため、負荷変動の大きな装置を内蔵する情報端末では、正確な電池残量を検出することができない。例えば、情報端末の電源投入時には負荷が大きくなるため、電池残量が少なく表示され、その後、情報端末が安定すると負荷が小さくなるため、電池残量が増えるという事態が生じる。このような電池残量の表示変化は、ユーザにとって紛らわしく、非常に不自由である。 On the other hand, in the method of measuring the battery voltage, the external voltage changes due to the internal impedance when the load fluctuates as the characteristics of the battery. For this reason, an information terminal incorporating a device with a large load fluctuation cannot accurately detect the remaining battery level. For example, since the load becomes large when the information terminal is turned on, the remaining amount of battery is displayed low. After that, when the information terminal is stabilized, the load is reduced and the remaining amount of battery increases. Such a display change of the remaining battery level is confusing for the user and very inconvenient.
負荷変動の影響を補正する方法としては、特開平5−66251号公報に開示されているように、負荷に流れる電流を測定し、補正する方法がある。しかし、電流検出部、比較電圧補正部などの追加部品が必要になり、コストの増大を招いてしまう。また、小型化が必須の情報端末において、電池残量を検出することを目的とする新たな構成部品の追加は、極力避けたい。さらに、電源ラインに電流検出用の抵抗を挿入することは、電圧の降下を招き、無駄な電力消費が生じることとなるため、電池による駆動時間を少しでも長くしたい情報端末においては、不向きである。 As a method of correcting the influence of the load fluctuation, there is a method of measuring and correcting the current flowing through the load, as disclosed in Japanese Patent Laid-Open No. 5-66251. However, additional parts such as a current detection unit and a comparison voltage correction unit are required, resulting in an increase in cost. In addition, in an information terminal that must be downsized, it is desirable to avoid adding new components for the purpose of detecting the remaining battery level as much as possible. In addition, inserting a current detection resistor in the power supply line causes a voltage drop and wasteful power consumption, and is not suitable for information terminals that want to extend the battery driving time as much as possible. .
そこで本発明は、前記課題に鑑みてなされたものであり、負荷変動の影響を補正した電池残量の表示を可能にしつつ、情報端末の小型化を図ることを目的とする。 Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to reduce the size of an information terminal while enabling display of a remaining battery level corrected for the influence of load fluctuations.
上記課題を解決するため、本発明に係る情報端末は、
電池により駆動する情報端末であって、
前記電池の電圧である電池電圧を検出する、電圧検出部と、
前記電池から電源の供給を受けて駆動する、駆動部と、
前記駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出する、負荷算出部と、
前記電池電圧に基づいて電池残量を算出する、電池残量算出部であって、前記負荷算出部で算出した前記負荷に基づいて補正をした電池残量を算出する、電池残量算出部と、
を備え、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷算出部は、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、ことを特徴とする。
In order to solve the above problems, an information terminal according to the present invention provides:
An information terminal driven by a battery,
A voltage detector that detects a battery voltage that is a voltage of the battery;
A drive unit that is driven by power supplied from the battery; and
A load calculating unit that monitors a load on the battery of the driving unit and calculates the load according to an operating state of the driving unit;
A remaining battery level calculation unit for calculating a remaining battery level based on the battery voltage, wherein the remaining battery level calculation unit calculates a corrected remaining battery level based on the load calculated by the load calculation unit; ,
With
The drive unit includes a hard disk drive, and the hard disk drive has a plurality of states with different current consumption depending on its operation state even when the hard disk drive is not accessed.
The load calculating unit obtains a load of the hard disk drive based on a time during which the hard disk drive is accessed and a time during which each hard disk drive is in an operation state when the hard disk drive is not accessed. The operating state of the hard disk drive when there is no hard disk drive is determined on the basis of the duration during which the hard disk drive is not accessed.
この場合、前記駆動部には当該情報端末の中央処理装置も含まれており、前記負荷算出部は、前記中央処理装置の動作モードに基づいて、前記中央処理装置の負荷も求めるようにしてもよい。 In this case, the driving unit also includes the central processing unit of the information terminal, and the load calculation unit may determine the load of the central processing unit based on the operation mode of the central processing unit. Good.
また、前記負荷算出部は、当該情報端末で処理される処理内容に基づく前記電池に対する負荷も求めるようにしてもよい。 The load calculation unit may also determine a load on the battery based on processing content processed by the information terminal.
また、前記駆動部にはLCDバックライトも含まれており、前記負荷算出部は、前記LCDバックライトの輝度に基づいて前記LCDバックライトのLCDバックライト輝度係数を算出し、このLCDバックライト輝度係数に基づいてLCDバックライトの負荷も求めるようにしてもよい。 The driving unit also includes an LCD backlight, and the load calculating unit calculates an LCD backlight luminance coefficient of the LCD backlight based on the luminance of the LCD backlight, and the LCD backlight luminance The load on the LCD backlight may also be obtained based on the coefficient.
また、情報端末は、前記電池の温度である電池温度を検出する、温度検出部をさらに備えており、
前記電池残量算出部は、前記温度検出部で検出した前記電池温度に基づいて補正をした電池残量を算出するようにしてもよい。
The information terminal further includes a temperature detection unit that detects a battery temperature that is the temperature of the battery,
The battery remaining amount calculating unit may calculate a remaining battery level corrected based on the battery temperature detected by the temperature detecting unit.
また、情報端末は、前記電池残量算出部が算出した前記電池残量を表示する、表示部をさらに備えるようにしてもよい。 The information terminal may further include a display unit that displays the remaining battery level calculated by the remaining battery level calculating unit.
また、情報端末は、前記電池残量算出部が算出した前記電池残量と前記負荷算出部が算出した前記負荷とに基づいて、当該情報端末があとどれくらいの時間使用できるかを示す、残り使用可能時間を算出する、残り使用可能時間算出部をさらに備えるようにしてもよい。 In addition, the information terminal indicates how much time the information terminal can be used based on the remaining battery level calculated by the remaining battery level calculation unit and the load calculated by the load calculation unit. You may make it further provide the remaining usable time calculation part which calculates possible time.
本発明に係る電池残量算出方法は、電池により駆動する情報端末における電池残量算出方法であって、
前記電池の電圧である電池電圧を検出し、
前記電池から電源の供給を受けて駆動する駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出し、
前記電池電圧に基づいて電池残量を算出するにあたり、算出した前記負荷に基づいて補正をした電池残量を算出するとともに、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷を算出する際には、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、ことを特徴とする。
A battery remaining amount calculating method according to the present invention is a battery remaining amount calculating method in an information terminal driven by a battery,
Detecting a battery voltage which is a voltage of the battery;
Monitoring the load on the battery of the drive unit that is driven by the supply of power from the battery, and calculates the load according to the operating state of the drive unit;
In calculating the remaining battery level based on the battery voltage, calculating the corrected battery level based on the calculated load,
The drive unit includes a hard disk drive, and the hard disk drive has a plurality of states with different current consumption depending on the operation state even when the hard disk drive is not accessed.
When calculating the load, the load of the hard disk drive is obtained based on the time during which the hard disk drive is accessed and the time during which the hard disk drive is not accessed. The operating state of the hard disk drive when it is not accessed is determined based on the duration during which the hard disk drive is not accessed.
本発明に係るプログラムは、電池により駆動する情報端末に電池残量を算出させるためのプログラムであって、
前記電池の電圧である電池電圧を検出するステップと、
前記電池から電源の供給を受けて駆動する駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出するステップと、
前記電池電圧に基づいて電池残量を算出するにあたり、算出した前記負荷に基づいて補正をした電池残量を算出するステップと、
を情報端末に実行させるとともに、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷を算出するステップでは、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、ことを特徴とする。
A program according to the present invention is a program for causing an information terminal driven by a battery to calculate a remaining battery capacity,
Detecting a battery voltage which is a voltage of the battery;
Monitoring the load on the battery of the drive unit that is driven by receiving power supply from the battery, and calculating the load according to the operating state of the drive unit;
In calculating the remaining battery level based on the battery voltage, calculating the corrected battery level based on the calculated load;
To the information terminal,
The drive unit includes a hard disk drive, and the hard disk drive has a plurality of states with different current consumption depending on the operation state even when the hard disk drive is not accessed.
In the step of calculating the load, the load of the hard disk drive is obtained and the hard disk drive is accessed based on the time during which the hard disk drive is accessed and the time during which the hard disk drive is not accessed. The operation state of the hard disk drive when it is not performed is determined based on the duration time during which the hard disk drive is not accessed.
〔第1実施形態〕
第1実施形態は、負荷変動の大きな装置を内蔵する小型の情報端末において、電池残量の算出にあたり、負荷変動の影響を補正して、高い精度で電池残量を求めることができるようにしたものである。より詳しくを、以下に説明する。
[First Embodiment]
In the first embodiment, in a small information terminal incorporating a device with a large load fluctuation, in calculating the battery remaining amount, the influence of the load variation is corrected and the remaining battery amount can be obtained with high accuracy. Is. More details will be described below.
図1は、本実施形態に係る情報端末の内部構成の一例を説明するブロック図である。この図1に示すように、情報端末は、CPU10と、LCDバックライト12と、ハードディスクドライブ14と、表示部18と、これ以外の他の負荷16とを備えて構成されている。また、この情報端末は、電池20を内蔵しており、この電池20から供給された電源は、DC/DCコンバータ22を介して、CPU10とLCDバックライト12とハードディスクドライブ14と表示部18と他の負荷16とに供給されている。すなわち、DC/DCコンバータ22で安定化されたり、変圧されたりした電圧が、これらの負荷である駆動部に供給されている。CPU10は、内部に、AD変換器30と、RAM32と、ROM34とを備えている。また、このCPU10が本実施形態における中央処理装置を構成している。
FIG. 1 is a block diagram illustrating an example of the internal configuration of the information terminal according to the present embodiment. As shown in FIG. 1, the information terminal includes a
また、この情報端末は、電圧検出回路40も備えている。この電圧検出回路は、電池20とDC/DCコンバータ22との間の電圧を検出し、検出した値を電池電圧として、CPU10のAD変換器30に供給する。CPU10では、この検出した値をデジタルデータに変換して、CPU10に取り込む。
The information terminal also includes a
電池20は温度検出回路42を内蔵している。この温度検出回路42は、例えば、サーミスタにより構成されており、この温度検出回路42のアナログ信号の出力は、AD変換器30に入力され、デジタルデータとして、CPU10に取り込まれる。
The
次に、図2に基づいて、本実施形態に係る電池残量算出の原理を説明する。図2は、負荷が大きい場合(例えば1200mA)及び負荷が小さい場合(例えば400mA)の電池電圧と電池残量との関係を示すグラフである。このグラフから分かるように、測定した電池電圧が同じ値であっても、負荷が大きいときと、負荷が小さいときとでは、実際の電池残量は異なる。そこで、本実施形態では、いくつかの代表的な負荷の値に対して、電池電圧と電池残量の関係を予めテーブルで用意しておく。そして、電池残量を求める際には、その情報端末の負荷を算出し、測定した電池電圧に基づいて電池残量を求める際には、その負荷に応じた補正を施すことにより、より正確な電池残量を算出できるようにしたものである。 Next, based on FIG. 2, the principle of the battery remaining amount calculation according to the present embodiment will be described. FIG. 2 is a graph showing the relationship between the battery voltage and the remaining battery level when the load is large (for example, 1200 mA) and when the load is small (for example, 400 mA). As can be seen from this graph, even if the measured battery voltage is the same value, the actual remaining battery level differs between when the load is large and when the load is small. Therefore, in this embodiment, the relationship between the battery voltage and the remaining battery level is prepared in advance in a table for some typical load values. And when calculating the remaining battery level, the load of the information terminal is calculated, and when determining the remaining battery level based on the measured battery voltage, a correction according to the load is performed to obtain a more accurate The battery remaining amount can be calculated.
図3は、本実施形態に係る電池残量算出処理の内容を説明するフローチャートを示す図である。この図3に示す電池残量算出処理は、ROM34に格納されている電池残量算出処理プログラムをCPU10が読み込んで実行することにより、実現される処理である。
FIG. 3 is a diagram illustrating a flowchart for explaining the content of the remaining battery level calculation process according to the present embodiment. The battery remaining amount calculation process shown in FIG. 3 is a process realized by the
図3に示すように、情報端末は、電池20の電圧である電池電圧を取得する(ステップS10)。すなわち、電圧検出回路40で検出した電池20の電圧を、AD変換器30を介してデジタルデータとして取得する。
As shown in FIG. 3, the information terminal acquires a battery voltage that is a voltage of the battery 20 (step S10). That is, the voltage of the
次に、情報端末は、電池20の温度である電池温度を取得する(ステップS12)。すなわち、電池20の内部に設けられた温度検出回路42で検出されたアナログデータの電池温度を、AD変換器30を介して、デジタルデータとして取得する。
Next, the information terminal acquires the battery temperature that is the temperature of the battery 20 (step S12). That is, the battery temperature of the analog data detected by the
次に、情報端末は、定常負荷を取得する(ステップS14)。この定常負荷は、CPU10の動作モードによって変化する。本実施形態では、CPU10は、低速、中速、高速の3つの動作モードを備えているものとする。これら3つの動作モードのうち、今現在いずれの動作モードであるかは、CPU10が把握している。本実施形態においては、低速では、定常負荷は400mAであり、中速では、定常負荷は500mAであり、高速では、定常負荷は600mAである。
Next, the information terminal acquires a steady load (step S14). This steady load varies depending on the operation mode of the
次に、情報端末は、ハードディスクドライブ稼働率を取得する(ステップS16)。本実施形態では、ハードディスクドライブ14は、アクセスをしているかどうかを示すアクセス信号を、CPU10に出力している。このため、CPU10は、このアクセス信号を取得して、ハードディスクドライブ14がアクセスされている時間と、アクセスされていない時間との割合を随時算出することができる。本実施形態では、このアクセス時間の割合を、ハードディスクドライブ稼働率とする。
Next, the information terminal acquires the hard disk drive operating rate (step S16). In the present embodiment, the
次に、情報端末は、LCDバックライト輝度係数を取得する(ステップS18)。本実施形態では、CPU10がLCDバックライト12の輝度を制御する輝度信号を、LCDバックライト12に出力している。このため、この輝度に基づいて、CPU10はLCDバックライト12の輝度係数を把握することができる。本実施形態では、LCDバックライト輝度係数は、0%〜100%の間で10%刻みで、設定することができるよう構成されている。
Next, the information terminal acquires an LCD backlight luminance coefficient (step S18). In the present embodiment, the
次に、情報端末は、負荷を算出する(ステップS20)。本実施形態では、次のような式で負荷を求める。
本実施形態では、ハードディスクドライブアクセス負荷は、例えば500mAとし、LCD負荷は、例えば100mAとしている。そして、この式にステップS14で取得した定常負荷、ステップS16で取得したハードディスクドライブ稼働率、ステップS18で取得したLCDバックライト輝度係数を代入することにより、現在の負荷を算出することができる。 In this embodiment, the hard disk drive access load is, for example, 500 mA, and the LCD load is, for example, 100 mA. The current load can be calculated by substituting the steady load acquired in step S14, the hard disk drive operating rate acquired in step S16, and the LCD backlight luminance coefficient acquired in step S18 into this equation.
次に、情報端末は、電池温度に対応した、電圧−残量変換テーブルを生成する(ステップS22)。本実施形態では、4種類の温度別電圧−残量変換テーブルが、CPU10内のROM34に格納されている。図4乃至図7は、これら4種類の温度別電圧−残量変換テーブルTB10〜TB40の一例を示す図である。図4は、電池温度が5℃の場合の電圧−残量変換テーブルTB10を示す図であり、図5は、電池温度が15℃の場合の電圧−残量変換テーブルTB20を示す図であり、図6は、電池温度が25℃の場合の電圧−残量変換テーブルTB30を示す図であり、図7は、電池温度が45℃の場合の電圧−残量変換テーブルTB40を示す図である。
Next, the information terminal generates a voltage-remaining amount conversion table corresponding to the battery temperature (step S22). In the present embodiment, four types of temperature-dependent voltage-remaining amount conversion tables are stored in the
これらの図から分かるように、本実施形態では、負荷が400mA、800mA、1200mAの3つの場合を代表値として、残量と電池電圧の関係をテーブル化している。そして、これらの電圧−残量変換テーブルを用いて、ステップS12で取得した電池温度における電圧−残量変換テーブルを、直線補間法により生成する。 As can be seen from these figures, in the present embodiment, the relationship between the remaining amount and the battery voltage is tabulated using three cases of loads of 400 mA, 800 mA, and 1200 mA as representative values. Then, using these voltage-remaining amount conversion tables, a voltage-remaining amount conversion table at the battery temperature acquired in step S12 is generated by a linear interpolation method.
例えば、ステップS12で取得した電池温度が20℃であったとする。この場合、図5に示す15℃の電圧−残量変換テーブルTB20の電圧値と、図6に示す25℃の電圧−残量変換テーブルTB30との電圧値を、直線補間することにより、20℃の電圧−残量変換テーブルTB50の電圧値を生成する。具体的には、低温側の電圧−残量変換テーブルの温度をT1(15℃)とし、高温側の電圧−残量変換テーブルの温度をT2(25℃)とし、電池温度をT(20℃)とし、Y1をT1時の電圧値とし、Y2をT2時の電圧値とした場合、補正後の電圧Yは、次の式により算出できる。
これにより算出された電池温度が20℃の場合の電圧−残量変換テーブルTB50は、図8に示すようになる。この電圧−残量変換テーブルTB50は、CPU10のRAM32に格納される。
The voltage-remaining amount conversion table TB50 when the battery temperature calculated in this way is 20 ° C. is as shown in FIG. This voltage-remaining amount conversion table TB50 is stored in the
なお、本実施形態では、電池温度が5℃より低い場合は5℃と15℃の電圧−残量変換テーブルを用い、電池温度が45℃より高い場合は25℃と45℃の電圧−残量変換テーブルを用い、数式(2)に代入することで、それらの温度の場合の電圧−残量変換テーブルを求める。 In this embodiment, when the battery temperature is lower than 5 ° C., a voltage-remaining amount conversion table of 5 ° C. and 15 ° C. is used, and when the battery temperature is higher than 45 ° C., the voltage-remaining amount of 25 ° C. and 45 ° C. By using the conversion table and substituting it into Equation (2), a voltage-residual amount conversion table for those temperatures is obtained.
次に、図3に示すように、情報端末は、ステップS20で算出した負荷に対応した電圧−残量変換テーブルを生成する(ステップS24)。すなわち、ステップS22で生成した電圧−残量変換テーブルに基づいて、ステップS20で算出した負荷に対応した電圧−残量変換テーブルを生成し、RAM32に格納する。
Next, as shown in FIG. 3, the information terminal generates a voltage-residual amount conversion table corresponding to the load calculated in step S20 (step S24). That is, based on the voltage-residual amount conversion table generated in step S22, a voltage-residual amount conversion table corresponding to the load calculated in step S20 is generated and stored in the
例えば、ステップS20で算出した負荷を1000mAであったとする。この場合、図8に示す電圧−残量変換テーブルTB50における800mAの場合の電圧値と、1200mAの場合の電圧値とを、直線補間することにより、1000mAの電圧−残量変換テーブルTB60の電圧値を生成する。具体的には、低負荷側の電流値をL1(800mA)とし、高負荷側の電流値をL2(1200mA)とし、ステップS20で算出した負荷をLとし、Y1をL1時の電圧値とし、Y2をL2時の電圧値とした場合、補正後の電圧Yは、次の式により算出できる。
これにより算出された負荷が1000mAの場合の電圧−残量変換テーブルTB60は、図9に示すようになる。 The voltage-residual amount conversion table TB60 when the calculated load is 1000 mA is as shown in FIG.
次に、図3に示すように、情報端末は、負荷補正及び温度補正をした後の電圧−残量変換テーブルTB60に基づいて、電池残量を算出する(ステップS26)。すなわち、RAM32に格納されている電圧−残量変換テーブルTB60の数値を直線補間することにより、ステップS10で取得した電池電圧に対応した電池残量を算出する。
Next, as illustrated in FIG. 3, the information terminal calculates the remaining battery level based on the voltage-remaining amount conversion table TB60 after performing load correction and temperature correction (step S26). That is, the battery remaining amount corresponding to the battery voltage acquired in step S10 is calculated by linearly interpolating the numerical value of the voltage-remaining amount conversion table TB60 stored in the
例えば、ステップS10で取得した電池電圧が3.55Vであったとする。この場合、図9に示す電圧−残量変換テーブルTB60における3.54V(電池残量40%)と、3.60V(電池残量50%)とを、直線補間することにより、電池電圧が3.55Vである場合の電池残量を算出する。具体的には、低電圧側の電圧値をY1(3.54V)とし、高電圧側の電圧値をY2(3.60V)とし、ステップS10で取得した電圧をYとし、X1をY1時の電池残量とし、X2をY2時の電池残量とした場合、補正後の電池残量Xは、次の式により算出できる。
これにより、電圧残量を算出すると、約42%になる。本実施形態では、この算出された電池残量は、一旦、RAM32に格納される。
As a result, the remaining voltage is calculated to be about 42%. In the present embodiment, the calculated remaining battery level is temporarily stored in the
次に、図3に示すように、情報端末は、RAM32から算出された電池残量を読み出して、表示部18に表示する(ステップS28)。電池残量の表示方法には、様々なものが考えられる。例えば、情報端末の画面を表示部18として、数値で42%と表示してもよいし、或いは、表示部18をバー形式の液晶表示部で構成し、この液晶表示部のバーの長さを42%相当の長さにしてもよい。
Next, as shown in FIG. 3, the information terminal reads the remaining battery level calculated from the
以上のように、本実施形態によれば、負荷変動に寄与する割合の高い装置(例えば、ハードディスクドライブ14や、LCDバックライト12、CPU10の動作モードなど)の稼働率を、その装置が出す信号、又は、受け取る信号を測定することにより算出し、この算出結果に基づいて補正を行い、精度よく電池残量を表示するようにした。また、もともと情報端末に内蔵されているCPU10を用いて補正を行うため、新たな装置の追加が不要であり、情報端末の小型化、低コスト化を図ることができる。
As described above, according to the present embodiment, a signal that the device outputs the operating rate of a device that contributes to load fluctuations (for example, the
さらに、電池42の電池温度を温度検出回路42を用いて検出し、この電池温度に基づいて補正も行うので、より高い精度で電池残量を表示することができる。
Furthermore, since the battery temperature of the
〔第2実施形態〕
上述した第1実施形態では、ハードディスクドライブ14のアクセス信号に基づいて、ハードディスクドライブ稼働率を算出し、ハードディスクドライブ14の負荷を算出しているが、第2実施形態では、ハードディスクドライブ14の状態をより正確に特定して、より正確にハードディスクドライブ14の負荷を求めるようにする。
[Second Embodiment]
In the first embodiment described above, the hard disk drive operating rate is calculated based on the access signal of the
具体的には、本実施形態におけるハードディスクドライブ14は、図10及び図11に示すように、5つの動作状態があるものとする。すなわち、実際にハードディスクドライブ14にアクセスを行っているアクセス状態(以下、AC負荷という)と、アクセス終了後300msの間のパフォーマンスアイドル状態(以下、PI負荷という)と、パフォーマンスアイドル状態終了後10秒間のアクティブアイドル状態(以下、AI負荷という)と、アクティブアイドル状態終了後のローパワーアイドル状態(以下、LPI負荷という)と、CPU10からの指示に基づいて移行するスタンバイ状態(以下、ST負荷という)とを、動作状態として有している。
Specifically, it is assumed that the
本実施形態においては、アクセス状態では消費電流が600mAであり、パフォーマンスアイドル状態では消費電流が400mAであり、アクティブアイドル状態では消費電流が190mAであり、ローパワーアイドル状態では消費電流が170mAであり、スタンバイ状態では消費電流が40mAである。なお、本実施形態においては、1秒間に32回、ハードディスクドライブ14の状態をサンプリングする。換言すれば、31.25msのサンプリング周期で、ハードディスクドライブ14の動作状態を特定する。
In this embodiment, the current consumption is 600 mA in the access state, the current consumption is 400 mA in the performance idle state, the current consumption is 190 mA in the active idle state, and the current consumption is 170 mA in the low power idle state. In the standby state, the current consumption is 40 mA. In the present embodiment, the state of the
また、第1実施形態におけるアクセス信号は、ハードディスクドライブ14がアクセス状態にある場合にはローレベルになり、アクセス状態にない場合はハイレベルになる。
Further, the access signal in the first embodiment is at a low level when the
したがって、本実施形態では、アクセス信号がアクセスをしていない状態を示していても、ハードディスクドライブ14がパフォーマンスアイドル状態であるのか、アクティブアイドル状態であるのか、ローパワーアイドル状態であるのか、それとも、スタンバイ状態であるのかにより、消費電流が大きく異なる。このため、単にアクセス信号のハイレベルとローレベルとを検出し、カウントするだけでは、正確なハードディスクドライブ14の負荷を算出できない。
Therefore, in the present embodiment, even if the access signal indicates a state of no access, whether the
このことは、例えば、図12に示すように、アクセス状態、パフォーマンスアイドル状態、アクセス状態、パフォーマンスアイドル状態、アクセス状態、パフォーマンスアイドル状態と順番に推移した場合と、図13に示すように、アクセス状態、パフォーマンスアイドル状態、アクティブアイドル状態、アクセス状態と順番に推移した場合を比較すれば、明らかである。 For example, as shown in FIG. 12, the access state, the performance idle state, the access state, the performance idle state, the access state, and the performance idle state transit in order, and as shown in FIG. 13, the access state It is clear when the performance idle state, active idle state, and access state are sequentially compared.
この図12と図13とでは、1秒間にローレベルのアクセス信号(つまり、アクセス状態)をカウントする回数は、6回で同じである。しかし、ハードディスクドライブ14の負荷は、図12の場合は438mAであり、図13の場合は333mAであり、その差は105mAも存在する。ハードディスクドライブ14にアクセスがされているかどうかを示すアクセス信号のみに基づいて、ハードディスクドライブ14の負荷を算出していた場合、これが潜在誤差として存在することになる。
In FIG. 12 and FIG. 13, the number of times the low level access signal (that is, the access state) is counted in one second is the same at six times. However, the load on the
そこで、本実施形態においては、次の式(5)を用いてハードディスクドライブ14の負荷を算出する。
すなわち、1秒あたり32回サンプリングを行うので、サンプリングにより得られた状態に基づいて、ハードディスクドライブ14の1秒間あたりの消費電流を算出する。ここで、カウンタN_ONは、ハードディスクドライブ14が直前の1秒間でアクセス状態にあった場合のカウント数であり、カウンタN_OFF_PIは、ハードディスクドライブ14が直前の1秒間でパフォーマンスアイドル状態にあった場合のカウント数であり、カウンタN_OFF_AIは、ハードディスクドライブ14が直前の1秒間でアクティブアイドル状態にあった場合のカウント数であり、カウンタN_OFF_LPIは、ハードディスクドライブ14が直前の1秒間でローパワーアイドル状態にあった場合のカウント数であり、カウンタN_OFF_STは、ハードディスクドライブ14が直前の1秒間でスタンバイ状態にあった場合のカウント数である。すなわち、カウンタN_ON、N_OFF_PI、N_OFF_AI、N_OFF_LPI、N_OFF_STは、1秒毎にゼロにクリアされる変数である。
That is, since sampling is performed 32 times per second, the current consumption per second of the
なお、スタンバイ状態(ST負荷)については、CPU10からハードディスクドライブ14に指示を出すことにより移行するので、このスタンバイ状態については、CPU10自身で特定することが可能である。
Since the standby state (ST load) is shifted by issuing an instruction from the
また、この情報端末全体の負荷は、第1実施形態における式(1)に代えて、式(6)により算出される。
図14は、本実施形態に係る情報端末の内部構成の一例を説明するブロック図である。この図14から分かるように、本実施形態に係る情報端末の内部構成は、概略的には上述した第1実施形態と同様であるが、CPU10からハードディスクドライブ14に対して、ハードディスクドライブ14をスタンバイ状態に移行させるコマンド信号が出力される点で相違する。すなわち、本実施形態においては、CPU10が、積極的にハードディスクドライブ14をスタンバイ状態に移行させるため、そのコマンド信号をCPU10からハードディスクドライブ14に出力する。通常、このスタンバイ状態に移行させるコマンド信号は、ハードディスクドライブ14がローパワーアイドル状態にある場合に、出力される。これ以外の構成は、上述した第1実施形態と同様である。
FIG. 14 is a block diagram illustrating an example of the internal configuration of the information terminal according to the present embodiment. As can be seen from FIG. 14, the internal configuration of the information terminal according to the present embodiment is roughly the same as that of the first embodiment described above, but the
次に、本実施形態におけるハードディスクドライブ負荷カウント処理について説明する。図15は、本実施形態に係るハードディスクドライブ負荷カウント処理の内容を説明するフローチャートを示す図である。この図15に示すハードディスクドライブ負荷カウント処理は、ROM34に格納されているハードディスクドライブ負荷カウント処理プログラムをCPU10が読み込んで実行することにより、実現される処理である。また、このハードディスクドライブ負荷カウント処理は、上述したように、31.25ms毎に起動され、カウントされる処理である。
Next, hard disk drive load count processing in this embodiment will be described. FIG. 15 is a flowchart illustrating the contents of the hard disk drive load count process according to the present embodiment. The hard disk drive load count process shown in FIG. 15 is a process realized by the
図15に示すように、情報端末は、ハードディスクドライブ14が、アクティブ状態であるかどうかを判断する(ステップS100)。具体的には、ハードディスクドライブ14のアクセス信号が、アクセスをしている状態を示しているかどうかを判断する。ハードディスクドライブ14がアクティブ状態である場合(ステップS100:Yes)には、カウンタN_ONを1つカウントアップする(ステップS102)。
As shown in FIG. 15, the information terminal determines whether or not the
一方、ハードディスクドライブ14がアクティブ状態でない場合(ステップS100:No)には、ハードディスクドライブ14がスタンバイ状態であるかどうかを判断する(ステップS104)。具体的には、ハードディスクドライブ14をスタンバイ状態に移行するためのコマンド信号は、CPU10がハードディスクドライブ14に出力するので、CPU10はハードディスクドライブ14がスタンバイ状態であるかどうかを把握することができる。このため、CPU10自身でハードディスクドライブをスタンバイ状態にしたかどうかを判断する。ハードディスクドライブ14がスタンバイ状態である場合(ステップS104:Yes)には、カウンタN_OFF_STを1つカウントアップする(ステップS106)。
On the other hand, if the
一方、ハードディスクドライブ14がスタンバイ状態でないと判断した場合(ステップS104:No)には、アクセス信号は10回のサンプリング数より多く連続して非アクセス状態になったかどうかを判断する(ステップS108)。具体的には、CPU10は、アクセス信号がアクセスしている状態(ローレベル)からアクセスしていない状態(ハイレベル)に移行した直後から、連続非アクセス数のカウントをゼロから開始し、サンプリングした際にアクセスしていない状態が継続されている場合には、連続非アクセス数を1つカウントアップする処理を行っている。
On the other hand, when it is determined that the
そして、CPU10は、この連続非アクセス数が10回より多く続いたかどうかを判断する。上述したように、本実施形態においては、パフォーマンスアイドル状態はアクセスがない場合、300ms続く設定である。このため、31.25ms毎にサンプリングを行う本実施形態においては、パフォーマンスアイドル状態は10回サンプリングする時間に相当するので、連続して非アクセス状態になったアクセス信号をサンプリングした回数が10回以下の場合は、パフォーマンスアイドル状態にあると判断できるのである。連続非アクセス数が10回以下である場合(ステップS108:No)には、カウンタN_OFF_PIを1つカウントアップする(ステップS110)。
Then, the
一方、連続非アクセス数が10回より多い場合(ステップS108:Yes)には、連続非アクセス数が、10+320=330回より多いかどうかを判断する(ステップS112)。具体的には、CPU10は、連続非アクセス数が330回より多いかどうかを判断する。上述したように、本実施形態においては、パフォーマンスアイドル状態は300ms続く設定にしてあり、その後、アクティブアイドル状態が10秒続く設定である。このため、31.25ms毎にサンプリングを行う本実施形態においては、パフォーマンスアイドル状態は10回サンプリングする時間に相当し、アクティブアイドル状態は320回サンプリングする時間に相当するので、連続して非アクセス状態をサンプリングした回数を示す連続非アクセス数が10回より多く、且つ、330回以下の場合は、アクティブアイドル状態にあると判断できるのである。連続非アクセス数が330回以下である場合(ステップS112:No)には、カウンタN_OFF_AIを1つカウントアップする(ステップS114)。
On the other hand, if the number of consecutive non-accesses is greater than 10 (step S108: Yes), it is determined whether or not the number of consecutive non-accesses is greater than 10 + 320 = 330 (step S112). Specifically, the
一方、連続非アクセス数が330回より多い場合(ステップS112:Yes)には、カウンタN_OFF_LPIを1つカウントアップする(ステップS116)。 On the other hand, when the number of consecutive non-accesses is greater than 330 (step S112: Yes), the counter N_OFF_LPI is incremented by one (step S116).
これらステップS102、ステップS106、ステップS110、ステップS114、及び、ステップS116の処理により、本実施形態に係るハードディスクドライブ負荷カウント処理が終了する。 The hard disk drive load count processing according to the present embodiment is completed by the processing of step S102, step S106, step S110, step S114, and step S116.
次に、本実施形態における電池残量算出処理について説明する。図16は、本実施形態に係る電池残量算出処理の内容を説明するフローチャートを示す図である。この図16に示す電池残量算出処理は、ROM34に格納されている電池残量算出処理プログラムをCPU10が読み込んで実行することにより、実現される処理である。また、本実施形態においては、この電池残量算出処理は、1秒間に1回の割合で起動される処理である。
Next, the battery remaining amount calculation process in this embodiment will be described. FIG. 16 is a diagram illustrating a flowchart for explaining the content of the remaining battery charge calculation process according to the present embodiment. The remaining battery level calculation process shown in FIG. 16 is a process realized by the
図16に示すように、情報端末は、電池20の電圧である電池電圧を取得する(ステップS10)。すなわち、電圧検出回路40で検出した電池20の電圧を、AD変換器30を介してデジタルデータとして取得する。
As shown in FIG. 16, the information terminal acquires a battery voltage that is a voltage of the battery 20 (step S10). That is, the voltage of the
次に、情報端末は、電池20の温度である電池温度を取得する(ステップS12)。すなわち、電池20の内部に設けられた温度検出回路42で検出されたアナログデータの電池温度を、AD変換器30を介して、デジタルデータとして取得する。
Next, the information terminal acquires the battery temperature that is the temperature of the battery 20 (step S12). That is, the battery temperature of the analog data detected by the
次に、情報端末は、定常負荷を取得する(ステップS14)。この定常負荷は、CPU10の動作モードによって変化する。本実施形態では、CPU10は、低速、中速、高速の3つの動作モードを備えているものとする。これら3つの動作モードのうち、今現在いずれの動作モードであるかは、CPU10が把握している。本実施形態においては、低速では、定常負荷は400mAであり、中速では、定常負荷は500mAであり、高速では、定常負荷は600mAである。
Next, the information terminal acquires a steady load (step S14). This steady load varies depending on the operation mode of the
次に、情報端末は、ハードディスクドライブ14の負荷を取得する(ステップS200)。本実施形態では、上述した式(5)に基づいて、ハードディスクドライブ14の負荷を算出する。すなわち、ハードディスクドライブ負荷カウント処理により、直前の1秒間の間に、ハードディスクドライブ14の状態をサンプリングした結果に基づいて、ハードディスクドライブ14の負荷を算出する。具体的には、直前の1秒間におけるN_ONのカウント数、N_OFF_PIのカウンタ数、N_OFF_AIのカウント数、N_OFF_LPIカウント数、及び、N_OFF_STのカウント数を、式(5)に代入することにより、現在のハードディスクドライブ14の負荷を算出する。
Next, the information terminal acquires the load of the hard disk drive 14 (step S200). In the present embodiment, the load on the
次に、これらカウンタN_ON、N_OFF_PI、N_OFF_AI、N_OFF_LPI、及び、N_OFF_STをクリアして、ゼロに設定する(ステップS202)。 Next, these counters N_ON, N_OFF_PI, N_OFF_AI, N_OFF_LPI, and N_OFF_ST are cleared and set to zero (step S202).
次に、情報端末は、LCDバックライト輝度係数を取得する(ステップS18)。本実施形態では、CPU10がLCDバックライト12の輝度を制御する輝度信号を、LCDバックライト12に出力している。このため、この輝度に基づいて、CPU10はLCDバックライト12の輝度係数を把握することができる。本実施形態では、LCDバックライト輝度係数は、0%〜100%の間で10%刻みで、設定することができるよう構成されている。
Next, the information terminal acquires an LCD backlight luminance coefficient (step S18). In the present embodiment, the
次に、情報端末は、全体の負荷を算出する(ステップS20)。本実施形態では、上述した式(6)に基づいて、全体の負荷を算出する。これ以降の処理は、上述した第1実施形態と同様であるので、説明を省略する。また、本実施形態に係る情報端末が備える温度別の電圧−残量変換テーブルTB10〜TB40は、上述した第1実施形態における図4乃至図7と同様であるので、説明を省略する。 Next, the information terminal calculates the overall load (step S20). In the present embodiment, the entire load is calculated based on the above-described equation (6). Since the subsequent processing is the same as that of the first embodiment described above, description thereof is omitted. In addition, the voltage-to-residual conversion tables TB10 to TB40 for each temperature included in the information terminal according to the present embodiment are the same as those in FIGS. 4 to 7 in the first embodiment described above, and thus the description thereof is omitted.
以上のように、本実施形態によれば、ハードディスクドライブ14の動作状態に基づいて、より高い精度でハードディスクドライブ14の負荷を算出することとした。このため、より高い精度で、電池残量を表示することができる。
As described above, according to the present embodiment, the load on the
図17は、ハードディスクドライブ14の動作状態に応じて補正をした場合(本実施形態)と、補正をしなかった場合とを比較して、経過時間と電池残量との関係を表すグラフを示している。この図17において、ハードディスクドライブ14の動作状態に応じて補正をしなかった場合とは、ハードディスクドライブ14がアクセス状態でない状態を、すべてパフォーマンスアイドル状態の消費電流で算出した場合を示している。
FIG. 17 is a graph showing the relationship between the elapsed time and the remaining battery level when the correction is performed according to the operating state of the hard disk drive 14 (this embodiment) and when the correction is not performed. ing. In FIG. 17, the case where correction is not performed according to the operating state of the
この図17から分かるように、ハードディスクドライブ14のアクセス割合が全体の100%である場合には、補正の有無に拘わらず精度は変わらない。しかし、ハードディスクドライブ14のアクセス割合が全体の6%である場合には、補正がないと、ハードディスクドライブ14の負荷を実際より多く見積もってしまうため、理想直線からの隔たりが大きくなり、精度が大きく落ちることが分かる。
As can be seen from FIG. 17, when the access ratio of the
なお、本発明は上記実施形態に限定されず種々に変形可能である。例えば、上述した実施形態では、電池残量をそのまま表示することとしたが、これを残り使用可能時間に換算して、表示するようにしてもよい。すなわち、ユーザが本当に知りたいのは、今と同じような使い方をして、あとどれくらいこの情報端末を使用することができるのかという情報である。上述した実施形態では、負荷変動の大きな情報端末でも、負荷の変動を見積もることができるので、その負荷の値と電池残量とに基づいて、残り使用可能時間を算出することができる。無論、これはリアルタイムで表示してもよい。これにより、例えばユーザが動画を閲覧しているときに、後どれくらい閲覧が可能であるかを精度良く知ることができるし、或いは、データをバックアップしているときに、後どれくらいデータ転送を行うことができるかを精度良く知ることができる。 In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible. For example, in the embodiment described above, the remaining battery level is displayed as it is, but this may be converted into the remaining usable time and displayed. In other words, what the user really wants to know is information on how much the information terminal can be used in the same way as it is now. In the embodiment described above, even an information terminal having a large load fluctuation can estimate the fluctuation of the load, and therefore the remaining usable time can be calculated based on the value of the load and the remaining battery level. Of course, this may be displayed in real time. As a result, for example, when a user is viewing a video, it is possible to accurately know how much can be viewed later, or how much data can be transferred later when backing up data. Can know with high accuracy.
また、上述した実施形態では、負荷変動の大きな駆動部の要素として、LCDバックライト12、ハードディスクドライブ14、CPU負荷を例にあげたが、これ以外の駆動部の要素を加味してもよい。或いは、これらの駆動部の要素のうち、一部の要素を省くことも可能である。例えば、LCDバックライト12は負荷変動の影響があまり大きくないため、負荷を算出する際に加味しないようにしてもよい。或いは、これらの駆動部の要素は、一定の定数として、負荷を算出してしまってもよい。例えば、LCDバックライト12は、その輝度係数によらずに、100mAの一定値にして、負荷を算出するようにしてもよい。
In the above-described embodiment, the
また、上述した実施形態で用いた消費電流や、ハードディスクドライブ14の各状態を維持する時間は、単なる例示的なものであり、ハードディスクドライブ14の型番や、これを制御するファームウェアにより変動するものである。
Further, the current consumption used in the above-described embodiment and the time for maintaining each state of the
また、上述した実施形態では、定常負荷をCPU10の動作モードに基づいて定めることとしたが、情報端末の動作モードにより、定常負荷を変化させるようにしてもよい。例えば、図18に示すように、情報端末で実行される処理内容として、USBデータ転送が行われる場合には、定常負荷を200mAとし、静止画再生が行われる場合には、定常負荷を400mAとし、動画再生が行われる場合には、定常負荷を450mAとするようにしてもよい。この判断は、上述したステップS14で行うようにすればよい。これにより、情報端末で行われる処理内容が複数種類ある場合に、簡単に、精度良く、定常負荷を求めることができる。
In the above-described embodiment, the steady load is determined based on the operation mode of the
また、上述の実施形態で説明した各処理については、これら各処理を実行するためのプログラムをフレキシブルディスク、CD−ROM(Compact Disc-Read Only Memory)、ROM、メモリカード等の記録媒体に記録して、記録媒体の形で頒布することが可能である。この場合、このプログラムが記録された記録媒体を情報端末に読み込ませ、実行させることにより、上述した実施形態を実現することができる。 For each process described in the above-described embodiment, a program for executing each process is recorded on a recording medium such as a flexible disk, a CD-ROM (Compact Disc-Read Only Memory), a ROM, or a memory card. Thus, it can be distributed in the form of a recording medium. In this case, the above-described embodiment can be realized by causing the information terminal to read and execute the recording medium on which the program is recorded.
また、情報端末は、オペレーティングシステムや別のアプリケーションプログラム等の他のプログラムを備える場合がある。この場合、情報端末の備える他のプログラムを活用し、記録媒体にはその情報端末が備えるプログラムの中から、上述した実施形態と同等の処理を実現するプログラムを呼び出すような命令を記録するようにしてもよい。 In addition, the information terminal may include another program such as an operating system or another application program. In this case, the other program provided in the information terminal is utilized, and the recording medium is recorded with an instruction for calling a program that realizes the same processing as the above-described embodiment from among the programs provided in the information terminal. May be.
さらに、このようなプログラムは、記録媒体の形ではなく、ネットワークを通じて搬送波として頒布することも可能である。ネットワーク上を搬送波の形で伝送されたプログラムは、情報端末に取り込まれて、このプログラムを実行することにより上述した実施形態を実現することができる。 Furthermore, such a program can be distributed not as a recording medium but as a carrier wave through a network. The program transmitted in the form of a carrier wave on the network is taken into the information terminal, and the above-described embodiment can be realized by executing this program.
また、記録媒体にプログラムを記録する際や、ネットワーク上を搬送波として伝送される際に、プログラムの暗号化や圧縮化がなされている場合がある。この場合には、これら記録媒体や搬送波からプログラムを読み込んだ情報端末は、そのプログラムの復号や伸張化を行った上で、実行する必要がある。 Also, when a program is recorded on a recording medium or transmitted as a carrier wave on a network, the program may be encrypted or compressed. In this case, the information terminal that has read the program from the recording medium or the carrier wave needs to execute the program after decoding or decompressing the program.
さらに、上述した処理は図19に示すように、ハードウェアにより実現することも可能である。この図19において、制御部100はASIC等のハードウェアにより構成されている。図19の例では、制御部100は、負荷算出部102と電池残量算出部104と残り使用可能時間算出部106とを備えて構成されている。
Furthermore, the above-described processing can be realized by hardware as shown in FIG. In FIG. 19, the
負荷算出部102は、この情報端末における電池20に対する負荷を算出する。電池残量算出部104は、電池電圧に基づいて電池残量を算出するが、その際、負荷算出部102で算出した負荷に基づいて補正をした電池残量を算出する。
The
また、負荷算出部102は、ハードディスクドライブ14にアクセスされている時間と、アクセスされていない時間との割合に基づいて、ハードディスク稼働率を算出し、このハードディスク稼働率に基づいてハードディスクドライブ14の負荷を求める。
Further, the
また、ハードディスクドライブ14が、ハードディスクドライブ14にアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有している場合には、負荷算出部102は、ハードディスクドライブ14にアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブ14の負荷を求める。
In addition, even when the
また、負荷算出部102は、CPU10の動作モードを取得して、この動作モードに基づいて、CPU10の負荷を求める。さらには、負荷算出部102は、当該情報端末で処理される処理内容に基づいて、電池20に対する負荷を求める。
Further, the
また、負荷算出部102は、LCDバックライト12の輝度を取得して、この輝度に基づいてLCDバックライト12のLCDバックライト輝度係数を算出し、このLCDバックライト輝度係数に基づいてLCDバックライトの負荷を求める。また、電池残量算出部104は、電池20の温度である電池温度を取得し、電池残量を算出する際には、この電池温度に基づいて補正をした電池残量を算出する。
Further, the
この負荷算出部102が負荷を算出する具体的な処理内容、及び、電池残量算出部104が電池残量を算出する具体的な処理内容は、上述した図3又は図16の処理内容と同様である。
The specific processing content for calculating the load by the
また、表示部18では、電池残量算出部104が算出した電池残量を表示する。さらに、残り使用可能時間算出部106は、電池残量算出部104が算出した電池残量と負荷算出部102が算出した負荷とに基づいて、この情報端末があとどれくらいの時間使用できるかを示す、残り使用可能時間を算出する。
Further, the
10 CPU
12 LCDバックライト
14 ハードディスクドライブ
16 他の負荷
18 表示部
20 電池
22 DC/DCコンバータ
30 AD変換器
32 RAM
34 ROM
40 電圧検出回路
10 CPU
12
34 ROM
40 Voltage detection circuit
Claims (9)
前記電池の電圧である電池電圧を検出する、電圧検出部と、
前記電池から電源の供給を受けて駆動する、駆動部と、
前記駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出する、負荷算出部と、
前記電池電圧に基づいて電池残量を算出する、電池残量算出部であって、前記負荷算出部で算出した前記負荷に基づいて補正をした電池残量を算出する、電池残量算出部と、
を備え、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷算出部は、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、ことを特徴とする情報端末。 An information terminal driven by a battery,
A voltage detector that detects a battery voltage that is a voltage of the battery;
A drive unit that is driven by power supplied from the battery; and
A load calculating unit that monitors a load on the battery of the driving unit and calculates the load according to an operating state of the driving unit;
A remaining battery level calculation unit for calculating a remaining battery level based on the battery voltage, wherein the remaining battery level calculation unit calculates a corrected remaining battery level based on the load calculated by the load calculation unit; ,
Equipped with a,
The drive unit includes a hard disk drive, and the hard disk drive has a plurality of states with different current consumption depending on the operation state even when the hard disk drive is not accessed.
The load calculation unit obtains the load of the hard disk drive based on the time during which the hard disk drive is accessed and the time during which each hard disk drive is in the operating state, and the hard disk drive is accessed. An information terminal characterized in that an operating state of a hard disk drive in the absence of the hard disk drive is determined based on a duration during which the hard disk drive is not accessed .
前記電池残量算出部は、前記温度検出部で検出した前記電池温度に基づいて補正をした電池残量を算出する、ことを特徴とする請求項1乃至請求項4のいずれかに記載の情報端末。 A temperature detection unit for detecting a battery temperature that is the temperature of the battery;
The battery remaining amount calculating unit, information according to any one of claims 1 to 4 wherein calculating the battery remaining amount to the correction based on the battery temperature detected by the temperature detection unit, characterized in that Terminal.
前記電池の電圧である電池電圧を検出し、
前記電池から電源の供給を受けて駆動する駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出し、
前記電池電圧に基づいて電池残量を算出するにあたり、算出した前記負荷に基づいて補正をした電池残量を算出するとともに、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷を算出する際には、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、
ことを特徴とする電池残量算出方法。 A battery remaining amount calculation method in an information terminal driven by a battery,
Detecting a battery voltage which is a voltage of the battery;
Monitoring the load on the battery of the drive unit that is driven by the supply of power from the battery, and calculates the load according to the operating state of the drive unit;
In calculating the remaining battery level based on the battery voltage, calculating the corrected battery level based on the calculated load ,
The drive unit includes a hard disk drive, and the hard disk drive has a plurality of states with different current consumption depending on the operation state even when the hard disk drive is not accessed.
When calculating the load, the load of the hard disk drive is obtained based on the time during which the hard disk drive is accessed and the time during which the hard disk drive is not accessed. The operating state of the hard disk drive when it is not accessed is determined based on the duration that the hard disk drive is not accessed,
A method for calculating a remaining battery level.
前記電池の電圧である電池電圧を検出するステップと、
前記電池から電源の供給を受けて駆動する駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出するステップと、
前記電池電圧に基づいて電池残量を算出するにあたり、算出した前記負荷に基づいて補正をした電池残量を算出するステップと、
を情報端末に実行させるとともに、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷を算出するステップでは、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、
ことを特徴とするプログラム。 A program for causing an information terminal driven by a battery to calculate the remaining battery charge,
Detecting a battery voltage which is a voltage of the battery;
Monitoring the load on the battery of the drive unit that is driven by receiving power supply from the battery, and calculating the load according to the operating state of the drive unit;
In calculating the remaining battery level based on the battery voltage, calculating the corrected battery level based on the calculated load;
To the information terminal ,
The drive unit includes a hard disk drive, and the hard disk drive has a plurality of states with different current consumption depending on the operation state even when the hard disk drive is not accessed.
In the step of calculating the load, the load of the hard disk drive is obtained and the hard disk drive is accessed based on the time during which the hard disk drive is accessed and the time during which the hard disk drive is not accessed. The operating state of the hard disk drive when not being determined is determined based on the duration that the hard disk drive is not accessed,
A program characterized by that .
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004195677A JP3976034B2 (en) | 2004-03-30 | 2004-07-01 | Information terminal and battery remaining charge calculation method |
US11/093,020 US7348761B2 (en) | 2004-03-30 | 2005-03-30 | Information terminal and battery remaining capacity calculating method |
US11/751,338 US7498773B2 (en) | 2004-03-30 | 2007-05-21 | Information terminal and battery remaining capacity calculating method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004098569 | 2004-03-30 | ||
JP2004195677A JP3976034B2 (en) | 2004-03-30 | 2004-07-01 | Information terminal and battery remaining charge calculation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005315825A JP2005315825A (en) | 2005-11-10 |
JP3976034B2 true JP3976034B2 (en) | 2007-09-12 |
Family
ID=35443402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004195677A Expired - Fee Related JP3976034B2 (en) | 2004-03-30 | 2004-07-01 | Information terminal and battery remaining charge calculation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3976034B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5038258B2 (en) * | 2008-08-25 | 2012-10-03 | 日本電信電話株式会社 | Remaining capacity estimation method and remaining capacity estimation apparatus |
JP5395556B2 (en) * | 2009-07-29 | 2014-01-22 | パナソニック株式会社 | Remaining time calculation device and remaining time calculation method |
FR3061307B1 (en) * | 2016-12-22 | 2021-05-07 | Electricite De France | PERFECTED CHARACTERIZATION OF AN ELECTROCHEMICAL DEVICE IN OPERATION FOR A PROGNOSIS OF FUTURE OPERATION OF THE DEVICE |
-
2004
- 2004-07-01 JP JP2004195677A patent/JP3976034B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005315825A (en) | 2005-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5088642B2 (en) | Information terminal | |
US8159185B2 (en) | Battery charger and control method therefor | |
US7348761B2 (en) | Information terminal and battery remaining capacity calculating method | |
US8777866B2 (en) | Pulse rate counting device, pulse rate counting method, and record medium therefor | |
JP2006275549A (en) | Information terminal and calculation method of battery power | |
JP4706956B2 (en) | Information terminal and battery remaining charge calculation method | |
JP4829854B2 (en) | Electronic device and control method thereof | |
JP3976034B2 (en) | Information terminal and battery remaining charge calculation method | |
JP2001185233A (en) | Detection circuit for battery voltage, battery pack and detection method of battery voltage | |
US6922151B2 (en) | Battery remaining amount warning circuit | |
JP2000209784A (en) | Battery residual capacity informing device | |
JP2006238598A (en) | Charging time calculator | |
JP2006260382A (en) | Information terminal unit and battery residual power calculation method | |
JP2005345172A (en) | Battery remaining amount display device | |
JP2009264773A (en) | Recording apparatus and measuring system | |
JP5433981B2 (en) | Measuring system and recording device | |
JP2004219260A (en) | Gas meter, and gas meter monitoring system | |
JP2008191011A (en) | Measuring device, control program for the measuring device, and recording medium with the control program of the measuring device stored | |
JP2679279B2 (en) | Tape counter | |
JP2006266983A (en) | Information terminal, and method for calculating residual quantity in power source | |
JP2002250758A (en) | Display device for battery residual power | |
JP2004129355A (en) | Display device for remaining operating time of battery | |
JP2897720B2 (en) | Magnetic tape unit with information display function | |
JP3047699B2 (en) | Flowmeter | |
JP2006275548A (en) | Information terminal and power source residual quantity calculation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061124 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070123 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070302 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070427 |
|
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: 20070529 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070611 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100629 Year of fee payment: 3 |
|
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: 20110629 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110629 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120629 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130629 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130629 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |