JPH05103429A - Power supply control system - Google Patents

Power supply control system

Info

Publication number
JPH05103429A
JPH05103429A JP3255582A JP25558291A JPH05103429A JP H05103429 A JPH05103429 A JP H05103429A JP 3255582 A JP3255582 A JP 3255582A JP 25558291 A JP25558291 A JP 25558291A JP H05103429 A JPH05103429 A JP H05103429A
Authority
JP
Japan
Prior art keywords
battery
nickel
detection
voltage
batteries
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
JP3255582A
Other languages
Japanese (ja)
Inventor
Ryoji Ninomiya
良次 二宮
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP3255582A priority Critical patent/JPH05103429A/en
Publication of JPH05103429A publication Critical patent/JPH05103429A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to use various kinds of batteries by conducting low battery detection or full-charging detection which is different from type to type of various kinds of batteries having different characteristics. CONSTITUTION:Using a low battery detection level and a full-charging detection level which are different between a nickel-cadmium (Ni-Cd) battery and a nickel- hydrogen (Ni-MH) battery, the capacity-declined state and the full-charged state of a battery 111 is detected. In this case, which detection level is used for detecting is decided by the type of a battery to be used as the battery 11 for driving a power supply, the nickel-cadmium (Ni-Cd) battery or the nickel- hydrogen (Ni-MH) battery. By this method, a power supply controller 12 can conduct a low-battery detection or a full-charging detection which is different from type to type of the batteries and thereby various kinds of batteries can be used in one and the same portable computer.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は小型電子装置の電源制
御方式に関し、特にバッテリ駆動可能なポータブルコン
ピュータの電源制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply control system for a small electronic device, and more particularly to a power supply control system for a battery-operable portable computer.

【0002】[0002]

【従来の技術】近年、携行が容易でバッテリにより動作
可能なラップトップタイプのポータブルコンピュータが
種々開発されている。この種のポータブルコンピュータ
に於いては、通常、バッテリの残存容量がある一定値以
下に低下したことを検出するためのローバッテリ検出機
構が設けられている。
2. Description of the Related Art In recent years, various laptop type portable computers which are easy to carry and can be operated by a battery have been developed. This type of portable computer is usually provided with a low battery detection mechanism for detecting that the remaining capacity of the battery has dropped below a certain value.

【0003】このローバッテリ検出機構は、オペレータ
に対してバッテリ駆動による使用の停止等を指示するた
め用いられるものであり、使用するバッテリの放電特性
を利用してローバッテリ状態を検出する。
This low battery detection mechanism is used for instructing an operator to stop using the battery by driving the battery, and detects the low battery state by utilizing the discharge characteristic of the battery used.

【0004】ポータブルコンピュータのバッテリとして
は、ニッケルカドミウム(Ni−Cd)電池が主に利用
されている。このため、そのニッケルカドミウム(Ni
−Cd)電池を使用するポータブルコンピュータのロー
バッテリ検出機構は、そのニッケルカドミウム(Ni−
Cd)電池の放電特性に適合した検出レベルでローバッ
テリ状態を検出するように構成されていた。
Nickel-cadmium (Ni-Cd) batteries are mainly used as batteries for portable computers. Therefore, the nickel cadmium (Ni
-Cd) The low battery detection mechanism of a portable computer using a battery is based on its nickel cadmium (Ni-
Cd) It was configured to detect a low battery condition at a detection level adapted to the discharge characteristics of the battery.

【0005】最近では、ニッケルカドミウム(Ni−C
d)電池に代わり、ニッケル水素(Ni−MH)電池が
使用されるようになってきている。このニッケル水素
(Ni−MH)電池は、単位体積当たりの容量が大きく
バッテリ駆動の時間を長くできるという利点がある。
Recently, nickel cadmium (Ni-C
d) Nickel-hydrogen (Ni-MH) batteries are being used instead of batteries. This nickel-hydrogen (Ni-MH) battery has an advantage that it has a large capacity per unit volume and can be driven for a long time.

【0006】ニッケル水素(Ni−MH)電池を使用す
るポータブルコンピュータのローバッテリ検出機構は、
ニッケルカドミウム(Ni−Cd)電池を使用するポー
タブルコンピュータとは異なり、ニッケル水素(Ni−
MH)電池の放電特性に適合した検出レベルでローバッ
テリ状態を検出するように構成される。
The low battery detection mechanism of a portable computer using a nickel metal hydride (Ni-MH) battery is
Unlike portable computers that use nickel-cadmium (Ni-Cd) batteries, nickel-hydrogen (Ni-Cd)
MH) is configured to detect a low battery condition at a detection level adapted to the discharge characteristics of the battery.

【0007】このように、従来では、常に1種類の電池
に合わせたローバッテリ検出を行っているので、ポータ
ブルコンピュータの機種毎に使用する電池が規定され、
それ以外の異なる種類の電池を使用することはできなか
った。もし、他の種類の電池を使用すると、電池のロー
バッテリ状態を正確に検出することができないという不
具合が生じる。
As described above, since the conventional low battery detection is always performed for one type of battery, the battery to be used is defined for each model of portable computer.
It was not possible to use other types of batteries. If another type of battery is used, the low battery state of the battery cannot be accurately detected.

【0008】また、ポータブルコンピュータにおいて
は、ローバッテリ検出機構だけでなく、バッテリの満充
電検出機構も設けられている。この満充電検出機構は、
AC商用電源を利用したバッテリの充電を制御するため
のものであり、バッテリが満充電状態になったときにそ
のバッテリに対する充電を自動的に停止させる。
Further, the portable computer is provided with not only a low battery detection mechanism but also a battery full charge detection mechanism. This full charge detection mechanism,
This is for controlling the charging of the battery using the AC commercial power supply, and automatically stops the charging of the battery when the battery is in the fully charged state.

【0009】この満充電検出機構についても、ニッケル
カドミウム(Ni−Cd)電池を使用するポータブルコ
ンピュータと、ニッケル水素(Ni−MH)電池を使用
するポータブルコンピュータとでは、異なった検出レベ
ルを用いた別の検出制御が行われている。したがって、
予め規定された電池以外の他の種類の電池を使用する
と、バッテリの充電制御が正常に実行されなくなり、場
合によっては過重電によって電池破壊といった事態を招
くこともある。このように、従来では、ポータブルコン
ピュータの機種毎に使用する電池が規定され、それ以外
の異なる種類の電池を使用することができない欠点があ
った。
With respect to this full charge detection mechanism as well, a portable computer using a nickel-cadmium (Ni-Cd) battery and a portable computer using a nickel-hydrogen (Ni-MH) battery have different detection levels. Detection control is being performed. Therefore,
If a battery of a type other than the predefined battery is used, the battery charge control may not be performed normally, and in some cases, overcharge may cause battery damage. As described above, conventionally, a battery to be used is specified for each model of a portable computer, and there is a drawback that a different type of battery other than that cannot be used.

【0010】[0010]

【発明が解決しようとする課題】従来では、ポータブル
コンピュータの機種毎に使用する電池が規定され、それ
以外の異なる種類の電池を使用することができない欠点
があった。
Conventionally, there is a drawback in that a battery to be used is specified for each model of a portable computer, and batteries of different types other than that cannot be used.

【0011】この発明はこのような点に鑑みてなされた
もので、特性の異なる複数種の電池毎に異なったローバ
ッテリ検出または満充電検出を実行できるようにし、複
数種の電池を使用することができる電源制御方式を提供
することを目的とする。
The present invention has been made in view of the above point, and enables different low battery detection or full charge detection to be performed for each of a plurality of types of batteries having different characteristics, and uses a plurality of types of batteries. It is an object of the present invention to provide a power supply control method capable of performing the above.

【0012】[0012]

【課題を解決するための手段および作用】この発明によ
る電源制御方式は、放電特性がそれぞれ異なる複数種の
バッテリの中で前記装置に駆動電源として装着されたバ
ッテリの種類を判別する判別手段と、前記複数種のバッ
テリの放電特性にそれぞれ適合した複数のローバッテリ
検出レベルを用いてバッテリの容量低下状態を検出する
ローバッテリ検出手段と、前記判別手段による判別結果
に応じて、前記複数のローバッテリ検出レベルの内のど
の検出レベルを用いた検出動作を実行させるかを前記ロ
ーバッテリ検出手段に指示する手段とを具備し、前記駆
動電源として装着されたバッテリの放電特性に適合した
ローバッテリ検出動作を実行することを特徴とする。
A power supply control system according to the present invention comprises a judgment means for judging the kind of the battery mounted as a driving power supply in the apparatus among a plurality of kinds of batteries having different discharge characteristics. Low battery detection means for detecting a low capacity state of the battery using a plurality of low battery detection levels respectively adapted to the discharge characteristics of the plurality of types of batteries, and the plurality of low batteries according to the determination result by the determination means. A low battery detecting operation adapted to the discharge characteristic of the battery mounted as the driving power source, and a means for instructing the low battery detecting means which one of the detection levels is used to execute the detecting operation. It is characterized by performing.

【0013】この電源制御方式においては、複数のロー
バッテリ検出レベルを用いてバッテリの容量低下状態を
検出するローバッテリ検出手段が設けられており、どの
検出レベルを用いた検出動作を実行するかは、駆動電源
として装着されたバッテリの種類に応じて決定される。
このため、特性の異なる複数種の電池毎に異なったロー
バッテリ検出を実行できるようになり、複数種の電池を
使用することができる。
In this power supply control system, low battery detection means for detecting a low battery state using a plurality of low battery detection levels is provided, and which detection level is used to execute the detection operation. , Is determined according to the type of battery mounted as a driving power source.
Therefore, different low battery detection can be performed for each of a plurality of types of batteries having different characteristics, and a plurality of types of batteries can be used.

【0014】[0014]

【実施例】以下、図面を参照してこの発明の実施例を説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1には、この発明の一実施例に係わる電
源制御方式を実現するためのシステム構成が示されてい
る。このシステムは、ラップトップタイプポータブルコ
ンピュータに適用されるものであり、図示のように、バ
ッテリパック11、電源コントローラ12、DC−DC
コンバータ13、ACアダプタ14、スイッチ回路1
5、バッテリ用電圧検出回路16、バッテリ用電流検出
回路17、AC電源用電圧検出回路18、および逆流防
止用ダイオード19,20によって構成されている。
FIG. 1 shows a system configuration for realizing a power supply control system according to an embodiment of the present invention. This system is applied to a laptop type portable computer, and as shown in the figure, a battery pack 11, a power controller 12, a DC-DC.
Converter 13, AC adapter 14, switch circuit 1
5, a battery voltage detection circuit 16, a battery current detection circuit 17, an AC power supply voltage detection circuit 18, and backflow prevention diodes 19 and 20.

【0016】バッテリパック11は、このポータブルコ
ンピュータ本体に着脱自在に設けられるものであり、ニ
ッケルカドミウム(Ni−Cd)電池またはニッケル水
素(Ni−MH)電池等の充電可能な電池111が封入
されている。また、バッテリパック11には、サーミス
タ112と電池識別端子113が設けられている。
The battery pack 11 is detachably provided in the main body of the portable computer, in which a rechargeable battery 111 such as a nickel-cadmium (Ni-Cd) battery or a nickel-hydrogen (Ni-MH) battery is enclosed. There is. Further, the battery pack 11 is provided with a thermistor 112 and a battery identification terminal 113.

【0017】サーミスタ112は電池111に近接して
設けられており、その電池111の温度を検出するため
に使用される。つまり、サーミスタ112の抵抗値は周
囲温度によって変化するので、電池111の温度は、サ
ーミスタ112と抵抗Rとによって分割された電圧値に
よって検出される。
The thermistor 112 is provided in the vicinity of the battery 111 and is used to detect the temperature of the battery 111. That is, since the resistance value of the thermistor 112 changes depending on the ambient temperature, the temperature of the battery 111 is detected by the voltage value divided by the thermistor 112 and the resistor R.

【0018】電池識別端子113は、バッテリパック1
1内の電池111の種類を識別するためのものであり、
例えば、電池111がニッケル水素(Ni−MH)電池
の場合はショート状態に設定され、また電池111がニ
ッケルカドミウム(Ni−Cd)電池の場合はオープン
状態に設定されている。電池識別端子113のオープン
/ショートの設定は、バッテリパック11の製造時に行
われる。
The battery identification terminal 113 is used for the battery pack 1
For identifying the type of battery 111 in
For example, when the battery 111 is a nickel-hydrogen (Ni-MH) battery, the short state is set, and when the battery 111 is a nickel-cadmium (Ni-Cd) battery, the open state is set. The open / short setting of the battery identification terminal 113 is performed when the battery pack 11 is manufactured.

【0019】DC−DCコンバータ13は、バッテリパ
ック11の電池111からのDC電圧、またはAC電源
に接続されるACアダプタ14からのDC電圧を所望の
電源電圧値(+5V、+12V、−9V)に変換し、そ
れをポータブルコンピュータの各コンポーネントに電源
として供給する。DC−DCコンバータ13とACアダ
プタ14間には逆流防止用ダイオード19が接続されて
おり、これによってAC電源を使用しない場合において
も電池111からACアダプタ14への電流の逆流が防
止される。また、バッテリパック11の電池111とD
C−DCコンバータ13との間にも、逆流防止用ダイオ
ード20が接続されており、これによってバッテリパッ
ク11の未装着時や電池111の電圧低下時においても
ACアダプタ14から電池111への電流の逆流が防止
される。
The DC-DC converter 13 sets the DC voltage from the battery 111 of the battery pack 11 or the DC voltage from the AC adapter 14 connected to the AC power source to a desired power source voltage value (+ 5V, + 12V, -9V). It converts and supplies it to each component of the portable computer as a power source. A backflow prevention diode 19 is connected between the DC-DC converter 13 and the AC adapter 14 to prevent backflow of current from the battery 111 to the AC adapter 14 even when an AC power source is not used. In addition, the batteries 111 and D of the battery pack 11
The backflow prevention diode 20 is also connected to the C-DC converter 13, so that the current from the AC adapter 14 to the battery 111 can be prevented even when the battery pack 11 is not attached or when the voltage of the battery 111 drops. Backflow is prevented.

【0020】スイッチ回路15は、電池111への充電
電流の供給を制御するためのスイッチであり、ACアダ
プタ14と電池111間の充電電流パスを接続または遮
断するためのFETを備えている。スイッチ回路15
は、電池111が充電可能状態の時はオン状態に設定さ
れ、ACアダプタ14から電池111に充電電流を供給
する。また、電池111が満充電状態の時は、スイッチ
回路15はオフ状態に設定され、ACアダプタ14から
電池111への充電電流を遮断する。
The switch circuit 15 is a switch for controlling the supply of the charging current to the battery 111, and has an FET for connecting or disconnecting the charging current path between the AC adapter 14 and the battery 111. Switch circuit 15
Is set to the ON state when the battery 111 is in the chargeable state, and the charging current is supplied from the AC adapter 14 to the battery 111. Further, when the battery 111 is in the fully charged state, the switch circuit 15 is set to the off state, and the charging current from the AC adapter 14 to the battery 111 is shut off.

【0021】バッテリ用電圧検出回路16は、電池11
1の電圧を検出する。バッテリ用電流検出回路17は、
電池111の充電電流や放電電流を検出する。AC電源
用電圧検出回路18は、ACアダプタ14から出力され
る電圧を検出する。
The battery voltage detection circuit 16 includes a battery 11
The voltage of 1 is detected. The battery current detection circuit 17 is
The charge current and the discharge current of the battery 111 are detected. The AC power supply voltage detection circuit 18 detects the voltage output from the AC adapter 14.

【0022】電源コントローラ12は、ポータブルコン
ピュータへの電源供給を制御するためのものであり、ポ
ータブルコンピュータのシステム電源のオン・オフ制御
を初め、電池111への充電電流の制御、および電池1
11の満充電状態やローバッテリ状態の検出処理、さら
には電池111の種類を判別する処理等を実行する。こ
の電源コントローラ12は、図示のように、内部バスを
介して相互接続されたCPU121、RAM122、R
OM123、アナログ入力ポート124、デジタル入出
力ポート125によって構成されている。
The power supply controller 12 is for controlling the power supply to the portable computer, including the on / off control of the system power supply of the portable computer, the control of the charging current to the battery 111, and the battery 1.
11, a process of detecting a fully charged state or a low battery state, a process of determining the type of the battery 111, and the like are executed. The power controller 12 includes a CPU 121, a RAM 122, and an R connected to each other via an internal bus, as shown in the figure.
It is composed of an OM 123, an analog input port 124, and a digital input / output port 125.

【0023】CPU121はROM12のプログラムを
実行して電源コントローラ12の全体の制御を行う。R
OM123には、電源コントローラ12が行う前述した
各種電源制御処理に必要なプログラムが格納されてい
る。RAM123は、CPU121が行うデータ処理用
の作業領域として使用される。
The CPU 121 executes a program in the ROM 12 to control the power supply controller 12 as a whole. R
The OM 123 stores programs necessary for the above-described various power supply control processes performed by the power supply controller 12. The RAM 123 is used as a work area for data processing performed by the CPU 121.

【0024】アナログ入力ポート124の第1ポートA
1には、バッテリ用電圧検出回路16からの検出出力が
供給される。また、アナログ入力ポート124の第2ポ
ートA2にはバッテリ用電流検出回路17からの検出出
力、第3ポートA3にはサーミスタ112からの温度検
出出力、そして第4ポートA4にはAC電源用電圧検出
回路18からの検出出力が供給される。これら検出出力
の値はA/D変換され、た後にCPU121によって読
み取られる。
The first port A of the analog input port 124
1, the detection output from the battery voltage detection circuit 16 is supplied. Further, the second port A2 of the analog input port 124 has a detection output from the battery current detection circuit 17, the third port A3 has a temperature detection output from the thermistor 112, and the fourth port A4 has an AC power supply voltage detection. The detection output from the circuit 18 is supplied. The values of these detection outputs are A / D converted and then read by the CPU 121.

【0025】デジタル入出力ポート125の第1ポート
D1には、電池識別端子113からの識別出力が入力さ
れ、また第2ポートD2からはスイッチ回路15に対す
るスイッチ信号が出力される。次に、図2のフローチャ
ートを参照して、電源コントローラ12のCPU121
によって実行される電源制御動作を説明する。
The identification output from the battery identification terminal 113 is input to the first port D1 of the digital input / output port 125, and the switch signal for the switch circuit 15 is output from the second port D2. Next, referring to the flowchart of FIG. 2, the CPU 121 of the power supply controller 12
The power supply control operation executed by will be described.

【0026】まず、電源コントローラ12のCPU12
1は、ポータブルコンピュータ本体に装着されたバッテ
リパック11の電池111の種類を判別するための処理
を実行し(ステップS11)、電池111がニッケル水
素(Ni−MH)電池であるか、ニッケルカドミウム
(Ni−Cd)電池であるとかを判断する(ステップS
12)。
First, the CPU 12 of the power supply controller 12
1 executes a process for determining the type of the battery 111 of the battery pack 11 mounted on the portable computer main body (step S11), and the battery 111 is a nickel hydrogen (Ni-MH) battery or a nickel cadmium ( It is determined whether the battery is a Ni-Cd battery (step S
12).

【0027】電池111がニッケル水素(Ni−MH)
電池の場合には、CPU121は、ニッケル水素(Ni
−MH)電池用の制御処理(ステップS13〜S16)
を実行する。
The battery 111 is nickel hydrogen (Ni-MH).
In the case of a battery, the CPU 121 uses the nickel hydrogen (Ni
-MH) Battery control processing (steps S13 to S16)
To execute.

【0028】すなわち、CPU121は、まず、ニッケ
ル水素(Ni−MH)電池からなる電池111が充電可
能か否かを判断する(ステップS13)。充電可能であ
れば、スイッチ回路15をオン状態に設定して電池11
1への充電を行うと共に、ニッケル水素(Ni−MH)
電池用の満充電検出処理を実行する(ステップS1
4)。この場合、電池111が充電可能か否かはニッケ
ル水素(Ni−MH)電池が満充電状態か否かによって
決定され、満充電状態でない場合には満充電検出処理を
実行しながら電池111への充電が行われる。そして、
電池111が満充電状態になると、スイッチ回路15を
オフすることによって電池111への充電が停止され
る。
That is, the CPU 121 first determines whether or not the battery 111, which is a nickel hydrogen (Ni-MH) battery, can be charged (step S13). If the battery can be charged, the switch circuit 15 is set to the ON state and the battery 11
Charged to 1 and nickel hydrogen (Ni-MH)
A full charge detection process for the battery is executed (step S1).
4). In this case, whether or not the battery 111 can be charged is determined depending on whether or not the nickel-hydrogen (Ni-MH) battery is in a fully charged state. Charging is done. And
When the battery 111 is fully charged, the switch circuit 15 is turned off to stop the charging of the battery 111.

【0029】満充電検出処理は、ニッケル水素(Ni−
MH)電池の充電特性に適合した検出レベルでその満充
電状態の有無を検出するものである。この満充電検出処
理の詳細は、図11を参照して後述する。
The full charge detection process is performed by nickel hydrogen (Ni-
MH) The presence or absence of the fully charged state is detected at a detection level suitable for the charging characteristics of the battery. Details of this full charge detection processing will be described later with reference to FIG. 11.

【0030】次に、CPU121は、電池111のみで
システムを駆動している状態であるかどうかを判断し
(ステップS15)、AC電源を用いず電池111のみ
でのシステム駆動が行われている場合にはニッケル水素
(Ni−MH)電池用のローバッテリ検出処理を実行す
る(ステップS16)。
Next, the CPU 121 judges whether or not the system is driven by only the battery 111 (step S15), and when the system is driven only by the battery 111 without using the AC power source. In step S16, a low battery detection process for a nickel hydrogen (Ni-MH) battery is executed.

【0031】ここで、電池111のみでのシステム駆動
であるか否かは、CPU121がアナログ入力ポート1
24のポートA4から入力した電圧値をリードすること
によって判断される。つまり、ACアダプタ14にAC
商用電源が接続されている場合にはAC電源用電圧検出
回路18の検出出力がある一定値を越え、AC商用電源
が接続されてない場合にはAC電源用電圧検出回路18
の検出出力が零となる。このため、CPU121は、ポ
ートA4から入力した電圧値が零となった時に電池11
1のみでシステム駆動されていると判断する。
Here, the CPU 121 determines whether or not the system is driven only by the battery 111.
It is determined by reading the voltage value input from the port A4 of 24. That is, AC to the AC adapter 14
When the commercial power supply is connected, the detection output of the AC power supply voltage detection circuit 18 exceeds a certain value, and when the AC commercial power supply is not connected, the AC power supply voltage detection circuit 18
The detection output of becomes zero. Therefore, the CPU 121 causes the battery 11 to operate when the voltage value input from the port A4 becomes zero.
Only 1 determines that the system is driven.

【0032】ニッケル水素(Ni−MH)電池用のロー
バッテリ検出処理は、ニッケル水素(Ni−MH)電池
の放電特性に適合した検出レベルを用いてそのローバッ
テリ状態の有無を検出するものである。このローバッテ
リ検出処理の詳細は、図12を参照して後述する。
The low-battery detection process for a nickel-hydrogen (Ni-MH) battery detects the presence or absence of the low-battery state by using a detection level suitable for the discharge characteristics of the nickel-hydrogen (Ni-MH) battery. .. Details of this low battery detection processing will be described later with reference to FIG.

【0033】この後、CPU121は、スイッチ回路1
5を用いた電池111の充電制御や、電池111の放電
制御等を実行する。この放電制御においては、例えば、
電池111がローバッテリ状態になった時にその事をブ
ザー鳴動やLED点灯等によってオペレータに通知した
り、電池111の消費量を減らすためにポータブルコン
ピュータの各コンポーネントへの電源電流の供給量を調
整するといった処理等が行われる。
After that, the CPU 121 controls the switch circuit 1
5, the charge control of the battery 111, the discharge control of the battery 111, and the like are executed. In this discharge control, for example,
When the battery 111 is in a low battery state, the operator is notified by a buzzer sounding or LED lighting, and the supply amount of power supply current to each component of the portable computer is adjusted in order to reduce the consumption amount of the battery 111. Such processing is performed.

【0034】一方、ステップS12で電池111がニッ
ケルカドミウム(Ni−Cd)電池であると判別された
場合には、CPU121は、ニッケルカドミウム(Ni
−Cd)電池用の制御処理(ステップS17〜S20)
を実行する。
On the other hand, when it is determined in step S12 that the battery 111 is a nickel-cadmium (Ni-Cd) battery, the CPU 121 causes the nickel-cadmium (Ni-Cd) battery.
-Cd) Battery control processing (steps S17 to S20)
To execute.

【0035】すなわち、CPU121は、まず、ニッケ
ルカドミウム(Ni−Cd)電池からなる電池111が
充電可能か否かを判断する(ステップS17)。充電可
能であれば、スイッチ回路15をオン状態に設定して電
池111への充電を行うと共に、ニッケルカドミウム
(Ni−Cd)電池用の満充電検出処理を実行する(ス
テップS18)。この場合、電池111が充電可能か否
かはニッケルカドミウム(Ni−Cd)電池が満充電状
態か否かによって決定され、満充電状態でない場合には
満充電検出処理を実行しながら電池111への充電が行
われる。そして、電池111が満充電状態になると、ス
イッチ回路15をオフすることによって電池111への
充電が停止される。
That is, the CPU 121 first determines whether or not the battery 111 made of a nickel-cadmium (Ni-Cd) battery can be charged (step S17). If the battery can be charged, the switch circuit 15 is set to the ON state to charge the battery 111, and the full charge detection process for the nickel-cadmium (Ni-Cd) battery is executed (step S18). In this case, whether or not the battery 111 can be charged is determined by whether or not the nickel-cadmium (Ni-Cd) battery is in a fully charged state. If the battery is not in a fully charged state, the battery 111 is charged while performing the fully charged detection process. Charging is done. When the battery 111 is fully charged, the switch circuit 15 is turned off to stop the charging of the battery 111.

【0036】満充電検出処理は、ニッケルカドミウム
(Ni−Cd)電池の充電特性に適合した検出レベルで
その満充電状態の有無を検出するものである。この満充
電検出処理の詳細は、図11を参照して後述する。
The full charge detection process is to detect the presence or absence of the full charge state at a detection level suitable for the charging characteristics of the nickel-cadmium (Ni-Cd) battery. Details of this full charge detection processing will be described later with reference to FIG. 11.

【0037】次に、CPU121は、電池111のみで
システムを駆動している状態であるかどうかを判断し
(ステップS19)、AC電源を用いず電池111のみ
でのシステム駆動が行われている場合にはニッケルカド
ミウム(Ni−Cd)電池用のローバッテリ検出処理を
実行する(ステップS20)。
Next, the CPU 121 judges whether or not the system is driven by only the battery 111 (step S19), and when the system is driven only by the battery 111 without using the AC power source. In step S20, a low battery detection process for a nickel-cadmium (Ni-Cd) battery is performed.

【0038】ここで、電池111のみでのシステム駆動
であるか否かは、CPU121がアナログ入力ポート1
24のポートA4から入力した電圧値をリードすること
によって判断される。つまり、ACアダプタ14にAC
商用電源が接続されている場合にはAC電源用電圧検出
回路18の検出出力がある一定値を越え、AC商用電源
が接続されてない場合にはAC電源用電圧検出回路18
の検出出力が零となる。このため、CPU121は、ポ
ートA4から入力した電圧値が零となった時に電池11
1のみでのシステム駆動と判断する。
Here, the CPU 121 determines whether or not the system is driven only by the battery 111.
It is determined by reading the voltage value input from the port A4 of 24. That is, AC to the AC adapter 14
When the commercial power supply is connected, the detection output of the AC power supply voltage detection circuit 18 exceeds a certain value, and when the AC commercial power supply is not connected, the AC power supply voltage detection circuit 18
The detection output of becomes zero. Therefore, the CPU 121 causes the battery 11 to operate when the voltage value input from the port A4 becomes zero.
It is determined that the system is driven by only 1.

【0039】ニッケルカドミウム(Ni−Cd)電池用
のローバッテリ検出処理は、ニッケルカドミウム(Ni
−Cd)電池の放電特性に適合した検出レベルを用いて
そのローバッテリ状態の有無を検出するものである。こ
のローバッテリ検出処理の詳細は、図12を参照して後
述する。
The low-battery detection process for nickel-cadmium (Ni-Cd) batteries is based on nickel-cadmium (Ni-Cd).
-Cd) The presence or absence of the low battery state is detected by using a detection level suitable for the discharge characteristics of the battery. Details of this low battery detection processing will be described later with reference to FIG.

【0040】この後、CPU121は、スイッチ回路1
5を用いた電池111の充電制御や、電池111の放電
制御等を実行する。この放電制御においては、例えば、
電池111がローバッテリ状態になった時にその事をブ
ザー鳴動やLED点灯等によってオペレータに通知した
り、電池111の消費量を減らすために各コンポーネン
トへの電源電流の供給量を調整するといった処理等が行
われる。
After that, the CPU 121 controls the switch circuit 1
5, the charge control of the battery 111, the discharge control of the battery 111, and the like are executed. In this discharge control, for example,
When the battery 111 is in a low battery state, a buzzer sounds, an LED is lit to notify the operator, or a process of adjusting the supply amount of the power supply current to each component in order to reduce the consumption amount of the battery 111, etc. Is done.

【0041】このように、使用する電池111がニッケ
ル水素(Ni−MH)電池の場合とニッケルカドミウム
(Ni−Cd)電池の場合とでは、その電池111に対
する満充電検出処理およびローバッテリ検出処理がそれ
ぞれ異なるが、それ以外は同じである。
As described above, depending on whether the battery 111 used is a nickel hydrogen (Ni-MH) battery or a nickel cadmium (Ni-Cd) battery, the full charge detection process and the low battery detection process for the battery 111 are performed. Each is different, but otherwise the same.

【0042】次に、図3のフローチャートを参照して、
図2のステップS11で行われる電池判別処理の一例を
説明する。この判別処理は、バッテリパック11に設け
られた電池識別端子113を利用するものである。
Next, referring to the flowchart of FIG.
An example of the battery determination process performed in step S11 of FIG. 2 will be described. This discrimination processing utilizes the battery identification terminal 113 provided in the battery pack 11.

【0043】まず、電源コントローラ12のCPU12
1は、ポータブルコンピュータ本体にバッテリパック1
1が装着されているか否かを判断する(ステップS2
1)。これは、例えば、アナログ入力ポート124のポ
ートA1に入力されるバッテリ用電圧検出回路16から
の検出出力が零か否かによって判断される。また、サー
ミスタ112からの温度検出出力を利用することもでき
る。
First, the CPU 12 of the power supply controller 12
1 is a battery pack 1 in the body of the portable computer
It is determined whether or not No. 1 is attached (step S2
1). This is determined, for example, by whether or not the detection output from the battery voltage detection circuit 16 input to the port A1 of the analog input port 124 is zero. Also, the temperature detection output from the thermistor 112 can be used.

【0044】バッテリパック11が装着されている場合
には、CPU121は、そのバッテリパック11内の電
池111の種類を判別するために、デジタル入出力ポー
ト125のポートD1のステータスをリードする(ステ
ップS22)。この場合、電池111がニッケル水素
(Ni−MH)電池であれば、電池識別端子113がシ
ョート状態にあるためポートD1のステータスは“L”
レベルとなり、電池111がニッケルカドミウム(Ni
−Cd)電池であれば、電池識別端子113がオープン
状態にあるためポートD1のステータスは“H”レベル
となっている。
When the battery pack 11 is mounted, the CPU 121 reads the status of the port D1 of the digital input / output port 125 in order to determine the type of the battery 111 in the battery pack 11 (step S22). ). In this case, if the battery 111 is a nickel-hydrogen (Ni-MH) battery, the status of the port D1 is "L" because the battery identification terminal 113 is in a short state.
Level, and the battery 111 becomes nickel cadmium (Ni
-Cd) If it is a battery, the status of the port D1 is "H" level because the battery identification terminal 113 is in the open state.

【0045】したがって、CPU121は、ポートD1
のステータスが“L”レベルの時は電池111がニッケ
ル水素(Ni−MH)電池であると判別し(ステップS
23)、またポートD1のステータスが“H”レベルの
時は電池111がニッケルカドミウム(Ni−Cd)電
池であると判別する(ステップS24)。このように、
電池111の種類の判別は電池識別端子113を用いる
ことによって容易に行うことができる。
Therefore, the CPU 121 determines that the port D1
When the status of is at "L" level, it is determined that the battery 111 is a nickel metal hydride (Ni-MH) battery (step S
23) When the status of the port D1 is "H" level, it is determined that the battery 111 is a nickel-cadmium (Ni-Cd) battery (step S24). in this way,
The type of the battery 111 can be easily determined by using the battery identification terminal 113.

【0046】また、この電池111の種類の判別は、電
池111の充電特性や放電特性をバッテリ用電圧検出回
路16、バッテリ用電流検出回路17、およびサーミス
タ112を利用して調べ、電池111の特性が、ニッケ
ル水素(Ni−MH)電池とニッケルカドミウム(Ni
−Cd)電池のどちらの特性に一致するかを調べること
によっても行うことができる。
To determine the type of the battery 111, the charge characteristic and the discharge characteristic of the battery 111 are checked by using the battery voltage detection circuit 16, the battery current detection circuit 17, and the thermistor 112, and the characteristic of the battery 111 is checked. However, nickel hydride (Ni-MH) batteries and nickel cadmium (Ni
-Cd) It can also be done by checking which characteristic of the battery matches.

【0047】この電池111の充電特性や放電特性を用
いた電池判別処理を説明する前に、まず、ニッケル水素
(Ni−MH)電池とニッケルカドミウム(Ni−C
d)電池それぞれについての充電特性と放電特性につい
て説明する。
Before explaining the battery discrimination processing using the charge characteristic and the discharge characteristic of the battery 111, first, a nickel hydrogen (Ni-MH) battery and a nickel cadmium (Ni-C) battery are used.
d) The charge characteristics and discharge characteristics of each battery will be described.

【0048】図4は、充電時における充電時間(t)に
対する電池111の電圧(V)の変化特性をニッケル水
素(Ni−MH)電池とニッケルカドミウム(Ni−C
d)電池それぞれについて示したものである。図におい
て、VBAT は電池電圧であり、ΔVBAT /Δtは単位時
間当たりの電池電圧の変化量である。
FIG. 4 shows the change characteristics of the voltage (V) of the battery 111 with respect to the charging time (t) at the time of charging in a nickel hydrogen (Ni-MH) battery and a nickel cadmium (Ni-C) battery.
d) Shown for each battery. In the figure, VBAT is the battery voltage, and ΔVBAT / Δt is the amount of change in the battery voltage per unit time.

【0049】図示のように、ニッケルカドミウム(Ni
−Cd)電池は、ニッケル水素(Ni−MH)電池に比
べて電池電圧の上昇が早く、常にニッケル水素(Ni−
MH)電池の電池電圧よりも高い電池電圧を保持したま
ま、満充電(FULL充電)状態となる。この場合、単
位時間当たりの電池電圧の変化量(ΔVBAT /Δt)
が、0〜30の間の期間においては、ニッケルカドミウ
ム(Ni−Cd)電池の電圧は15.6Vよりも高く、
またニッケル水素(Ni−MH)電池の電圧は15.6
V以下となる。また、単位時間当たりの電池電圧の変化
量(ΔVBAT /Δt)が、60〜90の間の期間におい
ては、ニッケルカドミウム(Ni−Cd)電池の電圧は
17.8Vよりも高く、ニッケル水素(Ni−MH)電
池の電圧は17.8V以下となる。
As shown, nickel cadmium (Ni
The battery voltage of the -Cd) battery rises faster than that of the nickel-hydrogen (Ni-MH) battery and is always nickel-hydrogen (Ni-).
The MH) battery is in a fully charged (FULL charge) state while holding a battery voltage higher than the battery voltage. In this case, the amount of change in battery voltage per unit time (ΔVBAT / Δt)
However, in the period between 0 and 30, the voltage of the nickel-cadmium (Ni-Cd) battery is higher than 15.6V,
Moreover, the voltage of the nickel hydrogen (Ni-MH) battery is 15.6.
It becomes V or less. In addition, in the period in which the amount of change (ΔVBAT / Δt) of the battery voltage per unit time is between 60 and 90, the voltage of the nickel-cadmium (Ni-Cd) battery is higher than 17.8V, and the nickel-hydrogen (Ni-Cd) battery is higher. -MH) The voltage of the battery becomes 17.8 V or less.

【0050】図5は、充電時における充電時間(t)に
対する電池111の温度(T)の変化特性をニッケル水
素(Ni−MH)電池とニッケルカドミウム(Ni−C
d)電池それぞれについて示したものである。図におい
て、ΔT/Δtは単位時間当たりの電池温度の変化量で
ある。
FIG. 5 shows the change characteristics of the temperature (T) of the battery 111 with respect to the charging time (t) at the time of charging, in a nickel-hydrogen (Ni-MH) battery and nickel-cadmium (Ni-C).
d) Shown for each battery. In the figure, ΔT / Δt is the amount of change in battery temperature per unit time.

【0051】図から分かるように、満充電時近傍におい
ては、ニッケル水素(Ni−MH)電池のΔT/Δt
は、ニッケルカドミウム(Ni−Cd)のΔT/Δtに
比し、非常に高い値となる。ここでは、ニッケル水素
(Ni−MH)電池の満充電時におけるΔT/Δtの値
がAとして示され、また、ニッケルカドミウム(Ni−
Cd)電池の満充電時におけるΔT/Δtの値がBとし
て示されている。
As can be seen from the figure, in the vicinity of full charge, the ΔT / Δt of the nickel hydrogen (Ni-MH) battery is increased.
Is much higher than ΔT / Δt of nickel cadmium (Ni-Cd). Here, the value of ΔT / Δt when the nickel-hydrogen (Ni-MH) battery is fully charged is shown as A, and nickel-cadmium (Ni-
Cd) The value of ΔT / Δt when the battery is fully charged is shown as B.

【0052】図6は、放電時における時間(t)に対す
る電池111の電圧(V)の変化特性をニッケル水素
(Ni−MH)電池とニッケルカドミウム(Ni−C
d)電池それぞれについて示したものである。図におい
て、斜線で示されている部分の面積は、ローバッリ状態
と判断される時の電池の残存容量に対応している。
FIG. 6 shows the change characteristics of the voltage (V) of the battery 111 with respect to the time (t) at the time of discharging, showing the nickel hydrogen (Ni-MH) battery and the nickel cadmium (Ni-C).
d) Shown for each battery. In the figure, the area of the hatched portion corresponds to the remaining capacity of the battery when it is determined that the battery is in the low-battery state.

【0053】図から分かるように、ニッケルカドミウム
(Ni−Cd)電池は、バッテリ容量が低下するまでは
ニッケル水素(Ni−MH)電池によりも高い電池電圧
を維持するが、バッテリ残存容量が一定値まで低下する
と、その電池電圧は急激に低下する。これに比べ、ニッ
ケル水素(Ni−MH)電池の電池電圧は比較的緩やか
に低下されて行き、ニッケルカドミウム(Ni−Cd)
電池がローバッテリ状態になってからもしばらくは、電
源として十分な電池電圧を維持する。このため、ニッケ
ル水素(Ni−MH)電池は、ニッケルカドミウム(N
i−Cd)電池よりもローバッテリ状態になるのが遅
い。
As can be seen from the figure, the nickel-cadmium (Ni-Cd) battery maintains a higher battery voltage than the nickel-hydrogen (Ni-MH) battery until the battery capacity decreases, but the battery remaining capacity is constant. Battery voltage drops sharply. Compared with this, the battery voltage of a nickel-hydrogen (Ni-MH) battery is gradually lowered, and nickel-cadmium (Ni-Cd)
For a while after the battery is in the low battery state, a sufficient battery voltage is maintained as a power source. Therefore, nickel-hydrogen (Ni-MH) batteries are
i-Cd) It is slower to enter the low battery state than the battery.

【0054】この場合、例えば、単位時間当たりの電池
電圧の変化量(ΔVBAT /Δt)が、−60〜−90間
の期間においては、ニッケルカドミウム(Ni−Cd)
電池の電圧は14.2Vよりも高く、またニッケル水素
(Ni−MH)電池の電圧は114.2V以下となる。
In this case, for example, when the amount of change (ΔVBAT / Δt) of the battery voltage per unit time is between −60 and −90, nickel cadmium (Ni—Cd).
The voltage of the battery is higher than 14.2V, and the voltage of the nickel hydrogen (Ni-MH) battery is 114.2V or less.

【0055】また、図においては、ニッケルカドミウム
(Ni−Cd)電池がローバッテリ状態に達したときの
電池電圧がLB1として示され、ニッケル水素(Ni−
MH)電池がローバッテリ状態に達したときの電池電圧
がLB2として示されている。次に、図7および図8を
参照して、電池111の放電特性を利用して行う電池判
別処理を説明する。
In the figure, the battery voltage when the nickel-cadmium (Ni-Cd) battery reaches the low battery state is shown as LB1, and nickel-hydrogen (Ni-
The battery voltage when the MH) battery reaches the low battery condition is shown as LB2. Next, with reference to FIG. 7 and FIG. 8, a battery determination process performed using the discharge characteristic of the battery 111 will be described.

【0056】図6で説明したように、ニッケル水素(N
i−MH)電池とニッケルカドミウム(Ni−Cd)電
池とでは放電特性が異なる。このため、図7に示すよう
なテーブルT1をROM123上に設け、一定時間毎に
電池電圧を測定し、電池電圧の変化量(ΔVBAT /Δ
t)の一定の範囲毎に、測定した電池111の電圧と基
準値Vbとを比較することによってニッケル水素(Ni
−MH)電池とニッケルカドミウム(Ni−Cd)電池
との判別を行うことができる。
As described with reference to FIG. 6, nickel hydrogen (N
The i-MH) battery and the nickel-cadmium (Ni-Cd) battery have different discharge characteristics. Therefore, a table T1 as shown in FIG. 7 is provided on the ROM 123, the battery voltage is measured at regular intervals, and the amount of change in battery voltage (ΔVBAT / Δ
By comparing the measured voltage of the battery 111 with the reference value Vb for each constant range of t), nickel hydride (Ni
-MH) batteries and nickel cadmium (Ni-Cd) batteries can be distinguished.

【0057】ここでは、電池電圧の変化量(ΔVBAT /
Δt)が0〜−30の範囲と、−30〜−60の範囲
と、−60〜−90の範囲と、−90以上の範囲の4つ
の範囲について、それぞれ基準値Vbを設定している。
この基準値Vbは、例えば、電池電圧の変化量(ΔVBA
T /Δt)が−60〜−90の範囲では14.2Vに設
定されている。この14.2Vの値は、図6で説明した
ように、電池電圧の変化量(ΔVBAT /Δt)が−60
〜−90の範囲における、ニッケル水素(Ni−MH)
電池の電圧とニッケルカドミウム(Ni−Cd)電池の
電圧とのほぼ中間値に相当する。
Here, the amount of change in the battery voltage (ΔVBAT /
The reference value Vb is set for each of four ranges in which Δt) is 0 to −30, −30 to −60, −60 to −90, and −90 or more.
The reference value Vb is, for example, the amount of change in the battery voltage (ΔVBA
T / Δt) is set to 14.2 V in the range of −60 to −90. As described with reference to FIG. 6, the value of this 14.2 V indicates that the amount of change in battery voltage (ΔVBAT / Δt) is −60.
Nickel hydrogen (Ni-MH) in the range of -90
It corresponds to approximately the intermediate value between the voltage of the battery and the voltage of the nickel-cadmium (Ni-Cd) battery.

【0058】測定した電池111の電圧と基準値Vbと
の大小関係と、電池の種類との対応は、図8に示す通り
である。すなわち、測定した電池電圧VBATの値が基準
値Vbよりも大きければニッケルカドミウム(Ni−C
d)であると判断され、また測定した電池電圧VBAT の
値が基準値Vb以下であればニッケル水素(Ni−M
H)電池と判断される。
Correspondence between the measured voltage of the battery 111 and the reference value Vb and the type of battery are as shown in FIG. That is, if the measured battery voltage VBAT is larger than the reference value Vb, nickel cadmium (Ni-C
d), and if the measured battery voltage VBAT is less than or equal to the reference value Vb, nickel hydrogen (Ni-M
H) It is determined to be a battery.

【0059】このように放電特性を利用して電池判別を
行う場合には、実際には、バッテリ用電圧検出回路16
で検出した電池電圧VBAT に対して、次式(1)のよう
な電流補正を加え、その補正値を基準値と比較すること
が好ましい。これは、負荷による電圧変動を小さくした
値を使用するためである。 Vc=VBAT +R・IBAT +K・T …(1)
When the battery is discriminated by using the discharge characteristics as described above, the battery voltage detection circuit 16 is actually used.
It is preferable to add a current correction as shown in the following equation (1) to the battery voltage VBAT detected in step 1 and compare the correction value with a reference value. This is because a value that reduces the voltage fluctuation due to the load is used. Vc = VBAT + R · IBAT + K · T (1)

【0060】ここで、Vcは補正後の電池電圧、VBAT
はバッテリ用電圧検出回路16で検出した電池電圧、R
は放電電流が流れるライン(電池111からDC−DC
コンバータ13までのライン)の抵抗、IBAT はバッテ
リ用電流検出回路17で検出した電池電流、Kは温度定
数、Tはサーミスタ112を利用して検出した電池温度
である。次に、図9および図10を参照して、電池11
1の充電特性を利用して行う電池判別処理を説明する。
Here, Vc is the corrected battery voltage, VBAT
Is the battery voltage detected by the battery voltage detection circuit 16, R
Is the line through which the discharge current flows (battery 111 to DC-DC
Resistance of the line to the converter 13), IBAT is a battery current detected by the battery current detection circuit 17, K is a temperature constant, and T is a battery temperature detected using the thermistor 112. Next, referring to FIGS. 9 and 10, the battery 11
A battery determination process performed by using the charging characteristic of No. 1 will be described.

【0061】図4で説明したように、ニッケル水素(N
i−MH)電池とニッケルカドミウム(Ni−Cd)電
池とでは充電特性が異なる。このため、図9に示すよう
なテーブルT2をROM123上に設け、一定時間毎に
電池電圧の測定し、電池電圧の変化量(ΔVBAT /Δ
t)の一定の範囲毎に、測定した電池111の電圧と基
準値Vbとを比較することによって、放電時と同様にし
て充電時においても、ニッケル水素(Ni−MH)電池
とニッケルカドミウム(Ni−Cd)電池との判別を行
うことができる。
As described with reference to FIG. 4, nickel hydrogen (N
The charging characteristics are different between the i-MH) battery and the nickel-cadmium (Ni-Cd) battery. Therefore, a table T2 as shown in FIG. 9 is provided on the ROM 123, the battery voltage is measured at regular intervals, and the battery voltage change amount (ΔVBAT / Δ
By comparing the measured voltage of the battery 111 with the reference value Vb for each fixed range of t), the nickel-hydrogen (Ni-MH) battery and the nickel-cadmium (Ni-MH) battery can be used at the time of charging as well as at the time of discharging. -Cd) It can be distinguished from a battery.

【0062】ここでは、電池電圧の変化量(ΔVBAT /
Δt)が0〜30の範囲と、30〜60の範囲と、60
〜90の範囲と、90以上の範囲の4つの範囲につい
て、それぞれ基準値Vbを設定している。この基準値V
bは、例えば、電池電圧の変化量(ΔVBAT /Δt)が
0〜30の範囲では15.6Vに設定されている。この
15.6Vの値は、図4で説明したように、電池電圧の
変化量(ΔVBAT /Δt)が0〜30の範囲における、
ニッケル水素(Ni−MH)電池の電圧とニッケルカド
ミウム(Ni−Cd)電池の電圧とのほぼ中間値に相当
する。
Here, the amount of change in the battery voltage (ΔVBAT /
Δt) is in the range of 0 to 30, in the range of 30 to 60, and 60
The reference value Vb is set for each of the four ranges of 90 to 90 and 90 or more. This reference value V
b is set to 15.6 V, for example, when the amount of change in battery voltage (ΔVBAT / Δt) is in the range of 0 to 30. As described with reference to FIG. 4, the value of 15.6 V is obtained when the amount of change in battery voltage (ΔVBAT / Δt) is in the range of 0 to 30,
It corresponds to approximately the intermediate value between the voltage of a nickel-hydrogen (Ni-MH) battery and the voltage of a nickel-cadmium (Ni-Cd) battery.

【0063】測定した電池111の電圧と基準値Vbと
の大小関係と、電池の種類との対応は、図10に示す通
りである。すなわち、測定した電池電圧VBAT の値が基
準値Vbよりも大きければニッケルカドミウム(Ni−
Cd)電池であると判断され、また測定した電池電圧V
BAT の値が基準値Vb以下であればニッケル水素(Ni
−MH)電池と判断される。このように、電池111の
充電時および放電時のどちらにおいても、電池111の
種類を判別することができる。次に、図11を参照し
て、満充電検出処理の詳細について説明する。
Correspondence between the measured voltage of the battery 111 and the reference value Vb and the type of the battery are as shown in FIG. That is, if the measured battery voltage VBAT is larger than the reference value Vb, nickel cadmium (Ni-
Cd) The battery voltage V determined to be a battery and measured
If the value of BAT is below the reference value Vb, nickel hydrogen (Ni
-MH) Judge as a battery. In this way, the type of the battery 111 can be determined whether the battery 111 is being charged or discharged. Next, details of the full charge detection process will be described with reference to FIG. 11.

【0064】この満充電検出処理のための処理ルーチン
は、電池111がニッケル水素(Ni−MH)電池であ
るかニッケルカドミウム(Ni−Cd)電池であるかに
よって異なるが、実際には、使用する検出レベルが異な
るだけで基本的には双方とも同一の処理手順で行われ
る。
The processing routine for this full charge detection processing differs depending on whether the battery 111 is a nickel-hydrogen (Ni-MH) battery or a nickel-cadmium (Ni-Cd) battery, but it is actually used. Basically, the same processing procedure is applied to both of them, except that the detection levels are different.

【0065】このため、ここでは、図11のフローチャ
ートを共通に用いて、ニッケル水素(Ni−MH)電池
とニッケルカドミウム(Ni−Cd)電池の双方につい
ての満充電検出動作を説明する。
Therefore, the full charge detection operation for both the nickel-hydrogen (Ni-MH) battery and the nickel-cadmium (Ni-Cd) battery will be described here by commonly using the flowchart of FIG.

【0066】まず、CPU121は、サーミスタ112
からポートA3に入力される温度検出出力を一定時間間
隔(例えば10秒おき)でリードし(ステップS31,
S32)、今回リードした温度と前回リードした温度と
の差、つまり温度上昇(ΔT)を求める(ステップS3
3)。この場合、この温度上昇(ΔT)の値は、ある一
定温度(例えば0.5度)以上上昇された時に+1に設
定され、それ以下の温度上昇の場合は零のままとなる。
First, the CPU 121 determines the thermistor 112.
The temperature detection output input from the port A3 to the port A3 is read at regular time intervals (for example, every 10 seconds) (step S31,
S32), the difference between the temperature read this time and the temperature read last time, that is, the temperature rise (ΔT) is calculated (step S3).
3). In this case, the value of the temperature rise (ΔT) is set to +1 when the temperature rises above a certain constant temperature (for example, 0.5 degrees), and remains zero when the temperature rises below that.

【0067】次いで、CPU121は、温度上昇(Δ
T)が零よりも大きくなったか否かを調べ、温度上昇
(ΔT)の値が零の場合はカウンタ値を増分し(ステッ
プS35)、そしてステップS31〜34の処理を繰り
返す。そして、温度上昇(ΔT)が“1”になると、C
PU121は、その時のカウンタ値を、電池111の種
類によって定まる検出レベル(ΔT/Δt)と比較す
る。
Next, the CPU 121 causes the temperature rise (Δ
It is checked whether or not T) has become larger than zero, and if the value of the temperature rise (ΔT) is zero, the counter value is incremented (step S35), and the processes of steps S31 to S34 are repeated. When the temperature rise (ΔT) becomes “1”, C
The PU 121 compares the counter value at that time with a detection level (ΔT / Δt) determined by the type of the battery 111.

【0068】この検出レベル(ΔT/Δt)は満充電時
の温度上昇率であり、図5で説明したように、ニッケル
水素(Ni−MH)電池の場合はその検出レベル(ΔT
/Δt)は値“A”となり、ニッケルカドミウム(Ni
−Cd)電池の場合は、Aよりも低い値“B”がその検
出レベル(ΔT/Δt)となる。
This detection level (ΔT / Δt) is the temperature rise rate at full charge, and as described with reference to FIG. 5, in the case of a nickel hydrogen (Ni-MH) battery, the detection level (ΔT).
/ Δt) becomes the value "A", and nickel cadmium (Ni
In the case of the −Cd) battery, the value “B” lower than A is the detection level (ΔT / Δt).

【0069】このように、CPU121は、電池111
がニッケル水素(Ni−MH)電池であるかニッケルカ
ドミウム(Ni−Cd)電池であるかによって異なる検
出レベルを用いる。
In this way, the CPU 121 determines that the battery 111
Different detection levels are used depending on whether the battery is a nickel-hydrogen (Ni-MH) battery or a nickel-cadmium (Ni-Cd) battery.

【0070】CPU121は、カウンタ値が検出レベル
(ΔT/Δt)よりも小さいとき、すなわち、測定した
温度上昇率が検出レベル(ΔT/Δt)の温度上昇率よ
りも高いときに、電池111が満充電状態になったこと
を検出する(ステップS38)。一方、カウンタ値が検
出レベル(ΔT/Δt)よりも大きいとき、すなわち、
測定した温度上昇率が検出レベル(ΔT/Δt)の温度
上昇率よりも低いときには、その時のカウンタ値をクリ
アし(ステップS37)、そしてステップS31からの
処理に戻る。次に、図12を参照して、ローバッテリ検
出処理の詳細について説明する。
When the counter value is smaller than the detection level (ΔT / Δt), that is, when the measured temperature increase rate is higher than the detection level (ΔT / Δt) temperature increase rate, the CPU 121 charges the battery 111. It is detected that the battery is in a charged state (step S38). On the other hand, when the counter value is larger than the detection level (ΔT / Δt), that is,
When the measured temperature rise rate is lower than the temperature rise rate of the detection level (ΔT / Δt), the counter value at that time is cleared (step S37), and the process returns from step S31. Next, the details of the low battery detection process will be described with reference to FIG.

【0071】このローバッテリ検出処理のための処理ル
ーチンは、電池111がニッケル水素(Ni−MH)電
池であるかニッケルカドミウム(Ni−Cd)電池であ
るかによって異なるが、満充電検出処理の場合と同様
に、実際には、使用する検出レベルが異なるだけで基本
的には双方とも同一の処理手順で行われる。
The processing routine for this low battery detection processing differs depending on whether the battery 111 is a nickel-hydrogen (Ni-MH) battery or a nickel-cadmium (Ni-Cd) battery. Similarly, in practice, both are basically performed by the same processing procedure except that the detection level used is different.

【0072】このため、ここでは、図12のフローチャ
ートを共通に用いて、ニッケル水素(Ni−MH)電池
とニッケルカドミウム(Ni−Cd)電池の双方につい
てのローバッテリ検出動作を説明する。
Therefore, the low battery detection operation for both the nickel-hydrogen (Ni-MH) battery and the nickel-cadmium (Ni-Cd) battery will be described here by commonly using the flowchart of FIG.

【0073】まず、CPU121は、電圧検出回路16
からポートA1に入力される温度検出出力をリードし
(ステップS41)、次いで、電流検出回路17からポ
ートA2に入力される電流検出出力をリードする(ステ
ップS42)。次に、CPU121は、電圧検出回路1
6で検出した電圧Vに電流補正を加え、V+i・Rを補
正後の電池電圧Eとする。ここで、Rは放電時のパスの
抵抗であり、iは電流検出回路17で検出された電流値
である。この後、CPU121は、補正後の電池電圧E
を電池111の種類によって定まる検出レベル(LB)
と比較する。
First, the CPU 121 has the voltage detection circuit 16
The temperature detection output input from the port A1 to the port A1 is read (step S41), and the current detection output input from the current detection circuit 17 to the port A2 is read (step S42). Next, the CPU 121 uses the voltage detection circuit 1
Current correction is applied to the voltage V detected in 6 and V + i · R is taken as the corrected battery voltage E. Here, R is the resistance of the path at the time of discharging, and i is the current value detected by the current detection circuit 17. After that, the CPU 121 determines that the corrected battery voltage E
Is a detection level (LB) determined by the type of battery 111
Compare with.

【0074】この検出レベル(LB)はローバッテリ時
の電池電圧であり、図6で説明したように、ニッケルカ
ドミウム(Ni−Cd)電池の場合はその検出レベル
(LB)は値“LB1”となり、ニッケル水素(Ni−
MH)電池の場合は、LB1よりも低い値“LB2”が
その検出レベル(LB)となる。
This detection level (LB) is the battery voltage when the battery is low, and as described with reference to FIG. 6, in the case of a nickel-cadmium (Ni-Cd) battery, the detection level (LB) is the value "LB1". , NiMH (Ni-
In the case of the MH) battery, the value "LB2" lower than LB1 becomes the detection level (LB).

【0075】このように、CPU121は、電池111
がニッケル水素(Ni−MH)電池であるかニッケルカ
ドミウム(Ni−Cd)電池であるかによって異なる検
出レベルを用いる。
As described above, the CPU 121 controls the battery 111
Different detection levels are used depending on whether the battery is a nickel-hydrogen (Ni-MH) battery or a nickel-cadmium (Ni-Cd) battery.

【0076】CPU121は、補正後の電池電圧Eが検
出レベル(LB1)よりも小さいとき、電池111がロ
ーバッテリ状態になったことを検出する(ステップS4
5)。また、補正後の電池電圧Eが検出レベル(LB
1)以上の時は、ステップS41からの処理を繰り返
す。
When the corrected battery voltage E is lower than the detection level (LB1), the CPU 121 detects that the battery 111 is in the low battery state (step S4).
5). Further, the corrected battery voltage E is the detection level (LB
1) In the above cases, the processing from step S41 is repeated.

【0077】以上のように、この実施例においては、ニ
ッケルカドミウム(Ni−Cd)電池とニッケル水素
(Ni−MH)電池とでそれぞれ異なるローバッテリ検
出レベル、および満充電検出レベルを用いてバッテリの
容量低下状態および満充電状態を検出しており、どの検
出レベルを用いた検出動作を実行するかは、駆動電源と
して使用されるバッテリがニッケルカドミウム(Ni−
Cd)電池とニッケル水素(Ni−MH)電池のどちら
であるかによって決定される。
As described above, in this embodiment, the nickel cadmium (Ni-Cd) battery and the nickel-hydrogen (Ni-MH) battery have different low battery detection levels and full charge detection levels. The low-capacity state and the fully-charged state are detected, and which detection level is used to perform the detection operation depends on whether the battery used as the drive power supply is a nickel-cadmium (Ni-
Cd) battery or nickel metal hydride (Ni-MH) battery.

【0078】このため、電池の種類毎に異なったローバ
ッテリ検出または満充電検出を実行できるようになり、
同一のポータブルコンピュータで複数種の電池を使用す
ることが可能となる。
Therefore, low battery detection or full charge detection different for each type of battery can be executed,
It is possible to use multiple types of batteries in the same portable computer.

【0079】なお、この実施例では、2種類の電池を使
用する場合についてのみ説明したが、3種類以上の電池
を使用する場合においても、同様にして使用する電池の
特性に応じた検出レベルを用いることによって、満充電
検出およびローバッテリ検出を正常に行うことができ
る。
In this embodiment, only the case of using two types of batteries has been described, but even when three or more types of batteries are used, the detection level corresponding to the characteristics of the batteries used is similarly set. By using it, full charge detection and low battery detection can be performed normally.

【0080】また、この実施例では、ニッケル水素(N
i−MH)電池とニッケルカドミウム(Ni−Cd)電
池とでそれぞれ異なる検出レベルを用いたが、比較的特
性の類似した電池同志であれば、それぞれに適合する検
出レベルの中間値等を共通の検出レベルとして用いるこ
ともを可能である。
Further, in this embodiment, nickel hydrogen (N
Although different detection levels were used for the i-MH) battery and the nickel-cadmium (Ni-Cd) battery, if the batteries have relatively similar characteristics, the intermediate value of the detection level that matches each is common. It is also possible to use it as a detection level.

【0081】また、放電特性だけが異なる電池について
はローバッテリ検出レベルだけを異ならせば良く、充電
特性だけが異なる電池については満充電検出レベルだけ
を異ならせば良いことはもちろんである。
It is needless to say that only the low battery detection level needs to be changed for batteries having different discharge characteristics, and only the full-charge detection level needs to be changed for batteries having only charge characteristics.

【0082】さらに、この電源制御方式は、バッテリ駆
動可能なポータブルコンピュータに特に適しているが、
バッテリ駆動可能なものであれば他の各種電子機器に対
しても同様にして適用できる。
Further, although this power supply control method is particularly suitable for a battery-operable portable computer,
The present invention can be similarly applied to other various electronic devices as long as they can be driven by a battery.

【0083】[0083]

【発明の効果】以上のように、この発明によれば、特性
の異なる複数種の電池毎に異なったローバッテリ検出ま
たは満充電検出を実行できるようになり、複数種の電池
を使用することが可能となる。
As described above, according to the present invention, it becomes possible to perform different low battery detection or full charge detection for a plurality of types of batteries having different characteristics, and it is possible to use a plurality of types of batteries. It will be possible.

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

【図1】この発明の一実施例に係るシステム構成を示す
ブロック図。
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention.

【図2】同実施例のシステムで実行される電源制御動作
を説明するフローチャート。
FIG. 2 is a flowchart illustrating a power supply control operation executed in the system of the embodiment.

【図3】同実施例のシステムで実行される電池識別動作
の一例を説明するフローチャート。
FIG. 3 is a flowchart illustrating an example of a battery identification operation performed by the system of the same embodiment.

【図4】同実施例のシステムで使用される電池の電圧対
時間の充電特性を示す図。
FIG. 4 is a diagram showing voltage-time charging characteristics of a battery used in the system of the example.

【図5】同実施例のシステムで使用される電池の温度対
時間の充電特性を示す図。
FIG. 5 is a diagram showing temperature-time charging characteristics of a battery used in the system of the example.

【図6】同実施例のシステムで使用される電池の電圧対
時間の放電特性を示す図。
FIG. 6 is a diagram showing voltage-time discharge characteristics of a battery used in the system of the example.

【図7】同実施例のシステムで実行される放電特性を用
いた電池識別処理で参照されるテーブル内容の一例を示
す図。
FIG. 7 is a diagram showing an example of table contents referred to in a battery identification process using discharge characteristics executed in the system of the embodiment.

【図8】図7のテーブルを用いたときの電池の種類と電
圧との関係を示す図。
8 is a diagram showing the relationship between the type of battery and voltage when the table of FIG. 7 is used.

【図9】同実施例のシステムで実行される充電特性を用
いた電池識別処理で参照されるテーブル内容の一例を示
す図。
FIG. 9 is a diagram showing an example of table contents referred to in a battery identification process using charging characteristics executed in the system of the embodiment.

【図10】図9のテーブルを用いたときの電池の種類と
電圧との関係を示す図。
10 is a diagram showing the relationship between the type of battery and voltage when the table of FIG. 9 is used.

【図11】同実施例のシステムで実行される満充電検出
処理の一例を示すフローチャート。
FIG. 11 is a flowchart showing an example of full charge detection processing executed by the system of the embodiment.

【図12】同実施例のシステムで実行されるローバッテ
リ検出処理の一例を示すフローチャート。
FIG. 12 is a flowchart showing an example of low battery detection processing executed in the system of the embodiment.

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

11バッテリパック、12…電源コントローラ、13…
DC−DCコンバータ、14…ACアダプタ、15…ス
イッチ回路、16,18…電圧検出回路、17…電流検
出回路、111…電池、112…サーミスタ、113…
電池識別端子、121…CPU。
11 battery pack, 12 ... power supply controller, 13 ...
DC-DC converter, 14 ... AC adapter, 15 ... Switch circuit, 16, 18 ... Voltage detection circuit, 17 ... Current detection circuit, 111 ... Battery, 112 ... Thermistor, 113 ...
Battery identification terminal, 121 ... CPU.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H02J 7/10 B 9060−5G ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H02J 7/10 B 9060-5G

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 バッテリ駆動可能な小型電子装置におい
て、 放電特性がそれぞれ異なる複数種のバッテリの中で前記
装置に駆動電源として装着されたバッテリの種類を判別
する判別手段と、 前記複数種のバッテリの放電特性にそれぞれ適合した複
数のローバッテリ検出レベルを用いてバッテリの容量低
下状態を検出するローバッテリ検出手段と、 前記判別手段による判別結果に応じて、前記複数のロー
バッテリ検出レベルの内のどの検出レベルを用いた検出
動作を実行させるかを前記ローバッテリ検出手段に指示
する手段とを具備し、 前記駆動電源として装着されたバッテリの放電特性に適
合したローバッテリ検出動作を実行することを特徴とす
る電源制御方式。
1. In a battery-powerable small electronic device, a determination means for determining the type of a battery mounted as a driving power source in the device among a plurality of types of batteries having different discharge characteristics, and the plurality of types of batteries. Of low battery detection levels that detect a low capacity state of the battery using a plurality of low battery detection levels that are respectively adapted to the discharge characteristics of And a means for instructing the low battery detection means which detection level is used to execute the detection operation, and performing a low battery detection operation adapted to the discharge characteristic of the battery mounted as the drive power source. Characteristic power control method.
【請求項2】 バッテリ駆動可能な小型電子装置におい
て、 充電特性がそれぞれ異なる複数種のバッテリの中で前記
装置に駆動電源として装着されたバッテリの種類を判別
する判別手段と、 前記複数種のバッテリの充電特性にそれぞれ適合した複
数の満充電検出レベルを用いてバッテリの満充電状態を
検出する満充電検出手段と、 前記判別手段による判別結果に応じて、前記複数の満充
電検出レベルの内のどの検出レベルを用いた検出動作を
実行させるかを前記満充電検出手段に指示する手段とを
具備し、 前記駆動電源として装着されたバッテリの充電特性に適
合した満充電検出動作を実行することを特徴とする電源
制御方式。
2. In a battery-powerable small electronic device, a determination means for determining the type of a battery mounted as a drive power source in the device among a plurality of types of batteries having different charging characteristics, and the plurality of types of batteries. A full-charge detection unit that detects the full-charged state of the battery using a plurality of full-charge detection levels that are respectively adapted to the charging characteristics of the battery, and in accordance with the determination result by the determination unit, among the plurality of full-charge detection levels. And a means for instructing the full-charge detection means which detection level is to be used to perform the detection operation, and performing a full-charge detection operation suitable for the charging characteristics of the battery mounted as the driving power source. Characteristic power control method.
JP3255582A 1991-10-02 1991-10-02 Power supply control system Pending JPH05103429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3255582A JPH05103429A (en) 1991-10-02 1991-10-02 Power supply control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3255582A JPH05103429A (en) 1991-10-02 1991-10-02 Power supply control system

Publications (1)

Publication Number Publication Date
JPH05103429A true JPH05103429A (en) 1993-04-23

Family

ID=17280723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3255582A Pending JPH05103429A (en) 1991-10-02 1991-10-02 Power supply control system

Country Status (1)

Country Link
JP (1) JPH05103429A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002536670A (en) * 1999-02-11 2002-10-29 ブラウン ゲーエムベーハー How to measure the state of charge of a battery
JP2004311210A (en) * 2003-04-07 2004-11-04 Nidec Shibaura Corp Inspection device of battery
KR100480022B1 (en) * 1997-11-06 2005-07-12 엘지전자 주식회사 Charging Circuit and Method
JP2008301607A (en) * 2007-05-30 2008-12-11 Kyocera Corp Charging circuit and portable electronic apparatus
JP2009510390A (en) * 2005-07-05 2009-03-12 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング How to recognize the preset value of a storage battery
JP2009148033A (en) * 2007-12-12 2009-07-02 Canon Inc Power unit and control method thereof
JP2010088220A (en) * 2008-09-30 2010-04-15 Nec Personal Products Co Ltd Circuit and method for discharging secondary battery, and information processor
JP2016158357A (en) * 2015-02-24 2016-09-01 セイコーエプソン株式会社 Circuit device and electronic equipment
CN107422167A (en) * 2017-04-11 2017-12-01 中国电力科学研究院 A kind of device and method for detecting high pressure self healing capacitor self-healing failure

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100480022B1 (en) * 1997-11-06 2005-07-12 엘지전자 주식회사 Charging Circuit and Method
JP2002536670A (en) * 1999-02-11 2002-10-29 ブラウン ゲーエムベーハー How to measure the state of charge of a battery
JP2004311210A (en) * 2003-04-07 2004-11-04 Nidec Shibaura Corp Inspection device of battery
JP4514412B2 (en) * 2003-04-07 2010-07-28 日本電産シバウラ株式会社 Rechargeable battery inspection device
JP2009510390A (en) * 2005-07-05 2009-03-12 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング How to recognize the preset value of a storage battery
JP2008301607A (en) * 2007-05-30 2008-12-11 Kyocera Corp Charging circuit and portable electronic apparatus
JP2009148033A (en) * 2007-12-12 2009-07-02 Canon Inc Power unit and control method thereof
JP2010088220A (en) * 2008-09-30 2010-04-15 Nec Personal Products Co Ltd Circuit and method for discharging secondary battery, and information processor
JP2016158357A (en) * 2015-02-24 2016-09-01 セイコーエプソン株式会社 Circuit device and electronic equipment
CN107422167A (en) * 2017-04-11 2017-12-01 中国电力科学研究院 A kind of device and method for detecting high pressure self healing capacitor self-healing failure

Similar Documents

Publication Publication Date Title
US6097175A (en) Method for charging and discharging a smart battery of an electronic equipment
JP3777022B2 (en) Battery charger
US5164652A (en) Method and apparatus for determining battery type and modifying operating characteristics
US5900717A (en) Rechargeable battery charging circuit
US5831412A (en) System for executing charge control of a secondary battery and detecting the capacitance thereof
AU2006200112B2 (en) Systems and Methods for Regulating Pre-Charge Current in a Battery System
KR100265709B1 (en) A secondary charginf apparatus
US7843171B2 (en) Method and apparatus for battery charging based on battery capacity and charging source constraints
JP3048755B2 (en) Rechargeable battery charger
US5627451A (en) Control method and control apparatus for secondary battery charging in constant current charging method
JP2919814B2 (en) Multi-battery common charging device
US20030096158A1 (en) Battery pack and cordless power tool using the same as power source
US20070252558A1 (en) Charging device for battery
US20070188136A1 (en) Battery charging
EP0902522B1 (en) Charge control method and charger for a rechargeable battery
US20060255771A1 (en) Battery charger
WO1996021954A1 (en) Apparatus for simulating high battery temperature used in recharging lithium ion cells
US5982141A (en) Battery charging in units having attachable expansion devices, and in such expansion devices
JPH05103429A (en) Power supply control system
JPH11187585A (en) Charger and charging method for lithium ion secondary battery
JPH0737621A (en) Device for judging residual capacity of secondary battery and charging device using it
JPH1032020A (en) Charge and discharge control method for sealed type lead-acid battery
KR20000047213A (en) Charging device adapted to several kind of battery
JP3109071B2 (en) Battery remaining capacity measurement device
JP4013289B2 (en) Non-aqueous secondary battery charging method and charging device therefor