JPH05333974A - Battery control system - Google Patents

Battery control system

Info

Publication number
JPH05333974A
JPH05333974A JP4137248A JP13724892A JPH05333974A JP H05333974 A JPH05333974 A JP H05333974A JP 4137248 A JP4137248 A JP 4137248A JP 13724892 A JP13724892 A JP 13724892A JP H05333974 A JPH05333974 A JP H05333974A
Authority
JP
Japan
Prior art keywords
energy
battery unit
battery
unit
remaining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4137248A
Other languages
Japanese (ja)
Inventor
Toshikatsu Igarashi
利勝 五十嵐
Hideyuki Maehara
英行 前原
Yasuo Hashimoto
康雄 橋本
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP4137248A priority Critical patent/JPH05333974A/en
Publication of JPH05333974A publication Critical patent/JPH05333974A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To provide the battery control system accurately controlling the remaining amount of energy of a battery unit to be used for driving an electronic equipment. CONSTITUTION:A battery unit 12 is connected to a main unit 11, and a power switch 17 is turned on to start a maintenance program. A CPU 21 reads the remaining energy time data in a battery section 13 from a RAM 14 in the battery unit 12 and stores it in an energy consumption table 25. Then, in response to an IORQ signal which is outputted at every constant interval of cycle from an RTC24, the CPU 21 polls and fetches the operation state of devices such as FDD31, HDD32,... or an IO port. The updated remaining energy time is successively calculated by referring to the routine energy consumption for each device in the energy consumption table 25, which is written in the RAM 14 of the battery unit 12.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はバッテリ駆動型電子機器
に使用されるバッテリの管理を行うバッテリ管理システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery management system for managing batteries used in battery-powered electronic equipment.

【0002】[0002]

【従来の技術】近年、各種の電子機器分野では装置の小
型化に伴いバッテリ駆動型の装置が種々登場している。
例えば、携帯用のノート型パソコンやビデオカメラにお
いては、自由に着脱可能な構造を有する繰り返し充電可
能なバッテリユニットが採用され、これを装置本体に接
続して使用することができるようになっている。
2. Description of the Related Art In recent years, various battery-operated devices have appeared in various electronic equipment fields as the devices have been downsized.
For example, a portable notebook computer or a video camera employs a rechargeable battery unit having a freely attachable / detachable structure, which can be used by connecting it to the apparatus body. ..

【0003】このようなバッテリ駆動型の装置において
は、その動作時間をできる限り長く確保するため各種の
工夫がなされている。例えば、上記したノート型パソコ
ンでは、一定時間装置への操作がない場合には処理速度
を低減したり、あるいは液晶表示装置(LCD)の表示
の一時停止またはLCDバックライト輝度の低下等を行
う方法が採られている。もちろん、バッテリユニットの
充電容量自体を増加させる試みも行われている。
In such a battery-driven device, various measures have been taken in order to secure its operation time as long as possible. For example, in the above-mentioned notebook computer, a method of reducing the processing speed when there is no operation to the device for a certain period of time, or temporarily stopping the display of the liquid crystal display device (LCD) or lowering the LCD backlight brightness Has been taken. Of course, attempts have been made to increase the charging capacity itself of the battery unit.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
バッテリユニットはバッテリ機能を有するのみで、その
バッテリのエネルギー残量がどの程度かを定量的にユー
ザに通知する機能を有してはいない。
However, the conventional battery unit only has a battery function, and does not have a function of quantitatively notifying the user how much energy remaining in the battery.

【0005】一方、例えばバッテリの出力電圧によりそ
のエネルギー残量を測定しようとすると、エネルギー残
量がほぼ0になる直前でしか電圧変化として現れないた
め、この方法でエネルギー残量を正確に把握するのは困
難であった。
On the other hand, for example, when trying to measure the remaining energy level from the output voltage of the battery, since the voltage change appears only just before the remaining energy level becomes almost zero, the remaining energy level can be accurately grasped by this method. It was difficult.

【0006】このため、ユーザは、前回充電してからの
延べ使用時間を逐一チェックすることによりおよそのエ
ネルギー残量の予想を行っていた。しかしながら、この
方法では延べ使用時間の積算を行わなければならないた
め管理が煩雑になり、また、使用時間のチェックを毎回
正確に行うのは困難であった。特に、2以上のバッテリ
ユニットを適宜交換して使用する場合には、その延べ使
用時間の管理を個々に行う必要があるため、チェックが
極めて煩雑となる。
For this reason, the user has roughly estimated the remaining amount of energy by checking the total usage time since the last charging. However, in this method, since the total usage time must be integrated, the management becomes complicated, and it is difficult to accurately check the usage time each time. In particular, when two or more battery units are appropriately replaced and used, it is necessary to individually manage the total usage time, which makes checking extremely complicated.

【0007】さらに、装置の消費エネルギーは、その動
作モード(例えばノートパソコンでいえば上記したLC
Dディスプレイの表示状態やバックライト輝度あるいは
CPUの動作速度等)によって大きく異なるため、装置
の延べ使用時間のチェックを完全に行ったとしても、バ
ッテリ残量を正確に予測することができなかった。
Further, the energy consumption of the device depends on its operating mode (for example, the above-mentioned LC in the case of a notebook computer).
Since it greatly differs depending on the display state of the D display, the backlight brightness, the operating speed of the CPU, etc.), the battery remaining amount could not be accurately predicted even if the total usage time of the device was completely checked.

【0008】このように、従来のバッテリユニットにお
いては、そのエネルギー残量の正確な管理ができないと
いう問題があった。
As described above, the conventional battery unit has a problem that the remaining energy level cannot be accurately controlled.

【0009】本発明は係る課題を解決するためになされ
たもので、電子装置駆動用に使用されるバッテリユニッ
トのエネルギー残量を正確に管理することができるバッ
テリ管理システムを提供することを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to provide a battery management system capable of accurately managing the energy remaining amount of a battery unit used for driving an electronic device. To do.

【0010】[0010]

【課題を解決するための手段】請求項1記載の発明に係
るバッテリ管理システムは、複数のデバイスを含んで構
成された装置本体部と、該装置本体部に着脱可能に接続
され各デバイスに駆動用エネルギーを供給するバッテリ
ユニットと、を含む電子装置において、バッテリユニッ
ト内に、該バッテリユニットのエネルギー残量を記憶す
る記憶部を含むとともに、装置本体内に、各デバイスの
動作により消費されるエネルギー量を算出する算出手段
を含み、前記エネルギー残量から消費エネルギー量を差
し引いた更新残量をバッテリユニットの記憶部に書込む
ことを特徴とするものである。請求項2記載の発明に係
るバッテリ管理システムは、複数のデバイスを含んで構
成された装置本体部と、該装置本体部に着脱可能に接続
され各デバイスに駆動用エネルギーを供給するバッテリ
ユニットとを含む電子装置において、バッテリユニット
内に、該バッテリユニットのエネルギー残量を記憶する
記憶部を含むとともに、装置本体内に、(i) 各デバイス
の動作状態を所定時間間隔で監視するデバイス監視手段
と、(ii)所定時間間隔に対応する各デバイスの消費エネ
ルギー量をそれぞれ記憶するテーブルと、(iii) バッテ
リユニットの記憶部から前記エネルギー残量を読出す読
出手段と、(iv)所定時間間隔で、デバイス監視手段から
得られた各デバイスの動作状態に応じ、読出手段により
読出されたエネルギー残量とテーブルの該当する消費エ
ネルギー量を基に、各時点における最新のエネルギー残
量を逐次演算する演算手段と、(v) この演算手段により
得られた最新のエネルギー残量をバッテリユニット内の
記憶部に書込む書込手段と、を有するものである。
According to a first aspect of the present invention, there is provided a battery management system, which includes an apparatus main body including a plurality of devices and a device detachably connected to the apparatus main body to drive each device. In an electronic device including a battery unit that supplies energy for use, a battery unit includes a storage unit that stores the remaining amount of energy of the battery unit, and energy consumed by the operation of each device in the main body of the device. It is characterized by including a calculation means for calculating the amount, and writing the updated remaining amount obtained by subtracting the consumed energy amount from the remaining energy amount in the storage unit of the battery unit. A battery management system according to a second aspect of the present invention includes an apparatus main body configured to include a plurality of devices, and a battery unit detachably connected to the apparatus main body to supply driving energy to each device. In an electronic device including, in the battery unit, including a storage unit for storing the energy remaining amount of the battery unit, (i) device monitoring means for monitoring the operating state of each device at predetermined time intervals, , (Ii) a table storing the energy consumption of each device corresponding to a predetermined time interval, (iii) a reading means for reading the remaining energy amount from the storage unit of the battery unit, and (iv) a predetermined time interval. , The energy remaining amount read by the reading unit and the corresponding consumption energy in the table according to the operating state of each device obtained from the device monitoring unit. A calculating means for successively calculating the latest energy remaining amount at each time point based on the amount of energy and (v) a writing means for writing the latest energy remaining amount obtained by this calculating means into a storage unit in the battery unit. And have.

【0011】請求項3記載の発明に係るバッテリ管理シ
ステムは、請求項2記載のバッテリ管理システムであっ
て、バッテリユニットが満充電状態か否かを監視するバ
ッテリユニット監視手段を設け、該バッテリユニット監
視手段がバッテリユニットの満充電状態を検出したと
き、最新エネルギー残量を満充電時におけるエネルギー
残量とすることを特徴とするものである。
A battery management system according to a third aspect of the present invention is the battery management system according to the second aspect, further comprising battery unit monitoring means for monitoring whether or not the battery unit is in a fully charged state. When the monitoring means detects the fully charged state of the battery unit, the latest energy remaining amount is set as the energy remaining amount at the time of full charging.

【0012】[0012]

【作用】請求項1記載の発明に係るバッテリ管理システ
ムでは、バッテリユニットに記憶されたエネルギー残量
から消費エネルギー量を差し引いた新たなエネルギー残
量が記憶部に書込まれる。
In the battery management system according to the first aspect of the present invention, a new energy remaining amount obtained by subtracting the consumed energy amount from the energy remaining amount stored in the battery unit is written in the storage unit.

【0013】請求項2記載の発明に係るバッテリ管理シ
ステムでは、バッテリユニットの記憶部から読出された
エネルギー残量と、テーブルに記憶された各デバイスご
とのエネルギー消費量を基に、所定の時間間隔で最新の
エネルギー残量が算出され、前記バッテリユニットの記
憶部に書込まれる。
In the battery management system according to the second aspect of the invention, the predetermined time interval is based on the energy remaining amount read from the storage unit of the battery unit and the energy consumption amount of each device stored in the table. The latest remaining energy is calculated at and is written in the storage unit of the battery unit.

【0014】請求項3記載の発明に係るバッテリ管理シ
ステムでは、バッテリユニットが満充電状態の場合に
は、バッテリユニットから読出されたエネルギー残量時
間の値に係わらず、テーブル内のエネルギー残量として
満充電時におけるエネルギー残量が採用され、バッテリ
ユニットのエネルギー残量が算出される。
In the battery management system according to the third aspect of the present invention, when the battery unit is fully charged, the energy remaining amount in the table is calculated as the energy remaining amount regardless of the value of the energy remaining time read from the battery unit. The energy remaining amount at the time of full charge is adopted, and the energy remaining amount of the battery unit is calculated.

【0015】[0015]

【実施例】以下、図面に基づき実施例を詳細に説明す
る。ここでは、バッテリ駆動型のノート型パソコンを例
に説明する。
Embodiments will be described in detail below with reference to the drawings. Here, a battery-powered notebook type personal computer will be described as an example.

【0016】図1は本発明の一実施例におけるバッテリ
管理システムを適用したノート型パソコンの要部構成を
表したものである。このノート型パソコンは、本体部1
1と、この本体部11に着脱自在に接続されるバッテリ
ユニット12から構成される。
FIG. 1 shows a main configuration of a laptop computer to which a battery management system according to an embodiment of the present invention is applied. This laptop computer has a main unit 1
1 and a battery unit 12 detachably connected to the main body 11.

【0017】バッテリユニット12は、繰り返し充電可
能な蓄電部13と、この蓄電部13に蓄えられたエネル
ギー量を示すデータを記憶するランダム・アクセス・メ
モリ(RAM)14とを含んでいる。このRAM14
は、蓄電部13によりバックアップされている。RAM
14に記憶されるデータとしては、蓄電部13内のエネ
ルギー残量に対応した装置の動作可能時間(以下、エネ
ルギー残量時間と呼ぶ)が用いられる。
The battery unit 12 includes a rechargeable power storage unit 13 and a random access memory (RAM) 14 for storing data indicating the amount of energy stored in the power storage unit 13. This RAM14
Are backed up by the power storage unit 13. RAM
As the data stored in 14, the operable time of the device corresponding to the remaining amount of energy in power storage unit 13 (hereinafter referred to as remaining energy time) is used.

【0018】本体部11内には、電源スイッチ17の投
入により動作を開始する電源基板16が設けられ、バッ
テリユニット12の蓄電部13またはACアダプタ(図
示せず)から供給される直流電圧を基に、後述する本体
内の各種デバイスを駆動するための電圧を出力するよう
になっている。
A power supply board 16 which starts its operation when the power switch 17 is turned on is provided in the main body 11 and receives a DC voltage supplied from the power storage unit 13 of the battery unit 12 or an AC adapter (not shown). In addition, a voltage for driving various devices in the main body described later is output.

【0019】この電源基板16は、ACアダプタが差し
込まれているときはACアダプタから電源供給を受ける
一方、ACアダプタが差し込まれていないときはバッテ
リユニット12から電源供給を受ける。また、ACアダ
プタが差し込まれ、かつバッテリユニット12が接続さ
れているときは、ACアダプタを介して供給される電源
によりバッテリユニット12の充電を行う。この電源基
板16は、バッテリユニット12の充電を監視し、バッ
テリユニット12が満充電になるとその旨を示す満充電
ステータス39を“H”とし、満充電状態を後述の満充
電ステータスポート36に通知するようになっている。
The power supply board 16 receives power from the AC adapter when the AC adapter is inserted, and receives power from the battery unit 12 when the AC adapter is not inserted. Further, when the AC adapter is inserted and the battery unit 12 is connected, the battery unit 12 is charged by the power source supplied via the AC adapter. The power supply board 16 monitors the charging of the battery unit 12, sets the full charge status 39 indicating that when the battery unit 12 is fully charged to “H”, and notifies the full charge status port 36 described later of the fully charged state. It is supposed to do.

【0020】また、本体部11内には、この装置全体の
動作を制御するためのCPU21が設けられ、後述する
クロック制御(CLKCTL)ポート37から出力され
るCPUクロックにより動作するようになっている。こ
のCPU21は、データバス18を介して、以下に述べ
る主メモリ22、リアルタイムクロック(RTC)2
4、その他各種のデバイス及び入出力(IO)ポートに
接続され、これらのデバイスやIOポートに対してIO
読出信号(IORD)やIO書込信号(IOWR)を出
力する。
A CPU 21 for controlling the operation of the entire apparatus is provided in the main body 11 and is operated by a CPU clock output from a clock control (CLKCTL) port 37 described later. .. The CPU 21 has a main memory 22 and a real-time clock (RTC) 2 which will be described below, via a data bus 18.
4, connected to various other devices and input / output (IO) ports, and IO to these devices and IO ports
It outputs a read signal (IORD) and an IO write signal (IOWR).

【0021】(i) 主メモリ22:例えばDRAM等で構
成されるメモリで、本装置に適用されるプログラムが格
納される。CPU21からの読出コマンド(MEMR
D),書込コマンド(MEMWR)等のコマンドやアド
レス信号(図示せず)により制御が行われる。読出・書
込データはデータバス18を介して転送される。
(I) Main memory 22: A memory composed of, for example, a DRAM or the like, in which a program applied to this apparatus is stored. Read command from CPU 21 (MEMR
D), a command such as a write command (MEMWR) and an address signal (not shown) are used for control. Read / write data is transferred via the data bus 18.

【0022】(ii)RTC24:CPU21に対し一定周
期で割込要求信号(IRQ)を送出する。
(Ii) RTC 24: Sends an interrupt request signal (IRQ) to the CPU 21 at a constant cycle.

【0023】(iii) バッテリユニットRAM制御回路3
1:書込信号(WR),読出信号(RD)、及びチップ
セレクト信号(CS)により、バッテリユニット12内
のRAM14に対するデータ読み書制御を行う。
(Iii) Battery unit RAM control circuit 3
1: Data read / write control for the RAM 14 in the battery unit 12 is performed by the write signal (WR), the read signal (RD), and the chip select signal (CS).

【0024】(iv)フロッピーディスク装置(FDD)3
2:各種のアプリケーションプログラムや必要なデータ
を格納し、必要に応じてアクセス可能である。アクセス
時以外はスピンドルモータは停止している。CPU21
からのIORD信号により、その動作状態(アクセス状
態/非アクセス状態)が読出され、データバス18を介
してCPU21に転送される。
(Iv) Floppy disk device (FDD) 3
2: Various application programs and necessary data are stored and can be accessed as needed. The spindle motor is stopped except when accessing. CPU21
The operation state (access state / non-access state) is read by the IORD signal from and is transferred to the CPU 21 via the data bus 18.

【0025】(v) ハードディスク装置(HDD)33:
大容量のデータ記憶装置であり、通常はアクセス時以外
もスピンドルモータは回転しているが、必要に応じて停
止させることも可能である。上記IORD信号により、
その動作状態(スピンドル回転中/停止中)が読出さ
れ、CPU21に転送される。
(V) Hard disk device (HDD) 33:
It is a large-capacity data storage device, and normally the spindle motor is rotating even when it is not accessed, but it can be stopped if necessary. By the IORD signal,
The operating state (during spindle rotation / stopped) is read and transferred to the CPU 21.

【0026】(vi)LCD電源(LCDPOWER)ポー
ト34:図示しない液晶ディスプレイ(LCD)の駆動
電源のオンオフ制御用の入出力(IO)ポートである。
IORD信号により、その動作状態(表示/非表示)が
読出され、CPU21に転送される。
(Vi) LCD power supply (LCD POWER) port 34: An input / output (IO) port for on / off control of a drive power supply of a liquid crystal display (LCD) not shown.
The operation state (display / non-display) is read by the IORD signal and transferred to the CPU 21.

【0027】(vii) LCDバックライト電源(FLPO
WER)ポート35:LCDバックライト用蛍光灯管ユ
ニットのオンオフ制御用のIOポートである。IORD
信号により、その動作状態(点灯/消灯)が読出され、
CPU21に転送される。(viii)満充電ステータスポー
ト36:IORD信号により、バッテリユニット12の
充電状態(満充電/不十分充電)が読出され、CPU2
1に転送される。
(Vii) LCD backlight power supply (FLPO
WER) port 35: An IO port for on / off control of the fluorescent lamp tube unit for LCD backlight. IORD
The operation status (lighting / lighting off) is read by the signal,
It is transferred to the CPU 21. (viii) Full charge status port 36: The charge state (full charge / insufficient charge) of the battery unit 12 is read by the IORD signal, and the CPU 2
Forwarded to 1.

【0028】(ix)CLKCTLポート37:発振器(O
SC)23から出力される動作クロックをCPU21に
出力する。IORD信号により、CPU21の動作クロ
ック速度(高速/低速)が読出され、CPU21に転送
される。
(Ix) CLKCTL port 37: oscillator (O
The operation clock output from the SC) 23 is output to the CPU 21. The operation clock speed (high speed / low speed) of the CPU 21 is read by the IORD signal and transferred to the CPU 21.

【0029】次に、図2,図3とともに、以上のような
構成のバッテリ管理システムの動作を説明する。
Next, the operation of the battery management system having the above configuration will be described with reference to FIGS.

【0030】まず、バッテリユニット12を本体部11
に接続し、電源スイッチ17を投入すると、バッテリメ
ンテナンスプログラムが起動される。バッテリメンテナ
ンスプログラムが起動すると、まず、バッテリユニット
RAM制御回路31は、バッテリユニット12内のRA
M14からエネルギー残量時間を読み込み(図2ステッ
プS101)、これを主メモリ22内の消費エネルギー
テーブル25のエネルギー残量格納部に書込む(ステッ
プS102)。
First, the battery unit 12 is attached to the main body 11
Then, when the power switch 17 is turned on, the battery maintenance program is started. When the battery maintenance program is activated, first, the battery unit RAM control circuit 31 causes the RA in the battery unit 12 to operate.
The remaining energy time is read from M14 (step S101 in FIG. 2) and is written in the remaining energy storage section of the consumed energy table 25 in the main memory 22 (step S102).

【0031】図4は、この消費エネルギーテーブル25
の内容を表したものである。このテーブルには、後述す
る一定周期Tの間に上記した各デバイスが消費するエネ
ルギー量の定格値が時間を単位としてそれぞれ格納され
るとともに、バッテリユニット12の最新のエネルギー
残量時間26が格納されるようになっている。例えば、
FDD32は時間Tだけ動作すると、エネルギー残量時
間26が“0.12分”だけ減少することを示す。その
他のデバイスについても同様である。また、エネルギー
残量時間の最大値、すなわち満充電時における値は12
0分である。
FIG. 4 shows this energy consumption table 25.
It represents the contents of. In this table, the rated value of the amount of energy consumed by each of the above-described devices during a certain period T described later is stored in units of time, and the latest energy remaining time 26 of the battery unit 12 is stored. It has become so. For example,
When the FDD 32 operates for the time T, it indicates that the remaining energy time 26 decreases by "0.12 minutes". The same applies to other devices. The maximum value of the remaining energy time, that is, the value when fully charged is 12
0 minutes.

【0032】さて、RTC24は、一定周期T(例えば
10秒間隔)で、IRQ信号をCPU21に出力する。
CPU21は、バッテリユニット12接続後IRQ信号
に応答して満充電ステータスポート36にIORD信号
を出力し、満充電ステータスを読み込む。これにより読
出された満充電ステータスが“H”の場合には(ステッ
プS103;Y)、CPU21は、消費エネルギーテー
ブル25のエネルギー残量時間26を120分にセット
したのち(ステップS104)、満充電ステータスを
“L”にリセットする(ステップS121)。これによ
り、例えばバッテリユニット12のRAM14から読み
込まれた値が“110分”であったとしても、これが正
しい初期値(120分)に書換えられる(ステップS1
04)。次に、CPU21は、RTC24からIORD
信号が入力されるごとに(ステップS105)、上記(i
v)〜(ix)に示したデバイスまたはIOポート(満充電ス
テータスポート36を除く)にIORD信号を順次出力
するポーリングを行い、各デバイスまたはIOポートか
らそれぞれの状態を示すデータを読み込み、各状態を判
定する。
The RTC 24 outputs the IRQ signal to the CPU 21 at a constant cycle T (for example, every 10 seconds).
After connecting the battery unit 12, the CPU 21 outputs an IORD signal to the full charge status port 36 in response to the IRQ signal to read the full charge status. When the full charge status thus read is "H" (step S103; Y), the CPU 21 sets the energy remaining time 26 of the energy consumption table 25 to 120 minutes (step S104), and then the full charge. The status is reset to "L" (step S121). Thereby, for example, even if the value read from the RAM 14 of the battery unit 12 is "110 minutes", this is rewritten to the correct initial value (120 minutes) (step S1).
04). Next, the CPU 21 moves the RTC 24 to the IORD.
Each time a signal is input (step S105), the above (i
Polling is performed by sequentially outputting the IORD signal to the devices or IO ports (excluding the full-charge status port 36) shown in v) to (ix), reading the data indicating the respective status from each device or IO port, and reading each status. To judge.

【0033】この結果、FDD32がアクセス状態のと
きには(ステップS106;Y)、消費エネルギーテー
ブル25を参照してエネルギー残量時間からFDD消費
エネルギー(0.12分)を減じ(ステップS10
7)、これにより得られた新たなエネルギー残量時間を
消費エネルギーテーブル25に書込む。一方、アクセス
状態でないときには(ステップS106;N)、エネル
ギー残量時間を更新せずにステップS108に進む。
As a result, when the FDD 32 is in the access state (step S106; Y), the FDD consumed energy (0.12 minutes) is subtracted from the remaining energy time by referring to the consumed energy table 25 (step S10).
7) Write the new remaining energy time thus obtained in the consumed energy table 25. On the other hand, when it is not in the access state (step S106; N), the process proceeds to step S108 without updating the remaining energy time.

【0034】HDD33が動作状態のときには(ステッ
プS108;Y)、エネルギー残量時間からHDD消費
エネルギー(0.06分)を減じ(ステップS10
9)、これにより得られた新たなエネルギー残量時間を
消費エネルギーテーブル25に書込む。一方、動作状態
でないときには(ステップS108;N)、エネルギー
残量時間を更新せずにステップS110に進む。
When the HDD 33 is in the operating state (step S108; Y), the HDD energy consumption (0.06 minutes) is subtracted from the remaining energy time (step S10).
9) Write the new remaining energy time thus obtained in the energy consumption table 25. On the other hand, when it is not in the operating state (step S108; N), the process proceeds to step S110 without updating the remaining energy time.

【0035】LCD電源がオン状態のときは、(ステッ
プS110;Y)、エネルギー残量時間からLCD消費
エネルギー(0.01分)を減じ(ステップS11
1)、これにより得られた新たなエネルギー残量時間を
消費エネルギーテーブル25に書込む。一方、オフ状態
のときには(ステップS110;N)、エネルギー残量
時間を更新せずにステップS112に進む。
When the LCD power is on (step S110; Y), the LCD energy consumption (0.01 minutes) is subtracted from the remaining energy time (step S11).
1) Write the new remaining energy time thus obtained in the energy consumption table 25. On the other hand, in the off state (step S110; N), the process proceeds to step S112 without updating the remaining energy time.

【0036】LCDバックライトがオン状態のときには
(ステップS112;Y)、エネルギー残量時間からL
CDバックライト消費エネルギー(0.03分)を減じ
(ステップS113)、これにより得られた新たなエネ
ルギー残量時間を消費エネルギーテーブル25に書込
む。一方、オフ状態のときには(ステップS112;
N)、エネルギー残量時間を更新せずにステップS11
3(図3)に進む。
When the LCD backlight is on (step S112; Y), L
The energy consumption of the CD backlight (0.03 minutes) is reduced (step S113), and the new energy remaining time obtained by this is written in the energy consumption table 25. On the other hand, in the off state (step S112;
N), step S11 without updating the remaining energy time
3 (FIG. 3).

【0037】CPUが高速動作状態のときは(図3ステ
ップS114;Y)、エネルギー残量時間から高速動作
時CPU消費エネルギー(0.04分)を減じ(ステッ
プS115)、これにより得られた新たなエネルギー残
量時間を消費エネルギーテーブル25に書込む。一方、
低速動作状態のときには(ステップS114;N)、エ
ネルギー残量時間から低速動作時CPU消費エネルギー
(0.02分)を減じ(ステップS116)、これによ
り得られた新たなエネルギー残量時間を消費エネルギー
テーブル25に書込む。
When the CPU is in the high-speed operating state (step S114; Y in FIG. 3), the CPU energy consumption during high-speed operation (0.04 minutes) is subtracted from the remaining energy time (step S115). The remaining energy time is written in the consumed energy table 25. on the other hand,
When in the low speed operation state (step S114; N), the CPU energy consumption during low speed operation (0.02 minutes) is subtracted from the energy remaining time (step S116), and the new energy remaining time obtained by this is consumed energy. Write on table 25.

【0038】ここで、CPU21はエネルギー残量時間
の値をチェックし、これが5分以下の場合には(ステッ
プS117;Y)、BEEP音またはLED表示等によ
りユーザに警告を与える(ステップS118)。そし
て、バッテリユニットRAM制御回路31によりその最
新のエネルギー残量時間をバッテリユニット12のRA
M14に書込む(ステップS120)。
Here, the CPU 21 checks the value of the remaining energy time, and if it is 5 minutes or less (step S117; Y), gives a warning to the user by a BEEP sound or LED display (step S118). Then, the battery unit RAM control circuit 31 sets the latest remaining energy time to the RA of the battery unit 12.
Write to M14 (step S120).

【0039】このような一連の処理(ステップS105
〜S120)が、上記したRTC24からのIORQ信
号に応じた一定周期Tで行われ、バッテリユニット12
のエネルギー残量時間が逐次更新されることとなる。
Such a series of processing (step S105)
~ S120) is performed at a constant cycle T according to the IORQ signal from the RTC 24 described above, and the battery unit 12
The remaining energy time will be sequentially updated.

【0040】このようにして、本実施例では、本体装置
内部の各デバイスの消費エネルギーを順次減算していく
ことによりバッテリユニット12の蓄電部13のエネル
ギー残量時間を求め、これをバッテリユニット12のR
AM14に書込むことができる。
In this way, in this embodiment, the energy remaining time of the power storage unit 13 of the battery unit 12 is obtained by sequentially subtracting the energy consumption of each device inside the main unit, and this is calculated. R
Can be written to AM14.

【0041】なお、本実施例では、バッテリユニット1
2内に設けるメモリとしてRAMを用いることとした
が、このほか例えばEEPROM等の不揮発メモリを用
いる事も可能である。
In this embodiment, the battery unit 1
Although the RAM is used as the memory provided in the memory 2, a non-volatile memory such as an EEPROM can be used.

【0042】また、本実施例では、LCDバックライト
の消費エネルギーを点灯時には一律に“0.03分”と
したが、LCDバックライトの輝度に応じた定格値をテ
ーブルに保持しておき、輝度調整用の電子ボリュームの
値をチェックして対応する消費エネルギーを基にエネル
ギー残量時間を算出するようにしてもよい。
Further, in this embodiment, the energy consumption of the LCD backlight is uniformly set to "0.03 minutes" at the time of lighting, but the rated value corresponding to the brightness of the LCD backlight is held in the table and the brightness is kept. It is also possible to check the value of the electronic volume for adjustment and calculate the remaining energy time based on the corresponding consumed energy.

【0043】さらに、その他のデバイスについても、よ
り細分化した動作状態に応じた消費エネルギーを用いて
エネルギー残量時間の算出を行うようにしてもよく、こ
れにより、一層正確にエネルギー残量時間を算出するこ
とができる。
Further, for other devices, the remaining energy time may be calculated by using the energy consumption according to the more subdivided operating state, whereby the remaining energy time can be calculated more accurately. It can be calculated.

【0044】さらに、本実施例では本来の装置動作を制
御するためのメインのCPUをバッテリ管理にも兼用し
ているが、これに限るものではなく、専用のCPUを別
途設けてバッテリ管理を行うようにしてもよい。
Further, in this embodiment, the main CPU for controlling the original operation of the device is also used for battery management, but the present invention is not limited to this, and a dedicated CPU is separately provided for battery management. You may do it.

【0045】[0045]

【発明の効果】以上説明したように、請求項1及び請求
項2記載の発明によれば、バッテリユニットにエネルギ
ー残量記憶用の記憶部を設け、これより読出したエネル
ギー残量から各デバイスごとのエネルギー消費量を差し
引くことでエネルギー残量を更新し、これをバッテリユ
ニットの記憶部に書込むこととしたので、複数のバッテ
リユニットを交換して使用する場合であっても、個々の
バッテリユニットごとにエネルギー残量の管理を行うこ
とができる。そして、従来のように、ユーザが使用時間
を逐一チェックする手間がなく、しかもエネルギー残量
の管理も各デバイスの動作状態に応じてきめ細かく行う
ため、かなり正確な管理が可能になるという効果があ
る。
As described above, according to the first and second aspects of the present invention, the battery unit is provided with the storage portion for storing the remaining energy amount, and the device reads the remaining energy amount for each device. The remaining amount of energy is updated by subtracting the energy consumption of the battery unit, and this is written in the storage unit of the battery unit. Therefore, even when multiple battery units are exchanged and used, each battery unit The remaining energy level can be managed for each. Further, unlike the conventional case, the user does not have to check the usage time one by one, and the remaining energy level is managed finely according to the operating state of each device, so that there is an effect that considerably accurate management is possible. ..

【0046】請求項3記載の発明によれば、バッテリユ
ニットが満充電状態の場合には、バッテリユニットから
読出されたエネルギー残量時間の値に係わらず、満充電
状態に対応する最大のエネルギー残量定格値を採用する
こととしたので、例えば何らかの理由でバッテリユニッ
トの記憶部のエネルギー残量情報が正確でなくなった場
合であっても、バッテリユニットを満充電にすることに
より、再び正確な状態からエネルギー残量の更新管理が
行われるという効果がある。
According to the third aspect of the present invention, when the battery unit is fully charged, the maximum energy remaining corresponding to the fully charged state is irrespective of the value of the remaining energy time read from the battery unit. Since the rated value is adopted, even if the energy remaining amount information in the storage unit of the battery unit becomes inaccurate for some reason, for example, by fully charging the battery unit, the accurate state is restored again. Has the effect of updating and managing the remaining energy level.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例におけるバッテリユニットシ
ステムを適用したノート型パソコンを示すブロック図で
ある。
FIG. 1 is a block diagram showing a notebook computer to which a battery unit system according to an embodiment of the present invention is applied.

【図2】このシステムの動作を説明するための流れ図で
ある。
FIG. 2 is a flow chart for explaining the operation of this system.

【図3】図2に続く動作を説明するための流れ図であ
る。
FIG. 3 is a flowchart for explaining an operation subsequent to FIG.

【図4】消費エネルギーテーブルの内容を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing the contents of a consumed energy table.

【符号の説明】[Explanation of symbols]

11 本体部 12 バッテリユニット 13 蓄電部 14 RAM 16 電源基板 21 CPU 22 主メモリ 24 リアルタイムクロック(RTC) 31 バッテリユニットRAM制御回路 39 満充電ステータス 11 Main Body 12 Battery Unit 13 Power Storage 14 RAM 16 Power Board 21 CPU 22 Main Memory 24 Real Time Clock (RTC) 31 Battery Unit RAM Control Circuit 39 Full Charge Status

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のデバイスを含んで構成された装置
本体部と、該装置本体部に着脱可能に接続され前記各デ
バイスに駆動用エネルギーを供給するバッテリユニット
と、を含む電子装置において、 前記バッテリユニット内に、該バッテリユニットのエネ
ルギー残量を記憶する記憶部を含むとともに、 前記装置本体内に、前記各デバイスの動作により消費さ
れるエネルギー量を算出する算出手段を含み、 前記エネルギー残量から消費エネルギー量を差し引いた
更新残量を前記バッテリユニットの記憶部に書込むこと
を特徴とするバッテリ管理システム。
1. An electronic apparatus comprising: an apparatus main body including a plurality of devices; and a battery unit detachably connected to the apparatus main body to supply driving energy to each of the devices. The battery unit includes a storage unit that stores the amount of energy remaining in the battery unit, and the apparatus body includes a calculation unit that calculates the amount of energy consumed by the operation of each device. A battery management system, characterized in that the updated remaining amount obtained by subtracting the consumed energy amount is written in the storage unit of the battery unit.
【請求項2】 複数のデバイスを含んで構成された装置
本体部と、該装置本体部に着脱可能に接続され前記各デ
バイスに駆動用エネルギーを供給するバッテリユニット
と、を含む電子装置において、 前記バッテリユニット内に、該バッテリユニットのエネ
ルギー残量を記憶する記憶部を含むとともに、 前記装置本体内に、 前記各デバイスの動作状態を所定時間間隔で監視するデ
バイス監視手段と、 前記所定時間間隔に対応する各デバイスの消費エネルギ
ー量をそれぞれ記憶するテーブルと、 前記バッテリユニットの記憶部から前記エネルギー残量
を読出す読出手段と、 前記所定時間間隔で、デバイス監視手段から得られた各
デバイスの動作状態に応じ、前記読出手段により読出さ
れたエネルギー残量と前記テーブルの該当する消費エネ
ルギー量を基に、各時点における最新のエネルギー残量
を逐次演算する演算手段と、 この演算手段により得られた最新のエネルギー残量を前
記バッテリユニット内の記憶部に書込む書込手段と、を
具備することを特徴とするバッテリ管理システム。
2. An electronic apparatus including: an apparatus main body including a plurality of devices; and a battery unit detachably connected to the apparatus main body to supply driving energy to each of the devices. In the battery unit, a storage unit that stores the remaining energy of the battery unit is included, and in the apparatus body, a device monitoring unit that monitors the operating state of each device at predetermined time intervals, and at the predetermined time intervals. A table that stores the energy consumption of each corresponding device, a reading unit that reads the remaining energy amount from the storage unit of the battery unit, and an operation of each device obtained from the device monitoring unit at the predetermined time interval. Depending on the state, the energy remaining amount read by the reading means and the corresponding consumed energy of the table A calculation means for sequentially calculating the latest energy remaining amount at each time point based on the amount of charge, and a writing means for writing the latest energy remaining amount obtained by the calculation means into a storage unit in the battery unit, A battery management system comprising:
【請求項3】 前記バッテリユニットが満充電状態か否
かを監視するバッテリユニット監視手段を設け、該バッ
テリユニット監視手段がバッテリユニットの満充電状態
を検出したとき、前記最新エネルギー残量を満充電時に
おけるエネルギー残量とすることを特徴とする請求項2
記載のバッテリ管理システム。
3. A battery unit monitoring means for monitoring whether or not the battery unit is fully charged is provided, and when the battery unit monitoring means detects a fully charged state of the battery unit, the latest energy remaining amount is fully charged. 3. The amount of energy remaining at time is used as the energy remaining amount.
Battery management system as described.
JP4137248A 1992-05-28 1992-05-28 Battery control system Pending JPH05333974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4137248A JPH05333974A (en) 1992-05-28 1992-05-28 Battery control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4137248A JPH05333974A (en) 1992-05-28 1992-05-28 Battery control system

Publications (1)

Publication Number Publication Date
JPH05333974A true JPH05333974A (en) 1993-12-17

Family

ID=15194235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4137248A Pending JPH05333974A (en) 1992-05-28 1992-05-28 Battery control system

Country Status (1)

Country Link
JP (1) JPH05333974A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19620160A1 (en) * 1995-08-02 1997-02-06 Mitsubishi Electric Corp Control system and control method for a non-interruptible power supply
US6498459B1 (en) 1999-01-26 2002-12-24 Fujitsu Limited Electronic equipment and battery unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19620160A1 (en) * 1995-08-02 1997-02-06 Mitsubishi Electric Corp Control system and control method for a non-interruptible power supply
DE19620160C2 (en) * 1995-08-02 1999-11-04 Mitsubishi Electric Corp Uninterruptible power supply and method for operating such
US6498459B1 (en) 1999-01-26 2002-12-24 Fujitsu Limited Electronic equipment and battery unit

Similar Documents

Publication Publication Date Title
US5268845A (en) Method for detecting low battery state without precise calibration
US7024574B2 (en) Method and structure for switching between two battery units for driving an electrically driven device
US6842708B2 (en) Method and apparatus for determining battery life
JP3690665B2 (en) ELECTRIC DEVICE, COMPUTER DEVICE, AND POWER SUPPLY METHOD
US5345392A (en) Battery charge monitor for a personal computer
JP3611316B2 (en) ELECTRIC DEVICE, COMPUTER DEVICE, POWER SWITCHING DEVICE, AND POWER SWITCHING METHOD
US20120088556A1 (en) Method and system for operating a portable electronic device in a power-limited manner
US20010020940A1 (en) Information processor and power control method therefor
US7315955B2 (en) Circuit for turning off charging function to a battery of a system based on information set by user during the system in power-off state
US8854014B2 (en) Battery charging apparatus, electronic apparatus, and charging method
JP3718769B2 (en) Intelligent battery
JPH075958A (en) Computer operated by battery
JP2005259154A (en) Computer and power control method
EP0834796B1 (en) A computer system and control method for saving power
JPH10268985A (en) Device and method for controlling power source
JP2003092838A (en) Electronic apparatus, computer device, intelligent battery, method of diagnosing battery, method of indicating battery condition, and program
JPH08331768A (en) Overdischarge protective circuit for battery
US20130049704A1 (en) Charging apparatus and charging method
JP2003079067A (en) Electric device, computer device, charging method in electric device, and charging method in computer device, and program
JPH05307431A (en) Power control system
US20040263122A1 (en) Electronic apparatus and power control method
US6691049B1 (en) Method and apparatus to detect that the battery gauge is out of calibration
JPH0760359B2 (en) Battery-powered computer, and battery power monitoring method for battery-powered computer
JP3024308B2 (en) Data processing device
US20070182378A1 (en) Information processing apparatus and battery capacity measuring method