JPH07226094A - Information holding circuit - Google Patents

Information holding circuit

Info

Publication number
JPH07226094A
JPH07226094A JP1428194A JP1428194A JPH07226094A JP H07226094 A JPH07226094 A JP H07226094A JP 1428194 A JP1428194 A JP 1428194A JP 1428194 A JP1428194 A JP 1428194A JP H07226094 A JPH07226094 A JP H07226094A
Authority
JP
Japan
Prior art keywords
address
power
eeprom
information
circuit
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
JP1428194A
Other languages
Japanese (ja)
Inventor
Masahiko Ariyasu
正彦 有安
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1428194A priority Critical patent/JPH07226094A/en
Publication of JPH07226094A publication Critical patent/JPH07226094A/en
Pending legal-status Critical Current

Links

Classifications

    • Y02B60/1225

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To unnecessitate battery for backup and to hold information before occurence of power interruption until the power is recovered, by using an EEPROM as a memory element for holding information even when power interrupts occurs at standby time. CONSTITUTION:An EEPROM 1 is used as the memory element, held information is stored in the leading address (0 address). A driver circuit 2 supplies a control signal to the EEPROM 1, a buffer circuit 3 receives data to be set from a CPU and supplies it to the EEPROM 1, while held information outputted from the EEPROM 1 is temporarily stored. When power interruption occurs, a whole circuit becomes invalid, but a power supply is recovered to a standby state after power is sent again. Contents of address 0 is outputted from a data port again. Since information written in the address 0 once is not lost even if a power supply is interrupted, information before power interruption can be outputted again by specifying this address 0 at the time of recovering of power.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報保持回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information holding circuit.

【0002】[0002]

【従来の技術】通常の電子機器は、3つの電源状態を持
っている。即ち、すべての回路の電源がオフ状態となる
電源オフ状態、一部の回路のみにスタンバイ用のサブ電
源が供給され他の回路には電源が供給されないスタンバ
イ状態、及びCPUを含む全ての回路の電源がオン状態
となった電源オン状態がある。
2. Description of the Related Art Normal electronic equipment has three power states. That is, the power-off state in which all the circuits are powered off, the standby state in which only some circuits are supplied with the standby sub-power and the other circuits are not supplied with power, and all circuits including the CPU. Power is on There is a power on state.

【0003】このうち、スタンバイ状態は電源オフ時に
所定の回路に蓄積された情報が電源オフ状態時に失われ
ることを防ぐために設定されるもので、情報保持を必要
とする回路のみにスタンバイ電源を供給し、通常動作に
使用される電源がオフ状態となってもこの回路のみには
スタンバイ電源が供給されているため、動作が確保され
情報保持を図ることができる。
Of these, the standby state is set to prevent the information accumulated in a predetermined circuit when the power is off from being lost when the power is off, and the standby power is supplied only to the circuits that need to retain information. However, even if the power supply used for the normal operation is turned off, the standby power is supplied only to this circuit, so that the operation is secured and the information can be retained.

【0004】従来、この種のスタンバイ状態で情報保持
回路として使用される記憶素子としてはD型フリップフ
ロップが一般的であった。このD型フリップフロップに
“1”または“0”の情報をセットし、スタンバイ電源
を供給してこの情報を保持しておく。このD型フリップ
フロップには常時スタンバイ電源が供給され、更に電源
オン状態になった時CPUがこのD型フリップフロップ
に対してデータとデータセット信号を入力することによ
り、データのセットが行われその出力から保持情報が取
り出される。一旦セットされたデータはスタンバイ電源
が供給されている限り主電源が切断されても失われるこ
となく保持されている。
Conventionally, a D-type flip-flop has been generally used as a memory element used as an information holding circuit in this kind of standby state. Information of "1" or "0" is set in this D-type flip-flop, and standby power is supplied to hold this information. Standby power is constantly supplied to the D-type flip-flop, and when the power is turned on, the CPU inputs data and a data set signal to the D-type flip-flop to set the data. Retention information is retrieved from the output. The data once set is retained without being lost even if the main power is cut off as long as the standby power is supplied.

【0005】[0005]

【発明が解決しようとする課題】しかし従来の情報保持
回路では、スタンバイ電源を必要とするため停電が発生
した場合にはこのスタンバイ電源がオフ状態となりスタ
ンバイ状態で保持していた情報は失われてしまうという
問題点がある。これを防ぐためにはスタンバイ電源とし
てバッテリーを装備して回路をバックアップする必要が
ある。バックアップ用のバッテリーを装備すると、装置
が大型化すると共にバックアップ用の電池を寿命にした
がって交換を行なわなければならないという煩わしさが
発生する。
However, in the conventional information holding circuit, since the standby power supply is required, when a power failure occurs, the standby power supply is turned off and the information held in the standby state is lost. There is a problem that it ends up. In order to prevent this, it is necessary to equip the battery as a standby power supply and back up the circuit. When the backup battery is installed, the device becomes large and the backup battery must be replaced over the life of the device.

【0006】[0006]

【課題を解決するための手段】本発明は、スタンバイ電
源が供給されるEEPROM回路と、前記EEPROM
回路の所定アドレスを前記スタンバイ電源の断続に無関
係に指定するアドレス供給手段と、前記EEPROM回
路の制御信号のレベルを通常動作時に読み出しモードと
なるよう固定する制御信号固定手段と、前記EEPRO
M回路に、読み出しモードと書き込みモードとで必要な
前記制御信号のレベルを供給するドライバ回路と、書き
込みモード時に前記所定アドレスにデータを書き込むデ
ータ入力手段とを設けたものである。
SUMMARY OF THE INVENTION The present invention provides an EEPROM circuit to which standby power is supplied, and the EEPROM.
Address supply means for designating a predetermined address of the circuit irrespective of the interruption of the standby power supply, control signal fixing means for fixing the level of the control signal of the EEPROM circuit so as to be in the read mode in the normal operation, and the EEPROM.
The M circuit is provided with a driver circuit that supplies the level of the control signal required in the read mode and the write mode, and a data input unit that writes data to the predetermined address in the write mode.

【0007】[0007]

【作用】本発明では、一旦電気的に情報を記憶させてし
まえば供給電源が切断されても記憶内容を失うことない
EEPROMをフリップフロップ回路の代わりに用いて
いる。そして保持すべき情報はこのEEPROMの所定
番地即ち通常は先頭番地(0番地)に記憶させておく。
このために指定された所定アドレスが常に読出モード時
に指定されるようにアドレス入力が設定される。通常は
全てのアドレス入力端子を所定の抵抗を介してグランド
に接続する。
In the present invention, an EEPROM is used instead of the flip-flop circuit, which does not lose the stored contents even if the power supply is cut off once the information is stored electrically. The information to be held is stored at a predetermined address of this EEPROM, that is, usually at the head address (0 address).
Therefore, the address input is set so that the predetermined address designated for this purpose is always designated in the read mode. Normally, all address input terminals are connected to the ground via a predetermined resistor.

【0008】これにより常に先頭番地である0番地が指
定される。更に、このEEPROMの制御入力端子は通
常動作時に読出モードとなるように制御信号のレベルを
固定するような構成となっている。従って、EEPRO
Mに供給されるスタンバイ電源が停電となり一定時間後
に復電した場合、このEEPROMは制御信号固定手段
により読出モードとなり、アドレス供給手段が常に所定
番地、即ち、0番地を選択しているため、この所定番地
に予め書き込んでおいた保持情報が出力される。
As a result, the start address 0 is always designated. Further, the control input terminal of this EEPROM has a structure in which the level of the control signal is fixed so as to be in the reading mode during the normal operation. Therefore, EEPRO
When the standby power supplied to M is cut off and the power is restored after a certain time, this EEPROM is in the read mode by the control signal fixing means, and the address supplying means always selects a predetermined address, that is, 0 address. The holding information previously written in the predetermined address is output.

【0009】[0009]

【実施例】図1は本発明の一実施例に係る情報保持回路
の回路図である。本発明では情報保持用の記憶素子とし
てEEPROM1を用いる。そしてこのEEPROM1
の先頭番地(0番地)に保持情報を格納するものとす
る。このEEPROM1にはスタンバイ電源5VSが供
給されている。また、このEEPROM1に制御信号を
供給するためのドライバ回路2と、EEPROM1から
出力された保持情報を一旦格納するバッファ回路3が設
けられている。ドライバ回路2及びバッファ回路3には
通常電源5Vが供給されている。
1 is a circuit diagram of an information holding circuit according to an embodiment of the present invention. In the present invention, the EEPROM 1 is used as a storage element for holding information. And this EEPROM1
The retained information is stored in the first address (address 0) of the. A standby power supply 5VS is supplied to the EEPROM 1. Further, a driver circuit 2 for supplying a control signal to the EEPROM 1 and a buffer circuit 3 for temporarily storing the hold information output from the EEPROM 1 are provided. The driver circuit 2 and the buffer circuit 3 are normally supplied with 5V.

【0010】EEPROM1のアドレス端子A0 〜An
は抵抗4を介してグランドにプルダウンされている。図
示しないCPUからのEEPROM1に対するチップイ
ネーブル信号CE(B)、アウトプットイネーブル信号
OE(C)、ライトイネーブル信号WE(D)はドライ
バ回路2に入力され、その反転出力バーCE,バーO
E,バーWEがEEPROMの対応入力端子F,G,H
にそれぞれ入力されるように構成されている。また、チ
ップイネーブル信号バーCE端子F及びアウトプットイ
ネーブル信号バーOE端子Gは抵抗5,6を介してグラ
ンドにプルダウンされ、ライトイネーブル信号バーWE
端子Hは抵抗7を介してスタンバイ電源5VSにプルア
ップされている。
Address terminals A 0 to A n of the EEPROM 1
Is pulled down to ground via a resistor 4. The chip enable signal CE (B), the output enable signal OE (C), and the write enable signal WE (D) from the CPU (not shown) to the EEPROM 1 are input to the driver circuit 2 and their inverted output bars CE, O are output.
E and bar WE are the corresponding input terminals F, G and H of the EEPROM.
Are configured to be input respectively. Further, the chip enable signal bar CE terminal F and the output enable signal bar OE terminal G are pulled down to the ground via the resistors 5 and 6, and the write enable signal bar WE
The terminal H is pulled up to the standby power supply 5VS via the resistor 7.

【0011】これによりEEPROMは通常使用状態で
は読出しモードとなる。EEPROM1のデータポート
より出力されたデータは保持情報Iとして他の回路に供
給される。またCPUはバッファ回路3を介してこの保
持情報Iを読み書きすることができる。
As a result, the EEPROM is in the read mode in the normal use state. The data output from the data port of the EEPROM 1 is supplied to other circuits as holding information I. Further, the CPU can read and write this held information I via the buffer circuit 3.

【0012】次に図1の回路動作を説明する。まず、こ
の回路に電源オン時に保持すべき情報をセットする場合
について説明する。図2は情報セットのタイミングチャ
ートを示している。まずアドレス入力端子A0〜An
(A)はプルダウン抵抗4を介して接地されているた
め、常にローレベルとなっている。従って、通常は先頭
番地であるアドレス0番地が選択される。従って、この
0番地に保持すべき情報が書き込まれる事になる。
Next, the circuit operation of FIG. 1 will be described. First, a case where information to be held when the power is turned on is set in this circuit will be described. FIG. 2 shows a timing chart of the information set. First, address input terminals A0 to An
Since (A) is grounded via the pull-down resistor 4, it is always at a low level. Therefore, the address 0, which is usually the head address, is selected. Therefore, the information to be held is written in this address 0.

【0013】また、チップイネーブルバーCE端子F及
びアウトプットイネーブルバーOE端子Gは抵抗5,6
を介してグランドにプルダウンされているため、通常ロ
ーレベルがドライブされている。また、ライトイネーブ
ルバーWE端子Hはハイレベルがドライブされている。
従ってEEPROMは読出しモードとなっており、アド
レス0番地の内容が出力されている。
The chip enable bar CE terminal F and the output enable bar OE terminal G have resistors 5 and 6, respectively.
It is normally driven low as it is pulled to ground via. Further, the write enable bar WE terminal H is driven at a high level.
Therefore, the EEPROM is in the read mode, and the contents of address 0 are output.

【0014】ここで、ライトサイクルに移る場合、まず
アウトプットイネーブルバーOE端子Gをハイレベルと
し、データポートからの保持情報の出力を止める。この
状態ではデータポートはハイインピーダンス状態とな
る。次にライトイネーブルバーWE端子Hをローレベル
にドライブし、セットすべきデータをCPUからバファ
回路3を介してデータポートに入力し、EEPROM1
に入力させる。この情報は前述したようにアドレスが0
番地に固定されているため0番地に格納される。
Here, when shifting to the write cycle, the output enable bar OE terminal G is first set to a high level to stop the output of the held information from the data port. In this state, the data port is in a high impedance state. Next, the write enable bar WE terminal H is driven to a low level, the data to be set is input from the CPU to the data port via the buffer circuit 3, and the EEPROM 1
To enter. This information has the address 0 as described above.
Since it is fixed at the address, it is stored at address 0.

【0015】このようにしてEEPROM1に情報をセ
ットし、ライトサイクルを終了すると再びセット後のデ
ータが保持情報IとしてEEPROM1のデータポート
から出力される。このようにしてセットされた情報がス
タンバイ状態時にどのように変化するかを説明する。
Information is set in the EEPROM 1 in this way, and when the write cycle is completed, the set data is output again from the data port of the EEPROM 1 as holding information I. How the information set in this way changes in the standby state will be described.

【0016】図3はスタンバイ状態から停電が発生し再
び復電してスタンバイ状態に復旧するときのシーケンス
を示したタイミングチャートである。スタンバイ状態で
はEEPROM1のみにスタンバイ電源電圧5VSが供
給され、ドライバ回路2及びバッファ回路3の電圧は0
Vになる。また、チップイネーブルバーCE端子F、ア
ウトプットイネーブルバーOE端子Gおよびライトイネ
ーブルバーWE端子Hはハイインピーダンスとなるた
め、プルダウン抵抗5,6及びプルアップ抵抗により各
信号のレベルが規定される。この場合EEPROM1は
読出しモードとなってアドレス0番地の内容が出力され
る。
FIG. 3 is a timing chart showing a sequence when a power failure occurs from the standby state and the power is restored again to restore the standby state. In the standby state, the standby power supply voltage 5VS is supplied only to the EEPROM 1, and the voltage of the driver circuit 2 and the buffer circuit 3 is 0.
It becomes V. Further, since the chip enable bar CE terminal F, the output enable bar OE terminal G and the write enable bar WE terminal H have high impedance, the level of each signal is defined by the pull-down resistors 5 and 6 and the pull-up resistor. In this case, the EEPROM 1 is in the read mode and the contents at address 0 are output.

【0017】次に停電が発生した場合、スタンバイ電圧
5VSも0Vになり、全回路が無効になる。この状態で
停電が回復し復電すると、電源がスタンバイ状態に復帰
し、再びEEPROM1のアドレス0番地の内容がデー
タポートより出力される。前述したようにアドレス0番
地に一旦書き込まれた情報は電源が切断された状態でも
失われることがないため、復電時にこの0番地を指定す
ることにより再び停電前の情報が出力される。
When a power failure occurs next time, the standby voltage 5VS also becomes 0V and all circuits are disabled. When the power failure is restored and the power is restored in this state, the power source returns to the standby state, and the content of the address 0 of the EEPROM 1 is output again from the data port. As described above, the information once written in the address 0 is not lost even when the power is cut off. Therefore, by designating this address 0 when the power is restored, the information before the power failure is output again.

【0018】[0018]

【発明の効果】以上実施例に基づいて詳細に説明したよ
うに、本発明では不揮発性のEEPROMを用いてスタ
ンバイ状態で保持している情報を停電後でも取り出す様
にしたため、回路バックアップ用のバッテリを必要とし
なくなる。また、スタンバイ状態で停電発生が起こって
も復電してスタンバイ状態に復帰した時には停電前と同
じ状態で復旧するため、停電発生時に装置の信頼性を高
めることが期待できる。
As described above in detail with reference to the embodiments, in the present invention, the non-volatile EEPROM is used to retrieve the information held in the standby state even after a power failure. No longer need. Further, even if a power failure occurs in the standby state, when the power is restored and returns to the standby state, the same state as before the power failure is restored, so that it is expected that the reliability of the device can be improved when the power failure occurs.

【0019】なお、本発明の情報保持回路を装置がスタ
ンバイ状態にあるとき外部からの要求によりリモート電
源制御によって電源オンさせる回路に用いることによ
り、停電前にセットした設定と同じ設定で復電後に復旧
させることができるため、停電が発生した時でも復電さ
えすればリモート電源制御機能が有効であるように構成
できる。
By using the information holding circuit of the present invention as a circuit for turning on the power by remote power supply control in response to an external request when the device is in the standby state, after the power is restored with the same setting as that set before the power failure. Since the power can be restored, the remote power control function can be configured to be effective even if a power failure occurs as long as the power is restored.

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

【図1】本発明の一実施例を示す情報保持回路。FIG. 1 is an information holding circuit showing an embodiment of the present invention.

【図2】本発明の情報セットの状態を説明するタイミン
グチャート。
FIG. 2 is a timing chart explaining the state of the information set of the present invention.

【図3】本発明の停電後に復電した時の状態を説明する
タイミングチャート。
FIG. 3 is a timing chart for explaining a state when power is restored after a power failure of the present invention.

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

1 EEPROM 2 ドライバ回路 3 バッファ回路 4,5,6 プルダウン抵抗 7 プルアップ抵抗 バーCE チップイネーブル信号 バーOE オウトプットイネーブル信号 バーWE ライトイネーブル信号 1 EEPROM 2 driver circuit 3 buffer circuit 4, 5, 6 pull-down resistor 7 pull-up resistor bar CE chip enable signal bar OE output enable signal bar WE write enable signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 スタンバイ電源が供給されるEEPRO
M回路と、 前記EEPROM回路の所定アドレスを前記スタンバイ
電源の断続に無関係に指定するアドレス供給手段と、 前記EEPROM回路の制御信号のレベルを通常動作時
に読み出しモードとなるよう固定する制御信号固定手段
と、 前記EEPROM回路に、読み出しモードと書き込みモ
ードとで必要な前記制御信号のレベルを供給するドライ
バ回路と、 書き込みモード時に前記所定アドレスにデータを書き込
むデータ入力手段とを設けた事を特徴とする情報保持回
路。
1. An EEPRO to which standby power is supplied
M circuit, address supply means for designating a predetermined address of the EEPROM circuit irrespective of interruption of the standby power supply, and control signal fixing means for fixing the level of the control signal of the EEPROM circuit to a read mode during normal operation. Information characterized in that the EEPROM circuit is provided with a driver circuit for supplying a level of the control signal required in a read mode and a write mode, and a data input means for writing data to the predetermined address in the write mode. Holding circuit.
【請求項2】 前記アドレス供給手段が前記EEPRO
M回路のすべてのアドレス端子に接地電位を供給するよ
う構成された請求項1記載の情報保持回路。
2. The address supply means is the EEPRO.
The information holding circuit according to claim 1, wherein the information holding circuit is configured to supply a ground potential to all the address terminals of the M circuit.
【請求項3】 前記所定アドレスが先頭番地(0番地)
である請求項1記載の情報保持回路。
3. The predetermined address is the start address (address 0)
The information holding circuit according to claim 1, wherein
【請求項4】 前記制御信号固定手段が前記EEPRO
M回路のチップイネーブル端子とアウトプットイネーブ
ル端子の電位を接地電位に、ライトイネーブル端子の電
位を前記スタンバイ電源の電位に固定するよう構成され
た請求項1記載の情報保持回路。
4. The control signal fixing means is the EEPRO.
2. The information holding circuit according to claim 1, wherein the potential of the chip enable terminal and the output enable terminal of the M circuit is fixed to the ground potential and the potential of the write enable terminal is fixed to the potential of the standby power supply.
JP1428194A 1994-02-08 1994-02-08 Information holding circuit Pending JPH07226094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1428194A JPH07226094A (en) 1994-02-08 1994-02-08 Information holding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1428194A JPH07226094A (en) 1994-02-08 1994-02-08 Information holding circuit

Publications (1)

Publication Number Publication Date
JPH07226094A true JPH07226094A (en) 1995-08-22

Family

ID=11856713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1428194A Pending JPH07226094A (en) 1994-02-08 1994-02-08 Information holding circuit

Country Status (1)

Country Link
JP (1) JPH07226094A (en)

Similar Documents

Publication Publication Date Title
JP3302847B2 (en) Storage device
JPH09160838A (en) Cache memory backup device
JPH08249244A (en) Data holding circuit
JPS5911998B2 (en) Data check method
JPH07226094A (en) Information holding circuit
US5384748A (en) Memory card with two SRAM arrays with different data holding voltages and power back-up
JPH0511930A (en) Disk cache device
JPH064228A (en) Semiconductor disk device
JPH1069336A (en) Integrated circuit
JP2740685B2 (en) Storage device backup circuit
JPH06149483A (en) Computer system
JPH0514285B2 (en)
JP3077552B2 (en) Backup device for data storage circuit
JPS5856177B2 (en) magnetic bubble storage device
JP2809752B2 (en) Memory access circuit
KR100250879B1 (en) Memory data back-up apparatus
JPH0150926B2 (en)
JP2900551B2 (en) Portable semiconductor storage device
JPS633039Y2 (en)
JP2002042479A (en) Semiconductor memory
JPS6360478B2 (en)
JP2002091632A (en) Computer system
JP2530742B2 (en) Memory card
JPS5864700A (en) Storage protecting circuit
JPH0738148B2 (en) Memory card monitoring device