JPH0312758A - Data erasion detecting device for volatile memory - Google Patents

Data erasion detecting device for volatile memory

Info

Publication number
JPH0312758A
JPH0312758A JP1147004A JP14700489A JPH0312758A JP H0312758 A JPH0312758 A JP H0312758A JP 1147004 A JP1147004 A JP 1147004A JP 14700489 A JP14700489 A JP 14700489A JP H0312758 A JPH0312758 A JP H0312758A
Authority
JP
Japan
Prior art keywords
data
volatile memory
power supply
voltage
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
JP1147004A
Other languages
Japanese (ja)
Inventor
Hiroshi Ota
博 太田
Takao Fujisawa
藤沢 敬夫
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1147004A priority Critical patent/JPH0312758A/en
Publication of JPH0312758A publication Critical patent/JPH0312758A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a data erasion detecting device containing a simplified circuit constitution by comparing the index data set to a volatile memory with the index data obtained before the supply of power is cut and deciding that the data stored in the volatile memory is erased when no coincidence is obtained between both index data. CONSTITUTION:A state where the electric power is supplied to a power circuit 6 from an external power supply is restored from a state where the supply of electric power is cut to the circuit 6 from the external power supply. Thus a switch of a separation circuit 5 is closed and the supply of power is restarted from the circuit 6. At the same time, the index data Z set at addresses A - D is compared with the index data Z stored in a ROM. If no coincidence is obtained between both index data in terms of just a single one of addresses A - D, it is decided that the data stored in a volatile memory is erased. Then 1 is set to a voltage defective flag and a main process is carried out.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は一般に揮発性メモリのデータ消失検知装置に関
し、特にRAMのような半導体揮発性メモリのデータ消
失検知装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Field of Application) The present invention generally relates to a data loss detection device for a volatile memory, and more particularly to a data loss detection device for a semiconductor volatile memory such as a RAM.

(従来の技術) この種の揮発性メモリのデータ消失検知装置は、一般に
、以下に記載するような態様で揮発性メモリに保持され
ているデータが消失したか否かを検知するようになって
いる。即ち、揮発性メモリに対して電源が供給されてい
ない状態から電源が供給されている状態に可変したとき
における揮発性メモリのデータ保持用コンデンサ(以下
、単に「保持用コンデンサ」という)の保持電圧を、電
圧レベル検出器が入力し、この電圧レベル検出器にて前
記保持用コンデンサのデータ保持電圧が所定値以下であ
るか否かを検出する。そして、電圧レベル検出器によっ
て検出された前記データ保持電圧が所定値以下であった
ときには、揮発性メモリに格納されていたデータが消失
したものと判定するようになっている。
(Prior Art) This type of volatile memory data loss detection device generally detects whether data held in the volatile memory has been lost in the manner described below. There is. In other words, the holding voltage of the data retention capacitor of the volatile memory (hereinafter simply referred to as "retention capacitor") when the volatile memory changes from a state where power is not supplied to a state where power is supplied. is input to a voltage level detector, and the voltage level detector detects whether the data holding voltage of the holding capacitor is below a predetermined value. When the data holding voltage detected by the voltage level detector is below a predetermined value, it is determined that the data stored in the volatile memory has been lost.

第8図は、上述した揮発性メモリのデータ消失検知装置
としての機能を具備した従来の電力系統のディジタル保
護制御装置の構成を示したブロック図である。
FIG. 8 is a block diagram showing the configuration of a conventional power system digital protection control device that has the function of the volatile memory data loss detection device described above.

第8図において、電源回路6は、外部電源からの給電を
受けて、所定の大きさの直流電圧vbを、中央処理装置
2に供給するのを始め、引離し回路5を通してディジタ
ル保護制御装置を形成している各部に供給する。
In FIG. 8, the power supply circuit 6 receives power from an external power supply, starts supplying a DC voltage vb of a predetermined magnitude to the central processing unit 2, and then supplies the digital protection control device through the separation circuit 5. Supply to each part being formed.

引き離し回路5は、電圧レベル検出器と、スイッチとで
構成されており、電圧レベル検出器によって検出された
電源回路6からの出力電圧が所定レベル値以上のときに
は、スイッチを閉成して電源回路6からの出力電圧をそ
のまま前記各部に供給する。一方、引き離し回路5は、
電源回路6からの出力電圧が所定レベル値未満のときに
は、スイッチを開成して電源回路6と前記各部とを電気
的に切り離すようになっている。
The separation circuit 5 is composed of a voltage level detector and a switch, and when the output voltage from the power supply circuit 6 detected by the voltage level detector is equal to or higher than a predetermined level value, the disconnection circuit 5 closes the switch and closes the power supply circuit. The output voltage from 6 is directly supplied to each section. On the other hand, the separation circuit 5 is
When the output voltage from the power supply circuit 6 is less than a predetermined level value, a switch is opened to electrically disconnect the power supply circuit 6 and each of the above-mentioned parts.

保持用コンデンサC1は、引き離し回路5のスイッチが
閉成しているときには、電源回路6から出力され、引き
離し回路5及び電流制限用抵抗R1を通して供給される
電圧Vaによって充電され、引き離し回路5が電源回路
6側との間の接続を遮断したときの揮発性メモリ1のデ
ータを保持するための電荷を蓄積する。保持用コンデン
サC1は、前記スイッチが開成しているときには、前記
蓄積していた電荷を揮発性メモリ1のデータ保持のため
に放電するようになっている。
When the switch of the separation circuit 5 is closed, the holding capacitor C1 is charged by the voltage Va output from the power supply circuit 6 and supplied through the separation circuit 5 and the current limiting resistor R1, and the separation circuit 5 is connected to the power source. Charges are accumulated to hold the data in the volatile memory 1 when the connection with the circuit 6 is cut off. The holding capacitor C1 is configured to discharge the accumulated charge in order to hold data in the volatile memory 1 when the switch is open.

揮発性メモリ1には、例えばRAMのような半導体揮発
性メモリ1が使用されている。揮発性メモリ1は、引き
離し回路5のスイッチが閉成しているときには、電源回
路6から出力され、引き離し回路5及び電流制限用抵抗
R1を通して供給される電圧Vaの供給を受けて駆動し
、中央処理装置2から与えられる各種データを保持、記
憶する。
As the volatile memory 1, a semiconductor volatile memory 1 such as a RAM is used, for example. When the switch of the separating circuit 5 is closed, the volatile memory 1 is driven by receiving the voltage Va outputted from the power supply circuit 6 and supplied through the separating circuit 5 and the current limiting resistor R1. It holds and stores various data given from the processing device 2.

一方、揮発性メモリ1は、前記スイッチが開成している
ときには、保持用コンデンサC1からの放電によって供
給される電圧を受けて、前記電圧の値が記憶している各
種データを保持可能な高さにある間、前記各種データの
保持を継続するようになっている。
On the other hand, when the switch is open, the volatile memory 1 receives a voltage supplied by discharging from the holding capacitor C1, and the voltage value is set to a height that can hold various stored data. The various types of data mentioned above are continued to be held during the period of time.

時計IC4は、揮発性メモリ1と同様に、引き離し回路
5のスイッチが閉成しているときには、中央処理装置2
の制御下で、電源回路6から出力され引き離し回路5及
び電流制限用抵抗R1を通して供給される電圧Vaによ
って駆動する。
Like the volatile memory 1, the clock IC 4 is connected to the central processing unit 2 when the switch of the separation circuit 5 is closed.
It is driven by the voltage Va outputted from the power supply circuit 6 and supplied through the separation circuit 5 and the current limiting resistor R1.

電圧レベル検出回路電圧供給用コンデンサ(以下、単に
「電圧供給用コンデンサ」という)C2は、揮発性メモ
リ1や時計IC4と略同様に、弓き離し回路5のスイッ
チが閉成しているときには、電源回路6から出力され引
き離し回路5、電流制限用抵抗R1、電流制限用抵抗R
2を通して供給される電圧によって充電され、引き離し
回路5が電源回路6側との間の接続を遮断したときの電
圧レベル検出口路7を駆動するための電荷を蓄積する。
The voltage level detection circuit voltage supply capacitor (hereinafter simply referred to as "voltage supply capacitor") C2, when the switch of the release circuit 5 is closed, is similar to the volatile memory 1 and the clock IC 4. Output from the power supply circuit 6, separation circuit 5, current limiting resistor R1, current limiting resistor R
2, and stores charges for driving the voltage level detection port 7 when the separation circuit 5 cuts off the connection with the power supply circuit 6 side.

電圧供給用コンデンサC2は、前記スイッチが開成して
いるときには、電圧レベル検出回路7による保持用コン
デンサC1が蓄積している電圧の検出が可能なように、
電圧レベル検出回路7に対して蓄積していた電荷を放電
するようになっている。
The voltage supply capacitor C2 is configured such that when the switch is open, the voltage level detection circuit 7 can detect the voltage accumulated in the holding capacitor C1.
The charge accumulated in the voltage level detection circuit 7 is discharged.

電圧レベル検出回路7は、前述した揮発性メモリ1、時
計IC4、電圧供給用コンデンサ02等と略同様に、引
き離し回路5のスイッチが閉成しているときには、電源
回路6から出力され、引き離し回路5、電流制限用抵抗
R1、電流制限用抵抗R2を通して供給される電圧によ
って駆動して、電流制限用抵抗R2を通さずに保持用コ
ンデンサC1方から印加される電圧を受けて、該受けた
電圧のレベルを検出して中央処理装置2に出力する。
Almost the same as the volatile memory 1, clock IC 4, voltage supply capacitor 02, etc. described above, the voltage level detection circuit 7 outputs an output from the power supply circuit 6 when the switch of the separation circuit 5 is closed. 5. Driven by the voltage supplied through the current limiting resistor R1 and the current limiting resistor R2, and receiving the voltage applied from the holding capacitor C1 without passing through the current limiting resistor R2. level is detected and output to the central processing unit 2.

一方、電圧レベル検出回路7は、前記スイッチが開成し
ているときには、電圧供給用コンデンサC2からの放電
によって電圧供給用コンデンサC2から供給される電圧
を受けて駆動し、電流制限用抵抗R2を通さずに保持用
コンデンサC175・ら印加される電圧を受けて、該受
けた電圧のレベルを検出して中央処理装置2に出力する
ようになっている。
On the other hand, when the switch is open, the voltage level detection circuit 7 is driven by receiving the voltage supplied from the voltage supply capacitor C2 due to discharge from the voltage supply capacitor C2, and is driven through the current limiting resistor R2. The voltage applied to the holding capacitor C175 is detected, and the level of the received voltage is detected and output to the central processing unit 2.

中央処理装置2は、電源回路6から直接印加される電圧
vbによって制御動作を行ない、インターフェース回路
3を通して与えられる電力系統の電流データil 、1
2+  13と電力系統の電圧データv 1 +  v
 2 *  v 3とを読込んでこれら各データを揮発
性メモリ1に格納するとともに、これら各データに基づ
き電力系統の保護制御を行なうための演算処理を行なう
。中央処理装置2は、前記演算処理の結果、電流データ
il、i2.i3、電圧データvl、v’l、v3に変
化か生じたと認識したときには、電力系統に事故が発生
したものと判断して、電力系統の保護を行なうべくイン
ターフェース回路3を通して遮断器に対しトリ・ツブ指
令信号fを出力するようになっている。中央処理装置2
は、時計IC4をその制御下におくとともに、電圧レベ
ル検出回路7から出力される電圧不良信号(論理レベル
信号)eに基づいて、電源回路6側からの給電が遮断さ
れたときの揮発性メモリ1に保持されているデータが消
失したか否かを判断するようになっている。
The central processing unit 2 performs control operations using the voltage vb directly applied from the power supply circuit 6, and uses the power system current data il, 1 given through the interface circuit 3.
2 + 13 and power system voltage data v 1 + v
2 * v 3 and store these data in the volatile memory 1, and perform arithmetic processing to perform protection control of the power system based on these data. As a result of the arithmetic processing, the central processing unit 2 generates current data il, i2 . i3, when it is recognized that a change has occurred in the voltage data vl, v'l, v3, it is determined that an accident has occurred in the power system, and a trip signal is sent to the circuit breaker through the interface circuit 3 to protect the power system. It is designed to output a knob command signal f. Central processing unit 2
is a volatile memory when the power supply from the power supply circuit 6 side is cut off based on the voltage failure signal (logic level signal) e outputted from the voltage level detection circuit 7 while putting the clock IC 4 under its control. It is determined whether the data held in 1 has been lost.

次に上記構成の動作について説明する。Next, the operation of the above configuration will be explained.

外部電源から電源回路6に対して電力の供給が行なわれ
ている状態では、引き離し回路5のスイッチは閉成状態
となっているので、電源回路6からの出力電圧は、引き
離し回路5、電流制限用抵抗R1を通して保持用コンデ
ンサC1を始め、揮発性メモリ1及び時計IC4に供給
される。これとともに、電源回路6からの出力電圧は、
電流制限用抵抗R2を通して電圧レベル検出回路7及び
’M圧供給用コンデンサC2にも供給される。
When power is being supplied from the external power source to the power supply circuit 6, the switch of the separation circuit 5 is in the closed state, so the output voltage from the power supply circuit 6 is the same as that of the separation circuit 5 and the current limiter. The voltage is supplied to the holding capacitor C1, the volatile memory 1, and the clock IC4 through the resistor R1. Along with this, the output voltage from the power supply circuit 6 is
It is also supplied to the voltage level detection circuit 7 and the 'M pressure supply capacitor C2 through the current limiting resistor R2.

このとき、電圧レベル検出回路7には、電源側から電流
制限用抵抗R2を通さずに所定値以上の電圧が入力され
ているので、電圧レベル検出回路7から出力される電圧
不良信号eの論理レベルは“H“となる。電圧不良信号
eの論理レベルが“H″であれば、揮発性メモリ1内に
保持されているデータが消失していないことを意味して
いるから、中央処理装置2は、揮発性メモリ1内に保持
されている電流データ、電圧データに基づいて電力系統
の保護制御のための演算処理を行なう。
At this time, since a voltage higher than a predetermined value is inputted to the voltage level detection circuit 7 from the power supply side without passing through the current limiting resistor R2, the logic of the voltage failure signal e output from the voltage level detection circuit 7 is The level becomes "H". If the logic level of the voltage failure signal e is "H", it means that the data held in the volatile memory 1 has not been lost. Performs arithmetic processing for power system protection control based on current data and voltage data held in the system.

そしてこの演算処理によって電力系統に事故が発生した
か否かを判断する。
Through this calculation process, it is determined whether an accident has occurred in the power system.

上記演算処理において、電力系統に事故が発生したと判
断すると、第9図にて図示したフローチャートに示すよ
うに、ステップ91にて系統事故時の電流データit、
i2.i3、電圧データvl、v2.v3の各位を揮発
性メモリ1に格納し、次いでステップ92にて系統事故
発生時の時刻データ(年、月、日、時、分、秒)を揮発
性メモリ1に格納する。そして最後に、ステップ93に
てインターフェース回路3を通して遮断器に対しトリッ
プ指令信号fを出力する。
In the above arithmetic processing, if it is determined that an accident has occurred in the power system, as shown in the flowchart illustrated in FIG.
i2. i3, voltage data vl, v2. v3 is stored in the volatile memory 1, and then in step 92, time data (year, month, day, hour, minute, second) at the time of occurrence of the system accident is stored in the volatile memory 1. Finally, in step 93, a trip command signal f is output to the circuit breaker through the interface circuit 3.

外部電源から電源回路6に対する電力の供給か遮断され
ている状態では1、引き離し回路5のスイッチは開成状
態となっているので保持用コンデンサC1に蓄積されて
いる電荷は電源回路6側に向けて放電されず、揮発性メ
モリ1に向けて放電され、この保持用コンデンサC1か
らの電圧供給によって揮発性メモリ1に格納されている
データの保持が行なわれる。然るに、上記のような外部
電源からの電源回路6に対する電力の供給が遮断された
状態が継続すると、保持用コンデンサC1に蓄積されて
いた電荷量は次第に減少して行き、保持用コンデンサC
1からの出力電圧はやがては揮発性メモリ1がデータの
保持が可能な電圧未満に低下してしまい、これによって
揮発性メモリ1内に保持されていたデータが消失してし
まう。
When the power supply from the external power supply to the power supply circuit 6 is cut off, the switch of the separation circuit 5 is in the open state, so the charge accumulated in the holding capacitor C1 is directed toward the power supply circuit 6 side. It is not discharged, but is discharged toward the volatile memory 1, and the data stored in the volatile memory 1 is held by the voltage supply from the holding capacitor C1. However, if the power supply to the power supply circuit 6 from the external power source continues to be cut off as described above, the amount of charge stored in the holding capacitor C1 gradually decreases, and the holding capacitor C1 gradually decreases.
The output voltage from Volatile Memory 1 will eventually drop below the voltage at which Volatile Memory 1 can hold data, and as a result, the data held in Volatile Memory 1 will be lost.

上述した外部電源から電源回路6に対する電力の供給が
遮断されている状態から外部電源から電源回路6に対す
る電力の供給が行なわれている状態に復帰すると、第1
°1図にて図示したフローチャートに示すような処理が
行なわれる。即ち、引き離し回路5のスイッチが閉成状
態となって電源回路6からの給電が再開されると、ステ
ップ111にて電圧レベル検出回路7から出力される電
圧不良信号eを読み込み、ステップ121にて読み込ん
だ電圧不良信号eの論理レベルか“H”か“L″かを判
定する。上記外部電源からの電源回路6に対する給電が
遮断されてから給電が回復するまでに長時間を要したと
き等には、前記遮断期間中に電圧レベル検出回路7に印
加される電圧は、保持用コンデンサC1からの出力電圧
でありしかも前述した理由によって前記出力電圧の値は
所定値未満となっている。そのため、電圧レベル検出回
路7から出力される電圧不良信号eの論理レベルは、“
L″となる。電圧不良信号eの論理レベルが“L”であ
れば、揮発性メモリ1内に保持されているデータが消失
していることを意味しているから、中央処理装置2は、
揮発性メモリ1内に保持されていたデータが消失したも
のと判断する。
When the state in which the power supply from the external power supply to the power supply circuit 6 is cut off returns to the state in which power is being supplied to the power supply circuit 6 from the external power supply, the first
1. Processing as shown in the flowchart shown in FIG. 1 is performed. That is, when the switch of the separation circuit 5 is closed and power supply from the power supply circuit 6 is resumed, the voltage failure signal e outputted from the voltage level detection circuit 7 is read in step 111, and the voltage failure signal e outputted from the voltage level detection circuit 7 is read in step 121. It is determined whether the logic level of the read voltage failure signal e is "H" or "L". When the power supply from the external power supply to the power supply circuit 6 is cut off and it takes a long time until the power supply is restored, the voltage applied to the voltage level detection circuit 7 during the cutoff period is This is the output voltage from the capacitor C1, and the value of the output voltage is less than a predetermined value for the reason described above. Therefore, the logic level of the voltage failure signal e output from the voltage level detection circuit 7 is “
If the logic level of the voltage failure signal e is "L", it means that the data held in the volatile memory 1 has been lost, so the central processing unit 2
It is determined that the data held in the volatile memory 1 has been lost.

一方、ステップ121にて、外部電源からの電源回路6
に対する給電が遮断されてから給電が回復するまでの時
間が短く、保持用コンデンサC1からの出力電圧の値が
所定値以上であれば、電圧レベル検出回路7から出力さ
れる電圧不良信号eの論理レベルは“H“となるので、
揮発性メモリ1内に保持されているデータは消失してい
ないものと判断する。そして、ステップ131にて揮発
性メモリ1内に保持されている前記各データを表示部等
に表示する。
On the other hand, in step 121, the power supply circuit 6 from the external power supply
If the time from when the power supply is cut off to when the power supply is restored is short and the value of the output voltage from the holding capacitor C1 is equal to or higher than a predetermined value, the logic of the voltage failure signal e output from the voltage level detection circuit 7 Since the level is “H”,
It is determined that the data held in the volatile memory 1 has not been lost. Then, in step 131, each of the data held in the volatile memory 1 is displayed on a display section or the like.

(発明が解決しようとする課題) ところで、中央処理装置2が第11図にて図示したフロ
ーチャートを実行するには、電圧レベル検出回路7から
出力される電圧不良信号eの論理レベルが問題となるが
、この電圧不良信号eの論理レベルは、第10図にて図
示するようにして決定されていた。即ち、従来装置にお
いては、第10図を参照して明らかなように、揮発性メ
モリ1内のデータが実際に消失する電圧Vl(このとき
の時間をtlとする)よりもかなりのマージンを持たせ
て前記電圧V1よりも大きな電圧V2を不良検出電圧と
して設定しておき(この不良検出電圧V2が出力された
ときの時間をt2とする)、外部電源からの給電の遮断
によって保持用コンデンサC1の出力電圧が前記■2に
なった時点で電圧レベル検出回路7は、電圧不良信号e
の論理レベルを“H”から“L”に可変して出力するよ
うになっていた。
(Problem to be Solved by the Invention) By the way, in order for the central processing unit 2 to execute the flowchart illustrated in FIG. 11, the logic level of the voltage failure signal e output from the voltage level detection circuit 7 becomes a problem. However, the logic level of this voltage failure signal e was determined as shown in FIG. That is, in the conventional device, as is clear with reference to FIG. In addition, a voltage V2 larger than the voltage V1 is set as a defect detection voltage (the time when this defect detection voltage V2 is output is set as t2), and by cutting off the power supply from the external power supply, the holding capacitor C1 When the output voltage reaches (2), the voltage level detection circuit 7 outputs a voltage failure signal
The logic level of the circuit was changed from "H" to "L" and outputted.

そのため、前記データ消失電圧■1と不良検出電圧V2
との間の誤差は、前記マージン分と等しく、電圧レベル
検出回路7が前記不良検出電圧V2の出力を受けて電圧
不良信号eの論理レベルを“H″から“L“に可変した
時点(t2)では、実際にデータが消失する電圧V1に
なったとき(時間tl)と、時間にしてT1電圧にして
V2−Vlの誤差が生ずることとなり、揮発性メモリ1
内のデータの消失を正確に検知、判定することができな
いという問題がある。又、揮発性メモリ1内に保持され
ているデータが消失する電圧V1が経年的に変化すると
、揮発性メモリ1内のデータが消失したか否かの判定を
行なうのが困難になるばかりでなく、誤判定する可能性
がある。更には、保持用コンデンサC1の出力電圧を検
出するために、電流制限用抵抗R2を始め、電圧レベル
検出回路7、電圧レベル検出回路電圧供給用コンデンサ
02等のハードウェアが必要であり、部品点数が多く回
路構成が複雑であるという問題点もあった。
Therefore, the data loss voltage (1) and the defect detection voltage (V2)
The error between them is equal to the margin, and the error is equal to the margin, and the error is at the time (t2 ), there will be an error between when the voltage reaches V1 (time tl) at which data actually disappears and when the voltage at T1 is V2 - Vl, the volatile memory 1
There is a problem in that it is not possible to accurately detect and determine the loss of data within the computer. Furthermore, if the voltage V1 at which the data held in the volatile memory 1 disappears changes over time, it will not only become difficult to determine whether the data in the volatile memory 1 has disappeared. , there is a possibility of misjudgment. Furthermore, in order to detect the output voltage of the holding capacitor C1, hardware such as a current limiting resistor R2, a voltage level detection circuit 7, a voltage supply capacitor 02 for the voltage level detection circuit, etc. is required, and the number of components is reduced. Another problem was that the circuit configuration was complicated.

従って本発明は、上記問題点を解消するためになされた
もので、その目的は、外部電源からの給電遮断時に、揮
発性メモリ内に保持されているデータが消失したか否か
を正確に検知、判定することができるとともに、外部電
源からの給電遮断時に、揮発性メモリ内のデータを保持
するために設けられているコンデンサの出力電圧を検知
するハードウェアが不要で部品点数が少なく回路構成を
簡単化することが可能な揮発性メモリのデータ消失検知
装置を提供することにある。
Therefore, the present invention has been made to solve the above problems, and its purpose is to accurately detect whether or not data held in volatile memory has been lost when power supply from an external power source is cut off. In addition, when the power supply from an external power source is cut off, there is no need for hardware to detect the output voltage of the capacitor provided to hold data in volatile memory, and the number of components is small, making the circuit configuration easier. An object of the present invention is to provide a volatile memory data loss detection device that can be simplified.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 上記目的を達成するために、本発明に係る揮発性メモリ
のデータ消失検知装置は、外部からの給電によってデー
タを保持する揮発性メモリと、外部からの給電が行なわ
れているときに、予め選定した前記データの給電遮断に
起因する消失を判定する指標となるデータを揮発性メモ
リに設定する手段と、遮断されていた外部からの給電が
回復したときに、前記設定手段によって揮発性メモリに
設定された指標データと給電遮断前の指標データとを比
較して両者が一致していないときには揮発性メモリに保
持されていたデータが消失したと判断する手段と、を備
えた構成とした。
(Means for Solving the Problems) In order to achieve the above object, a data loss detection device for a volatile memory according to the present invention provides a volatile memory that retains data by external power supply and a volatile memory that retains data by external power supply. means for setting in a volatile memory data that serves as an index for determining whether or not the previously selected data has been lost due to a power supply cutoff; and when the cutoff external power supply is restored; means for comparing the index data set in the volatile memory by the setting means with the index data before the power supply cutoff, and determining that the data held in the volatile memory has been lost when the two do not match; The configuration is equipped with the following.

(作 用) 上記構成において、遮断されていた外部からの給電が回
復したときに、設定手段によって揮発性メモリに設定さ
れた指標データと給@遮断前の指標データとを比較して
両者が一致していないときには揮発性メモリに保持され
ていたデータが消失したと判断するようにしたので、外
部からの給電が行なわれているときに設定手段によって
揮発性メモリに設定された指標データが、遮断されてい
た外部からの給電が回復したときに揮発性メモリから消
失したか否かによって揮発性メモリに保持されていたデ
ータが消失したか否かを直接的に判断できるために、揮
発性メモリに保持されているデータが消失する電圧が経
年的に変化したとしても、データが消失したか否かを正
確に判定することが可能となった。
(Function) In the above configuration, when the cut off external power supply is restored, the index data set in the volatile memory by the setting means and the index data before the supply @ cut off are compared and both are matched. Since the data held in the volatile memory is determined to have been lost when the power is not being supplied, the index data set in the volatile memory by the setting means when power is being supplied from an external source is It is possible to directly determine whether the data held in volatile memory has been lost by determining whether or not the data has disappeared from volatile memory when the external power supply that had been previously restored is restored. Even if the voltage at which retained data disappears changes over time, it is now possible to accurately determine whether data has been lost.

(実施例) 以下、図面により本発明の一実施例について説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例に従う揮発性メモリのデー
タ消失検知装置としての機能を具備した電力系統のディ
ジタル保護制御装置の構成を示したブロック図である。
FIG. 1 is a block diagram showing the configuration of a power system digital protection control device having a function as a volatile memory data loss detection device according to an embodiment of the present invention.

第1図にて図示した電力系統のディジタル保護制御装置
は、前記第8図にて図示した従来の電力系統のディジタ
ル保護制御装置から保持用コンデンサC1の出力電圧を
検出するためのハードウェアである電流制限用抵抗R2
、電圧レベル検出回路7、電圧レベル検出回路電圧供給
用コンデンサ02等が除去された構成となっている。従
って第1図において、第8図にて図示したものと同一物
には同一符号を付す。
The power system digital protection control device shown in FIG. 1 is hardware for detecting the output voltage of the holding capacitor C1 from the conventional power system digital protection control device shown in FIG. 8. Current limiting resistor R2
, the voltage level detection circuit 7, the voltage level detection circuit voltage supply capacitor 02, etc. are removed. Therefore, in FIG. 1, the same components as those shown in FIG. 8 are given the same reference numerals.

第1図において、電源回路6は、外部電源からの給電を
受けて、所定の大きさの直流電圧vbを、中央処理装置
2に供給するのを始め、引き離し回路5を通してディジ
タル保護制御装置を形成している各部に供給する。
In FIG. 1, a power supply circuit 6 receives power from an external power supply, starts supplying a DC voltage vb of a predetermined magnitude to the central processing unit 2, and forms a digital protection control device through a separation circuit 5. supply to each department.

引き離し回路5は、電圧レベル検出器と、スイッチとで
構成されており、電圧レベル検出器によって検出された
電源回路6からの出力電圧が所定レベル値以上のときに
は、スイッチを閉成して電源回路6からの出力電圧をそ
のまま前記各部に供給する。一方、引き離し回路5は、
電源回路6からの出力電圧が所定値未満のときには、ス
イッチを開成して電源回路6と前記各部とを電気的に切
り離すようになっている。
The separation circuit 5 is composed of a voltage level detector and a switch, and when the output voltage from the power supply circuit 6 detected by the voltage level detector is equal to or higher than a predetermined level value, the disconnection circuit 5 closes the switch and closes the power supply circuit. The output voltage from 6 is directly supplied to each section. On the other hand, the separation circuit 5 is
When the output voltage from the power supply circuit 6 is less than a predetermined value, a switch is opened to electrically disconnect the power supply circuit 6 and each of the above-mentioned parts.

中央処理装置2は、電源回路6から直接印加される電圧
vbによって制御動作を行ない、インターフェース回路
3を通して与えられる電力系統の電流データif、i2
.i3と電力系統の電圧データvl、v2.v3とを読
み込んで、これら各データを揮発性メモリ1に格納する
とともに、これら各データに基づき電力系統の保護制御
を行なうための演算処理を行なう。中央処理装置2は、
前記演算処理の結果、電流データit、i2゜i3、電
圧データvl、v2.v3に変化が生じたと認識したと
きには、電力系統に事故が発生したものと判断して、電
力系統の保護を行なうべくインターフェース回路3を通
して遮断器に対しトリップ指令信号fを出力するように
なっている。
The central processing unit 2 performs control operations using the voltage vb directly applied from the power supply circuit 6, and uses current data if, i2 of the power system given through the interface circuit 3.
.. i3 and power system voltage data vl, v2. v3 and stores each of these data in the volatile memory 1, and performs arithmetic processing for performing protection control of the power system based on these data. The central processing unit 2 is
As a result of the arithmetic processing, current data it, i2°i3, voltage data vl, v2 . When it is recognized that a change has occurred in v3, it is determined that an accident has occurred in the power system, and a trip command signal f is output to the circuit breaker through the interface circuit 3 in order to protect the power system. .

第2図は、前記第1図にて図示した電力系統のディジタ
ル保護制御装置が備えている揮発性メモリ1のメモリ内
容を示した説明図である。本実施例において、揮発性メ
モリ1の記憶エリアには、上述した電力系統に関するデ
ータとは別種のデータ(指標データと称する。以下に詳
述する)を格納、保持するために、°図のごとくA番地
、D番地、C番地、D番地の4個の特定アドレスが設定
されている。前述したA番地のアドレスは、例えば、前
記電力系統の事故時の電流データil、i2゜i3を格
納するアドレスと前記電力系統の11故時の電圧データ
Vl、V2.V3を格納するアドレスとの間に設定され
ている。D番地のアドレスは、前記電力系統の事故時の
電圧データVl、V2゜V3を格納するアドレスと前記
事故が発生したときの年月日を特定するための年月日デ
ータを格納するアドレスとの間に設定されている。C番
地のアドレスは、前記年月日データを格納するアドレス
と前記事故発生の時点を特定するための時分秒データを
格納するアドレスとの間に設定されている。更にD番地
のアドレスは、前記時分秒データを格納するアドレスの
第2図下方に設定されている。なお、ここで、前記年月
日データと、前記時分秒データとは、時計IC4からの
出力信号に基づいて中央処理装置2から揮発性メモリ1
に与えられるデータであり、前記電流データと電圧デー
タとは、インターフェース回路3を介して与えられ、中
央処理装置2から揮発性メモリ1に出力されるデータで
ある。上述した4個の特定アドレスA−D番地には、外
部電源から電源回路6に対して給電が行なわれていると
きに、予め中央処理装置2によって選定された第2回付
号Zにて示される指標データが、中央処理装置2からの
出力によって格納、保持される。
FIG. 2 is an explanatory diagram showing the memory contents of the volatile memory 1 included in the power system digital protection control device shown in FIG. 1. In this embodiment, the storage area of the volatile memory 1 is used to store and hold data (referred to as index data, which will be described in detail below) that is different from the data related to the power system described above, as shown in the diagram. Four specific addresses are set: A address, D address, C address, and D address. The above-mentioned address A is, for example, an address for storing current data il, i2°i3 at the time of an accident in the power system, and voltage data Vl, V2 . It is set between the address where V3 is stored. The address D is an address that stores the voltage data Vl, V2°V3 at the time of the accident in the electric power system, and an address that stores the year, month, and day data for specifying the year, month, and day when the accident occurred. is set between. The address C is set between the address where the year, month, and day data is stored and the address where the hour, minute, and second data for specifying the time point of the accident occurrence is stored. Further, the address D is set below the address for storing the hours, minutes, and seconds data in FIG. Note that the year, month, and day data and the hour, minute, and second data are stored in the volatile memory 1 from the central processing unit 2 based on the output signal from the clock IC 4.
The current data and voltage data are data given via the interface circuit 3 and output from the central processing unit 2 to the volatile memory 1. The above-mentioned four specific addresses A to D are designated by the second number Z selected in advance by the central processing unit 2 when power is being supplied to the power supply circuit 6 from the external power supply. The index data that is displayed is stored and held by the output from the central processing unit 2.

ここで、上述した指標データZについて説明すれば、指
標データZは、任意の数値データであり、該データは、
例えば中央処理装置2が儒えているROM等の記憶素子
に不揮発性の固定データとして記憶されている。前記指
標データZは、外部電源からの電源回路6に対する給電
遮断に起因して前記各番地(A−D番地)から消失した
か否かを中央処理装置2によって検知されることにより
、前記A−D番地以外の各番地に格納、保持されている
電力系統に関するデータが消失したか否かを判定するよ
うになっている。
Here, to explain the above-mentioned index data Z, the index data Z is arbitrary numerical data, and the data is
For example, the data is stored as non-volatile fixed data in a storage element such as a ROM that is stored in the central processing unit 2. The index data Z is determined by the central processing unit 2 by detecting whether or not the index data Z has disappeared from each of the addresses (A-D addresses) due to a cutoff of the power supply from the external power source to the power supply circuit 6. It is determined whether the data related to the electric power system stored and held at each address other than address D has been lost.

中央処理装置2は、遮断されていた外部電源からの電源
囲路6に対する給電が回復したときに、前記外部電源か
らの電源回路6に対する給電が遮断される前の指標デー
タZ(即ち、ROM等に記憶されている不揮発性固定デ
ータである指標データZ)と外部電源からの給電遮断が
回復した後の揮発性メモリ1内の前記4個の特定アドレ
ス(A〜D)番地に格納されている各指標データZとを
比較演算する。中央処理装置2は、上記比較演算の結果
、A−D番地すべてに亘って両者が一致していると認識
したときには、揮発性メモリ】内のA−D番地以外の他
の番地に格納されている電力系統に関するデータは全く
消失していないものと判断し、例えば、前記C番地の指
標データZか不一致であると認識したときには、前記年
月日データ或いは前記時分秒データの全部又は一部が消
失或いは不良状態になったものと判断する。
When the power supply from the cut-off external power supply to the power supply circuit 6 is restored, the central processing unit 2 stores the index data Z (i.e., from the ROM, etc.) before the power supply from the external power supply to the power supply circuit 6 is cut off. index data Z) which is non-volatile fixed data stored in Comparison calculations are made with each index data Z. When the central processing unit 2 recognizes that they match across all addresses A to D as a result of the above comparison operation, the central processing unit 2 stores the data at an address other than addresses A to D in the volatile memory. If it is determined that no data regarding the electric power system has been lost and, for example, it is recognized that the index data Z of the address C is inconsistent, all or part of the date data or the hour minute second data may be deleted. is determined to have disappeared or become defective.

次に、上記構成の動作について、第3図、第4図にて図
示したフローチャートを参照しながら説明する。
Next, the operation of the above configuration will be explained with reference to the flowcharts shown in FIGS. 3 and 4.

外部電源から電源回路6に対して電力の供給が行なわれ
ている状態では、引き離し回路5のスイッチは開成状態
となっているので、電源回路6からの出力電圧は、引き
離し回路5、電流制限用抵抗R1を通して保持用コンデ
ンサC1を始め、揮発性メモリ1及び時計IC4に供給
される。上記状態において、ROM等に格納されている
指標データZを読み出し、この読出した指標データZを
、揮発性メモリ1の記憶エリアを形成しているA〜D番
地に夫々書き込む(ステップ31. 32゜33.34
)。ステップ31〜34にて上記A〜D番地に夫々書き
込んだ指標データZと、ROMに格納されている不揮発
性固定データである指標データZとを比較演算し、両者
が一致していると認識すれば、電圧不良フラグを“1“
とじ(ステップ35)、揮発性メモリ1内の電力系統に
関するデータが消失していないものと判断して、前記電
力系統に関するデータを表示部(図示しない)に表示出
力する(ステップ36)。そして、電力系統に事故が発
生した場合には、前記各記憶エリアに格納されているデ
ータに基づいて電力系統の保護動作を実行することとな
る。ステップ35にて上記A−D番地に夫々書き込んだ
指標データZのうちのいずれか1つでもROMに格納さ
れている不揮発性固定データと一致しないものがあると
きには、一致しない指標データZが格納されているアド
レス近傍のアドレスに格納されている電力系統に関する
データが消失している(或いは不良状態になっている)
ものとして電圧不良フラグを“0”とする。
When power is being supplied from the external power supply to the power supply circuit 6, the switch of the isolation circuit 5 is in an open state, so the output voltage from the power supply circuit 6 is It is supplied to the holding capacitor C1, the volatile memory 1, and the clock IC4 through the resistor R1. In the above state, the index data Z stored in the ROM etc. is read out, and the read index data Z is written into addresses A to D forming the storage area of the volatile memory 1, respectively (steps 31 and 32). 33.34
). In steps 31 to 34, the index data Z written in the addresses A to D, respectively, and the index data Z, which is non-volatile fixed data stored in the ROM, are compared and calculated, and it is recognized that the two match. For example, set the voltage failure flag to “1”.
It is determined that the data related to the power system in the volatile memory 1 has not been lost (step 35), and the data related to the power system is displayed on a display unit (not shown) (step 36). When an accident occurs in the power system, protection operations for the power system are executed based on the data stored in each of the storage areas. If any one of the index data Z written in the respective addresses A to D in step 35 does not match the nonvolatile fixed data stored in the ROM, the index data Z that does not match is stored. The data related to the power system stored in the address near the address has been lost (or is in a bad state)
As a result, the voltage defect flag is set to "0".

上述した外部電源からの電源回路6に対する電力の供給
が遮断されている状態から、外部電源から電源回路6に
対する電力の供給が行なわれている状態に復帰すると、
第4図にて図示したフローチャートに示すような処理が
行なわれる。即ち、引き離し回路5のスイッチが開成状
態となって電源回路6からの給電が再開されると、前述
したステップ31〜ステツプ34にて各番地A−Dに設
定した指標データZがROMに格納されている指標デー
タZと一致しているか否かを判断する(ステップ41,
42,43.44)。前記判断の結果、A−D番地に夫
々書き込んだ指標データZのうちいずれか1つでも不一
致のものがあるときには、電圧不良フラグに“0#をセ
ットして(ステップ46)、第3図にて示したメイン処
理のフローに移行することとなる。前記判断の結果、A
〜D番地に夫々書き込んだ指標データZがすべて前記R
OMに格納されている指標データZと一致しているとき
には、電圧不良フラグに“1#をセットして(ステップ
45)、第3図にて示したメイン処理のフローに移行す
る。
When the state where the power supply from the external power supply to the power supply circuit 6 is cut off returns to the state where power is being supplied from the external power supply to the power supply circuit 6,
Processing as shown in the flowchart shown in FIG. 4 is performed. That is, when the switch of the separation circuit 5 is opened and power supply from the power supply circuit 6 is resumed, the index data Z set at each address A to D in steps 31 to 34 described above is stored in the ROM. It is determined whether the index data Z matches the index data Z (step 41,
42, 43. 44). As a result of the above judgment, if there is a mismatch in any one of the index data Z written to addresses A to D, the voltage defect flag is set to "0#" (step 46), and the process shown in FIG. As a result of the above judgment, A
~All the index data Z written to addresses D are in the above R.
If it matches the index data Z stored in the OM, the voltage defect flag is set to "1#" (step 45), and the flow shifts to the main processing flow shown in FIG.

そして、メイン処理のフローにおいて、電圧不良フラグ
に“0゛がセットされている場合には、揮発性メモリ1
内に格納されいる電力系統に関するデータの全部或いは
一部の表示部等への表示は行なわれず、逆に電圧不良フ
ラグに“1”がセットされている場合には、揮発性メモ
リ1内に格納されている電力系統に関するデータの表示
部等への表示が行なわれ、この表示されたデータに基づ
いて電力系統の保護制御が実施されることとなる。
In the main processing flow, if the voltage failure flag is set to "0", the volatile memory 1
All or part of the data related to the electric power system stored in the memory 1 is not displayed on the display section, etc., and on the other hand, if the voltage failure flag is set to "1", the data is stored in the volatile memory 1. Data regarding the power system currently being displayed is displayed on a display unit, etc., and protection control of the power system is performed based on the displayed data.

以上説明したように、本発明に従う一実施例によれば、
外部電源からの給電が実施されているときに指標データ
Zを揮発性メモリ1内の特定アドレスに設定しておき、
遮断されていた外部電源からの給電が回復した後に前記
指標データZが設定時の指標データZと一致するか否か
をチエツクすることによって、揮発性メモリ1内に格納
されている電力系統に関するデータが、外部電源からの
給電の遮断によって消失したか否か(或いは不良状態に
なったか否か)を検知、判定することとしたので、従来
装置に係るものと比較して極めて正確に揮発性メモリ1
内のデータが消失(或いは不良)したか否かを検知でき
るようになった。即ち、本実施例によれば、第5図を参
照して明らかなように、実際に揮発性メモリ1内に格納
されているデータが消失する電圧■1と、前述した不良
検出電圧■2との間の誤差(両電圧に対応する時間tl
、t2間の時間差T)は極めて小さくなるので、これに
応じて電圧不良フラグが“1”から“O“に可変する時
間T2と、揮発性メモリ1内のデータが消失した時間T
1との間の誤差も極めて小さくなり、極めて正確に揮発
性メモリ1内に記憶されているデータが消失したか否か
を判定することができるようになった。
As explained above, according to an embodiment according to the present invention,
Set index data Z to a specific address in volatile memory 1 when power is being supplied from an external power supply,
By checking whether the index data Z matches the index data Z at the time of setting after the power supply from the cut-off external power supply is restored, the data related to the electric power system stored in the volatile memory 1 is updated. Since we decided to detect and determine whether or not the memory has disappeared (or whether it has become defective) due to the interruption of power supply from the external power supply, it is possible to detect and determine whether the volatile memory 1
It is now possible to detect whether data within the device has been lost (or defective). That is, according to this embodiment, as is clear with reference to FIG. error between (time tl corresponding to both voltages)
, t2 becomes extremely small, and accordingly, the time T2 when the voltage defect flag changes from "1" to "O" and the time T when the data in the volatile memory 1 disappears.
1 has also become extremely small, making it possible to determine extremely accurately whether data stored in the volatile memory 1 has been lost.

第6図は、本発明の他の実施例に従う揮発性メモリ1の
メモリ内容を示した説明図である。前記実施例に係る揮
発性メモリ1においては特定のアドレス(A−D番地)
4箇所に同一の指標データZを格納しているのに対し、
第6図にて示した揮発性メモリ1においては、A番地に
指標データ21B番地に指標データY、C番地に指標デ
ータX、D番地に指標データW(Z〜Y〜XキW)等、
夫々異なった指標データを各番地に格納している点にお
いて前記第2図にて示した実施例と相違している。
FIG. 6 is an explanatory diagram showing the memory contents of the volatile memory 1 according to another embodiment of the present invention. In the volatile memory 1 according to the embodiment, a specific address (A-D address)
While the same index data Z is stored in four locations,
In the volatile memory 1 shown in FIG. 6, index data is stored at address A, index data Y is stored at address B, index data X is stored at address C, index data W is stored at address D, etc.
This embodiment differs from the embodiment shown in FIG. 2 in that different index data are stored at each address.

第7図は、本発明の更に他の実施例に従う揮発性メモリ
1のメモリ内容を示した説明図である。
FIG. 7 is an explanatory diagram showing the memory contents of the volatile memory 1 according to still another embodiment of the present invention.

前記第2図にて示した実施例に係る揮発性メモリ1、前
記第6図にて示した実施例に係る揮発性メモリ1におい
ては、A−D番地等、特定のアドレスについてのみ指標
データを格納しているのにり・lし、第7図にて示した
揮発性メモリ1においては、全てのアドレスの上位2ビ
ツトに指標データとなる2値のパターンを格納しておき
、この2値のパターンが可変したか否かを全てのアドレ
スに亘ってチエツクすることにより、データが揮発性メ
モリ1から消失したか否かをより精密に判定することと
したものである。
In the volatile memory 1 according to the embodiment shown in FIG. 2 and the volatile memory 1 according to the embodiment shown in FIG. 6, index data is stored only for specific addresses such as addresses A-D. However, in the volatile memory 1 shown in FIG. 7, a binary pattern serving as index data is stored in the upper two bits of every address, and this binary pattern is By checking whether the pattern has changed over all addresses, it is possible to more accurately determine whether data has disappeared from the volatile memory 1.

なお、本発明は、上述した実施例のみに限定されるもの
ではなく、例えば揮発性メモリ1に格納する指標データ
を、前記ROM内に各アドレスに対応して設定されてい
る指標データの総和の下位ビットのみとしても差支えな
い。
It should be noted that the present invention is not limited to the above-described embodiments; for example, the index data stored in the volatile memory 1 may be the sum of the index data set corresponding to each address in the ROM. It is also possible to use only the lower bits.

更に、揮発性メモリ1に対する電源供給用素子はコンデ
ンサ(二次電池)に限定されるものではなく、−次電池
を用いることとしてもよい。
Furthermore, the element for supplying power to the volatile memory 1 is not limited to a capacitor (secondary battery), but a negative battery may also be used.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、遮断されていた
外部からの給電が回復したときに、設定手段によって揮
発性メモリに設定された指標データと給電遮断前の指標
データとを比較して両名が一致していないときには揮発
性メモリに保持されていたデータが消失したと判断する
ようにしたので、外部からの給電遮断時に揮発性メモリ
内に保持されているデータが消失したか否かを正確に検
知、判定することができるとともに、外部からの給電遮
断時に、揮発性メモリ内のデータを保持するために設け
られている電源供給用素子の出力電圧を検知するハード
ウェアが不要で部品点数が少なく回路構成を簡単化する
ことが可能な揮発性メモリのデータ消失検知装置を提供
することがてきる。
As explained above, according to the present invention, when the cut off external power supply is restored, the index data set in the volatile memory by the setting means is compared with the index data before the power supply cut off. If the two names do not match, it is determined that the data held in the volatile memory has been lost, so it is possible to check whether the data held in the volatile memory was lost when the external power supply is cut off. In addition to being able to accurately detect and judge the voltage, there is no need for hardware to detect the output voltage of the power supply element that is provided to retain data in volatile memory when the external power supply is cut off. It is possible to provide a data loss detection device for a volatile memory that has a small number of points and can simplify the circuit configuration.

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

第1図は、本発明の一実施例に従う揮発性メモリのデー
タ消失検知装置としての機能を具備した電力系統のディ
ジタル保護制御装置の構成を示したブロック図、第2図
は、前記第1図にて図示した電力系統のディジタル保護
制御装置が備えている揮発性メモリのメモリ内容を示し
た説明図、第3図、第4図は、前記第1図にて図示した
構成のフローチャート、第5図は、本発明の一実施例に
従うタイミングチャート、第6図は、本発明の他の実施
例に従う揮発性メモリのメモリ内容を示した説明図、第
7図は、本発明の更に他の実施例に従う揮発性メモリの
メモリ内容を示した説明図、第8図は、揮発性メモリの
データ消失検知装置としての機能を具備した従来の電力
系統のディジタル保護制御装置の構成を示したブロック
図、第9図、第11図は、前記第8図にて図示した構成
のフローチャート、第10図は、前記第8図にて図示し
た構成のタイミングチャートである。 1・・・揮発性メモリ、2・・・中央処理装置、5・・
・引き離し回路、6・・・電源回路、C1・・・保持用
コンデンサ。
FIG. 1 is a block diagram showing the configuration of a digital protection control device for a power system equipped with a function as a volatile memory data loss detection device according to an embodiment of the present invention, and FIG. 3 and 4 are explanatory diagrams showing the memory contents of the volatile memory included in the digital protection control device for the electric power system illustrated in FIG. 1, and FIG. 6 is a timing chart according to one embodiment of the present invention, FIG. 6 is an explanatory diagram showing the memory contents of a volatile memory according to another embodiment of the present invention, and FIG. 7 is a timing chart according to another embodiment of the present invention. An explanatory diagram showing the memory contents of a volatile memory according to an example, FIG. 8 is a block diagram showing the configuration of a conventional power system digital protection control device equipped with a function as a volatile memory data loss detection device, 9 and 11 are flowcharts of the configuration shown in FIG. 8, and FIG. 10 is a timing chart of the configuration shown in FIG. 8. 1... Volatile memory, 2... Central processing unit, 5...
- Separation circuit, 6...Power supply circuit, C1...Holding capacitor.

Claims (1)

【特許請求の範囲】 外部からの給電によってデータを保持する揮発性メモリ
と、 外部からの給電が行なわれているときに、予め選定した
前記データの給電遮断に起因する消失を判定する指標と
なるデータを揮発性メモリに設定する手段と、 遮断されていた外部からの給電が回復したときに、前記
設定手段によって揮発性メモリに設定された指標データ
と給電遮断前の指標データとを比較して両者が一致して
いないときには揮発性メモリに保持されていたデータが
消失したと判断する手段と、 を備えたことを特徴とする揮発性メモリのデータ消失検
知装置。
[Scope of Claims] A volatile memory that retains data by being supplied with power from an external source, and an index that, when being supplied with power from the outside, serves as an index for determining loss of data selected in advance due to interruption of the power supply. means for setting data in a volatile memory; and when the interrupted external power supply is restored, the index data set in the volatile memory by the setting means is compared with the index data before the power supply was cut off. A device for detecting data loss in a volatile memory, comprising: means for determining that data held in the volatile memory has been lost when the two do not match.
JP1147004A 1989-06-09 1989-06-09 Data erasion detecting device for volatile memory Pending JPH0312758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1147004A JPH0312758A (en) 1989-06-09 1989-06-09 Data erasion detecting device for volatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1147004A JPH0312758A (en) 1989-06-09 1989-06-09 Data erasion detecting device for volatile memory

Publications (1)

Publication Number Publication Date
JPH0312758A true JPH0312758A (en) 1991-01-21

Family

ID=15420387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1147004A Pending JPH0312758A (en) 1989-06-09 1989-06-09 Data erasion detecting device for volatile memory

Country Status (1)

Country Link
JP (1) JPH0312758A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04101146U (en) * 1991-01-31 1992-09-01 横河電機株式会社 memory device
JP2013059183A (en) * 2011-09-07 2013-03-28 Toshiba Corp Protective relay

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6289153A (en) * 1985-10-15 1987-04-23 Hochiki Corp Storage device
JPS631245B2 (en) * 1979-07-20 1988-01-12 Rhone Poulenc Ind

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS631245B2 (en) * 1979-07-20 1988-01-12 Rhone Poulenc Ind
JPS6289153A (en) * 1985-10-15 1987-04-23 Hochiki Corp Storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04101146U (en) * 1991-01-31 1992-09-01 横河電機株式会社 memory device
JP2013059183A (en) * 2011-09-07 2013-03-28 Toshiba Corp Protective relay

Similar Documents

Publication Publication Date Title
KR100378224B1 (en) Ic card
US7757143B2 (en) Semiconductor device including concealable test terminals
EP0607919B1 (en) Power failure protection for a portable telephone
JPS5911998B2 (en) Data check method
JPH0312758A (en) Data erasion detecting device for volatile memory
JPH01261845A (en) Redundant circuit
JP2001095142A (en) Electronic trip apparatus
EP1085413B1 (en) Electronic integrated circuit including trimming means and method therefor
JP2598384Y2 (en) Data processing device
US7830710B2 (en) Semiconductor memory device
EP3896506A1 (en) Fusion splicing device
JPS5835799A (en) Detecting system for ram backup error
US7975191B2 (en) Nonvolatile memory device comprising a programming and deletion checking option
JPH0425919A (en) Backup circuit for storage device
JP3143978B2 (en) Digital protection relay
JPH03147161A (en) Portable semiconductor memory device
JP4107046B2 (en) Mileage accumulator
JPH0113783B2 (en)
JPS58147898A (en) Data holding device
US6344757B1 (en) Circuit configuration for programming an electrically programmable element
JPS61265613A (en) Data processing device
JP2021019420A (en) Protective relay
JP2554117B2 (en) Vehicle data processor
JPS62241016A (en) Data destruction detecting device
JPH0293813A (en) Voltage detecting device for memory backup battery