JPS601660B2 - Storage device memory content destruction prevention device - Google Patents
Storage device memory content destruction prevention deviceInfo
- Publication number
- JPS601660B2 JPS601660B2 JP52127524A JP12752477A JPS601660B2 JP S601660 B2 JPS601660 B2 JP S601660B2 JP 52127524 A JP52127524 A JP 52127524A JP 12752477 A JP12752477 A JP 12752477A JP S601660 B2 JPS601660 B2 JP S601660B2
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- power supply
- circuit
- signal
- output
- 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
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】
本発明は、記憶装置を具備し、この記憶装置に各入力の
処理方法を命令の集合であるプログラムという形式で格
納しておき、外部入力に応じ、前記プログラムに従って
、制御対象を順次制御するようにしたストアードプログ
ラム方式のシーケンス制御装置に使用して好適な、記憶
装置の記憶内容破壊防止装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention is provided with a storage device, in which a method for processing each input is stored in the form of a program, which is a set of instructions, and in response to an external input, according to the program. The present invention relates to a storage content destruction prevention device for a storage device, which is suitable for use in a stored program type sequence control device that sequentially controls controlled objects.
このようなシーケンス制御装置は、一般的にプログラム
を格納するプログラム記憶装置と、データを格納するデ
ータ記憶装置とを有している。Such a sequence control device generally has a program storage device that stores programs and a data storage device that stores data.
プログラム記憶装置は不揮発性の、たとえばコアメモリ
を使用しているが、データ記憶装置は低価格で消費電力
の少ない半導体集積回路で構成した揮発性のものが使用
されているのが一般的である。したがって、データ記憶
装置は停電あるいは電源しや断等の電源異常により、記
憶内容が破壊されてしまう。そのため、データ記憶装置
に格納できるデータはその範囲が限定されてしまい、破
壊されては困るようなデータを格納するには制御上危険
が共なう。そこで、破壊されては困るようなデータを扱
わなければならないような事態が生じた場合には、不揮
発性のプログラム記憶装置の空領域をデータ記憶装置の
一部として使用し、ここにそのようなデータを格納する
ことが考えられる。しかし、そのためには処理装置が複
雑化し、それに共なって各部も複雑化してしまうという
不都合が生じてしまう。また、電源に異常が生じたら、
データ記憶装置の記憶内容を不揮発性の記憶装置内に格
納するようにすればデータ記憶装置で格納できるデータ
の範囲はかなり拡大でき、データ記憶装置をより有効に
利用できる。ところが、記憶装置の制御電源は、交流電
源を直流化して作られる。したがって、この制御電源の
電圧は、直流化回路のたとえばコンデンサの蓄電効果に
より、交流電源のしや断あるいは停電においても瞬時に
降下することはなく、ある時定数で、暫時降下する。こ
のような過度状態では、制御回路の動作が不安定となり
、不要な読み出し、または書き込み電流が記憶装置に流
れる恐れがあり、そのため記記内容が破壊されることが
ある。そのため、従来は、シーケンス制御装置内に電源
異常検出器を内蔵し、電源に異常があれば、ただちに記
憶装置に読み出し、あるいは書き込みを禁止する禁止信
号を印加するようにしていた。したがって、従来のもの
は、電源に異常が発生してからデータ記憶装置の内容を
不揮発性の記憶装置に移すという時間がなく、このよう
なデータの保護操作は不可能であった。記憶装置の駆動
用電源あるいは読み書きを行なう制御回路の駆動用の制
御電源は、前記したように交流電源を直流化して作られ
る。Program storage devices use non-volatile devices, such as core memory, but data storage devices generally use volatile devices constructed from low-cost, low-power-consuming semiconductor integrated circuits. . Therefore, the stored contents of the data storage device may be destroyed due to a power failure such as a power outage or a power failure. Therefore, the range of data that can be stored in the data storage device is limited, and there is a danger in terms of control when storing data that cannot be destroyed. Therefore, if a situation arises in which you have to handle data that cannot be destroyed, use the free space of a non-volatile program storage device as part of the data storage device, and store such data here. One possibility is to store data. However, this results in the inconvenience that the processing device becomes complicated, and each part also becomes complicated accordingly. Also, if an abnormality occurs in the power supply,
By storing the memory contents of the data storage device in a nonvolatile storage device, the range of data that can be stored in the data storage device can be considerably expanded, and the data storage device can be used more effectively. However, the control power supply for a storage device is made by converting an AC power supply to a DC power supply. Therefore, the voltage of this control power source does not drop instantaneously even when the AC power supply is cut off or interrupted, but drops for a while with a certain time constant due to the storage effect of, for example, a capacitor in the DC converting circuit. In such a transient state, the operation of the control circuit becomes unstable, and unnecessary read or write current may flow into the storage device, which may destroy the written contents. For this reason, conventionally, a power supply abnormality detector has been built into the sequence control device, and if there is an abnormality in the power supply, a prohibition signal that prohibits reading or writing to the storage device is immediately applied. Therefore, in the conventional system, there is no time to transfer the contents of the data storage device to a non-volatile storage device after a power failure occurs, and such data protection operations are impossible. The power supply for driving the storage device or the control power supply for driving the control circuit that performs reading and writing is produced by converting an alternating current power supply to a direct current, as described above.
さらに、これらの電源はかなりの安定度が要求される。
そのため、直流化回路のたとえばコンデンサはかなりの
大容量のものが使用され、時定数は非常に大きい。した
がって、停電あるいは露源しや断等の電源異常が生じて
も、直流化回路はある程度の時間、記憶装置あるいはそ
の制御回路を正常に作動する規定電圧を安定して出力し
、その後不安定な電圧を出力しながら除々に出力電圧は
降下する。電源が異常を来してから直流化回路が規定電
圧を持続して出力できる時間、すなわち異常時規定電圧
出力時間は、直流化回路の設定時に予め知ることができ
る。本発明は、この直流化回路の異常時規定電圧出力時
間を有効に利用し、上述の欠点を解決するために成され
たものであり、簡単な構成により、電源異常検出回路が
異常を発生してから、予定時間後に記憶装置の読み出し
、書き込みを禁止する禁止信号を発生することができる
と共に、汎用性を有する記憶装置の記憶内容破壊防止装
置を得ることを目的とする。Furthermore, these power supplies require considerable stability.
Therefore, for example, a capacitor of a fairly large capacity is used in the DC conversion circuit, and the time constant is extremely large. Therefore, even if a power failure occurs such as a power outage or a power outage, the DC conversion circuit will stably output the specified voltage that normally operates the storage device or its control circuit for a certain period of time, and then While outputting voltage, the output voltage gradually drops. The time period during which the DC conversion circuit can continue to output the specified voltage after the power supply becomes abnormal, that is, the specified voltage output time during abnormality, can be known in advance when setting the DC conversion circuit. The present invention has been made in order to solve the above-mentioned drawbacks by effectively utilizing the specified voltage output time during abnormality of this DC conversion circuit, and has a simple configuration that prevents the power supply abnormality detection circuit from generating an abnormality. It is an object of the present invention to provide a device for preventing storage contents from being destroyed in a storage device, which can generate a prohibition signal for prohibiting reading and writing to the storage device after a scheduled time, and has general versatility.
上記の目的を達成するため本発明の特徴とするところは
、記憶装置の各番地を順次指定操作するプログラムカウ
ンタの歩進用のクロツクパルスを発生するクロックパル
ス発生器と、交流主電源のしや断あるいは停電を検出し
て異常信号を出力する電源異常検出回路と、揮発性記憶
装置の予め定めた記憶内容を不揮発性記憶装置に転送し
得る時間に対応する予め定めた設定値を、前記異常信号
に応答してブリセットすると共に、前記クロックパルス
発生器からのクロックパルスを入力し前記異常信号を受
けることによって前記クロックパルスの計数を開始し、
当該計数内容が前記設定値に達することによって制御信
号を出力するプリセットカウン夕とを具備し、前記制御
信号によって記憶装置の読み出し、書き込みを禁止する
ようにしたことにある。In order to achieve the above object, the present invention is characterized by a clock pulse generator that generates a clock pulse for incrementing a program counter that sequentially specifies each address of a storage device, and a Alternatively, a power supply abnormality detection circuit that detects a power outage and outputs an abnormal signal, and a predetermined setting value corresponding to the time during which predetermined storage contents of the volatile storage device can be transferred to the nonvolatile storage device, are connected to the abnormality signal. and starts counting the clock pulses by inputting clock pulses from the clock pulse generator and receiving the abnormal signal;
The present invention further includes a preset counter that outputs a control signal when the count reaches the set value, and the control signal inhibits reading and writing of the storage device.
以下、第1図に示す本発明の一実施例について説明する
。An embodiment of the present invention shown in FIG. 1 will be described below.
1は記憶装置の各番地を順次指定操作するプログラムカ
ウンタの歩進用のクロックパルスを発生するクロツクパ
ルス発生器である。Reference numeral 1 designates a clock pulse generator that generates clock pulses for incrementing a program counter that sequentially specifies each address in the storage device.
ACは交流主電源であり、2は交流主電源ACのしや断
あるいは停電を検出して異常信号を発生する電源異常検
出回路である。3は計数回路であり、一例としてプリセ
ットカウンタを用いた場合について示してある。AC is an alternating current main power source, and 2 is a power supply abnormality detection circuit that detects a short cut or power outage of the alternating current main power source AC and generates an abnormal signal. 3 is a counting circuit, and the case where a preset counter is used is shown as an example.
このプリセットカウンタ3は電源異常検出回路2からの
出力信号aをプリセット端子Prに、そしてこの信号を
否定回路N,を介してクリア端子CLに入力するように
してある。したがって、常時このカゥンタ3はクリアさ
れ、電源異常検出回路2が異常信号を出力すると時間設
定値fをプリセットする。さらに、このカウンタ3はク
ロツクパルス発生器1からのクロツクパルスをAND回
路A,を通してその入力端子IN‘こ入力するようにす
る。そして、このAND回路A,を桁上げ端子Cからの
出力を否定回路N2で否定した信号で開閉制御するよう
にしてある。4は電源リセット回路であり、たとえば抵
抗R,とコンデンサCとの積伏回路で直流電源Vccの
立よりを検出し、電源投入時点から一定時間、シーケン
ス制御装置のアキュームレータ、各種レジスタ、フリツ
プフロツプ等をリセットするりセット信号CSを発生す
る。This preset counter 3 is configured to input an output signal a from the power supply abnormality detection circuit 2 to a preset terminal Pr, and input this signal to a clear terminal CL via a negative circuit N. Therefore, this counter 3 is always cleared, and when the power supply abnormality detection circuit 2 outputs an abnormality signal, the time setting value f is preset. Furthermore, this counter 3 inputs the clock pulse from the clock pulse generator 1 through an AND circuit A to its input terminal IN'. The AND circuit A is controlled to open and close using a signal obtained by negating the output from the carry terminal C by a negation circuit N2. 4 is a power supply reset circuit, which detects the rise of the DC power supply Vcc with a product circuit consisting of a resistor R and a capacitor C, and resets the accumulator, various registers, flip-flops, etc. of the sequence control device for a certain period of time from the time the power is turned on. A reset signal CS is generated.
QはコンデンサCの放電回路を横成するトランジスタで
あり、プリセツトカウンタ3の端子COから桁上げ信号
が発生すると、このトランジスタQは導通してコンデソ
サCの電荷を強制的に放電し、電源リセット回路4はリ
セット信号CSを出力する。5はフリツプフロツプ回路
であり、電源リセット回路4の出力によってリセットさ
れ、出力Qは否定回路N3を介して記憶装置Mの読み出
し書き込みを禁止する動作禁止端子に印加するようにし
てある。Q is a transistor that forms the discharge circuit of the capacitor C. When a carry signal is generated from the terminal CO of the preset counter 3, this transistor Q becomes conductive and forcibly discharges the charge of the capacitor C, and resets the power supply. Circuit 4 outputs a reset signal CS. Reference numeral 5 denotes a flip-flop circuit, which is reset by the output of the power supply reset circuit 4, and whose output Q is applied to an operation inhibit terminal for inhibiting reading and writing of the memory device M via a negative circuit N3.
6はラツチリレーであり、これは記憶装置Mの動作禁止
信号を保証するためのものである。Reference numeral 6 denotes a latch relay, which is used to guarantee the operation inhibition signal of the storage device M.
すなわち、交流主電源ACがしや断あるいは停電してか
ら一定時間経過後、直流化回路の出力電圧Vccは不安
定になる。この時点で否定回路N3の出力が予定レベル
の動作禁止信号を保持できなくなる。ラッチリレー6は
この時に予定レベルの動作禁止信号を保証するもので、
接点C,‘まフロート状態としてあり、接点C2は接地
するようにしてある。中性点C3は記憶装置Mの動作禁
止端子に接続するようにする。L,,Lはコイルであり
、コイルL,を励磁すると中性点C3と接点C,が接続
され、コイルLを励磁すると中性点C3と接点C2が接
続され、それらは互いに他の一方が励磁されるまで接続
された状態を保持する。コイルL,L2のそれぞれの一
端は直流電源Vccに接続してあり、コイルL,の他端
はAND回路A2の出力端に接続してあり、コイルL2
の他端はAND回路A3の出力端に接続してある。AN
D回路A2は、電源リセット回路4の出力信号と電源異
常検出回路2の出力を否定回路N4で否定した信号とを
入力るようにしてある。AND回路A3は電源リセット
回路4の出力信号を否定回路N5で否定した信号を入力
するようにしてある。第2図は第1図に示す回路の各部
の波形を示したものであり、AQま交流主電源ACの電
圧波形を示し、VCCは直流電源VCCの電圧波形を示
す。That is, after a certain period of time has elapsed after the AC main power supply AC is interrupted or interrupted, the output voltage Vcc of the DC conversion circuit becomes unstable. At this point, the output of the NOT circuit N3 can no longer maintain the operation inhibit signal at the expected level. The latch relay 6 guarantees the operation prohibition signal at the expected level at this time.
Contact C' is in a floating state, and contact C2 is grounded. The neutral point C3 is connected to the operation inhibit terminal of the storage device M. L,,L are coils, when the coil L is excited, the neutral point C3 and the contact C, are connected, and when the coil L is excited, the neutral point C3 and the contact C2 are connected; Remains connected until energized. One end of each of the coils L and L2 is connected to the DC power supply Vcc, and the other end of the coil L is connected to the output end of the AND circuit A2.
The other end is connected to the output end of AND circuit A3. AN
The D circuit A2 is configured to receive the output signal of the power supply reset circuit 4 and a signal obtained by negating the output of the power supply abnormality detection circuit 2 by a negation circuit N4. The AND circuit A3 is configured to receive a signal obtained by negating the output signal of the power supply reset circuit 4 by a negation circuit N5. FIG. 2 shows waveforms of various parts of the circuit shown in FIG. 1, where AQ shows the voltage waveform of the AC main power supply AC, and VCC shows the voltage waveform of the DC power supply VCC.
a,b,CSは電源異常検出回路2、プリセットカウン
タ3、電線リセット回路4の出力波形を示す。dは記憶
装置Mの動作禁止端子に加わる波形を示す。以下、第2
図を参照して第1図の動作について説明する。a, b, and CS indicate output waveforms of the power supply abnormality detection circuit 2, preset counter 3, and wire reset circuit 4. d shows a waveform applied to the operation inhibit terminal of the storage device M. Below, the second
The operation shown in FIG. 1 will be explained with reference to the drawings.
まず、電源投入時、電源リセット回路4は直流電源Vc
cの立ち上りを検出し、一定時間論理的に“0”のリセ
ット信号を出力する。このリセット信号により、シーケ
ンス制御装置のアキュームレータ、各種レジスタ、各フ
リップフロップ等はリセットされる。これと同時に、こ
のリセット信号はフリツプフロツプ回路5をリセットす
る。そうすると、フリツプフロツプ回路5の出力端子Q
は論理的に“1”の信号を出力し、否定回路N3の出力
は論理的に“0”となり、記憶装置Mの読み出し、書き
込みを禁止する。この時点において、電源ACは正常で
あり、電源異常検出回路2は論理的に“1”の信号を出
力する。したがって、プリツトカウンタ3はクリアされ
ているので、桁上げ端子Cからは桁上げ信号は出力され
ず、AND回路A,はゲートを閉じ、クロツクパルスは
入力されない。また、電源異常検出回路2の出力が論理
的に“1”、電源リセット回路4の出力が論理的に“0
”であることから、AND回路A2の出力は論理的に“
1”、AND回路A3の出力は論理的に“0”となり、
コイルL2が励磁され、中性点C3は接地され、記憶装
置Mの動作禁止端子には論理的に“0”の禁止信号が加
わる。一定時時間後、電源リセット回路4が論理的に“
1”の信号を出力すると、否定回路N2の出力は論理的
に“1”、ラツチリレー6はコイルLが励磁され、記憶
装置Mに加わる禁止信号は解除される。次にto時点で
交流主電源ACがしや断あるいは停電により、電力の供
給を停止したとする。しかし、直流電源Vccは上記し
た理由により、to時点から異常時規定出力時間Toは
規定電圧を出力する。to時点で交流主電源ACに異常
が発生すると、電源異常検出回路2はこれを検出し、検
出遅れ時間後、論理的に“0”の異常信号を出力する。
この信号により、ブリツトカウンタ3は時間設定値fを
プリセットする。同時に、桁上げ端子COは論理的に“
0”の信号を出力し、否定回路N2は論理的に“0”の
信号を出力してAND回路A,を開く。これにより、ク
ロックパルス発生器1からのクロツクパルスがプリセッ
トカウンタ3の入力端子INに加わる。しかし、電源リ
セツト回路4の出力は変化なく、ラッチリレー6も前記
の状態を保持しており、記憶装置Mへの信号は論理的に
“1”となり、禁止信号は解除されている。AND回路
A,が開くことから、プリセットカウンタ3はクロツク
パルス発生器1からのクロツクパルスを計数する。一定
時間Tc後、プリセツトカウンタ3の計数内容が時間設
定値fに達すると、桁上げ端子Cから論理的に“1”の
信号が出力される。これにより否定回路N2は論理的に
‘10”の信号を出力し、AND回路A,を閉じ、プリ
セツトカウンタ3へのクロツクパルスの入力を禁止する
。同時に、この桁上げ信号は電源リセット回路4に加わ
り、トランジスタQを導通し、コンデンサCの電荷を放
電し、これにより電源リセット回路4は所定の遅れ時間
後、論理的に“0”のリセット信号を出力する。フリッ
プフロップ回路5はこのリセット信号でリセットされ、
出力端子Qからは論理的に“1”の信号を出力する。こ
の出力は、否定回路N3で否定され、記憶装置Mの動作
禁止端子に論理的に“0”の動作禁止信号を印加する。
電源異常検出回路2が論理的に“0”、電源リセット回
路4が論理的に“0”の信号を出力するため、AND回
路んの出力は論理的に“1”、AND回路A3の出力は
論理的に“0”となり、コイルLの励磁が解除され、コ
イルLが励磁される。First, when the power is turned on, the power supply reset circuit 4
It detects the rising edge of c and outputs a logical "0" reset signal for a certain period of time. This reset signal resets the accumulator, various registers, flip-flops, etc. of the sequence control device. At the same time, this reset signal resets the flip-flop circuit 5. Then, the output terminal Q of the flip-flop circuit 5
outputs a logical "1" signal, and the output of the NOT circuit N3 becomes logical "0", prohibiting reading and writing of the memory device M. At this point, the power supply AC is normal, and the power supply abnormality detection circuit 2 outputs a logical "1" signal. Therefore, since the pret counter 3 is cleared, no carry signal is output from the carry terminal C, the AND circuit A closes its gate, and no clock pulse is input. Also, the output of the power supply abnormality detection circuit 2 is logically “1” and the output of the power supply reset circuit 4 is logically “0”.
”, the output of AND circuit A2 is logically “
1”, the output of AND circuit A3 becomes logically “0”,
The coil L2 is excited, the neutral point C3 is grounded, and a logical "0" inhibit signal is applied to the operation inhibit terminal of the storage device M. After a certain period of time, the power supply reset circuit 4 logically
When a signal of "1" is output, the output of the negative circuit N2 is logically "1", the coil L of the latch relay 6 is energized, and the prohibition signal applied to the memory device M is released.Next, at the time of to, the AC main power supply is Suppose that the power supply is stopped due to AC interruption or power outage. However, for the reason mentioned above, the DC power supply Vcc outputs the specified voltage for the specified abnormal output time To from the time to.At the time to, the AC mains power supply is stopped. When an abnormality occurs in the power supply AC, the power supply abnormality detection circuit 2 detects this and outputs a logical "0" abnormality signal after a detection delay time.
This signal causes the blit counter 3 to preset the time setting value f. At the same time, the carry terminal CO is logically “
0" signal, and the NOT circuit N2 logically outputs a "0" signal to open the AND circuit A. As a result, the clock pulse from the clock pulse generator 1 is applied to the input terminal IN of the preset counter 3. However, the output of the power supply reset circuit 4 remains unchanged, the latch relay 6 also maintains the above state, the signal to the storage device M becomes logically "1", and the prohibition signal is released. Since the AND circuit A is opened, the preset counter 3 counts the clock pulses from the clock pulse generator 1. After a certain period of time Tc, when the count content of the preset counter 3 reaches the time set value f, the carry terminal C is opened. A logical ``1'' signal is output from .As a result, the NOT circuit N2 outputs a logical ``10'' signal, closing the AND circuit A, and prohibiting the input of clock pulses to the preset counter 3. do. At the same time, this carry signal is applied to the power supply reset circuit 4, conducts the transistor Q, and discharges the charge of the capacitor C, so that the power supply reset circuit 4 outputs a logic "0" reset signal after a predetermined delay time. Output. The flip-flop circuit 5 is reset by this reset signal,
A logical "1" signal is output from the output terminal Q. This output is negated by the negation circuit N3, and an operation prohibition signal of logical "0" is applied to the operation prohibition terminal of the storage device M.
Since the power supply abnormality detection circuit 2 outputs a logical "0" signal and the power supply reset circuit 4 outputs a logical "0" signal, the output of the AND circuit A3 is logically "1", and the output of the AND circuit A3 is It becomes logically "0", the excitation of the coil L is canceled, and the coil L is excited.
これにより、中性点C3は接地され、記憶装置Mの動作
禁止端子には論理的に“0”の安定した動作禁止信号が
加わる。このようにすれば、交流主電源ACが異常を来
してから、一定時間Tc後に記憶装置Mに動作禁止信号
を印加することができる。しかも、異常時規定電圧出力
時間Toは直流化回路の設計段階で予め知ることがでる
ことから、時間Tcはこの時間Toの範囲内であれば、
予め設定できる。したがって、電源異常検出回路2から
の異常信号でシーケンス制御装鷹の処理動作に割り込み
かけ、この時間Tc内にデータ記憶装置の内容を不揮発
性のたとえばプログラム記憶装置の空領域内に格納する
ことができ、データ記憶装置に破壊しては困るようなデ
ータでも格納することができることから、データ記憶装
置の利用範囲を大幅に拡大できる。しかも、この時間T
cは異常時規定電圧出力時間内であれば、時間設定値f
を変えることにより任意に選定できる。したがって、制
御電源の仕様の異なるものへの適用は、プリットカゥン
タの設定値を変えることによって容易に対処できる。す
なわち、種々の仕様を有する制御電源に汎用的に使用す
ることが可能となる。そして、この時間Tcは、アドレ
スカウンタの歩進用のクロツクパルスを発生するクロッ
クパルス発生器によって管理されることから、きわめて
正確であり、かつシーケンス制御装置の各部と同期を取
ることができ、きわめて好都合である。以上の説明から
明らかなように、本発明によれば、簡単な構成で、電源
異常検出回路が異常信号を発生してから一定時間後に、
記憶装置の動作禁止端子に動作禁止信号を印加すること
のできる記憶装置の記憶内容破壊防止装置を得ることが
できる。As a result, the neutral point C3 is grounded, and a stable operation prohibition signal of logical "0" is applied to the operation prohibition terminal of the storage device M. In this way, the operation prohibition signal can be applied to the storage device M after a certain period of time Tc after the AC main power supply AC becomes abnormal. Moreover, since the specified abnormality voltage output time To can be known in advance at the design stage of the DC conversion circuit, if the time Tc is within the range of this time To,
Can be set in advance. Therefore, it is possible to interrupt the processing operation of the sequence control device by an abnormality signal from the power supply abnormality detection circuit 2, and store the contents of the data storage device in a non-volatile, for example, empty area of a program storage device within this time Tc. Since it is possible to store even data that would be difficult to destroy in a data storage device, the scope of use of the data storage device can be greatly expanded. Moreover, this time T
If c is within the specified voltage output time during abnormality, the time setting value f
It can be arbitrarily selected by changing . Therefore, application to control power supplies with different specifications can be easily handled by changing the set value of the print counter. In other words, it becomes possible to use the present invention for general purposes in control power supplies having various specifications. Since this time Tc is managed by a clock pulse generator that generates clock pulses for incrementing the address counter, it is extremely accurate and can be synchronized with each part of the sequence control device, which is extremely convenient. It is. As is clear from the above description, according to the present invention, with a simple configuration, after a certain period of time after the power supply abnormality detection circuit generates an abnormal signal,
It is possible to obtain a storage content destruction prevention device for a storage device that can apply an operation prohibition signal to an operation prohibition terminal of the storage device.
したがって、電源異常により揮発性のデータ記憶装置の
内容を不揮発性の記憶装置内に退避させることができ、
データ記憶装置の使用範囲を大幅に拡張できる。しかも
、一定時間後には、記憶装置に動作禁止信号を確実に印
加できることから、記憶装置の内容は確実に保護できる
。また、電源異常発生時点から記憶装置の読み出し、書
き込みを禁止するまでの時間は、プリセットカウンタの
設定値を可変することで容易に対処できるため、種々の
仕様を有する制御電源に汎用的に使用することが可能で
ある。Therefore, the contents of a volatile data storage device can be evacuated into a nonvolatile storage device in the event of a power failure;
The scope of use of data storage devices can be greatly expanded. Furthermore, since the operation prohibition signal can be reliably applied to the storage device after a certain period of time, the contents of the storage device can be reliably protected. In addition, the time from when a power failure occurs until reading and writing to the storage device is prohibited can be easily handled by changing the setting value of the preset counter, so it can be used universally for control power supplies with various specifications. Is possible.
第1図は本発明の一実施例を示す回路図、第2図は第1
図の各部の波形を示す図である。
1:クロックパルス発生器、2:電源異常検出回路、3
:計数回路、AC:交流主電源。
弟/図
第2図Fig. 1 is a circuit diagram showing one embodiment of the present invention, and Fig. 2 is a circuit diagram showing an embodiment of the present invention.
It is a figure which shows the waveform of each part of a figure. 1: Clock pulse generator, 2: Power supply abnormality detection circuit, 3
: Counting circuit, AC: AC main power supply. Younger brother/Figure 2
Claims (1)
ウンタの歩進用のクロツクパルスを発生するクロツクパ
ルス発生器と、交流主電源のしや断あるいは停電を検出
して異常信号を出力する電源異常検出回路と、揮発性記
憶装置の予め定めた記憶内容を不揮発性記憶装置に転送
し得る時間に対応する予め定めた設定値を、前記異常信
号に応答してプリセツトすると共に、前記クロツクパル
ス発生器からのクロツクパルスを入力し前記異常信号を
受けることによって前記クロツクパルスの計数を開始し
、当該計数内容が前記設定値に達することによって制御
信号を出力するプリセツトカウンタとを具備し、前記制
御信号によって記憶装置の読み出し、書き込みを禁止す
るようにした記憶装置の記憶内容破壊防止装置。1. A clock pulse generator that generates a clock pulse for incrementing a program counter that sequentially specifies each address in a storage device, and a power supply abnormality detection circuit that detects interruptions or power outages in the AC main power supply and outputs an abnormality signal. , preset a predetermined setting value corresponding to the time during which predetermined storage contents of the volatile storage device can be transferred to the nonvolatile storage device in response to the abnormal signal, and also preset the clock pulse from the clock pulse generator. a preset counter that starts counting the clock pulses upon receiving the abnormal signal and outputs a control signal when the count reaches the set value; A storage content destruction prevention device for a storage device that prohibits writing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52127524A JPS601660B2 (en) | 1977-10-26 | 1977-10-26 | Storage device memory content destruction prevention device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52127524A JPS601660B2 (en) | 1977-10-26 | 1977-10-26 | Storage device memory content destruction prevention device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5461426A JPS5461426A (en) | 1979-05-17 |
| JPS601660B2 true JPS601660B2 (en) | 1985-01-16 |
Family
ID=14962138
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52127524A Expired JPS601660B2 (en) | 1977-10-26 | 1977-10-26 | Storage device memory content destruction prevention device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS601660B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58199494A (en) * | 1982-05-14 | 1983-11-19 | Citizen Watch Co Ltd | Small-sized electronic instrument |
-
1977
- 1977-10-26 JP JP52127524A patent/JPS601660B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5461426A (en) | 1979-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11183830B2 (en) | Methods for detecting an imminent power failure in time to protect local design state | |
| EP0056400B1 (en) | Memory security circuit | |
| US9166601B2 (en) | Semiconductor device incorporating a power on circuit | |
| US20040193817A1 (en) | Circuit for prevention of unintentional writing to a memory, and semiconductor device equipped with said circuit | |
| TWI747688B (en) | Semiconductor device | |
| EP3039682B1 (en) | Power supply brownout protection circuit and method for embedded fram | |
| GB2075729A (en) | Microprogramm control circuit | |
| JPS5911998B2 (en) | Data check method | |
| KR101139772B1 (en) | Semiconductor circuit | |
| US7725769B1 (en) | Latent VBO reset circuit | |
| US6119210A (en) | Device for the protection of stored data using a time delay circuit | |
| TWI740757B (en) | Semiconductor device | |
| KR100316520B1 (en) | Microcontroller with Malfunction Protection | |
| JP2004362703A (en) | Semiconductor memory device | |
| JP5020623B2 (en) | Power-on system reset circuit | |
| JP3571132B2 (en) | Control circuit | |
| KR970003318B1 (en) | Data write control means | |
| JPH04178854A (en) | Electronic apparatus having memory protective function | |
| JPS6120077B2 (en) | ||
| JP2809752B2 (en) | Memory access circuit | |
| KR950013663B1 (en) | Memory data protection circuit | |
| RU2180985C2 (en) | Flip-flop unit | |
| JPS6244725B2 (en) | ||
| JPS61148554A (en) | Memory device using C-MOS | |
| SU321946A1 (en) | All-Union Ib: dd; ---. G "- -.-.-., ... ,, ^, iП. Н. ВablovlovBIBLIETEKAISTROE, |