JPS6152607B2 - - Google Patents

Info

Publication number
JPS6152607B2
JPS6152607B2 JP54156890A JP15689079A JPS6152607B2 JP S6152607 B2 JPS6152607 B2 JP S6152607B2 JP 54156890 A JP54156890 A JP 54156890A JP 15689079 A JP15689079 A JP 15689079A JP S6152607 B2 JPS6152607 B2 JP S6152607B2
Authority
JP
Japan
Prior art keywords
setting value
setting
area
signal
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.)
Expired
Application number
JP54156890A
Other languages
Japanese (ja)
Other versions
JPS5681023A (en
Inventor
Chihiro Nakajima
Eijiro Iharaki
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP15689079A priority Critical patent/JPS5681023A/en
Publication of JPS5681023A publication Critical patent/JPS5681023A/en
Publication of JPS6152607B2 publication Critical patent/JPS6152607B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Emergency Protection Circuit Devices (AREA)

Description

【発明の詳細な説明】 本発明は電力系統から取込まれるアナログデー
タ信号をA/D変換器でデジタルデータ信号に変
換し、予め定められた整定値を参照してデジタル
データ信号に対して演算処理部で演算を行つて電
力系統の保護を行うデジタル保護継電装置におけ
る整定値の格納方式に関するものである。
Detailed Description of the Invention The present invention converts an analog data signal taken in from a power system into a digital data signal using an A/D converter, and performs calculations on the digital data signal by referring to a predetermined setting value. The present invention relates to a method for storing a set value in a digital protective relay device that performs calculations in a processing unit to protect an electric power system.

デジタル保護継電装置のメモリに格納する整定
値データは、通常書き替えることはまれで、実質
的には読み出しのみであるが、保護演算処理の参
照データであるから、装置が何等かの原因で電源
断の場合にも当該整定値データが損なわれないよ
うに設定されなければならない。従つて、整定値
データの格納メモリを、消去・書き替え可能なリ
ードオンリメモリEPROM(ERASABLE
PROGRAMMABLE READ ONLY MEMOLY)
で構成することが考えられる。しかしながら、そ
う頻繁ではないにしても、1年に4回程度は整定
値を書き替える必要があり、EPROMの消去・書
き込みのために付加装置を設けなければならな
い。また、EPROMの消去・書き込みの操作はか
なり煩雑であり、しかも書き込み回数の制限があ
るなどの欠点がある。このため、整定値データ格
納用メモリとして、不揮発性RAM(ランダムア
クセスメモリ)やコアメモリを用いると、上述の
EPROMの欠点は是正されるが、プログラムのミ
スなどによつて整定値データを書き替えたことに
気付かず保護演算を実行して誤判定を行つてしま
うおそれもある。
The set value data stored in the memory of the digital protection relay device is normally rarely rewritten and can only be read out in practice, but since it is reference data for protection calculation processing, if the device is damaged for some reason. Settings must be made so that the set value data is not lost even in the event of a power outage. Therefore, the storage memory for setting value data is a read-only memory EPROM (ERASABLE) that can be erased and rewritten.
PROGRAMMABLE READ ONLY MEMOLY)
It is conceivable to consist of However, it is necessary to rewrite the set values about four times a year, although not very often, and an additional device must be provided for erasing and writing to the EPROM. Further, there are disadvantages such as the operation of erasing and writing to EPROM is quite complicated and there is a limit to the number of times of writing. Therefore, if non-volatile RAM (random access memory) or core memory is used as the memory for storing set value data, the above-mentioned problem will occur.
Although the shortcomings of EPROM can be corrected, there is a risk that due to a programming error or the like, a protection operation may be executed without realizing that the set value data has been rewritten, resulting in an erroneous judgment.

本発明の目的は、上述の欠点を除去し、整定値
をRAMに格納しておき、このRAMを通常は読み
出し専用のメモリとして用い、新たな整定値の書
込みが必要になつたときのみ本来のRAMとして
使用するデジタル保護継電装置の整定値格納方式
を提供することにある。
The object of the present invention is to eliminate the above-mentioned drawbacks and to store the set values in a RAM, which is normally used as a read-only memory and only when it is necessary to write a new set value can the original set values be stored. The object of the present invention is to provide a method for storing a set value of a digital protective relay device used as a RAM.

本発明は、電力系統から取り込まれるアナログ
データ信号をA/D変換器でデジタルデータ信号
に変換し、予め定められた整定値を参照して演算
処理部で前記デジタルデータ信号に対して前記電
力系統の保護演算を行うデジタル保護継電装置に
おいて、前記整定値をRAMに格納しておき、整
定値設定部から前記RAMにおける前記整定値の
格納領域を指定するアドレス信号と新たな整定値
の設定要求信号が送出されたときのみ、前記整定
値設定部に前記新たな整定値の書き込みを許可
し、それ以外のときは前記格納領域を実質的に
ROMとして取り扱いうるようにメモリ制御部で
制御することを特徴とするものである。
The present invention converts an analog data signal taken in from a power grid into a digital data signal using an A/D converter, and uses a processing unit to convert the digital data signal into a digital data signal by referring to a predetermined setting value. In a digital protection relay device that performs protection calculations, the set value is stored in RAM, and an address signal that specifies a storage area of the set value in the RAM and a request for setting a new set value are sent from the set value setting section. Only when a signal is sent, the setting value setting unit is allowed to write the new setting value, and at other times, the storage area is substantially
It is characterized by being controlled by a memory control unit so that it can be handled as a ROM.

以下図面を参照して本発明を詳細に説明する。 The present invention will be described in detail below with reference to the drawings.

第1図は本発明のデジタル保護継電装置の構成
の一例を示す要部ブロツク図である。このデジタ
ル保護継電装置は、演算処理部(cpu)11、メ
モリ12、アナログ入力カード13、デジタル入
力カード14および整定値設定部15を有し、そ
れぞれ内部バス16で接続されている。ここで、
メモリ12は不揮発性RAMあるいはコアメモリ
で構成され、またアナログ入力カード13は電力
系統から取込んだ電圧・電流値のアナログデータ
信号をデジタルデータ信号に変換するA/D変換
器を有している。そして、アナログ入力カード1
3でデジタル信号に変換された電力系統のデータ
について、演算処理部11がメモリ12における
作業領域や整定値データ領域の所定のデータを参
照して保護演算を実行する。しかし、整定値設定
部15から設定要求信号と新たな整定値データが
それぞれ信号線17,18とデジタル入力カード
14を介して送信されると、そのタイミングで演
算処理部11が保護演算処理の空き時間を利用し
て、新たな整定値データを読み込み、保護演算に
用いる所定の整定値定数に変換し、メモリ12の
整定値データ領域に格納する。
FIG. 1 is a main part block diagram showing an example of the configuration of a digital protective relay device according to the present invention. This digital protective relay device includes a processing unit (CPU) 11, a memory 12, an analog input card 13, a digital input card 14, and a setting value setting unit 15, which are connected to each other by an internal bus 16. here,
The memory 12 is composed of non-volatile RAM or core memory, and the analog input card 13 has an A/D converter that converts analog data signals of voltage and current values taken in from the power system into digital data signals. . And analog input card 1
The arithmetic processing unit 11 performs a protection operation on the power system data converted into a digital signal in Step 3 by referring to predetermined data in the work area and the set value data area in the memory 12. However, when the setting request signal and new setting value data are transmitted from the setting value setting unit 15 via the signal lines 17 and 18 and the digital input card 14, the arithmetic processing unit 11 at that timing Using the time, new setting value data is read, converted into a predetermined setting value constant used for protection calculation, and stored in the setting value data area of the memory 12.

メモリ12は、第2図に示すように、作業領域
21、整定値データ領域22およびプログラム領
域23に分けられる。作業領域は、プログラム制
御や演算処理過程で必要となるデータを一時的に
格納するもので、RAM領域である。整定値デー
タ領域は、保護演算処理の際に参照される整定値
定数を格納する領域であり、通常はROM領域で
あるが、新たな整定値を書き込むときのみRAM
領域となるようメモリ制御部で制御される。プロ
グラム領域はROM領域である。
The memory 12 is divided into a work area 21, a set value data area 22, and a program area 23, as shown in FIG. The work area is a RAM area that temporarily stores data required for program control and arithmetic processing. The setting value data area is an area that stores setting value constants that are referenced during protection calculation processing, and is normally a ROM area, but only when writing a new setting value is it stored in RAM.
It is controlled by the memory control unit so that it becomes an area. The program area is a ROM area.

次に、メモリ12へのデータの書き込みは、第
3図に示すように、CPU11からメモリチツプ
30のデータ線33にデータを出力し、アドレス
線32にアドレスを出力したのち、信号線31を
介して書き込み許可信号を送出することにより実
行される。
Next, to write data to the memory 12, as shown in FIG. This is executed by sending a write permission signal.

いま、メモリ12の容量を例えば4kW
(2BYTE/1WORD)とし、メモリ空間を作業領
域21と整定値データ領域22にそれぞれ
0.5kW、プログラム領域に3kWを割り当てるもの
とする。そして、各領域のアドレスを16進数で表
現すると、作業領域21はX000〜X1FF、整定値
データ領域はX200〜X3FF、さらにプログラム領
域はX400〜XFFFとなる。ここで、Xは16進数
であることを示す記号である。前述のメモリ領域
を指定するアドレス線のうち、4本のアドレス信
号線により2進化16進法の16進数の1桁を表わし
うるから、アドレス信号線12本で全てのメモリ領
域を指定することができる。
Now, set the capacity of memory 12 to 4kW, for example.
(2BYTE/1WORD), and the memory space is divided into work area 21 and setting value data area 22.
0.5kW and 3kW shall be allocated to the program area. When the addresses of each area are expressed in hexadecimal numbers, the work area 21 is X000 to X1FF, the setting value data area is X200 to X3FF, and the program area is X400 to XFFF. Here, X is a symbol indicating a hexadecimal number. Of the address lines that specify the memory areas mentioned above, four address signal lines can represent one hexadecimal digit of the binary coded hexadecimal system, so all memory areas can be specified with 12 address signal lines. can.

しかし、各領域の区別は、そのアドレスの最上
位桁で指定でき、作業領域はX0またはX1、整定
値データ領域はX2またはX3、それ以外はプログ
ラム領域となる。そこで、アドレスの最上位桁を
表わす4本のアドレス信号線が領域を識別するた
めに使用されうるのであるが、プログラム領域以
外の領域が識別できれば書き込みの制御ができる
から、これら4本のアドレス信号線のうち、さら
に上位3桁までのアドレス信号を使用すればよ
い。すなわち、アドレスの最上位桁に対応する4
本のアドレス信号線の出力を、そのうちの最上位
桁から(A0,A1,A2,A3)とすると、作業領
域を示すX0,X1は、それぞれ(0,0,0,
0),(0,0,0,1)となり、また整定値デー
タ領域を示すX2,X3は、それぞれ(0,0,
1,0),(0,0,1,1)となるが、プログラ
ム領域を示すX4〜XFは、(0,1,0,0)〜
(1,1,1,1)となることから、アドレス信
号(A0,A1,A2,A3)のうち、(A0,A1,
A2)の信号のみで、プログラム領域(ROM領
域)かどうかを識別することができる。すなわ
ち、アドレス信号(A0,A1,A2)が(0,0,
0)となると作業領域のX0もしくはX1を示し、
(0,0,1)であれば、整定値データ領域のX2
もしくはX3を示し、(0,1,0)〜(1,1,
1)であればプログラム領域のX4〜XFを示すこ
とがわかる。
However, each area can be distinguished by the most significant digit of its address; the work area is X0 or X1, the setting value data area is X2 or X3, and the other areas are program areas. Therefore, the four address signal lines representing the most significant digit of the address can be used to identify the area, but if areas other than the program area can be identified, writing can be controlled, so these four address signal lines It is sufficient to use address signals of up to the most significant three digits among the lines. That is, 4 corresponding to the most significant digit of the address.
If the output of the address signal line of the book is (A0, A1, A2, A3) from the most significant digit, then X0, X1 indicating the work area are (0, 0, 0,
0), (0, 0, 0, 1), and X2 and X3 indicating the setting value data area are (0, 0, 1), respectively.
1,0), (0,0,1,1), but X4 to XF indicating the program area are (0,1,0,0) to
(1, 1, 1, 1), so among the address signals (A0, A1, A2, A3), (A0, A1,
A2) signal alone can identify whether it is a program area (ROM area) or not. That is, the address signals (A0, A1, A2) are (0, 0,
0) indicates X0 or X1 of the work area,
If (0, 0, 1), X2 in the setting value data area
Or indicate X3, (0, 1, 0) ~ (1, 1,
1) indicates the program area X4 to XF.

第4図はメモリ制御部の論理回路の構成例であ
る。このメモリ制御部は、ノアゲート48、イン
バータ49、アンドゲート50,52、オアゲー
ト51および排他的オアゲート53からなる。上
述したアドレス信号(A0,A1,A2)は、それぞ
れ信号線41,42,43に供給され、また整定
値設定部15(第1図参照)からの設定要求信号
は信号線44に供給される。さらに、演算処理部
11から送出される書き込み要求信号は信号線4
5に供給される。
FIG. 4 shows an example of the configuration of the logic circuit of the memory control section. This memory control section consists of a NOR gate 48, an inverter 49, AND gates 50 and 52, an OR gate 51, and an exclusive OR gate 53. The above-mentioned address signals (A0, A1, A2) are supplied to signal lines 41, 42, and 43, respectively, and a setting request signal from the setting value setting section 15 (see FIG. 1) is supplied to a signal line 44. . Furthermore, the write request signal sent from the arithmetic processing unit 11 is transmitted to the signal line 4.
5.

いま、作業領域21へデータを書き込むものと
すれば、アドレス信号(A0,A1,A2)は必ず
(0,0,0)となるから、(A0,A1)によるノ
アゲート48の出力は“1”となり、(A2)はイ
ンバータ49で反転されるからオアゲート51の
出力は“1”となる。そして、書き込み要求信号
は“1”であるから、アンドゲート52の出力は
“1”となり、これが書き込み許可信号として信
号線46を介してメモリチツプ30の書き込み許
可信号31へ供給される。
Now, if we write data to the work area 21, the address signals (A0, A1, A2) will always be (0, 0, 0), so the output of the NOR gate 48 due to (A0, A1) will be "1". Since (A2) is inverted by the inverter 49, the output of the OR gate 51 becomes "1". Since the write request signal is "1", the output of the AND gate 52 becomes "1", which is supplied as a write permission signal to the write permission signal 31 of the memory chip 30 via the signal line 46.

また、新しい整定値を整定値データ領域22に
格納するときには、アドレス信号(A0,A1,
A2)は(0,0,1)となり、設定要求信号と
書き込み要求信号がいずれも“1”となる。従つ
て、ノアゲート48の出力が“1”、アンドゲー
ト50の出力が“1”となつて、アンドゲート5
2の出力も“1”となり、書き込み許可信号が信
号線46を介してメモリチツプ30の書き込み許
可信号31へ供給される。ところが、誤つて整定
値データ領域22に書き込み要求があつた場合に
は、設定要求信号が“0”のままであり、従つて
アンドゲート50から“1”が出力されないか
ら、アンドゲート52の出力が“0”となる。こ
のとき、書き込み要求信号は“1”となつている
から、排他的オアゲート53の出力は“1”とな
り、信号線47に異常信号として供給され、書き
込み許可信号はロツクされる。
Furthermore, when storing a new setting value in the setting value data area 22, address signals (A0, A1,
A2) becomes (0, 0, 1), and both the setting request signal and write request signal become "1". Therefore, the output of the NOR gate 48 becomes "1", the output of the AND gate 50 becomes "1", and the AND gate 5
The output of the memory chip 2 also becomes "1", and the write permission signal is supplied to the write permission signal 31 of the memory chip 30 via the signal line 46. However, if a write request is made to the setting value data area 22 by mistake, the setting request signal remains "0" and therefore "1" is not output from the AND gate 50. becomes “0”. At this time, since the write request signal is "1", the output of the exclusive OR gate 53 becomes "1", which is supplied to the signal line 47 as an abnormal signal, and the write permission signal is locked.

さらに、プログラム領域23に誤つて書き込み
要求があつた場合、プログラム領域23は読み出
し専用のROM領域であるから、排他的オアゲー
ト53から異常信号が信号線47に供給され、書
き込み許可信号はロツクされなければならない。
この場合には、アンドゲート52の少くとも1入
力は“0”となり、その出力は“0”となつて、
書き込み要求信号が“1”となるから、排他的オ
アゲート53の出力は“1”となり、書き込み許
可信号がロツクされる。このようにして、排他的
オアゲート53から異常信号が出力されることに
より、外部表示機能や保護演算機能のフエイルセ
ーフを達成できる。
Furthermore, if a write request is made to the program area 23 by mistake, since the program area 23 is a read-only ROM area, an abnormal signal is supplied from the exclusive OR gate 53 to the signal line 47, and the write permission signal must be locked. Must be.
In this case, at least one input of the AND gate 52 becomes "0", and its output becomes "0".
Since the write request signal becomes "1", the output of the exclusive OR gate 53 becomes "1" and the write permission signal is locked. In this way, by outputting an abnormal signal from the exclusive OR gate 53, fail-safe of the external display function and the protection calculation function can be achieved.

上述したように、本発明によれば、アドレス信
号と整定値設定要求信号により整定値データ領域
の書き込み許可信号を制御しているから、本来
RAMの一領域である整定値データ領域をROM領
域として使用し、新たな整定値の設定要求があつ
たときのみ本来のRAMとして使用することがで
き、整定値データの信頼性の確保および異常時の
フエイルセーフ機能の充実を図れるという効果が
ある。
As described above, according to the present invention, since the write permission signal of the setting value data area is controlled by the address signal and the setting value setting request signal, it is possible to
The setting value data area, which is an area of RAM, is used as a ROM area, and can be used as the original RAM only when a new setting value setting request is received. This has the effect of enhancing the fail-safe function of the system.

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

第1図は本発明を適用するデジタル保護継電装
置の要部ブロツク図、第2図は第1図におけるメ
モリの領域を示す図、第3図はそのメモリのブロ
ツク図、第4図は本発明による整定値格納方式に
使用するメモリ制御部の構成の一例を示す論理回
路図である。 11……演算処理部、12……メモリ、13…
…アナログ入力カード、14……デジタル入力カ
ード、15……整定値設定部、21……作業領
域、22……整定値データ領域、24……プログ
ラム領域、30……メモリチツプ、31……書き
込み許可信号線、32……アドレス信号線、33
……データ信号線、41〜43……アドレス信号
線、44……設定要求信号線、45……書き込み
要求信号線、46……書き込み許可信号線、47
……異常信号線、48……ノアゲート、49……
インバータ、50,52……アンドゲート、53
……排他的オアゲート。
FIG. 1 is a block diagram of the main parts of a digital protective relay device to which the present invention is applied, FIG. 2 is a diagram showing the memory area in FIG. 1, FIG. 3 is a block diagram of the memory, and FIG. FIG. 2 is a logic circuit diagram showing an example of the configuration of a memory control section used in the set value storage method according to the invention. 11... Arithmetic processing unit, 12... Memory, 13...
...Analog input card, 14...Digital input card, 15...Setting value setting section, 21...Working area, 22...Setting value data area, 24...Program area, 30...Memory chip, 31...Writing permission Signal line, 32...Address signal line, 33
...Data signal line, 41-43...Address signal line, 44...Setting request signal line, 45...Write request signal line, 46...Write permission signal line, 47
...Abnormal signal line, 48...Noah Gate, 49...
Inverter, 50, 52...and gate, 53
...Exclusive or gate.

Claims (1)

【特許請求の範囲】[Claims] 1 電力系統から取り込まれるアナログデータ信
号をA/D変換器でデジタルデータ信号に変換
し、予め定められた整定値を参照して演算処理部
で前記デジタルデータ信号に対して前記電力系統
の保護演算を行うデジタル保護継電装置におい
て、前記整定値をRAMに格納しておき、整定値
設定部から前記RAMにおける前記整定値の格納
領域を指定するアドレス信号と新たな整定値の設
定要求信号が送出されたときのみ、前記整定値設
定部に前記新たな整定値の書き込みを許可し、そ
れ以外のときは前記格納領域を実質的にROMと
して取り扱いうるようにメモリ制御部で制御する
ことを特徴とするデジタル保護継電装置の整定値
格納方式。
1. An analog data signal taken in from the power grid is converted into a digital data signal by an A/D converter, and an arithmetic processing unit performs a protection calculation for the power grid on the digital data signal with reference to a predetermined setting value. In the digital protective relay device, the set value is stored in a RAM, and an address signal specifying a storage area of the set value in the RAM and a request signal for setting a new set value are sent from the set value setting section. The storage area may be controlled by a memory control unit so that the setting value setting unit is permitted to write the new setting value only when the setting value is set, and the storage area is substantially treated as a ROM at other times. Setting value storage method for digital protective relay devices.
JP15689079A 1979-12-05 1979-12-05 Set value storage system for digital protection relay Granted JPS5681023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15689079A JPS5681023A (en) 1979-12-05 1979-12-05 Set value storage system for digital protection relay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15689079A JPS5681023A (en) 1979-12-05 1979-12-05 Set value storage system for digital protection relay

Publications (2)

Publication Number Publication Date
JPS5681023A JPS5681023A (en) 1981-07-02
JPS6152607B2 true JPS6152607B2 (en) 1986-11-14

Family

ID=15637623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15689079A Granted JPS5681023A (en) 1979-12-05 1979-12-05 Set value storage system for digital protection relay

Country Status (1)

Country Link
JP (1) JPS5681023A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6157767U (en) * 1984-09-19 1986-04-18

Also Published As

Publication number Publication date
JPS5681023A (en) 1981-07-02

Similar Documents

Publication Publication Date Title
US4517663A (en) Method of rewriting data in non-volatile memory, and system therefor
KR100531192B1 (en) Non-volatile memory control method
US4332009A (en) Memory protection system
US4631671A (en) Data processing system capable of transferring single-byte and double-byte data under DMA control
US3594732A (en) General purpose digital computer
KR930022379A (en) Memory card device
JPS6258207B2 (en)
US4447887A (en) Method of rewriting data in non-volatile memory, and system therefor
JPS6152607B2 (en)
JPS61227300A (en) Writing method to electrically changeable rom
JP2651217B2 (en) IC card
JPH06180674A (en) Data storage device
JPH022435A (en) Semiconductor non-volatile memory device
JPS5953586B2 (en) Logout control device
JPH01232452A (en) One-chip processor
JPS5958699A (en) Data storage system of nonvolatile ram
JPH0731440Y2 (en) EEPROM control device
JPS646600B2 (en)
JPH01213733A (en) Memory write control circuit
JPS6336349A (en) Preventing circuit for memory writing in microprocessor
JPH0344894A (en) Semiconductor non-volatile memory device
JP2581057B2 (en) Evaluation microcomputer
JPS6125259A (en) Rewriting control system of memory
JPS6124737B2 (en)
JPH06150673A (en) Access controller for nonvolatile memory