JPH05143469A - Memory backup device - Google Patents
Memory backup deviceInfo
- Publication number
- JPH05143469A JPH05143469A JP3301554A JP30155491A JPH05143469A JP H05143469 A JPH05143469 A JP H05143469A JP 3301554 A JP3301554 A JP 3301554A JP 30155491 A JP30155491 A JP 30155491A JP H05143469 A JPH05143469 A JP H05143469A
- Authority
- JP
- Japan
- Prior art keywords
- power
- power supply
- secondary battery
- power failure
- backed
- 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
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/30—Hydrogen technology
- Y02E60/50—Fuel cells
Landscapes
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、主電源の停電時、揮発
性メモリを2次電池でバックアップしてデータを退避さ
せるメモリバックアップ装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory backup device for backing up data by backing up a volatile memory with a secondary battery when the main power supply fails.
【0002】[0002]
【従来の技術】従来、本体の主電源が遮断されてもメモ
リに記憶されている内容が消去されずに、電源再投入時
にプログラムの再実行を可能とするリジューム機能付き
パーソナルコンピュータが知られている。このようなパ
ーソナルコンピュータは主電源が遮断されると、揮発性
メモリの電源を主電源から2次電池等の補助電源に切替
えて揮発性メモリに電源バックアップされない揮発性メ
モリからデータを退避させるようになっている。例えば
特開平3−42714号公報のものは図3に示すよう
に、制御部本体を構成するCPU1、制御プログラムが
格納されたBIOSROM2、リジューム機能を実現す
るためのステータスを記憶する表示データ格納ステータ
スメモリ3、アプリケーションプログラム等を記憶する
システムメモリ4、表示データを記憶するVRAM5、
表示装置6を制御する表示制御回路7、VRAM5の表
示データを退避するために使用されるバックアップ用メ
モリ8を設け、ステータスメモリ3、システムメモリ
4、バックアップ用メモリ8をバックアップ電池9によ
ってバックアップするようになっている。そして図4に
示すように停電が発生すると、VRAM5の表示データ
がバックアップ用メモリ8に退避されるようになってい
る。2. Description of the Related Art Conventionally, a personal computer with a resume function has been known which allows a program to be re-executed when the power is turned on again without erasing the contents stored in the memory even when the main power of the main body is cut off. There is. When the main power supply of such a personal computer is cut off, the power supply of the volatile memory is switched from the main power supply to an auxiliary power supply such as a secondary battery so that the data is saved from the volatile memory that is not backed up in the volatile memory. Has become. For example, as shown in FIG. 3, in JP-A-3-42714, a display data storage status memory storing a CPU 1 constituting a control unit main body, a BIOSROM 2 storing a control program, and a status for realizing a resume function is shown. 3, system memory 4 for storing application programs, VRAM 5 for storing display data,
A display control circuit 7 for controlling the display device 6, a backup memory 8 used for saving display data of the VRAM 5, are provided, and the status memory 3, the system memory 4, and the backup memory 8 are backed up by a backup battery 9. It has become. Then, as shown in FIG. 4, when a power failure occurs, the display data in the VRAM 5 is saved in the backup memory 8.
【0003】[0003]
【発明が解決しようとする課題】しかしこの従来装置で
は主電源の停電が発生してから電源が断となるまでの間
にVRAM5の表示データをバックアップ用メモリ8に
退避するため、退避させるデータ量が多くなると、主電
源が遮断されてから電源電圧がシステムの動作保障電圧
以下に低下するまでに全データをバックアップ用メモリ
8に退避できなくなる問題があった。However, in this conventional device, since the display data of the VRAM 5 is saved in the backup memory 8 between the power failure of the main power supply and the power supply being cut off, the amount of data to be saved is reduced. However, if the number of the data increases, there is a problem that all the data cannot be saved in the backup memory 8 after the main power is cut off until the power supply voltage drops below the system operation guarantee voltage.
【0004】そこで本発明は、データ量に関係なく2次
電池でバックアップされない揮発性メモリのデータを2
次電池でバックアップされる揮発性メモリに確実に退避
させることができるメモリバックアップ装置を提供しよ
うとするものである。Therefore, according to the present invention, the data in the volatile memory which is not backed up by the secondary battery regardless of the amount of data is
An object of the present invention is to provide a memory backup device that can be reliably saved in a volatile memory backed up by a secondary battery.
【0005】[0005]
【課題を解決するための手段】本発明は、主電源が遮断
されると2次電池でバックアップされる揮発性メモリ
と、2次電池でバックアップされない揮発性メモリと、
主電源の停電を検知する停電検知手段と、この停電検知
手段からの停電検知信号によりバックアップされる揮発
性メモリの電源を主電源から2次電池に切替えるととも
にバックアップされない揮発性メモリ及び退避制御手段
の電源を主電源から2次電池に切替える切替え制御手段
と、この切替え制御手段による電源の切替えが行われる
とバックアップされない揮発性メモリのデータをバック
アップされる揮発性メモリに退避制御し、全てのデータ
の退避が完了するとバックアップされない揮発性メモリ
及び退避制御手段への2次電池からの電源供給を遮断す
る退避制御手段を設けたものである。According to the present invention, a volatile memory backed up by a secondary battery when the main power supply is cut off, and a volatile memory not backed up by a secondary battery,
A power failure detecting means for detecting a power failure of the main power supply; and a volatile memory and a backup control means not backed up while switching the power supply of the volatile memory backed up by the power failure detection signal from the power failure detecting means to the secondary battery. Switching control means for switching the power source from the main power source to the secondary battery, and saving control of the data in the volatile memory that is not backed up when the power source is switched by this switching control means to the volatile memory that is backed up, When the evacuation is completed, the volatile memory that is not backed up and the evacuation control means for cutting off the power supply from the secondary battery to the evacuation control means are provided.
【0006】[0006]
【作用】このような構成の本発明においては、主電源が
停電すると、停電検知手段から停電検知信号が出力さ
れ、バックアップされる揮発性メモリ、バックアップさ
れない揮発性メモリ及び退避制御手段への電源が主電源
から2次電池に切替えられる。この状態でバックアップ
されない揮発性メモリのデータがバックアップされる揮
発性メモリに退避される。そして全てのデータの退避が
完了するとバックアップされない揮発性メモリ及び退避
制御手段への2次電池からの電源供給が遮断される。In the present invention having such a configuration, when the main power supply fails, a power failure detection signal is output from the power failure detection means, and the volatile memory to be backed up, the volatile memory not to be backed up, and the power supply to the evacuation control means. The main battery is switched to the secondary battery. In this state, the data in the volatile memory that is not backed up is saved in the volatile memory that is backed up. When the saving of all data is completed, the power supply from the secondary battery to the volatile memory that is not backed up and the saving control means is cut off.
【0007】[0007]
【実施例】以下、本発明の実施例を図面を参照して説明
する。図1において、1はシステム電源ブロック、2は
一時的バックアップブロック、3はバックアップブロッ
クである。Embodiments of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is a system power supply block, 2 is a temporary backup block, and 3 is a backup block.
【0008】交流電源11に電源スイッチ12を介して
主電源13及び停電検出回路14を接続している。そし
て前記主電源13から前記システム電源ブロック1に直
接電源を供給し、また前記一時的バックアップブロック
2に第1の電源切替回路15の一方のPNP形トランジ
スタ15aを介して電源を供給し、また前記バックアッ
プブロック3に第2の電源切替回路16の一方のPNP
形トランジスタ16aを介して電源を供給している。A main power supply 13 and a power failure detection circuit 14 are connected to an AC power supply 11 via a power switch 12. Then, the main power supply 13 supplies power directly to the system power supply block 1, and the temporary backup block 2 supplies power via one PNP transistor 15a of the first power supply switching circuit 15, and One PNP of the second power supply switching circuit 16 is provided in the backup block 3.
Power is supplied through the transistor 16a.
【0009】また前記主電源13からバッテリ充放電切
替回路17に電源を供給している。前記バッテリ充放電
切替回路17は前記主電源13が定常状態にあるときに
は2次電池18に対して充電を行い、前記主電源13が
停電すると2次電池18を充電状態から放電状態に切替
えるようになっている。前記2次電池18からの出力は
定電圧回路19により定電圧制御された後、前記第1の
電源切替回路15の他方のPNP形トランジスタ15b
を介して前記一時的バックアップブロック2に供給され
るとともに前記第2の電源切替回路16の他方のPNP
形トランジスタ16bを介して前記バックアップブロッ
ク3に供給されるようになっている。Power is supplied from the main power source 13 to the battery charge / discharge switching circuit 17. The battery charge / discharge switching circuit 17 charges the secondary battery 18 when the main power source 13 is in a steady state, and switches the secondary battery 18 from the charged state to the discharged state when the main power source 13 fails. Is becoming The output from the secondary battery 18 is subjected to constant voltage control by a constant voltage circuit 19, and then the other PNP transistor 15b of the first power supply switching circuit 15 is controlled.
PNP of the second power supply switching circuit 16 while being supplied to the temporary backup block 2 via
It is adapted to be supplied to the backup block 3 via a transistor 16b.
【0010】前記停電検知回路14は主電源13が定常
状態にあるときには出力する停電検知信号を非アクティ
ブ状態にし、主電源13が停電状態になると出力する停
電検知信号をアクティブ状態にするようになっている。The power failure detection circuit 14 deactivates the power failure detection signal output when the main power supply 13 is in a steady state, and activates the power failure detection signal output when the main power supply 13 is in a power failure state. ing.
【0011】前記システム電源ブロック1にはCPU・
バス21及びシステム・バス22が設けられ、この各バ
ス21,22はバッファ23を介して接続されている。
そして前記CPU・バス21に制御部本体を構成するC
PU(中央処理装置)24、割込みコントローラ25が
接続され、前記システム・バス22に前記CPU24が
各部を制御するためのプログラムデータが格納されたR
OM(リード・オンリー・メモリ)26、CRTディス
プレイ27を制御するCRTコントローラ28、キーボ
ード29を制御するキーボードコントローラ30、フロ
ッピディスク装置31を制御するディスクコントローラ
32、ハードディスク装置33を制御するディスクコン
トローラ34がそれぞれ接続されている。The system power supply block 1 includes a CPU
A bus 21 and a system bus 22 are provided, and the buses 21 and 22 are connected via a buffer 23.
Then, the CPU / bus 21 is provided with C which constitutes the control unit main body.
A PU (Central Processing Unit) 24 and an interrupt controller 25 are connected, and program data for the CPU 24 to control each part is stored in the system bus 22.
An OM (Read Only Memory) 26, a CRT controller 28 for controlling the CRT display 27, a keyboard controller 30 for controlling the keyboard 29, a disk controller 32 for controlling the floppy disk device 31, and a disk controller 34 for controlling the hard disk device 33. Each is connected.
【0012】前記一時的バックアップブロック2にはメ
モリ・バス35が設けられ、このメモリ・バス35は前
記システム電源ブロック1のCPU・バス21とバッフ
ァ36を介して接続されている。そして前記メモリ・バ
ス35にバックアップされない不揮発性メモリで構成さ
れたキャッシュメモリ37、後述するD−RAMのアド
レス生成を行うD−RAMコントローラ38、停電検出
時に前記キャッシュメモリ37の全データを後述するD
−RAMに転送する停電時データ転送制御回路39、前
記キャッシュメモリ37への書込み制御をコピーバック
方式で行うキャッシュコントローラ40がそれぞれ接続
されている。A memory bus 35 is provided in the temporary backup block 2, and the memory bus 35 is connected to the CPU bus 21 of the system power supply block 1 via a buffer 36. Then, a cache memory 37 composed of a non-volatile memory that is not backed up to the memory bus 35, a D-RAM controller 38 for generating an address of a D-RAM described later, and all data of the cache memory 37 described later when a power failure is detected.
A data transfer control circuit 39 at the time of power failure for transferring to RAM and a cache controller 40 for performing write control to the cache memory 37 by a copy back method are respectively connected.
【0013】前記バックアップブロック3にはメモリ・
バス41が設けられ、このメモリ・バス41は前記一時
的バックアップブロック2のメモリ・バス35とバッフ
ァ42を介して接続されている。そして前記メモリ・バ
ス41にバックアップされる不揮発性メモリで構成され
たD−RAM43が接続されている。前記D−RAM4
3はまたバッファ44を介して前記D−RAMコントロ
ーラ38と接続されている。The backup block 3 has a memory
A bus 41 is provided, and the memory bus 41 is connected to the memory bus 35 of the temporary backup block 2 via a buffer 42. A D-RAM 43 composed of a non-volatile memory backed up to the memory bus 41 is connected. The D-RAM 4
3 is also connected to the D-RAM controller 38 via a buffer 44.
【0014】前記バックアップブロック3にはまたバッ
テリ充電電圧監視回路45が設けられている。この充電
電圧監視回路45は前記2次電池18への充電電圧を監
視し、その充電電圧が規定値以上のときには前記各電源
切替回路15,16のトランジスタ15a,16aのベ
ースにローレベルな監視信号を供給し、充電電圧が規定
値以下に低下すると前記各電源切替回路15,16のト
ランジスタ15a,16aのベースにハイレベルな監視
信号を供給するようになっている。The backup block 3 is also provided with a battery charging voltage monitoring circuit 45. The charging voltage monitoring circuit 45 monitors the charging voltage to the secondary battery 18, and when the charging voltage is equal to or higher than a specified value, a low level monitoring signal is sent to the bases of the transistors 15a and 16a of the power supply switching circuits 15 and 16. When the charging voltage drops below a specified value, a high level monitoring signal is supplied to the bases of the transistors 15a, 16a of the power supply switching circuits 15, 16.
【0015】前記割込みコントローラ25は各種入出力
部からの割込み要求との割込み要求を調整し、前記CP
U24に割込み要求を出力するようになっている。前記
停電時データ転送制御回路39は前記停電検知回路14
からの停電検知信号により前記第1の電源切替回路15
の他方のトランジスタ15bのベースにローレベルな信
号を供給し、前記キャッシュメモリ37からD−RAM
43への全データの転送が完了するとトランジスタ15
bのベースにハイレベルな信号を供給するようになって
いる。次に本実施例の動作について図2を参照して説明
する。The interrupt controller 25 adjusts the interrupt request from the various input / output units and the interrupt request,
An interrupt request is output to U24. The data transfer control circuit 39 at the time of power failure is the power failure detection circuit 14
A power failure detection signal from the first power supply switching circuit 15
The low level signal is supplied to the base of the other transistor 15b of the D-RAM.
When the transfer of all data to 43 is completed, the transistor 15
A high level signal is supplied to the base of b. Next, the operation of this embodiment will be described with reference to FIG.
【0016】図2の(a) に示すように電源スイッチ12
を投入すると、主電源13が立上り、図2の(b) に示す
ようにシステム電源ブロック1への電源電圧の供給が開
始される。そしてバッテリ充放電切替回路17は充電側
に切替わり図2の(c) に示すように2次電池18への充
電が開始される。As shown in FIG. 2 (a), the power switch 12
When the power is turned on, the main power supply 13 rises and the supply of the power supply voltage to the system power supply block 1 is started as shown in FIG. 2 (b). Then, the battery charge / discharge switching circuit 17 is switched to the charging side, and the charging of the secondary battery 18 is started as shown in FIG. 2 (c).
【0017】この状態で2次電池18への充電電圧が規
定値以上になると図2の(d) に示すように充電電圧監視
回路45からの監視信号がハイレベルからローレベルに
切替わる。これにより第1、第2の電源切替回路15,
16のトランジスタ15a,16aがオンし、図2の
(f) に示すように一時的バックアップブロック2へのシ
ステム電源供給期間が開始される。また図2の(g) に示
すようにバックアップブロック3へのシステム電源供給
期間も開始されるが、バックアップブロック3に対して
は第2の電源切替回路16のトランジスタ16bを介し
て2次電池18からの電源供給が継続されている。In this state, when the charging voltage to the secondary battery 18 exceeds the specified value, the monitoring signal from the charging voltage monitoring circuit 45 switches from the high level to the low level as shown in FIG. 2 (d). As a result, the first and second power supply switching circuits 15,
16 transistors 15a and 16a are turned on, and
As shown in (f), the system power supply period to the temporary backup block 2 is started. Although the system power supply period to the backup block 3 is also started as shown in FIG. 2 (g), the secondary battery 18 is supplied to the backup block 3 via the transistor 16b of the second power switching circuit 16. The power supply from is continuing.
【0018】そして2次電池18への充電が開始されて
から所定の遅延時間をもって図2の(e) に示すように停
電検知回路14からの停電検知信号がローレベルからハ
イレベル、すなわちアクティブ状態から非アクティブ状
態に切替わる。これにより第2の電源切替回路16のト
ランジスタ16bがオフとなり2次電池18からバック
アップブロック3への電源供給は停止される。Then, the power failure detection signal from the power failure detection circuit 14 has a predetermined delay time after the charging of the secondary battery 18 is started, as shown in (e) of FIG. To inactive state. As a result, the transistor 16b of the second power supply switching circuit 16 is turned off, and the power supply from the secondary battery 18 to the backup block 3 is stopped.
【0019】こうして図2の(h) 、(i) 、(j) に示すよ
うにCPU24及び周辺I/Oの動作状態、一時的バッ
クアップメモリ(キャッシュメモリ37)の動作状態、
バックアップメモリ(D−RAM43)の動作状態はす
べて通常動作となる。Thus, as shown in (h), (i) and (j) of FIG. 2, the operating state of the CPU 24 and the peripheral I / O, the operating state of the temporary backup memory (cache memory 37),
The operation state of the backup memory (D-RAM 43) is all normal.
【0020】次に通常動作を行っている状態で電源スイ
ッチ12をオフ操作するか交流電源11がダウンして停
電状態になると、例えば図2の(a) に示すように電源ス
イッチ12をオフ操作すると、システム電源ブロック1
では図2の(h) に示すように停電処理が行われ、メモリ
アクセスが中止される。Next, when the power switch 12 is turned off in the normal operation state or when the AC power source 11 goes down and a power failure occurs, for example, the power switch 12 is turned off as shown in FIG. 2 (a). Then, the system power block 1
Then, as shown in (h) of FIG. 2, the power outage process is performed and the memory access is stopped.
【0021】また停電検知回路14が停電を検知し図2
の(e) に示すように停電検知回路14からの停電検知信
号がハイレベルからローレベル、すなわちアクティブ状
態に切替わる。またバッテリ充放電切替回路17は2次
電池18を充電状態から放電状態に切替える。これによ
り第2の電源切替回路16のトランジスタ16bがオン
となり2次電池18からバックアップブロック3への電
源供給が開始される。また停電時データ転送制御回路3
9により第1の電源切替回路15のトランジスタ15b
がオンとなり2次電池18から一時的バックアップブロ
ック2への電源供給が開始される。また、割込みコント
ローラ25はCPU24に対して停電割込み要求を出力
し、これにより図2の(h) に示すように停電処理が開始
され、メモリアクセスが中止される。In addition, the power failure detection circuit 14 detects a power failure and FIG.
As shown in (e), the power failure detection signal from the power failure detection circuit 14 switches from the high level to the low level, that is, the active state. The battery charge / discharge switching circuit 17 switches the secondary battery 18 from the charged state to the discharged state. As a result, the transistor 16b of the second power supply switching circuit 16 is turned on, and the power supply from the secondary battery 18 to the backup block 3 is started. Also, data transfer control circuit 3 at power failure
9, the transistor 15b of the first power supply switching circuit 15
Is turned on, and the power supply from the secondary battery 18 to the temporary backup block 2 is started. Further, the interrupt controller 25 outputs a power failure interrupt request to the CPU 24, whereby the power failure process is started and the memory access is stopped as shown in (h) of FIG.
【0022】この状態で2次電池18への充電電圧が規
定値以下に低下すると、図2の(d)に示すように充電電
圧監視回路45からの監視信号がローレベルからハイレ
ベルに切替わる。これにより第1、第2の電源切替回路
15,16のトランジスタ15a,16aがオフする。In this state, when the charging voltage to the secondary battery 18 drops below a specified value, the monitoring signal from the charging voltage monitoring circuit 45 switches from low level to high level as shown in FIG. 2 (d). .. As a result, the transistors 15a and 16a of the first and second power supply switching circuits 15 and 16 are turned off.
【0023】また停電時データ転送制御回路39はCP
U24がメモリアクセスを中止したことを確認すると、
図2の(i) に示すようにキャッシュメモリ37のデータ
を図2の(j) に示すようにD−RAM43に転送を開始
させる。すなわちデータを退避させる。The data transfer control circuit 39 at the time of power failure is CP
After confirming that U24 has canceled the memory access,
As shown in FIG. 2 (i), the data in the cache memory 37 is transferred to the D-RAM 43 as shown in FIG. 2 (j). That is, the data is saved.
【0024】その後停電時データ転送制御回路39はキ
ャッシュメモリ37のデータ退避が完了したことを確認
すると、第1の電源切替回路15のトランジスタ15b
をオフする。こうして一時的バックアップブロック2へ
の2次電池18からの電源供給が停止され、一時的バッ
クアップブロック2への電源供給が完全に停止される。
こうして一時的バックアップブロック2の動作は図2の
(i) に示すように停止状態となる。After that, when the data transfer control circuit 39 at the time of power failure confirms that the data saving in the cache memory 37 is completed, the transistor 15b of the first power supply switching circuit 15 is
Turn off. Thus, the power supply from the secondary battery 18 to the temporary backup block 2 is stopped, and the power supply to the temporary backup block 2 is completely stopped.
Thus, the operation of the temporary backup block 2 is as shown in FIG.
As shown in (i), it is stopped.
【0025】一方、バックアップブロック3への2次電
池18からの電源供給は第2の電源切替回路16のトラ
ンジスタ16bのオン状態により保持される。こうして
バックアップブロック3のD−RAM43は図2の(j)
に示すようにバックアップ状態となる。On the other hand, the power supply from the secondary battery 18 to the backup block 3 is maintained by the ON state of the transistor 16b of the second power switching circuit 16. Thus, the D-RAM 43 of the backup block 3 is (j) in FIG.
The backup state is entered as shown in.
【0026】このように主電源13が停電状態になる
と、先ず2次電池18により一時的バックアップブロッ
ク2とバックアップブロック3の両方がバックアップさ
れ、この状態でキャッシュメモリ37の全データがD−
RAM43に退避され、このデータ退避が完了したとき
一時的バックアップブロック2への2次電池18による
バックアップを停止して以降バックアップブロック3の
バックアップのみを行うようにしているので、たとえキ
ャッシュメモリ37に多量のデータがあっても確実にD
−RAM43に退避させることができる。そして退避が
完了した後は本来のD−RAM43のバックアップのみ
を行うようにしているので、2次電池18の電力消耗に
ほとんど影響を与えることはない。When the main power supply 13 goes into a power failure state in this way, first, the secondary battery 18 backs up both the temporary backup block 2 and the backup block 3, and in this state, all the data in the cache memory 37 is D-.
Since the backup by the secondary battery 18 to the temporary backup block 2 is stopped when the data is saved in the RAM 43 and the backup is completed, only the backup of the backup block 3 is performed thereafter. Surely D
-It can be saved in the RAM 43. After the evacuation is completed, only the original backup of the D-RAM 43 is performed, so that the power consumption of the secondary battery 18 is hardly affected.
【0027】[0027]
【発明の効果】以上詳述したように本発明によれば、デ
ータ量に関係なく2次電池でバックアップされない揮発
性メモリのデータを2次電池でバックアップされる揮発
性メモリに確実に退避させることができるメモリバック
アップ装置を提供できるものである。As described in detail above, according to the present invention, data in a volatile memory that is not backed up by a secondary battery is reliably saved in a volatile memory that is backed up by a secondary battery regardless of the amount of data. It is possible to provide a memory backup device capable of performing the above.
【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】同実施例における各部の動作タイミングを示す
図。FIG. 2 is a diagram showing an operation timing of each unit in the embodiment.
【図3】従来例を示すブロック図。FIG. 3 is a block diagram showing a conventional example.
【図4】同従来例における動作を示す流れ図。FIG. 4 is a flowchart showing an operation in the conventional example.
1…システム電源ブロック、2…一時的バックアップブ
ロック、3…バックアップブロック、13…主電源、1
4…停電検知回路、15,16…電源切替回路、18…
2次電池、24…CPU、37…キャッシュメモリ(バ
ックアップされない揮発性メモリ)、39…停電時デー
タ転送制御回路、43…D−RAM(バックアップされ
る揮発性メモリ)。1 ... System power supply block, 2 ... Temporary backup block, 3 ... Backup block, 13 ... Main power supply, 1
4 ... Blackout detection circuit, 15, 16 ... Power supply switching circuit, 18 ...
Secondary battery, 24 ... CPU, 37 ... Cache memory (volatile memory that is not backed up), 39 ... Data transfer control circuit at power failure, 43 ... D-RAM (volatile memory that is backed up).
Claims (1)
アップされる揮発性メモリと、2次電池でバックアップ
されない揮発性メモリと、前記主電源の停電を検知する
停電検知手段と、この停電検知手段からの停電検知信号
により前記バックアップされる揮発性メモリの電源を主
電源から2次電池に切替えるとともにバックアップされ
ない揮発性メモリ及び退避制御手段の電源を主電源から
2次電池に切替える切替え制御手段と、この切替え制御
手段による電源の切替えが行われると前記バックアップ
されない揮発性メモリのデータを前記バックアップされ
る揮発性メモリに退避制御し、全てのデータの退避が完
了すると前記バックアップされない揮発性メモリ及び退
避制御手段への2次電池からの電源供給を遮断する退避
制御手段を設けたことを特徴とするメモリバックアップ
装置。1. A volatile memory backed up by a secondary battery when the main power is cut off, a volatile memory not backed up by a secondary battery, a power failure detection means for detecting a power failure of the main power, and this power failure. Switching control means for switching the power supply of the volatile memory to be backed up from the main power supply to the secondary battery by the power failure detection signal from the detection means and for switching the power supply of the volatile memory and the evacuation control means not backed up from the main power supply to the secondary battery And when the power source is switched by the switching control means, the data in the volatile memory that is not backed up is controlled to be saved in the volatile memory that is backed up, and when the saving of all data is completed, the volatile memory that is not backed up and Evacuation control means for shutting off power supply from the secondary battery to the evacuation control means is provided. And a memory backup device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3301554A JPH05143469A (en) | 1991-11-18 | 1991-11-18 | Memory backup device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3301554A JPH05143469A (en) | 1991-11-18 | 1991-11-18 | Memory backup device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05143469A true JPH05143469A (en) | 1993-06-11 |
Family
ID=17898342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3301554A Pending JPH05143469A (en) | 1991-11-18 | 1991-11-18 | Memory backup device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05143469A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008522322A (en) * | 2004-12-03 | 2008-06-26 | インテル・コーポレーション | Prevent data loss due to power failure |
JP2009181179A (en) * | 2008-01-29 | 2009-08-13 | Brother Ind Ltd | Data processing device |
-
1991
- 1991-11-18 JP JP3301554A patent/JPH05143469A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008522322A (en) * | 2004-12-03 | 2008-06-26 | インテル・コーポレーション | Prevent data loss due to power failure |
JP2009181179A (en) * | 2008-01-29 | 2009-08-13 | Brother Ind Ltd | Data processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3213208B2 (en) | Information processing apparatus and control method thereof | |
US6065124A (en) | Computer system having power saving and management function and method of controlling the same | |
JP3224153B2 (en) | Improved data protection system and data protection method | |
US5530877A (en) | Apparatus for providing continuity of operation in a computer | |
US5875345A (en) | Information processing system having dual power saving modes | |
US5664203A (en) | Peripheral device input-initiated resume system for combined hibernation system and back-up power supply for computer | |
US5978924A (en) | Computer system with an advanced power saving function and an operating method therefor | |
JPH06231053A (en) | Data saving system | |
KR950013264B1 (en) | Automatic back-up and recovery device and method in computer systems | |
EP1656603A1 (en) | Power conservation in the absence of ac power | |
JPH05143469A (en) | Memory backup device | |
JPH10240391A (en) | Portable document display/processor and power management control method to be applied to the same | |
JPH11259162A (en) | Suspending/resuming method | |
JPH11327811A (en) | Control method for disk array and disk array device | |
JPH0594237A (en) | Power source controller | |
JPH0728572A (en) | Automatic data storage device at power failure | |
JPH0511930A (en) | Disk cache device | |
JPH0628267A (en) | Information processor | |
JPH06250939A (en) | Data processor | |
TW541453B (en) | Power saving device for computer and method thereof | |
JPH06175754A (en) | Automatic storage mechanism for main memory contents | |
KR100577800B1 (en) | Automatic backup device and method of computer system | |
KR930002300B1 (en) | Method for stand-by function of p.c. | |
JPS6055421A (en) | Data processor | |
JPH04359305A (en) | Personal computer |