JPH07239735A - Battery controller - Google Patents

Battery controller

Info

Publication number
JPH07239735A
JPH07239735A JP6028649A JP2864994A JPH07239735A JP H07239735 A JPH07239735 A JP H07239735A JP 6028649 A JP6028649 A JP 6028649A JP 2864994 A JP2864994 A JP 2864994A JP H07239735 A JPH07239735 A JP H07239735A
Authority
JP
Japan
Prior art keywords
voltage
battery
offset
input
converter
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
JP6028649A
Other languages
Japanese (ja)
Inventor
Tsuneo Sato
恒夫 佐藤
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.)
PFU Ltd
Original Assignee
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP6028649A priority Critical patent/JPH07239735A/en
Publication of JPH07239735A publication Critical patent/JPH07239735A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To correct the offset voltage of a battery voltage and detect an accurate low battery voltage, a full charging voltage, etc., to accurately stop charging and discharging a battery on the basis of them, and to prevent a system from running away owing to an excessive drop in the battery voltage. CONSTITUTION:This battery controller is equipped with a battery voltage offset correcting circuit 3 which inputs an offset reference voltage V1 to an A-D converter 2 to calculate an offset error correction quantity DELTAP1 on the basis of the output voltage P1 at this time and then the voltage Vn from the battery 1 is sent to the A-D converter 2 to calculate a correct battery voltage Pkn corrected with the offset error correction quantity DELTAP1 as to the current output voltage Pn, and, charging/discharging control over the battery 1 is performed on the basis of the battery voltage Pkn after the correction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、バッテリの電圧を検出
して充放電制御するバッテリコントローラに関するもの
である。ノートパソコンなどの携帯型パソコンをバッテ
リで動作させる場合、バッテリの電圧をA−D変換し、
オフセット電圧を自動的に補正して正確なバッテリ電圧
がLOWバッテリ電圧、満充電電圧に一致したことを検
出し、バッテリの放電停止、充電停止などをすることが
望まれている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery controller for detecting the voltage of a battery and controlling charge / discharge. When operating a portable personal computer such as a notebook computer with a battery, the voltage of the battery is A-D converted,
It is desired to automatically correct the offset voltage, detect that the accurate battery voltage matches the LOW battery voltage and the full charge voltage, and stop the discharge and charge of the battery.

【0002】[0002]

【従来の技術】従来、ノートパソコンなどの装置におい
て、ニッケルカドニウム電池やニッケル水素電池などの
放電電圧を検出し、LOWバッテリ電圧やDEADバッ
テリ電圧と等しくなったときに当該LOWバッテリ電圧
やDEADバッテリ電圧の旨のアラームを表示してい
た。
2. Description of the Related Art Conventionally, in a device such as a notebook computer, a discharge voltage of a nickel-cadmium battery or a nickel-hydrogen battery is detected, and when the discharge voltage becomes equal to the LOW battery voltage or the DEAD battery voltage, the LOW battery voltage or the DEAD battery voltage is detected. I was displaying an alarm to that effect.

【0003】[0003]

【発明が解決しようとする課題】上述したLOWバッテ
リ電圧やDEADバッテリ電圧を検出する場合、従来
は、A−D変換器や基準電圧などの変動に対するオフセ
ット電圧を補正することなく、基準電圧Vrefをもと
にデジタル値に変換し、このデジタル値のバッテリ電圧
がLOWバッテリ電圧やDEADバッテリ電圧に一致し
たときにアラームを表示していたため、図4に示すよう
に、実際に電圧を検出した場合、図中の実線の基準電圧
に比し、点線で示すようなオフセット電圧の誤差が生
じ、正確に検出できない事態が発生するという問題があ
った。このために、正確なLOWバッテリ電圧やDEA
Dバッテリ電圧が検出できず、バッテリ残量がまだ残っ
ているにもかかわらずLOWバッテリ電圧を検出して放
電を停止してしまったり、逆にバッテリ残量が殆ど無い
にもかかわらず、まだLOWバッテリ電圧を検出でき
ず、LOWバッテリ電圧を検出した時点では電源が不安
定となり、システムが暴走してしまう問題があった。
In the case of detecting the LOW battery voltage or the DEAD battery voltage described above, the reference voltage Vref is conventionally used without correcting the offset voltage with respect to the fluctuation of the A / D converter or the reference voltage. Originally converted to a digital value, an alarm was displayed when the battery voltage of this digital value coincided with the LOW battery voltage or the DEAD battery voltage. Therefore, as shown in FIG. 4, when the voltage is actually detected, There is a problem that an error of the offset voltage as shown by the dotted line occurs in comparison with the reference voltage of the solid line in the figure, and a situation in which it cannot be accurately detected occurs. For this reason, the exact LOW battery voltage and DEA
D Battery voltage cannot be detected, LOW battery voltage is detected even though the remaining battery level is still remaining, and discharge has stopped. There was a problem that the power supply became unstable at the time when the battery voltage could not be detected and the LOW battery voltage was detected, causing the system to run away.

【0004】本発明は、これらの問題を解決するため、
バッテリ電圧のオフセット電圧を補正し、正確なバッテ
リ電圧がLOWバッテリ電圧や満充電電圧に一致したこ
とを検出し、これをもとに的確なバッテリの放電停止、
充電停止などを行うと共にバッテリ電圧の低下しすぎに
よるシステムの暴走を防止することを目的としている。
The present invention solves these problems.
Correct the offset voltage of the battery voltage, detect that the accurate battery voltage matches the LOW battery voltage or full charge voltage, and based on this, accurately stop the discharge of the battery,
The purpose is to stop charging and to prevent system runaway due to excessively low battery voltage.

【0005】[0005]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、A−D変
換器2は、入力された電圧について、入力された基準電
圧Vrefを基準にデジタルの電圧に変換して出力する
ものである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, the AD converter 2 converts an input voltage into a digital voltage based on the input reference voltage Vref and outputs the digital voltage.

【0006】バッテリ電圧オフセット補正回路3は、バ
ッテリ1のオフセット誤差を補正するものである。オフ
セット補正用基準電圧生成回路6は、オフセット補正用
基準電圧V1、V2を生成するものである。
The battery voltage offset correction circuit 3 corrects the offset error of the battery 1. The offset correction reference voltage generation circuit 6 generates offset correction reference voltages V1 and V2.

【0007】[0007]

【作用】本発明は、図1に示すように、バッテリ電圧オ
フセット補正回路3がオフセット補正用基準電圧生成回
路6によって生成されたオフセット補正用基準電圧V1
をA−D変換器2に入力してそのときの出力電圧P1を
もとにオフセット誤差補正量ΔP1を算出した後、バッ
テリ1からの電圧VnをA−D変換器2に入力してその
ときの出力電圧Pnについて、このオフセット誤差補正
量ΔP1で補正した正しいバッテリ電圧Pknを算出
し、算出した補正後のバッテリ電圧Pknをもとにバッ
テリ1の充放電制御を行わせるようにしている。
According to the present invention, as shown in FIG. 1, the battery voltage offset correction circuit 3 generates the offset correction reference voltage V1 generated by the offset correction reference voltage generation circuit 6.
Is input to the A / D converter 2 and the offset error correction amount ΔP1 is calculated based on the output voltage P1 at that time, and then the voltage Vn from the battery 1 is input to the A / D converter 2 With respect to the output voltage Pn, the correct battery voltage Pkn corrected by the offset error correction amount ΔP1 is calculated, and the charge / discharge control of the battery 1 is performed based on the calculated corrected battery voltage Pkn.

【0008】また、バッテリ電圧オフセット補正回路3
がオフセット補正用基準電圧生成回路6によって生成さ
れたオフセット補正用基準電圧V1、V2をA−D変換
器2にそれぞれ入力してそのときの出力電圧P1、P2
をもとにオフセット誤差補正量ΔPnを算出した後、バ
ッテリ1からの電圧VnをA−D変換器2に入力してそ
のときの出力電圧Pnについて、このオフセット誤差補
正量ΔPnで補正した正しいバッテリ電圧Pknを Pkn=Pn−ΔPn ΔPn={(ΔP2−ΔP1)/(V2−V1)}(V
n−V1)+ΔP1 として算出し、この算出した補正後のバッテリ電圧Pk
nをもとにバッテリ1の充放電制御を行わせるようにし
ている。
Further, the battery voltage offset correction circuit 3
Respectively input the offset correction reference voltages V1 and V2 generated by the offset correction reference voltage generation circuit 6 to the AD converter 2, and output voltages P1 and P2 at that time, respectively.
After calculating the offset error correction amount ΔPn based on, the voltage Vn from the battery 1 is input to the AD converter 2 and the output voltage Pn at that time is corrected by the offset error correction amount ΔPn to obtain a correct battery. The voltage Pkn is expressed as Pkn = Pn-ΔPn ΔPn = {(ΔP2-ΔP1) / (V2-V1)} (V
n−V1) + ΔP1 and the calculated corrected battery voltage Pk
The charging / discharging control of the battery 1 is performed based on n.

【0009】これらの際に、バッテリ1のテジタルの補
正後のバッテリ電圧がLOWバッテリ電圧あるいは満充
電電圧に一致したときにバッテリ1の放電停止あるいは
充電停止させるようにしている。
In these cases, the discharge or charge of the battery 1 is stopped when the battery voltage after the digital correction of the battery 1 matches the LOW battery voltage or the full charge voltage.

【0010】従って、A−D変換器2のオフセットを自
動補正し、正確なバッテリ電圧がLOWバッテリ電圧や
満充電電圧に一致したことを検出し、これらをもとに的
確なバッテリの放電停止、充電停止などを行うと共にバ
ッテリ電圧の低下しすぎによるシステムの暴走を防止す
ることが可能となる。
Therefore, the offset of the A / D converter 2 is automatically corrected, and it is detected that the accurate battery voltage matches the LOW battery voltage or the full charge voltage. Based on these, accurate battery discharge stop, It is possible to stop charging and prevent system runaway due to too low battery voltage.

【0011】[0011]

【実施例】次に、図1から図3を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0012】図1は、本発明の1実施例構成図を示す。
図1において、バッテリ1は、充放電対象のバッテリで
ある。A−D変換器2は、入力された電圧について、入
力された基準電圧Vrefを基準にデジタルのバッテリ
電圧に変換して出力するものであって、ここでは、順次
切替可能な入力端子A−D0、A−D1、A−D2の3
組を持つと共に基準電圧Vrefを入力する端子を持つ
ものである。これら3つの入力端子A−D0、A−D
1、A−D2のいずれの電圧をA−D変換するかは、A
−Dセレクト信号によって行い、そのときのA−D変換
値を順次取り出す。
FIG. 1 shows a block diagram of an embodiment of the present invention.
In FIG. 1, a battery 1 is a battery to be charged / discharged. The A / D converter 2 converts the input voltage into a digital battery voltage based on the input reference voltage Vref and outputs the digital battery voltage. Here, the input terminals A-D0 that can be sequentially switched are used. , A-D1 and A-D2 3
It has a pair and a terminal for inputting the reference voltage Vref. These three input terminals A-D0, A-D
Which voltage of 1 or A-D2 is A-D converted is A
It is performed by the -D select signal, and the A-D converted values at that time are sequentially taken out.

【0013】バッテリ電圧オフセット補正回路3は、バ
ッテリ1のオフセット誤差を補正するものであって、後
述する図3のフローチャートに従ってオフセット補正用
基準電圧V1、V2をA−D変換した値をもとにオフセ
ット誤差を補正するものである。
The battery voltage offset correction circuit 3 is for correcting the offset error of the battery 1, and based on a value obtained by A / D converting the offset correction reference voltages V1 and V2 in accordance with a flow chart of FIG. 3 described later. The offset error is corrected.

【0014】CPU4は、バッテリ電圧オフセット補正
回路3によって補正された後の正しいバッテリ電圧がL
OWバッテリ電圧、満充電電圧に一致したときに、バッ
テリ1の充放電制御(バッテリ1の放電停止、充電停止
など)を行うものである。
The CPU 4 determines that the correct battery voltage after being corrected by the battery voltage offset correction circuit 3 is L.
When the OW battery voltage and the full-charge voltage match, the charging / discharging control of the battery 1 (stopping discharge of the battery 1, stopping charging, etc.) is performed.

【0015】DC−DCコンバータ5は、バッテリ1か
らの電圧を入力とし、電圧の異なる直流電圧に変換する
ものであって、ここでは、A−D変換器2に入力する基
準電圧Vrefおよびオフセット補正用基準電圧生成部
6に入力する基準電圧Vrefを生成するものである。
ここでは、両者に等しい基準電圧Vrefを生成して入
力している。
The DC-DC converter 5 receives the voltage from the battery 1 and converts it into a DC voltage having a different voltage. Here, the reference voltage Vref and the offset correction input to the AD converter 2 are used. The reference voltage Vref input to the reference voltage generator 6 for use is generated.
Here, a reference voltage Vref equal to both is generated and input.

【0016】オフセット補正用基準電圧生成回路6は、
入力された基準電圧Vrefをもとに、オフセット補正
用基準電圧V1、V2を生成するものである。この生成
したオフセット補正用基準電圧V1、V2は、A−D変
換器2に入力し、バッテリ電圧オフセット補正回路3
が、A−Dセレクタ信号によって、バッテリ1からの電
圧、オフセット補正用基準電圧回路6からのオフセット
補正用基準電圧V1、V2のA−D変換値を順次取り込
み、オフセット誤差補正量ΔP1、ΔPnを生成してバ
ッテリ電圧を補正する。
The offset correction reference voltage generating circuit 6 is
The offset correcting reference voltages V1 and V2 are generated based on the input reference voltage Vref. The generated offset correction reference voltages V1 and V2 are input to the A / D converter 2, and the battery voltage offset correction circuit 3
However, according to the A-D selector signal, the A-D converted values of the voltage from the battery 1 and the offset correction reference voltages V1 and V2 from the offset correction reference voltage circuit 6 are sequentially taken in, and the offset error correction amounts ΔP1 and ΔPn are obtained. Generate and correct battery voltage.

【0017】電圧分圧回路7は、バッテリ1のバッテリ
電圧をA−D変換器2によって測定できる電圧範囲に抵
抗分圧するものである。次に、図2を用いてオフセット
補正について詳細に説明する。
The voltage dividing circuit 7 divides the battery voltage of the battery 1 into a voltage range that can be measured by the AD converter 2 by resistance division. Next, the offset correction will be described in detail with reference to FIG.

【0018】(1) 2つのオフセット補正用基準電圧
V1、V2をもとに、オフセット電圧補正直線を求め、
A−D変換器2のオフセット誤差補正量ΔPnを求め、
オフセット補正する場合について説明する。
(1) An offset voltage correction straight line is obtained based on the two offset correction reference voltages V1 and V2.
The offset error correction amount ΔPn of the A / D converter 2 is calculated,
The case of offset correction will be described.

【0019】 図2に示すように、オフセット補正用
基準電圧生成回路6によって生成したオフセット補正用
基準電圧V1を、A−D変換器2に入力してそのときの
A−D変換値をP1とする。この際、オフセット補正用
基準電圧V1に対する誤差を含まない正しいA−D変換
値をPk1とする(予め算出あるいは予め測定してお
く)と、オフセット誤差補正量ΔP1は、 ΔP1=Pk1−P1 (式1) と求まる。
As shown in FIG. 2, the offset correction reference voltage V1 generated by the offset correction reference voltage generation circuit 6 is input to the A / D converter 2 and the A / D conversion value at that time is designated as P1. To do. At this time, if the correct AD conversion value that does not include an error with respect to the offset correction reference voltage V1 is Pk1 (preliminarily calculated or previously measured), the offset error correction amount ΔP1 is ΔP1 = Pk1-P1 (equation 1) is obtained.

【0020】 同様に、図2に示すように、オフセッ
ト補正用基準電圧生成回路6によって生成したオフセッ
ト補正用基準電圧V2を、A−D変換器2に入力してそ
のときのA−D変換値をP2とする。この際、オフセッ
ト補正用基準電圧V2に対する誤差を含まない正しいA
−D変換値をPk2とする(予め算出あるいは予め測定
しておく)と、オフセット誤差補正量ΔP2は、 ΔP2=Pk2−P2 (式2) と求まる。
Similarly, as shown in FIG. 2, the offset correction reference voltage V2 generated by the offset correction reference voltage generation circuit 6 is input to the A / D converter 2 and the A / D conversion value at that time is input. Be P2. At this time, a correct A that does not include an error with respect to the offset correction reference voltage V2
When the -D conversion value is set to Pk2 (calculated or measured in advance), the offset error correction amount ΔP2 is calculated as ΔP2 = Pk2-P2 (Equation 2).

【0021】 測定しようとする電圧をVnとする
と、オフセット誤差補正量ΔPnは、(式1)と(式
2)とから ΔPn={(ΔP2−ΔP1)/(V2−V1)}×(Vn−V1) +ΔP1 (式3) と求まる。
When the voltage to be measured is Vn, the offset error correction amount ΔPn is ΔPn = {(ΔP2-ΔP1) / (V2-V1)} × (Vn- V1) + ΔP1 (Equation 3)

【0022】 従って、オフセット補正した電圧Pk
nは、 Pkn=Pn−ΔPn (式4) と求まる。
Therefore, the offset-corrected voltage Pk
n is calculated as Pkn = Pn−ΔPn (Equation 4).

【0023】(2) 1つのオフセット補正用基準電圧
V1をもとに、A−D変換器2のオフセット誤差補正量
ΔP1を求め、オフセット補正する場合について説明す
る。 図2に示すように、オフセット補正用基準電圧生成
回路6によって生成したオフセット補正用基準電圧V1
を、A−D変換器2に入力してそのときのA−D変換値
をP1とする。この際、オフセット補正用基準電圧V1
に対する誤差を含まない正しいA−D変換値をPk1と
する(予め算出あるいは予め測定しておく)と、オフセ
ット誤差補正量ΔP1は、 ΔP1=Pk1−P1 (式5) と求まる。
(2) A case will be described in which the offset error correction amount ΔP1 of the AD converter 2 is obtained based on one offset correction reference voltage V1 and the offset is corrected. As shown in FIG. 2, the offset correction reference voltage V1 generated by the offset correction reference voltage generation circuit 6 is generated.
Is input to the A / D converter 2 and the A / D converted value at that time is set to P1. At this time, the offset correction reference voltage V1
If the correct AD conversion value that does not include the error for Pk1 is set (calculated or measured in advance), the offset error correction amount ΔP1 is calculated as ΔP1 = Pk1−P1 (Equation 5).

【0024】 測定しようとする電圧をVnとする
と、オフセット補正した電圧Pknは、(式5)から Pkn=Pn−ΔP1 (式6) と求まる。
When the voltage to be measured is Vn, the offset-corrected voltage Pkn is obtained from (Equation 5) as Pkn = Pn−ΔP1 (Equation 6).

【0025】次に、図3のフローチャートに示す順序に
従い、図1の構成のもとで、バッテリ1の正しいオフセ
ット補正後のバッテリ電圧の検出について、詳細に説明
する。ここでは、上述した(2)で求めた(式6)によ
ってオフセット補正した電圧Pknを測定する場合を例
に説明する。
Next, the detection of the battery voltage after the correct offset correction of the battery 1 under the configuration of FIG. 1 will be described in detail according to the order shown in the flowchart of FIG. Here, a case will be described as an example where the offset-corrected voltage Pkn is measured by (Equation 6) obtained in (2) described above.

【0026】図2において、S1は、オフセット測定電
圧を検出する。これは、オフセット補正用基準電圧生成
回路6によって生成したオフセット補正用基準電圧V1
をA−D変換器2によってA−D変換したA−D変換値
P1を、バッテリ電圧オフセット補正回路3が取り込
む。
In FIG. 2, S1 detects the offset measurement voltage. This is the offset correction reference voltage V1 generated by the offset correction reference voltage generation circuit 6.
The battery voltage offset correction circuit 3 takes in an A-D converted value P1 obtained by A-D converting the A-D converted by the A-D converter 2.

【0027】S2は、オフセット値の計算を行う。これ
は、右側に記載したように、(式5)に代入して ΔP1=Pk1−P1 のオフセット誤差補正量ΔP1の計算を行う。
At S2, the offset value is calculated. As described on the right side, this is substituted into (Equation 5) to calculate the offset error correction amount ΔP1 of ΔP1 = Pk1−P1.

【0028】S3は、電圧の測定を行う。これは、右側
に記載したように、バッテリ電圧をA−D変換したバッ
テリ電圧Pnの測定を行う。S4は、電圧値の補正を行
う。これは、右側に記載したように、S3で測定したバ
ッテリ電圧を補正、即ち、(式6) Pkn=Pn−ΔP1 に代入(S2で算出したオフセット誤差補正量ΔP1、
S3で測定したバッテリ電圧Pnを代入)し、オフセッ
ト補正後のバッテリ電圧Pknを求める。
In step S3, the voltage is measured. This measures the battery voltage Pn which AD-converted the battery voltage as described on the right side. In S4, the voltage value is corrected. As described on the right side, this is the correction of the battery voltage measured in S3, that is, (Equation 6) Pkn = Pn-ΔP1 is substituted (the offset error correction amount ΔP1, calculated in S2,
The battery voltage Pn measured in S3 is substituted) to obtain the battery voltage Pkn after offset correction.

【0029】S5は、LOWバッテリ電圧か判別する。
YESの場合には、オフセット補正後のバッテリ電圧が
LOWバッテリ電圧と一致したので、S6でLOWバッ
テリ処理(バッテリ1の放電停止など)を行う。一方、
NOの場合には、S7に進む。
In S5, it is determined whether the battery voltage is LOW.
In the case of YES, since the battery voltage after the offset correction matches the LOW battery voltage, the LOW battery process (such as stopping the discharge of the battery 1) is performed in S6. on the other hand,
If NO, the process proceeds to S7.

【0030】S7は、満充電電圧か判別する。YESの
場合には、オフセット補正後のバッテリ電圧が満充電電
圧と一致したので、S8で満充電処理(バッテリ1の充
電停止など)を行う。一方、NOの場合には、終了す
る。
In step S7, it is determined whether the voltage is the full charge voltage. In the case of YES, since the battery voltage after the offset correction matches the full charge voltage, the full charge process (stopping charging of the battery 1 or the like) is performed in S8. On the other hand, in the case of NO, the process ends.

【0031】以上によって、A−D変換器2の基準電圧
Vrefと同一の基準電圧Vrefをもとにオフセット
補正用基準電圧生成回路6が生成したオフセット補正用
基準電圧V1のときのA−D変換器2によって変換した
A−D変換値P1を(式5)に代入してオフセット誤差
補正量ΔP1を算出した後、バッテリ1のバッテリ電圧
をA−D変換器2によって変換したバッテリ電圧Pnを
(式6)に代入してオフセット補正後のバッテリ電圧P
knを算出する。この算出したオフセット補正後のバッ
テリ電圧Pknが、バッテリ1の放電時にLOWバッテ
リ電圧と等しくなったときにLOWバッテリ処理(バッ
テリ1の放電停止など)したり、バッテリの充電時に満
充電電圧と等しくなったときに満充電処理(バッテリ1
の充電停止など)したりすることにより、正確なオフセ
ット補正後のバッテリ電圧をもとにバッテリ1の放電停
止や充電停止を行うことが可能となり、バッテリ1の過
放電や過充電を防止し、バッテリ1の劣化やバッテリ1
から電源を供給したシステムの暴走を防止できる。
As described above, A / D conversion is performed when the offset correction reference voltage V1 is generated by the offset correction reference voltage generation circuit 6 based on the same reference voltage Vref as the reference voltage Vref of the A / D converter 2. After substituting the AD conversion value P1 converted by the converter 2 into (Equation 5) to calculate the offset error correction amount ΔP1, the battery voltage Pn converted by the AD converter 2 from the battery voltage of the battery 1 is calculated as Substituting into equation 6), the battery voltage P after offset correction
Calculate kn. When the calculated offset-corrected battery voltage Pkn becomes equal to the LOW battery voltage when the battery 1 is discharged, LOW battery processing (such as stopping the discharge of the battery 1) is performed or becomes equal to the full charge voltage when the battery is charged. Full charge process (battery 1
It is possible to stop the discharge and charge of the battery 1 based on the battery voltage after the accurate offset correction, and prevent over-discharge and overcharge of the battery 1, Battery 1 deterioration and battery 1
It is possible to prevent runaway of the system that is supplied with power from.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
オフセット補正用基準電圧生成回路6によって生成され
たオフセット補正用基準電圧V1(あるいはV1とV
2)をA−D変換器2に入力してそのときの出力電圧P
1(あるいはP1とP2)をもとにオフセット誤差補正
量ΔP1(あるいはΔPn)を算出した後、バッテリ1
からの電圧VnをA−D変換器2に入力してそのときの
出力電圧Pnについて、このオフセット誤差補正量ΔP
1(あるいはΔPn)で補正した正しいバッテリ電圧P
knを算出する構成を採用しているため、A−D変換器
2のオフセットを自動補正してオフセット誤差のないバ
ッテリ電圧を常に検出し、このオフセット補正後の正確
なバッテリ電圧をもとに、LOWバッテリ電圧や満充電
電圧などと一致したときに的確なバッテリの放電停止や
充電停止などを行うことができ、バッテリ1の劣化を防
止したり、バッテリ電圧の低下しすぎによるシステムの
暴走を防止したりすることが可能となる。
As described above, according to the present invention,
The offset correction reference voltage V1 generated by the offset correction reference voltage generation circuit 6 (or V1 and V
2) is input to the AD converter 2 and the output voltage P at that time is input.
After calculating the offset error correction amount ΔP1 (or ΔPn) based on 1 (or P1 and P2), the battery 1
The voltage Vn from V is input to the A / D converter 2 and the offset voltage correction amount ΔP is applied to the output voltage Pn at that time.
Correct battery voltage P corrected by 1 (or ΔPn)
Since the configuration for calculating kn is adopted, the offset of the AD converter 2 is automatically corrected to constantly detect the battery voltage without an offset error, and based on the accurate battery voltage after the offset correction, When the battery voltage matches the LOW battery voltage or the full-charge voltage, it is possible to accurately stop the discharge and charge of the battery, prevent deterioration of the battery 1, and prevent system runaway due to too low battery voltage. It becomes possible to do.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明のオフセット補正の説明図である。FIG. 2 is an explanatory diagram of offset correction according to the present invention.

【図3】本発明の動作説明フローチャートである。FIG. 3 is a flowchart for explaining the operation of the present invention.

【図4】従来技術の説明図である。FIG. 4 is an explanatory diagram of a conventional technique.

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

1:バッテリ 2:A−D変換器 3:バッテリ電圧オフセット補正回路 4:CPU 5:DC−DCコンバータ 6:オフセット補正用基準電圧生成回路 7:電圧分圧回路 V1、V2:オフセット補正用基準電圧 Vref:基準電圧 1: Battery 2: A-D converter 3: Battery voltage offset correction circuit 4: CPU 5: DC-DC converter 6: Offset correction reference voltage generation circuit 7: Voltage division circuit V1, V2: Offset correction reference voltage Vref: reference voltage

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

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】バッテリの電圧を検出して充放電制御する
バッテリコントローラにおいて、 入力された電圧について、入力された基準電圧Vref
を基準にデジタルの電圧に変換して出力するA−D変換
器(2)と、 オフセット補正用基準電圧V1を生成するオフセット補
正用基準電圧生成回路(6)と、 このオフセット補正用基準電圧生成回路(6)によって
生成されたオフセット基準用電圧V1を上記A−D変換
器(2)に入力してそのときの出力電圧P1をもとにオ
フセット誤差補正量ΔP1を算出した後、バッテリ
(1)からの電圧Vnを上記A−D変換器(2)に入力
してそのときの出力電圧Pnについて、このオフセット
誤差補正量ΔP1で補正した正しいバッテリ電圧Pkn
を算出するバッテリ電圧オフセット補正回路(3)とを
備え、 この算出した補正後のバッテリ電圧Pknをもとにバッ
テリ(1)の充放電制御を行うことを特徴とするバッテ
リコントローラ。
1. A battery controller for controlling charging / discharging by detecting a battery voltage, wherein an input reference voltage Vref is input with respect to an input voltage.
A-D converter (2) for converting into a digital voltage and outputting the digital voltage, an offset correction reference voltage generation circuit (6) for generating an offset correction reference voltage V1, and an offset correction reference voltage generation The offset reference voltage V1 generated by the circuit (6) is input to the AD converter (2), the offset error correction amount ΔP1 is calculated based on the output voltage P1 at that time, and then the battery (1 ) Is input to the A / D converter (2) and the output voltage Pn at that time is corrected by the offset error correction amount ΔP1 to obtain a correct battery voltage Pkn.
And a battery voltage offset correction circuit (3) for calculating, and performing charge / discharge control of the battery (1) based on the calculated corrected battery voltage Pkn.
【請求項2】バッテリの電圧を検出して充放電制御する
バッテリコントローラにおいて、 入力された電圧について、入力された基準電圧Vref
を基準にデジタルの電圧に変換して出力するA−D変換
器(2)と、 オフセット補正用基準電圧V1、V2を生成するオフセ
ット補正用基準電圧生成回路(6)と、 このオフセット補正用基準電圧生成回路(6)によって
生成されたオフセット基準用電圧V1、V2を上記A−
D変換器(2)にそれぞれ入力してそのときの出力電圧
P1、P2の2つをもとにオフセット誤差補正量ΔPn
を算出した後、バッテリ(1)からの電圧Vnを上記A
−D変換器(2)に入力してそのときの出力電圧Pnに
ついて、このオフセット誤差補正量ΔPnで補正した正
しいバッテリ電圧Pknを Pkn=Pn−ΔPn ΔPn={(ΔP2−ΔP1)/(V2−V1)}(V
n−V1)+ΔP1 として算出するバッテリ電圧オフセット補正回路(3)
とを備え、 この算出した補正後のバッテリ電圧Pknをもとにバッ
テリ(1)の充放電制御を行うことを特徴とするバッテ
リコントローラ。
2. A battery controller for detecting a voltage of a battery and controlling charging / discharging, wherein an input reference voltage Vref is input with respect to an input voltage.
A-D converter (2) that converts the voltage into a digital voltage and outputs the digital voltage, an offset correction reference voltage generation circuit (6) that generates the offset correction reference voltages V1 and V2, and the offset correction reference The offset reference voltages V1 and V2 generated by the voltage generation circuit (6) are set to A-
The offset error correction amount ΔPn is input to the D converter (2) based on the two output voltages P1 and P2 at that time.
Then, the voltage Vn from the battery (1) is calculated as
With respect to the output voltage Pn input to the -D converter (2) at that time, the correct battery voltage Pkn corrected by this offset error correction amount ΔPn is Pkn = Pn-ΔPn ΔPn = {(ΔP2-ΔP1) / (V2- V1)} (V
n-V1) + ΔP1 battery voltage offset correction circuit (3)
And a charge / discharge control of the battery (1) based on the calculated corrected battery voltage Pkn.
【請求項3】上記バッテリ(1)のテジタルの補正後の
バッテリ電圧がLOWバッテリ電圧あるいは満充電電圧
と一致したときにバッテリ(1)の放電停止あるいは充
電停止させることを特徴とする請求項1あるいは請求項
2に記載のバッテリコントローラ。
3. The discharge stop or charge stop of the battery (1) when the battery voltage after the digital correction of the battery (1) coincides with the LOW battery voltage or the full charge voltage. Alternatively, the battery controller according to claim 2.
JP6028649A 1994-02-28 1994-02-28 Battery controller Pending JPH07239735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6028649A JPH07239735A (en) 1994-02-28 1994-02-28 Battery controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6028649A JPH07239735A (en) 1994-02-28 1994-02-28 Battery controller

Publications (1)

Publication Number Publication Date
JPH07239735A true JPH07239735A (en) 1995-09-12

Family

ID=12254363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6028649A Pending JPH07239735A (en) 1994-02-28 1994-02-28 Battery controller

Country Status (1)

Country Link
JP (1) JPH07239735A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006254611A (en) * 2005-03-11 2006-09-21 Seiko Epson Corp Battery control circuit and electronic apparatus equipped with battery control circuit
WO2019077707A1 (en) * 2017-10-18 2019-04-25 日本たばこ産業株式会社 Inhalation component generation device, method for controlling inhalation component generation device, and program
US11399572B2 (en) 2017-10-18 2022-08-02 Japan Tobacco Inc. Inhalation component generation device, method of controlling inhalation component generation device, inhalation component generation system, and program
US11771140B2 (en) 2017-10-18 2023-10-03 Japan Tobacco Inc. Inhalation component generation device, method for controlling inhalation component generation device, and program
US11944126B2 (en) 2017-10-18 2024-04-02 Japan Tobacco Inc. Inhalation component generation device, method of controlling inhalation component generation device, and program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006254611A (en) * 2005-03-11 2006-09-21 Seiko Epson Corp Battery control circuit and electronic apparatus equipped with battery control circuit
JP4577502B2 (en) * 2005-03-11 2010-11-10 セイコーエプソン株式会社 Battery control circuit and electronic device provided with the battery control circuit
WO2019077707A1 (en) * 2017-10-18 2019-04-25 日本たばこ産業株式会社 Inhalation component generation device, method for controlling inhalation component generation device, and program
KR20200055041A (en) * 2017-10-18 2020-05-20 니뽄 다바코 산교 가부시키가이샤 Aspiration component generating device, method for controlling suction component generating device, and program
CN111278308A (en) * 2017-10-18 2020-06-12 日本烟草产业株式会社 Attraction component generation device, method for controlling attraction component generation device, and program
JPWO2019077707A1 (en) * 2017-10-18 2020-07-16 日本たばこ産業株式会社 Suction component generation device, method for controlling suction component generation device, and program
EP3692828A4 (en) * 2017-10-18 2020-11-04 Japan Tobacco Inc. Inhalation component generation device, method for controlling inhalation component generation device, and program
US11160311B2 (en) 2017-10-18 2021-11-02 Japan Tobacco Inc. Inhalation component generation device, method for controlling inhalation component generation device, and program
CN111278308B (en) * 2017-10-18 2022-05-31 日本烟草产业株式会社 Attraction component generation device, method of controlling attraction component generation device, and storage medium
US11399572B2 (en) 2017-10-18 2022-08-02 Japan Tobacco Inc. Inhalation component generation device, method of controlling inhalation component generation device, inhalation component generation system, and program
US11771140B2 (en) 2017-10-18 2023-10-03 Japan Tobacco Inc. Inhalation component generation device, method for controlling inhalation component generation device, and program
US11944126B2 (en) 2017-10-18 2024-04-02 Japan Tobacco Inc. Inhalation component generation device, method of controlling inhalation component generation device, and program

Similar Documents

Publication Publication Date Title
CN103872398B (en) Charging method of rechargeable battery and related charging structure
US10527656B2 (en) Method for preventing battery overcharge and overdischarge and increasing battery efficiency
WO2017154112A1 (en) Battery monitoring device and method
JP2003057321A (en) Arithmetic unit and method for output deterioration of secondary battery
JP2002343445A (en) Voltage detecting circuit for battery pack
JPH11162526A (en) Battery condition detecting device
CN112542828B (en) Voltage adjusting method, direct current micro-grid and computer readable storage medium
US6972545B2 (en) Battery pack and battery remaining power calculating method
KR20170122063A (en) Method for controlling start of fuel cell vehicle
JP2008189065A (en) Electric source device for vehicle
US20210013729A1 (en) Battery Charge/Discharge Management Method And System
JPH1094187A (en) Battery charger
JPH07239735A (en) Battery controller
CN107949966B (en) Power supply device
JP5657602B2 (en) In-vehicle charger
JP2001021630A (en) Battery charging device and detecting method full charge
JP4920306B2 (en) Storage battery state monitoring device, storage battery state monitoring method, storage battery state monitoring program
US10110022B2 (en) Battery charging apparatus and method
JP2000131404A (en) Cell deterioration degree determining apparatus
JP3398921B2 (en) Battery internal resistance measurement device
US20230208179A1 (en) Battery charger
JP2011149726A (en) Device for measuring state of charge
JPH07241043A (en) Charge/discharge controller for battery
JP2003051341A (en) Residual capacity meter for battery
US20050093516A1 (en) Method and apparatus for measuring electrical cell voltage