JPH0612154A - Battery backup method - Google Patents

Battery backup method

Info

Publication number
JPH0612154A
JPH0612154A JP4167143A JP16714392A JPH0612154A JP H0612154 A JPH0612154 A JP H0612154A JP 4167143 A JP4167143 A JP 4167143A JP 16714392 A JP16714392 A JP 16714392A JP H0612154 A JPH0612154 A JP H0612154A
Authority
JP
Japan
Prior art keywords
battery
power failure
power
normal operation
time
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
JP4167143A
Other languages
Japanese (ja)
Inventor
Hiroshi Yamada
寛 山田
Toshiyuki Ichikawa
利幸 市川
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.)
Hitachi Computer Electronics Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Computer Electronics Co Ltd
Hitachi 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 Hitachi Computer Electronics Co Ltd, Hitachi Ltd filed Critical Hitachi Computer Electronics Co Ltd
Priority to JP4167143A priority Critical patent/JPH0612154A/en
Publication of JPH0612154A publication Critical patent/JPH0612154A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

(57)【要約】 【目的】 停電時に、バッテリーによって運転継続が可
能な限りシステムを停止することなく運転し、システム
の稼働率を向上させる。 【構成】 停電検出部2が停電を検出すると、バックア
ップ制御部1の停電時間監視タイマTMがスタートし、
バッテリー残量検出部3はバッテリー4の残量を検出し
て、バックアップ制御部1に設定する。バックアップ制
御部1は、通常運転継続可能時間Tを算出し、T>TM
ならば、電子回路部8に対してバッテリーによる通常運
転継続を指示し、そうでなければ退避処理を指示する。
(57) [Summary] [Purpose] In the event of a power failure, the system will be operated as long as possible without stopping the system to improve the operating rate of the system. [Configuration] When the power failure detection unit 2 detects a power failure, the power failure time monitoring timer TM of the backup control unit 1 starts,
The battery remaining amount detection unit 3 detects the remaining amount of the battery 4 and sets it in the backup control unit 1. The backup control unit 1 calculates the normal operation continuation time T, and T> TM
If so, the electronic circuit unit 8 is instructed to continue the normal operation by the battery, and if not, the evacuation process is instructed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、バックアップ運転用バ
ッテリーを備えた電子装置におけるバッテリーバックア
ップ方式に関し、特にシステムの停止を低減させたバッ
テリーバックアップ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery backup system in an electronic device having a battery for backup operation, and more particularly to a battery backup system in which system stoppage is reduced.

【0002】[0002]

【従来の技術】計算機システム、電子装置などにおいて
は、システムの動作中は通常の電源から電力を供給し、
システムの電源が停電などの電源異常になったときに
は、電池から電力を供給することにより、データが破壊
されることを防止する、所謂バッテリーバックアップ方
式が採られている。
2. Description of the Related Art In computer systems, electronic devices, etc., power is supplied from a normal power source during system operation.
A so-called battery backup method is adopted in which, when the power supply of the system becomes abnormal such as power failure, power is supplied from a battery to prevent data from being destroyed.

【0003】従来のバッテリーバックアップ方式におい
ては、電源断検出回路が停電を検出したとき、直ちに内
部状態を外部記憶装置に退避する退避処理を開始し、退
避処理終了後にシステムが停止する。またバッテリーの
残量を検出し、表示部に警告表示を行う機能も有してい
る。
In the conventional battery backup method, when the power failure detection circuit detects a power failure, a saving process for immediately saving the internal state to the external storage device is started, and the system is stopped after the saving process is completed. It also has the function of detecting the remaining battery level and displaying a warning on the display.

【0004】なお、関連する先行技術としては、例えば
小形端末機の電源状態表示装置(特開平2−54322
号公報を参照)などが挙げられる。
As a related prior art, for example, a power supply state display device for a small terminal (Japanese Patent Laid-Open No. 2-54322).
(See Japanese Patent Publication) and the like.

【0005】[0005]

【発明が解決しようとする課題】上記した従来の技術
は、電源断検出回路が停電を検出したときに、直ちに退
避処理を行い、処理終了後にシステムの電源が復電して
いない場合はシステムを停止している。しかしながら、
システムの電源が瞬時に復電したり、あるいはバッテリ
ー容量が充分あり、通常運転を継続できるにも係らず、
停電時に直ちに運転を停止するためにシステムの稼働率
が低下するという問題があった。
SUMMARY OF THE INVENTION In the above-mentioned conventional technique, when the power failure detection circuit detects a power failure, the evacuation processing is immediately performed, and if the system power is not restored after the processing is completed, the system is shut down. It has stopped. However,
Although the system power is restored instantaneously, or the battery capacity is sufficient and normal operation can be continued,
There was a problem that the operating rate of the system decreased because the operation was stopped immediately after a power failure.

【0006】本発明の目的は、停電時に、バッテリーに
よって運転継続が可能な限りシステムを停止することな
く運転し、システムの稼働率を向上させたバッテリーバ
ックアップ方式を提供することにある。
It is an object of the present invention to provide a battery backup system which improves the operating rate of the system by operating the system without stopping the system as much as possible by the battery in case of power failure.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、本発明では、主電源の停電時にバッテリーによって
電子装置をバックアップするバッテリーバックアップ方
式において、停電時におけるバッテリーの残量を検出す
る手段と、予め設定された通常運転時の所要電力量と停
電時の退避処理に要する電力量と退避処理に要する処理
時間と前記検出されたバッテリーの残量に基づいて、通
常運転継続可能な時間を算出する手段と、該算出された
時間が停電時間を越えるときに、バッテリーによる通常
運転継続を指示する手段とを備えたことを特徴としてい
る。
In order to achieve the above object, in the present invention, in a battery backup system for backing up an electronic device by a battery when the main power supply is interrupted, a means for detecting the remaining amount of the battery at the time of power failure is provided. Calculating the time during which normal operation can be continued based on the preset amount of power required for normal operation, the amount of power required for evacuation processing during a power failure, the processing time required for evacuation processing, and the detected remaining battery level And a means for instructing to continue the normal operation by the battery when the calculated time exceeds the power failure time.

【0008】[0008]

【作用】停電が検出されると、バックアップ制御部の停
電時間監視タイマTMがスタートする。バッテリー残量
検出部はバッテリーの残量を検出して、バックアップ制
御部に設定する。バックアップ制御部は、バッテリーの
残量と、予め設定された通常運転時の電力量と、停電時
の退避処理の電力量と、退避処理の処理時間に基づい
て、通常運転継続可能時間Tを算出し、T>TMならば
バッテリーによる通常運転継続を指示し、そうでなけれ
ば退避処理を指示する。
When the power failure is detected, the power failure time monitoring timer TM of the backup controller is started. The battery level detector detects the battery level and sets it in the backup controller. The backup control unit calculates the normal operation continuation time T based on the remaining battery level, the preset amount of power during normal operation, the amount of power for evacuation processing during power failure, and the processing time for evacuation processing. If T> TM, the battery is instructed to continue the normal operation, otherwise the evacuation process is instructed.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。図1は、本発明の実施例の構成図であ
る。図1において、1は、後述するように電子回路部8
に対して、通常運転継続指示または退避処理指示を出力
するバックアップ制御部、2は、電源入力部5の停電を
検出する停電検出部、3は、バッテリー4のバッテリー
残量を検出する検出部、6は、停電検出部2の停電検出
によって電源入力部5からバッテリー4に切り替える電
源入力切り替え部、7は、電源部、8は、計算機システ
ムなどの電子回路部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a configuration diagram of an embodiment of the present invention. In FIG. 1, 1 is an electronic circuit unit 8 as described later.
On the other hand, a backup control unit 2 that outputs a normal operation continuation instruction or an evacuation process instruction, a power failure detection unit that detects a power failure of the power input unit 5, and a detection unit 3 that detects the remaining battery level of the battery 4, Reference numeral 6 is a power supply input switching unit that switches from the power supply input unit 5 to the battery 4 when the power failure detection unit 2 detects a power failure, 7 is a power supply unit, and 8 is an electronic circuit unit such as a computer system.

【0010】図2は、バックアップ制御部1における通
常運転継続可能時間の算出方法を説明する図である。す
なわち、停電発生時における、バッテリー残量をA、通
常運転時に必要な電力量をB、退避処理時に必要な電力
量をC、退避処理時間をDとしたとき、通常運転継続可
能時間Tは、T=(A−C×D)/Bで表される。
FIG. 2 is a diagram for explaining a method of calculating the normal operation continuable time in the backup control unit 1. That is, when the remaining battery power is A, the amount of electric power required for normal operation is B, the amount of electric power required for evacuation processing is C, and the evacuation processing time is D when the power failure occurs, the normal operation continuous time T is It is represented by T = (A−C × D) / B.

【0011】図3は、停電時におけるバックアップ制御
部の処理フローチャートを示す。ここで、上記した通常
運転時に必要な電力量をバックアップ制御部1の図示し
ないレジスタBに、退避処理時に必要な電力量をレジス
タCに、退避処理時間をレジスタDに、それぞれシステ
ム運用時に初期設定情報として、システム導入時あるい
は構成変更時に設定しておく。
FIG. 3 shows a processing flowchart of the backup control unit at the time of power failure. Here, the amount of power required for the above-described normal operation is stored in the register B (not shown) of the backup control unit 1, the amount of power required for the save processing is stored in the register C, and the save processing time is stored in the register D. It is set as information when the system is installed or when the configuration is changed.

【0012】停電検出部2が停電を検出すると(ステッ
プ101)、バックアップ制御部1の停電時間監視タイ
マTMがスタートする(ステップ102)。次いで、バ
ッテリー残量検出部3がバッテリー4の残量を検出し
て、バックアップ制御部1のレジスタAに設定する(ス
テップ103)。
When the power failure detector 2 detects a power failure (step 101), the power failure time monitoring timer TM of the backup controller 1 is started (step 102). Next, the battery remaining amount detection unit 3 detects the remaining amount of the battery 4 and sets it in the register A of the backup control unit 1 (step 103).

【0013】次に、バックアップ制御部1は、レジスタ
A,B,C,Dに設定された値を用いて、通常運転継続
可能時間を算出して、制御部1内の図示しないレジスタ
Tに設定する(ステップ104)。そして、停電時間監
視タイマTMのタイマ値とレジスタTを比較し、残り時
間が0又は負の数値ならば、電子回路部8に退避処理を
指示する(ステップ107)。残り時間が正の場合は、
電子回路部8に対してバッテリーによる通常運転継続を
指示する(ステップ106)。いずれの場合においても
停電検出部2が復電を検出した時点で、電源入力切り替
え部6は通常電源に切り替えて通常運転を継続或いは再
開する。
Next, the backup control unit 1 calculates the continuous operation possible time by using the values set in the registers A, B, C and D, and sets it in the register T (not shown) in the control unit 1. (Step 104). Then, the timer value of the power failure time monitoring timer TM is compared with the register T, and if the remaining time is 0 or a negative value, the electronic circuit unit 8 is instructed to perform the save process (step 107). If the remaining time is positive,
The electronic circuit unit 8 is instructed to continue normal operation with the battery (step 106). In either case, when the power failure detection unit 2 detects a power recovery, the power input switching unit 6 switches to the normal power source and continues or resumes the normal operation.

【0014】[0014]

【発明の効果】以上、説明したように、本発明によれ
ば、停電時に通常運転継続可能時間を算出して、通常運
転が可能である場合にはバッテリーによって運転を継続
しているので、システム停止が低減され、システムの高
信頼性が確保される。
As described above, according to the present invention, the normal operation continuable time is calculated at the time of power failure, and when the normal operation is possible, the operation is continued by the battery. Outages are reduced and system reliability is ensured.

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

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

【図2】バックアップ制御部における通常運転継続可能
時間の算出方法を説明する図である。
FIG. 2 is a diagram illustrating a method of calculating a normal operation continuable time in a backup control unit.

【図3】停電時におけるバックアップ制御部の処理フロ
ーチャートである。
FIG. 3 is a processing flowchart of a backup control unit at the time of power failure.

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

1 バックアップ制御部 2 停電検出部 3 バッテリー残量検出部 4 バッテリー 5 電源入力部 6 電源入力切り替え部 7 電源部 8 電子回路部 1 Backup control unit 2 Power failure detection unit 3 Battery remaining amount detection unit 4 Battery 5 Power input unit 6 Power input switching unit 7 Power supply unit 8 Electronic circuit unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 主電源の停電時にバッテリーによって電
子装置をバックアップするバッテリーバックアップ方式
において、停電時におけるバッテリーの残量を検出する
手段と、予め設定された通常運転時の所要電力量と停電
時の退避処理に要する電力量と退避処理に要する処理時
間と前記検出されたバッテリーの残量に基づいて、通常
運転継続可能な時間を算出する手段と、該算出された時
間が停電時間を越えるときに、バッテリーによる通常運
転継続を指示する手段とを備えたことを特徴とするバッ
テリーバックアップ方式。
1. A battery backup system for backing up an electronic device with a battery when a main power supply fails, a means for detecting the remaining battery level during a power failure, and a preset amount of power required during normal operation and a power failure during a power failure. Means for calculating a time during which normal operation can be continued based on the amount of power required for the evacuation process, the processing time required for the evacuation process, and the remaining battery level detected, and when the calculated time exceeds the power outage time , A battery backup system characterized by having means for instructing continuation of normal operation by a battery.
JP4167143A 1992-06-25 1992-06-25 Battery backup method Pending JPH0612154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4167143A JPH0612154A (en) 1992-06-25 1992-06-25 Battery backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4167143A JPH0612154A (en) 1992-06-25 1992-06-25 Battery backup method

Publications (1)

Publication Number Publication Date
JPH0612154A true JPH0612154A (en) 1994-01-21

Family

ID=15844224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4167143A Pending JPH0612154A (en) 1992-06-25 1992-06-25 Battery backup method

Country Status (1)

Country Link
JP (1) JPH0612154A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005007751A1 (en) 2003-07-18 2005-01-27 Konishi Co., Ltd. Curable resin composition and cold-setting adhesive
JP2005193600A (en) * 2004-01-09 2005-07-21 Ricoh Printing Systems Ltd Image forming apparatus
JP2007088729A (en) * 2005-09-21 2007-04-05 Hitachi Kokusai Electric Inc Wireless device
JP2009230314A (en) * 2008-03-21 2009-10-08 Fujitsu Ltd Information processing apparatus, data saving program and data saving method
JP2010524071A (en) * 2007-04-02 2010-07-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer program, system, and method for thresholding system power loss notification in a data processing system
JP2017535226A (en) * 2014-08-21 2017-11-24 ジョンソン コントロールズ テクノロジー カンパニーJohnson Controls Technology Company Battery monitoring system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005007751A1 (en) 2003-07-18 2005-01-27 Konishi Co., Ltd. Curable resin composition and cold-setting adhesive
JP2005193600A (en) * 2004-01-09 2005-07-21 Ricoh Printing Systems Ltd Image forming apparatus
JP2007088729A (en) * 2005-09-21 2007-04-05 Hitachi Kokusai Electric Inc Wireless device
JP2010524071A (en) * 2007-04-02 2010-07-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer program, system, and method for thresholding system power loss notification in a data processing system
JP2009230314A (en) * 2008-03-21 2009-10-08 Fujitsu Ltd Information processing apparatus, data saving program and data saving method
US8429430B2 (en) 2008-03-21 2013-04-23 Fujitsu Limited Information processor, computer readable recording medium which records data evacuation program, and data evacuation method
JP2017535226A (en) * 2014-08-21 2017-11-24 ジョンソン コントロールズ テクノロジー カンパニーJohnson Controls Technology Company Battery monitoring system

Similar Documents

Publication Publication Date Title
JPH0612154A (en) Battery backup method
JPH04332009A (en) Temperature abnormality detection system for computer system
JPH08163883A (en) Motor control device
JP3164729B2 (en) Power management mechanism for battery starter
JPH1124803A (en) Detection method for suspend processing abnormality
JPH1124800A (en) System and method for power source backup and storage medium stored with power backup control program
JP2000040067A (en) Computer system
JPS62281781A (en) Monitoring method for accident information
JPH03266131A (en) Power source state decision system for multiple system
JPS6057450A (en) Processor in breaking of power supply of electronic equipment
JPH08211959A (en) Information processing system
JPS61169036A (en) System supervisory device
JPH02262853A (en) Voltage detecting system for battery
JPH0816280A (en) Cooling control method
JP2000197282A (en) Output controller of uninterruptible power unit
JP3107104B2 (en) Standby redundancy method
JPH09274524A (en) Automatic power recovery system
JPH05108503A (en) Power failure processing system
JPS62221015A (en) Computer system
JP2718055B2 (en) Terminal device with built-in instantaneous interruption detection circuit
JPH08204364A (en) Control device with package mounting change monitoring function
JPS627332A (en) Restarting system for power source unit
JPS60147847A (en) Data processor with data protecting function
JPH0423018A (en) Processing circuit for abnormality of control power supply
JPH0376047A (en) Disk breakdown preventing device