JPS60122447A - Battery backup circuit - Google Patents

Battery backup circuit

Info

Publication number
JPS60122447A
JPS60122447A JP58230318A JP23031883A JPS60122447A JP S60122447 A JPS60122447 A JP S60122447A JP 58230318 A JP58230318 A JP 58230318A JP 23031883 A JP23031883 A JP 23031883A JP S60122447 A JPS60122447 A JP S60122447A
Authority
JP
Japan
Prior art keywords
circuit
power supply
memory circuit
power
memory
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
JP58230318A
Other languages
Japanese (ja)
Inventor
Hideaki Tokuji
徳地 秀昭
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58230318A priority Critical patent/JPS60122447A/en
Publication of JPS60122447A publication Critical patent/JPS60122447A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • G11C5/141Battery and back-up supplies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2015Redundant power supplies

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the destruction of a memory circuit by turning off a power supplied to an open collector gate circuit and controlling the selection of the memory circuit and input/output of an address or the like when the power of the memory circuit is backed up by an auxiliary power supply circuit. CONSTITUTION:A transistor (TR) 19 is provided which is inserted between a power supply and a power supply terminal 15 of the memory circuit 16 and applying on/off control of power supply to the circuit 16, and a voltage detecting circuit 17 is provided which controls the turning-on of TRs 19, 20 when a power supply ovoltage VCC is a prescribed value or over and controlling turning-off when the VCC is a prescribed value or below. If the power supply is interrupted or decreased to a prescribed voltage or below due to any cause, since the circuit 17 detects it and turns off the TRs 19, 20, the voltage VCC is disconnected. Then the power of an auxiliary power circuit 18 is applied to a terminal 15 of the circuit 16, the power of an open collector gate circuit 13 is interrupted so as to bring a CS terminal of the circuit 16 and OE terminals 21, 22 of tri-state buffer circuits 21, 22 to a high impedance input state.

Description

【発明の詳細な説明】 本発明はメモリ回路の電源をバックアップするバッテリ
バックアップ回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a battery backup circuit for backing up the power supply of a memory circuit.

メモリ回路の電源断あるいは異常な電圧低下時、その記
憶内容を保護するためにバッテリバックアップ回路が用
いられている。
A battery backup circuit is used to protect the memory contents when the power of the memory circuit is cut off or the voltage drops abnormally.

第1図は従来のバッテリバック721回路の構成を示す
回路図である。バツテリバツクアツ−2− ブ回路はC8入力端子2より電圧Vccが印加されてい
るとき、開いてC8入力端子1よりのC8信号をメモリ
回路6のC8端子4に入力可能とし、電圧Vccが断と
々つだときハイインピーダンス状態となってC8信号を
阻止するオープンコレクタゲート回路3と、電源電圧を
検出する電圧検出回路2と、この電圧検出回路2の出力
によりオンオフ制御され、Vcc入力端子2よりの電力
をメモリ回路のVcc端子5に供給するfcめのトラン
ジスタ9と、電源のバックアップをする補助電源回路8
より構成されている。
FIG. 1 is a circuit diagram showing the configuration of a conventional battery back 721 circuit. The battery backup circuit opens when voltage Vcc is applied from C8 input terminal 2, allowing the C8 signal from C8 input terminal 1 to be input to C8 terminal 4 of memory circuit 6, and voltage Vcc is disconnected. An open collector gate circuit 3 that enters a high impedance state and blocks the C8 signal when the voltage is high, a voltage detection circuit 2 that detects the power supply voltage, and an on/off control controlled by the output of this voltage detection circuit 2, and a Vcc input terminal 2. An fc transistor 9 supplies more power to the Vcc terminal 5 of the memory circuit, and an auxiliary power supply circuit 8 backs up the power supply.
It is composed of

電圧検出回路7は例えば電源電圧が4.75V〜5.2
5Vのとき、トランジスタ9をオン状態に制御している
ので、この範囲の電源電圧値の場合、メモリ回路6はV
cc入力端子より電力が供給されている。
For example, the voltage detection circuit 7 has a power supply voltage of 4.75V to 5.2V.
Since the transistor 9 is controlled to be in the ON state when the voltage is 5V, the memory circuit 6 is controlled to be in the ON state when the power supply voltage is in this range.
Power is supplied from the cc input terminal.

停電、その他の原因によりVccが断、まだは4.75
V未満に低下した場合は、電圧検出回路はVccの異常
を検出し、トランジスタ9′f:オフ状態に制御するの
で、Vcc入力端子2からの電力は断たれ、代わりに補
助電源回路8の電力が供給される。
Vcc is disconnected due to power outage or other causes, still 4.75
If the voltage drops below V, the voltage detection circuit detects an abnormality in Vcc and controls the transistor 9'f to turn off, so the power from the Vcc input terminal 2 is cut off and the power from the auxiliary power supply circuit 8 is turned off instead. is supplied.

補助電源回路8はVcc以下のもの、例えば3V程度の
ものが使用され、Vcc入力端子2より電力が供給され
ているとき、バッチIJ8aの放電を防止し、長寿命化
が図られている。
The auxiliary power supply circuit 8 uses a voltage lower than Vcc, for example, about 3V, and when power is supplied from the Vcc input terminal 2, it prevents the batch IJ 8a from discharging and extends its life.

ところで、メモリ回路6はVccが4.5V程度に低下
した場合、その動作は保証されておらず、C8端子4が
イネーブルになったとき外部から入力される信号(例え
ばアドレス信号)によシ誤動作し、メモリ内容の破壊や
供給電流の増加が起こる。
By the way, the operation of the memory circuit 6 is not guaranteed when Vcc drops to about 4.5V, and malfunction may occur due to signals input from the outside (for example, address signals) when the C8 terminal 4 is enabled. However, the memory contents may be destroyed or the supply current may increase.

したがって、Vccがある程度低下し、オープンコレク
タゲート回路3が開いている状態で、補助電源回路8よ
り電力の供給を受けている場合は上記の問題が生じ、メ
モリ内容の保持の信頼性およびバッテリの長寿命化を損
うという欠点があった。
Therefore, when power is being supplied from the auxiliary power supply circuit 8 while Vcc has decreased to some extent and the open collector gate circuit 3 is open, the above-mentioned problem will occur, reducing the reliability of memory content retention and the battery life. This had the disadvantage of impairing longevity.

本発明の目的は上述の問題全解決できるバッテリバック
アップ回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a battery backup circuit that can solve all of the above problems.

前記目的全達成するために本発明によるバッテリバック
アップ回路はデータ全記憶するメモリ回路の電源をバッ
クアップするバッテリバックアップ回路において、電源
とメモリ回路の電源端子との間に挿入され、メモリ回路
への電力供給ノオンオフ制?fffleする第1のトラ
ンジスタと、前記電源に接続された第2のトランジスタ
と、電源電圧値が一定値以上のときは第1および第2の
トランジスタ金オン制御し、一定値以下のときけオフ制
御する電圧検出回路と、第1のトランジスタとメモリ回
路との接続点に接続されており、メモリ回路に電源の電
力が供給されて論ないときはメモリ回路に供給せず、メ
モリ回路に電源の′電力が供給されているときはメモリ
回路に供給する、前記電源の使用可能電圧値より低い電
圧値の補助電源回路と、メモリ回路に入力されるアドレ
ス信号と入出力データをイネーブル、ディスエーブルす
るスリーステートバスバッファ回路と、前記′iA2の
トランジスタに接続されており、第2のトランジスタの
オフでメモリ回路のC8端子およびスリーステートバス
バッファ回路のOE端子をハイインピーダンス入力状態
とするオープンコレクタゲート回路とからなり、電源電
圧断または低下時に、・補助電源回路の電力をメモリ回
路に供給するとともにメモリ回路のアドレスの入力、デ
ータの入出力およびメモリ回路の選択を禁止するように
構成しである。
In order to achieve all of the above objects, a battery backup circuit according to the present invention is inserted between a power source and a power terminal of the memory circuit in a battery backup circuit that backs up the power of a memory circuit that stores all data, and supplies power to the memory circuit. No-on-off system? ffffle first transistor, a second transistor connected to the power supply, and when the power supply voltage value is above a certain value, the first and second transistors are turned on, and when the power supply voltage value is below the certain value, they are turned off. The voltage detection circuit is connected to the connection point between the first transistor and the memory circuit, and when it is not necessary to supply power to the memory circuit, the power is not supplied to the memory circuit, and the power is not supplied to the memory circuit. an auxiliary power supply circuit with a voltage lower than the usable voltage value of the power supply, which supplies the memory circuit when power is supplied; a state bus buffer circuit; and an open collector gate circuit that is connected to the transistor 'iA2 and puts the C8 terminal of the memory circuit and the OE terminal of the three-state bus buffer circuit in a high impedance input state when the second transistor is turned off. When the power supply voltage is cut off or decreased, power from the auxiliary power supply circuit is supplied to the memory circuit, and address input to the memory circuit, data input/output, and selection of the memory circuit are prohibited.

前記構成によれば誤動作によるメモリ回路の内容の破壊
とバッテリの供給電流の増加を防止でき本発明の目的は
完全に達成できる。
According to the above configuration, the destruction of the contents of the memory circuit and the increase in the supply current of the battery due to malfunction can be prevented, and the object of the present invention can be completely achieved.

以下、図面を参照[2,て本発明をさらに詳しく説明す
る。第2図は本発明によるバッテリバックアップ回路の
実施例を示す回路図である。
The present invention will be described in more detail below with reference to the drawings. FIG. 2 is a circuit diagram showing an embodiment of the battery backup circuit according to the present invention.

11E 源電圧Vcc カ許容範囲(4,75V 〜5
.25V )を満たしている場合、電圧検出回路17の
VIN入力端子にVccが印加されているので、電圧検
出回路17は第1のトランジスタ19および第2のトラ
ンジスタ20をオン状態に制御している。
11E Source voltage Vcc tolerance range (4,75V ~ 5
.. 25V), Vcc is applied to the VIN input terminal of the voltage detection circuit 17, so the voltage detection circuit 17 controls the first transistor 19 and the second transistor 20 to be in the on state.

したがってメモリ回路16のVcc端子15にはVcc
入力端子12、トランジスタ19を介して電源が接続さ
ねており、さらにオーブンコレクタゲート回路13はC
8信号のメモリ回路16のC8端子14への入力を可能
としており、スリ−スケートバスバッファ回路21,2
2のoE端子はイネーブル状態となっている。
Therefore, Vcc is applied to the Vcc terminal 15 of the memory circuit 16.
A power supply is connected through the input terminal 12 and the transistor 19, and the oven collector gate circuit 13 is connected to the C
It is possible to input 8 signals to the C8 terminal 14 of the memory circuit 16, and the three-skate bus buffer circuits 21, 2
The oE terminal No. 2 is in an enabled state.

これはメモリ回路16の動作可能状態で、メモリ回路1
6にC8信号、メモリ・ライト信号、メモリ・リード信
号、アドレス信号、データ信号を与えることにより所定
のアドレス((任意のデータ全書き込んだり、読み出し
たりすることが可能である。
This is the operable state of the memory circuit 16, and the memory circuit 1
By supplying the C8 signal, memory write signal, memory read signal, address signal, and data signal to 6, it is possible to write or read all arbitrary data at a predetermined address.

次に電源電圧Vccが何等かの原因で断、または4.7
5V以下に低下した場合、電圧検出回路17はこれを検
出してトランジスタ19.20’(i7オフ状態にする
ので、電源箱;圧Vccはトランジスタ19 、20に
よって切断される。これによりメモリ回路16の電源端
子15には補助電源回路18の電力が供給されるととも
に、オーブンコレクタゲート回路13は電源を断たれる
ため、メモリ回路21 、22のOE端子21 、22
を]・イインピーダンス入力状態にする。したがって、
メモリ回路16のC8端子てはc s 4B号は供給さ
れず、仮にC8入力端子11がイネーブル状態になって
も、メモリ回路16は選択されず、アドレス。
Next, the power supply voltage Vcc is disconnected for some reason, or 4.7
When the voltage drops below 5V, the voltage detection circuit 17 detects this and turns off the transistors 19 and 20' (i7), so the voltage Vcc is cut off by the transistors 19 and 20. As a result, the memory circuit 16 The power of the auxiliary power circuit 18 is supplied to the power supply terminal 15 of the memory circuits 21 and 22, and the power of the oven collector gate circuit 13 is cut off.
]・Set to impedance input state. therefore,
The C8 terminal of the memory circuit 16 is not supplied with the CS4B signal, and even if the C8 input terminal 11 is enabled, the memory circuit 16 is not selected and the address is not supplied.

データの入力もスリースケートバスバッファ回路21 
、22によって禁止され、メモリ回路16の誤動作によ
る内容の破壊と、補助電源回路18の電流の増加を防ぐ
ことができる。
Three-skate bus buffer circuit 21 also inputs data.
, 22, it is possible to prevent the contents from being destroyed due to malfunction of the memory circuit 16 and an increase in the current of the auxiliary power supply circuit 18.

以上、詳しく説明したように本発明によるバッテリバッ
クアップ回路はメモリ回路の電源が補助電源回路にバッ
クアップされたとき、オーブンコレクタゲート回路に印
加されている電源をオフにし、メモリ回路の選択、アド
レスおよびデータの入出力を禁止するように構成しであ
るので、従来回路に比してメモリ内容保持の信頼性およ
び、補助電源回路のバッテリの長寿命化が実現できる。
As described above in detail, the battery backup circuit according to the present invention turns off the power applied to the oven collector gate circuit when the power of the memory circuit is backed up by the auxiliary power circuit, and selects the memory circuit, addresses and data. Since the input/output of the auxiliary power supply circuit is configured to be prohibited, it is possible to achieve more reliable memory content retention and a longer battery life of the auxiliary power supply circuit than in conventional circuits.

【図面の簡単な説明】[Brief explanation of the drawing]

@1図は従来のメモリ回路のバッテリバックアップ回路
の回路図、第2図は本発明によるバッテリバックアップ
回路の実施例を示す回路図である。 1 、11・・・CS入力端子・ 2.12・・・Vcc入力端子 3.13・・・オーブンコレクタゲート回路4.14・
・・メモリ回路のC8端子 5.15・・・メモリ回路の電源端子 6.16・・・メモリ回路 7.17・・・電圧検出回路 8.18・・・補助電源回路 9 、19 、20・・・トランジスタ21 、22・
・・スリーステートバスバッファ回路特許出願人 日本
電気株式会社 代理人 弁理士 井ノロ 壽
Figure 1 is a circuit diagram of a conventional battery backup circuit for a memory circuit, and Figure 2 is a circuit diagram showing an embodiment of the battery backup circuit according to the present invention. 1, 11...CS input terminal・2.12...Vcc input terminal 3.13...Oven collector gate circuit 4.14・
... C8 terminal of the memory circuit 5.15 ... Power supply terminal of the memory circuit 6.16 ... Memory circuit 7.17 ... Voltage detection circuit 8.18 ... Auxiliary power supply circuit 9, 19, 20.・Transistor 21, 22・
...Three-state bus buffer circuit patent applicant Hisashi Inoro, agent for NEC Corporation, patent attorney

Claims (1)

【特許請求の範囲】 データを記憶するメモリ回路の電itバックアップする
バッテリバックアップ回路において、電源とメモリ回路
の電源端子との間に挿入され、メモリ回路への電力供給
のオンオフ制御をする第lのトランジスタと、前記電源
に接続された第2のトランジスタと、電源電圧値が一定
値以上のときは第1および第2のトランジスタをオフ制
御し4、一定値以下のときはオフ制御する電圧検出回路
と、第1のトランジスタとメモリ回路との接続点に接続
されており、メモリ回路に電源の電力が供給されていな
いときはメモリ回路に供給せず、メモリ回路に電源の電
力が供給されているときはメモリ回路に供給する、前記
電源の使用可能電圧値より低い電圧値の補助電源回路と
、メモリ回路に入力されるアドレス信−1−−9′2 号と入出力データをイネーブル、ディスエーブルするス
リーステートバスバッファ回路ト、前記第2のトランジ
スタに接続されており、第2のトランジスタのオフでメ
モリ回路のC8端子オヨヒスリーステートバスバツフ了
回路のOE端子をハイインピーダンス入力状態とするオ
ーブンコレクタゲート回路とからなり、電源電圧断また
は低下時に、補助電源回路の電力をメモリ回路に供給す
るとともにメモリ回路のアドレスの入力、データの入出
力およびメモリ回路の選択を禁止するように構成したこ
とを特徴とするバッチ9フ9212フ回路。
[Scope of Claims] In a battery backup circuit that backs up the power of a memory circuit that stores data, a battery is inserted between a power source and a power terminal of the memory circuit to control on/off of power supply to the memory circuit. a transistor, a second transistor connected to the power supply, and a voltage detection circuit that controls the first and second transistors to turn off when the power supply voltage value is above a certain value, and turns off when the power supply voltage value is below the certain value. is connected to the connection point between the first transistor and the memory circuit, and when power is not being supplied to the memory circuit, the power is not supplied to the memory circuit, but the power is supplied to the memory circuit. In this case, the auxiliary power supply circuit that supplies the memory circuit with a voltage lower than the usable voltage value of the power supply, and the address signals and input/output data that are input to the memory circuit are enabled and disabled. A three-state bus buffer circuit is connected to the second transistor, and when the second transistor is turned off, the C8 terminal of the memory circuit and the OE terminal of the three-state bus buffer circuit are brought into a high impedance input state. It consists of an oven collector gate circuit, and is configured to supply power from the auxiliary power supply circuit to the memory circuit when the power supply voltage is interrupted or decreased, and to prohibit address input, data input/output, and memory circuit selection of the memory circuit. A batch 9F9212F circuit characterized by:
JP58230318A 1983-12-06 1983-12-06 Battery backup circuit Pending JPS60122447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58230318A JPS60122447A (en) 1983-12-06 1983-12-06 Battery backup circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58230318A JPS60122447A (en) 1983-12-06 1983-12-06 Battery backup circuit

Publications (1)

Publication Number Publication Date
JPS60122447A true JPS60122447A (en) 1985-06-29

Family

ID=16905946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58230318A Pending JPS60122447A (en) 1983-12-06 1983-12-06 Battery backup circuit

Country Status (1)

Country Link
JP (1) JPS60122447A (en)

Similar Documents

Publication Publication Date Title
JP2850544B2 (en) Integrated circuit device
JP2000509875A (en) Programming voltage protection in non-volatile memory systems
JPH0113573B2 (en)
JPH0197016A (en) Semiconductor integrated circuit device
JP2568442B2 (en) Semiconductor integrated circuit device
US4669066A (en) Memory data holding circuit
EP0370737A2 (en) Low voltage inhibit control apparatus
JPH01100793A (en) Cmos type semiconductor memory circuit
US5490118A (en) Multiple power source memory control circuit for memory devices
JPS60122447A (en) Battery backup circuit
JP2923985B2 (en) EEPROM device
JPH0822422A (en) Memory device
WO1982001625A1 (en) Electric power source for a control unit
JPS5928297A (en) Prom writer
JPH04111011A (en) Interface circuit for semiconductor storage device
JPH05258584A (en) Power source switching circuit
JP3009236B2 (en) Hot maintenance of devices
JPH04137079A (en) Ic memory card
JPH029402Y2 (en)
JPH0516734Y2 (en)
JP2552316B2 (en) CMOS semiconductor integrated circuit
JPH0628267A (en) Information processor
JPH05314789A (en) Redundant address storage circuit
JPH03154914A (en) Interface circuit for semiconductor storage device
JPS6234359Y2 (en)