JPH08126216A - Portable electronic device and method for measuring remaining capacity of battery therein - Google Patents

Portable electronic device and method for measuring remaining capacity of battery therein

Info

Publication number
JPH08126216A
JPH08126216A JP6253261A JP25326194A JPH08126216A JP H08126216 A JPH08126216 A JP H08126216A JP 6253261 A JP6253261 A JP 6253261A JP 25326194 A JP25326194 A JP 25326194A JP H08126216 A JPH08126216 A JP H08126216A
Authority
JP
Japan
Prior art keywords
battery
discharge
state
voltage
characteristic
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
JP6253261A
Other languages
Japanese (ja)
Inventor
Akihiko Hamamoto
昭彦 濱本
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6253261A priority Critical patent/JPH08126216A/en
Publication of JPH08126216A publication Critical patent/JPH08126216A/en
Pending legal-status Critical Current

Links

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

Abstract

PURPOSE: To significantly prolong the life of a battery even if the discharge characteristics of a pristine battery are changed to those of the one at life-end, and this save labor required for battery change. CONSTITUTION: The load current to a load device is so controlled that a constant discharging current will be maintained until a final discharge voltage is reached. A sub-CPU 10 subjects variations in the detected voltage of a battery to arithmetic operation, and classifies the discharge characteristic of the battery under one of the first through third categories: The discharge characteristics of a pristine battery, those of a battery where a memory effect is produced, and those of a battery at life-end. According to the result of the discharge characteristic classification, the sub-CPU 10 automatically changes the reference values of the judgment of batteries' remaining capacity, stored in an SRAM 11, and compares the respective reference values of the judgment of batteries' remaining capacity, stored in the SRAM 11, with the detected voltage of the battery pack 3 to judge the remaining capacity of the battery.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、二次電池を電源供給の
一手段として、電池残量の検出機能をもつ携帯型電子装
置および携帯型電子装置の電池残量判定方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a portable electronic device having a function of detecting the remaining amount of a battery by using a secondary battery as a means for supplying power, and a method of determining the remaining amount of battery in the portable electronic device.

【0002】[0002]

【従来の技術】従来、二次電池の残量検出方法は、専用
ICとワンチップマイコンを組み合わせ放電電流の積算
量を検出する方法や、電池の放電電圧特性を考慮した固
定電圧値と電池電圧の比較により残量低下を検出する方
法などがある。
2. Description of the Related Art Conventionally, a method of detecting the remaining amount of a secondary battery is a method of detecting the integrated amount of discharge current by combining a dedicated IC and a one-chip microcomputer, and a fixed voltage value and a battery voltage considering the discharge voltage characteristic of the battery. There is a method of detecting a decrease in the remaining amount by comparing

【0003】前者は、装置の動作状態変化(負荷変動)
や使用環境(特に温度)変化の影響を受けない高精度な
残量検出が可能な反面、コスト高になる。
The former is a change in the operating state of the device (load fluctuation).
It is possible to detect the remaining amount with high accuracy without being affected by changes in the operating environment (especially temperature), but at the same time, the cost becomes high.

【0004】後者は、残量検出機能を安価に構成できる
が、負荷変動や使用環境の変化により、残量検出の精度
が低い場合がある。そこで、両者の中間的な方法とし
て、ワンチップマイコンを用いて残量レベルに対応した
スライス値と電池電圧の比較により電池残量を検出する
方法、あるいはさらに負荷変動(放電電流の変動)や使
用環境(主に温度)の影響分を補正したスライス値を用
いる方法などが近年広く行われている。
In the latter case, the remaining amount detecting function can be constructed inexpensively, but the remaining amount detecting accuracy may be low due to load fluctuations and changes in the operating environment. Therefore, as an intermediate method between the two, a method of detecting the remaining battery level by comparing the slice value corresponding to the remaining level and the battery voltage using a one-chip microcomputer, or further load fluctuation (fluctuation of discharge current) or use In recent years, a method using a slice value in which the influence of the environment (mainly temperature) is corrected has been widely used.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来例(特に放電電流積算法以外の方法)では、新品電池
の放電特性を基準にした実験値から、それぞれの残量レ
ベルに応じたスライス値が固定的に設定されているた
め、電池の特性が新品時より大きく変化した場合は、検
出精度が悪くなる。代表的な二次電池であるニッカド電
池(NiCd)や、大容量特性や環境特性(Cdレス)
から近年急速に普及しているニッケル水素電池(NiM
h)には、部分的な充放電の繰り返しや長期間の連続充
電によって図11に示すように放電電圧の一部が低下し
てしまうメモリ効果があり、固定的な電圧比較による残
量検出では見かけ上の電池容量が低下してしまう。
However, in the above-mentioned conventional example (in particular, the method other than the discharge current integration method), the slice value corresponding to each remaining amount level is determined from the experimental value based on the discharge characteristic of the new battery. Since the setting is fixed, if the battery characteristics change more than when new, the detection accuracy will deteriorate. Ni-Cd battery (NiCd), which is a typical secondary battery, and large-capacity characteristics and environmental characteristics (Cd-less)
Nickel-metal hydride batteries (NiM
In (h), there is a memory effect in which a part of the discharge voltage is reduced as shown in FIG. 11 due to partial repeated charge / discharge or long-term continuous charge. Apparent battery capacity will decrease.

【0006】図11は従来の二次電池の放電特性を説明
する図であり、横軸は放電時間(t)を示し、縦軸は単
位セル当たりの電圧(V)を示す。
FIG. 11 is a diagram for explaining the discharge characteristics of a conventional secondary battery. The horizontal axis shows the discharge time (t) and the vertical axis shows the voltage per unit cell (V).

【0007】なお、実線は新品電池の放電特性を示し、
破線はメモリ効果が生じた電池の放電特性を示し、1点
鎖線はライフエンド電池の放電特性を示す。
The solid line shows the discharge characteristics of a new battery,
The broken line shows the discharge characteristic of the battery having the memory effect, and the alternate long and short dash line shows the discharge characteristic of the life end battery.

【0008】この図に示すように、メモリ効果は、再び
適正な充放電を行えば従来の放電特性に復帰するが、充
放電回数が数百回(2〜3百回)になると電池の内部イ
ンピーダンスが増加して図11に示すような充放電特性
の変化(ライフエンド特性)が生じてくる。
As shown in this figure, the memory effect returns to the conventional discharge characteristic when proper charging and discharging are performed again, but when the number of times of charging and discharging reaches several hundreds (2 to 3 hundreds), the internal effect of the battery is restored. As the impedance increases, a change in charge / discharge characteristics (life end characteristic) occurs as shown in FIG.

【0009】特にNiMhの場合には放電電圧の全体が
低下してくるため、新品電池の放電特性を基準にしたス
ライス値をそのまま適用した場合、電池容量はまだ十分
残った状態でバッテリLowを検出するため、電池単体
では500回程度の充放電能力があるにもかかわらず、
2〜3百回の使用で電池交換されることになる。
In particular, in the case of NiMh, the entire discharge voltage decreases, so when the slice value based on the discharge characteristics of a new battery is applied as it is, the battery Low is detected while the battery capacity is still sufficient. Therefore, even though the battery alone has a charge / discharge capacity of about 500 times,
The battery will be replaced after a few hundred uses.

【0010】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1の発明〜第8の発明
の目的は、充電可能な電池の放電特性を分析して電池寿
命判定の基準値を変動設定することにより、新品の状態
からライフエンド状態に放電特性が変動しても現在の放
電特性に対応した適切な基準値により電池寿命を判定し
ながら、実質的な電池寿命を大幅に延命させて、電池交
換負担を軽減できる携帯型電子装置および携帯型電子装
置の電池残量判定方法を提供することである。
The present invention has been made to solve the above problems, and an object of the first to eighth inventions of the present invention is to analyze the discharge characteristics of a rechargeable battery and By changing the reference value for life judgment, even if the discharge characteristic changes from a new state to a life end state, the battery life is judged according to the appropriate reference value corresponding to the current discharge characteristic, and It is an object of the present invention to provide a portable electronic device and a method for determining a battery remaining amount of the portable electronic device, which can significantly extend the life and reduce the burden of battery replacement.

【0011】[0011]

【課題を解決するための手段】本発明に係る第1の発明
は、充電可能な電池からの通電により負荷デバイスを駆
動して所定のデータ処理を行う携帯型電子装置におい
て、前記電池の残量状態を判定するための電池残量判定
基準値を複数記憶する記憶手段と、前記電池の電圧値を
検出する検出手段と、前記記憶手段に記憶された各電池
残量判定基準値と前記検出手段に検出された前記電池の
電圧値とを比較して前記電池の電池残量を判定する残量
判定手段と、満充電された前記電池の電圧値が前記負荷
デバイスを切り離す放電終止電圧に到達するまで放電電
流を一定とするように前記負荷デバイスに対する負荷電
流を制御する電流制御手段と、前記放電電流が一定とな
る状態で前記検出手段により検出された前記電池の電圧
値の変動状態を演算処理して前記電池の放電特性を第1
から第3の新品電池,メモリ効果が生じた電池,ライフ
エンド電池の放電特性のいずれかに識別判定する特性判
定手段と、この特性判定手段が判定した第1から第3の
放電特性に応じて前記記憶手段に記憶された電池残量判
定基準値を自動変更する変更手段とを具備したものであ
る。
A first aspect of the present invention is a portable electronic device for driving a load device by energization from a rechargeable battery to perform predetermined data processing. Storage means for storing a plurality of battery remaining amount determination reference values for determining the state, detection means for detecting the voltage value of the battery, each battery remaining amount determination reference value stored in the storage means, and the detection means A remaining amount determining means for determining the remaining battery amount of the battery by comparing the detected voltage value of the battery, and the voltage value of the fully charged battery reaches a discharge end voltage for disconnecting the load device. Current control means for controlling the load current to the load device so as to keep the discharge current constant, and a variation state of the voltage value of the battery detected by the detection means in a state where the discharge current is constant The discharge characteristics of the battery to sense the first
To a third new battery, a battery having a memory effect, or a discharge characteristic of a life-end battery, the characteristic determining means and the first to third discharge characteristics determined by the characteristic determining means. And a changing unit for automatically changing the battery residual amount determination reference value stored in the storage unit.

【0012】本発明に係る第2の発明は、特性判定手段
は、周期的な電池電圧の検出毎に単位時間当りの電圧変
化率を演算し、該演算された電圧変化率が変動状態から
一定状態あるいは一定状態から変動状態へ変化する点に
おける電池電圧およびその変化点数から電池の放電特性
を第1から第3の放電特性のいずれかに識別判定するよ
うに構成したものである。
According to a second aspect of the present invention, the characteristic determining means calculates a voltage change rate per unit time for each detection of a periodic battery voltage, and the calculated voltage change rate is constant from a fluctuation state. The discharge characteristic of the battery is discriminated to be one of the first to third discharge characteristics based on the battery voltage at the point where the state or the constant state changes to the variable state and the number of the change points.

【0013】本発明に係る第3の発明は、記憶手段は、
不揮発性記憶媒体で構成したものである。
According to a third aspect of the present invention, the storage means is
It is composed of a non-volatile storage medium.

【0014】本発明に係る第4の発明は、変更手段は、
電源投入毎に、記憶手段に記憶された各電池残量判定基
準値が書き換えられたかどうかを判定して電池の初期放
電特性に対応する各電池残量判定基準値を初期設定する
ように構成したものである。
According to a fourth aspect of the present invention, the changing means is
Each time the power is turned on, it is configured to determine whether or not each battery remaining amount determination reference value stored in the storage means has been rewritten and initialize each battery remaining amount determination reference value corresponding to the initial discharge characteristic of the battery. It is a thing.

【0015】本発明に係る第5の発明は、特性判定手段
による放電特性の識別処理開始を指示する指示手段と、
この指示手段による放電特性の識別処理開始指示がなさ
れた場合に、放電電流が一定となる状態で前記検出手段
により検出された前記電池の電圧値の変動状態を演算処
理して前記電池の放電特性を第1から第3の放電特性の
いずれかに識別判定するように構成したものである。
According to a fifth aspect of the present invention, an instructing means for instructing the start of discharge characteristic identification processing by the characteristic determining means,
When a discharge characteristic identification process start instruction is given by the instruction means, a change state of the voltage value of the battery detected by the detection means is arithmetically processed in a state where the discharge current is constant to perform discharge processing of the battery. Is configured to be discriminated and determined to be one of the first to third discharge characteristics.

【0016】本発明に係る第6の発明は、変更手段は、
記憶手段に記憶された各電池残量判定基準値を電池の実
放電特性に依存して電圧変化率が変動状態から一定状態
あるいは一定状態から変動状態へ変化する点における電
池電圧値に変更するように構成したものである。
According to a sixth aspect of the present invention, the changing means is
Each battery remaining amount determination reference value stored in the storage means is changed to a battery voltage value at a point where the voltage change rate changes from a changing state to a constant state or from a constant state to a changing state depending on the actual discharge characteristics of the battery. It is configured in.

【0017】本発明に係る第7の発明は、充電可能な電
池からの通電により負荷デバイスを駆動して所定のデー
タ処理を行う携帯型電子装置の電池残量判定方法におい
て、前記電池の残量状態をレベル判定するための複数の
電池残量判定基準値を記憶媒体に設定する設定工程と、
前記電池の電圧値を検出する検出工程と、前記記憶媒体
に設定された各電池残量判定基準値と検出された前記電
池の電圧値とを比較して前記電池の電池残量を判定する
残量判定工程と、満充電された前記電池の電圧値が前記
負荷デバイスを切り離す放電終止電圧に到達するまで放
電電流を一定とするように前記負荷デバイスに対する負
荷電流を制限する制限工程と、前記放電電流が一定とな
る状態で検出された前記電池の電圧値の変動状態を演算
処理して前記電池の放電特性を第1から第3の放電特性
のいずれかに識別判定する特性判定工程と、前記特性判
定工程により判定された第1から第3の放電特性に応じ
て前記記憶媒体に記憶された電池残量判定基準値を変更
する変更工程とを有するものである。
According to a seventh aspect of the present invention, in a battery remaining amount determination method for a portable electronic device, which drives a load device by energizing from a rechargeable battery to perform predetermined data processing, A setting step of setting a plurality of remaining battery level determination reference values for level determination in the storage medium,
The detection step of detecting the voltage value of the battery, and the remaining battery level of the battery to be compared by comparing each battery level determination reference value set in the storage medium with the detected voltage value of the battery. An amount determination step, a limiting step of limiting the load current to the load device so that the discharge current is kept constant until the voltage value of the fully charged battery reaches a discharge end voltage that disconnects the load device, and the discharge A characteristic determining step of performing a calculation process on a variation state of the voltage value of the battery detected in a state in which the current is constant to identify the discharge characteristic of the battery as one of the first to third discharge characteristics; And a changing step of changing the battery remaining amount determination reference value stored in the storage medium according to the first to third discharge characteristics determined by the characteristic determining step.

【0018】本発明に係る第8の発明は、特性判定工程
は、周期的な電池電圧の検出毎に単位時間当りの電圧変
化率を演算し、該演算された電圧変化率が変動状態から
一定状態あるいは一定状態から変動状態へ変化する点に
おける電池電圧およびその変化点数から電池の放電特性
を第1から第3の放電特性のいずれかに識別判定するよ
うに構成したものである。
In an eighth aspect of the present invention, in the characteristic determining step, the rate of voltage change per unit time is calculated every time the battery voltage is detected periodically, and the calculated rate of voltage change is constant from the fluctuation state. The discharge characteristic of the battery is discriminated to be one of the first to third discharge characteristics based on the battery voltage at the point where the state or the constant state changes to the variable state and the number of the change points.

【0019】[0019]

【作用】第1の発明において、電流制御手段により満充
電された前記電池の電圧値が前記負荷デバイスを切り離
す放電終止電圧に到達するまで放電電流を一定とするよ
うに前記負荷デバイスに対する負荷電流を制御した状態
で、特性判定手段が検出手段により検出された前記電池
の電圧値の変動状態を演算処理して前記電池の放電特性
を第1から第3の放電特性のいずれかに識別判定し、該
判定した第1から第3の放電特性に応じて自動変更手段
が記憶手段に記憶された電池残量判定基準値を自動変更
し、残量判定手段が記憶手段に記憶された各電池残量判
定基準値と前記検出手段に検出された前記電池の電圧値
とを比較して前記電池の電池残量を判定し、電池の放電
特性が新品状態からライフエンド状態となるまで変動し
た場合でも、電池残量の判定基準をシフトして、実使用
における電池寿命を引き伸ばすことを可能とする。
In the first aspect of the invention, the load current for the load device is controlled so that the discharge current is kept constant until the voltage value of the battery fully charged by the current control means reaches the discharge end voltage for disconnecting the load device. In a controlled state, the characteristic determination means performs arithmetic processing on the variation state of the voltage value of the battery detected by the detection means to discriminate and determine the discharge characteristic of the battery to any one of the first to third discharge characteristics, The automatic changing unit automatically changes the battery remaining amount determination reference value stored in the storage unit according to the determined first to third discharge characteristics, and the remaining amount determining unit stores each battery remaining amount stored in the storage unit. Even when the discharge characteristic of the battery changes from the new state to the life end state by determining the remaining battery level of the battery by comparing the determination reference value and the voltage value of the battery detected by the detection means, battery It shifts the criterion of the amount, making it possible to extend the battery life in actual use.

【0020】第2の発明において、特性判定手段は、周
期的な電池電圧の検出毎に単位時間当りの電圧変化率を
演算し、該演算された電圧変化率が変動状態から一定状
態あるいは一定状態から変動状態へ変化する点における
電池電圧およびその変化点数から電池の放電特性を第1
から第3の放電特性のいずれかに識別判定し、現在の電
池の放電特性が第1から第3の放電特性電池の何れの状
態であるかを確実に判定することを可能とする。
In the second aspect of the invention, the characteristic determining means calculates a voltage change rate per unit time for each detection of the periodic battery voltage, and the calculated voltage change rate changes from a changing state to a constant state or a constant state. From the battery voltage at the point of change from the
It is possible to discriminate and determine any one of the first to third discharge characteristics, and reliably determine which state of the first to third discharge characteristic batteries the current discharge characteristic of the battery is.

【0021】第3の発明において、記憶手段は、不揮発
性記憶媒体で構成し、電源入切状態にかかわらず、現在
の電池の放電特性に対応する電池残量判定基準値を保持
することを可能とする。
In the third invention, the storage means is composed of a non-volatile storage medium, and is capable of holding a battery remaining amount determination reference value corresponding to the current discharge characteristic of the battery regardless of the power on / off state. And

【0022】第4の発明において、変更手段は、電源投
入毎に、記憶手段に記憶された各電池残量判定基準値が
書き換えられたかどうかを判定して電池の初期放電特性
に対応する各電池残量判定基準値を初期設定して、電池
交換が行われた場合に、交換された電池の放電特性に見
合う最適な各電池残量判定基準値を設定することを可能
とする。
In the fourth aspect of the invention, the changing means determines whether or not each battery remaining amount determination reference value stored in the storage means is rewritten each time the power is turned on, and each battery corresponding to the initial discharge characteristic of the battery. It is possible to initialize the remaining amount determination reference value and set the optimal battery remaining amount determination reference value that matches the discharge characteristics of the replaced battery when the battery is replaced.

【0023】第5の発明において、指示手段により放電
特性の識別処理開始指示がなされた場合に、特性判定手
段が放電電流が一定となる状態で前記検出手段により検
出された前記電池の電圧値の変動状態を演算処理して前
記電池の放電特性を第1から第3の放電特性のいずれか
に識別判定して、ユーザが意図するタイミングで電池寿
命をテストすることを可能とする。
In the fifth aspect of the invention, when the instructing means gives an instruction to start the process of identifying the discharge characteristic, the characteristic determining means indicates the voltage value of the battery detected by the detecting means while the discharge current is constant. It is possible to test the battery life at the timing intended by the user by arithmetically processing the fluctuation state and discriminating and determining the discharge characteristic of the battery as one of the first to third discharge characteristics.

【0024】第6の発明において、変更手段は、記憶手
段に記憶された各電池残量判定基準値を電池の実放電特
性に依存する電圧変化率が変動状態から一定状態あるい
は一定状態から変動状態へ変化する点における電池電圧
値に変更して、現在の電池放電特性に合致する最適な各
電池残量判定基準値に変更することを可能とする。
In the sixth aspect of the invention, the changing means changes the battery remaining amount determination reference value stored in the storage means from a changing state to a constant state or from a constant state to a changing state in which the voltage change rate depends on the actual discharge characteristics of the battery. It is possible to change to the battery voltage value at the point of changing to, and to change to the optimum battery remaining amount determination reference value that matches the current battery discharge characteristic.

【0025】第7の発明において、満充電された前記電
池の電圧値が前記負荷デバイスを切り離す放電終止電圧
に到達するまで放電電流を一定とするように前記負荷デ
バイスに対する負荷電流を制限した状態で、前記放電電
流が一定となる状態で検出された前記電池の電圧値の変
動状態を演算処理して前記電池の放電特性を第1から第
3の放電特性のいずれかに識別判定し、該判定された第
1から第3の放電特性に応じて記憶媒体に記憶された電
池残量判定基準値を変更して、変更された各電池残量判
定基準値と検出された前記電池の電圧値とを比較して前
記電池の電池残量を判定して、電池の放電特性が経時変
化して変動しても、各電池残量判定基準値を放電特性に
見合う各電池残量判定基準値にそれぞれシフトして、電
池寿命を実質的に延命する制御をプログラマブルに実行
可能とする。
In the seventh invention, the load current for the load device is limited so that the discharge current is kept constant until the voltage value of the fully charged battery reaches the discharge end voltage for disconnecting the load device. , A variation state of the voltage value of the battery detected in a state where the discharge current is constant is arithmetically processed to discriminate and determine the discharge characteristic of the battery to any one of the first to third discharge characteristics, and the determination is performed. The battery remaining amount determination reference value stored in the storage medium is changed according to the changed first to third discharge characteristics, and each changed battery remaining amount determination reference value and the detected voltage value of the battery are To determine the remaining battery level of the battery, and even if the discharge characteristics of the battery change over time, the respective battery remaining level reference values are set to the respective battery remaining level reference values commensurate with the discharge characteristics. Shift to substantially increase battery life And executable life to control the programmable.

【0026】第8の発明において、特性判定工程は、周
期的な電池電圧の検出毎に単位時間当りの電圧変化率を
演算し、該演算された電圧変化率が変動状態から一定状
態あるいは一定状態から変動状態へ変化する点における
電池電圧およびその変化点数から電池の放電特性を第1
から第3の放電特性のいずれかに識別判定して、現在の
電池の放電特性が第1から第3の放電特性電池の何れの
状態であるかを確実に判定する処理をプログラマブルに
実行可能とする。
In the eighth aspect of the invention, in the characteristic determining step, the voltage change rate per unit time is calculated every time the battery voltage is detected periodically, and the calculated voltage change rate is changed from a changing state to a constant state or a constant state. From the battery voltage at the point of change from the
It is possible to perform the processing for reliably determining which state of the first to the third discharge characteristic battery the discharge characteristic of the current battery is, by performing the identification determination from the above to the third discharge characteristic. To do.

【0027】[0027]

【実施例】図1は本発明の一実施例を示す携帯型電子装
置の一例を示す概略構成図であり、例えば携帯型コンピ
ュータ装置の場合を示す。
FIG. 1 is a schematic configuration diagram showing an example of a portable electronic device showing an embodiment of the present invention, for example, a portable computer device.

【0028】図において、1は本体、2は前記本体1へ
の電源供給の一手段であるACアダプタで、AC電源が
取れない場合に、本体1に電源供給を行うとともに充電
式電池パック3への充電機能もあわせて持っている。
In the figure, 1 is a main body, 2 is an AC adapter which is a means of supplying power to the main body 1, and when the AC power cannot be taken, the main body 1 is supplied with power and the rechargeable battery pack 3 is supplied. It also has a charging function.

【0029】4は前記ACアダプタ2あるいは電池パッ
ク3から本体1への電源供給を制御するメイン電源スイ
ッチ(SW)、5は各ユニットの駆動を停止した省電力
状態(サスペンド)と通常状態(レジューム)とを切り
替えるサスペンド/レジュームスイッチ(SW)、6は
後述する電池テストモードをスタートするための電池テ
ストスイッチ(SW)、7は電池残量を表示するための
パワーLEDである。
Reference numeral 4 is a main power switch (SW) for controlling power supply from the AC adapter 2 or the battery pack 3 to the main body 1, and 5 is a power saving state (suspend) in which driving of each unit is stopped and a normal state (resume). ) Is a suspend / resume switch (SW), 6 is a battery test switch (SW) for starting a battery test mode, which will be described later, and 7 is a power LED for displaying the remaining battery level.

【0030】図2は、図1に示した本体1の制御構成を
説明するブロック図であり、図1と同一のものには同一
の符号を付してある。
FIG. 2 is a block diagram for explaining the control configuration of the main body 1 shown in FIG. 1. The same parts as those in FIG. 1 are designated by the same reference numerals.

【0031】図において、10はサブCPUで、バッテ
リマネージメントを司る。電源には二次電池である前記
電池パック3(公称10.8V)とACアダプタ2(2
0V)があり、電池回りの制御用情報を記憶するための
SRAM11の内容保持は電池パック3からの微小電流
で行われる。
In the figure, 10 is a sub CPU, which controls battery management. As a power source, the battery pack 3 (nominal 10.8 V) and the AC adapter 2 (2
0V), the content of the SRAM 11 for storing control information around the battery is held by a minute current from the battery pack 3.

【0032】電源ユニット13には、前記2つの駆動用
電源の切り替え回路や、駆動用電源からロジック電圧や
各種モータの駆動電圧等を生成する電圧変換回路や、メ
イン電源SWON時のリセット信号発生回路、およびサ
ブCPU10からACアダプタ2間への充電命令信号1
4や、電池が満充電状態であることをACアダプタ2か
らサブCPU10に知らせる満充電信号15等のインタ
フェース回路、そして電池電圧が8.5V(放電終止電
圧)未満になった場合に、電池の過放電を防止するた
め、電池パック3と負荷を切り離す放電終止回路が含ま
れる(不図示)。
The power supply unit 13 includes a switching circuit for the two drive power supplies, a voltage conversion circuit for generating logic voltages and drive voltages for various motors from the drive power supplies, and a reset signal generation circuit for turning on the main power supply SW. , And a charge command signal 1 from the sub CPU 10 to the AC adapter 2
4 or an interface circuit such as a full charge signal 15 which informs the sub CPU 10 that the battery is in a fully charged state, and when the battery voltage becomes less than 8.5 V (discharge end voltage), In order to prevent over-discharge, a discharge termination circuit that disconnects the battery pack 3 and the load is included (not shown).

【0033】放電終止回路はメイン電源スイッチ4がO
FF状態でも作動するため、電池パック3の挿着/抜取
りが行われた場合は、メイン電源スイッチ4のスイッチ
状態にかかわらず無条件に前記SRAM11への電流が
絶たれるから、後述するメインルーチン中の初期テスト
では、SRAM11の先頭に保持されているSRAM1
1のチェックサム値と、実際のSRAMエリアのチェッ
クサムが食い違うことになる。
In the discharge termination circuit, the main power switch 4 is turned off.
Since the operation is performed even in the FF state, when the battery pack 3 is inserted / removed, the current to the SRAM 11 is unconditionally cut off regardless of the switch state of the main power switch 4. In the initial test of, SRAM1 held at the head of SRAM11
The checksum value of 1 and the checksum of the actual SRAM area will be different.

【0034】サブCPU10によるバッテリマネージメ
ントには、残量検出制御,充電制御,電池テスト制御お
よびパワー制御に大別される。
Battery management by the sub CPU 10 is roughly divided into remaining amount detection control, charging control, battery test control and power control.

【0035】残量検出制御は、サブCPU10のAD変
換端子12に入力された電池電圧のAD変換値とSRA
M11に保持されているスライス値とを比較して残量レ
ベルを決定しパワーLED7に電池残量を表示する。
The remaining amount detection control is performed by the AD conversion value of the battery voltage input to the AD conversion terminal 12 of the sub CPU 10 and the SRA.
The remaining level is determined by comparing the slice value held in M11 and the remaining battery level is displayed on the power LED 7.

【0036】充電制御は、充電条件が整った場合は充電
命令信号14によって電源ユニット13を介してACア
ダプタ2に充電動作を開始させ、ACアダプタ2からの
満充電信号15を待つ。電池テストスイッチ6が押下さ
れた場合は、前記充電命令信号14によって充電動作を
開始し、充電終了(満充電信号15)検出後は、AC許
可信号17により強制的にACアダプタ2から電池パッ
ク3に駆動電源への切り替えを命じるとともに、プレー
ナユニット20側に後述するIFRAM31を用いて定
電流動作要求コマンドを送り、定電流放電条件での電池
放電電圧特性を測定し、必要に応じて前記SRAM11
に保持されているスライス値を再チューニングする制御
(電池テスト制御)を行う。
The charging control causes the AC adapter 2 to start the charging operation via the power supply unit 13 by the charging command signal 14 when the charging condition is satisfied, and waits for the full charging signal 15 from the AC adapter 2. When the battery test switch 6 is pressed, the charging operation is started by the charge command signal 14, and after the end of charging (full charge signal 15) is detected, the AC permission signal 17 is compulsorily used from the AC adapter 2 to the battery pack 3. To the planar unit 20 and sends a constant current operation request command to the planar unit 20 side using an IFRAM 31 described later to measure the battery discharge voltage characteristic under the constant current discharge condition, and if necessary, the SRAM 11
Performs control (battery test control) to retune the slice value held in.

【0037】パワー制御には、フルパワーダウン処理と
レジューム処理とがあり、フルパワーダウン処理はプレ
ーナユニット20からの状態制御信号であるフルパワー
ダウン信号21をサブCPU10が受けてDC/DC制
御信号19を電源ユニット13に送り、不必要なDC/
DC類の発振(プレーナ側への電源供給)を停止する処
理で、これによって装置はサブCPU10等の一部の電
子部品以外への電源供給を停止した省電力状態(サスペ
ンド状態)にはいる。
The power control includes a full power down process and a resume process. In the full power down process, the sub CPU 10 receives the full power down signal 21 which is a state control signal from the planar unit 20 and the DC / DC control signal is received. 19 is sent to the power supply unit 13 and unnecessary DC /
This is a process of stopping the oscillation of DCs (supply of power to the planar side), whereby the device is in a power saving state (suspend state) in which power supply to parts other than some electronic components such as the sub CPU 10 is stopped.

【0038】レジューム処理は、サスペンド/レジュー
ムスイッチ(サス/レジSW)5が押下された場合に生
じるレジューム要求信号22をサブCPU10が検出
し、前記DC/DC制御信号19によって全電子部品へ
の電源供給を再開し、発振安定後、プレーナユニット2
0側にレジューム許可信号23を送ることで省電力状態
(サスペンド状態)から通常状態に復帰する処理であ
る。
In the resume process, the sub CPU 10 detects the resume request signal 22 generated when the suspend / resume switch (sustain / registration SW) 5 is pressed, and the DC / DC control signal 19 supplies power to all electronic components. After restarting the supply and stabilizing the oscillation, the planar unit 2
This is a process for returning from the power saving state (suspend state) to the normal state by sending the resume permission signal 23 to the 0 side.

【0039】プレーナユニット20とサブCPU10間
のインタフェースは前述のパワーコントロール用の信号
(フルパワーダウン信号21,レジューム許可信号2
3)のほかに、バスライン30に直結された1バイトメ
モリ(IFRAM)31にサブCPU10がライトし、
プレーナユニット20側にリード要求信号32を出力す
ることでも行われる。
The interface between the planar unit 20 and the sub CPU 10 has the aforementioned power control signals (full power down signal 21, resume permission signal 2).
In addition to 3), the sub CPU 10 writes to the 1-byte memory (IFRAM) 31 directly connected to the bus line 30,
This is also performed by outputting the read request signal 32 to the planar unit 20 side.

【0040】以下、本実施例と第1〜第6の発明の各手
段との対応及びその作用について図2を参照して説明す
る。
Correspondence between the present embodiment and each means of the first to sixth inventions and their functions will be described below with reference to FIG.

【0041】第1の発明は、充電可能(ACアダプタ2
からの充電による)な電池(電池パック3)からの通電
により負荷デバイスを駆動して所定のデータ処理を行う
携帯型電子装置において、前記電池の残量状態を判定す
るための電池残量判定基準値を複数記憶する記憶手段
(SRAM11)と、前記電池の電圧値を検出する検出
手段(サブCPU10のA/D変換入力により検出す
る)と、前記記憶手段に記憶された各電池残量判定基準
値(後述するレベルHM,ML,装置停止レベル)と前
記検出手段に検出された前記電池の電圧値とを比較して
前記電池の電池残量を判定する残量判定手段(サブCP
U10による)と、満充電された前記電池の電圧値が前
記負荷デバイスを切り離す放電終止電圧に到達するまで
放電電流を一定とするように前記負荷デバイスに対する
負荷電流を制御する電流制御手段(プレーナユニット2
0による)と、前記放電電流が一定となる状態で前記検
出手段により検出された前記電池の電圧値の変動状態を
演算処理して前記電池の放電特性を第1から第3の放電
特性のいずれかに識別判定する特性判定手段(サブCP
U10による)と、この特性判定手段が判定した第1か
ら第3の放電特性に応じて前記記憶手段に記憶された電
池残量判定基準値を自動変更する変更手段(サブCPU
10による)とを設け、プレーナユニット20により満
充電された前記電池の電圧値が前記負荷デバイスを切り
離す放電終止電圧に到達するまで放電電流を一定とする
ように前記負荷デバイスに対する負荷電流を制御した状
態で、サブCPU10が検出された前記電池の電圧値の
変動状態を演算処理して前記電池の放電特性を第1から
第3の放電特性(新品時の放電特性,メモリ効果が発生
している放電特性,ライフエンド状態の放電特性)のい
ずれかに識別判定し、該判定した第1から第3の放電特
性に応じてサブCPU10がSRAM11に記憶された
電池残量判定基準値を自動変更し(後述する図10参
照)、SRAM11に記憶された各電池残量判定基準値
と検出された前記電池パック3の電圧値とを比較して前
記電池の電池残量を判定し、電池の放電特性が新品状態
からライフエンド状態となるまで変動した場合でも、電
池残量の判定基準をシフトして、実使用における電池寿
命を引き伸ばすことを可能とする。
The first invention is chargeable (AC adapter 2
Battery level determination criterion for determining the state of the remaining battery level in a portable electronic device that drives a load device by energization from a battery (battery pack 3) to carry out predetermined data processing. A storage unit (SRAM 11) for storing a plurality of values, a detection unit for detecting the voltage value of the battery (detected by the A / D conversion input of the sub CPU 10), and a battery remaining amount determination reference stored in the storage unit. Remaining capacity determination means (sub-CP) that compares the value (levels HM, ML, device stop level described later) with the voltage value of the battery detected by the detection means to determine the remaining battery capacity of the battery.
U10) and a current control means (planar unit) for controlling the load current to the load device so that the discharge current is kept constant until the voltage value of the fully charged battery reaches the discharge end voltage for disconnecting the load device. Two
0)), the discharge characteristic of the battery is determined by any one of the first to third discharge characteristics by arithmetically processing the fluctuation state of the voltage value of the battery detected by the detecting means in a state where the discharge current is constant. Character determination means (sub CP
U10) and changing means (sub CPU) for automatically changing the battery remaining amount reference value stored in the storage means according to the first to third discharge characteristics determined by the characteristic determining means.
10) is provided, and the load current for the load device is controlled so that the discharge current is constant until the voltage value of the battery fully charged by the planar unit 20 reaches the discharge end voltage that disconnects the load device. In this state, the sub CPU 10 arithmetically processes the detected variation of the voltage value of the battery to change the discharge characteristics of the battery from the first to the third discharge characteristics (the discharge characteristics at the time of new product, the memory effect is generated). Discharge characteristic or life end state discharge characteristic), and the sub CPU 10 automatically changes the battery remaining amount determination reference value stored in the SRAM 11 according to the determined first to third discharge characteristics. (See FIG. 10 described later), the battery remaining amount of the battery is determined by comparing each battery remaining amount determination reference value stored in the SRAM 11 with the detected voltage value of the battery pack 3. Constant and, even when the discharge characteristics of the battery has changed from new state until the life end state, to shift the criteria battery level, makes it possible to extend the battery life in actual use.

【0042】第2の発明は、特性判定手段(サブCPU
11)は、周期的な電池電圧の検出毎に単位時間当りの
電圧変化率を演算し、該演算された電圧変化率が変動状
態から一定状態あるいは一定状態から変動状態へ変化す
る点における電池電圧およびその変化点数から電池の放
電特性を第1から第3の放電特性のいずれかに識別判定
し、現在の電池の放電特性が第1から第3の放電特性電
池の何れの状態であるかを確実に判定することを可能と
する。
A second aspect of the invention is a characteristic determining means (sub CPU
11) is a battery voltage at the point where the voltage change rate per unit time is calculated for each periodical battery voltage detection, and the calculated voltage change rate changes from a changing state to a constant state or from a constant state to a changing state. And the discharge characteristic of the battery is discriminated from any of the first to third discharge characteristics based on the number of change points thereof, and whether the current discharge characteristic of the battery is the first to third discharge characteristic battery is determined. It is possible to make a reliable judgment.

【0043】第3の発明は、記憶手段は、不揮発性記憶
媒体(SRAM11)で構成し、電源入切状態にかかわ
らず、現在の電池の放電特性に対応する電池残量判定基
準値を保持することを可能とする。
According to a third aspect of the present invention, the storage means is composed of a non-volatile storage medium (SRAM 11) and holds a battery residual amount determination reference value corresponding to the current discharge characteristic of the battery regardless of the power on / off state. It is possible.

【0044】第4の発明は、変更手段(サブCPU1
0)は、電源投入毎に、記憶手段に記憶された各電池残
量判定基準値が書き換えられたかどうかを判定して電池
の初期放電特性に対応する各電池残量判定基準値を初期
設定して、電池交換が行われた場合に、交換された電池
の放電特性に見合う最適な各電池残量判定基準値を設定
することを可能とする。
A fourth aspect of the invention is a changing means (sub CPU 1
0), each time the power is turned on, it is determined whether or not each battery remaining amount determination reference value stored in the storage means is rewritten, and each battery remaining amount determination reference value corresponding to the initial discharge characteristic of the battery is initialized. Thus, when the battery is replaced, it is possible to set the optimum battery remaining amount determination reference value that matches the discharge characteristics of the replaced battery.

【0045】第5の発明は、指示手段(テストスイッチ
6)により放電特性の識別処理開始指示がなされた場合
に、特性判定手段(サブCPU10)が放電電流が一定
となる状態で前記検出手段により検出された前記電池の
電圧値の変動状態を演算処理して前記電池の放電特性を
第1から第3の放電特性のいずれかに識別判定して、ユ
ーザが意図するタイミングで電池寿命をテストすること
を可能とする。
In a fifth aspect of the present invention, when the instruction means (test switch 6) gives an instruction to start the discharge characteristic identification process, the characteristic determining means (sub CPU 10) causes the detecting means to perform the discharge current constant. The detected variation of the voltage value of the battery is arithmetically processed to discriminate the discharge characteristic of the battery from any one of the first to third discharge characteristics, and the battery life is tested at the timing intended by the user. It is possible.

【0046】第6の発明は、変更手段(サブCPU1
0)は、SRAM11に記憶された各電池残量判定基準
値を電池の実放電特性に依存して電圧変化率が変動状態
から一定状態あるいは一定状態から変動状態へ変化する
点(後述するTV1,TV2)における電池電圧値に変
更して、現在の電池放電特性に合致する最適な各電池残
量判定基準値に変更することを可能とする。
A sixth aspect of the invention is a changing means (sub CPU 1
0) is a point at which the rate of change of the voltage of each battery remaining capacity determination reference value stored in the SRAM 11 changes from a fluctuating state to a constant state or from a constant state to a fluctuating state depending on the actual discharge characteristics of the battery (TV1, which will be described later) It is possible to change to the battery voltage value in the TV 2) and change to the optimum battery remaining amount determination reference value that matches the current battery discharge characteristic.

【0047】これにより、定電流放電状態での放電電圧
の変化率をモニタリングし、偏極点とその電圧値をサン
プリングすることで電池特性を判断し(電池テスト処
理)、以後の残量検出ではその電池の特性にあったスラ
イス値(上記基準値)を使用することで、電池にライフ
エンド特性(内部インピーダンスが増加することによる
放電電圧の低下)が生じた場合でも、新品電池相当の電
池動作が可能となり、従来電池単体としての性能は残し
ながら数百サイクルで交換されていた電池をさらに長く
使用することができる。
Thus, the rate of change of the discharge voltage in the constant current discharge state is monitored, and the battery characteristic is judged by sampling the polarization point and its voltage value (battery test process). By using a slice value that matches the characteristics of the battery (reference value above), even if the battery has a life end characteristic (a decrease in discharge voltage due to an increase in internal impedance), the battery operation equivalent to that of a new battery can be performed. This allows the battery, which has been replaced in several hundred cycles, to be used for a long time while maintaining the performance of the conventional battery alone.

【0048】また、同時に電池テスト処理において放電
終止電圧まで完全に放電させることにより、メモリ効果
による一時的な電池容量低下状態からも放電特性を回復
させることも可能となる。
At the same time, by completely discharging the battery to the discharge end voltage in the battery test process, it becomes possible to recover the discharge characteristics even from a temporary decrease in battery capacity due to the memory effect.

【0049】以上の構成による携帯型コンピュータ装置
に使用されるサブCPU10のメインルーチンを図3を
参照して説明する。
The main routine of the sub CPU 10 used in the portable computer device having the above configuration will be described with reference to FIG.

【0050】図3は本発明に係る携帯型電子装置におけ
るサブCPUによるメイン処理手順の一例を示すフロー
チャートである。なお、(1)〜(14)は各ステップ
を示す。
FIG. 3 is a flowchart showing an example of the main processing procedure by the sub CPU in the portable electronic device according to the present invention. Note that (1) to (14) indicate each step.

【0051】メイン電源スイッチ4がONされると、無
条件に電源ユニット13上のロジック用DC/DCの発
振が開始し、ロジック電圧が4.2Vに達すると電源ユ
ニット13上のリセットICからリセット信号がサブC
PU10とプレーナユニット20に出力される。次い
で、リセット解除後(1)、サブCPU10は内蔵RO
Mエリアの先頭アドレスからプログラムの実行を開始す
る。
When the main power switch 4 is turned on, the logic DC / DC oscillation on the power supply unit 13 is unconditionally started, and when the logic voltage reaches 4.2 V, the reset IC on the power supply unit 13 resets. Signal is sub C
It is output to the PU 10 and the planar unit 20. Then, after reset release (1), the sub CPU 10
Execution of the program starts from the start address of the M area.

【0052】なお、前述の電源ユニット13によるロジ
ックDC/DCの無条件発振は400msec幅に限定
されており、サブCPU10はDC/DC制御信号19
をアクティブにすることで無条件発振終了後もDC/D
Cの発振を継続させ装置全体への電源供給を継続する
(2)。次いで、入出力ポートおよび割込みに関する初
期設定を行う(3)。
The unconditional oscillation of the logic DC / DC by the above-mentioned power supply unit 13 is limited to the width of 400 msec, and the sub CPU 10 controls the DC / DC control signal 19
To activate DC / D even after unconditional oscillation
The oscillation of C is continued and the power supply to the entire device is continued (2). Next, the initial setting regarding the input / output port and the interrupt is performed (3).

【0053】本実施例では、サスペンド状態でサス/レ
ジSW5が押下された場合に生じるレジューム信号,A
Cアダプタ2差し込みの2つの外部割り込みを使用して
いるが、初期設定では割り込み禁止に設定し、後述する
フルパワーダウン処理で許可される。
In the present embodiment, the resume signal, A, generated when the suspend / register SW5 is pressed in the suspend state
Although two external interrupts of the C adapter 2 are used, the interrupts are disabled in the initial setting and enabled in the full power down process described later.

【0054】次いで、内蔵ROMのサムチェックと内蔵
RAMのリード/ライトチェックおよび外部SRAM1
1のサムチェックと、パワーLED7の点滅も同時に行
っている(4)。次いで、SRAM11のチェックサム
がエラーとなったかどうかを判定し(5)、エラーと判
定された場合は、電池パック3が交換でSRAM11の
内容が消滅している可能性があるため、後述する残量検
出で使用するスライス値と新品電池の特性にあわせた値
(ROMに格納されている)をSRAM11にセットす
る(6)。なお、テスト結果はIFRAM31に記憶さ
れ、プレーナユニット20側での立ち上げ処理中にこの
値が確認される。
Next, the sum check of the built-in ROM, the read / write check of the built-in RAM, and the external SRAM 1
The sum check of 1 and the blinking of the power LED 7 are also performed at the same time (4). Then, it is determined whether the checksum of the SRAM 11 has an error (5). If the error is determined, the battery pack 3 may be replaced and the contents of the SRAM 11 may be lost. A slice value used for quantity detection and a value (stored in the ROM) according to the characteristics of the new battery are set in the SRAM 11 (6). The test result is stored in the IFRAM 31, and this value is confirmed during the startup process on the planar unit 20 side.

【0055】次に、本実施例におけるメインルーチン中
のメインループは、電池残量を検出するための残量検出
処理ルーチンと、プレーナユニット20側からサブCP
U10に送られるフルパワーダウン信号状態のセンス
と、電池テストスイッチ6のセンスとシーケンシャルに
実行されるが、このタイミングをとるためのタイマをメ
インループに入る前にスタートさせる(7)。
Next, the main loop in the main routine in the present embodiment is a remaining amount detection processing routine for detecting the remaining amount of the battery, and a sub-CP from the planar unit 20 side.
The detection of the full power down signal state sent to U10 and the detection of the battery test switch 6 are executed sequentially, but a timer for taking this timing is started before entering the main loop (7).

【0056】次いで、後述する残量検出処理ルーチンに
基づいて電池の残量検出を行い結果をパワーLED7に
表示するとともに、IFRAM31にも記憶する
(8)。続いて、フルパワーダウン信号21をセンスし
(9)、アクティブの場合は後述するフルパワーダウン
処理ルーチンに分岐する(10)。
Next, the remaining amount of the battery is detected based on the remaining amount detecting processing routine described later, and the result is displayed on the power LED 7 and also stored in the IFRAM 31 (8). Then, the full power down signal 21 is sensed (9), and if active, the process branches to a full power down processing routine described later (10).

【0057】一方、ステップ(9)の判定でフルパワー
ダウン信号21の非アクィブの場合は、電池テストスイ
ッチ6をセンスし、スイッチ押下を検出したかどうかを
判定し(11)、検知した場合には、後述する電池テス
ト処理ルーチンに分岐する(12)。
On the other hand, if the full power down signal 21 is inactive in the determination in step (9), the battery test switch 6 is sensed, and it is determined whether or not the switch depression is detected (11). Branches to the battery test processing routine described later (12).

【0058】続いて、ステップ(8)の残量検出処理ル
ーチンによる前記残量検出の結果、電池残量レベルがL
owレベルの場合は(13)、後述するバッテリLow
処理ルーチンを実行後に(14)、前述の(8)に分岐
する。
Subsequently, as a result of the remaining amount detection by the remaining amount detection processing routine of step (8), the battery remaining amount level is L.
In the case of the ow level (13), the battery Low described later
After executing the processing routine (14), the process branches to (8).

【0059】図4は、図3に示したバッテリLow処理
ルーチンの詳細手順の一例を示すフローチャートであ
る。なお、(1)〜(8)は各ステップを示す。
FIG. 4 is a flow chart showing an example of detailed procedure of the battery low processing routine shown in FIG. Note that (1) to (8) indicate each step.

【0060】本処理は、後述する電池残量検出でLow
レベルと判断され、かつACアダプタ2が未接続の場合
に実行される手順である。
This process is Low when the battery remaining amount is detected, which will be described later.
This is the procedure executed when the level is determined and the AC adapter 2 is not connected.

【0061】なお、本実施例において、バッテリLow
処理とはブザーとパワーLED7の点滅で使用者に電池
残量切れを警告するとともに、電池パック3の電池電圧
が装置停止電圧未満になるか、あるいはLowレベル検
出から30秒経過すればバッテリLow要求によって、
プレーナユニット20側に装置のサスペンド状態への移
行を開始するよう要求する処理である。
In this embodiment, the battery Low
The processing is to warn the user of the remaining battery level by blinking the buzzer and the power LED 7, and to request the battery low if the battery voltage of the battery pack 3 becomes less than the device stop voltage or 30 seconds elapses from the low level detection. By
This is a process of requesting the planar unit 20 side to start the transition to the suspended state of the device.

【0062】先ず、電池パック3の電池電圧のA/D変
換を行い(1)、この値とSRAM11に保持されてい
る装置停止電圧に対応した値とを比較する(2)。この
比較で、電池電圧の方が低い場合は、30秒動作前に電
池電圧が放電終止電圧(8.5V)未満に低下する可能
性があり、この場合、電源ユニット13上の放電終止回
路が動作して強制的に電池パック3と負荷を切り放すた
め、ユーザが処理中のデータが失われることになるの
で、直ちにサスペンド処理に移行するため、後述するス
テップ(8)に分岐する。
First, the battery voltage of the battery pack 3 is A / D converted (1), and this value is compared with the value corresponding to the device stop voltage held in the SRAM 11 (2). In this comparison, when the battery voltage is lower, the battery voltage may drop below the discharge end voltage (8.5 V) before the operation for 30 seconds. In this case, the discharge end circuit on the power supply unit 13 is Since the user operates and forcibly disconnects the battery pack 3 and the load, the data being processed by the user will be lost. Therefore, the process immediately shifts to the suspend process, and the process branches to step (8) described later.

【0063】一方、ステップ(2)の判定で、例えば新
品電池の場合はSRAM11に保持されている装置停止
電圧は9.7Vであるが、後述する電池テストの処理の
実行後はより低い値が保持されている場合もあるので、
電池パック3の電池電圧が装置停止電圧より高い場合
は、ブザーを1秒間鳴らしパワーLEDはオレンジ点灯
する(3)。
On the other hand, in the determination of step (2), for example, in the case of a new battery, the device stop voltage held in the SRAM 11 is 9.7 V, but a lower value is obtained after execution of the battery test process described later. It may be held, so
When the battery voltage of the battery pack 3 is higher than the device stop voltage, the buzzer sounds for 1 second and the power LED lights in orange (3).

【0064】これにより、ユーザが警告に気付いてサス
ペンド/レジュームスイッチ5を押下した場合は、プレ
ーナユニット20側がこれを検出しメモリ,HD,LC
D等の待避処理終了後にフルパワーダウン信号21が出
力される。
As a result, when the user notices the warning and presses the suspend / resume switch 5, the planar unit 20 side detects this and detects the memory, HD, LC.
The full power-down signal 21 is output after the evacuation process such as D is completed.

【0065】次いで、サブCPU10がこのフルパワー
ダウン信号21を検出したかどうかを判定し(4)、検
出した場合は、ステップ(8)以降に進み、バッテリL
ow処理を終了し、前記メインループに戻った後、後述
するフルパワーダウン処理が実行される。
Next, the sub CPU 10 determines whether or not the full power down signal 21 is detected (4).
After finishing the ow process and returning to the main loop, a full power down process described later is executed.

【0066】一方、ステップ(4)でサブCPU10が
このフルパワーダウン信号21を検出しなかったと判定
された場合は、ACアダプタ2が検出されているかどう
かを判定し(5)、YESならば電源供給は保証される
からバッテリLow処理を終了する。
On the other hand, if it is determined in step (4) that the sub CPU 10 has not detected the full power down signal 21, it is determined whether the AC adapter 2 is detected (5). Since the supply is guaranteed, the battery Low process ends.

【0067】一方、ステップ(4),(5)の判定でい
ずれも未検出の場合は、1秒間ブザーを停止しパワーL
EDを消灯する(6)。
On the other hand, if neither of the judgments in steps (4) and (5) is detected, the buzzer is stopped for 1 second and the power L
The ED is turned off (6).

【0068】次いで、バッテリLow処理を開始してか
ら30秒経過しているかどうかをタイマ計時状態から判
定し(7)、経過してしないと判定した場合は、ステッ
プ(1)に分岐して一連の処理を繰り返す。
Next, it is judged from the timer timing state whether 30 seconds have passed since the battery low process was started (7). If it is judged that the timer has not passed, the process branches to step (1). The process of is repeated.

【0069】一方、ステップ(7)で30秒経過してい
ると判定された場合には、バッテリLow要求をIFR
AM31に書き込み、リード要求信号をアクティブにす
ることで、プレーナユニット20側の待避処理およびフ
ルパワーダウン信号21の出力を促して(8)、バッテ
リLow処理を終了する。
On the other hand, if it is determined in step (7) that 30 seconds have passed, the battery low request is issued to IFR.
By writing to the AM 31 and activating the read request signal, the saving process on the planar unit 20 side and the output of the full power down signal 21 are prompted (8), and the battery Low process is ended.

【0070】なお、バッテリLow要求を受けたプレー
ナユニット20側では、サスペンド/レジュームスイッ
チ5の押下を検出した場合と同様の処理が行われ、待避
処理後にフルパワーダウン信号21を出力する。
On the side of the planar unit 20 which receives the battery low request, the same processing as when the depression of the suspend / resume switch 5 is detected is performed, and the full power down signal 21 is output after the save processing.

【0071】図5は、図3に示したフルパワーダウン処
理ルーチンの詳細手順の一例を示すフローチャートであ
る。なお、(1)〜(9)は各ステップを示す。
FIG. 5 is a flow chart showing an example of a detailed procedure of the full power down processing routine shown in FIG. Note that (1) to (9) indicate each step.

【0072】本処理は、図3に示したメインルーチン中
でフルパワーダウン信号21を検出した場合に開始され
る。
This process is started when the full power down signal 21 is detected in the main routine shown in FIG.

【0073】先ず、DC/DC制御信号19によって電
源ユニット13上にある、サスペンド状態では使用しな
いDC/DC類(プレーナ側用のDC/DC)の発振停
止を命じる(1)。
First, the DC / DC control signal 19 commands the oscillation stop of DC / DCs (DC / DC for the planar side) on the power supply unit 13 which are not used in the suspended state (1).

【0074】次いで、サスペンド状態からの復帰はユー
ザがサス/レジSW5を押下した場合に発生するレジュ
ーム要求信号22がサブCPU10に割り込みとして入
力され、後述するレジューム要求割り込み処理で実行さ
れる。よって、レジューム要求割り込みを許可しておく
(2)。
Next, the return from the suspend state is executed by the resume request interrupt process, which will be described later, when the resume request signal 22 generated when the user presses the suspend / register SW 5 is input to the sub CPU 10 as an interrupt. Therefore, the resume request interrupt is enabled (2).

【0075】次に、ACアダプタ2の有無をチェックし
(3)、ACアダプタ2が無しと判定された場合は、A
Cアダプタ2が差し込の割込みを許可し(4)、サブC
PU10が自ら一時停止状態(ストップモード)にはい
ることで(5)、さらに省電力な状態になる。
Next, the presence or absence of the AC adapter 2 is checked (3), and if it is determined that the AC adapter 2 is not present, A
The C adapter 2 enables the plug-in interrupt (4), and the sub C
When the PU 10 enters the temporary stop state (stop mode) by itself (5), the power saving state is further achieved.

【0076】一方、ストップモードからの復帰は前記レ
ジューム要求割り込みのほかにACアダプタ2が差し込
まれる場合もあり(9)、一方、ステップ(3)で、A
Cアダプタ割り込みが発生したら、割り込み要因のクリ
ヤおよびスタックポインタの調整後、後述するステップ
(3)に分岐して充電処理が開始される。
On the other hand, when returning from the stop mode, the AC adapter 2 may be inserted in addition to the resume request interrupt (9). On the other hand, in step (3), A
When the C adapter interrupt is generated, after clearing the interrupt factor and adjusting the stack pointer, the process branches to step (3) described later to start the charging process.

【0077】すなわち、ACアダプタ2有りと判定され
た場合は、AC許可信号で電源ユニット13上での電池
パック3とACアダプタ2の電気的接続を行った後、電
源ユニット13を介してACアダプタ2に充電命令信号
を出力することでACアダタ2による電池パック3の充
電を開始させる(6)。
That is, when it is determined that the AC adapter 2 is present, after electrically connecting the battery pack 3 and the AC adapter 2 on the power supply unit 13 with the AC permission signal, the AC adapter is connected via the power supply unit 13. By outputting the charge command signal to 2, the charging of the battery pack 3 by the AC adder 2 is started (6).

【0078】次いで、ACアダプタ2によって電池パッ
ク3の満充電が検出されると、充電を停止し、ACアダ
プタ2から電源ユニット13を介してサブCPU10に
出力される満充電信号15をサブCPU10が検出した
かどうかを判定し(7)、NOならばステップ(3)に
分岐し、満充電信号15を検出したと判定した場合に
は、するとIFRAM31に満充電を示すステータスを
記録し、リード要求信号を出力することでプレーナユニ
ット20側に電池が満充電状態であることを通知して
(8)、ステップ(3)に分岐する。
Next, when the AC adapter 2 detects that the battery pack 3 is fully charged, the charging is stopped, and the sub CPU 10 outputs a full charge signal 15 output from the AC adapter 2 to the sub CPU 10 via the power supply unit 13. It is determined whether or not it is detected (7), and if NO, the process branches to step (3). When it is determined that the full charge signal 15 is detected, a status indicating full charge is recorded in the IFRAM 31 and a read request is issued. A signal is output to notify the planar unit 20 side that the battery is fully charged (8), and the process branches to step (3).

【0079】なお、上記フルパワーダウン処理中に、サ
スペンド状態(フルパワーダウン処理によって不必要な
DC/DC類の発振が停止した状態)でサスペンド/レ
ジュームスイッチ5が押下された場合、レジューム要求
信号22がサブCPU10に割り込みとして入力され、
図6に示すレジューム要求割り込み処理ルーチンが実行
される。
When the suspend / resume switch 5 is pressed in the suspend state (the state in which unnecessary DC / DC oscillation is stopped by the full power down process) during the full power down process, the resume request signal is issued. 22 is input to the sub CPU 10 as an interrupt,
The resume request interrupt processing routine shown in FIG. 6 is executed.

【0080】図6は、図5に示したフルパワーダウン処
理ルーチン中におけるレジューム要求割り込み処理ルー
チンの詳細手順の一例を示すフローチャートである。な
お、(1)〜(5)は各ステップを示す。
FIG. 6 is a flowchart showing an example of a detailed procedure of the resume request interrupt processing routine in the full power down processing routine shown in FIG. Note that (1) to (5) indicate each step.

【0081】割り込み要因のクリヤとスタックポインタ
の調整および他の外部割り込みを全てマスクした後
(1)、電源ユニット13を介してACアダプタ2に出
力していた充電命令信号を取り下げ充電を停止させる
(2)。
After clearing the interrupt factor, adjusting the stack pointer, and masking all other external interrupts (1), the charging command signal output to the AC adapter 2 via the power supply unit 13 is withdrawn to stop charging ( 2).

【0082】次いで、DC/DC制御信号19によって
発振を停止していた全ロジック用のDC/DC発振を再
開を命じ(3)、発振安定のため50msec待った後
(4)、プレーナユニット20側の復帰処理のトリガに
なるレジューム許可信号を出力し(5)、前述のメイン
ループ直前の(E1)に分岐し一連の処理を繰り返す。
Next, the DC / DC control signal 19 orders the restart of the DC / DC oscillations for all logics, which had been stopped by the DC / DC control signal 19 (3), and waits for 50msec to stabilize the oscillations (4). A resume permission signal that triggers the recovery process is output (5), and the process branches to (E1) immediately before the main loop and the series of processes is repeated.

【0083】なお、プレーナユニット20側でレジュー
ム許可信号23を受け取ると、前記フルパワーダウン直
前の状態から各I/O類の動作を再開させる。
When the planar unit 20 receives the resume permission signal 23, the operation of each I / O class is restarted from the state immediately before the full power down.

【0084】図7は、図3に示した電池残量検出処理ル
ーチンの詳細手順の一例を示すフローチャートである。
なお、(1)〜(9)は各ステップを示す。
FIG. 7 is a flow chart showing an example of a detailed procedure of the battery remaining amount detection processing routine shown in FIG.
Note that (1) to (9) indicate each step.

【0085】先ず、サブCPU10の内部RAMに記憶
されている電池残量レベルに応じて、SRAM11上の
スライス値用格納エリアの1アドレスをサブCPU10
のポインタにセットしてスライス値を取得する(1)。
そして、残量レベルがLow状態かどうかを判定して
(2)、残量レベルがLowの場合は、後述する(7)
に分岐する。
First, one address of the slice value storage area on the SRAM 11 is set to the sub CPU 10 according to the remaining battery level stored in the internal RAM of the sub CPU 10.
To obtain the slice value (1).
Then, it is judged whether or not the remaining amount level is in the Low state (2), and if the remaining amount level is Low, it will be described later (7).
Branch to.

【0086】一方、ステップ(2)の判定で、残量レベ
ルがHigh状態ならばレベルHMが格納されているア
ドレスを、残量レベルがMiddleならレベルMLが
格納されているアドレスをポインタにセットし、電池パ
ック3の電池電圧をA/D変換し(3)、この変換値と
前記ポインタが示すSRAM11上の値とを大小比較す
る(4)。
On the other hand, if it is determined in step (2) that the remaining amount level is High, the address where the level HM is stored is set to the pointer, and if the remaining amount level is Middle, the address where the level ML is stored is set to the pointer. The battery voltage of the battery pack 3 is A / D converted (3), and the converted value is compared with the value on the SRAM 11 indicated by the pointer (4).

【0087】なお、SRAM11内のスライス値格納エ
リアの値は残量レベルを切り替えるスライス電圧値のA
D変換値に対応した値が格納されている。
The value of the slice value storage area in the SRAM 11 is the slice voltage value A for switching the remaining amount level.
A value corresponding to the D conversion value is stored.

【0088】次いで、ステップ(3),(4)の処理を
5回繰り返し(5)、電池パック3の電池電圧変換値が
3回以上スライス値より大きいかどうかを判定し
(6)、3回未満の場合は、前記電池残量レベルを1レ
ベル下げて(9)、再びステップ(1)に分岐し一連の
処理を繰り返す。
Next, the processes of steps (3) and (4) are repeated five times (5), and it is judged whether the battery voltage conversion value of the battery pack 3 is greater than the slice value three times or more (6) and three times. If it is less than 1, the battery level is lowered by one level (9), and the process branches again to step (1) to repeat a series of processes.

【0089】一方、ステップ(6)の判定で、電池電圧
変換値が3回以上スライス値より大きいと判定された場
合には、電池電圧変換値とSRAM11上の値との比較
で決定した最終的な残量レベルに対応するステータスを
IFRAM31に記録すると共に(7)、残量レベルに
応じたパワーLED点灯を行う(8)。
On the other hand, when it is determined in step (6) that the battery voltage conversion value is greater than the slice value three times or more, the final value determined by comparing the battery voltage conversion value with the value on the SRAM 11 is determined. The status corresponding to the remaining level is recorded in the IFRAM 31 (7) and the power LED is turned on according to the remaining level (8).

【0090】なお、図11に示すように電池の放電特性
が、繰り返し充放電によるメモリ効果で電圧の一部が低
下したり、経年変化にともなう電池内部のインピーダン
スの増加で電圧の全体が低下した場合に、新品電池の放
電特性にあわせたスライス値で前述のバッテリLow処
理や残量検出処理を行うと、電池単体としての容量は十
分残しながらバッテリLow状態となる(見かけ上の電
池容量が低下する)。
As shown in FIG. 11, in the discharge characteristics of the battery, a part of the voltage decreased due to the memory effect due to repeated charging and discharging, and the entire voltage decreased due to the increase of the internal impedance of the battery with the aging. In this case, if the above-described battery low processing and remaining amount detection processing are performed with a slice value that matches the discharge characteristics of a new battery, the battery becomes a low state while leaving sufficient capacity as a single battery (apparent battery capacity decreases. To).

【0091】そこで、この対策として本発明では、新た
に電池テストモードを追加し、テスト結果に応じて値を
SRAM11上のスライス値を書き換えることで、実使
用における電池寿命を伸ばしている。
Therefore, as a countermeasure against this, in the present invention, a battery test mode is newly added, and the slice value on the SRAM 11 is rewritten according to the test result to extend the battery life in actual use.

【0092】前記メインループ中で電池テストSW6の
押下を検出した場合に実行される電池テスト処理を図
8,図9を参照して説明する。
The battery test process executed when the pressing of the battery test SW6 is detected in the main loop will be described with reference to FIGS.

【0093】図8は、図3に示した電池テスト処理ルー
チンの詳細手順の一例を示すフローチャートである。な
お、(1)〜(22)は各ステップを示す。
FIG. 8 is a flow chart showing an example of detailed procedure of the battery test processing routine shown in FIG. Note that (1) to (22) indicate each step.

【0094】先ず、電池パック3とACアダプタ2の有
無をチェックし(1)、いずれかが未接続の場合は、I
FRAM31にワーニングステータス(警告ステータ
ス)を書きリード要求信号をアクティブ(2)にして、
メインルーチンにリターンする。
First, the presence or absence of the battery pack 3 and the AC adapter 2 is checked (1), and if either is not connected, I
Write a warning status (warning status) in the FRAM31 and activate the read request signal (2),
Return to the main routine.

【0095】一方、ステップ(1)の判定で、いずれも
接続されていれると判定された場合には、前記バッテリ
Low処理と同様の処理(IFRAM31にバッテリL
ow要求を書きリード要求信号をアクティブにする)で
プレーナユニット20側にフルパワーダウン処理を促す
(3)。
On the other hand, when it is determined in step (1) that both are connected, the same process as the battery low process (the battery L in the IFRAM 31 is stored).
The ow request is written and the read request signal is activated) to prompt the planar unit 20 side to perform full power down processing (3).

【0096】次いで、サブCPU10がフルパワーダウ
ン信号21を検出すれば(4)、前述のフルパワーダウ
ン処理と同様の処理で(AC許可信号で電源ユニット1
3上での電池パック3とACアダプタ2の電気的接続を
行った後、電源ユニット13を介してACアダプタ2に
充電命令信号を出力する)ACアダプタ2による電池パ
ック3の充電を開始させる(5)。
Next, when the sub CPU 10 detects the full power down signal 21 (4), the same processing as the above full power down processing (power supply unit 1 with the AC enable signal) is performed.
After electrically connecting the battery pack 3 and the AC adapter 2 on the battery pack 3, the charging command signal is output to the AC adapter 2 via the power supply unit 13) The charging of the battery pack 3 by the AC adapter 2 is started ( 5).

【0097】次いで、ACアダプタ2からの満充電信号
15を検出したら(6)、IFRAM31に定電流放電
コマンドをセットし(7)、前述のレジューム割り込み
処理と同様の処理で(DC/DC制御信号で発振を再開
しレジューム許可信号をプレーナに出力する)フルパワ
ーダウン状態からレジューム状態に復帰する(8)。
Next, when the full charge signal 15 from the AC adapter 2 is detected (6), a constant current discharge command is set in the IFRAM 31 (7), and the same process as the resume interrupt process (DC / DC control signal) is performed. Then, the oscillation is restarted and the resume enable signal is output to the planar.) The full power down state is restored to the resume state (8).

【0098】この際、該レジューム許可信号をトリガと
して復帰したプレーナユニット20側は、IFRAM3
1の設定に従って全割り込みを禁止し一定負荷(1A相
当)の動作状態を継続していく。
At this time, the planar unit 20 side which has returned by using the resume enable signal as a trigger is
According to the setting of 1, all interrupts are prohibited and the operation state of a constant load (corresponding to 1 A) is continued.

【0099】次いで、サブCPU10は後述する処理で
使用するチェックフラグと偏極点カウンタと経過カウン
タさらに10バイトのリングバッファ(10分間分)と
偏極点のデータを記録する10バイトのテストデータエ
リア(偏極点5個分)を「0」に初期化するとともに
(9)、AC許可信号で装置の負荷とACアダプタ2の
電気的な接続を遮断することで(10)、駆動電源を強
制的にACアダプタ2から電池パック3に切り替える。
Next, the sub CPU 10 uses a check flag, a polarization counter, a progress counter, a 10-byte ring buffer (for 10 minutes), and a 10-byte test data area (polarity) for recording the polarization data used in the processing described later. (5 poles) is initialized to “0” (9), and the AC load signal is used to cut off the electrical connection between the device load and the AC adapter 2 (10), forcing the drive power supply to AC. Switch from the adapter 2 to the battery pack 3.

【0100】次いで、後述する判断処理を行うため、7
0分(満充電から1Aの定電流放電で放電終止電圧
(8.5V)まで放電する時間の70%に相当する時
間)を設定値とした、タイマ割込みをスタートさせる
(11)。
Next, in order to carry out the determination processing described later, 7
A timer interrupt is started with a set value of 0 minutes (a time corresponding to 70% of the time for discharging from the full charge to the discharge end voltage (8.5V) by the constant current discharge of 1A) (11).

【0101】続いて、電池パック3の電池電圧のA/D
変換を行い、結果をサブCPU10の10バイトのリン
グバッファの対応するアドレスに格納し、経過カウンタ
を「1」増加させる(12)。
Next, the A / D of the battery voltage of the battery pack 3
Conversion is performed, the result is stored in the corresponding address of the 10-byte ring buffer of the sub CPU 10, and the progress counter is incremented by "1" (12).

【0102】次いで、リングバッファに格納されている
電池パック3の電圧変換値から、最新の電圧変換値を基
準にして電圧変換値の1分あたりの変化分を10分間分
算出する(13)。続いて、チェックフラグが「0」か
どうかを判定し(14)、チェックフラグが「0」と判
定された場合は、変化分が変動状態から一定値に変化し
たかチェックする(15)。該チェックにより変化分の
一定値化を検出できない場合は1分間のウェイト後に
(18)、ステップ(12)に分岐し前記一連の処理を
繰り返す。
Next, from the voltage conversion value of the battery pack 3 stored in the ring buffer, the change in voltage conversion value per minute is calculated for 10 minutes based on the latest voltage conversion value (13). Then, it is determined whether the check flag is "0" (14), and when the check flag is determined as "0", it is checked whether the change amount has changed from a variable state to a constant value (15). When the constant value of the change cannot be detected by the check, after waiting for 1 minute (18), the process branches to step (12) to repeat the series of processes.

【0103】一方、ステップ(15)の判定で、変化分
の一定値化を検出したら最新の電池電圧に対応するリン
グバッファ上の電圧変換値と経過カウンタとをサブCP
U10の内部RAMのテストデータエリアの対応するア
ドレスに保存するとともに(16)、放電状態が安定し
たことを示すチェックフラグを「1」にセットするとと
もに、偏極点カウンタを「1」増加させ(17)、1分
間のウェイト後に(18)、ステップ(12)に分岐す
る。
On the other hand, when it is detected in step (15) that the change has become constant, the voltage conversion value on the ring buffer corresponding to the latest battery voltage and the elapsed counter are set to the sub CP
The data is stored in the corresponding address of the test data area of the internal RAM of U10 (16), the check flag indicating that the discharge state is stable is set to "1", and the polarization point counter is incremented by "1" (17). ) After waiting for 1 minute (18), the process branches to step (12).

【0104】メモリ効果電池の場合は、図11に示した
ように放電特性が階段状に変化するから、前述の偏極点
カウンタは最終的に3以上の値になる。
In the case of the memory effect battery, since the discharge characteristic changes stepwise as shown in FIG. 11, the above-mentioned polarization point counter finally becomes a value of 3 or more.

【0105】そこで、ステップ(14)の判定で、チェ
ックフラグが「1」と判定された場合は、1分間あたり
の変化分が一定値状態から変動値状態に移行することを
チェックする(19)。変化分の変動値化を検出できな
い場合は、1分間のウェイト後に(22)、ステップ
(12)に分岐し前記一連の処理を繰り返す。
Therefore, when the check flag is judged to be "1" in the judgment of step (14), it is checked that the change per minute changes from the constant value state to the variable value state (19). . When the variable value change value cannot be detected, after one minute of waiting (22), the process branches to step (12) to repeat the series of processes.

【0106】一方、ステップ(19)の判定で、変化分
の変動化を検出したら、最新の電池電圧に対応するリン
グバッファ上の電圧変換値と経過カウンタとを前記テス
トデータエリアの対応するアドレスに保存すると共に
(20)、チェックフラグを「0」にクリヤするととも
に、偏極点カウンタを「1」増加させ(21)、1分間
のウェイト後に(22)、ステップ(12)に分岐す
る。
On the other hand, when it is detected in step (19) that the variation has changed, the voltage conversion value on the ring buffer corresponding to the latest battery voltage and the elapsed counter are set to the corresponding addresses in the test data area. It saves (20), clears the check flag to "0", increments the polarization point counter by "1" (21), waits for one minute (22), and branches to step (12).

【0107】以下、図8に示したステップ(11)によ
って電池テスト開始から70分後のタイマ割り込み処理
の中で、電池状態が図9に示す手順に従って判断され
る。
Hereinafter, in step (11) shown in FIG. 8, the battery state is judged according to the procedure shown in FIG. 9 in the timer interrupt process 70 minutes after the start of the battery test.

【0108】図9は、図8に示した70分タイマに基づ
く割込み処理手順の一例を示すフローチャートである。
なお、(1)〜(8)は各ステップを示す。
FIG. 9 is a flowchart showing an example of an interrupt processing procedure based on the 70-minute timer shown in FIG.
Note that (1) to (8) indicate each step.

【0109】先ず、前述の偏極点カウンタが「2」であ
るかどうかを判定し(1)、偏極点カウンタが「2」以
外の場合は、無条件に後述するステップ(8)に分岐す
る。
First, it is determined whether the above-mentioned polarization point counter is "2" (1), and if the polarization point counter is other than "2", the process unconditionally branches to step (8) described later.

【0110】一方、ステップ(1)で偏極点カウンタが
3以上であると判定された場合、テスト中の電池は放電
電圧が階段状に変化するメモリ効果電池の場合であり、
偏極点カウンタが「1」の場合はさらに放電が継続す
る。いずれの場合も、SRAM11に保持されているス
ライス値を変更する必要はないから、後述するステップ
(8)に分岐しサブCPU10はすべての割り込みを禁
止して無限ループを繰り返す。
On the other hand, when it is determined in step (1) that the polarization point counter is 3 or more, the battery under test is a memory effect battery whose discharge voltage changes stepwise,
When the polarization point counter is "1", the discharge is further continued. In either case, there is no need to change the slice value held in the SRAM 11, so the process branches to step (8) described below and the sub CPU 10 prohibits all interrupts and repeats an infinite loop.

【0111】これにより装置は前述の定常放電(1A相
当)を継続し、電源ユニット13上の過放電防止回路が
作動する8.5Vまで電池パック3は放電するから、メ
モリ効果が発生していれば容量が回復することになる。
As a result, the device continues the above-mentioned steady discharge (corresponding to 1 A) and the battery pack 3 is discharged up to 8.5 V at which the over-discharge prevention circuit on the power supply unit 13 operates, so that the memory effect is generated. Capacity will be restored.

【0112】一方、ステップ(1)の判定で、偏極点カ
ウンタが「2」と判定された場合には、偏極点1に対応
する電圧変換値(TV1)、偏極点2に対応する電圧変
換値(TV2)をテストデータエリアから参照するとと
もに(2),(3)、TV3=(TV2−放電終止電圧
(8.5V))/2+放電終止電圧(8.5V)を算出
し(4)、該各値TV1,TV2,TV3をサブCPU
10の内部RAMに記憶する。
On the other hand, when the polarization point counter is determined to be "2" in the determination in step (1), the voltage conversion value (TV1) corresponding to the polarization point 1 and the voltage conversion value corresponding to the polarization point 2 are obtained. While referring to (TV2) from the test data area, (2) and (3), TV3 = (TV2-discharge end voltage (8.5V)) / 2 + discharge end voltage (8.5V) is calculated (4), Each value TV1, TV2, TV3 is a sub CPU
Stored in 10 internal RAMs.

【0113】次いで、テストデータエリアに格納した値
TV1,TV2,TV3と、SRAM11上に保持され
ている各残量レベルに対応したスライス値(レベルH
M,レベルML,装置停止電圧)とをそれぞれ比較し
(5)、電池テスト処理での測定値が1セル当たり0.
05V相当以上低いかどうかを判定して(6)、高いと
判定された場合には、ステップ(8)に分岐し、低いと
判定された場合は、電池内部インピーダンスが増加して
いる(ライフエンド特性を持つ電池)と判断して、対応
するSRAM11上のスライスレベルの値を測定値で置
き換えた後(7)、サブCPU10はすべての割り込み
を禁止して無限ループを繰り返す(8)。
Then, the values TV1, TV2, TV3 stored in the test data area and the slice values (level H) corresponding to the respective remaining amount levels held in the SRAM 11 are stored.
M, level ML, device stop voltage) (5), and the measured value in the battery test process is 0.
It is judged whether it is lower than or equal to 05V or more (6), and if it is judged to be high, the process branches to step (8), and if it is judged to be low, the battery internal impedance increases (life end). After determining that the battery has a characteristic) and replacing the corresponding slice level value in the SRAM 11 with the measured value (7), the sub CPU 10 prohibits all interrupts and repeats an infinite loop (8).

【0114】以上の電池テスト処理を、新品電池,メモ
リ効果電池,ライフエンド特性電池について行った場合
の放電特性曲線と前述のテストデータTV1,TV2,
TV3の値およびSRAM11上に保持されているスラ
イス値(レベルHM,レベルML,装置停止電圧)の例
を図10に示す。
Discharge characteristic curves and the above-mentioned test data TV1, TV2 when new battery, memory effect battery and life end characteristic battery are subjected to the above battery test processing
FIG. 10 shows an example of the value of the TV 3 and the slice value (level HM, level ML, device stop voltage) held in the SRAM 11.

【0115】図10は本発明に係る携帯型電子装置にお
ける電池テスト中の放電特性を示す図であり、図11と
同一のものには同一の符号を付してある。ただし、値は
便宜上電池パック3の電圧値のA/D変換値でなく、1
セルあたりの電池電圧値で表示している。
FIG. 10 is a diagram showing discharge characteristics during a battery test in the portable electronic device according to the present invention. The same parts as those in FIG. 11 are designated by the same reference numerals. However, the value is not the A / D converted value of the voltage value of the battery pack 3 for convenience, and is 1
The battery voltage value per cell is displayed.

【0116】以下、本実施例と第7,第8の発明の各工
程との対応及びその作用について図8,図9および図3
を参照して説明する。
Correspondence between the present embodiment and the respective steps of the seventh and eighth inventions and the operation thereof will be described with reference to FIGS. 8, 9 and 3.
Will be described with reference to.

【0117】本発明に係る第7の発明は、充電可能な電
池パック3からの通電により負荷デバイスを駆動して所
定のデータ処理を行う携帯型電子装置の電池残量判定方
法において、前記電池の残量状態をレベル判定するため
の複数の電池残量判定基準値を記憶媒体に設定する設定
工程(図3のステップ(6))と、前記電池の電圧値を
検出する検出工程(図3のステップ(8)であって、詳
細は図7)と、前記記憶媒体に設定された各電池残量判
定基準値と検出された前記電池の電圧値とを比較して前
記電池の電池残量を判定する残量判定工程(満充電され
た前記電池の電圧値が前記負荷デバイスを切り離す放電
終止電圧に到達するまで放電電流を一定とするように前
記負荷デバイスに対する負荷電流を制限する制限工程
(図8の(7)〜(11))と、前記放電電流が一定と
なる状態で検出された前記電池の電圧値の変動状態を演
算処理して前記電池の放電特性を第1から第3の放電特
性のいずれかに識別判定する特性判定工程(図8のステ
ップ(11)〜(21))と、前記特性判定工程により
判定された第1から第3の放電特性に応じて前記記憶媒
体に記憶された電池残量判定基準値を変更(SRAM1
1に記憶された各電池残量判定基準値を電池の実放電特
性(ライフエンド特性)に依存して電圧変化率が変動状
態から一定状態あるいは一定状態から変動状態へ変化す
る点における電池電圧値(テストデータTV1,TV
2)に変更して、現在の電池放電特性に合致する最適な
各電池残量判定基準値に変更する)する変更工程(図9
のステップ(1)〜(7))とを実行して、電池の放電
特性が経時変化して変動しても、各電池残量判定基準値
を放電特性に見合う各電池残量判定基準値にそれぞれシ
フトして、電池寿命を実質的に延命する制御をプログラ
マブルに実行可能とする。
A seventh invention according to the present invention is a battery remaining amount determination method for a portable electronic device, which drives a load device by energization from a rechargeable battery pack 3 to perform predetermined data processing. A setting process (step (6) in FIG. 3) of setting a plurality of battery remaining amount determination reference values for level determination of the remaining amount state in the storage medium, and a detection process of detecting the voltage value of the battery (in FIG. 3). In step (8), the details of FIG. 7) are compared with each battery residual amount determination reference value set in the storage medium and the detected voltage value of the battery to compare the battery residual amount of the battery. Remaining amount determination step of determining (a limiting step of limiting the load current to the load device so that the discharge current is kept constant until the voltage value of the fully charged battery reaches the discharge end voltage for disconnecting the load device (FIG. 8 (7) ~ ( 1)), and the discharge characteristic of the battery is discriminated to be one of the first to third discharge characteristics by performing arithmetic processing on the fluctuation state of the voltage value of the battery detected in the state where the discharge current is constant. Characteristic determination step (steps (11) to (21) in FIG. 8) and the battery remaining capacity determination criteria stored in the storage medium according to the first to third discharge characteristics determined by the characteristic determination step. Change the value (SRAM1
The battery voltage value at the point where the rate of change in voltage changes from the fluctuation state to the constant state or from the constant state to the fluctuation state depending on the actual discharge characteristic (life end characteristic) of the battery remaining amount determination reference value stored in 1 (Test data TV1, TV
2) and change to the optimum battery remaining amount determination reference value that matches the current battery discharge characteristic) (FIG. 9)
Steps (1) to (7)) are executed, and even if the discharge characteristic of the battery changes over time, the reference value for determining the remaining battery level is set to the reference value for determining the remaining battery level that matches the discharge characteristic. The control is performed in a programmable manner by shifting each to substantially extend the battery life.

【0118】本発明に係る第8の発明は、特性判定工程
は、周期的な電池電圧の検出毎に単位時間当りの電圧変
化率(dV/dt)を演算し、該演算された電圧変化率
が変動状態から一定状態あるいは一定状態から変動状態
へ変化する点(偏極点)における電池電圧およびその変
化点数から電池の放電特性を第1から第3の放電特性の
いずれかに識別判定して、現在の電池の放電特性が第1
から第3の放電特性電池の何れの状態であるかを確実に
判定する処理をプログラマブルに実行可能とする。
In an eighth aspect of the present invention, in the characteristic determining step, a voltage change rate (dV / dt) per unit time is calculated every time a periodic battery voltage is detected, and the calculated voltage change rate is calculated. From the fluctuation state to the constant state or from the constant state to the fluctuation state (polarization point) at the battery voltage and the number of points of change, the discharge characteristic of the battery is discriminated to be one of the first to third discharge characteristics, Current battery has the first discharge characteristics
Therefore, it is possible to execute the processing for surely determining which state of the third discharge characteristic battery is in a programmable manner.

【0119】なお、上記実施例では、残量検出を電圧比
較のみで行ったが、さらに精度をあげるために放電電流
分を補正する残量検出の場合も本発明は適用でき、その
場合[△V(新品電池からの電圧低下分)=I(放電電
流)×Z(電池内部インピーダンス)]の関係から、1
A定常放電の電池テスト結果より他の放電電流時の電圧
スライス値補正分を算出して、スライス値を再構築すれ
ばよい。
In the above embodiment, the remaining amount is detected only by comparing the voltages. However, the present invention can be applied to the case of the remaining amount detection in which the discharge current is corrected to further improve the accuracy. V (voltage drop from new battery) = I (discharge current) × Z (battery internal impedance)]
It is only necessary to calculate the voltage slice value correction amount at another discharge current from the battery test result of the A steady discharge and reconstruct the slice value.

【0120】また、上記実施例ではスライス値を保持す
るエリアとして、電源OFF状態でも微小電力で内容が
保持されるSRAM11を使用したが、プレーナユニッ
ト20側とのバスラインによるインタフェース(IFR
AM31)を双方向でリード・ライト可能な構成にすれ
ば、ハードディスク(HD)やフロッピーディスク(F
D)といった他の記憶デバイスに保持することも可能で
ある。
Further, in the above embodiment, the SRAM 11 which retains the contents with a small amount of power even when the power is off is used as the area for retaining the slice value. However, the interface with the planar unit 20 by the bus line (IFR) is used.
If the AM31) is configured to be bidirectionally readable and writable, a hard disk (HD) or floppy disk (F)
It is also possible to hold it in another storage device such as D).

【0121】さらに、例えば携帯型電動工具等のよう
に、特に書き換え可能な記憶デバイスを持たないような
携帯型電子装置の場合でも、ヒューズ等を使用して本発
明を適用することができる。この場合、ROMの中に新
品電池放電特性にあわせたスライス値と、数百回使用後
の電池放電特性にあわせたスライス値とを準備してお
き、電池テスト処理でライフエンド特性と判断されれば
前記のヒューズを切る。残量検出処理では、ヒューズが
ONの場合は新品電池用のスライス値を、OFFの場合
は数百回使用後のスライス値を使用する。また、電池交
換時は、ヒューズも交換する構成にすれば、比較的低コ
ストで本発明を適用でき、電池寿命も引き伸すことがで
きる。
Further, even in the case of a portable electronic device such as a portable power tool which does not have a rewritable storage device, the present invention can be applied by using a fuse or the like. In this case, a slice value that matches the new battery discharge characteristics and a slice value that matches the battery discharge characteristics after several hundreds of uses are prepared in the ROM, and the battery test process determines that the life end characteristics. For example, blow the fuse. In the remaining amount detection process, the slice value for a new battery is used when the fuse is ON, and the slice value after several hundreds of uses is used when the fuse is OFF. Further, when the battery is replaced, if the fuse is also replaced, the present invention can be applied at a relatively low cost and the battery life can be extended.

【0122】上記実施例によれば、本発明によれば、ス
ライス値と電池電圧値とを比較することにより装置使用
中の電池残量を検出する制御モード(残量検出制御)に
加え、満充電状態からの定電流放電で周期的(t)に電
池電圧(V)をモニタリングし、単位時間当りの電圧変
化率dV/dtを算出して放電特性曲線の偏極点の個数
および偏極点での電池電圧値を検出し、通常電池,メモ
リ効果電池,ライフエンド電池を判断し処理を切り替え
る制御モード(電池テスト制御)をもつ。
According to the above embodiment, according to the present invention, in addition to the control mode (remaining amount detection control) for detecting the remaining battery amount during use of the device by comparing the slice value and the battery voltage value, The battery voltage (V) is periodically (t) monitored by constant current discharge from the charged state, and the voltage change rate dV / dt per unit time is calculated to calculate the number of polarization points and the polarization points of the discharge characteristic curve. It has a control mode (battery test control) that detects the battery voltage value and determines the normal battery, memory effect battery, and life end battery and switches the processing.

【0123】前記残量検出制御で使用するスライス値
は、残量レベルに対応したスライス値と、検出後に装置
の駆動を一時停止するスライス値(装置停止電圧対応
値)とがあり、装置電源がきられた後も微小電力により
内容が保存されるSRAMエリアに格納されている。
The slice value used in the remaining amount detection control includes a slice value corresponding to the remaining amount level and a slice value for temporarily stopping the drive of the device after detection (device stop voltage corresponding value). After being stored, the contents are stored in the SRAM area where the contents are saved by a very small amount of power.

【0124】また、上記図8に準ずる電池テストモード
処理では、ライフエンド電池と認識した場合は、電池テ
スト制御で測定された放電電圧低下分によって補正した
値を、前記残量検出制御で使用する残量レベル検出用ス
ライス値および装置停止電圧値として前記SRAM11
の所定のエリアに再設定し、ライフエンド電池と判断さ
れなかった場合は、前記放電終止電圧まで電池を放電す
る制御とするとともに、格納されている電池テスト結果
は電池パック3交換時には、デフォルト値(電池の初期
特性にあわせた値)に再設定するので、従来は固定であ
った残量検出のスライス値を可変にし、メモリ効果やラ
イフエンド特性等の電池の経年的な特性変化にあった調
整を加えることで、実使用における電池寿命を引き伸す
ことができる。
Further, in the battery test mode process according to the above FIG. 8, when the battery is recognized as a life end battery, the value corrected by the discharge voltage drop measured in the battery test control is used in the remaining amount detection control. The SRAM 11 is used as a slice value for detecting the remaining amount level and a device stop voltage value.
If it is not determined to be a life-end battery, the battery is controlled to discharge to the discharge end voltage, and the stored battery test result is the default value when the battery pack 3 is replaced. Since it is reset to (a value that matches the initial characteristics of the battery), the slice value of the remaining amount detection that was fixed in the past was made variable, and there was a change in the characteristics of the battery over time such as memory effect and life end characteristics. The battery life in actual use can be extended by adding the adjustment.

【0125】[0125]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、電流制御手段により満充電された前記
電池の電圧値が前記負荷デバイスを切り離す放電終止電
圧に到達するまで放電電流を一定とするように前記負荷
デバイスに対する負荷電流を制御した状態で、特性判定
手段が検出手段により検出された前記電池の電圧値の変
動状態を演算処理して前記電池の放電特性を第1から第
3の放電特性のいずれかに識別判定し、該判定した第1
から第3の放電特性に応じて自動変更手段が記憶手段に
記憶された電池残量判定基準値を自動変更し、残量判定
手段が記憶手段に記憶された各電池残量判定基準値と前
記検出手段に検出された前記電池の電圧値とを比較して
前記電池の電池残量を判定するので、電池の放電特性が
新品状態からライフエンド状態となるまで変動した場合
でも、電池残量の判定基準をシフトして、実使用におけ
る電池寿命を引き伸ばすことができる。
As described above, the first aspect of the present invention
According to the invention, a state in which the load current for the load device is controlled so that the discharge current is kept constant until the voltage value of the battery fully charged by the current control means reaches the discharge end voltage for disconnecting the load device. Then, the characteristic determining means performs arithmetic processing on the variation state of the voltage value of the battery detected by the detecting means to discriminate and determine the discharge characteristic of the battery to any one of the first to third discharge characteristics, and the determination is made. First
According to the third discharge characteristic, the automatic changing unit automatically changes the battery remaining amount determination reference value stored in the storage unit, and the remaining amount determining unit stores each battery remaining amount determination reference value stored in the storage unit and Since the remaining battery level of the battery is determined by comparing the voltage value of the battery detected by the detection means, even if the discharge characteristic of the battery fluctuates from the new state to the life end state, The judgment criteria can be shifted to extend the battery life in actual use.

【0126】第2の発明によれば、特性判定手段は、周
期的な電池電圧の検出毎に単位時間当りの電圧変化率を
演算し、該演算された電圧変化率が変動状態から一定状
態あるいは一定状態から変動状態へ変化する点における
電池電圧およびその変化点数から電池の放電特性を第1
から第3の放電特性のいずれかに識別判定するので、現
在の電池の放電特性が第1から第3の放電特性電池の何
れの状態であるかを確実に判定することができる。
According to the second aspect of the invention, the characteristic determining means calculates the voltage change rate per unit time every time the battery voltage is detected cyclically, and the calculated voltage change rate changes from a changing state to a constant state or a constant state. From the battery voltage at the point where it changes from a constant state to the fluctuating state and the number of its changes,
Therefore, it is possible to reliably determine which of the first to third discharge characteristic batteries the current discharge characteristic of the battery is.

【0127】第3の発明によれば、記憶手段は、不揮発
性記憶媒体で構成するので、電源入切状態にかかわら
ず、現在の電池の放電特性に対応する電池残量判定基準
値を保持することができる。
According to the third aspect of the present invention, since the storage means is composed of a non-volatile storage medium, it retains the battery residual amount determination reference value corresponding to the current discharge characteristic of the battery regardless of the power on / off state. be able to.

【0128】第4の発明によれば、変更手段は、電源投
入毎に、記憶手段に記憶された各電池残量判定基準値が
書き換えられたかどうかを判定して電池の初期放電特性
に対応する各電池残量判定基準値を初期設定するので、
電池交換が行われた場合に、交換された電池の放電特性
に見合う最適な各電池残量判定基準値を設定することが
できる。
According to the fourth aspect of the invention, the changing means responds to the initial discharge characteristic of the battery by determining whether or not each battery residual quantity determination reference value stored in the storage means is rewritten every time the power is turned on. Since each battery remaining capacity judgment reference value is initialized,
When the battery is replaced, it is possible to set the optimum battery remaining amount determination reference value that matches the discharge characteristics of the replaced battery.

【0129】第5の発明によれば、指示手段により放電
特性の識別処理開始指示がなされた場合に、特性判定手
段が放電電流が一定となる状態で前記検出手段により検
出された前記電池の電圧値の変動状態を演算処理して前
記電池の放電特性を第1から第3の放電特性のいずれか
に識別判定するので、ユーザが意図するタイミングで電
池寿命をテストすることができる。
According to the fifth aspect of the invention, when the instructing means gives an instruction to start the process of identifying the discharge characteristic, the characteristic judging means detects the voltage of the battery detected by the detecting means while the discharge current is constant. Since the variation state of the value is calculated and the discharge characteristic of the battery is discriminated to be one of the first to third discharge characteristics, the battery life can be tested at the timing intended by the user.

【0130】第6の発明によれば、変更手段は、記憶手
段に記憶された各電池残量判定基準値を電池の実放電特
性に依存する電圧変化率が変動状態から一定状態あるい
は一定状態から変動状態へ変化する点における電池電圧
値に変更するので、現在の電池放電特性に合致する最適
な各電池残量判定基準値に変更することができる。
According to the sixth aspect of the present invention, the changing means changes the battery remaining capacity determination reference value stored in the storage means from a changing state to a constant state or from a constant state when the voltage change rate depending on the actual discharge characteristics of the battery is changed. Since the battery voltage value at the point of changing to the fluctuating state is changed, it is possible to change to the optimum battery remaining amount determination reference value that matches the current battery discharge characteristic.

【0131】第7の発明によれば、満充電された前記電
池の電圧値が前記負荷デバイスを切り離す放電終止電圧
に到達するまで放電電流を一定とするように前記負荷デ
バイスに対する負荷電流を制限した状態で、前記放電電
流が一定となる状態で検出された前記電池の電圧値の変
動状態を演算処理して前記電池の放電特性を第1から第
3の放電特性のいずれかに識別判定し、該判定された第
1から第3の放電特性に応じて記憶媒体に記憶された電
池残量判定基準値を変更して、変更された各電池残量判
定基準値と検出された前記電池の電圧値とを比較して前
記電池の電池残量を判定するので、電池の放電特性が経
時変化して変動しても、各電池残量判定基準値を放電特
性に見合う各電池残量判定基準値にそれぞれシフトし
て、電池寿命を実質的に延命する制御をプログラマブル
に実行することができる。
According to the seventh invention, the load current for the load device is limited so that the discharge current is kept constant until the voltage value of the fully charged battery reaches the discharge end voltage for disconnecting the load device. In a state, the discharge characteristic of the battery is discriminated to be any one of the first to third discharge characteristics by performing arithmetic processing on the variation state of the voltage value of the battery detected in the state where the discharge current is constant, The battery remaining amount determination reference value stored in the storage medium is changed according to the determined first to third discharge characteristics, and each changed battery remaining amount determination reference value and the detected voltage of the battery. Since the remaining battery level of the battery is determined by comparing with the value, even if the discharge characteristic of the battery changes over time and changes, each battery remaining amount determination reference value matches each discharge remaining characteristic. Each to shift the battery life substantially Control for survival to be able to execute the programmable.

【0132】第8の発明によれば、特性判定工程は、周
期的な電池電圧の検出毎に単位時間当りの電圧変化率を
演算し、該演算された電圧変化率が変動状態から一定状
態あるいは一定状態から変動状態へ変化する点における
電池電圧およびその変化点数から電池の放電特性を第1
から第3の放電特性のいずれかに識別判定するので、現
在の電池の放電特性が第1から第3の放電特性電池の何
れの状態であるかを確実に判定する処理をプログラマブ
ルに実行することができる。
According to the eighth aspect of the present invention, in the characteristic determining step, the voltage change rate per unit time is calculated every time the battery voltage is detected periodically, and the calculated voltage change rate is changed from the fluctuation state to the constant state or From the battery voltage at the point where it changes from a constant state to the fluctuating state and the number of its changes,
From the first to the third discharge characteristic battery, the processing for surely determining which state of the first to the third discharge characteristic battery the current discharge characteristic of the battery is, is executed programmable. You can

【0133】従って、新品の状態からライフエンド状態
に放電特性が変動しても現在の放電特性に対応した適切
な基準値により電池寿命を判定しながら、実質的な電池
寿命を大幅に延命させて、電池交換負担を軽減できる等
の効果を奏する。
Therefore, even if the discharge characteristic fluctuates from a new state to a life end state, the battery life is substantially extended while the battery life is judged by an appropriate reference value corresponding to the current discharge characteristic. Also, it is possible to reduce the burden of battery replacement.

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

【図1】本発明の一実施例を示す携帯型電子装置の一例
を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing an example of a portable electronic device showing an embodiment of the present invention.

【図2】図1に示した本体1の制御構成を説明するブロ
ック図である。
FIG. 2 is a block diagram illustrating a control configuration of a main body 1 shown in FIG.

【図3】本発明に係る携帯型電子装置におけるサブCP
Uによるメイン処理手順の一例を示すフローチャートで
ある。
FIG. 3 is a sub CP in the portable electronic device according to the present invention.
It is a flow chart which shows an example of the main processing procedure by U.

【図4】図3に示したバッテリLow処理ルーチンの詳
細手順の一例を示すフローチャートである。
4 is a flowchart showing an example of a detailed procedure of a battery low processing routine shown in FIG.

【図5】図3に示したフルパワーダウン処理ルーチンの
詳細手順の一例を示すフローチャートである。
5 is a flowchart showing an example of a detailed procedure of a full power down processing routine shown in FIG.

【図6】図5に示したフルパワーダウン処理ルーチン中
におけるレジューム要求割り込み処理ルーチンの詳細手
順の一例を示すフローチャートである。
6 is a flowchart showing an example of a detailed procedure of a resume request interrupt processing routine in the full power down processing routine shown in FIG.

【図7】図3に示した電池残量検出処理ルーチンの詳細
手順の一例を示すフローチャートである。
7 is a flowchart showing an example of a detailed procedure of a battery remaining amount detection processing routine shown in FIG.

【図8】図3に示した電池テスト処理ルーチンの詳細手
順の一例を示すフローチャートである。
8 is a flowchart showing an example of a detailed procedure of a battery test processing routine shown in FIG.

【図9】図8に示した70分タイマに基づく割込み処理
手順の一例を示すフローチャートである。
9 is a flowchart showing an example of an interrupt processing procedure based on the 70-minute timer shown in FIG.

【図10】本発明に係る携帯型電子装置における電池テ
スト中の放電特性を示す図である。
FIG. 10 is a diagram showing discharge characteristics during a battery test in the portable electronic device according to the present invention.

【図11】従来の二次電池の放電特性を説明する図で
る。
FIG. 11 is a diagram illustrating discharge characteristics of a conventional secondary battery.

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

2 ACアダプタ 3 電池パック 4 メイン電源スイッチ 5 サスペンド/レジュームスイッチ 6 テストスイッチ 7 パワーLED 10 サブCPU 11 SRAM 20 プレーナユニット 2 AC adapter 3 Battery pack 4 Main power switch 5 Suspend / resume switch 6 Test switch 7 Power LED 10 Sub CPU 11 SRAM 20 Planer unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 充電可能な電池からの通電により負荷デ
バイスを駆動して所定のデータ処理を行う携帯型電子装
置において、前記電池の残量状態を判定するための電池
残量判定基準値を複数記憶する記憶手段と、前記電池の
電圧値を検出する検出手段と、前記記憶手段に記憶され
た各電池残量判定基準値と前記検出手段に検出された前
記電池の電圧値とを比較して前記電池の電池残量を判定
する残量判定手段と、満充電された前記電池の電圧値が
前記負荷デバイスを切り離す放電終止電圧に到達するま
で放電電流を一定とするように前記負荷デバイスに対す
る負荷電流を制御する電流制御手段と、前記放電電流が
一定となる状態で前記検出手段により検出された前記電
池の電圧値の変動状態を演算処理して前記電池の放電特
性を第1から第3の新品電池,メモリ効果が生じた電
池,ライフエンド電池の放電特性のいずれかに識別判定
する特性判定手段と、この特性判定手段が判定した第1
から第3の放電特性に応じて前記記憶手段に記憶された
電池残量判定基準値を自動変更する変更手段とを具備し
たことを特徴とする携帯型電子装置。
1. In a portable electronic device that drives a load device by energization from a rechargeable battery to perform predetermined data processing, a plurality of battery remaining amount reference values for determining the remaining battery amount state are provided. A storage means for storing, a detection means for detecting the voltage value of the battery, a battery remaining capacity determination reference value stored in the storage means and the voltage value of the battery detected by the detection means are compared. A remaining amount determination means for determining the remaining battery amount of the battery, and a load for the load device so that the discharge current is kept constant until the voltage value of the fully charged battery reaches the discharge end voltage for disconnecting the load device. A current control unit that controls a current, and a variation state of the voltage value of the battery detected by the detection unit in a state where the discharge current is constant is arithmetically processed to change the discharge characteristics of the battery from the first to the third. Characteristic determination means for discriminating and distinguishing between a new battery, a battery having a memory effect, and a discharge characteristic of a life end battery, and a first characteristic determination means for judging the characteristic.
To a changing means for automatically changing the battery residual amount determination reference value stored in the storage means according to the third discharge characteristic.
【請求項2】 特性判定手段は、周期的な電池電圧の検
出毎に単位時間当りの電圧変化率を演算し、該演算され
た電圧変化率が変動状態から一定状態あるいは一定状態
から変動状態へ変化する点における電池電圧およびその
変化点数から電池の放電特性を第1から第3の放電特性
のいずれかに識別判定することを特徴とする請求項1記
載の携帯型電子装置。
2. The characteristic determining means calculates a voltage change rate per unit time each time a periodic battery voltage is detected, and the calculated voltage change rate changes from a changing state to a constant state or from a constant state to a changing state. 2. The portable electronic device according to claim 1, wherein the discharge characteristic of the battery is discriminated to be one of the first to third discharge characteristics from the battery voltage at the changing point and the number of the changing points.
【請求項3】 記憶手段は、不揮発性記憶媒体で構成し
たことを特徴とする請求項1記載の携帯型電子装置。
3. The portable electronic device according to claim 1, wherein the storage means is a non-volatile storage medium.
【請求項4】 変更手段は、電源投入毎に、記憶手段に
記憶された各電池残量判定基準値が書き換えられたかど
うかを判定して電池の初期放電特性に対応する各電池残
量判定基準値を初期設定することを特徴とする請求項1
記載の携帯型電子装置。
4. The changing means determines whether or not each battery residual quantity determination reference value stored in the storage means is rewritten each time the power is turned on, and each battery residual quantity determination criterion corresponding to the initial discharge characteristic of the battery. 2. The value is initialized as set forth in claim 1.
A portable electronic device as described.
【請求項5】 特性判定手段による放電特性の識別処理
開始を指示する指示手段と、この指示手段による放電特
性の識別処理開始指示がなされた場合に、放電電流が一
定となる状態で前記検出手段により検出された前記電池
の電圧値の変動状態を演算処理して前記電池の放電特性
を第1から第3の放電特性のいずれかに識別判定するこ
とを特徴とする請求項1記載の携帯型電子装置。
5. The instructing means for instructing the start of the discharge characteristic identifying process by the characteristic determining means, and the detecting means in a state where the discharge current is constant when the instructing means starts the discharge characteristic identifying process start instruction. 2. The portable type according to claim 1, wherein the variation state of the voltage value of the battery detected by the above is arithmetically processed to discriminate and determine the discharge characteristic of the battery as one of the first to third discharge characteristics. Electronic device.
【請求項6】 変更手段は、記憶手段に記憶された各電
池残量判定基準値を電池の実放電特性に依存して電圧変
化率が変動状態から一定状態あるいは一定状態から変動
状態へ変化する点における電池電圧値に変更することを
特徴とする請求項1記載の携帯型電子装置。
6. The changing means changes the battery remaining amount determination reference value stored in the storage means depending on the actual discharge characteristics of the battery, and the voltage change rate changes from a variable state to a constant state or from a constant state to a variable state. The portable electronic device according to claim 1, wherein the battery voltage value at the point is changed.
【請求項7】 充電可能な電池からの通電により負荷デ
バイスを駆動して所定のデータ処理を行う携帯型電子装
置の電池残量判定方法において、前記電池の残量状態を
レベル判定するための複数の電池残量判定基準値を記憶
媒体に設定する設定工程と、前記電池の電圧値を検出す
る検出工程と、前記記憶媒体に設定された各電池残量判
定基準値と検出された前記電池の電圧値とを比較して前
記電池の電池残量を判定する残量判定工程と、満充電さ
れた前記電池の電圧値が前記負荷デバイスを切り離す放
電終止電圧に到達するまで放電電流を一定とするように
前記負荷デバイスに対する負荷電流を制限する制限工程
と、前記放電電流が一定となる状態で検出された前記電
池の電圧値の変動状態を演算処理して前記電池の放電特
性を第1から第3の放電特性のいずれかに識別判定する
特性判定工程と、前記特性判定工程により判定された第
1から第3の放電特性に応じて前記記憶媒体に記憶され
た電池残量判定基準値を変更する変更工程とを有するこ
とを特徴とする携帯型電子装置の電池残量判定方法。
7. A method for determining a remaining battery level of a portable electronic device, which drives a load device by energization from a rechargeable battery to perform predetermined data processing, comprising: Setting step for setting the battery remaining amount determination reference value in the storage medium, a detection step for detecting the voltage value of the battery, and a battery remaining amount determination reference value set in the storage medium and the detected battery A remaining amount determining step of determining a battery remaining amount of the battery by comparing it with a voltage value, and a discharge current is kept constant until the voltage value of the fully charged battery reaches a discharge end voltage for disconnecting the load device. As described above, the limiting step of limiting the load current to the load device and the variation state of the voltage value of the battery detected in the state where the discharge current is constant are arithmetically processed to change the discharge characteristics of the battery from the first to the first. 3's A characteristic determination step of discriminating between any of the discharge characteristics, and a change of changing the battery remaining capacity determination reference value stored in the storage medium according to the first to third discharge characteristics determined by the characteristic determination step. A method of determining a remaining battery level of a portable electronic device, comprising:
【請求項8】 特性判定工程は、周期的な電池電圧の検
出毎に単位時間当りの電圧変化率を演算し、該演算され
た電圧変化率が変動状態から一定状態あるいは一定状態
から変動状態へ変化する点における電池電圧およびその
変化点数から電池の放電特性を第1から第3の放電特性
のいずれかに識別判定することを特徴とする請求項7記
載の携帯型電子装置の電池残量判定方法。
8. The characteristic determining step calculates a voltage change rate per unit time for each detection of a periodic battery voltage, and the calculated voltage change rate changes from a changing state to a constant state or from a constant state to a changing state. 8. The battery remaining amount determination of the portable electronic device according to claim 7, wherein the discharge characteristic of the battery is discriminated to be any one of the first to third discharge characteristics from the battery voltage at the changing point and the number of the changing points. Method.
JP6253261A 1994-10-19 1994-10-19 Portable electronic device and method for measuring remaining capacity of battery therein Pending JPH08126216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6253261A JPH08126216A (en) 1994-10-19 1994-10-19 Portable electronic device and method for measuring remaining capacity of battery therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6253261A JPH08126216A (en) 1994-10-19 1994-10-19 Portable electronic device and method for measuring remaining capacity of battery therein

Publications (1)

Publication Number Publication Date
JPH08126216A true JPH08126216A (en) 1996-05-17

Family

ID=17248822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6253261A Pending JPH08126216A (en) 1994-10-19 1994-10-19 Portable electronic device and method for measuring remaining capacity of battery therein

Country Status (1)

Country Link
JP (1) JPH08126216A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0978923A2 (en) * 1998-07-02 2000-02-09 Makita Corporation Power tool charging system having battery reconditioning and battery capacity data updating functions
KR100572309B1 (en) * 1998-12-28 2006-08-18 삼성전자주식회사 Apparatus and method for verifying accuracy of information correspond to charging/discharging state of smart battery
US9037427B2 (en) 2011-06-01 2015-05-19 Fujitsu Limited Information processing apparatus and method for predicting remaining amount of battery charge

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0978923A2 (en) * 1998-07-02 2000-02-09 Makita Corporation Power tool charging system having battery reconditioning and battery capacity data updating functions
EP0978923A3 (en) * 1998-07-02 2001-02-21 Makita Corporation Power tool charging system having battery reconditioning and battery capacity data updating functions
KR100572309B1 (en) * 1998-12-28 2006-08-18 삼성전자주식회사 Apparatus and method for verifying accuracy of information correspond to charging/discharging state of smart battery
US9037427B2 (en) 2011-06-01 2015-05-19 Fujitsu Limited Information processing apparatus and method for predicting remaining amount of battery charge

Similar Documents

Publication Publication Date Title
US6236226B1 (en) Test method and system for uninterruptible power supply
US6437540B2 (en) Battery pack
US5804894A (en) Low voltage battery pack monitoring circuit with adjustable set points
JPH10290533A (en) Battery charging system
JPH10136574A (en) Battery control device
JPH0695768A (en) Battery monitor and battery-operated computer having polarity protecting circuit for polarity inversion of cell
CN100358216C (en) Uninterruptible power supply device
JPH10164764A (en) Battery capacity monitoring method
JP2003131762A (en) Power source device for information-processing device
JP3630228B2 (en) POWER SUPPLY DEVICE, BATTERY, ELECTRIC DEVICE, AND MEMORY EFFECT DETECTION METHOD
JP4435000B2 (en) Battery control circuit, electronic device equipped with the battery control circuit, charge control program, and charge control method
JPH08126216A (en) Portable electronic device and method for measuring remaining capacity of battery therein
JP2780699B2 (en) Battery control method and power supply control circuit for personal computer
JP2003009407A (en) Information terminal equipment
JP3695727B2 (en) Charging control method and charging device
JP3105797B2 (en) Battery judgment device
KR0145442B1 (en) Charging control method of battery charger
JP3212800B2 (en) In-vehicle charging device
JP2021035286A (en) Charge control method, charge control device, charging device, and charging system
JPH06343233A (en) Method and apparatus for charging secondary battery
JPH08293328A (en) Battery pack, equipment having it, and its control method
KR960016371B1 (en) Battery charging circuit
KR20010061336A (en) Portable computer having battery calibration function notified of user or automatically performed in proper moment and method of the same
JPH06338350A (en) Battery pack
JPH03282916A (en) Power supply controller