JP3976034B2 - Information terminal and battery remaining charge calculation method - Google Patents

Information terminal and battery remaining charge calculation method Download PDF

Info

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
Application number
JP2004195677A
Other languages
Japanese (ja)
Other versions
JP2005315825A (en
Inventor
藤 潤 佐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004195677A priority Critical patent/JP3976034B2/en
Priority to US11/093,020 priority patent/US7348761B2/en
Publication of JP2005315825A publication Critical patent/JP2005315825A/en
Priority to US11/751,338 priority patent/US7498773B2/en
Application granted granted Critical
Publication of JP3976034B2 publication Critical patent/JP3976034B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy 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号公報参照)とがある。
特開平5−66251号公報 特開平7−260839号公報 特開平6−51876号公報 特開平11−55372号公報
Accurate display of the remaining battery level is very important for the user as a means of estimating how much the information terminal can be used. As a method for detecting the remaining battery level, a method for measuring the charge / discharge current of the battery (for example, see JP-A-5-66251 and JP-A-7-260839), and a method for measuring the battery voltage (for example, JP-A-6-51876 and JP-A-11-55372).
Japanese Patent Laid-Open No. 5-66251 JP 7-260839 A JP-A-6-51876 Japanese Patent Laid-Open No. 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 CPU 10, an LCD backlight 12, a hard disk drive 14, a display unit 18, and another load 16. In addition, the information terminal includes a battery 20, and the power supplied from the battery 20 is connected to the CPU 10, the LCD backlight 12, the hard disk drive 14, the display unit 18, and the like via the DC / DC converter 22. To the other load 16. In other words, the voltage stabilized or transformed by the DC / DC converter 22 is supplied to the drive unit as these loads. The CPU 10 includes an AD converter 30, a RAM 32, and a ROM 34 inside. The CPU 10 constitutes a central processing unit in the present embodiment.

また、この情報端末は、電圧検出回路40も備えている。この電圧検出回路は、電池20とDC/DCコンバータ22との間の電圧を検出し、検出した値を電池電圧として、CPU10のAD変換器30に供給する。CPU10では、この検出した値をデジタルデータに変換して、CPU10に取り込む。   The information terminal also includes a voltage detection circuit 40. This voltage detection circuit detects the voltage between the battery 20 and the DC / DC converter 22, and supplies the detected value to the AD converter 30 of the CPU 10 as the battery voltage. The CPU 10 converts the detected value into digital data and imports it into the CPU 10.

電池20は温度検出回路42を内蔵している。この温度検出回路42は、例えば、サーミスタにより構成されており、この温度検出回路42のアナログ信号の出力は、AD変換器30に入力され、デジタルデータとして、CPU10に取り込まれる。   The battery 20 includes a temperature detection circuit 42. The temperature detection circuit 42 is composed of, for example, a thermistor, and an analog signal output from the temperature detection circuit 42 is input to the AD converter 30 and taken into the CPU 10 as digital data.

次に、図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 CPU 10 reading and executing a battery remaining amount calculating process program stored in the ROM 34.

図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 battery 20 detected by the voltage detection circuit 40 is acquired as digital data via the AD converter 30.

次に、情報端末は、電池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 temperature detection circuit 42 provided inside the battery 20 is acquired as digital data via the AD converter 30.

次に、情報端末は、定常負荷を取得する(ステップ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 CPU 10. In the present embodiment, the CPU 10 is assumed to have three operation modes of low speed, medium speed, and high speed. Of these three operation modes, the CPU 10 knows which one is currently in operation. In this embodiment, the steady load is 400 mA at low speed, the steady load is 500 mA at medium speed, and the steady load is 600 mA at high speed.

次に、情報端末は、ハードディスクドライブ稼働率を取得する(ステップS16)。本実施形態では、ハードディスクドライブ14は、アクセスをしているかどうかを示すアクセス信号を、CPU10に出力している。このため、CPU10は、このアクセス信号を取得して、ハードディスクドライブ14がアクセスされている時間と、アクセスされていない時間との割合を随時算出することができる。本実施形態では、このアクセス時間の割合を、ハードディスクドライブ稼働率とする。   Next, the information terminal acquires the hard disk drive operating rate (step S16). In the present embodiment, the hard disk drive 14 outputs to the CPU 10 an access signal indicating whether access is being made. Therefore, the CPU 10 can acquire this access signal and calculate the ratio between the time when the hard disk drive 14 is accessed and the time when it is not accessed at any time. In this embodiment, the ratio of this access time is defined as the hard disk drive operating rate.

次に、情報端末は、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 CPU 10 outputs a luminance signal for controlling the luminance of the LCD backlight 12 to the LCD backlight 12. Therefore, the CPU 10 can grasp the luminance coefficient of the LCD backlight 12 based on this luminance. In the present embodiment, the LCD backlight luminance coefficient is configured to be set in increments of 10% between 0% and 100%.

次に、情報端末は、負荷を算出する(ステップS20)。本実施形態では、次のような式で負荷を求める。

Figure 0003976034
Next, the information terminal calculates a load (step S20). In the present embodiment, the load is obtained by the following equation.
Figure 0003976034

本実施形態では、ハードディスクドライブアクセス負荷は、例えば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 ROM 34 in the CPU 10. 4 to 7 are diagrams showing examples of these four types of temperature-dependent voltage-residual amount conversion tables TB10 to TB40. 4 is a diagram showing a voltage-remaining amount conversion table TB10 when the battery temperature is 5 ° C., and FIG. 5 is a diagram showing a voltage-remaining amount conversion table TB20 when the battery temperature is 15 ° C. FIG. 6 is a diagram showing a voltage-remaining amount conversion table TB30 when the battery temperature is 25 ° C., and FIG. 7 is a diagram showing a voltage-remaining amount conversion table TB40 when the battery temperature is 45 ° C.

これらの図から分かるように、本実施形態では、負荷が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は、次の式により算出できる。

Figure 0003976034
For example, it is assumed that the battery temperature acquired in step S12 is 20 ° C. In this case, by linearly interpolating the voltage value of the 15 ° C. voltage-residual amount conversion table TB20 shown in FIG. 5 and the voltage value of the 25 ° C. voltage-residual amount conversion table TB30 shown in FIG. The voltage value of the voltage-residual amount conversion table TB50 is generated. Specifically, the temperature of the low voltage side voltage-residual conversion table is T1 (15 ° C.), the temperature of the high voltage side voltage-residual conversion table is T2 (25 ° C.), and the battery temperature is T (20 ° C.). ), And Y1 is a voltage value at T1, and Y2 is a voltage value at T2, the corrected voltage Y can be calculated by the following equation.
Figure 0003976034

これにより算出された電池温度が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 RAM 32 of the CPU 10.

なお、本実施形態では、電池温度が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 RAM 32.

例えば、ステップS20で算出した負荷を1000mAであったとする。この場合、図8に示す電圧−残量変換テーブルTB50における800mAの場合の電圧値と、1200mAの場合の電圧値とを、直線補間することにより、1000mAの電圧−残量変換テーブルTB60の電圧値を生成する。具体的には、低負荷側の電流値をL1(800mA)とし、高負荷側の電流値をL2(1200mA)とし、ステップS20で算出した負荷をLとし、Y1をL1時の電圧値とし、Y2をL2時の電圧値とした場合、補正後の電圧Yは、次の式により算出できる。

Figure 0003976034
For example, assume that the load calculated in step S20 is 1000 mA. In this case, the voltage value in the case of 800 mA in the voltage-residual amount conversion table TB50 shown in FIG. 8 and the voltage value in the case of 1200 mA are linearly interpolated to obtain the voltage value of the voltage-residual amount conversion table TB60 of 1000 mA. Is generated. Specifically, the current value on the low load side is L1 (800 mA), the current value on the high load side is L2 (1200 mA), the load calculated in step S20 is L, and Y1 is the voltage value at L1, When Y2 is a voltage value at the time of L2, the corrected voltage Y can be calculated by the following equation.
Figure 0003976034

これにより算出された負荷が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 RAM 32.

例えば、ステップ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は、次の式により算出できる。

Figure 0003976034
For example, it is assumed that the battery voltage acquired in step S10 is 3.55V. In this case, the battery voltage becomes 3 by linearly interpolating 3.54V (battery remaining capacity 40%) and 3.60V (battery remaining capacity 50%) in the voltage-remaining capacity conversion table TB60 shown in FIG. Calculate the remaining battery level for .55V. Specifically, the voltage value on the low voltage side is Y1 (3.54V), the voltage value on the high voltage side is Y2 (3.60V), the voltage acquired in step S10 is Y, and X1 is Y1. When the remaining battery level is X2 and the remaining battery level at Y2 is X2, the corrected battery level X can be calculated by the following equation.
Figure 0003976034

これにより、電圧残量を算出すると、約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 RAM 32.

次に、図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 RAM 32 and displays it on the display unit 18 (step S28). Various methods for displaying the remaining battery level are conceivable. For example, the screen of the information terminal may be displayed as 42% as a numerical value, or the display unit 18 may be constituted by a bar-type liquid crystal display unit, and the bar length of the liquid crystal display unit may be The length may be equivalent to 42%.

以上のように、本実施形態によれば、負荷変動に寄与する割合の高い装置(例えば、ハードディスクドライブ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 hard disk drive 14, the LCD backlight 12, and the operation mode of the CPU 10). Alternatively, it is calculated by measuring a received signal, and correction is performed based on the calculation result so that the remaining battery level is displayed accurately. In addition, since correction is performed using the CPU 10 that is originally incorporated in the information terminal, it is not necessary to add a new device, and the information terminal can be reduced in size and cost.

さらに、電池42の電池温度を温度検出回路42を用いて検出し、この電池温度に基づいて補正も行うので、より高い精度で電池残量を表示することができる。   Furthermore, since the battery temperature of the battery 42 is detected using the temperature detection circuit 42 and correction is also performed based on the battery temperature, the remaining battery level can be displayed with higher accuracy.

〔第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 hard disk drive 14 and the load on the hard disk drive 14 is calculated. In the second embodiment, the state of the hard disk drive 14 is changed. The load of the hard disk drive 14 is determined more accurately by specifying more accurately.

具体的には、本実施形態におけるハードディスクドライブ14は、図10及び図11に示すように、5つの動作状態があるものとする。すなわち、実際にハードディスクドライブ14にアクセスを行っているアクセス状態(以下、AC負荷という)と、アクセス終了後300msの間のパフォーマンスアイドル状態(以下、PI負荷という)と、パフォーマンスアイドル状態終了後10秒間のアクティブアイドル状態(以下、AI負荷という)と、アクティブアイドル状態終了後のローパワーアイドル状態(以下、LPI負荷という)と、CPU10からの指示に基づいて移行するスタンバイ状態(以下、ST負荷という)とを、動作状態として有している。   Specifically, it is assumed that the hard disk drive 14 in this embodiment has five operation states as shown in FIGS. That is, an access state (hereinafter referred to as an AC load) in which the hard disk drive 14 is actually accessed, a performance idle state (hereinafter referred to as a PI load) for 300 ms after the end of access, and 10 seconds after the end of the performance idle state. Active idle state (hereinafter referred to as AI load), low power idle state (hereinafter referred to as LPI load) after the end of the active idle state, and standby state (hereinafter referred to as ST load) that shifts based on instructions from the CPU 10 As an operating state.

本実施形態においては、アクセス状態では消費電流が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 hard disk drive 14 is sampled 32 times per second. In other words, the operating state of the hard disk drive 14 is specified with a sampling period of 31.25 ms.

また、第1実施形態におけるアクセス信号は、ハードディスクドライブ14がアクセス状態にある場合にはローレベルになり、アクセス状態にない場合はハイレベルになる。   Further, the access signal in the first embodiment is at a low level when the hard disk drive 14 is in the access state, and is at a high level when it is not in the access state.

したがって、本実施形態では、アクセス信号がアクセスをしていない状態を示していても、ハードディスクドライブ14がパフォーマンスアイドル状態であるのか、アクティブアイドル状態であるのか、ローパワーアイドル状態であるのか、それとも、スタンバイ状態であるのかにより、消費電流が大きく異なる。このため、単にアクセス信号のハイレベルとローレベルとを検出し、カウントするだけでは、正確なハードディスクドライブ14の負荷を算出できない。   Therefore, in the present embodiment, even if the access signal indicates a state of no access, whether the hard disk drive 14 is in the performance idle state, the active idle state, the low power idle state, The current consumption varies greatly depending on whether it is in the standby state. For this reason, the load on the hard disk drive 14 cannot be accurately calculated simply by detecting and counting the high level and low level of the access signal.

このことは、例えば、図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 hard disk drive 14 is 438 mA in the case of FIG. 12, 333 mA in the case of FIG. 13, and the difference is 105 mA. When the load of the hard disk drive 14 is calculated based only on the access signal indicating whether or not the hard disk drive 14 is being accessed, this exists as a potential error.

そこで、本実施形態においては、次の式(5)を用いてハードディスクドライブ14の負荷を算出する。

Figure 0003976034
Therefore, in the present embodiment, the load of the hard disk drive 14 is calculated using the following equation (5).
Figure 0003976034

すなわち、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 hard disk drive 14 is calculated based on the state obtained by sampling. Here, the counter N_ON is a count number when the hard disk drive 14 is in the access state in the immediately preceding 1 second, and the counter N_OFF_PI is a count when the hard disk drive 14 is in the performance idle state in the immediately preceding 1 second. The counter N_OFF_AI is a count number when the hard disk drive 14 is in an active idle state in the immediately preceding 1 second, and the counter N_OFF_LPI is in a low power idle state in the immediately preceding 1 second. The counter N_OFF_ST is a count number when the hard disk drive 14 is in a standby state in the immediately preceding 1 second. That is, the counters N_ON, N_OFF_PI, N_OFF_AI, N_OFF_LPI, and N_OFF_ST are variables that are cleared to zero every second.

なお、スタンバイ状態(ST負荷)については、CPU10からハードディスクドライブ14に指示を出すことにより移行するので、このスタンバイ状態については、CPU10自身で特定することが可能である。   Since the standby state (ST load) is shifted by issuing an instruction from the CPU 10 to the hard disk drive 14, this standby state can be specified by the CPU 10 itself.

また、この情報端末全体の負荷は、第1実施形態における式(1)に代えて、式(6)により算出される。

Figure 0003976034
In addition, the load of the entire information terminal is calculated by Expression (6) instead of Expression (1) in the first embodiment.
Figure 0003976034

図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 hard disk drive 14 is set in the standby state from the CPU 10 to the hard disk drive 14. The difference is that a command signal for shifting to a state is output. In other words, in the present embodiment, the CPU 10 outputs the command signal from the CPU 10 to the hard disk drive 14 in order to actively shift the hard disk drive 14 to the standby state. Normally, the command signal for shifting to the standby state is output when the hard disk drive 14 is in the low power idle state. Other configurations are the same as those in the first embodiment described above.

次に、本実施形態におけるハードディスクドライブ負荷カウント処理について説明する。図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 CPU 10 reading and executing a hard disk drive load count process program stored in the ROM 34. Further, as described above, the hard disk drive load count process is started and counted every 31.25 ms.

図15に示すように、情報端末は、ハードディスクドライブ14が、アクティブ状態であるかどうかを判断する(ステップS100)。具体的には、ハードディスクドライブ14のアクセス信号が、アクセスをしている状態を示しているかどうかを判断する。ハードディスクドライブ14がアクティブ状態である場合(ステップS100:Yes)には、カウンタN_ONを1つカウントアップする(ステップS102)。   As shown in FIG. 15, the information terminal determines whether or not the hard disk drive 14 is in an active state (step S100). Specifically, it is determined whether or not the access signal of the hard disk drive 14 indicates an accessing state. When the hard disk drive 14 is in the active state (step S100: Yes), the counter N_ON is incremented by one (step S102).

一方、ハードディスクドライブ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 hard disk drive 14 is not in the active state (step S100: No), it is determined whether or not the hard disk drive 14 is in the standby state (step S104). Specifically, since the CPU 10 outputs a command signal for shifting the hard disk drive 14 to the standby state, the CPU 10 can grasp whether the hard disk drive 14 is in the standby state. For this reason, the CPU 10 itself determines whether or not the hard disk drive has been put into a standby state. When the hard disk drive 14 is in the standby state (step S104: Yes), the counter N_OFF_ST is incremented by one (step S106).

一方、ハードディスクドライブ14がスタンバイ状態でないと判断した場合(ステップS104:No)には、アクセス信号は10回のサンプリング数より多く連続して非アクセス状態になったかどうかを判断する(ステップS108)。具体的には、CPU10は、アクセス信号がアクセスしている状態(ローレベル)からアクセスしていない状態(ハイレベル)に移行した直後から、連続非アクセス数のカウントをゼロから開始し、サンプリングした際にアクセスしていない状態が継続されている場合には、連続非アクセス数を1つカウントアップする処理を行っている。   On the other hand, when it is determined that the hard disk drive 14 is not in the standby state (step S104: No), it is determined whether or not the access signal has been continuously in the non-access state for more than 10 samplings (step S108). Specifically, the CPU 10 starts counting the number of consecutive non-accesses from zero immediately after shifting from a state where the access signal is accessed (low level) to a state where the access signal is not accessed (high level). At this time, when the state of not being accessed continues, a process of counting up the number of consecutive non-accesses by one is performed.

そして、CPU10は、この連続非アクセス数が10回より多く続いたかどうかを判断する。上述したように、本実施形態においては、パフォーマンスアイドル状態はアクセスがない場合、300ms続く設定である。このため、31.25ms毎にサンプリングを行う本実施形態においては、パフォーマンスアイドル状態は10回サンプリングする時間に相当するので、連続して非アクセス状態になったアクセス信号をサンプリングした回数が10回以下の場合は、パフォーマンスアイドル状態にあると判断できるのである。連続非アクセス数が10回以下である場合(ステップS108:No)には、カウンタN_OFF_PIを1つカウントアップする(ステップS110)。   Then, the CPU 10 determines whether or not the continuous non-access number has continued more than ten times. As described above, in the present embodiment, the performance idle state is a setting that continues for 300 ms when there is no access. For this reason, in the present embodiment in which sampling is performed every 31.25 ms, the performance idle state corresponds to a sampling time of 10 times, and therefore, the number of times the access signal that has been continuously in the non-access state is sampled 10 times or less. In this case, it can be determined that the system is in the performance idle state. When the number of consecutive non-accesses is 10 times or less (step S108: No), the counter N_OFF_PI is incremented by one (step S110).

一方、連続非アクセス数が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 CPU 10 determines whether or not the number of consecutive non-accesses is greater than 330 times. As described above, in this embodiment, the performance idle state is set to continue for 300 ms, and then the active idle state is set to continue for 10 seconds. For this reason, in this embodiment in which sampling is performed every 31.25 ms, the performance idle state corresponds to a time for sampling 10 times, and the active idle state corresponds to a time for sampling 320 times. If the number of consecutive non-accesses indicating the number of times of sampling is greater than 10 and less than or equal to 330, it can be determined that the active idle state exists. When the number of consecutive non-accesses is 330 times or less (step S112: No), the counter N_OFF_AI is incremented by one (step S114).

一方、連続非アクセス数が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 CPU 10 reading and executing the remaining battery level calculation process program stored in the ROM 34. In the present embodiment, the remaining battery level calculation process is a process that is started at a rate of once per second.

図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 battery 20 detected by the voltage detection circuit 40 is acquired as digital data via the AD converter 30.

次に、情報端末は、電池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 temperature detection circuit 42 provided inside the battery 20 is acquired as digital data via the AD converter 30.

次に、情報端末は、定常負荷を取得する(ステップ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 CPU 10. In the present embodiment, the CPU 10 is assumed to have three operation modes of low speed, medium speed, and high speed. Of these three operation modes, the CPU 10 knows which one is currently in operation. In this embodiment, the steady load is 400 mA at low speed, the steady load is 500 mA at medium speed, and the steady load is 600 mA at high speed.

次に、情報端末は、ハードディスクドライブ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 hard disk drive 14 is calculated based on the above-described equation (5). That is, the hard disk drive load count process calculates the load on the hard disk drive 14 based on the result of sampling the state of the hard disk drive 14 during the previous one second. Specifically, by substituting the N_ON count number, N_OFF_PI counter number, N_OFF_AI count number, N_OFF_LPI count number, and N_OFF_ST count number in the previous one second into the formula (5), the current hard disk The load on the drive 14 is calculated.

次に、これらカウンタ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 CPU 10 outputs a luminance signal for controlling the luminance of the LCD backlight 12 to the LCD backlight 12. Therefore, the CPU 10 can grasp the luminance coefficient of the LCD backlight 12 based on this luminance. In the present embodiment, the LCD backlight luminance coefficient is configured to be set in increments of 10% between 0% and 100%.

次に、情報端末は、全体の負荷を算出する(ステップ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 hard disk drive 14 is calculated with higher accuracy based on the operating state of the hard disk drive 14. For this reason, the remaining battery level can be displayed with higher accuracy.

図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 hard disk drive 14 indicates a case where the state in which the hard disk drive 14 is not in the access state is calculated based on the consumption current in the performance idle state.

この図17から分かるように、ハードディスクドライブ14のアクセス割合が全体の100%である場合には、補正の有無に拘わらず精度は変わらない。しかし、ハードディスクドライブ14のアクセス割合が全体の6%である場合には、補正がないと、ハードディスクドライブ14の負荷を実際より多く見積もってしまうため、理想直線からの隔たりが大きくなり、精度が大きく落ちることが分かる。   As can be seen from FIG. 17, when the access ratio of the hard disk drive 14 is 100% of the total, the accuracy does not change regardless of whether correction is performed. However, if the access ratio of the hard disk drive 14 is 6% of the total, the correction will cause the load on the hard disk drive 14 to be estimated more than it would be if there was no correction. I can see it falling.

なお、本発明は上記実施形態に限定されず種々に変形可能である。例えば、上述した実施形態では、電池残量をそのまま表示することとしたが、これを残り使用可能時間に換算して、表示するようにしてもよい。すなわち、ユーザが本当に知りたいのは、今と同じような使い方をして、あとどれくらいこの情報端末を使用することができるのかという情報である。上述した実施形態では、負荷変動の大きな情報端末でも、負荷の変動を見積もることができるので、その負荷の値と電池残量とに基づいて、残り使用可能時間を算出することができる。無論、これはリアルタイムで表示してもよい。これにより、例えばユーザが動画を閲覧しているときに、後どれくらい閲覧が可能であるかを精度良く知ることができるし、或いは、データをバックアップしているときに、後どれくらいデータ転送を行うことができるかを精度良く知ることができる。   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 LCD backlight 12, the hard disk drive 14, and the CPU load are taken as examples of the drive unit elements having large load fluctuations, but other drive unit elements may be added. Alternatively, some of the elements of the drive unit can be omitted. For example, since the influence of the load fluctuation is not so great, the LCD backlight 12 may not be considered when calculating the load. Alternatively, these driving elements may calculate the load as a constant constant. For example, the LCD backlight 12 may calculate the load with a constant value of 100 mA regardless of the luminance coefficient.

また、上述した実施形態で用いた消費電流や、ハードディスクドライブ14の各状態を維持する時間は、単なる例示的なものであり、ハードディスクドライブ14の型番や、これを制御するファームウェアにより変動するものである。   Further, the current consumption used in the above-described embodiment and the time for maintaining each state of the hard disk drive 14 are merely exemplary, and may vary depending on the model number of the hard disk drive 14 and the firmware that controls the current. is there.

また、上述した実施形態では、定常負荷をCPU10の動作モードに基づいて定めることとしたが、情報端末の動作モードにより、定常負荷を変化させるようにしてもよい。例えば、図18に示すように、情報端末で実行される処理内容として、USBデータ転送が行われる場合には、定常負荷を200mAとし、静止画再生が行われる場合には、定常負荷を400mAとし、動画再生が行われる場合には、定常負荷を450mAとするようにしてもよい。この判断は、上述したステップS14で行うようにすればよい。これにより、情報端末で行われる処理内容が複数種類ある場合に、簡単に、精度良く、定常負荷を求めることができる。   In the above-described embodiment, the steady load is determined based on the operation mode of the CPU 10, but the steady load may be changed depending on the operation mode of the information terminal. For example, as shown in FIG. 18, as the processing content executed by the information terminal, when USB data transfer is performed, the steady load is 200 mA, and when still image reproduction is performed, the steady load is 400 mA. When moving image reproduction is performed, the steady load may be set to 450 mA. This determination may be performed in step S14 described above. Thereby, when there are a plurality of types of processing performed in the information terminal, the steady load can be obtained easily and accurately.

また、上述の実施形態で説明した各処理については、これら各処理を実行するためのプログラムをフレキシブルディスク、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 control unit 100 is configured by hardware such as an ASIC. In the example of FIG. 19, the control unit 100 includes a load calculation unit 102, a battery remaining amount calculation unit 104, and a remaining usable time calculation unit 106.

負荷算出部102は、この情報端末における電池20に対する負荷を算出する。電池残量算出部104は、電池電圧に基づいて電池残量を算出するが、その際、負荷算出部102で算出した負荷に基づいて補正をした電池残量を算出する。   The load calculation unit 102 calculates the load on the battery 20 in this information terminal. The remaining battery level calculation unit 104 calculates the remaining battery level based on the battery voltage. At this time, the remaining battery level calculated based on the load calculated by the load calculation unit 102 is calculated.

また、負荷算出部102は、ハードディスクドライブ14にアクセスされている時間と、アクセスされていない時間との割合に基づいて、ハードディスク稼働率を算出し、このハードディスク稼働率に基づいてハードディスクドライブ14の負荷を求める。   Further, the load calculation unit 102 calculates a hard disk operation rate based on the ratio between the time when the hard disk drive 14 is accessed and the time when the hard disk drive 14 is not accessed, and the load of the hard disk drive 14 based on the hard disk operation rate Ask for.

また、ハードディスクドライブ14が、ハードディスクドライブ14にアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有している場合には、負荷算出部102は、ハードディスクドライブ14にアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブ14の負荷を求める。   In addition, even when the hard disk drive 14 is not accessed, the load calculating unit 102 determines that the hard disk drive 14 has a plurality of states with different current consumption depending on the operation state. The load of the hard disk drive 14 is obtained based on the time during which the hard disk drive 14 is being accessed and the time during which the hard disk drive is not being accessed.

また、負荷算出部102は、CPU10の動作モードを取得して、この動作モードに基づいて、CPU10の負荷を求める。さらには、負荷算出部102は、当該情報端末で処理される処理内容に基づいて、電池20に対する負荷を求める。   Further, the load calculation unit 102 acquires the operation mode of the CPU 10 and obtains the load of the CPU 10 based on the operation mode. Furthermore, the load calculation unit 102 obtains the load on the battery 20 based on the processing content processed by the information terminal.

また、負荷算出部102は、LCDバックライト12の輝度を取得して、この輝度に基づいてLCDバックライト12のLCDバックライト輝度係数を算出し、このLCDバックライト輝度係数に基づいてLCDバックライトの負荷を求める。また、電池残量算出部104は、電池20の温度である電池温度を取得し、電池残量を算出する際には、この電池温度に基づいて補正をした電池残量を算出する。   Further, the load calculation unit 102 acquires the luminance of the LCD backlight 12, calculates the LCD backlight luminance coefficient of the LCD backlight 12 based on the luminance, and the LCD backlight based on the LCD backlight luminance coefficient. Find the load. In addition, the battery remaining amount calculation unit 104 obtains the battery temperature that is the temperature of the battery 20, and calculates the battery remaining amount corrected based on the battery temperature when calculating the battery remaining amount.

この負荷算出部102が負荷を算出する具体的な処理内容、及び、電池残量算出部104が電池残量を算出する具体的な処理内容は、上述した図3又は図16の処理内容と同様である。   The specific processing content for calculating the load by the load calculating unit 102 and the specific processing content for calculating the remaining battery amount by the battery remaining amount calculating unit 104 are the same as the processing content of FIG. 3 or FIG. It is.

また、表示部18では、電池残量算出部104が算出した電池残量を表示する。さらに、残り使用可能時間算出部106は、電池残量算出部104が算出した電池残量と負荷算出部102が算出した負荷とに基づいて、この情報端末があとどれくらいの時間使用できるかを示す、残り使用可能時間を算出する。   Further, the display unit 18 displays the remaining battery level calculated by the remaining battery level calculation unit 104. Further, the remaining usable time calculation unit 106 indicates how much time this information terminal can be used based on the remaining battery level calculated by the remaining battery level calculation unit 104 and the load calculated by the load calculation unit 102. The remaining usable time is calculated.

第1実施形態に係る情報端末の構成の一例を説明するブロック図。The block diagram explaining an example of the composition of the information terminal concerning a 1st embodiment. 電池電圧と電池残量との関係のグラフを示す図。The figure which shows the graph of the relationship between a battery voltage and a battery remaining charge. 第1実施形態に係る電池残量算出処理の内容、及び、第2実施形態に係る電池残量算出処理の一部の内容を、説明するフローチャートを示す図。The figure which shows the content of the battery remaining charge calculation process which concerns on 1st Embodiment, and the flowchart explaining the content of a part of battery remaining charge calculation process which concerns on 2nd Embodiment. 第1実施形態及び第2実施形態に係る情報端末が有する5℃の電圧−残量変換テーブルの一例を示す図。The figure which shows an example of the 5 degreeC voltage-residual amount conversion table which the information terminal which concerns on 1st Embodiment and 2nd Embodiment has. 第1実施形態及び第2実施形態に係る情報端末が有する15℃の電圧−残量変換テーブルの一例を示す図。The figure which shows an example of the 15 degreeC voltage-residual amount conversion table which the information terminal which concerns on 1st Embodiment and 2nd Embodiment has. 第1実施形態及び第2実施形態に係る情報端末が有する25℃の電圧−残量変換テーブルの一例を示す図。The figure which shows an example of the 25 degreeC voltage-residual amount conversion table which the information terminal which concerns on 1st Embodiment and 2nd Embodiment has. 第1実施形態及び第2実施形態に係る情報端末が有する45℃の電圧−残量変換テーブルの一例を示す図。The figure which shows an example of the 45 degreeC voltage-residual amount conversion table which the information terminal which concerns on 1st Embodiment and 2nd Embodiment has. 図5に示した15℃の電圧−残量変換テーブルと25℃の電圧−残量変換テーブルとから生成した20℃の電圧−残量変換テーブルの一例を示す図。FIG. 6 is a diagram illustrating an example of a 20 ° C. voltage-residual conversion table generated from the 15 ° C. voltage-residual conversion table and the 25 ° C. voltage-residual conversion table shown in FIG. 5; 図8に示した20℃の電圧−残量変換テーブルから生成した1000mAの電圧−残量変換テーブルの一例を示す図。The figure which shows an example of the 1000 mA voltage-residual amount conversion table produced | generated from the 20 degreeC voltage-residual amount conversion table shown in FIG. 第2実施形態に係る情報端末におけるハードディスクドライブの動作状態とその消費電流の関係を表すテーブルを示す図。The figure which shows the table showing the relationship between the operation state of the hard disk drive in the information terminal which concerns on 2nd Embodiment, and its consumption current. 第2実施形態に係る情報端末におけるハードディスクドライブの動作状態の遷移と消費電流の一例を示す図。The figure which shows an example of the transition of the operating state of the hard disk drive in the information terminal which concerns on 2nd Embodiment, and current consumption. 第2実施形態に係る情報端末におけるハードディスクドライブの動作状態の遷移の一例を示す図。The figure which shows an example of the transition of the operation state of the hard-disk drive in the information terminal which concerns on 2nd Embodiment. 第2実施形態に係る情報端末におけるハードディスクドライブの動作状態の遷移の一例を示す図。The figure which shows an example of the transition of the operation state of the hard-disk drive in the information terminal which concerns on 2nd Embodiment. 第2実施形態に係る情報端末の構成の一例を説明するブロック図。The block diagram explaining an example of the structure of the information terminal which concerns on 2nd Embodiment. 第2実施形態に係るハードディスクドライブ負荷カウント処理の内容を説明するフローチャートを示す図。The figure which shows the flowchart explaining the content of the hard-disk drive load count process which concerns on 2nd Embodiment. 第2実施形態に係る電池残量算出処理の一部の内容を説明するフローチャートを示す図。The figure which shows the flowchart explaining the one part content of the battery remaining charge calculation process which concerns on 2nd Embodiment. ハードディスクドライブの動作状態に応じた補正をした場合と補正をしない場合における経過時間と電池残量の関係を表すグラフを示す図。The figure which shows the graph showing the relationship between the elapsed time in the case where correction | amendment according to the operation state of a hard-disk drive, and the case where correction | amendment is not carried out, and a battery remaining charge. 情報端末の処理内容に応じて定常負荷を算出する一例を示す図。The figure which shows an example which calculates a steady load according to the processing content of an information terminal. ハードウェアにより電池残量算出処理を実現した場合の構成の一例を示す図。The figure which shows an example of a structure at the time of implement | achieving battery remaining charge calculation processing with hardware.

符号の説明Explanation of symbols

10 CPU
12 LCDバックライト
14 ハードディスクドライブ
16 他の負荷
18 表示部
20 電池
22 DC/DCコンバータ
30 AD変換器
32 RAM
34 ROM
40 電圧検出回路
10 CPU
12 LCD backlight 14 Hard disk drive 16 Other load 18 Display unit 20 Battery 22 DC / DC converter 30 AD converter 32 RAM
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に記載の情報端末。 The central processing unit of the information terminal is included in the driving unit, and the load calculation unit also obtains the load of the central processing unit based on an operation mode of the central processing unit. Item 4. The information terminal according to Item 1 . 前記負荷算出部は、当該情報端末で処理される処理内容に基づ前記電池に対する負荷求める、ことを特徴とする請求項1又は請求項2に記載の情報端末。 The load calculation unit, the information terminal according to claim 1 or claim 2 the information load on based rather the battery to the processing contents to be processed by the terminal also obtains, be characterized. 前記駆動部にはLCDバックライト含まれており、前記負荷算出部は、前記LCDバックライトの輝度に基づいて前記LCDバックライトのLCDバックライト輝度係数を算出し、このLCDバックライト輝度係数に基づいてLCDバックライトの負荷求める、ことを特徴とする請求項1乃至請求項のいずれかに記載の情報端末。 The drive unit also includes an LCD backlight, and the load calculation unit calculates an LCD backlight luminance coefficient of the LCD backlight based on the luminance of the LCD backlight, and the LCD backlight luminance coefficient information terminal according to any one of claims 1 to 3 LCD backlight load also determined, characterized in that on the basis of. 前記電池の温度である電池温度を検出する、温度検出部をさらに備えており、
前記電池残量算出部は、前記温度検出部で検出した前記電池温度に基づいて補正をした電池残量を算出する、ことを特徴とする請求項1乃至請求項のいずれかに記載の情報端末。
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.
前記電池残量算出部が算出した前記電池残量を表示する、表示部をさらに備えていることを特徴とする請求項1乃至請求項のいずれかに記載の情報端末。 The battery level calculator displays the remaining battery capacity calculated, the information terminal according to any one of claims 1 to 5, characterized in that it further includes a display unit. 前記電池残量算出部が算出した前記電池残量と前記負荷算出部が算出した前記負荷とに基づいて、当該情報端末があとどれくらいの時間使用できるかを示す、残り使用可能時間を算出する、残り使用可能時間算出部をさらに備えることを特徴とする請求項1乃至請求項のいずれかに記載の情報端末。 Based on the battery remaining amount calculated by the battery remaining amount calculating unit and the load calculated by the load calculating unit, a remaining usable time indicating how much time the information terminal can be used is calculated; information terminal according to any one of claims 1 to 6, characterized by further comprising a remaining usable time calculating unit. 電池により駆動する情報端末における電池残量算出方法であって、
前記電池の電圧である電池電圧を検出し、
前記電池から電源の供給を受けて駆動する駆動部の前記電池に対する負荷を監視し、前記駆動部の稼働状態に応じた前記負荷を算出し、
前記電池電圧に基づいて電池残量を算出するにあたり、算出した前記負荷に基づいて補正をした電池残量を算出するとともに、
前記駆動部にはハードディスクドライブが含まれており、前記ハードディスクドライブは、ハードディスクドライブにアクセスされていない場合であっても、その動作状態により、消費電流が異なる複数の状態を有しており、
前記負荷を算出する際には、ハードディスクドライブにアクセスされている時間と、ハードディスクドライブにアクセスされていない場合における各動作状態にある時間とに基づいて、ハードディスクドライブの負荷を求めるとともに、ハードディスクドライブにアクセスされていない場合におけるハードディスクドライブの動作状態は、ハードディスクドライブにアクセスのない状態が続いている継続時間に基づいて定める、
ことを特徴とする電池残量算出方法。
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 .
JP2004195677A 2004-03-30 2004-07-01 Information terminal and battery remaining charge calculation method Expired - Fee Related JP3976034B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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