JPH09308131A - Electronic device and control thereof - Google Patents

Electronic device and control thereof

Info

Publication number
JPH09308131A
JPH09308131A JP8120668A JP12066896A JPH09308131A JP H09308131 A JPH09308131 A JP H09308131A JP 8120668 A JP8120668 A JP 8120668A JP 12066896 A JP12066896 A JP 12066896A JP H09308131 A JPH09308131 A JP H09308131A
Authority
JP
Japan
Prior art keywords
battery
voltage
electronic device
main battery
battery pack
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
JP8120668A
Other languages
Japanese (ja)
Inventor
Masahiro Minowa
政寛 箕輪
Koichi Kurose
光一 黒瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP8120668A priority Critical patent/JPH09308131A/en
Publication of JPH09308131A publication Critical patent/JPH09308131A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to use energy stored in a battery effectively by eliminating a memory effect of the battery. SOLUTION: Battery packs 1, 2 are connected to a circuit section through switching means 3, 4 and 5, 6 respectively. Usually, one of the switching means is turned on and power is supplied by that switching means. When a residual capacity of the battery which is supplying power is detected and the detected value is a specified level or below, the battery is changed over to the other battery and the battery which has been used is forcibly discharged. The discharging current is used for charging the other battery by a DC-DC converter 40a.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電力源としてバッ
テリとACアダプタを有する電子装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device having a battery and an AC adapter as a power source.

【0002】[0002]

【従来の技術】従来の、バッテリ等の電力源を有する電
子装置においては、電圧を検出してバッテリの残り容量
を検出し、これが所定の電位以下の時、他方のバッテリ
に切り替え、充電を指示する表示をしたり、ACアダプ
タが接続されると、無条件に充電する制御方法であっ
た。又、ニッケルカドミウム電池では、バッテリの残り
容量を推定するとき、特有のメモリ効果によって正確な
検出が難しく使用者にバッテリの完全放電をするよう取
扱い説明書で指示したりするのが一般的であった。
2. Description of the Related Art In a conventional electronic device having a power source such as a battery, a voltage is detected to detect a remaining capacity of the battery, and when the remaining capacity is lower than a predetermined potential, the other battery is switched to instruct charging. It was a control method of charging unconditionally when a display to indicate or an AC adapter was connected. When estimating the remaining capacity of a nickel-cadmium battery, it is difficult to accurately detect it due to its unique memory effect, and it is common to instruct the user to completely discharge the battery. It was

【0003】[0003]

【発明が解決しようとする課題】使用者が上記完全放電
を怠ると残容量がかなりあるにもかかわらず、早めに電
池の終了状態を表示してしまう等の不具合があった。ま
た、完全放電していないものに、途中から充電をするた
め、過充電となってバッテリの寿命を縮めることとなっ
ていた。
If the user neglects the above complete discharge, there is a problem that the end state of the battery is displayed early although the remaining capacity is considerable. In addition, since the battery that has not been completely discharged is charged from the middle, the battery is overcharged and the battery life is shortened.

【0004】本発明は上記のような課題を解決するもの
で、バッテリ等の電力源を有する電子装置において、使
用者に最も適したバッテリ等の電力制御手段を有する電
子装置を提供することを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to provide an electronic device having a power source such as a battery and having a power control means such as a battery most suitable for a user. And

【0005】[0005]

【課題を解決するための手段】本発明は上記課題を解決
するもので、主電源としての複数の主バッテリと、AC
アダプタと、主バッテリ及びACアダプタを制御する電
力制御手段と、主バッテリの個々の電圧を計測する電圧
検出手段とを有し、主バッテリを切り替えながら電力を
供給する電子装置において、電力制御手段は、ACアダ
プタから主バッテリへの充電をオン・オフし複数のバッ
テリに対応して設置されたスイッチ手段と前記主バッテ
リを放電する放電回路とを有し、供給中の主バッテリの
電位が所定の電位となった時、他方の主バッテリに供給
元を切り替えるとともに所定電位以下となった側の電荷
を放電する制御手段を有することを特徴とする電子装置
である。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems and includes a plurality of main batteries as main power supplies and an AC.
In an electronic device that has an adapter, a power control unit that controls the main battery and the AC adapter, and a voltage detection unit that measures each voltage of the main battery, the power control unit is an electronic device that supplies power while switching the main battery. , A switching means installed corresponding to a plurality of batteries to turn on / off charging of the main battery from the AC adapter and a discharge circuit for discharging the main battery, and the main battery being supplied has a predetermined potential. The electronic device is characterized by having a control means for switching the supply source to the other main battery and discharging the electric charge on the side having a predetermined potential or less when the potential is reached.

【0006】又、本発明は、主電源としての複数の主バ
ッテリと、ACアダプタと、前記主バッテリ及びACア
ダプタを制御する電力制御手段と、前記主バッテリの電
圧を計測する電圧検出手段とを有し、前記主バッテリを
切り替えながら電力を供給する電子装置において、前記
供給中の主バッテリの電圧が所定の電位以下となった
時、供給元の主バッテリを他方に切り替えるとともに、
所定電位以下となったバッテリを充分に放電し、該放電
が終了した後、前記ACアダプタによる充電を開始する
ことを特徴とする電子装置の制御方法である。
Further, the present invention comprises a plurality of main batteries as main power sources, an AC adapter, a power control means for controlling the main battery and the AC adapter, and a voltage detecting means for measuring the voltage of the main battery. Having an electronic device that supplies electric power while switching the main battery, when the voltage of the main battery being supplied becomes equal to or lower than a predetermined potential, while switching the main battery of the supply source to the other,
A method of controlling an electronic device, comprising: fully discharging a battery having a predetermined potential or less, and starting charging by the AC adapter after the discharging is completed.

【0007】[0007]

【発明の実施の形態】以下本発明を一実施例を基に詳細
に説明する。図1は、本発明の電子装置の一種のハンド
ヘルドあるいは、ラップトップタイプの小型コンピュー
タ装置の略図であり、バッテリ電力源としてのバッテリ
パック1、バッテリパック2、バックアップ用サブバッ
テリ18、電力制御手段のバッテリ制御部7、サブCP
U7a、電圧検出手段のA/Dコンバータ8、メインC
PU9a及び周辺回路からなる主回路部9、表示部1
0、IO部16、RAM/RTC(ランダムアクセスメ
モリ/リアルタイムクロック)17、ボルテージレギュ
レータ24、DC−DCコンバータ30等から構成され
ている。バッテリ制御部7はサブCPU7aを有し、主
回路部9が停止中も電源を監視している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail based on an embodiment. FIG. 1 is a schematic diagram of a handheld or laptop type small computer device as an electronic device of the present invention, which includes a battery pack 1 as a battery power source, a battery pack 2, a backup sub-battery 18, and a power control means. Battery control unit 7, sub CP
U7a, A / D converter 8 of voltage detection means, main C
Main circuit unit 9 including PU 9a and peripheral circuits, display unit 1
0, IO unit 16, RAM / RTC (random access memory / real-time clock) 17, voltage regulator 24, DC-DC converter 30, and the like. The battery control unit 7 has a sub CPU 7a and monitors the power supply even when the main circuit unit 9 is stopped.

【0008】電界効果トランジスタ(以下FETとす
る)3、FET4、FET5、FET6はバッテリパッ
クの電力供給をオン・オフをするためのスイッチング素
子の一種であるFETスイッチであり、FETとパラレ
ルに入っているダイオード3a、4a、5a、6aはF
ET内部に存在する寄生ダイオードである。しかしFE
T4及びFET6にパラレルに入っているダイオード4
a、6aは必要に応じて順方向電圧が低く電流容量の大
きいダイオードを使用することもできる。尚、FETは
他のバイポーラトランジスタ、リレー等に置き換えるこ
とも可能である。
A field effect transistor (hereinafter referred to as FET) 3, FET 4, FET 5, and FET 6 are FET switches that are a kind of switching element for turning on / off the power supply of the battery pack, and are connected in parallel with the FET. The diodes 3a, 4a, 5a, 6a that are present are F
It is a parasitic diode existing inside the ET. But FE
Diode 4 in parallel with T4 and FET6
As a and 6a, a diode having a low forward voltage and a large current capacity can be used as required. The FET can be replaced with another bipolar transistor, a relay, or the like.

【0009】装置の電源スイッチであるスタートスイッ
チ25が投入されると、バッテリ制御部7はこれを検知
し、バッテリパック1またはバッテリパック2から所定
のFET、ボルテージレギュレータ24、DC−DCコ
ンバータ30介して各回路に電力が供給されて所定の動
作が実行可能となる。
When the start switch 25, which is a power switch of the apparatus, is turned on, the battery control section 7 detects this, and the battery pack 1 or the battery pack 2 passes through a predetermined FET, a voltage regulator 24, and a DC-DC converter 30. Then, electric power is supplied to each circuit and a predetermined operation can be executed.

【0010】電力源として、バッテリ1、2とは別にA
Cアダプタ21が備えられ、この入力端子21a、ダイ
オード23を介してバッテリ出力端子37に接続され回
路部に電力が供給可能となっている。 ACアダプタ2
1が接続されるとアダプタ検出回路22から、検出信号
が出力されFET4、6の制御端子にゲート回路26、
27を介してオフ信号が供給され、バッテリからの電力
供給が遮断される。この検出信号はバッテリ制御部にも
伝達されA/Dコンバータの検出動作もこれに対応す
る。28、29はACアダプタ21の電流をオンオフす
るトランジスタであり、バッテリパック1、2への充電
を制御する場合に用いられる。
As a power source, in addition to the batteries 1 and 2, A
A C adapter 21 is provided and connected to the battery output terminal 37 via the input terminal 21a and the diode 23 so that power can be supplied to the circuit section. AC adapter 2
When 1 is connected, a detection signal is output from the adapter detection circuit 22 and the gate circuit 26 is connected to the control terminals of the FETs 4 and 6,
An OFF signal is supplied via 27, and the power supply from the battery is cut off. This detection signal is also transmitted to the battery control unit, and the detection operation of the A / D converter corresponds to this. Reference numerals 28 and 29 denote transistors that turn on / off the current of the AC adapter 21, and are used when controlling charging of the battery packs 1 and 2.

【0011】40は、放電回路でDC−DCコンバータ
40a、スイッチ41、42を内蔵している。このDC
−DCコンバータ40a、スイッチ41、42はバッテ
リ制御部7によって制御され、バッテリパック1または
バッテリパック2の電荷を放電し他方のバッテリパック
の充電に用いられる。放電回路の出力電位は、バッテリ
パック1、2の満充電時の電位より若干高めの出力が得
られるように設定される。
A discharge circuit 40 has a DC-DC converter 40a and switches 41 and 42 built therein. This DC
The DC converter 40a and the switches 41 and 42 are controlled by the battery control unit 7, and are used for discharging the electric charge of the battery pack 1 or the battery pack 2 and charging the other battery pack. The output potential of the discharge circuit is set so that an output slightly higher than the potential when the battery packs 1 and 2 are fully charged is obtained.

【0012】バッテリ出力端子37とサブバッテリ18
はダイオード34、35を介して接続され、この接続点
36からバッテリ制御部7、A/Dコンバータ8及びR
AM/RTC17等の各回路への電源供給がなされてい
る。装置の稼働中は、出力端子側37の電位が高いので
サブバッテリから電力は供給されない。装置の通常動作
が停止している時は、バッテリ制御部7、A/Dコンバ
ータ8及びRAM/RTC17等の各回路に電力が供給
され、電圧チェック、スタートスイッチのオン等の監視
を実行中で通常動作中に比べて消費電流が非常に少なく
なる。A/Dコンバータ8はバッテリ1、2の出力端子
に接続され個別にそれぞれの電位を計測可能に構成され
ている。このA/Dコンバータ8はサブCPU7aと一
体にワンチップCPUで構成されることが多い。
Battery output terminal 37 and sub-battery 18
Are connected via diodes 34 and 35, and from this connection point 36, the battery control unit 7, A / D converter 8 and R
Power is supplied to each circuit such as the AM / RTC 17. During the operation of the device, the electric potential is not high on the output terminal side 37, so that no power is supplied from the sub-battery. When the normal operation of the device is stopped, electric power is supplied to each circuit such as the battery control unit 7, the A / D converter 8 and the RAM / RTC 17, and the voltage check and the start switch ON monitoring are being performed. The current consumption is much lower than during normal operation. The A / D converter 8 is connected to the output terminals of the batteries 1 and 2 and is configured to be able to individually measure the respective potentials. The A / D converter 8 is often configured as a one-chip CPU integrally with the sub CPU 7a.

【0013】またバッテリパック1及びバッテリパック
2が取り外されて、主電源の供給がストップした場合は
サブCPU7aの動作も停止し、サブバッテリ18によ
りRAM/RTC17のデータ保持が可能である。この
時一般に、サブCPU7aはサスペンドモードの状態と
なる。20はA/Dコンバータ8とは別に、装置の電源
を監視する電圧比較回路であり、抵抗器31、32の分
圧点の電位が、ゼナーダイオード33によって発生する
電位を基準として比較され所定の出力がコンパレータ2
0aから出力される。
When the battery pack 1 and the battery pack 2 are removed and the supply of the main power is stopped, the operation of the sub CPU 7a is also stopped, and the sub battery 18 can hold the data in the RAM / RTC 17. At this time, generally, the sub CPU 7a is in the suspend mode. Reference numeral 20 is a voltage comparison circuit for monitoring the power supply of the device, separately from the A / D converter 8, and the potentials at the voltage dividing points of the resistors 31, 32 are compared with each other with reference to the potential generated by the Zener diode 33. Output of comparator 2
0a.

【0014】11は、種々の警報を鳴らすブザー、1
2、13はバッテリパック1、2に対応した部位に設け
られたLED、14、15はバッテリ収納部の蓋にそれ
ぞれ係合し、蓋の開閉状態を検出する蓋検出スイッチを
それぞれ示す。
Reference numeral 11 denotes a buzzer that sounds various alarms, and 1
Reference numerals 2 and 13 denote LEDs provided at portions corresponding to the battery packs 1 and 2, and reference numerals 14 and 15 denote lid detection switches that engage with the lids of the battery storage portions and detect the open / closed state of the lids.

【0015】電界効果トランジスタ(以下FETとす
る)3、FET4、FET5、FET6はバッテリパッ
クの電力供給をオン・オフをするためのスイッチング素
子の一種であるFETスイッチであり、FETとパラレ
ルに入っているダイオード3a、4a、5a、6aはF
ET内部に存在する寄生ダイオードである。しかしFE
T4及びFET6にパラレルに入っているダイオード4
a、6aは必要に応じて順方向電圧が低く電流容量の大
きいダイオードを使用することもできる。
Field effect transistors (hereinafter referred to as FET) 3, FET 4, FET 5, and FET 6 are FET switches which are a kind of switching elements for turning on / off the power supply of the battery pack, and are connected in parallel with the FETs. The diodes 3a, 4a, 5a, 6a that are present are F
It is a parasitic diode existing inside the ET. But FE
Diode 4 in parallel with T4 and FET6
As a and 6a, a diode having a low forward voltage and a large current capacity can be used as required.

【0016】FET3、4が直列に接続されてバッテリ
パック1の出力端子に接続され、FET5、6が同様に
バッテリパック2の出力端子に接続されている。
The FETs 3 and 4 are connected in series and are connected to the output terminal of the battery pack 1, and the FETs 5 and 6 are similarly connected to the output terminal of the battery pack 2.

【0017】これらの4つのFETは制御端子であるゲ
ート端子を有しバッテリ制御部7によりそれぞれ独立に
オン・オフ制御可能である。尚、FETは他のバイポー
ラトランジスタ、リレー等に置き換えることも可能であ
る。
These four FETs have a gate terminal which is a control terminal and can be turned on / off independently by the battery control unit 7. The FET can be replaced with another bipolar transistor, a relay, or the like.

【0018】通常FETには寄生ダイオードが入ってい
るのでFETをオフしても寄生ダイオードを通して寄生
ダイオードのアノードからカソードの方向に電流が流れ
る。したがってこれを防ぐために一般的にFETをスイ
ッチング素子として使用する場合にはFETの寄生ダイ
オードのアノード同士またはカソード同士が向かい合う
ように2個直列に接続して完全なスイッチ機能を実現す
ることが多い。しかしこの場合直列に接続された2個の
FETが同時にオンまたはオフするように制御される。
しかし本発明の一実施例ではそれぞれのFETを独立に
オン、オフすることができる様にしたため、FET3又
は5をオンし、FET4又は6をオフすればFET3又
は5からダイオード4a又は6aを介して電力が供給さ
れ、双方ともオフならば完全にバッテリからの電力供給
が停止される様に構成されていて、様々な電力供給モー
ドに柔軟に対応可能である。
Since a FET normally contains a parasitic diode, a current flows from the anode of the parasitic diode to the cathode through the parasitic diode even when the FET is turned off. Therefore, in order to prevent this, when using an FET as a switching element, it is often the case that two parasitic diodes of the FET are connected in series so that their anodes or cathodes face each other to realize a complete switching function. However, in this case, two FETs connected in series are controlled to be turned on or off at the same time.
However, in the embodiment of the present invention, since each FET can be turned on and off independently, if the FET 3 or 5 is turned on and the FET 4 or 6 is turned off, the FET 3 or 5 passes through the diode 4a or 6a. The power is supplied, and if both are off, the power supply from the battery is completely stopped, and it is possible to flexibly cope with various power supply modes.

【0019】ACアダプタ21が接続されるとアダプタ
検出回路22から、検出信号が出力されFET4、6の
制御端子にゲート回路26、27を介してオフ信号が供
給され、バッテリからの電力供給が遮断される。この検
出信号はバッテリ制御部にも伝達されA/Dコンバータ
の検出動作もこれに対応する。
When the AC adapter 21 is connected, a detection signal is output from the adapter detection circuit 22, an OFF signal is supplied to the control terminals of the FETs 4 and 6 via the gate circuits 26 and 27, and the power supply from the battery is cut off. To be done. This detection signal is also transmitted to the battery control unit, and the detection operation of the A / D converter corresponds to this.

【0020】本実施例ではA/Cアダプタが接続されて
いない時、次のような組み合わせでFETのオン、オフ
を制御する。バッテリパック1から回路に電力を供給す
るにはFET3、FET4をオンしFET5、FET6
をオフする。(これを単一結合モードと言う。)バッテ
リパック2から回路に電力を供給する場合にはFET
3、FET4をオフしFET5、FET6をオンする。
またバッテリパック1及びバッテリパック2からダイオ
ードORにより回路に電力を供給するにはFET3、F
ET5をオンしFET4、FET6をオフする。(これ
を並列結合モードと言う。)4つのFETを独立に制御
することによりこの3種類の状態を実現することができ
る、実際の動作については以下に詳述する。
In this embodiment, when the A / C adapter is not connected, ON / OFF of the FET is controlled by the following combinations. To supply power from the battery pack 1 to the circuit, turn on FET3 and FET4 and turn FET5 and FET6 on.
Turn off. (This is called a single coupling mode.) When supplying power from the battery pack 2 to the circuit, the FET is used.
3. Turn off FET4 and turn on FET5 and FET6.
In order to supply electric power to the circuit from the battery pack 1 and the battery pack 2 by the diode OR, FET3, F
ET5 is turned on and FET4 and FET6 are turned off. (This is referred to as a parallel coupling mode.) These three kinds of states can be realized by controlling four FETs independently, and the actual operation will be described in detail below.

【0021】スタートスイッチ25が押され装置が起動
すると、先ずバッテリ制御部7は、複数の主バッテリか
ら電力を供給すべく、FET3、5をオンしFET4、
6をオフしてバッテリをOR結合する。これは以下のよ
うな理由による。
When the start switch 25 is pressed to start the device, the battery control unit 7 first turns on the FETs 3 and 5 to supply electric power from a plurality of main batteries, and the FETs 4 and 4,
Turn off 6 to OR the battery. This is for the following reasons.

【0022】すなわち、バッテリ1、2が取り外された
りした経緯があるとサブCPU9aはサスペンド状態と
なっている。このためスタートスイッチによってこれを
解除しバッテリ制御部を作動状態とする時はどちらのバ
ッテリが電力供給可能か分からないのでOR結合によっ
て、双方のバッテリから電力を供給しスタートする。
That is, if the batteries 1 and 2 are removed, the sub CPU 9a is in the suspended state. For this reason, when the start switch releases this to activate the battery control unit, it is not known which battery can supply the electric power, and therefore, the electric power is supplied from both the batteries by the OR coupling to start the operation.

【0023】この様に構成することによって、バッテリ
制御部に常時電力を供給して作動状態を維持する必要が
無く、サスペンド状態で待機させることができ、また電
源投入直後もバックアップバッテリの電力を用いること
なく、すぐに電力供給が開始された直後に、A/Dコン
バータ等を作動し、チェックプログラムを実行させるこ
とになる。これによりバックアップ電池ではA/Dコン
バータを駆動しないのでは可能な限り小容量のものにで
き、また消費電流も小さいものを選択することができ
る。
With this configuration, it is not necessary to constantly supply electric power to the battery control unit to maintain the operating state, it is possible to stand by in the suspended state, and the electric power of the backup battery is used immediately after the power is turned on. Immediately after the power supply is started immediately, the A / D converter and the like are operated and the check program is executed. As a result, the backup battery can have a capacity as small as possible without driving the A / D converter, and a battery with a small current consumption can be selected.

【0024】次に、以下の手順で使用するバッテリが決
定される。バッテリパックが双方とも装着されていて双
方のバッテリパック蓋が閉じられている場合はバッテリ
制御部7はバッテリパック1から回路に電力を供給する
ためにFET3及びFET4をオンしFET5及びFE
T6をオフする。またバッテリパック蓋が閉じられてい
てバッテリパックがどちらか片方しか装着されていない
場合には装着されている方のバッテリパックから回路に
電力を供給するための2つのFETをオンし他のバッテ
リパックから回路に電力を供給するためFETはオフす
る。
Next, the battery to be used is determined by the following procedure. When both battery packs are attached and both battery pack lids are closed, the battery control unit 7 turns on FET3 and FET4 to supply electric power from the battery pack 1 to the circuit, and turns on FET5 and FE.
Turn off T6. Also, when the battery pack lid is closed and only one of the battery packs is installed, the two FETs for supplying power to the circuit from the installed battery pack are turned on and the other battery pack is turned on. The FET is turned off to power the circuit from the FET.

【0025】同様にバッテリパック蓋が閉じられていて
バッテリパックが2本共装着されてはいるがどちらか片
方は十分に充電されていない場合は充電されている方の
バッテリパックから回路に電力を供給する。例えばバッ
テリパック1から電力を回路に供給する場合にはFET
3、FET4をオンしFET5、FET6をオフする。
逆にバッテリパック2から回路に電力を供給する場合に
はFET3、FET4をオフしてFET5、FET6を
オンする。バッテリが装着されているかどうか、十分に
充電されているかどうかはA/Dコンバータ8でバッテ
リパックの端子電圧を測定しこのA/D変換された値を
バッテリ制御部7で読み込んで判断する。バッテリ制御
部7は、双方の電位を比較し、電位の高い方を選択して
メイン回路部に供給する。この時、選択しなかった側の
バッテリの電位がすでに所定電位より低かった場合は、
この旨を主回路部に伝達し、表示あるいは警報等の手段
で使用者に認知させる。又、選択しなかった側のバッテ
リは充電をしなければ使用できないことが明らかなの
で、放電回路40のDC−DCコンバータ40aがオン
し、入力側スイッチ41が使っていた側のバッテリパッ
クに接続され放電側スイッチ42が選択側のバッテリに
接続され、放電が開始され、この放電電流は、他方のバ
ッテリパックへの充電電流となる。
Similarly, when the battery pack lid is closed and two battery packs are mounted together, but when one of the battery packs is not fully charged, power is supplied to the circuit from the charged battery pack. Supply. For example, when supplying power from the battery pack 1 to the circuit, FET
3. Turn on FET4 and turn off FET5 and FET6.
On the contrary, when power is supplied from the battery pack 2 to the circuit, FET3 and FET4 are turned off and FET5 and FET6 are turned on. Whether the battery is mounted or not is sufficiently charged is determined by measuring the terminal voltage of the battery pack by the A / D converter 8 and reading the A / D converted value by the battery control unit 7. The battery control unit 7 compares both potentials, selects the one with the higher potential, and supplies it to the main circuit unit. At this time, if the potential of the battery not selected is already lower than the predetermined potential,
This is transmitted to the main circuit section, and the user is notified by means such as display or warning. Since it is clear that the battery not selected cannot be used unless it is charged, the DC-DC converter 40a of the discharge circuit 40 is turned on, and the input side switch 41 is connected to the battery pack used. The discharge side switch 42 is connected to the battery on the selection side to start discharging, and this discharge current becomes a charging current to the other battery pack.

【0026】選択されなかったバッテリの電位が比較的
高く、まだ充分な容量が残っている場合は放電は行われ
ない。
If the non-selected batteries have a relatively high potential and still have sufficient capacity, then no discharge will occur.

【0027】この様にして使用するバッテリが決定さ
れ、この電力が主回路部9、表示部10及びIO部16
等に供給され装置が動作する。
In this way, the battery to be used is determined, and this power is supplied to the main circuit section 9, the display section 10 and the IO section 16.
Etc. and the device operates.

【0028】次に、バッテリの切り替え動作について説
明する。バッテリパックが2つ装着されている場合に、
FET3、FET4がオンし、FET5、FET6がオ
フしてバッテリパック1が選択されバッテリパック1か
ら回路に電力を供給しているものとする。装置が動作中
には、バッテリ制御部7は定期的に電位あるいは装脱着
等のバッテリパックの使用状態をチェックする。主回路
部9はバッテリ制御部7からバッテリパックの動作状態
及びバッテリパックの電圧を受け取りその状態を表示部
10に表示する。表示部10に表示する情報は2種類あ
る。第1の情報は2つあるバッテリパックのうちのどち
らのバッテリパックが回路に電圧を供給しているかであ
り、第2の情報はそれぞれのバッテリパックの電圧がど
の程度あるかである。この方法は図2に示す通りそれぞ
れのバッテリパックの物理的な位置とバッテリパックの
動作状態の表示の位置が対応していてどの表示がどのバ
ッテリパックの状態を表しているかを使用者が容易にわ
かるようになっている。
Next, the battery switching operation will be described. When two battery packs are installed,
It is assumed that the FET 3 and FET 4 are turned on, the FET 5 and FET 6 are turned off, the battery pack 1 is selected, and power is supplied from the battery pack 1 to the circuit. During operation of the device, the battery control unit 7 regularly checks the use state of the battery pack such as electric potential or attachment / detachment. The main circuit unit 9 receives the operating state of the battery pack and the voltage of the battery pack from the battery control unit 7, and displays the state on the display unit 10. There are two types of information displayed on the display unit 10. The first information is which one of the two battery packs supplies the voltage to the circuit, and the second information is how much the voltage of each battery pack is. In this method, as shown in FIG. 2, the physical position of each battery pack and the position of the display of the operating state of the battery pack correspond to each other, and the user can easily determine which display represents the state of which battery pack. I understand.

【0029】表示の例としては動作中を示す表示は図2
の動作表示50、51のようにLCD上に○印で示し、
バッテリの電圧は5段階のバーグラフ52、53で表示
する。又、放電中かどうかは三角マーク54、55で表
示される。最初に選択されたバッテリパック1が装置に
電力を供給するとバッテリパックの電圧が徐々に低下し
ていく。ここではLCDの表示部10にバッテリの動作
状態を表示しているがLED等のデバイスを使ってバッ
テリの状態を表示することも可能である。
As an example of the display, the display showing the operation is shown in FIG.
Is displayed on the LCD as the operation display 50, 51 of
The voltage of the battery is displayed by bar graphs 52 and 53 in five stages. Further, triangular marks 54 and 55 indicate whether or not discharging is in progress. When the first selected battery pack 1 supplies power to the device, the voltage of the battery pack gradually decreases. Here, the operating state of the battery is displayed on the display unit 10 of the LCD, but it is also possible to display the battery state using a device such as an LED.

【0030】バッテリパック2の電圧が低下し、同様に
あらかじめ定めた参照電圧Vref2と比較し、これ以
上装置の動作を継続するには危険な程度になると主回路
部9はバッテリ制御部7からの情報により表示部10に
バッテリパック1、バッテリパック2とも電圧が十分で
ない旨を表示する。電圧が十分で無い場合には、例え
ば、図2のバーグラフの四角状のエレメントが1つも表
示されない。電圧不十分をより強く警告するには表示部
10のバッテリパックの位置に対応した右半分あるいは
左半分の表示部を点滅させる等の制御を行ってもよい。
上記参照電圧Vref1、Vref2は、バッテリ1と
バッテリ2が同様の容量、種類の時は同一でも良いが、
異なる種類であった場合はこれに応じて別々の参照電圧
を用いても良い。以上説明したバッテリ制御の通常動作
をフローチャートで説明する。図3において最初にバッ
テリパックを装着して動作を開始するとバッテリ制御部
7が初期化されて先ずステップS10のようにFET
3、FET5をオンFET4、FET6をオフして二つ
のバッテリパックをダイオードOR結合する並列結合モ
ードを実行する。初期状態ではどちらのバッテリが装着
されているかあるはどちらのバッテリにどの位電圧があ
るかが不明なのでダイオードOR結合させて両方のバッ
テリパックから電力を供給する。続いてバッテリ制御部
7はステップS12でバッテリパック1の電圧をA/D
コンバータ8を使って測定する。もしバッテリパック1
の電圧が十分であればステップS20のようにFET
3、FET4をオンしてFET5、FET6をオフして
バッテリパック1から回路に電力を供給する単一結合モ
ードを実行する。
When the voltage of the battery pack 2 drops and it is compared with a predetermined reference voltage Vref2 in the same manner, and it becomes dangerous to continue the operation of the apparatus any more, the main circuit unit 9 causes the battery control unit 7 to operate. Based on the information, the fact that the battery pack 1 and the battery pack 2 have insufficient voltage is displayed on the display unit 10. If the voltage is not sufficient, for example, no square element of the bar graph of FIG. 2 is displayed. In order to more strongly warn of insufficient voltage, control such as blinking the right half or the left half of the display unit 10 corresponding to the position of the battery pack may be performed.
The reference voltages Vref1 and Vref2 may be the same when the battery 1 and the battery 2 have similar capacities and types,
If they are of different types, different reference voltages may be used accordingly. The normal operation of the battery control described above will be described with a flowchart. In FIG. 3, when the battery pack is first attached and the operation is started, the battery control unit 7 is initialized and the FET is first set in step S10.
3, the FET 5 is turned on, the FET 4 is turned off, and the FET 6 is turned off to execute a parallel coupling mode in which two battery packs are diode-OR coupled. In the initial state, it is unknown which battery is attached or which voltage is present in which battery, so that diode OR coupling is performed and power is supplied from both battery packs. Subsequently, the battery control unit 7 sets the voltage of the battery pack 1 to A / D in step S12.
Measure using converter 8. If battery pack 1
If the voltage of the
3, FET4 is turned on and FET5, FET6 are turned off to execute a single coupling mode for supplying power from the battery pack 1 to the circuit.

【0031】ステップS12においてバッテリパック1
の電圧が不充分なら次にステップS14でバッテリパッ
ク2の電圧を測定する。バッテリパック2の電圧が十分
であればステップS18のようにFET3、FET4を
オフしてFET5、FET6をオンしバッテリパック2
から回路に電力を供給する。両方のバッテリパックの電
圧が共に十分でなければステップS10で設定したと同
じ並列結合モードを保ち装置を動作状態にできないよう
にする。しかしいずれは充電されたバッテリパックを挿
入するので両方のバッテリパックが共に電圧が十分で無
い場合でもステップS12に戻り常にバッテリパックの
電圧の測定を行う。ステップS20、S18でどちらか
のバッテリパックから回路に電圧を供給した状態になる
と装置は動作可能になる。ステップS22で現在選択さ
れているバッテリの電圧を測定する。
In step S12, the battery pack 1
If the voltage is insufficient, then the voltage of the battery pack 2 is measured in step S14. If the voltage of the battery pack 2 is sufficient, the FET3 and FET4 are turned off and the FET5 and FET6 are turned on as in step S18, and the battery pack 2 is turned on.
Power the circuit from. If the voltage of both battery packs is not sufficient, the same parallel coupling mode as set in step S10 is maintained to prevent the device from operating. However, since the charged battery pack is eventually inserted, the process returns to step S12 and the voltage of the battery pack is constantly measured even when the voltage of both battery packs is not sufficient. When the voltage is supplied to the circuit from one of the battery packs in steps S20 and S18, the device becomes operable. In step S22, the voltage of the currently selected battery is measured.

【0032】次に、ステップS24でバッテリパックの
電圧が低下すると次に他のバッテリパックの電圧を確認
する。もし他のバッテリパックの電圧が十分であればス
テップ26でバッテリパックの切り替えを行う。ステッ
プS26で切り替えられた元のバッテリパックは放電回
路40ににより放電が開始される。放電回路40は前述
のように放電電流を他方に入力するため他方のバッテリ
パックの駆動可能時間を伸ばすことになり、単に抵抗等
に消費させて放電するより効率的に電力を使うことがで
きる。この後、引き続きステップS22に戻って選択さ
れているバッテリパックの電圧を測定する。ステップS
24で他のバッテリパックの電圧が十分でなければ装置
を動作させ続けることができない。ステップS28で装
置が動作中ならユーザにバッテリの電圧が十分でないこ
とを通知した上で装置の動作を停止させる。ステップS
28で装置が停止中なら、装置の動作を停止するステッ
プS30を飛び越してステップS32に進む。ステップ
S32では両方のバッテリパックの電圧が十分でないの
でFET3、FET5をオン、FET4、FET6をオ
フしてバッテリパックの出力をダイオードOR結合し、
電力供給モード2を実行する。そして再びステップS1
2に戻りバッテリパックの電圧の確認を行う。
Next, when the voltage of the battery pack drops in step S24, the voltages of other battery packs are checked next. If the voltage of the other battery pack is sufficient, the battery pack is switched in step 26. The original battery pack switched in step S26 is started to be discharged by the discharging circuit 40. Since the discharge circuit 40 inputs the discharge current to the other as described above, the drivable time of the other battery pack is extended, and the electric power can be used more efficiently than being simply consumed by the resistor or the like and discharged. After that, the process continuously returns to step S22 to measure the voltage of the selected battery pack. Step S
If the voltage of the other battery pack is not sufficient at 24, the device cannot continue to operate. If the device is operating in step S28, the user is notified that the voltage of the battery is not sufficient, and then the operation of the device is stopped. Step S
If the device is stopped at 28, the process skips step S30 of stopping the operation of the device and proceeds to step S32. In step S32, since the voltage of both battery packs is not sufficient, FET3 and FET5 are turned on, FET4 and FET6 are turned off, and the output of the battery pack is diode-OR coupled,
The power supply mode 2 is executed. And again step S1
Return to 2 and check the voltage of the battery pack.

【0033】電源投入等の、装置の通常動作のスタート
時に、複数のバッテリから同時に、供給することによ
り、スタートの信頼性が確保される。すなわち、スター
ト時にはCPUは検出機能あるいは演算機能などが停止
されているわけであり、先ず、必ず所定の初期化処理が
必要となりこの時には、全ての、あるいは複数のバッテ
リをOR回路で電力供給することが極めて有効である。
By supplying power from a plurality of batteries at the same time at the start of the normal operation of the apparatus such as turning on the power, the start reliability is ensured. That is, at the time of start, the detection function or the calculation function of the CPU is stopped, and first, a predetermined initialization process is always required, and at this time, power is supplied to all or a plurality of batteries by the OR circuit. Is extremely effective.

【0034】一方、図4に示すフローチャートは放電チ
ェックの方法を示す。このルーチンは図3のメインルー
チンのS22のステップ内で実行される。現在使用中の
バッテリのチェックと共に放電中のバッテリの電位も、
以下のステップチェックされる。ステップ50で放電中
かどうか見て、そうでなければリターンする。ステップ
51では放電中ならそのレベルがチェックされ、所定電
位以下となると放電終了と判断する。ステップ52で放
電回路を停止し放電が完了すると、ステップ53で表示
部の三角マーク54、55の対応するマークを点滅表示
する等して、放電が完了したことを報知する。使用者は
これを受け、ACアダプタを装着するか、取り出して他
のバッテリと交換するかしなければならない。ステップ
54で放電されたバッテリがどちら側であったかを、メ
モリに記憶させておく。バッテリ制御部7は、常にバッ
テリの状態を監視し、このバッテリが取り出されたか、
ACアダプタが装着されたかによって、最適な動作を実
行する。
On the other hand, the flow chart shown in FIG. 4 shows a discharge check method. This routine is executed within the step S22 of the main routine of FIG. As well as checking the battery currently being used, the potential of the battery being discharged is also
The following steps are checked. In step 50, it is checked whether or not discharging is in progress. If not, the process returns. In step 51, if discharging is in progress, the level is checked, and if the potential becomes equal to or lower than a predetermined potential, it is determined that the discharging has ended. When the discharge circuit is stopped and the discharge is completed in step 52, the corresponding marks of the triangular marks 54 and 55 on the display section are blinked and displayed in step 53 to notify the completion of the discharge. Upon receipt of this, the user must either attach the AC adapter or take it out and replace it with another battery. Which side is the battery discharged in step 54 is stored in the memory. The battery control unit 7 constantly monitors the state of the battery to see if this battery has been taken out.
Optimal operation is performed depending on whether the AC adapter is attached.

【0035】すなわち、放電が完了すると、放電した側
が、RAMの所定の記憶部に記憶されているため、その
後ACアダプタが装着されると、トランジスタ28、2
9の内、放電した側の充電用スイッチをオンし充電を開
始する。充電電位もA/Dコンバータ8によって監視さ
れ、満充電となると、充電するバッテリパックが切り替
えられ、同様に満充電となるまで充電が実行される。
That is, when the discharging is completed, the discharged side is stored in a predetermined storage section of the RAM, so that when the AC adapter is subsequently mounted, the transistors 28, 2
The charging switch on the discharged side of 9 is turned on to start charging. The charge potential is also monitored by the A / D converter 8, and when it is fully charged, the battery pack to be charged is switched, and similarly, charging is executed until it is fully charged.

【0036】放電した側のバッテリが取り外されたと判
断された場合は、前述の放電を記憶した情報は消去され
る。
When it is determined that the battery on the discharged side has been removed, the above-mentioned information on the stored discharge is erased.

【0037】このように、充電レベルが所定電位以下の
時に、バッテリが完全に放電されるため、いわゆるメモ
リ効果と言われる、残容量が充分であるにもかかわら
ず、電池容量が無いというような誤った判断を防止する
ことができる。しかも使用者がわざわざ完全放電をしな
いでもバッテリを装着する電子装置が自動的に実行して
くれるため極めて便利である。
As described above, since the battery is completely discharged when the charge level is equal to or lower than the predetermined potential, there is no so-called memory effect, that is, there is no battery capacity even though the remaining capacity is sufficient. It is possible to prevent erroneous judgment. Moreover, it is extremely convenient because an electronic device equipped with a battery automatically executes the battery even if the user does not completely discharge the battery.

【0038】さて、使用者は2つのバッテリ共に残り電
圧が十分でないと速やかに動作を停止させるか、ACア
ダプタを装着する必要がある。さもないと回路に供給さ
れる電圧が低下し装置が誤動作したりRAM/RTC1
7のデータが破壊する可能性がある。
If the remaining voltages of both batteries are not sufficient, the user must promptly stop the operation or attach an AC adapter. Otherwise, the voltage supplied to the circuit will drop and the device will malfunction or RAM / RTC1
7 data may be destroyed.

【0039】この対策として以下のような制御を実行さ
せる。先ず、2本のバッテリパックが放電して使用者に
その状態が発生したことを表示部10で通知し、次に一
定時間(例えば1分)経過しても使用者が装置の動作を
停止しなかった場合には主回路部9は所定のデータ待避
処理等を実行して回路の動作を停止させさサスペンドモ
ードとなる。回路の動作が停止すると装置の消費電流は
動作時に比べて非常に少なくなり、所定期間、装置はメ
インCPUのサスペンド状態を継続する。放電が継続さ
れ、電位はその後も徐々に低下して行く。この状態では
バッテリ制御部7の最小限の動作、例えば、蓋のオープ
ン、バッテリの脱着のチェック等が実行される。そして
ゼナーダイオード33、抵抗器31、32で決定される
検出電圧となると、コンパレータ20の出力がHレベル
からLレベルに反転し、これによってサブCPUもサス
ペンディング状態となり、FET3、4、5、および6
がオフされ、バッテリ1、2からの電力供給は停止され
バックアップバッテリ18からの供給に切り替えられ
る。この状態では、RAM/RTC17のバックアップ
にバックアップバッテリの電力が消費される。
As a countermeasure, the following control is executed. First, the two battery packs are discharged and the user is informed of the occurrence of the state on the display unit 10. Then, the user stops the operation of the apparatus even after a certain time (for example, 1 minute) has elapsed. If not, the main circuit unit 9 executes a predetermined data saving process or the like to stop the operation of the circuit and enters the suspend mode. When the operation of the circuit is stopped, the current consumption of the device is much smaller than that during operation, and the device continues the suspended state of the main CPU for a predetermined period. The discharge is continued and the potential gradually decreases thereafter. In this state, the minimum operation of the battery control unit 7, for example, the opening of the lid and the check of the attachment / detachment of the battery are executed. When the detection voltage is determined by the Zener diode 33 and the resistors 31 and 32, the output of the comparator 20 is inverted from the H level to the L level, so that the sub CPU is also in the suspending state and the FETs 3, 4, 5, And 6
Is turned off, the power supply from the batteries 1 and 2 is stopped, and the power supply is switched to the backup battery 18. In this state, the backup battery power is consumed to back up the RAM / RTC 17.

【0040】又、使用者が双方のバッテリとも残り電圧
が少ないことを認識して、電源スイッチを操作すると主
回路部9はレジューム機能の設定の有無に基づいて所定
のデータ待避処理等を行い装置の動作が停止を停止す
る。この時、それまでの動作中に回路に電力を供給して
いたバッテリパックの残り電圧が十分にあればそのバッ
テリパックから動作停止中にも継続してバッテリ制御部
に電力を供給する。この場合電力供給停止時の参照電圧
は、通常動作時の参照電圧より低いレベルでよい。それ
は、通常動作時は、DC−DCコンバータ等で主回路部
9に定電圧を供給する関係で比較的高い電位が必要であ
るが、バッテリ制御部の動作、RAM/RTC17のバ
ックアップには、3V程度の低い電位が供給されればよ
いからである。
When the user recognizes that both batteries have a low remaining voltage and operates the power switch, the main circuit section 9 performs a predetermined data saving process or the like based on whether or not the resume function is set. Stop working stop. At this time, if the remaining voltage of the battery pack that has been supplying power to the circuit during the operation up to then is sufficient, power is continuously supplied from the battery pack to the battery control unit even when the operation is stopped. In this case, the reference voltage when power supply is stopped may be lower than the reference voltage during normal operation. During normal operation, a relatively high potential is required for supplying a constant voltage to the main circuit unit 9 by a DC-DC converter or the like, but 3V is required for the operation of the battery control unit and the backup of the RAM / RTC 17. This is because a low potential may be supplied.

【0041】上記の行程をバッテリの供給制御で説明す
ると以下となる。始めに使用したバッテリ1が所定の参
照電圧Vref3より高いレベルになっていないとき
は、双方のバッテリ共に電圧が十分でないと判断し、F
ET3及びFET3、5をオンし、FET4、6をオフ
して2本のバッテリパックの出力をFET4及びFET
6の寄生ダイオードを使用してダイオードORで出力さ
せる。バッテリパック1及びバッテリパック2の出力が
FET4及びFET6と並列に入っているダイオードに
よりOR結合されるとこれらのダイオードにより2つの
バッテリパックのうち電圧の高いほうから回路に電力が
供給される。
The above process will be described below with reference to the battery supply control. When the battery 1 used at the beginning is not at a level higher than the predetermined reference voltage Vref3, it is determined that the voltages of both batteries are not sufficient, and F
ET3 and FET3, 5 are turned on, FET4, 6 are turned off, and the output of the two battery packs is FET4 and FET.
The parasitic diode of 6 is used to output by the diode OR. When the outputs of the battery pack 1 and the battery pack 2 are OR-coupled by the diodes in parallel with the FET 4 and the FET 6, these diodes supply power to the circuit from the higher voltage of the two battery packs.

【0042】上記参照電圧Vref3は、他方のバッテ
リが充電されて回復しているかをチェックするものであ
るから、残り電圧をチェックするレベルより高く設定さ
れている。
Since the reference voltage Vref3 is used to check whether the other battery is charged and recovered, it is set higher than the level for checking the remaining voltage.

【0043】例えばバッテリパック1で装置を動作させ
ていた時にバッテリパック1の電圧が低下するとバッテ
リ制御部7はバッテリパック1から回路への電力供給を
絶ちバッテリパック2から回路に電力を供給する。主回
路部9はこの状態変化をバッテリ制御部7から受け取り
表示部10にバッテリパック1の電圧が低下したためバ
ッテリパック2から電力を供給しているという情報とバ
ッテリパック1の放電が開始されたことが表示される。
又、放電が開始され完全放電となるとこれも同様に表示
される。使用者はこれらの情報を見て、バッテリパック
1の完全放電を待ってバッテリパックの交換を行うこと
になる。
For example, if the voltage of the battery pack 1 drops while the device is operating with the battery pack 1, the battery control unit 7 cuts off the power supply from the battery pack 1 to the circuit and supplies the power from the battery pack 2 to the circuit. The main circuit unit 9 receives this state change from the battery control unit 7, and the information that the battery pack 2 is supplying power because the voltage of the battery pack 1 has dropped to the display unit 10 and that the discharge of the battery pack 1 has started. Is displayed.
Further, when the discharge is started and becomes a complete discharge, this is also displayed. The user sees these pieces of information and waits until the battery pack 1 is completely discharged before replacing the battery pack.

【0044】装置に電力を供給しているバッテリパック
の電圧が十分でありもう一方のバッテリパックの電圧が
低下している時に使用者がバッテリパックの交換を行お
うとする場合(最も起こりうる状態である)、電圧が低
下している方のバッテリを交換すれば装置を動作させた
ままバッテリパックの交換を行える。この操作を繰り返
すことにより装置の動作を中断することなくバッテリパ
ックの交換を行うことができる。
When the user intends to replace the battery pack when the voltage of the battery pack supplying power to the device is sufficient and the voltage of the other battery pack is low (in the most probable situation) Yes, if the battery with the lower voltage is replaced, the battery pack can be replaced while the device is operating. By repeating this operation, the battery pack can be replaced without interrupting the operation of the device.

【0045】また上記説明でバッテリ制御部7がA/D
コンバータ8を使用してバッテリパック1またはバッテ
リパック2の電圧を測定し、その測定結果を主回路部9
が受け取って表示部10に表示する動作について言及し
た。本実施例ではバッテリパックとしてニッケルカドミ
ウム2次電池を使用している。2次電池はバッテリパッ
クの開放電圧を測定しその電圧によって電池の残量を計
算するか、放電電流と内部抵抗から開放電圧をもとめる
こともできる。しかし動作中のバッテリパックの端子電
圧を測定する場合は放電電流が一定値となるような動作
モードに限定して測定する必要がある。
Further, in the above description, the battery control unit 7 is the A / D
The converter 8 is used to measure the voltage of the battery pack 1 or the battery pack 2, and the measurement result is used as the main circuit section 9
Referred to and received and displayed on the display unit 10. In this embodiment, a nickel cadmium secondary battery is used as the battery pack. For the secondary battery, it is possible to measure the open circuit voltage of the battery pack and calculate the remaining amount of the battery by the voltage, or obtain the open circuit voltage from the discharge current and the internal resistance. However, when measuring the terminal voltage of the operating battery pack, it is necessary to limit the measurement to an operation mode in which the discharge current is a constant value.

【0046】バッテリ制御部7が測定したバッテリパッ
ク1の電圧を主回路部9に送り、これを元にバッテリパ
ックの放電電流及び内部抵抗から正確なバッテリパック
の電圧を推定し、この値を元に残量を表示することがで
きる。 又、バッテリ電圧を測定するタイミングにAC
アダプタが装着されていることをACアダプタ検出回路
22が検知している時は、対応するバッテリのトランジ
スタ28、29をオフし、充電を止めて開放電圧を計測
する。
The voltage of the battery pack 1 measured by the battery control unit 7 is sent to the main circuit unit 9, and the accurate voltage of the battery pack is estimated from the discharge current and the internal resistance of the battery pack based on this, and this value is used as the basis. The remaining amount can be displayed on. In addition, at the timing of measuring the battery voltage, AC
When the AC adapter detection circuit 22 detects that the adapter is attached, the transistors 28 and 29 of the corresponding battery are turned off, charging is stopped, and the open circuit voltage is measured.

【0047】以上の実施例ではバッテリパックが2つの
場合を説明したが3つ以上の場合でも同様の構成で実現
することができる。
In the above embodiments, the case where the number of battery packs is two has been described, but the case where the number of battery packs is three or more can be realized with the same configuration.

【0048】[0048]

【発明の効果】以上説明したように本発明によれば、バ
ッテリを有する電子装置において、バッテリを切り替え
る際、使用したバッテリを放電する制御手段を有するた
め、メモリ効果による誤判断を防止し、バッテリを有効
に利用することが可能で、誤判断による過充電を防止す
ることも可能となる。
As described above, according to the present invention, an electronic device having a battery has a control means for discharging the used battery when the battery is switched, so that an erroneous judgment due to a memory effect can be prevented and the battery can be prevented. Can be effectively used, and it is possible to prevent overcharging due to erroneous determination.

【0049】更に放電を単に抵抗器によって消費させる
のではないため、無用な発熱、無駄な電力消費を抑制
し、バッテリの充電エネルギを最後まで有効に使用する
ことができ、バッテリでの使用時間を大幅に延ばすな
ど、極めて有用な使用法である。
Further, since the discharge is not simply consumed by the resistor, unnecessary heat generation and useless power consumption can be suppressed, and the charging energy of the battery can be effectively used to the end, so that the battery can be used for a long time. This is a very useful usage, such as a significant extension.

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

【図1】本発明の一実施例のバッテリ制御回路を有する
電子装置の略図である。
FIG. 1 is a schematic diagram of an electronic device having a battery control circuit of one embodiment of the present invention.

【図2】実施例の装置の表示部を示す図である。FIG. 2 is a diagram showing a display unit of the apparatus of the embodiment.

【図3】本発明の電子装置の一実施例の通常動作時の制
御を示すフローチャートである。
FIG. 3 is a flowchart showing control during normal operation of an embodiment of the electronic device of the present invention.

【図4】本発明の電子装置の放電チェックのフローチャ
ートである。
FIG. 4 is a flowchart of a discharge check of the electronic device of the present invention.

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

1、2:バッテリパック 28、29:トランジスタ 7:バッテリ制御部 8:A/Dコンバータ 9:主回路部 10:表示部 16:IO部 17:RAM/RTC 18:バックアップ用バッテリ 40:放電用DC−DCコンバータ 1, 2: Battery pack 28, 29: Transistor 7: Battery control unit 8: A / D converter 9: Main circuit unit 10: Display unit 16: IO unit 17: RAM / RTC 18: Backup battery 40: Discharge DC -DC converter

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

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 主電源としての複数の主バッテリと、A
Cアダプタと、主バッテリ及びACアダプタを制御する
電力制御手段と、前記主バッテリの個々の電圧を計測す
る電圧検出手段とを有し前記主バッテリを切り替えなが
ら電力を供給する電子装置において、前記電力制御手段
は、前記ACアダプタから主バッテリへの充電をオン・
オフし複数のバッテリに対応して設置されたスイッチ手
段と前記主バッテリを放電する放電回路とを有し、前記
供給中の主バッテリの電位が所定の電位となった時、他
方の主バッテリに供給元を切り替えるとともに所定電位
以下となった側の電荷を放電する制御手段を有すること
を特徴とする電子装置。
1. A plurality of main batteries as a main power source;
An electronic device that includes a C adapter, a power control unit that controls a main battery and an AC adapter, and a voltage detection unit that measures an individual voltage of the main battery, and supplies power while switching the main battery. The control means turns on the charging of the main battery from the AC adapter.
When a potential of the main battery being supplied reaches a predetermined potential, the other main battery has a switch unit that is turned off and is installed corresponding to a plurality of batteries, and a discharge circuit that discharges the main battery. An electronic device comprising: a control unit that switches a supply source and discharges a charge on a side of a predetermined potential or lower.
【請求項2】 前記請求項1記載の電子装置において、
前記放電回路はDC−DCコンバータを有し、放電電流
を他方の主バッテリの充電電流とする制御手段を有する
ことを特徴とする電子装置。
2. The electronic device according to claim 1, wherein
The electronic device is characterized in that the discharge circuit has a DC-DC converter, and has control means for making the discharge current the charging current of the other main battery.
【請求項3】 前記請求項1記載の電子装置において、
前記主バッテリが、ニッケルカドミウム電池であること
を特徴とする電子装置。
3. The electronic device according to claim 1, wherein
An electronic device, wherein the main battery is a nickel-cadmium battery.
【請求項4】 前記請求項1記載の電子装置において、
前記主バッテリの放電が終了した後、前記ACアダプタ
を対応する主バッテリに接続し充電をすることを特徴と
する電子装置。
4. The electronic device according to claim 1, wherein
An electronic device, characterized in that after the main battery is discharged, the AC adapter is connected to a corresponding main battery for charging.
【請求項5】 主電源としての複数の主バッテリと、A
Cアダプタと、前記主バッテリ及びACアダプタを制御
する電力制御手段と、前記主バッテリの電圧を計測する
電圧検出手段とを有し、前記主バッテリを切り替えなが
ら電力を供給する電子装置において、前記供給中の主バ
ッテリの電圧が所定の電位以下となった時、供給元の主
バッテリを他方に切り替えるとともに、所定電位以下と
なったバッテリを充分に放電し、該放電が終了した後、
前記ACアダプタによる充電を開始することを特徴とす
る電子装置の制御方法。
5. A plurality of main batteries as main power sources, and A
An electronic device having a C adapter, power control means for controlling the main battery and AC adapter, and voltage detection means for measuring the voltage of the main battery, and supplying power while switching the main battery. When the voltage of the main battery inside becomes equal to or lower than the predetermined potential, the main battery of the supply source is switched to the other, and the battery that becomes equal to or lower than the predetermined potential is sufficiently discharged, and after the discharge is completed,
A method of controlling an electronic device, comprising: starting charging by the AC adapter.
【請求項6】 請求項5記載の電子装置の制御方法にお
いて、前記主バッテリが、ニッケルカドミウム電池であ
ることを特徴とする電子装置の制御方法。
6. The method of controlling an electronic device according to claim 5, wherein the main battery is a nickel-cadmium battery.
JP8120668A 1996-05-15 1996-05-15 Electronic device and control thereof Pending JPH09308131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8120668A JPH09308131A (en) 1996-05-15 1996-05-15 Electronic device and control thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8120668A JPH09308131A (en) 1996-05-15 1996-05-15 Electronic device and control thereof

Publications (1)

Publication Number Publication Date
JPH09308131A true JPH09308131A (en) 1997-11-28

Family

ID=14791969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8120668A Pending JPH09308131A (en) 1996-05-15 1996-05-15 Electronic device and control thereof

Country Status (1)

Country Link
JP (1) JPH09308131A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000175368A (en) * 1998-12-03 2000-06-23 Toyota Motor Corp Battery controller
JP2001197682A (en) * 2000-01-05 2001-07-19 Internatl Business Mach Corp <Ibm> Power supply switching apparatus and computer
JP2002199600A (en) * 2000-12-27 2002-07-12 Nec Corp Switch system
JP2003092805A (en) * 2001-09-20 2003-03-28 Sanyo Electric Co Ltd Power supply unit for hybrid car
JP2003256083A (en) * 2002-03-01 2003-09-10 Internatl Business Mach Corp <Ibm> Electric equipment, computer device, controller, battery switching method and program
JP2004288537A (en) * 2003-03-24 2004-10-14 Sanyo Electric Co Ltd Battery pack, secondary battery charging device, and secondary battery charging method
JP2004336994A (en) * 2003-05-02 2004-11-25 O2 Micro Inc Battery pack and battery charge/discharge circuit including battery pack therein
JP2005253255A (en) * 2004-03-08 2005-09-15 Nec Corp Battery switching circuit for portable communication apparatus
JP2007014445A (en) * 2005-07-06 2007-01-25 Matsushita Electric Ind Co Ltd Electric kettle
JP2007159279A (en) * 2005-12-06 2007-06-21 Tokyo Electric Power Co Inc:The Power supply unit
JP2008182872A (en) * 2006-12-25 2008-08-07 Matsushita Electric Ind Co Ltd Electricity storing apparatus
JP2010120624A (en) * 2008-10-23 2010-06-03 Nissan Motor Co Ltd Device and method of controlling vehicle power supply
WO2013114697A1 (en) * 2012-01-30 2013-08-08 Necエナジーデバイス株式会社 Electricity storage system, method for controlling secondary battery pack, and secondary battery pack
WO2015011788A1 (en) * 2013-07-23 2015-01-29 株式会社小松製作所 Hybrid work machine, and information-notification control method for hybrid work machine
JP2017163749A (en) * 2016-03-10 2017-09-14 ニシム電子工業株式会社 Secondary battery system
JP2017184590A (en) * 2016-03-31 2017-10-05 東亜ディーケーケー株式会社 Controller with battery diagnostic function for uninterruptible power supply device and diagnostic method thereof

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000175368A (en) * 1998-12-03 2000-06-23 Toyota Motor Corp Battery controller
JP2001197682A (en) * 2000-01-05 2001-07-19 Internatl Business Mach Corp <Ibm> Power supply switching apparatus and computer
US6920575B2 (en) 2000-03-22 2005-07-19 International Business Machines Corporation Power source switching unit with integrated charging circuit for selectively coupling an external power source, a computer load, and batteries, for providing temporary power during coupling, and for charging batteries
JP2002199600A (en) * 2000-12-27 2002-07-12 Nec Corp Switch system
JP2003092805A (en) * 2001-09-20 2003-03-28 Sanyo Electric Co Ltd Power supply unit for hybrid car
JP2003256083A (en) * 2002-03-01 2003-09-10 Internatl Business Mach Corp <Ibm> Electric equipment, computer device, controller, battery switching method and program
JP2004288537A (en) * 2003-03-24 2004-10-14 Sanyo Electric Co Ltd Battery pack, secondary battery charging device, and secondary battery charging method
JP2004336994A (en) * 2003-05-02 2004-11-25 O2 Micro Inc Battery pack and battery charge/discharge circuit including battery pack therein
JP2005253255A (en) * 2004-03-08 2005-09-15 Nec Corp Battery switching circuit for portable communication apparatus
JP4591239B2 (en) * 2005-07-06 2010-12-01 パナソニック株式会社 Electric water heater
JP2007014445A (en) * 2005-07-06 2007-01-25 Matsushita Electric Ind Co Ltd Electric kettle
JP2007159279A (en) * 2005-12-06 2007-06-21 Tokyo Electric Power Co Inc:The Power supply unit
JP2008182872A (en) * 2006-12-25 2008-08-07 Matsushita Electric Ind Co Ltd Electricity storing apparatus
JP2012135206A (en) * 2006-12-25 2012-07-12 Panasonic Corp Power storage device
JP2010120624A (en) * 2008-10-23 2010-06-03 Nissan Motor Co Ltd Device and method of controlling vehicle power supply
WO2013114697A1 (en) * 2012-01-30 2013-08-08 Necエナジーデバイス株式会社 Electricity storage system, method for controlling secondary battery pack, and secondary battery pack
JPWO2013114697A1 (en) * 2012-01-30 2015-05-11 Necエナジーデバイス株式会社 Power storage system, secondary battery pack control method, and secondary battery pack
US9461484B2 (en) 2012-01-30 2016-10-04 Nec Energy Devices, Ltd. Electricity storage system, method for controlling secondary battery packs, and secondary battery pack
WO2015011788A1 (en) * 2013-07-23 2015-01-29 株式会社小松製作所 Hybrid work machine, and information-notification control method for hybrid work machine
US9145658B2 (en) 2013-07-23 2015-09-29 Komatsu Ltd. Hybrid work machine and control method of providing information for the same
JP5873508B2 (en) * 2013-07-23 2016-03-01 株式会社小松製作所 Hybrid work machine and information notification control method for hybrid work machine
JP2017163749A (en) * 2016-03-10 2017-09-14 ニシム電子工業株式会社 Secondary battery system
JP2017184590A (en) * 2016-03-31 2017-10-05 東亜ディーケーケー株式会社 Controller with battery diagnostic function for uninterruptible power supply device and diagnostic method thereof

Similar Documents

Publication Publication Date Title
US5739596A (en) Power supply for an electronic device and power delivery method therefor
US5804894A (en) Low voltage battery pack monitoring circuit with adjustable set points
EP1209794B1 (en) Power supplies for portable electrical devices
US5811890A (en) Battery operated information processing apparatus
US8384349B2 (en) Monitoring system for electric power tool, battery pack for electric power tool, and battery charger for electric power tool
US6075343A (en) Rechargeable battery pack module
JPH09308131A (en) Electronic device and control thereof
US20100134305A1 (en) Intelligent adaptive energy management system and method for a wireless mobile device
EP2448057B1 (en) Rechargeable battery pack
US6714016B2 (en) Method for displaying information concerning power consumption and electronic device
EP0695017A2 (en) Battery connecting device for a computer and a method of switching batteries
US20010011883A1 (en) Battery pack
US20030096158A1 (en) Battery pack and cordless power tool using the same as power source
US6236226B1 (en) Test method and system for uninterruptible power supply
US5424800A (en) Camera having solar battery and secondary battery
JPH06332579A (en) Power supply system and device provided with said power supply system
JPH08336243A (en) Electronic apparatus and control method therefor
JPH10164764A (en) Battery capacity monitoring method
US20110031975A1 (en) Battery-Driven Power Tool and Battery Pack Therefor
KR102167429B1 (en) Appratus and method for prevention over-discharge and restarting energy storeage system
JPH08336241A (en) Electronic apparatus
JPH08336242A (en) Electronic apparatus
CA2135963C (en) Battery-driven electronic appliance
JPH10178747A (en) Charger
JP2780699B2 (en) Battery control method and power supply control circuit for personal computer