JPH08336242A - Electronic apparatus - Google Patents

Electronic apparatus

Info

Publication number
JPH08336242A
JPH08336242A JP8083635A JP8363596A JPH08336242A JP H08336242 A JPH08336242 A JP H08336242A JP 8083635 A JP8083635 A JP 8083635A JP 8363596 A JP8363596 A JP 8363596A JP H08336242 A JPH08336242 A JP H08336242A
Authority
JP
Japan
Prior art keywords
battery
battery pack
voltage
power
circuit
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
JP8083635A
Other languages
Japanese (ja)
Inventor
Yasutoshi Takizawa
安俊 滝沢
Kazunori Nagao
積憲 長尾
Shigeo Ikeda
茂夫 池田
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 JP8083635A priority Critical patent/JPH08336242A/en
Publication of JPH08336242A publication Critical patent/JPH08336242A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

PURPOSE: To obtain an electronic apparatus employing a plurality of batteries as a power supply in which the data can be protected against destruction due to abrupt removal of battery. CONSTITUTION: Battery packs 1, 2 are connected, respectively, with a switch means comprising FETs 3, 4, and a switch means comprising FETs 5, 6. One switch means is normally turned on to feed power sequentially. Detectors for detecting the opening/closing of battery cover are provided and when the detector for the currently operating battery detects the open cover state and removal of that battery is presumed, a plurality of batteries are temporarily subjected to OR connection thus sustaining the processing or retreating the data.

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】従来の、主バッテリ等の複数の電力源を
有する電子装置においては、電圧を検出してバッテリの
残り容量を推定すると共にバッテリの有無を検出しバッ
テリを切り替えていた。又、バッテリの出力端子を複数
にして一方を電力供給ように、他方をバッテリ装着の有
無の検出に使用していた。
2. Description of the Related Art In a conventional electronic device having a plurality of power sources such as a main battery, the voltage is detected to estimate the remaining capacity of the battery and the presence or absence of the battery is detected to switch the battery. Further, the battery has a plurality of output terminals, one of which is used to supply power, and the other of which is used to detect whether or not the battery is installed.

【0003】[0003]

【発明が解決しようとする課題】しかし、前者の方法で
は、電位の下降と同時に電子装置の主電源がオフしてし
まうと言う不具合点があり、また後者の方法では、若干
のタイムラグを作ることはできても現在処理中のデータ
の保存ができない内に電力が遮断されてしまうと言った
不具合点が生じていた。
However, the former method has a drawback that the main power source of the electronic device is turned off at the same time when the potential drops, and the latter method causes a slight time lag. However, there was a problem that the power was cut off while the data currently being processed could not be saved.

【0004】[0004]

【課題を解決するための手段】本発明は上記課題を解決
するもので、主電源としての複数の主バッテリと、主回
路部と、前記複数の主バッテリのそれぞれの出力端子に
接続されたスイッチ手段と、該スイッチ手段を個別に制
御する電力制御手段と、前記主バッテリの電圧を計測す
る電圧検出手段と、前記主バッテリを収納する部位に前
記複数の主バッテリに対応して設けた複数の蓋と、該蓋
に対応してそれらの開閉を検出する複数の蓋検出器を有
する電子装置において、前記電力制御手段は、前記複数
の主バッテリの中から1つの主バッテリを選択し前記電
子装置の前記主回路部に電力を供給している時、対応す
る主バッテリの蓋の開状態を検出した時は、前記複数の
スイッチ手段をオンし複数の主バッテリをOR結合する
制御手段を有することを特徴とする電子装置である。
SUMMARY OF THE INVENTION The present invention is to solve the above problems and provides a plurality of main batteries as main power sources, a main circuit section, and switches connected to respective output terminals of the plurality of main batteries. Means, an electric power control means for individually controlling the switch means, a voltage detecting means for measuring the voltage of the main battery, and a plurality of parts provided in a portion accommodating the main battery corresponding to the plurality of main batteries. In an electronic device having a lid and a plurality of lid detectors that detect opening and closing of the lid, the power control means selects one main battery from the plurality of main batteries, and the electronic device is selected. When electric power is being supplied to the main circuit section, the open state of the lid of the corresponding main battery is detected, the control means turns on the plurality of switch means to OR-connect the plurality of main batteries. Preparative an electronic device according to claim.

【0005】[0005]

【発明の実施の形態】以下本発明を一実施例を基に詳細
に説明する。図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が停止中も電源を監視している。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below 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.

【0006】電界効果トランジスタ(以下FETとす
る)3、FET4、FET5、FET6はバッテリパッ
クの電力供給をオン・オフをするためのスイッチング素
子の一種であるFETスイッチであり、FETとパラレ
ルに入っているダイオード3a、4a、5a、6aはF
ET内部に存在する寄生ダイオードである。しかしFE
T4及びFET6にパラレルに入っているダイオード4
a、6aは必要に応じて順方向電圧が低く電流容量の大
きいダイオードを使用することもできる。尚、FETは
他のバイポーラトランジスタ、リレー等に置き換えるこ
とも可能である。
Field effect transistors (hereinafter referred to as FET) 3, FET 4, FET 5, and FET 6 are FET switches that 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. The FET can be replaced with another bipolar transistor, a relay, or the like.

【0007】装置の電源スイッチであるスタートスイッ
チ25が投入されると、バッテリ制御部7はこれを検知
し、バッテリパック1またはバッテリパック2から所定
のFET、ボルテージレギュレータ24、DC−DCコ
ンバータ30介して各回路に電力が供給されて所定の動
作が実行可能となる。
When the start switch 25, which is the power switch of the apparatus, is turned on, the battery control unit 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.

【0008】電力源として、バッテリ1、2とは別にA
Cアダプタ21が備えられ、この入力端子21a、ダイ
オード23を介してバッテリ出力端子37に接続され回
路部に電力が供給可能となっている。 ACアダプタ2
1が接続されるとアダプタ検出回路22から、検出信号
が出力されFET4、6の制御端子にゲート回路26、
27を介してオフ信号が供給され、バッテリからの電力
供給が遮断される。この検出信号はバッテリ制御部にも
伝達されA/Dコンバータの検出動作もこれに対応す
る。
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.

【0009】バッテリ出力端子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.

【0010】またバッテリパック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 main power supply is stopped, the operation of the sub CPU 7a is 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
It is output from 0a.

【0011】28、29はACアダプタ21の電流をオ
ンオフするトランジスタであり、バッテリパック1、2
への充電を制御する場合に用いられる。
Reference numerals 28 and 29 are transistors for turning on / off the current of the AC adapter 21, and are battery packs 1, 2
It is used to control the charging of the battery.

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

【0013】図2は本装置を正面から見た略図である。
バッテリパック1及びバッテリパック2が装置の背面側
の位置に内蔵され、裏蓋を開閉して取り出せる構造とな
っている。40、41、42、及び43はそれぞれバッ
テリパックの動作状態や残量を示す表示であり表示部1
0上に表示される。
FIG. 2 is a schematic view of the apparatus as viewed from the front.
The battery pack 1 and the battery pack 2 are built in at the position on the back side of the device, and the structure is such that the back lid can be opened and closed to be taken out. Reference numerals 40, 41, 42, and 43 respectively indicate the operating state and the remaining amount of the battery pack, and the display unit 1
0 is displayed above.

【0014】図3は本装置を背面、及び側面から見た略
図、図4はバッテリパックの蓋を開いたときの構造を示
す略図であり、これを用いてバッテリ回りの構造を説明
する。バッテリパック1用の蓋45及びバッテリパック
2用の蓋46があり、この蓋を開けるとその中にバッテ
リパック1及びバッテリパック2を装着することができ
る。バッテリパック1用の蓋45を開けると図4の通り
バッテリパック1、LED12及びバッテリパック1用
の蓋検出スイッチ14がある。この蓋検出スイッチはバ
ッテリパックの装着未装着を検出するバッテリ装着検出
手段であり、バッテリ蓋の開閉を検知している。
FIG. 3 is a schematic view of the apparatus as viewed from the back and side, and FIG. 4 is a schematic view showing the structure when the lid of the battery pack is opened. The structure around the battery will be described using this. There is a lid 45 for the battery pack 1 and a lid 46 for the battery pack 2, and when the lid is opened, the battery pack 1 and the battery pack 2 can be mounted therein. When the lid 45 for the battery pack 1 is opened, the battery pack 1, the LED 12 and the lid detection switch 14 for the battery pack 1 are provided as shown in FIG. The lid detection switch is a battery attachment detection means for detecting attachment / detachment of the battery pack, and detects opening / closing of the battery lid.

【0015】バッテリパック1用の蓋45を開けるとバ
ッテリパック1用の蓋検出スイッチ14が作動する。バ
ッテリパック2用の蓋を開けると図には示していないが
図4と同様にLED13を見ることができバッテリパッ
ク2用の蓋検出スイッチ15が作動する。
When the lid 45 for the battery pack 1 is opened, the lid detection switch 14 for the battery pack 1 operates. When the lid for the battery pack 2 is opened, although not shown in the figure, the LED 13 can be seen as in FIG. 4, and the lid detection switch 15 for the battery pack 2 is activated.

【0016】次に、図1に基づいて、本発明の詳細を説
明する。FET3、4が直列に接続されてバッテリパッ
ク1の出力端子に接続され、FET5、6が同様にバッ
テリパック2の出力端子に接続されている。
Next, the details of the present invention will be described with reference to FIG. The FETs 3 and 4 are connected in series and 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によりそれぞれ独立に
オン・オフ制御可能である。
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.

【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】本実施例では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, the FETs are turned on and off 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.

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

【0021】すなわち、バッテリ1、2が取り外された
りした経緯があるとサブCPU9aはサスペンド状態と
なっている。(本実施例ではこの時は、ボルテージレギ
ュレータ24からの電力供給がないためメインCPU9
aは完全に停止している。)このためスタートスイッチ
によってサブCPU9aのサスペンド状態を解除しバッ
テリ制御部を作動状態とするが、この時はどちらのバッ
テリが電力供給可能か分からないのでOR結合によっ
て、双方のバッテリから電力を供給しスタートする。
That is, if the batteries 1 and 2 are removed, the sub CPU 9a is in the suspended state. (In this embodiment, at this time, since the power is not supplied from the voltage regulator 24, the main CPU 9
a is completely stopped. Therefore, the start switch releases the suspended state of the sub CPU 9a and activates the battery control unit. At this time, since it is not known which battery can supply power, power is supplied from both batteries by OR coupling. To start.

【0022】この様に構成することによって、バッテリ
制御部に常時電力を供給して作動状態を維持する必要が
無く、サスペンド状態で待機させることができ、また電
源投入直後もサブバッテリの電力を用いることなく、す
ぐに電力供給が開始された直後に、A/Dコンバータ等
を作動し、チェックプログラムを実行させることにな
る。これによりバックアップ用のサブバッテリ18では
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 sub-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, since the backup sub-battery 18 does not drive the A / D converter, it can be made as small in capacity as possible, and it is possible to select one having a small current consumption.

【0023】次に、以下の手順で使用するバッテリが決
定される。バッテリパックが双方とも装着されていて双
方のバッテリパック蓋が閉じられている場合はバッテリ
制御部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.

【0024】同様にバッテリパック蓋が閉じられていて
バッテリパックが2本共装着されてはいるがどちらか片
方は充分に充電されていない場合は充電されている方の
バッテリパックから回路に電力を供給する。例えばバッ
テリパック1から電力を回路に供給する場合にはFET
3、FET4をオンしFET5、FET6をオフする。
逆にバッテリパック2から回路に電力を供給する場合に
はFET3、FET4をオフしてFET5、FET6を
オンする。バッテリが装着されているかどうか、充分に
充電されているかどうかはA/Dコンバータ8でバッテ
リパックの端子電圧を測定しこのA/D変換された値を
バッテリ制御部7で読み込んで判断する。バッテリ制御
部7は、双方の電位を比較し、電位の高い方を選択して
メイン回路部に供給する。この時、選択しなかった側の
バッテリの電位がすでに所定電位より低かった場合は、
この旨を主回路部に伝達し、表示あるいは警報等の手段
で使用者に認知させる。
Similarly, when the battery pack lid is closed and two battery packs are mounted together, but if one of the battery packs is not fully charged, power is supplied from the charged battery pack to the circuit. 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 installed or not is fully 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.

【0025】この様にして使用するバッテリが決定さ
れ、この電力が主回路部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, display section 10 and IO section 16
Etc. and the device operates.

【0026】次に、バッテリの切り替え動作について説
明する。バッテリパックが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.

【0027】表示の例としては動作中を示す表示は図2
の動作表示30、31のようにLCD上に○印で示し、
バッテリの電圧は5段階のバーグラフ32、33で表示
する。最初に選択されたバッテリパック1が装置に電力
を供給するとバッテリパックの電圧が徐々に低下してい
く。ここではLCDの表示部10にバッテリの動作状態
を表示しているがLED等のデバイスを使ってバッテリ
の状態を表示することも可能である。
As an example of the display, the display showing the operation is shown in FIG.
It is indicated by a circle on the LCD like the operation displays 30 and 31 of
The voltage of the battery is displayed by bar graphs 32 and 33 in five stages. 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.

【0028】ここでバッテリの電圧と残り容量について
説明する。
Here, the voltage and the remaining capacity of the battery will be described.

【0029】図7は一例としてリチウムイオンバッテリ
2本組の開放端子電圧と残り容量との関係を示す図であ
り、縦軸は電圧を、横軸は残り容量を%で示している。
FIG. 7 is a diagram showing, as an example, the relationship between the open terminal voltage and the remaining capacity of a set of two lithium ion batteries, where the vertical axis represents the voltage and the horizontal axis represents the remaining capacity in%.

【0030】この電圧値は開放端子電圧であり、電流が
流れると、内部抵抗により電圧ドロップが発生し、電位
が下がる。又、リチウムイオン電池の特性により温度変
化があってもほとんど電圧に変化がないことが知られて
いるため、NiCdバッテリのように温度補正する必要
がほとんど無いという特徴を有している。この特徴を用
いることにより、開放電圧を測定することによって極め
て確実に電池の残り容量を検知することができる。ま
た、正確な電位を知るときは開放電圧を測定するため、
一時的に他方の電池に切り替え、測定対象となるバッテ
リを解放状態すなわち電流値を0として検出する。概略
の残り容量を計測するには、あらかじめ主回路部で使用
する消費電流の平均値を求め、この電流値と内部抵抗か
ら、ドロップ電圧を求めこの分を補正すれば良い、一般
的には、ハンドヘルドコンピュータでは、所定の動作モ
ードに限定すればそれほど消費電流に変動は無いのでか
なり正確に電位を計測可能である。バッテリ制御部7は
あらかじめ定めた参照電圧Vref1と比較し、バッテ
リパック1の電圧がもはや回路の動作を継続するには危
険と判断できる程に、例えば開放電圧が6.8Vに低下
すると、FET3及びFET4をオフしFET5及びF
ET6をオンしてバッテリパック2から回路に電力を供
給する。バッテリ制御部7のこの動作は主回路部9に伝
えられ、主回路部9は、新たな状態を表示部10に表示
する。すなわちバッテリパック2が動作中であることを
表示部10に表示する。
This voltage value is an open terminal voltage, and when a current flows, a voltage drop occurs due to internal resistance and the potential drops. Further, it is known that the voltage hardly changes even if the temperature changes due to the characteristics of the lithium-ion battery, and thus it has a feature that there is almost no need to perform temperature correction unlike the NiCd battery. By using this feature, the remaining capacity of the battery can be detected very reliably by measuring the open circuit voltage. Also, when knowing the exact potential, to measure the open circuit voltage,
The battery is temporarily switched to the other battery, and the battery to be measured is detected in the released state, that is, the current value is 0. To measure the approximate remaining capacity, find the average value of the current consumption used in the main circuit in advance, find the drop voltage from this current value and internal resistance, and correct this amount, generally, In the handheld computer, the current consumption does not fluctuate so much as it is limited to a predetermined operation mode, so that the potential can be measured fairly accurately. The battery control unit 7 compares the reference voltage Vref1 with a predetermined reference voltage, and if the open circuit voltage drops to 6.8V, for example, when the voltage of the battery pack 1 can be judged to be dangerous for continuing the operation of the circuit, FET3 and FET3 and FET4 is turned off and FET5 and F
ET6 is turned on to supply power from the battery pack 2 to the circuit. This operation of the battery control unit 7 is transmitted to the main circuit unit 9, and the main circuit unit 9 displays the new state on the display unit 10. That is, the display unit 10 displays that the battery pack 2 is operating.

【0031】バッテリパック2の電圧が低下し、同様に
あらかじめ定めた参照電圧Vref2と比較し、これ以
上装置の動作を継続するには危険な程度になると主回路
部9はバッテリ制御部7からの情報により表示部10に
バッテリパック1、バッテリパック2とも電圧が充分で
ない旨を表示する。電圧が充分で無い場合には、例え
ば、図2のバーグラフの四角状のエレメントが1つも表
示されない。電圧不充分をより強く警告するには表示部
10のバッテリパックの位置に対応した右半分あるいは
左半分の表示部を点滅させる等の制御を行ってもよい。
上記参照電圧Vref1、Vref2は、バッテリ1と
バッテリ2が同様の容量、種類の時は同一でも良いが、
異なる種類、容量であった場合はこれに応じて別々の参
照電圧を用いても良い。使用者は2つのバッテリ共に残
り電圧が充分でないと速やかに動作を停止させる必要が
ある。さもないと回路に供給される電圧が低下し装置が
誤動作したりRAM/RTC17のデータが破壊する可
能性がある。
When the voltage of the battery pack 2 drops and is compared with a predetermined reference voltage Vref2 in the same manner, and it becomes dangerous to continue the operation of the device any more, the main circuit portion 9 causes the battery control portion 7 Based on the information, it is displayed on the display unit 10 that both the battery pack 1 and the battery pack 2 have insufficient voltage. If the voltage is not sufficient, for example, no square element of the bar graph of FIG. 2 is displayed. 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,
When different types and capacities are used, different reference voltages may be used accordingly. The user needs to stop the operation promptly if the remaining voltages of the two batteries are not sufficient. Otherwise, the voltage supplied to the circuit may be lowered and the device may malfunction or the data in the RAM / RTC 17 may be destroyed.

【0032】本発明ではこの対策として以下のような制
御を実行させる。先ず、2本のバッテリパックが放電し
て使用者にその状態が発生したことを表示部10で通知
し、次に一定時間(例えば1分)経過しても使用者が装
置の動作を停止しなかった場合には主回路部9は所定の
データ待避処理等を実行して回路の動作を停止させさサ
スペンディングモードとなる。回路の動作が停止すると
装置の消費電流は動作時に比べて非常に少なくなり、所
定期間、装置はメインCPUのサスペンディング状態を
継続する。放電が継続され、電位はその後も徐々に低下
して行く。この状態ではバッテリ制御部7の最小限の動
作、例えば、蓋のオープン、バッテリの脱着のチェック
等が実行される。そしてゼナーダイオード33、抵抗器
31、32で決定される検出電圧となると、コンパレー
タ20aの出力がHレベルからLレベルに反転し、これ
によってサブCPUもサスペント゛状態となり、FET
3、4、5、および6がオフされ、バッテリ1、2から
の電力供給は停止されバックアップバッテリ18からの
供給に切り替えられる。この状態では、RAM/RTC
17のバックアップにバックアップバッテリの電力が消
費される。
In the present invention, as a countermeasure against this, 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 enter the suspending mode. When the operation of the circuit is stopped, the current consumption of the device is much smaller than that during the 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 20a is inverted from the H level to the L level, whereby the sub CPU is also suspended and the FET
3, 4, 5, and 6 are turned off, the power supply from the batteries 1 and 2 is stopped, and the power is switched to the backup battery 18. In this state, RAM / RTC
The power of the backup battery is consumed for the backup of 17.

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

【0034】上記の行程をバッテリの供給制御で説明す
ると以下となる。始めに使用したバッテリ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. If the battery 1 used at the beginning is not at a level higher than the predetermined reference voltage Vref3, it is determined that the voltage of both batteries is 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.

【0035】例えばバッテリパック1の電圧がバッテリ
パック2の電圧よりも高いとFET4に並列に入ってい
るダイオードがオンしFET6に並列に入っているダイ
オードが逆バイアスされてカットオフする。この状態で
はバッテリパック1のみ放電しバッテリパック2は放電
しないので徐々にバッテリパック1の電圧が低下しバッ
テリパック1の電圧とバッテリパック2の電圧が等しく
なる。すると2つのFET4に並列に入っているダイオ
ードとFET6に並列に入っているダイオードが同時に
オンして2つのバッテリから回路に電力を供給する。ま
たダイオードが入っているため電圧の高いバッテリから
低いバッテリに対して電流が流れることを防ぐことがで
きる。
For example, when the voltage of the battery pack 1 is higher than the voltage of the battery pack 2, the diode in parallel with the FET 4 is turned on and the diode in parallel with the FET 6 is reverse biased and cut off. In this state, only the battery pack 1 is discharged and the battery pack 2 is not discharged, so that the voltage of the battery pack 1 gradually decreases and the voltage of the battery pack 1 becomes equal to the voltage of the battery pack 2. Then, the diode in parallel with the two FETs 4 and the diode in parallel with the FET 6 are turned on at the same time to supply power from the two batteries to the circuit. Further, since the diode is included, it is possible to prevent current from flowing from a battery having a high voltage to a battery having a low voltage.

【0036】上記参照電圧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.

【0037】2本のバッテリ共放電した後では使用者は
バッテリパックを満充電されたバッテリパックに交換す
るためどちらかのバッテリを取り外す。そのような場
合、どちらのバッテリパックを先に取り外してもバッテ
リの出力がダイオードOR結合されているのでバッテリ
制御部7がバッテリの挿抜の状況に応じてFETの制御
を行わなくてもバッテリ制御部の動作停止中に回路への
電力の供給を続けることができる。
The two battery co discharged user after remove either the battery to replace the fully charged battery pack the battery pack. In such a case, since the output of the battery is diode-OR-coupled regardless of which battery pack is removed first, the battery control unit 7 does not control the FET according to the insertion / extraction state of the battery. It is possible to continue supplying power to the circuit while the operation of the device is stopped.

【0038】さらに2本のバッテリパックがダイオード
OR結合されていればどちらか電圧の高い方のバッテリ
から回路に電力を供給しながら2本のバッテリパックの
合計容量で動作停止中の回路に電力を供給することがで
きる。こうすることによりバックアップ用バッテリ18
からの不要な放電を防ぐことができる。通常バックアッ
プ用バッテリ18はリチウム1次電池を使用することが
多いので放電するとバックアップ用バッテリ18を交換
する必要がある。したがってバックアップ用バッテリ1
8から放電する機会をできる限り少なくすることは大き
な意味がある。
Further, if two battery packs are diode-OR-coupled, power is supplied to the circuit from the battery having the higher voltage, while the power is supplied to the circuit that is not operating with the total capacity of the two battery packs. Can be supplied. By doing so, the backup battery 18
It is possible to prevent unnecessary discharge from the. Since the backup battery 18 usually uses a lithium primary battery in many cases, it is necessary to replace the backup battery 18 when discharged. Therefore, the backup battery 1
It is of great significance to minimize the chance of discharging from No. 8.

【0039】以上は2本のバッテリの電圧が共に低下し
装置が動作停止状態にバッテリパックの交換を行う場合
の説明であったが装置が停止してから再び装置を動作さ
せると装置が行っている作業を中断させなければならな
いので作業の効率が低下する。そのため装置が動作状態
でもバッテリパックの交換を行うことができれば作業を
中断せずに装置を使用し続けることができる。動作中に
バッテリパックを交換するためには交換するバッテリを
装置から取り外してももう一方のバッテリで装置を動作
させ続けられる必要がある。したがって上記説明におい
てバッテリパック1の電圧が低下してバッテリパック2
からの電力供給に切り換えてからバッテリパック2の電
圧が低下するまでの期間にバッテリパック1の交換をす
る必要がある。
The above description is for the case where the voltage of the two batteries drops together and the battery pack is replaced while the device is not operating. However, when the device is stopped and then the device is operated again, the device performs it. Since the work being performed must be interrupted, the work efficiency is reduced. Therefore, if the battery pack can be replaced even when the device is operating, the device can be used continuously without interruption. In order to replace the battery pack during operation, it is necessary to continue operating the device with the other battery even if the battery to be replaced is removed from the device. Therefore, in the above description, the voltage of the battery pack 1 drops and the battery pack 2
It is necessary to replace the battery pack 1 during the period from the switching to the power supply from 1 to the time when the voltage of the battery pack 2 drops.

【0040】例えばバッテリパック1で装置を動作させ
ていた時にバッテリパック1の電圧が低下するとバッテ
リ制御部7はバッテリパック1から回路への電力供給を
絶ちバッテリパック2から回路に電力を供給する。主回
路部9はこの状態変化をバッテリ制御部7から受け取り
表示部10にバッテリパック1の電圧が低下したためバ
ッテリパック2から電力を供給しているという情報が表
示される。使用者はこの情報を見てバッテリパックの交
換を行うことになる。
For example, when 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 display unit 10 displays information that the battery pack 2 supplies power because the voltage of the battery pack 1 has dropped. The user sees this information and replaces the battery pack.

【0041】装置に電力を供給しているバッテリパック
の電圧が充分でありもう一方のバッテリパックの電圧が
低下している時に使用者がバッテリパックの交換を行お
うとする場合(最も起こりうる状態である)、電圧が低
下している方のバッテリを交換すれば装置を動作させた
ままバッテリパックの交換を行える。この操作を繰り返
すことにより装置の動作を中断することなくバッテリパ
ックの交換を行うことができる。
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.

【0042】以上説明した動作をフローチャートで説明
する。図5において最初にバッテリパックを装着して動
作を開始するとバッテリ制御部7が初期化されて先ずス
テップS10のようにFET3、FET5をオンFET
4、FET6をオフして二つのバッテリパックをダイオ
ードOR結合する並列結合モードを実行する。初期状態
ではどちらのバッテリが装着されているかあるはどちら
のバッテリにどの位電圧があるかが不明なのでダイオー
ドOR結合させて両方のバッテリパックから電力を供給
する。続いてバッテリ制御部7はステップS12でバッ
テリパック1の電圧をA/Dコンバータ8を使って測定
する。もしバッテリパック1の電圧が充分であればステ
ップS20のようにFET3、FET4をオンしてFE
T5、FET6をオフしてバッテリパック1から回路に
電力を供給する単一結合モードを実行する。
The operation described above will be described with reference to a flowchart. In FIG. 5, when the battery pack is first attached and the operation is started, the battery control unit 7 is initialized, and the FET3 and FET5 are first turned on as in step S10.
4, the FET 6 is turned off to execute the parallel combination mode in which the 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 measures the voltage of the battery pack 1 using the A / D converter 8 in step S12. If the voltage of the battery pack 1 is sufficient, the FET3 and FET4 are turned on as in step S20 and FE
T5, FET6 is turned off to execute the single combined mode for supplying power from the battery pack 1 to the circuit.

【0043】ステップ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 to turn on the battery pack 2
Power the circuit from. If the voltage of both battery packs is not sufficient, the same parallel coupling mode 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 if the voltages of both battery packs are 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.

【0044】バッテリパックの電圧が低下すると次に他
のバッテリパックの電圧を確認する(ステップS2
4)。もし他のバッテリパックの電圧が充分であればバ
ッテリパックの切り替えを行う。ステップS26で引き
続きステップS22に戻って選択されているバッテリパ
ックの電圧を測定する。ステップS24で他のバッテリ
パックの電圧が充分でなければ装置を動作させ続けるこ
とができない。ステップS28で装置が動作中ならユー
ザにバッテリの電圧が充分でないことを通知した上で装
置の動作を停止させる。ステップS28で装置が停止中
なら、装置の動作を停止するステップS30をと飛び越
してステップS32に進む。ステップS32では両方の
バッテリパックの電圧が充分でないのでFET3、FE
T5をオン、FET4、FET6をオフしてバッテリパ
ックの出力をダイオードOR結合し、電力供給モード2
を実行する。そして再びステップS12に戻りバッテリ
パックの電圧の確認を行う。
When the voltage of the battery pack drops, the voltages of other battery packs are checked next (step S2).
4). If the voltage of another battery pack is sufficient, the battery pack is switched. In step S26, the process continuously returns to step S22 to measure the voltage of the selected battery pack. If the voltage of another battery pack is not sufficient in step S24, the device cannot continue to operate. If the device is operating in step S28, the user is notified that the battery voltage is not sufficient, and then the device operation is stopped. If the device is stopped in step S28, the process skips step S30 of stopping the operation of the device and proceeds to step S32. In step S32, the voltage of both battery packs is not sufficient, so FET3, FE
T5 is turned on, FET4 and FET6 are turned off, and the output of the battery pack is diode-OR-coupled to power supply mode 2
To execute. Then, the process returns to step S12 again to check the voltage of the battery pack.

【0045】電源投入等の、装置の通常動作のスタート
時に、複数のバッテリから同時に、供給することによ
り、スタートの信頼性が確保される。すなわち、スター
ト時には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 reliability of the start 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.

【0046】次に、装置を使用中のトラブル回避策につ
いて考慮する。使用者が誤って装置に電力を供給してい
る方のバッテリパックを交換しようとすると、装置に電
力を供給している方のバッテリパックを取りはずした瞬
間に供給する電圧が低下し、重大なトラブルが発生する
恐れがある。
Next, consideration will be given to measures for avoiding trouble while the apparatus is in use. If the user accidentally tries to replace the battery pack that is supplying power to the device, the voltage supplied at the moment when the battery pack that supplies power to the device is removed will cause a serious trouble. May occur.

【0047】本発明ではこれを回避するため、以下の制
御を実行させる。主回路部9は表示部10にどちらのバ
ッテリパックが動作中でありどちらのバッテリパックが
電圧低下しているかを表示するので使用者は交換すべき
バッテリパックを知ることができる。しかし誤操作によ
り回路に電力を供給中のバッテリパックの蓋を開ける
と、バッテリ制御部7はバッテリパック1用の蓋検出ス
イッチ14またはバッテリパック2用の蓋検出スイッチ
15により誤ったバッテリパックを交換しようとしてい
ることを知りブザー11を鳴動させる。ブザーを鳴動さ
せることにより使用者は回路に電力を供給しているバッ
テリパックを交換しようとしていることを知ることがで
きる。同時にバッテリパック蓋を開けると使用者が見る
ことができるバッテリパック用LED12またはバッテ
リパック2用LED13がある。それぞれのLEDはど
のバッテリパックに対応しているかが容易にわかる位置
に取り付けられている。
In order to avoid this in the present invention, the following control is executed. The main circuit unit 9 displays on the display unit 10 which battery pack is operating and which battery pack has a voltage drop, so that the user can know the battery pack to be replaced. However, if the lid of the battery pack that is supplying power to the circuit is opened by mistake, the battery control unit 7 will replace the wrong battery pack by the lid detection switch 14 for the battery pack 1 or the lid detection switch 15 for the battery pack 2. The buzzer 11 is sounded when it knows that. By ringing the buzzer, the user can know that he is about to replace the battery pack that is powering the circuit. At the same time, there is a battery pack LED 12 or a battery pack 2 LED 13 which can be seen by the user when the battery pack lid is opened. Each LED is mounted at a position where it is easy to see which battery pack corresponds to which LED.

【0048】例えばバッテリパック2から回路に電力を
供給している時にバッテリパック2を交換しようとして
誤ってバッテリパック2用の蓋を使用者が開けた場合に
はバッテリ制御部7はこれをバッテリパック2用の蓋検
出スイッチ15により検知しブザー11を鳴動させる。
それと同時にバッテリパック2用LED13を点灯させ
て使用者にバッテリパック2が使用中であることを知ら
せる。ブザー及びLEDの点灯により使用者は誤ったバ
ッテリパックを交換しようとしていることを知りバッテ
リ交換を中止する。これらのLEDは常に点灯している
とLEDを点灯させるための10〜20mAの電流を無
駄に消費するため使用者バッテリパック蓋開けた場合だ
け一定時間だけ(例えば1分間)点灯するようバッテリ
制御部7が制御する。これによりバッテリパックから無
駄な電流が流出することを最小限に押さえることができ
る。
For example, if the user accidentally opens the lid for the battery pack 2 while trying to replace the battery pack 2 while power is being supplied from the battery pack 2 to the circuit, the battery control unit 7 sends this to the battery pack. The buzzer 11 is made to ring by detecting it by the lid detection switch 15 for 2.
At the same time, the LED 13 for the battery pack 2 is turned on to inform the user that the battery pack 2 is in use. By lighting the buzzer and the LED, the user knows that the wrong battery pack is about to be replaced, and stops the battery replacement. If these LEDs are constantly lit, a current of 10 to 20 mA for illuminating the LEDs is wastefully consumed, so that the battery control unit 7 is lit for a fixed time (for example, 1 minute) only when the user battery pack lid is opened. Controlled by. As a result, it is possible to minimize the useless flow of current from the battery pack.

【0049】場合によっては以上のように二重、三重の
警告を行っても使用者が誤ったバッテリを交換してしま
うことがある。その場合には次のような方法で装置の誤
動作を防ぐ。例えばバッテリパック2から回路に電力を
供給している時に使用者が誤ってバッテリパック2を覆
おう蓋を開けた場合、バッテリ制御部はバッテリパック
2を交換しようとしていることを検知する。すると、先
ず、 FET3、FET5をオンしFET4、FET6
をオフしバッテリパックをOR結合し並列結合モードに
する。次にバッテリパック1の電圧を検出し、この電位
が装置を動作させることができる程度、すなわち参照電
圧1より高ければ、FET3、FET4をオンしFET
5、FET6をオフしてバッテリパック1から回路に電
力を供給を切り替える。これによりもう一方のバッテリ
パックで装置の動作を継続することができる。
In some cases, the user may mistakenly replace the battery even if the double or triple warning is given as described above. In that case, malfunction of the device is prevented by the following method. For example, if the user accidentally opens the lid that covers the battery pack 2 while supplying power from the battery pack 2 to the circuit, the battery control unit detects that the battery pack 2 is about to be replaced. Then, first, FET3 and FET5 are turned on, and FET4 and FET6
Is turned off and the battery packs are OR-connected to enter the parallel connection mode. Next, the voltage of the battery pack 1 is detected, and if this potential is at a level at which the device can be operated, that is, higher than the reference voltage 1, the FET3 and FET4 are turned on and the FET is turned on.
5. The FET 6 is turned off to switch the power supply from the battery pack 1 to the circuit. As a result, the operation of the device can be continued with the other battery pack.

【0050】並列結合モードでは、装置が動作中に回路
が消費する電力が大きい場合には寄生ダイオードではダ
イオードの順方向電圧による電圧降下が大きくなってし
まい実際に回路に供給される電圧はバッテリの電圧より
0.7〜1V程度低くなる。この様な場合に電子装置の
消費電力が大きいタイプでは回路動作を継続するのに充
分な電圧を供給できない場合がある。
In the parallel coupled mode, when the circuit consumes a large amount of power while the device is operating, the parasitic diode causes a large voltage drop due to the forward voltage of the diode, and the voltage actually supplied to the circuit is the battery voltage. It is about 0.7 to 1 V lower than the voltage. In such a case, a type with a large power consumption of the electronic device may not be able to supply a sufficient voltage for continuing the circuit operation.

【0051】このようなことを考慮した場合はFET4
及びFET6と並列にショットキーバリヤダイオードを
接続した構成とする。ショットキーバリアダイオードは
順方向電圧が低く0.2〜0.4Vであり寄生ダイオー
ドを使用した場合に比べて回路に高い電圧を供給するこ
とができる。
In consideration of this, the FET 4
Also, a Schottky barrier diode is connected in parallel with the FET 6. The Schottky barrier diode has a low forward voltage of 0.2 to 0.4 V and can supply a higher voltage to the circuit than when a parasitic diode is used.

【0052】この様に2つのバッテリパックをダイオー
ドOR結合しておけばどちらか電圧の高い方のバッテリ
パックから回路に電力を供給することができるので誤っ
て回路に電力を供給している方のバッテリパックを抜い
ても回路への電力供給が絶たれて回路が誤動作すること
はない。
If the two battery packs are diode-OR-coupled in this manner, the circuit pack can be supplied with electric power from the battery pack with a higher voltage, so that the circuit pack can be erroneously supplied with electric power. Even if the battery pack is removed, the circuit does not malfunction due to the interruption of power supply to the circuit.

【0053】また使用者が誤ってバッテリパック2を交
換しようとしている時にバッテリパック1が装着されて
いないかまたはバッテリパック1の電圧が装置を動作さ
せるには充分で無い場合にはバッテリ制御部7はバッテ
リパック2の蓋が開かれたことをバッテリパック2用の
蓋検出スイッチ15で検出し、所定のデータの待避動作
をして回路の動作を停止する。このようにすればバッテ
リパック1が誤って抜かれても回路の動作は停止してい
るため回路が誤動作することはない。
If the user is mistakenly trying to replace the battery pack 2 and the battery pack 1 is not installed or the voltage of the battery pack 1 is not sufficient to operate the device, the battery control unit 7 Detects that the lid of the battery pack 2 has been opened by the lid detection switch 15 for the battery pack 2, performs a saving operation of predetermined data, and stops the operation of the circuit. In this way, even if the battery pack 1 is accidentally removed, the circuit operation is stopped and the circuit does not malfunction.

【0054】図6はバッテリパック用蓋が開いた場合の
フローチャートである。バッテリパック用蓋が開けられ
るとこれと連動するスイッチが作動し、サブCPU7a
に割り込み信号が発生する。割り込み信号が発生すると
先ずステップS50でどちらのバッテリパック用蓋が開
いたかを確認する。次にステップS52でFET3、F
ET5をオンしFET4、FET6をオフしバッテリパ
ックの出力をダイオードOR結合し、誤操作に対処す
る。ステップS54で蓋を開けたほうのバッテリパック
から装置に電力を供給しているかどうかを確認する。蓋
が開いた方のバッテリパックから装置に電力を供給して
いなければバッテリパックが抜かれても装置の動作に影
響が無いのでステップS66でFETの状態を元に戻し
て割り込み処理からリターンする。
FIG. 6 is a flow chart when the battery pack lid is opened. When the lid for the battery pack is opened, a switch interlocking with the lid is activated, and the sub CPU 7a
An interrupt signal is generated at. When the interrupt signal is generated, it is first checked in step S50 which battery pack lid is open. Next, in step S52, FET3, F
The ET5 is turned on, the FET4 and the FET6 are turned off, and the output of the battery pack is diode-OR-coupled to prevent erroneous operation. In step S54, it is confirmed whether power is being supplied to the device from the battery pack with the lid opened. If power is not being supplied to the device from the battery pack with the lid opened, the operation of the device is not affected even if the battery pack is removed, so the state of the FET is returned to the original state in step S66 and the interrupt process is returned.

【0055】蓋が開いた方のバッテリパックから電力を
装置に供給している場合には、バッテリパックが抜かれ
ると装置の動作が突然停止してしまうのでバッテリパッ
クを切り換えるか、あるいは装置の動作を停止する必要
がある。したがってステップS56でブザーの鳴動と対
応するLEDのオンを実行し使用者に警告する。この
後、ステップS58で他方のバッテリパックの電圧充分
かどうかを確認する。他のバッテリパックの電圧が不充
分なら蓋の開いている方のバッテリパックが抜かれると
動作を継続することができないのでステップS64で所
定のデータ待避処理を実行し装置の動作を停止する。ま
た他のバッテリの電圧が充分であってもステップS60
で他のバッテリパックの蓋が開いていることが確認され
ると他のバッテリパックに切り換えたとしてもそれ以降
の装置の動作の継続が保証できないのでやはりステップ
S64で装置の動作を停止し割り込み処理からリターン
する。
When power is supplied to the apparatus from the battery pack with the lid open, the operation of the apparatus suddenly stops when the battery pack is removed. Therefore, switch the battery pack or operate the apparatus. Need to stop. Therefore, in step S56, the buzzer sounds and the corresponding LED is turned on to warn the user. Then, in step S58, it is confirmed whether the voltage of the other battery pack is sufficient. If the voltage of the other battery pack is insufficient, the operation cannot be continued if the battery pack with the open lid is removed, and therefore a predetermined data saving process is executed in step S64 to stop the operation of the apparatus. Even if the voltage of other batteries is sufficient, step S60
If it is confirmed that the lid of the other battery pack is open, the operation of the device cannot be guaranteed to continue even if the battery pack is switched to another battery pack. Therefore, in step S64, the operation of the device is stopped and interrupt processing is performed. Return from.

【0056】他のバッテリパックの電圧が充分でありか
つ蓋が閉じていればバッテリパックを切り換えることが
可能なのでステップS62へ移行し他のバッテリパック
に切り替えをして割り込み処理からリターンする。以上
の実施例ではバッテリパックが2つの場合を説明したが
3つ以上の場合でも同様の構成で実現することができ
る。また、バッテリパックはリチウムイオン2次電池で
説明したが、ニッカド電池、ニッケル水素電池、鉛蓄電
池等でも同様に実現できる。(但し電圧測定による正確
な残量検出はリチウムイオン電池と鉛蓄電池等のみ可能
である)
If the voltage of the other battery pack is sufficient and the lid is closed, the battery pack can be switched. Therefore, the process proceeds to step S62, the battery pack is switched to another battery pack, and the interrupt processing is returned. In the above embodiment, 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. Although the battery pack has been described as a lithium-ion secondary battery, it can be also realized by a nickel-cadmium battery, a nickel-hydrogen battery, a lead storage battery, or the like. (However, accurate residual quantity detection by voltage measurement is possible only for lithium-ion batteries and lead-acid batteries)

【0057】[0057]

【発明の効果】以上説明したように本発明によれば、複
数のバッテリを有する電子装置において、バッテリが取
り外されることを事前に検知して、複数のバッテリを一
時的にOR結合して電力を供給することにより、その時
実行中の処理の継続を可能にしたり、データの待避時間
を確保したりすることが可能なバッテリ制御回路を実現
できる。
As described above, according to the present invention, in an electronic device having a plurality of batteries, the removal of the batteries is detected in advance, and the plurality of batteries are temporarily OR-coupled to generate electric power. By supplying the power supply, it is possible to realize a battery control circuit capable of continuing the process being executed at that time and ensuring a data save time.

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

【図1】本発明の一実施例のバッテリ制御部及びコンピ
ュータ装置の略図である。
FIG. 1 is a schematic diagram of a battery controller and a computer device in 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 view showing the back surface of the apparatus of the embodiment.

【図4】実施例の装置でバッテリ蓋を取り外した時の図
である。
FIG. 4 is a diagram when the battery lid is removed in the device of the embodiment.

【図5】実施例の装置で通常動作時の制御を示すフロー
チャートである。
FIG. 5 is a flowchart showing control during normal operation in the apparatus of the embodiment.

【図6】実施例の機器でバッテリ蓋が開いた場合の制御
を示すフローチャートである。
FIG. 6 is a flow chart showing control when the battery lid is opened in the device of the embodiment.

【図7】本発明に用いるリチウムイオンバッテリの開放
電圧と残り容量の関係を示す図である。
FIG. 7 is a diagram showing a relationship between an open circuit voltage and a remaining capacity of a lithium ion battery used in the present invention.

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

1、2:バッテリパック 3、4、5、6:FET 7:バッテリ制御部 8:A/Dコンバータ 9:主回路部 10:表示部 11:ブザー 14:バッテリパック1用の蓋検出スイッチ 15:バッテリパック2用の蓋検出スイッチ 16:IO部 17:RAM/RTC 18:バックアップ用サブバッテリ 1, 2: Battery pack 3, 4, 5, 6: FET 7: Battery control unit 8: A / D converter 9: Main circuit unit 10: Display unit 11: Buzzer 14: Lid detection switch for battery pack 15: Lid detection switch for battery pack 16: IO unit 17: RAM / RTC 18: Sub battery for backup

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 主電源としての複数の主バッテリと、主
回路部と、前記複数の主バッテリのそれぞれの出力端子
に接続されたスイッチ手段と、該スイッチ手段を個別に
制御する電力制御手段と、前記主バッテリの電圧を計測
する電圧検出手段と、前記主バッテリを収納する部位に
前記複数の主バッテリに対応して設けた複数の蓋と、該
蓋に対応してそれらの開閉を検出する複数の蓋検出器を
有する電子装置において、前記電力制御手段は、前記複
数の主バッテリの中から1つの主バッテリを選択し前記
電子装置の前記主回路部に電力を供給している時、対応
する主バッテリの蓋の開状態を検出した時は、前記複数
のスイッチ手段をオンにし複数の主バッテリをOR結合
する制御手段を有することを特徴とする電子装置。
1. A plurality of main batteries as main power sources, a main circuit section, switch means connected to respective output terminals of the plurality of main batteries, and power control means for individually controlling the switch means. , A voltage detecting means for measuring the voltage of the main battery, a plurality of lids provided in a portion accommodating the main battery corresponding to the plurality of main batteries, and detecting opening / closing of the lids corresponding to the lids. In an electronic device having a plurality of lid detectors, the power control means selects one main battery from the plurality of main batteries and supplies power to the main circuit unit of the electronic device. An electronic device having a control means for turning on the plurality of switch means and OR-connecting the plurality of main batteries when the open state of the lid of the main battery is detected.
JP8083635A 1995-04-06 1996-04-05 Electronic apparatus Pending JPH08336242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8083635A JPH08336242A (en) 1995-04-06 1996-04-05 Electronic apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8141695 1995-04-06
JP7-81416 1995-04-06
JP8083635A JPH08336242A (en) 1995-04-06 1996-04-05 Electronic apparatus

Publications (1)

Publication Number Publication Date
JPH08336242A true JPH08336242A (en) 1996-12-17

Family

ID=26422445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8083635A Pending JPH08336242A (en) 1995-04-06 1996-04-05 Electronic apparatus

Country Status (1)

Country Link
JP (1) JPH08336242A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH118939A (en) * 1997-06-13 1999-01-12 Nec Corp Power source circuit and battery controller
WO2001095457A1 (en) * 2000-06-06 2001-12-13 Mitsubishi Denki Kabushiki Kaisha Uninterruptible power supply
JP2011055680A (en) * 2009-09-04 2011-03-17 Makita Corp Battery pack
JP2011176958A (en) * 2010-02-25 2011-09-08 Denso Corp In-vehicle power supply
WO2016113809A1 (en) * 2015-01-16 2016-07-21 パナソニックIpマネジメント株式会社 Electronic device
JP2018066746A (en) * 2017-11-22 2018-04-26 富士フイルム株式会社 Electronic cassette and electronic cassette operation method
US10105114B2 (en) 2014-09-29 2018-10-23 Fujifilm Corporation Electronic cassette and operating method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH118939A (en) * 1997-06-13 1999-01-12 Nec Corp Power source circuit and battery controller
WO2001095457A1 (en) * 2000-06-06 2001-12-13 Mitsubishi Denki Kabushiki Kaisha Uninterruptible power supply
US6507168B1 (en) * 2000-06-06 2003-01-14 Mitsubishi Denki Kabushiki Kaisha Uninterruptible power supply
JP2011055680A (en) * 2009-09-04 2011-03-17 Makita Corp Battery pack
JP2011176958A (en) * 2010-02-25 2011-09-08 Denso Corp In-vehicle power supply
US10105114B2 (en) 2014-09-29 2018-10-23 Fujifilm Corporation Electronic cassette and operating method thereof
WO2016113809A1 (en) * 2015-01-16 2016-07-21 パナソニックIpマネジメント株式会社 Electronic device
JP2018066746A (en) * 2017-11-22 2018-04-26 富士フイルム株式会社 Electronic cassette and electronic cassette operation method

Similar Documents

Publication Publication Date Title
US5739596A (en) Power supply for an electronic device and power delivery method therefor
US6784641B2 (en) Uninterruptible power supply
US6208117B1 (en) Battery pack and electronic apparatus using the same
US6172478B1 (en) Power distribution in a portable device
US7541773B2 (en) Battery-powered tool capable of detecting discharged battery pack
US8384349B2 (en) Monitoring system for electric power tool, battery pack for electric power tool, and battery charger for electric power tool
US5563493A (en) Power source system of portable information processing system using battery
US7460929B2 (en) Integrated current fault controller
JPH08336243A (en) Electronic apparatus and control method therefor
EP2615715B1 (en) Battery pack
US6236226B1 (en) Test method and system for uninterruptible power supply
US8643339B2 (en) Battery pack including a status detection unit to detect an abnormal status and a notification unit to notify a user of an availability to restart a discharging operation
JPH09308131A (en) Electronic device and control thereof
JP2010162656A (en) Battery monitoring system for power tool, battery pack for power tool, and charger for power tool
US5929603A (en) Apparatus for preventing over-discharge
JPH08336242A (en) Electronic apparatus
EP0335316B1 (en) Apparatus for controlling selection of batteries
JPH08336241A (en) Electronic apparatus
JP2005278371A (en) Charging type electric apparatus
JPH11355976A (en) Electronic equipment
JPH09289742A (en) Electronic device and its control method
JP2005224047A (en) Method of detecting service life and device of monitoring service life of auxiliary power supply of back-up power supply
JPH04326077A (en) Battery drive equipment
JP7469110B2 (en) Uninterruptible power system
JPH06311666A (en) Power supply device