JPH05211728A - Power control system - Google Patents

Power control system

Info

Publication number
JPH05211728A
JPH05211728A JP4015959A JP1595992A JPH05211728A JP H05211728 A JPH05211728 A JP H05211728A JP 4015959 A JP4015959 A JP 4015959A JP 1595992 A JP1595992 A JP 1595992A JP H05211728 A JPH05211728 A JP H05211728A
Authority
JP
Japan
Prior art keywords
battery
power
switch
power supply
voltage
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.)
Granted
Application number
JP4015959A
Other languages
Japanese (ja)
Other versions
JP2539982B2 (en
Inventor
Tsuneo Sato
恒夫 佐藤
Hiroshi Maruoka
寛 丸岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP4015959A priority Critical patent/JP2539982B2/en
Publication of JPH05211728A publication Critical patent/JPH05211728A/en
Application granted granted Critical
Publication of JP2539982B2 publication Critical patent/JP2539982B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To maintain reliability by changing the connection or disconnection of a battery through turning OFF the battery discharge switch of the battery starting the connection or disconnection, when the connection or disconnection of the battery is detected in a state where power is supplied to an apparatus, and by continuing the supply of power. CONSTITUTION:The battery discharge switches SW21-SW23 of any of a plurality of batteries l are turned ON so that power is supplied to an apparatus. Then, when tone start of the connection or disconnection of the battery 1 is detected in this state by a signal from a battery detection terminal 2, any of the battery discharge switches SW21-SW23 of other battery 1 is turned ON if power can be supplied from the battery 1, thereafter the battery discharge switches SW21-SW23 of the battery 1 starting the connection or disconnection is turned OFF so that the connection or disconnection of the battery is changed, and the supply of power is continued. Thus, it is possible to maintain the reliability of a power supply system.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のバッテリから装
置への電源の供給を制御する電源制御方式に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply control system for controlling power supply from a plurality of batteries to a device.

【0002】[0002]

【従来の技術】従来、電源を供給する主電源と、当該主
電源がOFFのときにバックアップを行うバッテリを備
えた装置において、当該装置に対するバッテリ(バッテ
リカセット)の着脱時に一定距離スライドして当該バッ
テリの接続状態を保つ電極を持ち、着脱検出手段により
当該バッテリの取り外し開始が検出されたときに、デー
タの退避処理を行う装置がある。
2. Description of the Related Art Conventionally, in a device provided with a main power source for supplying power and a battery for backing up when the main power source is off, when a battery (battery cassette) is attached to or detached from the device, the device is slid for a certain distance. There is a device which has an electrode for maintaining the connection state of the battery and performs a data saving process when the attachment / detachment detecting unit detects the detachment start of the battery.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の装置
は、バッテリの取り外し開始が検出されたときに、デー
タの退避処理を行うようにしていたため、以下の問題が
ある。
The above-mentioned conventional device has the following problems because the data saving process is performed when the battery removal start is detected.

【0004】(1) 複数のバッテリから供給可能な装
置において、放電中のバッテリが着脱された場合、当該
バッテリの着脱の開始が検出されたときにデータの退避
処理をその都度行っていたのでは、バッテリの退避処理
を行うことなく、そのまま継続して運用を行うことがで
きず、中断してしまうという問題があった。このため、
他のバッテリに切り替えたときに運用を中断することな
くそのまま継続して行うことが望まれている。
(1) In a device that can be supplied from a plurality of batteries, if the battery being discharged is attached or detached, the data saving process may be performed each time the start of attachment or detachment of the battery is detected. However, there is a problem that the operation cannot be continuously performed without performing the battery evacuation process and the operation is interrupted. For this reason,
It is desired to continue the operation without interruption when switching to another battery.

【0005】(2) 複数のバッテリから供給可能な装
置において、放電中のバッテリが着脱されたときに他の
バッテリに切り替えてそのまま運用を継続するようにし
た場合、切り替え時などに電圧がドップしたかチェック
していなく、信頼性が低下してしまうという問題があ
る。このため、バッテリを切り替えて電源を装置に供給
する場合、電圧のドロップが一時的でも検出されたと
き、リセット処理および初期化処理などを自動的に行
い、信頼性を保持することが望まれている。
(2) In a device which can be supplied from a plurality of batteries, when the discharging battery is switched to another battery to continue the operation as it is, the voltage is dropped at the time of switching. There is a problem that reliability is reduced because it is not checked. For this reason, when switching batteries and supplying power to the device, it is desirable to automatically perform reset processing and initialization processing when voltage drop is detected even temporarily to maintain reliability. There is.

【0006】本発明は、これらの問題を解決するため、
複数のバッテリから電源を切り替えて装置に供給する際
に、供給可能なバッテリが装着されていればバッテリを
切り替えて電圧のドロックが検出されない場合に運用を
継続し、電圧のドロップが検出された場合にリセット、
初期化を行い、一方、バッテリが装着されていなければ
データ退避処理を行い、バッテリ切り替え時に装置の運
用を可及的に中断することなく継続すると共に切り替え
時に電圧ドロップが検出されたときにリセット、初期化
などを行い信頼性を保持することを目的としている。
The present invention solves these problems.
When switching the power supply from multiple batteries and supplying it to the device, if a battery that can be supplied is installed, the battery is switched and the operation is continued if a voltage lock is not detected, and a voltage drop is detected. Reset to
Initialization, on the other hand, if the battery is not installed, data saving processing is performed, and operation of the device is continued without interruption as much as possible at the time of battery switching, and reset when a voltage drop is detected at the time of switching, The purpose is to maintain reliability by performing initialization.

【0007】[0007]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、バッテリ
検出端子2は、バッテリの着脱の開始を検出するもので
ある。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, a battery detection terminal 2 detects the start of attachment / detachment of a battery.

【0008】バッテリ放電スイッチSW21ないしSW
23は、バッテリから装置に電源を供給するスイッチで
ある。電圧検出部6は、バッテリの切り替え時などに電
圧が所定閾値よりもドロップしたか否かを検出するもの
である。
Battery discharge switches SW21 to SW
Reference numeral 23 is a switch for supplying power from the battery to the device. The voltage detection unit 6 detects whether or not the voltage drops below a predetermined threshold value when the battery is switched.

【0009】バッテリ充電スイッチSW11からSW1
3は、バッテリに充電電流を供給するスイッチである。
Battery charging switches SW11 to SW1
A switch 3 supplies a charging current to the battery.

【0010】[0010]

【作用】本発明は、図1に示すように、複数のバッテリ
のいずれかのバッテリ放電スイッチSW21ないしSW
23をオンにして電源を装置に供給している状態で、当
該バッテリの着脱の開始をバッテリ検出端子2からの信
号によって検出したときに、他のバッテリから電源を供
給可能な場合にこのバッテリのバッテリ放電スイッチS
W21ないしSW23のいずれかをオンにした後、着脱
を開始したバッテリのバッテリ放電スイッチをオフにし
て切り替えるようにしている。
According to the present invention, as shown in FIG. 1, the battery discharge switches SW21 to SW of any one of a plurality of batteries are provided.
When the power supply to the apparatus is turned on by turning on 23 and the start of the attachment / detachment of the battery is detected by the signal from the battery detection terminal 2, when the power can be supplied from another battery, this battery Battery discharge switch S
After turning on any one of W21 to SW23, the battery discharge switch of the battery that has started to be attached / detached is turned off and switched.

【0011】この際、電圧検出部6がバッテリを切り替
えたときなどに、電圧が所定閾値よりもドロップしたか
否かを検出し、電圧のドロップを検出したときに装置の
リセット、初期化などを行うようにしている。
At this time, when the voltage detection unit 6 switches the battery, it is detected whether or not the voltage drops below a predetermined threshold value, and when the voltage drop is detected, the device is reset or initialized. I'm trying to do it.

【0012】また、バッテリを他のバッテリに切り替え
ようとしたときに、電源の供給の可能なバッテリがない
ときにデータの退避処理を行うようにしている。また、
複数のバッテリのうちの充電中のバッテリの着脱の開始
をバッテリ検出端子2からの信号によって検出したとき
に、他の充電されていないバッテリがあるときに充電中
のバッテリのバッテリ充電スイッチSW11ないしSW
13をオフおよび未充電のバッテリのバッテリ充電スイ
ッチSW11ないしSW13をオンにして切り替えるよ
うにしている。
Further, when the battery is to be switched to another battery, the data saving process is performed when there is no battery that can be supplied with power. Also,
When the start of attachment / detachment of the battery being charged among the plurality of batteries is detected by the signal from the battery detection terminal 2, the battery charging switches SW11 to SW of the battery being charged when there are other uncharged batteries
13 is turned off and the battery charging switches SW11 to SW13 of the uncharged battery are turned on to switch the battery.

【0013】従って、複数のバッテリから電源を切り替
えて装置に供給する際に、供給可能なバッテリが装着さ
れていればバッテリを切り替えて電圧のドロップが検出
されない場合に運用を継続し、電圧のドロップが検出さ
れた場合にリセット、初期化などし、一方、バッテリが
装着されていなければデータ退避処理を行うことによ
り、バッテリ切り替え時に装置の運用を中断することな
く継続すると共に切り替え時に電圧ドロップが検出され
たときにリセットなどを行い信頼性を保持することが可
能となる。また、AC電源から生成した電源を装置に供
給すると共に、バッテリに充電中に当該充電中のバッテ
リの着脱が検出されたときに未充電の他のバッテリに自
動的に切り換えて充電することが可能となる。
Therefore, when the power is switched from a plurality of batteries and supplied to the apparatus, if a battery that can be supplied is installed, the battery is switched and the operation is continued if the voltage drop is not detected, and the voltage drop is continued. When the battery is switched, the device is reset and initialized, and if the battery is not installed, the data saving process is performed to continue the operation of the device without interrupting the battery switching and to detect the voltage drop when switching the battery. It is possible to maintain reliability by performing a reset etc. Further, it is possible to supply the power generated from the AC power source to the device and automatically switch to another uncharged battery to charge the battery when the attachment / detachment of the battery being charged is detected while the battery is being charged. Becomes

【0014】[0014]

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

【0015】図1は、本発明の1実施例構成図(その
1)を示す。図1において、バッテリ1は、図示外のコ
ンピュータシステムなどの装置に電源を供給するバッテ
リであって、いずれか1つのバッテリのバッテリ放電ス
イッチをオンにして電源を装置に供給するものである。
ここでは、バッテリ(1)、バッテリ(2)、バッテリ
(3)の3つから構成され、いずれか1つから図示外の
装置に電源(システム電源)を供給する。
FIG. 1 is a configuration diagram (1) of an embodiment of the present invention. In FIG. 1, a battery 1 is a battery that supplies power to a device such as a computer system (not shown), and turns on a battery discharge switch of any one battery to supply power to the device.
Here, it is composed of three of a battery (1), a battery (2) and a battery (3), and any one supplies power (system power) to a device (not shown).

【0016】バッテリ検出端子2は、バッテリ(1)、
バッテリ(2)、バッテリ(3)にそれぞれ設け、バッ
テリが着脱を開始したときにバッテリ検出信号C1、C
2、C3を例えば零として当該バッテリの着脱開始を検
出するための端子である。このバッテリ検出端子2は、
バッテリ(バッテリパック)の着脱を開始したときにバ
ッテリ検出端子2の接触が外れてバッテリ検出信号C
1、C2、C3が零となり、更にバッテリの着脱を進め
ると、バッテリからの電源の供給が遮断されるように構
成されている。従って、このバッテリ検出信号C1、C
2、C3が零になったことを契機に、バッテリを他のバ
ッテリに切り替えたり、切り替えるバッテリがないとき
はデータの退避処理を行うようにしている(図3、図4
参照)。
The battery detection terminal 2 includes a battery (1),
The battery detection signals C1 and C are provided on the battery (2) and the battery (3), respectively, when the battery starts to be attached / detached.
2 and C3 are terminals for detecting the start of attachment / detachment of the battery by setting, for example, zero. This battery detection terminal 2 is
When the attachment / detachment of the battery (battery pack) is started, the contact of the battery detection terminal 2 comes off and the battery detection signal C
When 1, C2, C3 become zero and the battery is further attached and detached, the power supply from the battery is cut off. Therefore, this battery detection signal C1, C
2, when C3 becomes zero, the battery is switched to another battery, or when there is no battery to be switched, data saving processing is performed (FIGS. 3 and 4).
reference).

【0017】バッテリ放電スイッチSW21ないしバッ
テリ放電スイッチSW23は、バッテリ(1)ないしバ
ッテリ(3)から電源を装置に供給するためのスイッチ
である。ここでは、バッテリ放電スイッチSW21ない
しSW23のいずれか1つをオンにし(バッテリの切り
替え時は一時的に重複してオンにし)、バッテリ(1)
ないし(3)の該当する1つから電源を電源発生回路4
を構成するDC−DCコンバータ42に供給し、このD
C−DCコンバータ42がDC−DC変換した所定の電
圧をシステム電源として図示外の装置に供給するように
している。バッテリ放電スイッチSW21ないしSW2
3をオンにするには、バッテリ放電スイッチ信号OUT
1ないしOUT3の該当する信号をオンにする。
The battery discharge switch SW21 to the battery discharge switch SW23 are switches for supplying power from the battery (1) to the battery (3) to the device. Here, any one of the battery discharge switches SW21 to SW23 is turned on (temporarily overlapped and turned on when the batteries are switched), and the battery (1)
Power is generated from the corresponding one of (3) to (3).
Is supplied to the DC-DC converter 42 constituting the
The predetermined voltage DC-DC converted by the C-DC converter 42 is supplied to a device (not shown) as a system power supply. Battery discharge switch SW21 to SW2
To turn on 3, the battery discharge switch signal OUT
The corresponding signals of 1 to OUT3 are turned on.

【0018】ダイオード3は、バッテリ(1)ないしバ
ッテリ(3)の複数のバッテリ放電スイッチSW21な
いしSW23がオンとなったときに、電圧の高い方の電
源から電源発生回路4に供給するためのものである。
The diode 3 is for supplying the power source generating circuit 4 from the power source having the higher voltage when the plurality of battery discharge switches SW21 to SW23 of the battery (1) to the battery (3) are turned on. Is.

【0019】バッテリ充電スイッチSW11ないしバッ
テリ充電スイッチSW13は、電源発生回路4を構成す
るACアダプタ41およびDC−DCコンバータ42か
らの電源をバッテリ(1)ないしバッテリ(3)のいず
れか1つに供給して順次充電するためのスイッチであ
る。また、バッテリ(1)ないし(3)のいずれかが着
脱開始されたときは、未充電の他のバッテリ(1)ない
し(3)のいずれか1つのバッテリ充電スイッチSW1
1ないしSW13をオンにして充電するようにしてい
る。バッテリ充電スイッチSW11ないしSW13をオ
ンにするには、バッテリ充電スイッチ信号IN1ないし
IN3の該当する信号をオンにする。
The battery charging switch SW11 to the battery charging switch SW13 supply the power from the AC adapter 41 and the DC-DC converter 42 constituting the power generation circuit 4 to any one of the batteries (1) to (3). And a switch for sequentially charging. When any one of the batteries (1) to (3) is started to be attached / detached, one battery charging switch SW1 of any of the other uncharged batteries (1) to (3) is started.
1 to SW13 are turned on for charging. To turn on the battery charge switches SW11 to SW13, turn on the corresponding signals of the battery charge switch signals IN1 to IN3.

【0020】電源発生回路4は、AC電源から生成した
直流の電源(システム電源)を図示外の装置に供給した
り、電源をバッテリ(1)ないしバッテリ(3)に供給
して充電したりするものであって、ACアダプタ41お
よびDC−DCコンバータ42から構成されるものであ
る。
The power supply generation circuit 4 supplies a DC power supply (system power supply) generated from an AC power supply to a device (not shown) or supplies the power supply to the battery (1) to the battery (3) for charging. It is composed of an AC adapter 41 and a DC-DC converter 42.

【0021】ACアダプタ41は、AC電源(商用の1
00VAC、200VACなど)をもとに所定の直流電
圧を生成するものである。DC−DCコンバータ42
は、ACアダプタ41からの直流電圧が供給されている
場合、DC−DC変換した所定の直流電圧を図示外の装
置にシステム電源として供給、および所定の直流電圧を
バッテリ(1)ないしバッテリ(3)のうちのいずれか
1つに供給して充電したり、ACアダプタ41からの直
流電圧が供給されていない場合、バッテリ(1)ないし
バッテリ(3)のいずれかからの電圧をDC−DC変換
した所定の直流電圧を図示外の装置にシステム電源とし
て供給したりするものである。
The AC adapter 41 is an AC power source (commercial 1
A predetermined DC voltage is generated based on (00 VAC, 200 VAC, etc.). DC-DC converter 42
When the DC voltage is supplied from the AC adapter 41, the DC-DC converted predetermined DC voltage is supplied to a device (not shown) as a system power source, and the predetermined DC voltage is supplied to the battery (1) to the battery (3). 1) to charge the battery, or when the DC voltage from the AC adapter 41 is not supplied, the voltage from the battery (1) to the battery (3) is converted from DC to DC. The predetermined DC voltage is supplied to a device (not shown) as a system power supply.

【0022】消費電流検出部7は、バッテリ(1)ない
しバッテリ(3)のいずれから負荷である、ここではD
C−DCコンバータ42に供給する電流を、電圧として
検出するものである。この検出した電流に対応する電圧
は、図2のA/D変換器8に入力してディジタル値に変
換する。
The consumption current detector 7 is a load from any one of the battery (1) to the battery (3), in this case D
The current supplied to the C-DC converter 42 is detected as a voltage. The voltage corresponding to the detected current is input to the A / D converter 8 in FIG. 2 and converted into a digital value.

【0023】図2は、本発明の他の実施例構成図(その
2)を示す。図2において、1チップマイコン9は、図
1の構成によって検出した各種信号(左端に記載した各
種信号)をもとに、バッテリの切り替え、リセット処
理、データ退避などの処理を行うもの(図3から図6を
用いて後述する)であって、バッテリ装着チェック1
0、バッテリ残量計算11、バッテリ充電/放電制御1
2、データ退避処理13、バッテリ充電SW/放電SW
制御14、エラー処理15、およびマイコン初期化16
などから構成されるものである。
FIG. 2 is a configuration diagram (2) of another embodiment of the present invention. In FIG. 2, the one-chip microcomputer 9 performs processing such as battery switching, reset processing, and data saving based on various signals (various signals shown on the left end) detected by the configuration of FIG. 1 (see FIG. 3). From FIG. 6), and the battery mounting check 1
0, battery remaining amount calculation 11, battery charge / discharge control 1
2, data save processing 13, battery charge SW / discharge SW
Control 14, error handling 15, and microcomputer initialization 16
It is composed of etc.

【0024】バッテリ装着チェック10は、バッテリ
(1)、(2)、(3)の各バッテリ検出端子2からの
バッテリ検出信号C1、C2、C3をもとに、バッテリ
の装着を検出するものである。例えばバッテリ検出信号
C1が零電位となったことを検出したとき、バッテリ
(1)の脱着が開始されたと検出するものである。この
バッテリ(1)の脱着の開始を検出したことに対応し
て、切り替えるバッテリがあるときはバッテリの切り替
えを行い、切り替えるバッテリがないときはデータの退
避処理を行うようにしている(図4を用いて後述す
る)。
The battery mounting check 10 detects the mounting of the battery based on the battery detection signals C1, C2 and C3 from the battery detection terminals 2 of the batteries (1), (2) and (3). is there. For example, when it is detected that the battery detection signal C1 becomes zero potential, it is detected that the attachment / detachment of the battery (1) is started. In response to detection of the start of attachment / detachment of the battery (1), the battery is switched when there is a battery to be switched, and the data saving process is performed when there is no battery to be switched (see FIG. 4). Use later).

【0025】バッテリ残量計算11は、バッテリ
(1)、(2)、(3)からDC−DCコンバータ42
に供給した電流を消費電流検出部7によって検出し、こ
れをA/D変換器8でディジタル値に変換して取り込
み、例えば満充電からの放電電流、時間などをもとに現
在のバッテリの残量を計算するものである。
The battery remaining amount calculation 11 is performed by using the batteries (1), (2) and (3) to calculate the DC-DC converter 42.
The current supplied to the battery is detected by the consumption current detector 7, which is converted into a digital value by the A / D converter 8 and taken in, for example, based on the discharge current from full charge, time, etc. It is to calculate the quantity.

【0026】バッテリ充電/放電制御12は、バッテリ
装着チェック10からのバッテリ装着の状態、およびバ
ッテリ残量計算11からのバッテリの残量の状態をもと
に、バッテリの充電、放電を制御するものである(図3
から図6を用いて順次後述する)。
The battery charging / discharging control 12 controls charging and discharging of the battery based on the battery mounting state from the battery mounting check 10 and the battery remaining amount state from the battery remaining amount calculation 11. (Fig. 3
To FIG. 6).

【0027】データ退避処理13は、バッテリ装着チェ
ック10からバッテリの脱着が開始された旨の通知があ
り、装置に電源を供給可能なバッテリが他になかった場
合に、装置のデータを退避する処理を行うものである
(図4を用いて後述する)。
The data saving process 13 is a process of saving the data of the device when the battery mounting check 10 notifies that the battery is started to be removed and there is no other battery that can supply power to the device. Is performed (described later with reference to FIG. 4).

【0028】バッテリ充電SW/放電SW制御14は、
バッテリ充電/放電制御12などからの指示に対応し
て、バッテリ充電SW11ないしSW13をオン/オフ
するバッテリ充電スイッチ信号IN1ないしIN3を生
成したり、バッテリ放電スイッチSW21ないしSW2
3をオン/オフするバッテリ放電スイッチ信号OUT1
ないしOUT3を生成したりなどするものである。
The battery charge SW / discharge SW control 14 is
In response to an instruction from the battery charge / discharge control 12 or the like, the battery charge switch signals IN1 to IN3 for turning on / off the battery charge SW11 to SW13 are generated, or the battery discharge switches SW21 to SW2.
Battery discharge switch signal OUT1 for turning on / off 3
Through OUT3.

【0029】エラー処理15は、DC−DCコンバータ
42から負荷である装置に供給する電源(システム電
源)の電圧が所定閾値よりもドロップ、特にバッテリの
切り替え時に電圧が所定閾値よりもドロップした旨を電
圧検出部6が検出し、この旨の通知に対応してエラー処
理を行うものである。エラー処理としては、図示外の装
置(コンピュータシステム)にシステムリセットを送出
してリセットしたり、マイコン初期化16を起動したり
する。
The error processing 15 indicates that the voltage of the power supply (system power supply) supplied from the DC-DC converter 42 to the device that is the load drops below a predetermined threshold value, particularly when the battery is switched, the voltage drops below the predetermined threshold value. The voltage detection unit 6 detects the voltage, and performs error processing in response to the notification to that effect. As the error processing, a system reset is sent to a device (computer system) not shown for resetting, or the microcomputer initialization 16 is started.

【0030】マイコン初期化16は、エラー処理15か
らの起動に対応して、1チップマイコン9などの初期化
を行うものである。副電池17は、1チップマイコン9
に供給する電源が切断したときに、当該1チップマイコ
ン9を動作させるための電池である。
The microcomputer initialization 16 initializes the one-chip microcomputer 9 in response to the activation from the error processing 15. The sub battery 17 is a one-chip microcomputer 9
This is a battery for operating the one-chip microcomputer 9 when the power supplied to the device is cut off.

【0031】次に、図3および図4を用いて、図1およ
び図2の構成の放電時(バッテリから電源を装置に供給
する場合)の動作を詳細に説明する。図3は、本発明の
タイムチャート(放電時)を示す。ここで、C1、C
2、C3:バッテリ検出信号(バッテリが着脱開始され
たことを検出する信号) OUT1、OUT2、OUT3:バッテリ放電スイッチ
SW21ないしSW23をオン/オフするバッテリ放電
スイッチ信号 IN1、IN2、IN3:バッテリ充電スイッチSW1
1ないしSW13をオン/オフするバッテリ充電スイッ
チ信号 電圧検出:電圧検出部6によってシステム電源の検出し
た電圧 システムリセット:エラー処理15が電圧ドロップに対
応して装置に送出してシステムのリセットを行う信号 は、バッテリ充電SW/放電SW制御14がオンのバ
ッテリ放電スイッチ信号OUT1をバッテリ放電スイッ
チSW21に供給してオンとし、バッテリ(1)からS
W21、ダイオード3を介してDC−DCコンバータ4
2、システム電源のルートで図示外の装置に電源を供給
している状態を表す。
Next, the operation of the configuration shown in FIGS. 1 and 2 at the time of discharging (when supplying power from the battery to the apparatus) will be described in detail with reference to FIGS. 3 and 4. FIG. 3 shows a time chart (during discharge) of the present invention. Where C1 and C
2, C3: Battery detection signal (a signal for detecting that the battery has been attached / detached) OUT1, OUT2, OUT3: Battery discharge switch signals for turning on / off the battery discharge switches SW21 to SW23 IN1, IN2, IN3: Battery charge switch SW1
Battery charge switch signal for turning on / off 1 to SW13 Voltage detection: voltage detected by system power supply by voltage detection unit 6 System reset: Signal for error processing 15 to send to device in response to voltage drop to reset system Supplies the battery discharge switch signal OUT1 in which the battery charge SW / discharge SW control 14 is turned on to the battery discharge switch SW21 to turn it on, and the battery (1) to S
DC-DC converter 4 via W21 and diode 3
2. Shows a state in which power is supplied to a device (not shown) through the system power supply route.

【0032】は、の状態で、ユーザがバッテリ
(1)の脱着を開始したことに対応して、バッテリ装着
チェック10がバッテリ検出信号C1のOFFを検出す
る。これに対応して、バッテリ充電/放電制御12が、
電源供給可能な他のバッテリとして、ここではバッテリ
(2)を選択する。この選択に対応して、バッテリ充電
SW/放電SW制御14が、バッテリ放電スイッチ信号
OUT2をオンにしてバッテリ放電スイッチSW22を
オンにし、バッテリ(2)からダイオード3を介してD
C−DCコンバータ42に電源の供給を開始する。この
電源の供給を開始した後、バッテリ充電/放電制御12
からの指示に対応して、バッテリ充電SW/放電SW制
御14が、脱着の開始したバッテリ(1)のバッテリ放
電スイッチ信号OUT1をOFFにし、バッテリ放電ス
イッチSW21をオフにし、バッテリ(1)からの電源
の供給を停止する。
In the state of, the battery mounting check 10 detects that the battery detection signal C1 is OFF in response to the user starting the attachment / detachment of the battery (1). In response to this, the battery charge / discharge control 12
The battery (2) is selected here as another battery that can be supplied with power. Corresponding to this selection, the battery charge SW / discharge SW control 14 turns on the battery discharge switch signal OUT2 and turns on the battery discharge switch SW22, and the battery (2) passes through the diode 3 and D
Supply of power to the C-DC converter 42 is started. After starting the power supply, the battery charge / discharge control 12
In response to the instruction from, the battery charge SW / discharge SW control 14 turns off the battery discharge switch signal OUT1 of the battery (1) whose desorption is started, turns off the battery discharge switch SW21, and outputs from the battery (1). Stop the power supply.

【0033】は、のバッテリ(1)からバッテリ
(2)に切り替えているときに、電圧検出部6がDC−
DCコンバータ42から図示外の装置に供給するシステ
ム電源の電圧を監視し、ここでは所定電圧以下に電圧が
ドロップしたことを検出し、エラー処理15にその旨を
通知する。この通知を受けたエラー処理15がシステム
リセットを図示外の装置に供給し、当該装置のシステム
リセットを行うと共に、エラー表示を行う。また、マイ
コン初期化16が初期化を併せて行う。
When the battery (1) is being switched to the battery (2), the voltage detecting section 6 causes the DC-
The voltage of the system power supply supplied from the DC converter 42 to a device (not shown) is monitored, and it is detected here that the voltage has dropped below a predetermined voltage, and the error processing 15 is notified of that fact. Upon receiving this notification, the error processing 15 supplies a system reset to a device (not shown), resets the system of the device, and displays an error. The microcomputer initialization 16 also performs initialization.

【0034】以上によって、図1および図2の構成のも
とで、バッテリ(1)、(2)、(3)のうちのバッテ
リ(1)からシステム電源を供給している状態で
()、利用者がバッテリ(1)の着脱を開始し、C1
が零電位になったことをバッテリ装着チェック10が検
出したことに対応して、電源の供給可能なバッテリ
(2)のバッテリ放電スイッチSW22をオンにして電
源の供給を開始した後、着脱を開始したバッテリ(1)
のバッテリ放電スイッチSW21をオフにし、バッテリ
(1)からバッテリ(2)に切り替える。この切替えの
際に、電圧検出部6がシステム電源として供給する電圧
を監視し、ここでは所定電圧以下に電圧ドロップしたこ
とを検出したので、エラー処理15が装置のシステムリ
セット、初期化を行う。これにより、バッテリの切り替
えを自動的に行うことが可能となると共に、万一、シス
テム電源の電圧ドロップが発生したときに自動的にシス
テムリセットして再立ち上げすることが可能となる。
As described above, under the configuration of FIGS. 1 and 2, the system power is supplied from the battery (1) among the batteries (1), (2) and (3) (), The user starts attaching / detaching the battery (1), and C1
In response to the battery mounting check 10 detecting that the battery has become zero potential, the battery discharge switch SW22 of the battery (2) capable of supplying power is turned on to start supplying power, and then attachment / detachment is started. Battery (1)
The battery discharge switch SW21 is turned off to switch the battery (1) to the battery (2). At the time of this switching, the voltage detection unit 6 monitors the voltage supplied as the system power supply, and since it has been detected here that the voltage has dropped below the predetermined voltage, the error processing 15 performs system reset and initialization of the device. As a result, it becomes possible to automatically switch the battery, and it is also possible to automatically reset and restart the system when a voltage drop of the system power source should occur.

【0035】図4のフローチャート(放電時)に示す順
序に従い、図1および図2の構成の放電時の動作を詳細
に説明する。図4において、S1は、放電中か否か判別
する。YESの場合には、S2に進む。NOの場合に
は、放電時の処理を行う必要がないので、終了する。
The discharge operation of the configuration shown in FIGS. 1 and 2 will be described in detail according to the order shown in the flow chart of FIG. 4 (during discharge). In FIG. 4, S1 determines whether or not discharging is in progress. If yes, then continue with S2. In the case of NO, there is no need to perform the process at the time of discharging, so the process ends.

【0036】S2は、バッテリ(1)が放電中か判別す
る。YESの場合には、S3に進む。NOの場合には、
S5に進む。S3は、S2のYESでバッテリ(1)が
放電中と判明したので、C1(バッテリ検出信号)のチ
ェックを行う。ONの場合(バッテリ検出端子2の電圧
がバッテリ(1)と等しく当該バッテリ(1)の着脱が
開始されていない場合)には、S13で電源正常か判別
し、YESのときに終了し、NOのときにS14で異常
処理(システムリセット、初期化)を行い、終了する。
一方、OFFの場合(バッテリ検出端子2の電圧がバッ
テリ(1)よりも低く、例えば零電位になり当該バッテ
リ(1)の着脱が開始された場合)には、バッテリの切
り換えを行うためにS4に進む。
In step S2, it is determined whether the battery (1) is discharging. If yes, then continue with S3. If no,
Proceed to S5. In S3, since the battery (1) is determined to be discharging in YES in S2, C1 (battery detection signal) is checked. When it is ON (when the voltage of the battery detection terminal 2 is equal to that of the battery (1) and the attachment / detachment of the battery (1) has not been started), it is determined in S13 whether the power source is normal, the process ends when YES, and NO. At this time, an abnormal process (system reset, initialization) is performed in S14, and the process ends.
On the other hand, in the case of OFF (when the voltage of the battery detection terminal 2 is lower than that of the battery (1), for example, when the battery (1) is attached / detached due to zero potential), the battery switching is performed in S4. Proceed to.

【0037】S4は、放電切り換え、即ちバッテリ
(1)から他のバッテリへの切り換えが可能か(放電可
能なバッテリが存在するか)を判別する。OKの場合に
は、S11で放電切り換え(バッテリ(1)から電源供
給可能な他のバッテリ(2)あるいはバッテリ(3)に
切り換え)を行い、S13で電源正常か判別し、YES
のときに終了し、NOのときにS14で異常処理(シス
テムリセット、初期化)を行い、終了する。一方、NO
の場合(切り換えるバッテリがない場合)には、S12
でデータ退避処理を行った後、S13で電源正常か判別
し、YESのときに終了し、NOのときにS14で異常
処理(システムリセット、初期化)を行い、終了する。
In step S4, it is determined whether discharge switching, that is, switching from the battery (1) to another battery is possible (whether there is a dischargeable battery). In the case of OK, discharge switching (switching from the battery (1) to another battery (2) or battery (3) capable of supplying power) is performed in S11, and it is determined in S13 whether the power is normal, and YES.
When NO, the process ends, and when NO, the abnormal process (system reset, initialization) is performed in S14, and the process ends. On the other hand, NO
In case of (when there is no battery to be switched), S12
After performing the data saving process in step S13, it is determined whether the power source is normal in step S13. If YES, the process ends. If NO, the error process (system reset, initialization) is performed in step S14, and the process ends.

【0038】以上によって、バッテリ(1)が放電中の
場合(S2のYESの場合)、バッテリ検出信号C1が
ONのときは電源正常であれば終了し、異常であれば異
常処理を行う。一方、バッテリ検出信号C1がOFFと
なってユーザがバッテリ(1)の着脱を開始したことを
検出した場合、他のバッテリ(2)、(3)のうちで電
源供給可能なバッテリがあればそれに切り換えて電源を
供給し、切り換えるバッテリがなければデータ退避処理
を行う。この際にも、電源異常が検出されたときは異常
処理(システムリセット、初期化など)を行う。これら
により、複数のバッテリ(1)、(2)、(3)のいず
れか1つから電源を供給している状態で他のバッテリに
切り換えることが可能となると共に、切り換えるバッテ
リが無くなったときにデータ退避処理を行い、データの
保存を図ることが可能となる。また、これらバッテリの
切り換え中などに電源異常が発生した場合には、異常処
理(システムリセット、初期化など)を自動的に行うこ
とにより、装置の信頼性を高めることが可能となる。
As described above, when the battery (1) is discharging (YES in S2), when the battery detection signal C1 is ON, the power supply is normal, and when abnormal, the abnormal processing is performed. On the other hand, when it is detected that the battery detection signal C1 is turned off and the user has started the attachment / detachment of the battery (1), if there is a battery capable of supplying power among the other batteries (2) and (3), The power is switched to supply power, and if there is no battery to switch to, data saving processing is performed. Also in this case, when a power supply abnormality is detected, abnormality processing (system reset, initialization, etc.) is performed. As a result, it becomes possible to switch to another battery while power is being supplied from any one of the plurality of batteries (1), (2), and (3), and when there is no battery to switch to. It becomes possible to save the data by performing the data saving process. Further, when a power supply abnormality occurs during switching of these batteries, abnormality processing (system reset, initialization, etc.) is automatically performed, so that the reliability of the device can be improved.

【0039】S5からS7はバッテリ(2)、S8から
S10はバッテリ(3)のものであり、S2からS4の
バッテリ(1)のものと同様であるので、説明を省略す
る。次に、図5および図6を用いて、図1および図2の
構成の充電時(ACアダプタ41、DC−DCコンバー
タ42から電源を装置に供給およびバッテリ(1)、
(2)、(3)のいずれか1つに供給して充電する場
合)の動作を詳細に説明する。
S5 to S7 are for the battery (2), and S8 to S10 are for the battery (3), which are the same as those for the battery (1) at S2 to S4, and therefore their explanations are omitted. Next, with reference to FIGS. 5 and 6, during charging of the configuration of FIGS. 1 and 2 (power is supplied to the device from the AC adapter 41 and the DC-DC converter 42 and the battery (1),
The operation in the case of supplying to any one of (2) and (3) for charging will be described in detail.

【0040】図5は、本発明のタイムチャート(充電
時)を示す。ここで、 C1、C2、C3:バッテリ検出信号 OUT1、OUT2、OUT3:バッテリ放電スイッチ
信号 IN1、IN2、IN3:バッテリ充電スイッチ信号 電圧検出:システム電源に供給する検出した電圧 システムリセット:システムのリセットを行う信号 は、バッテリ充電SW/放電SW制御14がオンのバ
ッテリ充電スイッチ信号IN1をバッテリ充電スイッチ
SW11に供給してオンとし、ACアダプタ41、DC
−DCコンバータ42、SW11を介してバッテリ
(1)に充電している状態を表す。
FIG. 5 shows a time chart (at the time of charging) of the present invention. Here, C1, C2, C3: Battery detection signal OUT1, OUT2, OUT3: Battery discharge switch signal IN1, IN2, IN3: Battery charge switch signal Voltage detection: Detected voltage supplied to system power supply System reset: System reset The signal to be supplied is that the battery charge SW / discharge SW control 14 supplies the battery charge switch signal IN1 to the battery charge switch SW11 to turn it on, and the AC adapter 41, DC
A state in which the battery (1) is being charged via the DC converter 42 and SW11.

【0041】は、の状態で、ユーザがバッテリ
(1)の脱着を開始したことに対応して、バッテリ装着
チェック10がバッテリ検出信号C1のOFFを検出す
る。これに対応して、バッテリ充電/放電制御12から
の指示に対応して、バッテリ充電SW/放電SW制御1
4がバッテリ(1)のOFFのバッテリ充電スイッチ信
号IN1をSW11に供給してオフにし、バッテリ
(1)への充電を停止する。次に、バッテリ充電/放電
制御12が未充電の他のバッテリとしてここではバッテ
リ(2)を選択する。この選択に対応して、バッテリ充
電SW/放電SW制御14が、バッテリ充電スイッチ信
号IN2をオンにしてバッテリ充電スイッチSW12を
オンにし、ACアダプタ41、DC−DCコンバータ4
2、SW21を介してバッテリ(2)に充電を開始す
る。
In the state, the battery mounting check 10 detects that the battery detection signal C1 is OFF in response to the user starting the attachment / detachment of the battery (1). In response to this, in response to an instruction from the battery charge / discharge control 12, the battery charge SW / discharge SW control 1
Reference numeral 4 supplies the battery charging switch signal IN1 for turning off the battery (1) to the SW11 to turn it off to stop charging the battery (1). Next, the battery charge / discharge control 12 selects the battery (2) here as another uncharged battery. In response to this selection, the battery charge SW / discharge SW control 14 turns on the battery charge switch signal IN2 and turns on the battery charge switch SW12, and the AC adapter 41 and the DC-DC converter 4
2, charging of the battery (2) is started via the SW 21.

【0042】以上によって、図1および図2の構成のも
とで、バッテリ(1)、(2)、(3)のうちのバッテ
リ(1)に充電および装置に電源を供給している状態で
()、利用者がバッテリ(1)の着脱を開始し、C1
が零電位になったことをバッテリ装着チェック10が検
出したことに対応して、バッテリ(1)への充電を停止
した後、未充電のバッテリ、ここではバッテリ(2)の
バッテリ充電スイッチSW12をオンにして充電を開始
する。これにより、ACアダプタ41、DC−DC電源
42から装置にシステム電源を供給しながら、バッテリ
の切り替えを自動的に行って充電することが可能とな
る。尚、充電中に満充電となったときは、他の未充電の
バッテリの充電に切り換える。
As described above, under the configuration shown in FIGS. 1 and 2, the battery (1) among the batteries (1), (2) and (3) is charged and power is supplied to the device. (), The user starts attaching / detaching the battery (1), and C1
In response to the battery mounting check 10 detecting that the battery has become zero potential, the battery charging switch SW12 for the uncharged battery, here the battery (2), is stopped after the charging of the battery (1) is stopped. Turn on to start charging. As a result, it becomes possible to automatically switch the battery and charge the battery while supplying system power to the device from the AC adapter 41 and the DC-DC power supply 42. When the battery is fully charged during charging, the charging is switched to another uncharged battery.

【0043】図6のフローチャート(充電時)に示す順
序に従い、図1および図2の構成の充電時の動作を詳細
に説明する。図6において、S21は、充電中か否か判
別する。YESの場合には、S22に進む。NOの場合
には、充電時の処理を行う必要がないので、終了する。
The charging operation of the configuration shown in FIGS. 1 and 2 will be described in detail according to the order shown in the flowchart (charging) of FIG. In FIG. 6, S21 determines whether or not charging is in progress. If YES, the process proceeds to S22. In the case of NO, there is no need to perform the process at the time of charging, so the process ends.

【0044】S22は、バッテリ(1)が充電中か判別
する。YESの場合には、S23に進む。NOの場合に
は、S25に進む。S23は、S22のYESでバッテ
リ(1)が充電中と判明したので、C1(バッテリ検出
信号)のチェックを行う。ONの場合(バッテリ検出端
子2の電圧がバッテリ(1)と等しく当該バッテリ
(1)の着脱が開始されていない場合)には、終了する
(充電を継続する)。一方、OFFの場合(バッテリ検
出端子2の電圧がバッテリ(1)よりも低く、例えば零
電位になり当該バッテリ(1)の着脱が開始された場
合)には、S24でバッテリ(1)の充電を停止(オフ
のIN1をSW11に供給して当該SW11をオフにし
て充電を停止)し、S31に進む。
In step S22, it is determined whether the battery (1) is being charged. If YES, the process proceeds to S23. If NO, the process proceeds to S25. In S23, since it is determined that the battery (1) is being charged in YES in S22, C1 (battery detection signal) is checked. When it is ON (when the voltage of the battery detection terminal 2 is equal to that of the battery (1) and the attachment / detachment of the battery (1) has not been started), the process ends (the charging is continued). On the other hand, when the battery (1) is OFF (when the voltage of the battery detection terminal 2 is lower than that of the battery (1) and becomes zero, for example, and the attachment / detachment of the battery (1) is started), the battery (1) is charged in S24. Is stopped (IN1 of OFF is supplied to SW11 to turn off SW11 to stop charging), and the process proceeds to S31.

【0045】S31は、バッテリ(1)の着脱が開始さ
れたので(S23のOFF)、S24でバッテリ(1)
の充電を停止し、未充電のバッテリがあって切り換えが
できるか判別する。YESの場合には、S32で未充電
のバッテリに切り換え、例えば未充電のバッテリ(2)
のSW12にオンのIN2を供給して当該SW12をオ
ンにし、ACアダプタ41、DC−DCコンバータ4
2、SW12を介してバッテリ(2)に電源を供給して
充電を開始する。一方、NOの場合には、未充電の切り
換えるバッテリが無いので、終了する(END)。
In S31, since the attachment / detachment of the battery (1) is started (S23 is OFF), the battery (1) is attached in S24.
Stop charging and determine if there is an uncharged battery and you can switch. If YES, switch to an uncharged battery in S32, for example uncharged battery (2)
The ON IN2 is supplied to the SW12 to turn on the SW12, and the AC adapter 41 and the DC-DC converter 4
2. Power is supplied to the battery (2) via SW12 to start charging. On the other hand, in the case of NO, there is no uncharged battery to be switched, so the process ends (END).

【0046】以上によって、バッテリ(1)が充電中の
場合(S22のYESの場合)、バッテリ検出信号C1
がONのときは充電を続行する。一方、バッテリ検出信
号C1がOFFとなってユーザがバッテリ(1)の着脱
を開始したことを検出した場合、他のバッテリ(2)、
(3)のうちで未充電の充電可能なバッテリがあればそ
れに切り換えて充電を再開し、切り換えるバッテリがな
ければ終了する。これらにより、複数のバッテリ
(1)、(2)、(3)のいずれか1つに充電中に着脱
された場合に自動的に他の未充電のバッテリに切り換え
て充電を行うことが可能となる共に、満充電になったと
きにも他の未充電のバッテリに切り換えて充電を行うこ
とが可能となる。これら充電時に、ACアダプタ41、
DC−DCコンバータ42から装置にシステム電源を併
せて供給することも可能となる。
As described above, when the battery (1) is being charged (YES in S22), the battery detection signal C1
When is ON, charging continues. On the other hand, when the battery detection signal C1 is turned off and it is detected that the user has started the attachment / detachment of the battery (1), another battery (2),
If there is an uncharged rechargeable battery in (3), it is switched to that to restart charging, and if there is no battery to be switched, it ends. As a result, when any one of the plurality of batteries (1), (2) and (3) is attached / detached during charging, it is possible to automatically switch to another uncharged battery for charging. In addition, when fully charged, it is possible to switch to another uncharged battery for charging. When charging these, AC adapter 41,
It is also possible to supply the system power together from the DC-DC converter 42 to the device.

【0047】S25からS27はバッテリ(2)、S2
8からS30はバッテリ(3)のものであり、S22か
らS24のバッテリ(1)のものと同様であるので、説
明を省略する。
S25 to S27 are the battery (2) and S2
8 to S30 are for the battery (3) and are the same as the battery (1) for S22 to S24, and therefore the description is omitted.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
複数のバッテリから電源を切り替えて装置に供給する際
に、供給可能なバッテリが装着されていればバッテリを
切り替えて電圧のドロップが検出されない場合に運用を
継続し、電圧のドロックが検出された場合にリセット
し、一方、バッテリが装着されていなければデータ退避
処理を行い、更にバッテリの充電と装置への電源の供給
を併せて可能な構成を採用しているため、バッテリ切り
替え時に装置の運用を中断することなく継続すると共に
切り替え時に電圧ドロップが検出されたときにリセット
などを行い信頼性を保持することができる。更に、バッ
テリの充電と装置への電源の供給を同時に行うことがで
きる。これらにより、 (1) 複数のバッテリから装置に電源を供給する際
に、放電中のバッテリが着脱開始されたときに他に電源
を供給可能なバッテリがあればこれに切り換えて電源を
続行して供給し、供給可能なバッテリがなければデータ
の退避処理を行うことが可能となる。
As described above, according to the present invention,
When switching the power supply from multiple batteries and supplying it to the device, if a battery that can be supplied is switched, the operation is continued when the voltage drop is not detected and the voltage lock is detected. On the other hand, if the battery is not installed, data saving processing is performed, and since the configuration that allows charging of the battery and supply of power to the device is adopted at the same time, the device can be operated at the time of battery switching. The reliability can be maintained by continuing without interruption and resetting when a voltage drop is detected at the time of switching. Further, the battery can be charged and the power can be supplied to the device at the same time. Due to these, (1) When power is supplied to the device from a plurality of batteries, when the discharging battery is started to be attached / detached, if there is another battery that can supply power, it is switched to this and the power is continued. If there is no battery that can be supplied and can be supplied, data saving processing can be performed.

【0049】(2) また、(1)の処理中などに電源
監視を行い、所定電圧以下の電圧ドロップが検出された
場合に自動的にシステムリセット、初期化を行い、電源
を供給する装置(システム)の信頼性を向上させること
ができる。
(2) In addition, the power supply is monitored during the process of (1) and the like, and when a voltage drop below a predetermined voltage is detected, the system is automatically reset and initialized, and a device for supplying power ( System) reliability can be improved.

【0050】(2) また、AC電源から装置に電源を
供給中に、併せてバッテリの充電を行い、充電中のバッ
テリの着脱が検出されたときに当該バッテリの充電を中
止し、他の未充電のバッテリの自動的に切り換えて充電
を順次行うことが可能となる。
(2) Also, while the power is being supplied from the AC power source to the apparatus, the battery is also charged, and when the attachment / detachment of the battery being charged is detected, the charging of the battery is stopped and other battery is not charged. It is possible to automatically switch the charging battery and sequentially perform charging.

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

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

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

【図3】本発明のタイムチャート(放電時)である。FIG. 3 is a time chart of the present invention (during discharge).

【図4】本発明の動作説明フローチャート(放電時)で
ある。
FIG. 4 is a flowchart for explaining the operation of the present invention (during discharge).

【図5】本発明のタイムチャート(充電時)である。FIG. 5 is a time chart of the present invention (during charging).

【図6】本発明の動作説明フローチャート(充電時)で
ある。
FIG. 6 is a flowchart for explaining the operation of the present invention (during charging).

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

1:バッテリ 2:バッテリ検出端子 3:ダイオード 4:電源発生回路 41:ACアダプタ 42:DC−DCコンバータ 6:電圧検出部 7:消費電流検出部 8:A/D変換器 9:1チップマイコン 10:バッテリ装着チェック 11:バッテリ残量算出 12:バッテリ充電/放電制御 13:データ退避処理 14:バッテリ充電SW/放電SW制御 15:エラー処理 16:マイコン初期化 17:副電池 C1、C2、C3:バッテリ検出信号 IN1、IN2、IN3:バッテリ充電スイッチ信号 OUT1、OUT2、OUT3:バッテリ放電スイッチ
信号 SW11、SW12、SW13:バッテリ充電スイッチ SW21、SW22、SW23:バッテリ放電スイッチ
1: Battery 2: Battery detection terminal 3: Diode 4: Power supply generation circuit 41: AC adapter 42: DC-DC converter 6: Voltage detection unit 7: Current consumption detection unit 8: A / D converter 9: 1 chip microcomputer 10 : Battery mounting check 11: Battery remaining amount calculation 12: Battery charge / discharge control 13: Data save processing 14: Battery charge SW / discharge SW control 15: Error processing 16: Microcomputer initialization 17: Sub-batteries C1, C2, C3: Battery detection signal IN1, IN2, IN3: Battery charge switch signal OUT1, OUT2, OUT3: Battery discharge switch signal SW11, SW12, SW13: Battery charge switch SW21, SW22, SW23: Battery discharge switch

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数のバッテリから装置への電源の供給を
制御する電源制御方式において、 バッテリの着脱の開始を検出するバッテリ検出端子
(2)と、 バッテリから装置に電源を供給するバッテリ放電スイッ
チとを備え、 複数のバッテリのいずれかの上記バッテリ放電スイッチ
をオンにして電源を装置に供給している状態で、当該バ
ッテリの着脱の開始を上記バッテリ検出端子(2)から
の信号によって検出したときに、他のバッテリから電源
を供給可能な場合にこのバッテリのバッテリ放電スイッ
チをオンにした後、上記着脱を開始したバッテリのバッ
テリ放電スイッチをオフにして切り替え、電源の供給を
継続するように構成したことを特徴とする電源制御方
式。
1. A power supply control method for controlling the supply of power from a plurality of batteries to a device, a battery detection terminal (2) for detecting the start of attachment / detachment of a battery, and a battery discharge switch for supplying power from the battery to the device. And the start of attachment / detachment of the battery is detected by a signal from the battery detection terminal (2) in a state in which the battery discharge switch of any of the plurality of batteries is turned on to supply power to the device. When the power can be supplied from another battery, turn on the battery discharge switch of this battery, and then turn off the battery discharge switch of the battery that started the attachment / detachment to switch the power so that the power supply is continued. Power control method characterized by being configured.
【請求項2】請求項第1項のバッテリを切り替えたとき
などに、電圧が所定閾値よりもドロップしたか否かを検
出する電圧検出部(6)を備え、 この電圧検出部(6)が電圧のドロップを検出したとき
に、電源を供給する装置のリセットを行うように構成し
たことを特徴とする電源制御方式。
2. A voltage detection unit (6) for detecting whether or not the voltage drops below a predetermined threshold value when switching the battery according to claim 1, and the voltage detection unit (6) is provided. A power supply control method characterized in that when a voltage drop is detected, a device that supplies power is reset.
【請求項3】請求項第1項のバッテリを他のバッテリに
切り替えようとしたときに、電源の供給の可能なバッテ
リがないときに、電源を供給する装置のデータの退避処
理を行うように構成したことを特徴とする電源制御方
式。
3. When switching the battery according to claim 1 to another battery, when there is no battery capable of supplying power, data saving processing of a device which supplies power is performed. Power control method characterized by being configured.
【請求項4】複数のバッテリから装置への電源の供給を
制御する電源制御方式において、 バッテリの着脱の開始を検出するバッテリ検出端子
(2)と、 バッテリに充電電流を供給するバッテリ充電スイッチ
と、 バッテリおよび装置への電源を発生する電源発生回路
(4)とを備え、 この電源発生回路(4)が電源を装置に供給すると共
に、複数のバッテリのうちの充電中のバッテリの着脱の
開始を上記バッテリ検出端子(2)からの信号によって
検出したときに、他の充電されていないバッテリがある
ときに充電中のバッテリのバッテリ充電スイッチをオフ
および未充電のバッテリのバッテリ充電スイッチをオン
にして切り替えて充電するように構成したことを特徴と
する請求項第1項から第3項記載の電源制御方式。
4. A power supply control method for controlling the supply of power from a plurality of batteries to a device, a battery detection terminal (2) for detecting the start of attachment / detachment of a battery, and a battery charging switch for supplying a charging current to the battery. A power supply generation circuit (4) for generating power to the battery and the device, the power supply generation circuit (4) supplying power to the device and starting attachment / detachment of a battery being charged among the plurality of batteries. Is detected by the signal from the battery detection terminal (2), the battery charge switch of the battery being charged is turned off and the battery charge switch of the uncharged battery is turned on when there is another uncharged battery. The power supply control method according to any one of claims 1 to 3, wherein the power supply control method is configured to be switched and charged.
JP4015959A 1992-01-31 1992-01-31 Power control method Expired - Fee Related JP2539982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4015959A JP2539982B2 (en) 1992-01-31 1992-01-31 Power control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4015959A JP2539982B2 (en) 1992-01-31 1992-01-31 Power control method

Publications (2)

Publication Number Publication Date
JPH05211728A true JPH05211728A (en) 1993-08-20
JP2539982B2 JP2539982B2 (en) 1996-10-02

Family

ID=11903271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4015959A Expired - Fee Related JP2539982B2 (en) 1992-01-31 1992-01-31 Power control method

Country Status (1)

Country Link
JP (1) JP2539982B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0984273A (en) * 1995-09-13 1997-03-28 Nec Shizuoka Ltd Battery switching circuit
JPH09312938A (en) * 1996-05-22 1997-12-02 Sanyo Electric Co Ltd Power control circuit of electronic apparatus
US5739596A (en) * 1995-04-06 1998-04-14 Seiko Epson Corporation Power supply for an electronic device and power delivery method therefor
JP2009268341A (en) * 2008-03-03 2009-11-12 Panasonic Corp Information processing apparatus and integrated circuit
JP2010098803A (en) * 2008-10-15 2010-04-30 Yunimekku:Kk Dc/ac power source unit not influenced by noise superposed on supply power source
CN102545367A (en) * 2010-12-24 2012-07-04 索尼公司 Discharge control apparatus and discharge control method
JP2013240271A (en) * 2012-05-16 2013-11-28 Lg Electronics Inc Energy storage device and method for operating the same
CN104553844A (en) * 2013-10-09 2015-04-29 福特全球技术公司 Vehicle and method for controlling a battery in a vehicle
US11152850B2 (en) 2018-11-15 2021-10-19 Fujitsu Limited Power source apparatus and communication apparatus
JP2022034656A (en) * 2020-08-19 2022-03-04 矢崎総業株式会社 Power supply control device, power supply system, power supply control method, and program
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01255019A (en) * 1988-04-04 1989-10-11 Alps Electric Co Ltd Power source circuit for microcomputer
JPH03207226A (en) * 1989-12-29 1991-09-10 Toshiba Corp Battery switching system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01255019A (en) * 1988-04-04 1989-10-11 Alps Electric Co Ltd Power source circuit for microcomputer
JPH03207226A (en) * 1989-12-29 1991-09-10 Toshiba Corp Battery switching system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5739596A (en) * 1995-04-06 1998-04-14 Seiko Epson Corporation Power supply for an electronic device and power delivery method therefor
JPH0984273A (en) * 1995-09-13 1997-03-28 Nec Shizuoka Ltd Battery switching circuit
JPH09312938A (en) * 1996-05-22 1997-12-02 Sanyo Electric Co Ltd Power control circuit of electronic apparatus
JP2009268341A (en) * 2008-03-03 2009-11-12 Panasonic Corp Information processing apparatus and integrated circuit
JP2010098803A (en) * 2008-10-15 2010-04-30 Yunimekku:Kk Dc/ac power source unit not influenced by noise superposed on supply power source
JP2012135179A (en) * 2010-12-24 2012-07-12 Sony Corp Discharge controller and discharge control method
CN102545367A (en) * 2010-12-24 2012-07-04 索尼公司 Discharge control apparatus and discharge control method
JP2013240271A (en) * 2012-05-16 2013-11-28 Lg Electronics Inc Energy storage device and method for operating the same
US9413185B2 (en) 2012-05-16 2016-08-09 Lg Electronics Inc. Energy storage device and method for controlling the same
CN104553844A (en) * 2013-10-09 2015-04-29 福特全球技术公司 Vehicle and method for controlling a battery in a vehicle
US10300806B2 (en) 2013-10-09 2019-05-28 Ford Global Technologies, Llc Vehicle and method for controlling a battery in a vehicle
US11152850B2 (en) 2018-11-15 2021-10-19 Fujitsu Limited Power source apparatus and communication apparatus
JP2022034656A (en) * 2020-08-19 2022-03-04 矢崎総業株式会社 Power supply control device, power supply system, power supply control method, and program
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method
CN114844179B (en) * 2022-06-30 2022-11-22 荣耀终端有限公司 Electronic device and electricity meter resetting method

Also Published As

Publication number Publication date
JP2539982B2 (en) 1996-10-02

Similar Documents

Publication Publication Date Title
JP2539982B2 (en) Power control method
JP3770212B2 (en) Battery device control method
JP4538435B2 (en) Battery pack charging system
JPH09215217A (en) Apparatus and method for charging of battery
JPH07241047A (en) Battery controller
JP2011010448A (en) Control unit
JPH10201127A (en) Communication system
JPH08126212A (en) Charge/discharge circuit for battery for emergency
JPH06133471A (en) Battery controlling method
JP3433469B2 (en) Uninterruptible power system
JPH05111191A (en) Uninterruptible power supply
JP2002017056A (en) Power supply system and control method thereof
JPH07227046A (en) Electronic equipment
JPH05115128A (en) Power circuit of portable electronic equipment
JPH02136042A (en) Battery power supply
JPH07241046A (en) Trickle charging current switching system
JP2500592B2 (en) Uninterruptible power system
JP7184487B2 (en) building power supply system
JPH0214311A (en) Semiconductor storage device
JPH11285158A (en) Method and device for controlling battery and storage medium
JPH0962412A (en) Electronic device
JPH0998542A (en) Power unit
JPH06237537A (en) Charging device of battery
JP2002262479A (en) Uninterruptible power supply device and uninterruptible power supply system using this
JPH0675670A (en) Battery switching controller

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees