JP2002051447A - Digital type protection relay - Google Patents

Digital type protection relay

Info

Publication number
JP2002051447A
JP2002051447A JP2000235185A JP2000235185A JP2002051447A JP 2002051447 A JP2002051447 A JP 2002051447A JP 2000235185 A JP2000235185 A JP 2000235185A JP 2000235185 A JP2000235185 A JP 2000235185A JP 2002051447 A JP2002051447 A JP 2002051447A
Authority
JP
Japan
Prior art keywords
program
operation determination
determination program
protection relay
terminal device
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
JP2000235185A
Other languages
Japanese (ja)
Inventor
Mika Adachi
未花 安達
Naoyoshi Yamanaka
直義 山中
Tomoyuki Kawasaki
智之 川崎
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
Toshiba System Technology Corp
Original Assignee
Toshiba Corp
Toshiba System Technology 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, Toshiba System Technology Corp filed Critical Toshiba Corp
Priority to JP2000235185A priority Critical patent/JP2002051447A/en
Publication of JP2002051447A publication Critical patent/JP2002051447A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To assure a short period of time for updating a program by removing a memory in order to update the program which has been once stored in an existing digital type protection relay. SOLUTION: The digital type protection relay comprises an input circuit 2, including an analog/digital converter for converting an input current/voltage of a power system into a digital value after sampling hold of a value with the prescribed sampling frequency, an arithmetic processing circuit 3 for executing the prescribed arithmetic processings to the digital signal outputted from this input circuit 2 using an operation decision program; and a memory device 4 for storing various programs, including the operation decision program and an output circuit 5 for receiving the arithmetic processings result from the arithmetic processing circuit 3 and then outputting the result to external circuits. Therefore, the memory device 4 can store, in addition to the operation judging program, a monitor program for deciding the true or false state of the operation program, with sum check and the operation judgment is stopped, when the monitor program detects a fault in the operation decision program.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電力系統の事故を
検出するディジタル形保護継電器に係り、特に動作判定
プログラムを監視する監視プログラムを備えたディジタ
ル形保護継電器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital protection relay for detecting an accident in a power system, and more particularly to a digital protection relay provided with a monitoring program for monitoring an operation determination program.

【0002】[0002]

【従来の技術】従来のディジタル形保護継電器は第14
図で示すように、入力電流、電圧を所定のレベルに変換
した後ディジタル値に変換して出力する入力回路2と、
そのディジタル信号を入力し所定の演算処理を行う演算
処理回路3と、動作判定プログラム4−1を記憶してお
くメモリ11と、演算処理回路3の判定を受けて外部に
出力をする出力回路5と継電器外部とシリアルにデータ
送受信を行うためのシリアルインプット/アウトプット
回路(以下、SIO回路と呼ぶ)6と、このSIO回路
6を継電器外部の外部端末装置8に接続するためのシリ
アルインタフェースと7とから構成されていた。
2. Description of the Related Art A conventional digital protection relay is a fourteenth type.
As shown in the figure, an input circuit 2 converts an input current and a voltage to a predetermined level, and then converts the input current and voltage to a digital value and outputs the digital value.
An arithmetic processing circuit 3 for inputting the digital signal and performing predetermined arithmetic processing; a memory 11 for storing an operation determination program 4-1; and an output circuit 5 for receiving the determination of the arithmetic processing circuit 3 and outputting to the outside A serial input / output circuit (hereinafter referred to as an SIO circuit) 6 for serially transmitting and receiving data to and from the outside of the relay, and a serial interface 7 for connecting the SIO circuit 6 to an external terminal device 8 outside the relay. And was composed of

【0003】従来のディジタル形保護継電器では、プロ
グラム領域を分割して一部を書き込むことができないた
め、一度書き込んだプログラムを書き換えるには動作判
定プログラムを記憶しているメモリ装置11を取り外さ
なければならなかった。
In the conventional digital protection relay, since the program area cannot be divided and partially written, in order to rewrite the program once written, the memory device 11 storing the operation determination program must be removed. Did not.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
のディジタル形保護継電器では、一度書き込んだプログ
ラムを容易には書き換えることができず、更に、プログ
ラムを変更する場合にメモリを取り外さなければならな
かったので、プログラムを書き換えるまでの時間がかか
り不便であった。
As described above, in the conventional digital protection relay, the program once written cannot be easily rewritten, and the memory must be removed when changing the program. Since it did not exist, it took time to rewrite the program, which was inconvenient.

【0005】本発明は、動作判定プログラムの他にプロ
グラムを監視する監視プログラムを設け、これらのプロ
グラムを記憶させるメモリを別個のプログラム領域に分
けて一部を書き換えることを可能とすることにより、メ
モリを取り外さず容易にプログラムを書き換えることが
できるディジタル形保護継電器を提供することを目的と
する。
According to the present invention, a monitoring program for monitoring programs is provided in addition to the operation determining program, and a memory for storing these programs is divided into separate program areas so that a part thereof can be rewritten. It is an object of the present invention to provide a digital protection relay capable of easily rewriting a program without removing the protection relay.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1に係る発明は、入力電流・電圧を保護継
電器で処理するのに適した大きさに変換する入力変換器
および所定のサンプリング周波数でサンプルホールドし
たアナログ値をディジタル値に変換するアナログディジ
タル変換器を含む入力回路と、この入力回路から出力さ
れたディジタル信号を継電器の動作判定に必要な動作判
定プログラムを用いて所定の演算処理を行う演算処理回
路と、前記動作判定プログラムを含む各種プログラムを
記憶しておくメモリ装置と、前記演算処理回路の演算処
理結果を受け、外部に出力する出力回路とからなるディ
ジタル形保護継電器において、前記メモリ装置には、前
記動作判定プログラムの他に、この動作判定プログラム
を監視する監視プログラムを記憶させ、この監視プログ
ラムが動作判定プログラムの異常を検出した場合、動作
判定を中止するようにしたものである。
In order to achieve the above object, an invention according to claim 1 is an input converter for converting an input current / voltage into a size suitable for processing by a protective relay and a predetermined voltage. An input circuit including an analog-to-digital converter that converts an analog value sampled and held at a sampling frequency into a digital value, and a digital signal output from the input circuit is converted into a predetermined value using an operation determination program necessary for determining the operation of the relay. A digital protection relay comprising: an arithmetic processing circuit for performing arithmetic processing; a memory device for storing various programs including the operation determination program; and an output circuit for receiving an arithmetic processing result of the arithmetic processing circuit and outputting the result to the outside. In the memory device, in addition to the operation determination program, a monitoring program for monitoring the operation determination program Stores the grams, if this monitoring program detects the abnormality of the operation determination program, in which so as to stop the operation determination.

【0007】また、請求項2に係る発明は、継電器外部
とシリアルにデータ送受信を行うためのシリアルインプ
ット/アウトプット回路と、このシリアルインプット/
アウトプット回路を継電器外部の外部端末装置に接続す
るためのシリアルインタフェースを設け、前記外部端末
装置から送信されたデータを動作判定プログラムが受信
した場合、動作判定を中止するかわりに動作判定プログ
ラムを書き換えるようにしたものである。
According to a second aspect of the present invention, there is provided a serial input / output circuit for serially transmitting and receiving data to and from the outside of a relay,
A serial interface for connecting the output circuit to an external terminal device outside the relay is provided, and when the operation determination program receives data transmitted from the external terminal device, the operation determination program is rewritten instead of stopping the operation determination. It is like that.

【0008】また、請求項3に係る発明は、動作判定プ
ログラムの書き換え履歴として動作判定プログラムの名
前を示すプログラム形式と、動作判定プログラムを示す
固有の値と、書き換え日時とを動作判定プログラム上に
保存するようにしたものである。
According to a third aspect of the present invention, a program format indicating the name of the operation determination program as a rewrite history of the operation determination program, a unique value indicating the operation determination program, and a rewrite date and time are stored in the operation determination program. It is intended to be saved.

【0009】また、請求項4に係る発明は、前記外部端
末装置より動作判定プログラムを書き換える際に、既存
の動作判定プログラムのプログラム形式を、前記外部端
末装置から入力し、入力したデータが予め動作判定プロ
グラムに書き込まれているプログラム形式と一致した場
合のみ、動作判定プログラムを書き換えるようにしたも
のである。
According to a fourth aspect of the present invention, when the operation determination program is rewritten from the external terminal device, a program format of an existing operation determination program is input from the external terminal device, and the input data is operated in advance. The operation determination program is rewritten only when the program format matches the program format written in the determination program.

【0010】また、請求項5に係る発明は、前記外部端
末装置より動作判定プログラムを書き換える際に、動作
判定プログラムに関連するドキュメント番号を入力する
ことによって動作判定プログラムの書き換えを許可し、
一度入力したドキュメント番号を外部前記端末装置から
読み込むようにしたものである。
According to a fifth aspect of the present invention, when rewriting the operation determination program from the external terminal device, the rewriting of the operation determination program is permitted by inputting a document number related to the operation determination program,
The document number once input is read from the external terminal device.

【0011】また、請求項6に係る発明は、前記外部端
末装置より動作判定プログラムを書き換える際に、書き
換えるプログラムを前記外部端末装置より転送する前
に、既存の動作判定プログラムを前記外部端末装置の記
憶媒体に転送し、既存のプログラムと転送したプログラ
ムを比較し、結果に違いがなかった場合のみ、動作判定
プログラムを書き換えるようにしたものである。
According to a sixth aspect of the present invention, when the operation determination program is rewritten from the external terminal device, an existing operation determination program is transferred to the external terminal device before the rewritten program is transferred from the external terminal device. The program is transferred to a storage medium, the existing program is compared with the transferred program, and the operation determination program is rewritten only when there is no difference in the result.

【0012】また、請求項7に係る発明は、前記外部端
末装置より動作判定プログラムを書き換える際に、書き
換えるプログラムを前記外部端末装置から転送する前
に、外部端末装置にてウィルスチェックを実施し、ウィ
ルスチェック結果を端末装置から動作判定プログラムに
送信し、動作判定プログラムにてウィルスチェック結果
が正常であるか異常であるかの判断を実施し、正常であ
った場合のみ動作判定プログラムを書き換えるようにし
たものである。
According to a seventh aspect of the present invention, when the external terminal device rewrites the operation determination program, the external terminal device performs a virus check before transferring the rewritten program from the external terminal device, The virus check result is transmitted from the terminal device to the operation determination program, the operation determination program determines whether the virus check result is normal or abnormal, and rewrites the operation determination program only when the result is normal. It was done.

【0013】請求項8に記載の発明は、継電器に接続し
た外部端末装置から動作判定プログラムの書き換えデー
タを受信し、かつ動作判定プログラムについてデータの
書き込みが許可されているかどうかの判断をする手段に
より、ディジタル形保護継電器の電源をOFFすること
により、動作判定プログラムがハードウェアロックの信
号を読み込み、データの書き換えが許可されているかど
うかの判定を実施し、書き換えが許可されている場合の
み、動作判定プログラムを書き換えるようにしたもので
ある。
The invention according to claim 8 is a means for receiving rewriting data of an operation determination program from an external terminal device connected to a relay, and determining whether writing of data in the operation determination program is permitted. By turning off the power of the digital protection relay, the operation determination program reads the hardware lock signal, determines whether or not data rewriting is permitted, and operates only when rewriting is permitted. The judgment program is rewritten.

【0014】請求項9に記載の発明は、継電器に接続し
た外部端末装置から動作判定プログラムの書き換えデー
タを受信し、かつディジタル形保護継電器の設定スイッ
チの状態を読み込み、データの書き換えが許可されてい
るかどうかの判定を実施し、書き換えが許可されている
場合のみ、動作判定プログラムを書き換えるようにした
ものである。
According to a ninth aspect of the present invention, the rewriting data of the operation determination program is received from an external terminal device connected to the relay, and the state of the setting switch of the digital protection relay is read. It is determined whether or not the operation is to be performed, and the operation determination program is rewritten only when rewriting is permitted.

【0015】[0015]

【発明の実施の形態】(第1の実施の形態)(請求項1
対応) 図1は本発明の第1の実施の形態におけるディジタル形
保護継電器のブロック構成図である。図において、1
は、ディジタル形保護継電器である。2以降の符号は、
保護継電器1のハードウエアを機能毎にブロック化して
示しており、2は入力電流・電圧を保護継電器で処理す
るのに適した大きさに変換する入力変換器と、サンプル
ホールドしたアナログ値をディジタル値に変換するアナ
ログディジタル変換器を含む入力回路である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) (Claim 1)
FIG. 1 is a block diagram of a digital protection relay according to the first embodiment of the present invention. In the figure, 1
Is a digital protection relay. The code after 2 is
The hardware of the protection relay 1 is shown divided into blocks for each function. Reference numeral 2 denotes an input converter for converting input current and voltage to a size suitable for processing by the protection relay, and a digital converter for converting the sampled and held analog value into a digital value. This is an input circuit including an analog-to-digital converter that converts the value into a value.

【0016】3はこの入力回路2から出力されたディジ
タル信号を、動作判定プログラム4−1を用いて継電器
の動作判定に必要な所定の演算処理を行うための演算処
理回路である。5は出力回路であり、前記演算処理回路
3の演算処理結果を受けて外部に出力する。
Reference numeral 3 denotes an arithmetic processing circuit for performing predetermined arithmetic processing required for determining the operation of the relay using the operation determination program 4-1 on the digital signal output from the input circuit 2. Reference numeral 5 denotes an output circuit which receives the result of the arithmetic processing by the arithmetic processing circuit 3 and outputs the result to the outside.

【0017】なお、前記動作判定プログラム4−1の中
には保護継電器の種類によって異なるが、通常数種類の
単位継電器あるいは複合継電器(例えば過電流継電器、
過電圧継電器、距離継電器、電流差動継電器)各々の動
作判定プログラムが含まれており、しかもこれら個々に
分離可能な独立したメモリに記憶されている。更に、こ
の動作判定プログラム4−1を監視する監視プログラム
4−2も他のプログラムとは分離独立したROM等のメ
モリに記憶されている。
The operation determining program 4-1 usually includes several types of unit relays or composite relays (for example, an overcurrent relay,
The operation determination program for each of the overvoltage relay, the distance relay, and the current differential relay) is included, and is stored in an independent memory that can be individually separated. Further, a monitoring program 4-2 for monitoring the operation determining program 4-1 is also stored in a memory such as a ROM which is independent from other programs.

【0018】この監視プログラム4−2は、特開平7−
141264号公報で公知の「チェックサム」により、
プログラムの正偽を判定する。すなわち、この監視プロ
グラムは、前記動作判定プログラムを最初に書き込む際
に付加した固有のチェックサム値Aと、前記メモリ領域
のアドレスに記憶されている前記動作判定プログラムに
係るデータの全エリアについての加算値(計算したサム
値B)とが一致する場合(A=B)正常と判断し、不一
致(A≠B)の場合、異常と判断するものである。な
お、本発明では以上述べた動作判定プログラム4−1を
記憶するメモリおよび監視プログラム4−2を記憶する
メモリ全体をメモリ装置4と呼称する。
This monitoring program 4-2 is disclosed in
According to the “checksum” known in JP-A-141264,
Determines whether the program is true or false. That is, the monitoring program adds the unique checksum value A added at the time of writing the operation determination program for the first time to the data of the operation determination program stored in the address of the memory area for all areas. If the value (the calculated sum value B) matches (A = B), it is determined to be normal, and if it does not match (A ≠ B), it is determined to be abnormal. In the present invention, the entire memory storing the above-described operation determination program 4-1 and the entire memory storing the monitoring program 4-2 are referred to as a memory device 4.

【0019】図2は本実施形態を説明するフローチャー
トである。図2において、ステップS1では、前記メモ
リ領域のアドレスに記憶されている前記動作判定プログ
ラムに係るデータの全エリアについてサム値を加算した
かどうかを判定する。前記ステップS1で全てのサム値
を加算していなければ(NO)、ステップS3でデータを
加算しアドレスを更新する。
FIG. 2 is a flowchart for explaining the present embodiment. In FIG. 2, in step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0020】ステップS1で全てのサム値を加算してい
れば(YES)、ステップS2において加算すなわち計算
したサム値Bと、プログラムを最初に最初に書き込む際
に付加したサム値(チェックサム値A)が一致するかど
うかを判定する。ステップS2において両方のサム値が
一致している場合(YES)は、ステップS4に移行して
通常動作である動作判定プログラムの演算処理を継続す
る。
If all the sum values have been added in step S1 (YES), the sum value B calculated or added in step S2 and the sum value added when the program is first written first (checksum value A). ) Match. If both sum values match in step S2 (YES), the process proceeds to step S4 to continue the operation processing of the operation determination program, which is a normal operation.

【0021】もしサム値が一致しなかった場合(NO)は、
ステップS5において演算処理を中止し、ステップS1
に戻る。このサム値が一致しない原因として、メモリ
(ROM)の素子異常でプログラムを記憶している領域
のデータが破壊されている場合、あるいはチェックサム
(固有のサム値とも言う)の領域が異常になっている場
合が考えられる。このような状態で保護演算を行うと誤
動作あるいは誤不動作する惧れがあり、信頼性がないの
で演算を中止する。
If the sum values do not match (NO),
In step S5, the arithmetic processing is stopped, and in step S1
Return to The reason why the sum values do not match is that the data in the area storing the program is destroyed due to an element error in the memory (ROM), or the area of the checksum (also referred to as a unique sum value) becomes abnormal. It is possible that If the protection operation is performed in such a state, a malfunction or a malfunction may occur, and the operation is stopped because there is no reliability.

【0022】以上述べたように、本実施の形態によれ
ば、監視プログラム4−2によって動作判定プログラム
4−1の異常を検出することができ、メモリ装置4の信
頼性向上延いてはディジタル保護継電器の信頼性向上を
図ることができる。
As described above, according to the present embodiment, the abnormality of the operation determination program 4-1 can be detected by the monitoring program 4-2, and the reliability of the memory device 4 can be improved and the digital protection can be improved. The reliability of the relay can be improved.

【0023】(第2の実施の形態)(請求項2対応) 図3は本発明の第2の実施の形態におけるディジタル形
保護継電器のブロック構成図である。図において、図1
と同一部分には同一符号を付けて重複した説明は省略す
る。本実施形態では、演算処理回路3は演算結果を出力
回路5により外部に出力すると共に、SIO回路6、シ
リアルインタフェース7を介して外部端末装置8とデー
タの送受信を行うように構成されている。
(Second Embodiment) FIG. 3 is a block diagram showing a digital protection relay according to a second embodiment of the present invention. In the figure, FIG.
The same parts as those described above are denoted by the same reference numerals, and redundant description will be omitted. In the present embodiment, the arithmetic processing circuit 3 is configured to output the arithmetic result to the outside by the output circuit 5 and to transmit and receive data to and from the external terminal device 8 via the SIO circuit 6 and the serial interface 7.

【0024】次に、本実施形態の動作説明を図4のフロ
ーチャートを用いて行う。先ず、ステップS1におい
て、前記メモリ領域のアドレスに記憶されている前記動
作判定プログラムに係るデータの全エリアについてサム
値を加算したかどうかを判定する。前記ステップS1で
全てのサム値を加算していなければ(NO)、ステップS
3でデータを加算しアドレスを更新する。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. First, in step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), step S1 is executed.
In step 3, the data is added and the address is updated.

【0025】ステップS1で全てを加算していれば(YE
S)、次のステップS6でオペレータ等による外部端末装
置8からプログラムを書き換える指令を受信したか否か
を判定する。このステップS6でプログラム書き換え指
令を受信した場合には、ステップS7で動作判定プログ
ラム4−1固有のサム値を消去する。
If all have been added in step S1, (YE
S), in the next step S6, it is determined whether or not a command to rewrite the program from the external terminal device 8 by the operator or the like is received. If a program rewrite command is received in step S6, a sum value unique to the operation determination program 4-1 is deleted in step S7.

【0026】固有のサム値を消去すれば、次のステップ
S2において、加算すなわち計算したサム値Bと、プロ
グラムを最初に書き込む際に付加した固有のサム値(チ
ェックサム値A)とを比較すれば両者は当然一致しない
(NO)ので、ステップS8で動作判定プログラムを書き換
える。
If the unique sum value is deleted, in the next step S2, the added or calculated sum value B is compared with the unique sum value (check sum value A) added when the program is first written. If they do not agree
(NO), the operation determination program is rewritten in step S8.

【0027】なお、ステップS6でプログラム書き換え
指令を受信しなかった場合(NO)には、ステップS7をパ
スして次のステップS2に移行し、加算すなわち計算し
たサム値Bと、プログラムを最初に最初に書き込む際に
付加した固有のサム値(チェックサム値A)が一致して
いれば(YES)、ステップS4で通常動作である動作判定
プログラムの演算処理を継続する。
If the program rewrite command is not received in step S6 (NO), the process passes step S7 and shifts to the next step S2, where the sum, that is, the calculated sum value B and the program are stored first. If the unique sum value (check sum value A) added at the time of first writing matches (YES), the operation processing of the operation determination program, which is a normal operation, is continued in step S4.

【0028】このように、本実施形態によれば、外部か
らプログラムの書き換え指令を受信したとき、ディジタ
ル形保護継電器の動作判定プログラムを記憶しているメ
モリを取り外すことなく、品質を維持しながらプログラ
ムを書き換えることができ、プログラムを書き換えるま
での時間削減はもとより設計/試験時間の効率向上が図
れる。
As described above, according to the present embodiment, when a program rewriting command is received from the outside, the program for maintaining the quality can be maintained without removing the memory storing the operation determination program for the digital protection relay. Can be rewritten, and the efficiency of design / test time can be improved as well as the time required for rewriting the program.

【0029】(第3の実施の形態)(請求項3対応) 本実施形態の場合、ハードウエアのブロック構成図は第
2の実施形態の図3と同じであるので、ハードウェアブ
ロック構成の説明は省略し、図5のフローチャートを用
いて動作説明を行う。
(Third Embodiment) (Corresponding to Claim 3) In the case of this embodiment, since the block diagram of the hardware is the same as that of FIG. 3 of the second embodiment, the description of the hardware block configuration will be described. Are omitted, and the operation will be described with reference to the flowchart of FIG.

【0030】先ず、ステップS1では、前記メモリ領域
のアドレスに記憶されている前記動作判定プログラムに
係るデータの全エリアについてサム値を加算したかどう
かを判定する。前記ステップS1で全てのサム値を加算
していなければ(NO)、ステップS3でデータを加算し
アドレスを更新する。
First, in step S1, it is determined whether or not a sum value has been added to all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0031】ステップS1で、全て加算していれば(YE
S)、ステップS6において、オペレータによる外部端
末装置8からプログラムを書き換える指令を受信したか
否か判定する。プログラム書き換え指令を受信していれ
ば(YES)、次のステップS7で、動作判定プログラム
が固有で持っているサム値を消去する。
In step S1, if all have been added (YE
S), In step S6, it is determined whether or not a command to rewrite the program has been received from the external terminal device 8 by the operator. If a program rewrite command has been received (YES), the sum value inherent in the operation determination program is deleted in the next step S7.

【0032】サム値を消去した場合は、当然次のステッ
プS2で計算したサム値Bと、プログラムを最初に最初
に書き込む際に付加した固有のサム値(チェックサム値
A)とは不一致なので(NO)、ステップS9に移行し、
ここで、更新するプログラムの形式・サム値・日時を書
き換え、メモリ上に保存し、次にステップS8で動作判
定プログラムを書き換える。
When the sum value is erased, the sum value B calculated in the next step S2 does not coincide with the unique sum value (check sum value A) added when the program is first written for the first time. NO), proceeding to step S9,
Here, the format, the sum value, and the date and time of the program to be updated are rewritten and stored in the memory, and then the operation determination program is rewritten in step S8.

【0033】なお、ステップS6で、プログラム書き換
え指令を受信していなければ(NO)、前述の実施の形態
と同様に、次のステップS2において加算すなわち計算
したサム値Bと、プログラムを最初に最初に書き込む際
に付加した固有のサム値(チェックサム値A)とが一致
するかどうかを判定し、サム値が一致した場合に通常動
作である演算処理を継続しする(ステップS4)。
If the program rewrite command has not been received in step S6 (NO), the sum value B added or calculated in the next step S2 and the program are first stored in the same manner as in the above-described embodiment. Then, it is determined whether or not the unique sum value (check sum value A) added at the time of writing to the memory matches, and if the sum value matches, the arithmetic processing as a normal operation is continued (step S4).

【0034】本実施の形態によれば、ディジタル形保護
継電器の動作判定プログラムを記憶しているメモリを取
り外すことなく、品質を維持しながらプログラムを書き
換えることができ、プログラムを書き換えるまでの時間
削減はもとより設計/試験時間の効率向上が図れるとと
もにプログラムの変更履歴管理を確実に行うことがで
き、保守が容易となる。
According to the present embodiment, the program can be rewritten while maintaining the quality without removing the memory storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. Naturally, the efficiency of design / test time can be improved, the change history of the program can be reliably managed, and maintenance is facilitated.

【0035】(第4の実施の形態)(請求項4対応) 本実施形態の場合も、ハードウエアのブロック構成図は
第2の実施形態の図3と同じであるので、ハードウェア
ブロック構成の説明は省略し、図6のフローチャートを
用いて動作説明を行う。
(Fourth Embodiment) (Corresponding to Claim 4) Also in the case of this embodiment, since the block diagram of the hardware is the same as that of FIG. 3 of the second embodiment, the hardware block The description will be omitted, and the operation will be described with reference to the flowchart of FIG.

【0036】図6は本発明の実施形態におけるフローチ
ャートである。先ず、ステップS1では、前記メモリ領
域のアドレスに記憶されている前記動作判定プログラム
に係るデータの全エリアについてサム値を加算したかど
うかを判定する。前記ステップS1で全てのサム値を加
算していなければ(NO)、ステップS3でデータを加算
しアドレスを更新する。ステップS1で全て加算してい
るという条件で、ステップS6においてオペレータによ
る外部端末装置8からプログラムを書き換える指令を受
信し、しかもそのプログラムが既存のプログラム形式と
一致している(ステップS10)場合のみ、動作判定プ
ログラムが固有で持っているサム値を消去(ステップS
7)する。
FIG. 6 is a flowchart in the embodiment of the present invention. First, in step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3. Only when the operator receives a command to rewrite the program from the external terminal device 8 in step S6 from the external terminal device 8 and the program matches the existing program format (step S10) under the condition that all the additions are made in step S1. Delete the sum value inherent in the operation determination program (step S
7) Yes.

【0037】ステップS7でサム値を消去した場合は、
当然次のステップS2で計算したサム値Bと、プログラ
ムを最初に最初に書き込む際に付加した固有のサム値
(チェックサム値A)とは不一致なので(NO)、この場
合、動作判定プログラムを書き換える(ステップS
8)。
When the sum value is deleted in step S7,
Naturally, the sum value B calculated in the next step S2 does not match the unique sum value (check sum value A) added when the program is first written first (NO). In this case, the operation determination program is rewritten. (Step S
8).

【0038】ステップS10で、受信したプログラム
が、当初のプログラムと形式が一致しない場合で、なお
かつステップS2で、サム値が一致した場合には通常動
作である演算処理を継続する(ステップS4)。
If the received program does not match the format of the original program in step S10, and if the sum value matches in step S2, the arithmetic processing which is a normal operation is continued (step S4).

【0039】本実施の形態によれば、ディジタル形保護
継電器の動作判定プログラムを記憶しているメモリを取
り外すことなく、品質を維持しながらプログラムを書き
換えることができ、プログラムを書き換えるまでの時間
削減はもとより設計/試験時間の効率向上が図れる。ま
た、動作判定プログラムを書き込むときに動作判定プロ
グラムの領域に予め書き込まれているプログラム形式と
外部端末装置から入力されたプログラム形式が一致して
いることを確認してからプログラムを書き込むことがで
きるので、誤って意図していないプログラムを書き込む
などの人間系の誤りを防ぐことができる。
According to the present embodiment, the program can be rewritten while maintaining the quality without removing the memory storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. Naturally, the efficiency of design / test time can be improved. Also, when writing the operation determination program, the program can be written after confirming that the program format previously written in the area of the operation determination program matches the program format input from the external terminal device. In addition, it is possible to prevent human errors such as writing an unintended program by mistake.

【0040】(第5の実施の形態)(請求項5対応) 本実施形態の場合も、ハードウエアのブロック構成図は
第2の実施形態の図3と同じであるので、ハードウェア
ブロック構成の説明は省略し、図7のフローチャートを
用いて動作説明を行う。
(Fifth Embodiment) (corresponding to claim 5) Also in the case of this embodiment, since the block diagram of the hardware is the same as that of FIG. 3 of the second embodiment, the hardware block The description will be omitted, and the operation will be described with reference to the flowchart in FIG.

【0041】図7は本発明の実施形態におけるフローチ
ャートである。ステップS1では、前記メモリ領域のア
ドレスに記憶されている前記動作判定プログラムに係る
データの全エリアについてサム値を加算したかどうかを
判定する。前記ステップS1で全てのサム値を加算して
いなければ(NO)、ステップS3でデータを加算しアド
レスを更新する。
FIG. 7 is a flowchart according to the embodiment of the present invention. In step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0042】ステップS1で全てを加算していれば(YE
S)、ステップS6でオペレータによる外部端末装置8
からプログラムを書き換える指令を受信したか否か判定
し、受信していれば(YES)、ステップS11で動作判
定プログラムの関連するドキュメントを受信したか否か
判別する。
If all have been added in step S1, (YE
S), the external terminal device 8 by the operator in step S6
It is determined whether or not a command for rewriting the program has been received from (YES). If it has been received (YES), it is determined in step S11 whether or not a document related to the operation determination program has been received.

【0043】受信していれば(YES)、ステップS7で
動作判定プログラムが固有で持っているサム値を消去
し、ステップS2で計算したサム値とプログラム領域に
書かれているチェックサム値が一致するかどうかを判定
する。
If it has been received (YES), in step S7 the sum value inherent in the operation determination program is erased, and the sum value calculated in step S2 matches the checksum value written in the program area. It is determined whether or not to do.

【0044】サム値を消去したことにより、当然次のス
テップS2で計算したサム値Bと、プログラムを最初に
書き込む際に付加した固有のサム値(チェックサム値
A)とは不一致なので(NO)、ステップS17でドキュ
メント番号をメモリ上に保存してから、動作判定プログ
ラムを書き換える(ステップS8)。サム値が一致した
場合には通常動作である演算処理を継続(ステップS
4)する。
Since the sum value is erased, the sum value B calculated in the next step S2 does not coincide with the unique sum value (check sum value A) added when the program is first written (NO). After the document number is stored in the memory in step S17, the operation determination program is rewritten (step S8). If the sum values match, the arithmetic processing, which is a normal operation, is continued (step S
4) Yes.

【0045】本実施の形態によれば、ディジタル形保護
継電器の動作判定プログラムを記憶しているメモリBを
取り外すことなく、品質を維持しながらプログラムを書
き換えることができ、プログラムを書き換えるまでの時
間削減はもとより設計/試験時間の効率向上が図れる。
According to the present embodiment, the program can be rewritten while maintaining the quality without removing the memory B storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. In addition, the efficiency of design / test time can be improved.

【0046】また、動作判定プログラムのプログラムに
関するドキュメント番号がわかるので、設計/試験時に
も利用可能であるとともに現地作業時にも必要なドキュ
メント番号を確実に把握できるので作業時間短縮とな
る。
Further, since the document number relating to the program of the operation determination program is known, it can be used at the time of design / test, and the required document number can be surely grasped at the time of on-site work.

【0047】(第6の実施の形態)(請求項6対応) 本実施形態の場合も、ハードウエアのブロック構成図は
第2の実施形態の図3と同じであるので、ハードウェア
ブロック構成の説明は省略し、図8のフローチャートを
用いて動作説明を行う。
(Sixth Embodiment) (corresponding to claim 6) In the case of this embodiment, the block diagram of the hardware is the same as that of FIG. 3 of the second embodiment. The description will be omitted, and the operation will be described with reference to the flowchart in FIG.

【0048】図8は本実施形態のフローチャートであ
る。ステップS1では、前記メモリ領域のアドレスに記
憶されている前記動作判定プログラムに係るデータの全
エリアについてサム値を加算したかどうかを判定する。
前記ステップS1で全てのサム値を加算していなければ
(NO)、ステップS3でデータを加算しアドレスを更新
する。
FIG. 8 is a flowchart of the present embodiment. In step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area.
If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0049】ステップS6でオペレータにより外部端末
装置8からプログラム書き換え指令を受信すると、ステ
ップS12で既存の動作判定プログラムを外部端末装置
8の記憶媒体へ保存し、次に、ステップS13で、メモ
リ上の動作判定プログラムとコンペアチェックを実施し
て正常終了した場合、次のステップS7で動作判定プロ
グラムが固有で持っているサム値を消去する。
When a program rewriting command is received from the external terminal device 8 by the operator in step S6, the existing operation determination program is stored in the storage medium of the external terminal device 8 in step S12. When the operation check program and the compare check are executed and the operation is completed normally, the sum value inherent to the operation judgment program is deleted in the next step S7.

【0050】固有のサム値を消去した場合は、当然次の
ステップS2で計算したサム値Bと、プログラムを最初
に最初に書き込む際に付加した固有のサム値(チェック
サム値A)とは不一致なので(NO)、次のステップS8
で動作判定プログラムを書き換える。サム値が一致した
場合には通常動作である演算処理を継続(ステップS
4)する。
When the unique sum value is deleted, the sum value B calculated in the next step S2 does not match the unique sum value (check sum value A) added when the program is first written for the first time. So (NO), the next step S8
Rewrites the operation determination program. If the sum values match, the arithmetic processing, which is a normal operation, is continued (step S
4) Yes.

【0051】本実施の形態によれば、ディジタル形保護
継電器の動作判定プログラムを記憶しているメモリを取
り外すことなく、品質を維持しながらプログラムを書き
換えることができ、プログラムを書き換えるまでの時間
削減はもとより設計/試験時間の効率向上が図れる。ま
た、メモリに書き込まれている動作判定プログラムを外
部端末装置の記憶媒体に転送し、転送したプログラムと
メモリに書き込まれているプログラムとを比較すること
によって、転送したプログラムが正しく転送されたこと
を確認できる。
According to the present embodiment, the program can be rewritten while maintaining the quality without removing the memory storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. Naturally, the efficiency of design / test time can be improved. Also, by transferring the operation determination program written in the memory to the storage medium of the external terminal device and comparing the transferred program with the program written in the memory, it can be confirmed that the transferred program has been correctly transferred. You can check.

【0052】従って、動作判定プログラムを書き換える
前に、既存のプログラムを記憶媒体に保存することが可
能となり、動作判定プログラムを書き換えた後でも、元
のプログラムに戻すことができるので人間系のミスを修
復することが可能である。
Therefore, it is possible to save the existing program in the storage medium before rewriting the operation determination program, and to restore the original program even after rewriting the operation determination program. It is possible to repair.

【0053】(第7の実施の形態)(請求項7対応) 本実施形態の場合も、ハードウエアのブロック構成図は
第2の実施形態の図3と同じであるので、ハードウェア
ブロック構成の説明は省略し、図9のフローチャートを
用いて動作説明を行う。
(Seventh Embodiment) (Corresponding to claim 7) Also in the case of this embodiment, since the block diagram of the hardware is the same as that of FIG. 3 of the second embodiment, the hardware block The description will be omitted, and the operation will be described with reference to the flowchart in FIG.

【0054】図9は本発明の実施形態におけるフローチ
ャートである。先ず、ステップS1では、前記メモリ領
域のアドレスに記憶されている前記動作判定プログラム
に係るデータの全エリアについてサム値を加算したかど
うかを判定する。前記ステップS1で全てのサム値を加
算していなければ(NO)、ステップS3でデータを加算
しアドレスを更新する。
FIG. 9 is a flowchart in the embodiment of the present invention. First, in step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0055】ステップS6でオペレータにより外部端末
装置8からプログラムを書き換える指令を受信すると、
ステップS14において更新するプログラムに対してウ
ィルスチェックを実施し、コンピュータウィルスがない
と判定した場合(YES)、ステップS7で動作判定プロ
グラムが固有で持っているサム値を消去する。
In step S6, when the operator receives a command for rewriting the program from the external terminal device 8 by the operator,
In step S14, a virus check is performed on the program to be updated, and if it is determined that there is no computer virus (YES), the sum value inherent in the operation determination program is deleted in step S7.

【0056】固有のサム値を消去すれば当然次に、ステ
ップS2で計算したサム値Bと、プログラムを最初に最
初に書き込む際に付加した固有のサム値(チェックサム
値A)とは不一致なので(NO)、不一致になるので、次
に、ステップS8で動作判定プログラムを書き換える。
ステップS2でサム値が一致した場合に通常動作である
演算処理を継続(ステップS4)する。
If the unique sum value is erased, the sum value B calculated in step S2 and the unique sum value (check sum value A) added when the program is first written first do not match. (NO), since they do not match, the operation determination program is rewritten in step S8.
When the sum values match in step S2, the arithmetic processing which is a normal operation is continued (step S4).

【0057】本実施の形態によれば、ディジタル形保護
継電器の動作判定プログラムを記憶しているメモリを取
り外すことなく、品質を維持しながらプログラムを書き
換えることができ、プログラムを書き換えるまでの時間
削減はもとより設計/試験時間の効率向上が図れる。ま
た、動作判定プログラムを書き込む前に、コンピュータ
ウィルスが内在していないかを予め確認でき、ウィルス
のあるプログラムを書き込んでディジタル形保護継電器
に悪影響を与えることがない。
According to the present embodiment, the program can be rewritten while maintaining the quality without removing the memory storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. Naturally, the efficiency of design / test time can be improved. In addition, before writing the operation determination program, it is possible to check in advance whether a computer virus is present or not, so that writing a program with a virus does not adversely affect the digital protection relay.

【0058】(第8の実施の形態)(請求項8対応) 図10は本発明の第8の実施形態におけるディジタル形
保護継電器1のブロック構成図であり、第2の実施形態
の図3と同じ部分については同一符号を付けて重複した
説明は省略する。9は、データの書き込みが許可されて
いるかどうかの判断をするハードウェアロック手段であ
る。
(Eighth Embodiment) (corresponding to claim 8) FIG. 10 is a block diagram of a digital protection relay 1 according to an eighth embodiment of the present invention. The same portions are denoted by the same reference numerals, and duplicate description will be omitted. Reference numeral 9 denotes a hardware lock unit that determines whether data writing is permitted.

【0059】次に、図11を参照して本実施形態の動作
説明を行う。先ず、ステップS1では、前記メモリ領域
のアドレスに記憶されている前記動作判定プログラムに
係るデータの全エリアについてサム値を加算したかどう
かを判定する。前記ステップS1で全てのサム値を加算
していなければ(NO)、ステップS3でデータを加算し
アドレスを更新する。
Next, the operation of this embodiment will be described with reference to FIG. First, in step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0060】ステップS6でオペレータによる外部端末
装置8からプログラムを書き換える指令を受信(YES)
すると、次に、ステップS15でディジタル形保護継電
器の電源を落としハードウェアロックの状態を動作判定
プログラムが認識してプログラムの書き換え許可状態か
否か判定する。書き換え許可状態と判定した場合、次の
ステップS7で動作判定プログラムが固有で持っている
サム値を消去する。
In step S6, a command for rewriting the program is received from the external terminal device 8 by the operator (YES).
Then, in step S15, the power of the digital protection relay is turned off, and the operation determination program recognizes the state of the hardware lock, and determines whether or not the program rewrite is permitted. When it is determined that the rewriting is permitted, the sum value inherent in the operation determination program is erased in the next step S7.

【0061】サム値を消去すれば、当然次のステップS
2で計算したサム値Bと、プログラムを最初に最初に書
き込む際に付加した固有のサム値(チェックサム値A)
とは不一致なので(NO)、動作判定プログラムを書き換
える(ステップS8)。なお、ステップS6でプログラ
ム書き換え指令を受信しないか、ステップS15でハー
ドウェアロック信号の状態が書き換え可能になっていな
ければ、ステップS2で加算したサム値とプログラム領
域に書かれているサム値とが一致するかどうかを判定
し、サム値が一致した場合に通常動作である演算処理を
継続(ステップS4)する。
If the sum value is erased, naturally the next step S
2 and the unique sum value (checksum value A) added when the program is first written for the first time
Does not match (NO), the operation determination program is rewritten (step S8). If the program rewrite command is not received in step S6, or if the state of the hardware lock signal is not rewritable in step S15, the sum value added in step S2 and the sum value written in the program area are changed. It is determined whether or not they match, and when the sum values match, the arithmetic processing which is a normal operation is continued (step S4).

【0062】本実施の形態によれば、ディジタル形保護
継電器の動作判定プログラムを記憶しているメモリを取
り外すことなく、品質を維持しながらプログラムを書き
換えることができ、プログラムを書き換えるまでの時間
削減はもとより設計/試験時間の効率向上が図れる。
According to this embodiment, the program can be rewritten while maintaining the quality without removing the memory storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. Naturally, the efficiency of design / test time can be improved.

【0063】また、通常の運用状態ではハードウェアロ
ックを付けることがないので不要にプログラムを書き換
える心配がなく、安全なディジタル形保護継電器を提供
できる。
Further, since a hardware lock is not provided in a normal operation state, there is no need to rewrite a program unnecessarily, and a safe digital protection relay can be provided.

【0064】(第9の実施の形態)(請求項9対応) 図12は本発明の第9の実施形態におけるディジタル形
保護継電器1のブロック構成図であり、既に説明した実
施形態と同一部分には同一符号を付けて重複する説明は
省略する。図において、10は設定スイッチであり、演
算処理回路3が動作判定プログラムに基づいてリレー演
算を行う際に用いる各種設定値を入力するためのもので
ある。
(Ninth Embodiment) (corresponding to claim 9) FIG. 12 is a block diagram of a digital protection relay 1 according to a ninth embodiment of the present invention. Are denoted by the same reference numerals, and redundant description is omitted. In the figure, reference numeral 10 denotes a setting switch for inputting various setting values used when the arithmetic processing circuit 3 performs a relay operation based on an operation determination program.

【0065】図13は本実施形態のフローチャートであ
る。図13において、ステップS1では、前記メモリ領
域のアドレスに記憶されている前記動作判定プログラム
に係るデータの全エリアについてサム値を加算したかど
うかを判定する。前記ステップS1で全てのサム値を加
算していなければ(NO)、ステップS3でデータを加算
しアドレスを更新する。
FIG. 13 is a flowchart of this embodiment. In FIG. 13, in step S1, it is determined whether or not a sum value has been added for all areas of the data relating to the operation determination program stored at the address of the memory area. If all the sum values have not been added in step S1 (NO), data is added and the address is updated in step S3.

【0066】ステップS1で全て加算していれば、ステ
ップS6でオペレータによる外部端末装置8からプログ
ラムを書き換える指令を受信した後、ステップS16で
設定スイッチ10の状態を認識して書き換え許可と判定
した場合(YES)、ステップS7動作判定プログラム4
−1が固有で持っているサム値を消去する。
If all the additions have been made in step S1, a command for rewriting the program is received from the external terminal device 8 by the operator in step S6, and the state of the setting switch 10 is recognized in step S16 to determine that rewriting is permitted. (YES), step S7 operation determination program 4
The sum value inherent to -1 is deleted.

【0067】固有のサム値を消去すれば当然次のステッ
プS2で計算したサム値Bと、プログラムを最初に最初
に書き込む際に付加した固有のサム値(チェックサム値
A)とは不一致なので(NO)、ステップS8で動作判定
プログラムを書き換える。プログラムを書き換える指令
を受信しない場合で、かつ両サム値が一致した場合、通
常動作である演算処理を継続(ステップS4)する。
If the unique sum value is deleted, the sum value B calculated in the next step S2 does not match the unique sum value (check sum value A) added when the program is first written for the first time. NO), the operation determination program is rewritten in step S8. If the instruction to rewrite the program is not received and the two sum values match, the arithmetic processing as a normal operation is continued (step S4).

【0068】本実施形態によれば、ディジタル形保護継
電器の動作判定プログラムを記憶しているメモリBを取
り外すことなく、品質を維持しながらプログラムを書き
換えることができ、プログラムを書き換えるまでの時間
削減はもとより設計/試験時間の効率向上が図れる。
According to the present embodiment, the program can be rewritten while maintaining the quality without removing the memory B storing the operation determination program of the digital protection relay, and the time required for rewriting the program can be reduced. Naturally, the efficiency of design / test time can be improved.

【0069】また、実施形態8との違いはプログラムの
書き換えを許可するハードウェアロックを設置しなくと
も、予めディジタル形保護継電器の内部に設けた設定ス
イッチをプログラムの書き換え許可信号に使用するの
で、ディジタル形保護継電器の電源をOFFする必要が
なく、更にプログラムを書き換えるまでの所用時間、品
質を維持しながら短縮できる。
The difference from the eighth embodiment is that a setting switch provided in advance inside the digital protection relay is used for a program rewrite permission signal without installing a hardware lock for permitting program rewrite. There is no need to turn off the power of the digital protection relay, and the time required for rewriting the program can be shortened while maintaining the quality.

【0070】[0070]

【発明の効果】本発明によれば、メモリ装置に動作判定
プログラムの他に、動作判定プログラムを監視する監視
プログラムを設けたことと、これらのプログラムを記憶
するメモリを取り外すことなくプログラムの書き換えを
可能とするメモリBにしたことによって、何らかの異常
によって動作判定プログラムに異常があった場合に、そ
の異常を速やかに検出できると共に、演算処理を中止す
ることができるので、誤動作を防止することのできるデ
ィジタル形保護継電器を提供することができる。
According to the present invention, the memory device is provided with a monitoring program for monitoring the operation determination program in addition to the operation determination program, and the program can be rewritten without removing the memory for storing these programs. By using the memory B that can be used, when an abnormality is found in the operation determination program due to some kind of abnormality, the abnormality can be promptly detected and the arithmetic processing can be stopped, so that a malfunction can be prevented. A digital protection relay can be provided.

【0071】また、ディジタル形保護継電器外部の端末
装置からプログラムの書き換え指令を動作判定プログラ
ムが受信することにより、メモリを取り外すことなく、
メモリBに書き込まれた動作判定プログラムを書き換え
ることが可能となり、プログラム変更にかかる時間の省
力化を図ることができる。
Further, by receiving the program rewriting command from the terminal device outside the digital protection relay by the operation determination program, it is possible to remove the memory without removing the memory.
The operation determination program written in the memory B can be rewritten, and the time required for changing the program can be saved.

【0072】加えて、外部端末装置から変更するプログ
ラムを無条件で送るだけでなく、予め決められた条件を
入力しないと、書き込みを許可しない仕組みやハードウ
ェアロック手段、設定スイッチ等を設けたことによっ
て、動作判定プログラムを書き換える際の人間系の誤操
作を防止することができる。また、プログラムを書き換
える前にウィルスチェックを実施することが自動的に可
能になるので、書き込む動作判定プログラムの信頼性を
向上させることができる。
In addition, not only a program to be changed from an external terminal device is sent unconditionally, but also a mechanism that does not permit writing unless a predetermined condition is input, a hardware lock means, a setting switch, and the like are provided. Accordingly, it is possible to prevent erroneous operation of a human system when rewriting the operation determination program. In addition, since the virus check can be automatically performed before rewriting the program, the reliability of the writing operation determination program can be improved.

【0073】更にまた、動作判定プログラムのドキュメ
ント番号を入力できることや、プログラムの変更履歴管
理もディジタル形保護継電器内部でできるようになり、
保守面で役立たせることができる。
Further, the user can input the document number of the operation judgment program, and can manage the change history of the program inside the digital protection relay.
It can be useful for maintenance.

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

【図1】本発明の第1の実施の形態におけるディジタル
形保護継電器に係わるブロック構成図。
FIG. 1 is a block diagram showing a digital protection relay according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態におけるフローチャ
ート。
FIG. 2 is a flowchart according to the first embodiment of the present invention.

【図3】本発明の第2、第3、第4、第5、第6、第7
の各実施の形態におけるディジタル形保護継電器のブロ
ック構成図。
FIG. 3 shows second, third, fourth, fifth, sixth and seventh embodiments of the present invention.
FIG. 2 is a block diagram of a digital protection relay in each of the embodiments.

【図4】本発明の第2の実施の形態におけるフローチャ
ート。
FIG. 4 is a flowchart according to a second embodiment of the present invention.

【図5】本発明の第3の実施の形態におけるフローチャ
ート。
FIG. 5 is a flowchart according to a third embodiment of the present invention.

【図6】本発明の第4の実施の形態におけるフローチャ
ート。
FIG. 6 is a flowchart according to a fourth embodiment of the present invention.

【図7】本発明の第5の実施の形態におけるフローチャ
ート。
FIG. 7 is a flowchart according to a fifth embodiment of the present invention.

【図8】本発明の第6の実施の形態におけるフローチャ
ート。
FIG. 8 is a flowchart according to a sixth embodiment of the present invention.

【図9】本発明の第7の実施の形態におけるフローチャ
ート。
FIG. 9 is a flowchart according to a seventh embodiment of the present invention.

【図10】本発明の第8の実施の形態におけるディジタ
ル形保護継電器に係わるブロック構成図。
FIG. 10 is a block diagram showing a digital protection relay according to an eighth embodiment of the present invention.

【図11】本発明の第8の実施の形態におけるフローチ
ャート。
FIG. 11 is a flowchart according to an eighth embodiment of the present invention.

【図12】本発明の第9の実施の形態におけるディジタ
ル形保護継電器に係わるブロック構成図。
FIG. 12 is a block diagram showing a digital protection relay according to a ninth embodiment of the present invention.

【図13】本発明の第9の実施の形態におけるフローチ
ャート。
FIG. 13 is a flowchart according to a ninth embodiment of the present invention.

【図14】従来のディジタル形保護継電器のブロック構
成図。
FIG. 14 is a block diagram of a conventional digital protection relay.

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

1…ディジタル形保護継電器、2…入力回路、3…演算
処理回路、4…メモリ装置、4−1…動作判定プログラ
ム、4−2…監視プログラム、5…出力回路、6…SI
O回路、7…シリアルインタフェース、8…外部端末装
置、9…ハードウェアロック手段、10…設定スイッ
チ、11…メモリ装置、S1…サム値計算終了判定ステ
ップ、S2…サム値照合判定ステップ、S3…サム値計
算処理ステップ、S4…演算継続処理ステップ、S5…
演算中止処理ステップ、S6…指令受信判定ステップ、
S7…サム値消去処理ステップ、S8…プログラム書き
換え処理ステップ、S9…書き換え情報保存処理ステッ
プ、S10…プログラム形式照合判定ステップ、S11
…ドキュメント番号受信判定ステップ、S12…既存プ
ログラム保存処理ステップ、S13…プログラム照合判
定ステップ、S14…コンピュータウィルス有無判定ス
テップ、S15…ハードウェアロック判定ステップ、S
16…設定スイッチ状態判定ステップ、S17…ドキュ
メント番号保存処理ステップ。
DESCRIPTION OF SYMBOLS 1 ... Digital protection relay, 2 ... Input circuit, 3 ... Operation processing circuit, 4 ... Memory device, 4-1 ... Operation determination program, 4-2 ... Monitoring program, 5 ... Output circuit, 6 ... SI
O circuit, 7: serial interface, 8: external terminal device, 9: hardware lock means, 10: setting switch, 11: memory device, S1: sum value calculation end determination step, S2: sum value comparison determination step, S3 ... Sum value calculation processing step, S4 ... calculation continuation processing step, S5 ...
Calculation stop processing step, S6 ... command reception determination step,
S7: Sum value erasing processing step, S8: Program rewriting processing step, S9: Rewriting information storage processing step, S10: Program format collation determining step, S11
... document number reception judgment step, S12 ... existing program storage processing step, S13 ... program collation judgment step, S14 ... computer virus existence judgment step, S15 ... hardware lock judgment step, S
16: setting switch state determination step; S17: document number storage processing step.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山中 直義 東京都府中市晴見町2丁目24番地の1 東 芝システムテクノロジー株式会社内 (72)発明者 川崎 智之 東京都府中市東芝町1番地 株式会社東芝 府中事業所内 Fターム(参考) 5B001 AA14 AB06 AC01 AE01 5B076 BB06 CA01 CA08 EB03 5G042 GG03 GG08  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Naoyoshi Yamanaka 2-24-24 Harumi-cho, Fuchu-shi, Tokyo Toshiba System Technology Co., Ltd. (72) Inventor Tomoyuki Kawasaki 1-Toshiba-cho, Fuchu-shi, Tokyo F-term in Toshiba Fuchu Office (reference) 5B001 AA14 AB06 AC01 AE01 5B076 BB06 CA01 CA08 EB03 5G042 GG03 GG08

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力電流・電圧を保護継電器で処理する
のに適した大きさに変換する入力変換器および所定のサ
ンプリング周波数でサンプルホールドしたアナログ値を
ディジタル値に変換するアナログディジタル変換器を含
む入力回路と、この入力回路から出力されたディジタル
信号を継電器の動作判定に必要な動作判定プログラムを
用いて所定の演算処理を行う演算処理回路と、前記動作
判定プログラムを含む各種プログラムを記憶しておくメ
モリ装置と、前記演算処理回路の演算処理結果を受け、
外部に出力する出力回路とからなるディジタル形保護継
電器において、 前記メモリ装置には、前記動作判定プログラムを複数の
メモリ領域に分離して記憶させるとともに、この動作判
定プログラムを監視する監視プログラムを記憶させ、 この監視プログラムは前記動作判定プログラムを最初に
書き込む際に付加したチェックサムと、前記メモリ領域
のアドレスに記憶されている前記動作判定プログラムに
係るデータの全エリアについての加算値(計算したサム
値)とが一致する場合、演算処理を継続し、不一致の場
合、異常と判断して、動作判定を中止することを特徴と
するディジタル形保護継電器。
An input converter for converting an input current / voltage into a size suitable for processing by a protection relay and an analog / digital converter for converting an analog value sampled and held at a predetermined sampling frequency into a digital value. An input circuit, an arithmetic processing circuit that performs a predetermined arithmetic process using a digital signal output from the input circuit using an operation determination program necessary for determining the operation of the relay, and stores various programs including the operation determination program. A memory device for storing the result of the arithmetic processing by the arithmetic processing circuit;
In a digital protection relay comprising an output circuit for outputting to the outside, the memory device stores the operation determination program separately in a plurality of memory areas and stores a monitoring program for monitoring the operation determination program. The monitoring program includes a checksum added when the operation determination program is written for the first time, and an added value (a calculated sum value) for all areas of the data relating to the operation determination program stored at the address of the memory area. ), The arithmetic processing is continued, and if they do not match, it is determined that there is an abnormality, and the operation determination is aborted.
【請求項2】 請求項1記載のディジタル形保護継電器
において、前記演算処理回路と外部端末装置との間でシ
リアルにデータ送受信を行うためのシリアルインプット
/アウトプット回路と、このシリアルインプット/アウ
トプット回路を前記外部端末装置に接続するためのシリ
アルインタフェースを設け、前記外部端末装置から送信
されたデータを前記演算処理回路で受信した場合、動作
判定プログラムによる動作判定を中止する代わりに、動
作判定プログラムを書き換えることを特徴とするディジ
タル形保護継電器。
2. A digital protection relay according to claim 1, wherein a serial input / output circuit for serially transmitting and receiving data between said arithmetic processing circuit and an external terminal device, and said serial input / output circuit. A serial interface for connecting a circuit to the external terminal device is provided, and when data transmitted from the external terminal device is received by the arithmetic processing circuit, instead of stopping the operation determination by the operation determination program, an operation determination program is executed. Digital protection relay characterized by rewriting.
【請求項3】 請求項2記載のディジタル形保護継電器
において、前記外部端末装置より前記動作判定プログラ
ムを書き換えた場合、その書き換え履歴として動作判定
プログラムの名前を示すプログラム形式と、動作判定プ
ログラムを示す固有の値と、書き換え日時とを動作判定
プログラム上に保存することを特徴とするディジタル形
保護継電器。
3. The digital protection relay according to claim 2, wherein when the operation determination program is rewritten from the external terminal device, a program format indicating a name of the operation determination program as a rewrite history and an operation determination program are indicated. A digital protection relay, wherein a unique value and a rewriting date and time are stored on an operation determination program.
【請求項4】 請求項2記載のディジタル形保護継電器
において、前記外部端末装置より動作判定プログラムを
書き換える際に、既存の動作判定プログラムのプログラ
ム形式を、前記外部端末装置から入力し、入力したデー
タが予め動作判定プログラムに書き込まれているプログ
ラム形式と一致した場合のみ、動作判定プログラムを書
き換えることを特徴とするディジタル形保護継電器。
4. The digital protection relay according to claim 2, wherein when the operation determination program is rewritten from the external terminal device, a program format of an existing operation determination program is input from the external terminal device and the input data is input. A digital protection relay characterized in that the operation determination program is rewritten only when the program type matches a program format previously written in the operation determination program.
【請求項5】 請求項2記載のディジタル形保護継電器
において、前記外部端末装置より動作判定プログラムを
書き換える際に、動作判定プログラムに関連するドキュ
メント番号を入力することによって動作判定プログラム
の書き換えを許可し、一度入力したドキュメント番号を
継電器外部の端末装置から読み込むことを特徴とするデ
ィジタル形保護継電器。
5. The digital protection relay according to claim 2, wherein when rewriting the operation determination program from the external terminal device, rewriting of the operation determination program is permitted by inputting a document number associated with the operation determination program. A digital protection relay, wherein a document number once input is read from a terminal device outside the relay.
【請求項6】 請求項2記載のディジタル形保護継電器
において、前記外部端末装置より動作判定プログラムを
書き換える際に、書き換えるプログラムを前記外部端末
装置より転送する前に、既存の動作判定プログラムを前
記外部端末装置の記憶媒体に転送し、既存のプログラム
と転送したプログラムを比較し、結果に違いがなかった
場合のみ動作判定プログラムを書き換えることを特徴と
するディジタル形保護継電器。
6. The digital protection relay according to claim 2, wherein when rewriting the operation determination program from the external terminal device, before transferring the rewritten program from the external terminal device, the existing operation determination program is rewritten to the external terminal device. A digital protection relay, wherein the digital protection relay is transferred to a storage medium of a terminal device, compares an existing program with the transferred program, and rewrites an operation determination program only when there is no difference in the result.
【請求項7】 請求項2記載のディジタル形保護継電器
において、前記外部端末装置より動作判定プログラムを
書き換える際に、書き換えるプログラムを前記外部端末
装置から転送する前に、前記外部端末装置にてウィルス
チェックを実施し、ウィルスチェック結果を外部端末装
置から動作判定プログラムに送信し、動作判定プログラ
ムにてウィルスチェック結果が正常であるか、異常であ
るかの判断を実施し正常であった場合のみ動作判定プロ
グラムを書き換えることを特徴とするディジタル形保護
継電器。
7. The digital protection relay according to claim 2, wherein when rewriting the operation determination program from the external terminal device, the external terminal device checks for viruses before transferring the rewritten program from the external terminal device. And transmits the virus check result from the external terminal device to the operation determination program. The operation determination program determines whether the virus check result is normal or abnormal, and determines operation only when the result is normal. Digital type protection relay characterized by rewriting the program.
【請求項8】 請求項2記載のディジタル形保護継電器
において、動作判定プログラムについてデータの書き込
みが許可されているか否かを判断するハードウェアロッ
ク手段を設け、外部端末装置から動作判定プログラムの
書き換えデータを受信したとき、ハードウェアロック信
号の状態がデータの書き換え許可状態か否かの判定を実
施し、データの書き換えが許可されている場合のみ動作
判定プログラムを書き換えることを特徴とするディジタ
ル形保護継電器。
8. The digital protection relay according to claim 2, further comprising hardware lock means for judging whether data writing is permitted for the operation determination program, and rewriting data of the operation determination program from an external terminal device. When the hardware lock signal is in a data rewrite permission state, and rewrites the operation determination program only when the data rewrite is permitted. .
【請求項9】 請求項2記載のディジタル形保護継電器
において、前記外部端末装置から動作判定プログラムの
書き換えデータを受信し、かつディジタル形保護継電器
の設定スイッチの状態を読み込み、データの書き換えが
許可されているかどうかの判定を実施し、許可されてい
る場合のみ動作判定プログラムを書き換えることを特徴
とするディジタル形保護継電器。
9. The digital protection relay according to claim 2, wherein rewriting data of an operation determination program is received from the external terminal device, and a state of a setting switch of the digital protection relay is read to permit data rewriting. A digital protection relay, characterized in that a judgment is made as to whether or not the operation has been performed, and the operation judgment program is rewritten only when the operation is permitted.
JP2000235185A 2000-08-03 2000-08-03 Digital type protection relay Pending JP2002051447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000235185A JP2002051447A (en) 2000-08-03 2000-08-03 Digital type protection relay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000235185A JP2002051447A (en) 2000-08-03 2000-08-03 Digital type protection relay

Publications (1)

Publication Number Publication Date
JP2002051447A true JP2002051447A (en) 2002-02-15

Family

ID=18727440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000235185A Pending JP2002051447A (en) 2000-08-03 2000-08-03 Digital type protection relay

Country Status (1)

Country Link
JP (1) JP2002051447A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009201251A (en) * 2008-02-21 2009-09-03 Toshiba Corp Digital protective relay
CN107702299A (en) * 2017-11-20 2018-02-16 珠海格力电器股份有限公司 Digital quantity interface peripherals and its circuit and air-conditioner control system
US9997048B2 (en) 2015-07-28 2018-06-12 Lsis Co., Ltd. Power failure monitoring device of digital protection relay

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009201251A (en) * 2008-02-21 2009-09-03 Toshiba Corp Digital protective relay
US9997048B2 (en) 2015-07-28 2018-06-12 Lsis Co., Ltd. Power failure monitoring device of digital protection relay
CN107702299A (en) * 2017-11-20 2018-02-16 珠海格力电器股份有限公司 Digital quantity interface peripherals and its circuit and air-conditioner control system

Similar Documents

Publication Publication Date Title
EP2042992B1 (en) Memory management apparatus
US8280579B2 (en) Memory management apparatus
WO1999032973A1 (en) Method for identifying validity of an executable file description
KR20170131584A (en) Method for protecting configuration data from a data bus transceiver, data bus transceiver and data bus system
US8356241B2 (en) Relay connection unit mounted in vehicle
JP2002051447A (en) Digital type protection relay
JPH09162782A (en) Unit changeover device
US6604194B1 (en) Program updating method and apparatus for communication terminal system
EP0482928B1 (en) Semiconductor memory
JP4867557B2 (en) Programmable controller
US20050216100A1 (en) Sequence program editing apparatus
JP3306602B2 (en) Digital protection control method
US20230070879A1 (en) Information Processing Device, Program Update System, and Program Update Method
JP3601361B2 (en) How to clear servo driver error
JP4450161B2 (en) Unit and programmable controller
JPH11184705A (en) Device for correcting down-load program and method therefor
JP2829550B2 (en) Communication control LSI
JPH01291548A (en) Series controller
KR100334792B1 (en) Method for remote down load in network system
JP3619360B2 (en) Section data validity checking device and method
JP2005050095A (en) Image formation device and its program updating history management method
JP3168670B2 (en) Digital protection relay setting method
JP2001318703A (en) Process control system
JP2000201425A (en) Protective relay device
JPH096686A (en) Data management device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050124