JPH10191547A - Digital type protection relay device - Google Patents
Digital type protection relay deviceInfo
- Publication number
- JPH10191547A JPH10191547A JP8346997A JP34699796A JPH10191547A JP H10191547 A JPH10191547 A JP H10191547A JP 8346997 A JP8346997 A JP 8346997A JP 34699796 A JP34699796 A JP 34699796A JP H10191547 A JPH10191547 A JP H10191547A
- Authority
- JP
- Japan
- Prior art keywords
- data
- power supply
- stored
- power
- volatile memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Stand-By Power Supply Arrangements (AREA)
- Emergency Protection Circuit Devices (AREA)
- Power Sources (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ディジタル形保護
継電装置に係り、特に装置電源の停電時のデータ保護方
式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital protection relay device, and more particularly to a data protection method in the event of a power failure of a device power supply.
【0002】[0002]
【従来の技術】ディジタル形保護継電装置は、保護対象
になる電力系統の電圧や電流をサンプリングによりディ
ジタルデータとして取り込み、これらデータを使って系
統の短絡や地絡事故等を検出する各種の保護演算を行
い、保護を必要とするときに系統の遮断器をトリップす
る等の保護出力を得る。2. Description of the Related Art Digital protection relays take in various types of protection by detecting the voltage and current of a power system to be protected as digital data by sampling, and using these data to detect a short circuit or a ground fault. Operation is performed to obtain a protection output such as tripping a circuit breaker when protection is required.
【0003】このような機能を持つディジタル形保護継
電装置は、図2に示すように、コンピュータ1を中枢部
とし、各種の入出力装置2〜5を備えて各種の保護機能
を実現する他に、正常な保護処理機能を維持するための
プロテクト機能をハードウェア又はソフトウェア構成で
備える。As shown in FIG. 2, a digital protection relay device having such a function includes a computer 1 as a central unit, and various input / output devices 2 to 5 to realize various protection functions. In addition, a protection function for maintaining a normal protection processing function is provided with a hardware or software configuration.
【0004】このプロテクト機能の1つとして、装置電
源6の停電時に現在のデータを保護する機能が用意され
る。このデータ保護機能は、停電検出でコンピュータ1
のCPU11に割り込みをかけ、保護を必要とするデー
タ(計測データや演算処理データ、トリップ状態データ
など)をRAM12やレジスタから不揮発性メモリにな
るEEPROM13に保存し、復電時に不揮発性メモリ
の内容をRAMやレジスタに読み出して保護演算を再開
する。[0004] As one of the protection functions, a function is provided for protecting the current data at the time of a power failure of the apparatus power supply 6. This data protection function enables the computer 1
CPU 1 1 to interrupts, protection data (measurement data and processing data, trip state data) that needs to save the RAM 1 2 or become non-volatile memory from the register EEPROM 1 3, nonvolatile memory when power returns of Is read into the RAM or the register and the protection operation is restarted.
【0005】[0005]
【発明が解決しようとする課題】従来のデータ保護方式
では、装置電源の停電又はオフ操作時に割込み処理でデ
ータを不揮発性メモリに保存し、復電時又は電源オン操
作時に不揮発性メモリに保存するデータをRAM等の記
憶媒体に読み出す。In the conventional data protection system, data is stored in a non-volatile memory by interrupt processing when a power failure or off operation of the device power supply, and is stored in the non-volatile memory when power is restored or the power is turned on. The data is read out to a storage medium such as a RAM.
【0006】このデータ保護方式において、装置電源の
オンから直後にオフ操作又は停電が発生したとき、すな
わち電源のオンにより不揮発性メモリに保存するデータ
を他の記憶装置に読み出している途中で停電発生や電源
オフ操作が行われると、不定値のデータが他の記憶装置
から不揮発性メモリに再保存されてしまい、復電時又は
次回の電源オン時に不揮発性メモリから他の記憶媒体に
不定値のデータが読み出され、結果的に誤った保護演算
を起こしてしまう。In this data protection method, when a power-off operation or power failure occurs immediately after the power supply of the device is turned on, that is, when a power failure occurs while data stored in the non-volatile memory is being read to another storage device due to the power-on. When the power is turned off or the power is turned off, the undefined data is re-saved from another storage device to the non-volatile memory, and is restored from the non-volatile memory to the other storage medium when the power is restored or at the next power-on. Data is read, resulting in an incorrect protection operation.
【0007】本発明の目的は、装置電源がオン直後にオ
フ状態になったときにも確実にデータ保護を行うことが
できるディジタル形保護継電装置を提供することにあ
る。SUMMARY OF THE INVENTION It is an object of the present invention to provide a digital protection relay capable of reliably protecting data even when the power of the device is turned off immediately after being turned on.
【0008】[0008]
【課題を解決するための手段】本発明は、装置電源オン
で不揮発性メモリから他の記憶媒体にデータを読み出す
処理が完了したか否かをチェックすることにより、電源
オフ時に不揮発性メモリに不定値が保存されるのを無く
すようにしたものであり、以下の方式を特徴とする。SUMMARY OF THE INVENTION The present invention checks whether or not the process of reading data from a non-volatile memory to another storage medium is completed when the power of the device is turned on. It is designed to prevent the value from being stored, and is characterized by the following method.
【0009】装置電源の停電又は電源オフ操作時にコン
ピュータに割り込みをかけ、記憶媒体のデータを不揮発
性メモリに保存し、復電時又は電源オン操作時に前記不
揮発性メモリの保存データを前記記憶媒体に読み出して
保護演算を行うディジタル形保護継電装置において、前
記不揮発性メモリの保存データを前記記憶媒体に読み込
み完了時にキーワードを該記憶媒体に書込んでおき、前
記記憶媒体のデータを前記不揮発性メモリに保存すると
きに前記キーワードがあらかじめ設定する値に一致する
ときのみ保存する手段を備えたことを特徴とする。When a power failure or power off operation of the apparatus power supply is performed, the computer is interrupted, data in a storage medium is stored in a non-volatile memory, and when power is restored or a power on operation is performed, the data stored in the non-volatile memory is stored in the storage medium. In a digital protection relay device for performing a protection operation by reading, a keyword is written into the storage medium when the data stored in the nonvolatile memory is completely read into the storage medium, and the data in the storage medium is stored in the nonvolatile memory. Means for saving only when the keyword matches a value set in advance.
【0010】[0010]
【発明の実施の形態】図1は、本発明の実施形態を示す
データ保護処理機能の処理手順である。図2の構成にお
いて、装置電源の復電又はオン操作では、不揮発性メモ
リになるEEPROM13に保存するデータを他の記憶
媒体になるRAM12やCPUのレジスタに読み込み
(S1)、この読み込みが完了したときに他の記憶媒体
になるRAM12等に読み込み完了を意味付けるキーワ
ード(例えば、1234H)を書込む(S2)。FIG. 1 shows a processing procedure of a data protection processing function according to an embodiment of the present invention. In the configuration of FIG. 2, in the power recovery or on operation of the device power supply, read in RAM1 of 2 or CPU registers comprising the data to be stored in EEPROM 1 3 comprising the non-volatile memory to another storage medium (S1), this reading is completed Then, a keyword (for example, 1234H) indicating completion of reading is written into the RAM 12 or the like serving as another storage medium (S2).
【0011】この状態でコンピュータ1は保護演算を開
始し、保護演算途中で装置電源6が停電発生又はオフ操
作されたとき、電源オフによるCPUへの割込み処理を
起動し(S3)、処理S2で書込んでおいたキーワード
があらかじめ設定した値と一致するか否かをチェックす
る(S4)。In this state, the computer 1 starts the protection operation, and when a power failure occurs or is turned off during the protection operation, the computer 1 starts an interruption process to the CPU due to the power off (S3). It is checked whether the written keyword matches a preset value (S4).
【0012】このチェックでキーワードが同一の場合、
他の記憶媒体に保存するデータをEEPROMへ保存す
る(S5)。また、キーワードが同一でない場合には処
理S5を行うことなく、割込み処理を終了する。If the check shows that the keywords are the same,
The data to be stored in another storage medium is stored in the EEPROM (S5). If the keywords are not the same, the interrupt processing ends without performing the processing S5.
【0013】以上までの処理により、装置電源のオン時
に実行するEEPROMから他の記憶媒体へのデータ書
込みが完了したか否かをキーワードとして保存しておく
ことにより、その後の停電や電源オフ操作時に所定のキ
ーワードが保存されている場合には正規のデータが他の
記憶媒体に保存されているとしてこれを不揮発性メモリ
に保存し、次回の電源オンに備える。According to the above processing, whether or not data writing from the EEPROM to another storage medium, which is executed when the apparatus power is turned on, is completed is stored as a keyword, so that it can be used during a subsequent power failure or power off operation. When the predetermined keyword is stored, it is determined that the regular data is stored in another storage medium, and the data is stored in the non-volatile memory to prepare for the next power-on.
【0014】したがって、電源オンの直後に電源オフ状
態になる場合に不揮発性メモリに不定値が書込まれるの
を防止できる。Therefore, when the power is turned off immediately after the power is turned on, it is possible to prevent an indefinite value from being written to the nonvolatile memory.
【0015】[0015]
【発明の効果】以上のとおり、本発明によれば、装置電
源オンで不揮発性メモリから他の記憶媒体にデータを読
み出す処理が完了したか否かをチェックすることによ
り、電源オフ時に不揮発性メモリに不定値が保存される
のを無くすようにしたため、電源オン直後にオフ状態に
なる場合にも不揮発性メモリに不定値が書込まれるのを
防止でき、瞬時停電時等に誤ったデータによる誤った保
護動作を確実に防止できる効果がある。As described above, according to the present invention, by checking whether or not the process of reading data from the nonvolatile memory to another storage medium has been completed when the power of the device is turned on, the nonvolatile memory is turned off when the power is turned off. In the case that the power is turned off immediately after the power is turned on, it is possible to prevent the writing of the indefinite value to the nonvolatile memory even when the power is turned off. This has the effect of reliably preventing the protection operation.
【図1】本発明の実施形態を示すデータ保護処理手順
図。FIG. 1 is a data protection processing procedure diagram showing an embodiment of the present invention.
【図2】ディジタル形保護継電装置の構成図。FIG. 2 is a configuration diagram of a digital protection relay device.
1…コンピュータ 11…CPU 12…RAM 13…EEPROM(不揮発性メモリ) 2〜5…入出力装置 6…装置電源1 ... computer 1 1 ... CPU 1 2 ... RAM 1 3 ... EEPROM ( nonvolatile memory) 2-5 ... output device 6 ... unit power
Claims (1)
ンピュータに割り込みをかけ、記憶媒体のデータを不揮
発性メモリに保存し、復電時又は電源オン操作時に前記
不揮発性メモリの保存データを前記記憶媒体に読み出し
て保護演算を行うディジタル形保護継電装置において、 前記不揮発性メモリの保存データを前記記憶媒体に読み
込み完了時にキーワードを該記憶媒体に書込んでおき、
前記記憶媒体のデータを前記不揮発性メモリに保存する
ときに前記キーワードがあらかじめ設定する値に一致す
るときのみ保存する手段を備えたことを特徴とするディ
ジタル形保護継電装置。An interrupt is issued to a computer at the time of a power failure or power-off operation of a device power supply, and data in a storage medium is stored in a non-volatile memory, and the stored data of the non-volatile memory is stored at the time of power recovery or power-on operation. In a digital protection relay device for performing a protection operation by reading out to a medium, when the data stored in the nonvolatile memory is completely read out to the storage medium, a keyword is written to the storage medium,
A digital protection relay device, comprising: means for storing data of the storage medium only when the keyword matches a preset value when storing the data in the nonvolatile memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34699796A JP3465511B2 (en) | 1996-12-26 | 1996-12-26 | Digital protection relay |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34699796A JP3465511B2 (en) | 1996-12-26 | 1996-12-26 | Digital protection relay |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10191547A true JPH10191547A (en) | 1998-07-21 |
JP3465511B2 JP3465511B2 (en) | 2003-11-10 |
Family
ID=18387230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP34699796A Expired - Fee Related JP3465511B2 (en) | 1996-12-26 | 1996-12-26 | Digital protection relay |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3465511B2 (en) |
-
1996
- 1996-12-26 JP JP34699796A patent/JP3465511B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP3465511B2 (en) | 2003-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6819539B1 (en) | Method for circuit recovery from overstress conditions | |
US4419737A (en) | Setting device for protective control system | |
JPH05225067A (en) | Important-memory-information protecting device | |
KR100251381B1 (en) | Apparatas and method for initializing of volatile memory | |
JPH10191547A (en) | Digital type protection relay device | |
JP2006221483A (en) | Digital protection relay device | |
CN114496036A (en) | Overload detection protection method, device, circuit and electronic equipment | |
JPH10105422A (en) | Control circuit of protecting device | |
KR100525537B1 (en) | Applied Program Bungle Detection Apparatus and Method by Interrupt | |
JP2967219B2 (en) | External power supply for digital computer | |
JP3832117B2 (en) | Programmable controller backup data protection method and programmable controller | |
JP2000040037A (en) | Data protective device, data protective method and storage medium | |
JP2005151704A (en) | Digital protective relay | |
JP2504502B2 (en) | Integrated circuit card | |
JPS61265613A (en) | Data processing device | |
JPH02100743A (en) | Electronic equipment | |
JP2751822B2 (en) | Memory control method for FIFO memory device | |
JP2002099357A (en) | Semiconductor device | |
JP3087650B2 (en) | Automatic power recovery method | |
JPH0436426B2 (en) | ||
JPH0527875A (en) | Electronic equipment | |
JPH05233474A (en) | Storage contents protection system | |
JPH0546496A (en) | Memory backup system for cpu | |
JPH07319816A (en) | Method for collecting logging information in cpu system | |
CN114201195A (en) | Firmware refreshing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070829 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080829 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090829 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100829 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100829 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110829 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120829 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130829 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |