JP2927002B2 - DRAM backup device - Google Patents

DRAM backup device

Info

Publication number
JP2927002B2
JP2927002B2 JP2411231A JP41123190A JP2927002B2 JP 2927002 B2 JP2927002 B2 JP 2927002B2 JP 2411231 A JP2411231 A JP 2411231A JP 41123190 A JP41123190 A JP 41123190A JP 2927002 B2 JP2927002 B2 JP 2927002B2
Authority
JP
Japan
Prior art keywords
voltage
cpu
dram
power supply
backup
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.)
Expired - Fee Related
Application number
JP2411231A
Other languages
Japanese (ja)
Other versions
JPH04216393A (en
Inventor
吉博 橋本
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2411231A priority Critical patent/JP2927002B2/en
Publication of JPH04216393A publication Critical patent/JPH04216393A/en
Application granted granted Critical
Publication of JP2927002B2 publication Critical patent/JP2927002B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、DRAMのバックアッ
プ装置に係り、特に、リフレッシュ機能を備えたCPU
によって制御されるDRAMのバックアップ装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DRAM backup device and, more particularly, to a CPU having a refresh function.
And a DRAM backup device controlled by the DRAM.

【0002】[0002]

【従来の技術】ダイナミック型のRAM(以下、DRA
Mと略する)では、良く知られるように、記憶情報を保
持するためのリフレッシュ処理を一定周期ごとに行う必
要がある。
2. Description of the Related Art Dynamic RAM (hereinafter referred to as DRA)
M), as is well known, it is necessary to perform refresh processing for holding stored information at regular intervals.

【0003】このようなリフレッシュ処理は、これまで
リフレッシュコントローラによって行われていたが、最
近では、リフレッシュ処理機能を備えたCPUによって
実行されることが多い。また、リフレッシュ処理機能を
備えたCPUを用いたシステムでは、停電時でもDRA
Mの記憶情報が失われないようにCPUとDRAMにバ
ックアップ装置が接続され、停電時でもリフレッシュ処
理が継続されるようになっている。
[0003] Such refresh processing has been performed by a refresh controller until now, but recently, it is often performed by a CPU having a refresh processing function. In addition, in a system using a CPU having a refresh processing function, DRA can be performed even during a power failure.
A backup device is connected to the CPU and the DRAM so that the stored information of M is not lost, so that the refresh processing is continued even in the event of a power failure.

【0004】図4は従来のDRAMのバックアップ装置
のブロック図、図5はその動作を説明するためのタイミ
ングチャートである。なお、図4では説明を解り易くす
るために、本発明の説明に必要な構成のみを示してい
る。
FIG. 4 is a block diagram of a conventional DRAM backup device, and FIG. 5 is a timing chart for explaining its operation. Note that FIG. 4 shows only the components necessary for the description of the present invention for easy understanding.

【0005】電源回路10は、電圧変換部11、電圧低
下検出部12および容量13によって構成され、電圧変
換部11は交流100Vを降圧・整流して直流5Vのロ
ジック電圧を出力する。ロジック電圧の値は電圧低下検
出部12によって検出される。 ロジック部20は、C
PU21、DRAM22、バックアップ電源23、およ
び切換部24によって構成され、前記電圧低下検出部1
2から出力される検出信号S1はCPU21の割り込み
端子21aに入力される。
The power supply circuit 10 includes a voltage conversion unit 11, a voltage drop detection unit 12, and a capacitor 13. The voltage conversion unit 11 steps down and rectifies AC 100V and outputs a DC 5V logic voltage. The value of the logic voltage is detected by the voltage drop detector 12. The logic unit 20 has C
A voltage drop detector 1 comprising a PU 21, a DRAM 22, a backup power supply 23, and a switching unit 24;
2, the detection signal S1 is input to the interrupt terminal 21a of the CPU 21.

【0006】CPU21は一定周期でDRAM22をリ
フレッシュし、割り込み端子21aに“H”レベルの信
号が入力されると、予定の割り込み処理を実行する。
The CPU 21 refreshes the DRAM 22 at regular intervals, and executes a predetermined interrupt process when an "H" level signal is input to the interrupt terminal 21a.

【0007】このような構成において、外部交流電圧が
電源回路10に供給されている間は、電圧変換部11か
らは正規のロジック電圧が出力されるので、電圧低下検
出部12はこれを検出して“L”レベルの信号を出力す
る。したがって、切換部24のトランジスタTr1は導通
状態となり、電圧変換部11から出力されたロジック電
圧は切換部24を介してCPU21およびDRAM22
に供給される。
In such a configuration, while the external AC voltage is being supplied to the power supply circuit 10, a normal logic voltage is output from the voltage converter 11, so that the voltage drop detector 12 detects this. To output an "L" level signal. Therefore, the transistor Tr1 of the switching unit 24 is turned on, and the logic voltage output from the voltage conversion unit 11 is supplied to the CPU 21 and the DRAM 22 via the switching unit 24.
Supplied to

【0008】ところが、図5に示したように、時刻t0
において交流電力が遮断されると、電圧変換部11から
出力されるロジック電圧が容量13に応じて徐々に低下
し、時刻t1 において予定の基準値Vthに達すると、電
圧低下検出部12はこれを検出して“H”レベルの信号
を出力する。
[0008] However, as shown in FIG.
When the AC power is cut off at the time, the logic voltage output from the voltage conversion unit 11 gradually decreases in accordance with the capacity 13, and when reaching the predetermined reference value Vth at time t1, the voltage drop detection unit 12 detects this. Detects and outputs an “H” level signal.

【0009】なお、各素子の動作保証電圧の許容範囲
は、DRAMが5V±10%であるのに対してCPUは
5V±5%と狭いために、前記基準値VthはCPUに合
わせて4.8V程度に設定される。
Since the allowable range of the operation guarantee voltage of each element is as narrow as 5 V ± 10% for the DRAM and 5 V ± 5% for the CPU, the reference value Vth is set to 4. It is set to about 8V.

【0010】ロジック部20では、この“H”レベルの
信号によって切換部24のトランジスタTr1が遮断され
るので、CPU21およびDRAM22には、バックア
ップ電源23からロジック電圧が供給されるようにな
る。
In the logic section 20, the transistor Tr1 of the switching section 24 is cut off by this "H" level signal, so that the CPU 21 and the DRAM 22 are supplied with a logic voltage from the backup power supply 23.

【0011】一方、CPU21では割り込み処理がスタ
ートし、電源遮断時に実行すべき処理として予め登録さ
れているエンド処理を実行したのちに、低消費電力の待
機モードへ移行する。
On the other hand, the CPU 21 starts an interrupt process, executes an end process registered in advance as a process to be executed when the power is turned off, and then shifts to a low power consumption standby mode.

【0012】[0012]

【発明が解決しようとする課題】上記したように、リフ
レッシュ処理機能を備えたCPUを用いたシステムで
は、DRAMと共にCPUもバックアップして、停電時
でもリフレッシュ処理が継続されるようにする必要があ
る。
As described above, in a system using a CPU having a refresh processing function, it is necessary to back up the CPU together with the DRAM so that the refresh processing can be continued even during a power failure. .

【0013】そして、CPU21の動作を保証してDR
AMの記憶情報を確実に保持するためには、電圧低下検
出部12は電圧変換部11から出力されるロジック電圧
が基準値以上か否かということを正確に判定する必要が
ある。
The operation of the CPU 21 is guaranteed and the DR
In order to reliably store the stored information of the AM, the voltage drop detection unit 12 needs to accurately determine whether the logic voltage output from the voltage conversion unit 11 is equal to or higher than a reference value.

【0014】ところが、電圧低下検出部12では、回路
素子の経年劣化や温度ドリフト等のために上記判定を誤
ることがあり、DRAMの記憶情報を喪失してしまう恐
れがあるという問題があった。
However, in the voltage drop detection unit 12, there is a problem that the above determination may be erroneous due to aging deterioration of the circuit element, temperature drift, or the like, and the information stored in the DRAM may be lost.

【0015】本発明の目的は、上記した従来技術の問題
点を解決して、DRAMを確実にバックアップすること
の可能なDRAMのバックアップ装置を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art and to provide a DRAM backup device capable of reliably backing up a DRAM.

【0016】[0016]

【課題を解決するための手段】上記した目的を達成する
ために、本発明では、リフレッシュ機能を備えたCPU
によって制御されるDRAMのバックアップ装置におい
て、外部交流電圧の有無を検出する遮断検出手段と、遮
断検出時にCPUに割り込みをかける手段と、CPUが
待機状態であることを検出するCPUステイタスモニタ
とを設け、CPUが割り込み処理を終了して待機状態へ
移行すると、ロジック電圧源をバックアップ電源に切り
換えるようにした。
To achieve the above object, the present invention provides a CPU having a refresh function.
A backup device for a DRAM controlled by a control unit includes a cut-off detecting unit for detecting the presence or absence of an external AC voltage, a unit for interrupting a CPU when the cut-off is detected, and a CPU status monitor for detecting that the CPU is in a standby state. When the CPU terminates the interrupt processing and shifts to the standby state, the logic voltage source is switched to the backup power supply.

【0017】[0017]

【0018】[0018]

【作用】 上記した構成によれば、CPUステイタスモニ
タは、予定の電源遮断時処理が終了してCPUが待機状
態となった時点でロジック電圧源をバックアップ電源に
切り換えるように作用するので、バックアップ電源の消
費電力を節約できるようになる。
SUMMARY OF] With the above arrangement, CPU status monitor, since the CPU ends and when processing power shutdown will act to switch the logic voltage source to a backup power source when it becomes a standby state, the backup power supply Power consumption can be saved.

【0019】[0019]

【実施例】図1は本発明の基本構成であるDRAMのバ
ックアップ装置のブロック図であり、図4と同一の符号
は同一または同等部分を表している。
FIG. 1 is a block diagram of a DRAM backup apparatus which is a basic configuration of the present invention, and the same reference numerals as those in FIG. 4 denote the same or equivalent parts.

【0020】同図において、電源回路10は電圧変換部
11、電源断検出部31および容量13によって構成さ
れ、電圧変換部11は外部交流電圧を降圧・整流してロ
ジック電圧を出力する。電源断検出部31は外部交流電
圧の有無を検出する。
In FIG. 1, a power supply circuit 10 includes a voltage conversion unit 11, a power supply cutoff detection unit 31, and a capacitor 13. The voltage conversion unit 11 steps down and rectifies an external AC voltage and outputs a logic voltage. The power-off detection unit 31 detects the presence or absence of an external AC voltage.

【0021】図2は、前記電源断検出部31の構成を示
した回路図であり、フォトカプラを用いて構成されてい
る。
FIG. 2 is a circuit diagram showing the configuration of the power-off detection section 31, which is configured using a photocoupler.

【0022】同図において、外部交流電圧はダイオード
D1で整流され、その直流成分が発光ダイオードD2に
供給される。受光側では、トランジスタTr2のコレクタ
が抵抗R1を介してプルアップされている。
In FIG. 1, an external AC voltage is rectified by a diode D1, and its DC component is supplied to a light emitting diode D2. On the light receiving side, the collector of the transistor Tr2 is pulled up via the resistor R1.

【0023】このような構成において、外部交流電圧が
発生している間は、発光ダイオードD2によってトラン
ジスタTr2が導通状態となるので、CPU21の割り込
み端子には“L”レベルの信号が出力される。
In such a configuration, while the external AC voltage is being generated, the transistor Tr2 is turned on by the light emitting diode D2, so that an "L" level signal is output to the interrupt terminal of the CPU 21.

【0024】一方、外部交流電圧が遮断されると、トラ
ンジスタTr2が非導通状態となるので、CPU21の割
り込み端子には“H”レベルの信号が出力される。
On the other hand, when the external AC voltage is cut off, the transistor Tr2 is turned off, so that an "H" level signal is output to the interrupt terminal of the CPU 21.

【0025】このとき、切換部24ではトランジスタT
r2が遮断されるので、バックアップ電源23からCPU
21、DRAM22への給電が開始される。また、CP
U21では割り込み処理がスタートし、予定のエンド処
理を実行した後に、低消費電力状態の待機モードへ移行
する。
At this time, the switching unit 24 uses the transistor T
r2 is cut off, so the backup power supply 23
21. Power supply to the DRAM 22 is started. Also, CP
In U21, an interrupt process is started, and after executing a scheduled end process, a transition is made to a standby mode in a low power consumption state.

【0026】このような構成によれば、電源断検出部3
1は外部交流電圧の有無を検出するので、回路素子の経
年劣化や温度ドリフト等にかかわらず、外部交流電圧の
電源断を直ちに検出できるようになる。
According to such a configuration , the power-off detecting section 3
Since 1 detects the presence or absence of an external AC voltage, it is possible to immediately detect the power cut of the external AC voltage regardless of the aging of the circuit element or the temperature drift.

【0027】したがって、電源断時には、CPUおよび
DRAMが素早くかつ確実にバックアップ電源に接続さ
れるようになる。
Therefore, when the power is turned off, the CPU and the DRAM are quickly and reliably connected to the backup power supply.

【0028】図3は本発明の第実施例のブロック図で
あり、前記と同一の符号は同一または同等部分を表して
いる。
FIG. 3 is a block diagram of the first embodiment of the present invention, wherein the same reference numerals as those described above denote the same or equivalent parts.

【0029】本実施例では、CPU21の動作状態が待
機モードであることを検出して検出信号を出力するCP
Uステイタスモニタ41を設け、CPU21が待機モー
ドになった時点でバックアップ電源23に切り換えるよ
うにしている。
In this embodiment, the CP which detects that the operation state of the CPU 21 is the standby mode and outputs a detection signal is provided.
A U status monitor 41 is provided to switch to the backup power supply 23 when the CPU 21 enters the standby mode.

【0030】本実施例によれば、CPU21の消費電力
が比較的大きいエンド処理は電源回路10の容量13か
ら給電されるロジック電圧で行い、CPU21が消費電
力の小さい待機モードとなった時点でバックアップ電源
23に切り換えられるので、バックアップ電源23の消
費電力を節約することができるようになる。
According to the present embodiment, the end processing in which the power consumption of the CPU 21 is relatively large is performed by the logic voltage supplied from the capacitor 13 of the power supply circuit 10, and the backup is performed when the CPU 21 enters the standby mode in which the power consumption is low. Since the power source is switched to the power source 23, the power consumption of the backup power source 23 can be saved.

【0031】[0031]

【発明の効果】上記したように、本発明によれば、外部
交流電圧の有無に基づいて電源断を判定するようにした
ので、外部交流電圧の電源断を直ちに検出できるように
なり、電源断時には、CPUおよびDRAMが素早くか
つ確実にバックアップ電源に接続されるようになる。
As described above, according to the present invention, the power cutoff is determined based on the presence or absence of an external AC voltage, so that the power cutoff of the external AC voltage can be immediately detected, and At times, the CPU and the DRAM are quickly and reliably connected to the backup power supply.

【0032】また、CPUステイタスモニタを設け、C
PUが消費電力の小さい待機モードになった時点でバッ
クアップ電源に切り換えるようにすれば、バックアップ
電源の消費電力を節約することができるようになる。
A CPU status monitor is provided.
If the PU is switched to the backup power supply when the PU enters the standby mode with low power consumption, the power consumption of the backup power supply can be reduced.

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

【図1】本発明の基本構成のブロック図である。FIG. 1 is a block diagram of a basic configuration of the present invention.

【図2】図1の主要部のブロック図である。FIG. 2 is a block diagram of a main part of FIG.

【図3】本発明の第実施例のブロック図である。FIG. 3 is a block diagram of a first embodiment of the present invention.

【図4】従来技術のブロック図である。FIG. 4 is a block diagram of a conventional technique.

【図5】従来技術の動作を説明するためのタイミングチ
ャートである。
FIG. 5 is a timing chart for explaining the operation of the conventional technique.

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

10…電源回路、11…電圧変換部、12…電圧低下検
出部、13…容量、20…ロジック部、21…CPU、
22…DRAM、23…バックアップ電源、24…切換
部、31…電源断検出部、41…CPUステイタスモニ
DESCRIPTION OF SYMBOLS 10 ... Power supply circuit, 11 ... Voltage conversion part, 12 ... Voltage drop detection part, 13 ... Capacitance, 20 ... Logic part, 21 ... CPU,
Reference numeral 22: DRAM, 23: backup power supply, 24: switching unit, 31: power-off detection unit, 41: CPU status monitor

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 リフレッシュ機能を備えたCPUによっ
て制御されるDRAMのバックアップ装置において、 外部交流電圧をロジック電圧に変換して出力する電圧変
換手段と、 外部交流電圧の有無を検出して遮断検出信号を出力する
遮断検出手段と、 前記遮断検出信号でCPUに割り込みをかけ、予定の電
源遮断時処理を実行させる手段と、 ロジック電圧を出力するバックアップ電源と、 CPUが待機状態であることを検出して待機状態検出信
号を出力するCPUステイタスモニタと、 前記待機状態検出信号に基づいて、ロジック電圧源を電
圧変換手段の出力電圧からバックアップ電源の出力電圧
に切り換える切換手段とを具備し、 前記CPUは、電源遮断時処理終了後に待機状態へ移行
することを特徴とするDRAMのバックアップ装置。
1. A backup device for a DRAM controlled by a CPU having a refresh function, comprising : a voltage conversion means for converting an external AC voltage into a logic voltage and outputting the logic voltage; , A means for interrupting the CPU with the cut-off detection signal and executing a scheduled power-off process, a backup power supply for outputting a logic voltage, and detecting that the CPU is in a standby state. A CPU status monitor that outputs a standby state detection signal in response to the standby state detection signal; and a switching unit that switches a logic voltage source from an output voltage of a voltage conversion unit to an output voltage of a backup power supply based on the standby state detection signal. And a backup device for a DRAM, which shifts to a standby state after a power-off process is completed .
JP2411231A 1990-12-18 1990-12-18 DRAM backup device Expired - Fee Related JP2927002B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2411231A JP2927002B2 (en) 1990-12-18 1990-12-18 DRAM backup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2411231A JP2927002B2 (en) 1990-12-18 1990-12-18 DRAM backup device

Publications (2)

Publication Number Publication Date
JPH04216393A JPH04216393A (en) 1992-08-06
JP2927002B2 true JP2927002B2 (en) 1999-07-28

Family

ID=18520265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2411231A Expired - Fee Related JP2927002B2 (en) 1990-12-18 1990-12-18 DRAM backup device

Country Status (1)

Country Link
JP (1) JP2927002B2 (en)

Also Published As

Publication number Publication date
JPH04216393A (en) 1992-08-06

Similar Documents

Publication Publication Date Title
US5815409A (en) Control system and method for automatic shutdown of a power supply
KR970703640A (en) Switched-mode power supply
KR0167645B1 (en) Power control device
JP2927002B2 (en) DRAM backup device
US11949325B2 (en) Power conversion device
US20220021197A1 (en) Driving apparatus for reclosing apparatus and driving method thereof
EP0933864A2 (en) Electronic apparatus
JPH05297992A (en) Input circuit for programmable controller
JP3926634B2 (en) Power failure detection device
JP2716454B2 (en) Document editing processor
KR100683347B1 (en) Power saving apparatus and method
KR0159022B1 (en) Detecting circuit
JPH10145970A (en) Image forming apparatus
JP6665653B2 (en) Power supply
JPS63288309A (en) Power source switching control circuit for electronic apparatus
JPH069553Y2 (en) Power supply circuit
JP2813775B2 (en) DC power supply
KR100193610B1 (en) Proper Power Sensing Circuit
JPH1115571A (en) Programmable controller
JPH0537254Y2 (en)
JP2001249148A (en) Voltage drop detection circuit
JPS6335122A (en) Interruption detector of electric source
JPH0510018B2 (en)
JPH02176920A (en) Electronic apparatus
JPH09102751A (en) Voice muting circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees