Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6546014B2 - Digital protection controller - Google Patents
[go: Go Back, main page]

JP6546014B2 - Digital protection controller - Google Patents

Digital protection controller Download PDF

Info

Publication number
JP6546014B2
JP6546014B2 JP2015121044A JP2015121044A JP6546014B2 JP 6546014 B2 JP6546014 B2 JP 6546014B2 JP 2015121044 A JP2015121044 A JP 2015121044A JP 2015121044 A JP2015121044 A JP 2015121044A JP 6546014 B2 JP6546014 B2 JP 6546014B2
Authority
JP
Japan
Prior art keywords
program
protection control
stored
information
digital
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.)
Active
Application number
JP2015121044A
Other languages
Japanese (ja)
Other versions
JP2017005959A (en
Inventor
坂下 寛憲
寛憲 坂下
光章 水野上
光章 水野上
徳次郎 滝沢
徳次郎 滝沢
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 Energy Systems and Solutions Corp
Toshiba System Technology Corp
Original Assignee
Toshiba Energy Systems and Solutions 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 Energy Systems and Solutions Corp, Toshiba System Technology Corp filed Critical Toshiba Energy Systems and Solutions Corp
Priority to JP2015121044A priority Critical patent/JP6546014B2/en
Publication of JP2017005959A publication Critical patent/JP2017005959A/en
Application granted granted Critical
Publication of JP6546014B2 publication Critical patent/JP6546014B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Description

本発明は、電力系統等のディジタル保護制御に用いられるディジタル保護制御装置に関するものである。   The present invention relates to a digital protection control device used for digital protection control of a power system or the like.

ディジタル保護制御装置は、保護制御の対象となる電力系統の構成により、ディジタル保護制御機能を実現するプログラムが異なる。ディジタル保護制御装置の製造者は、ハードウェア構成とプログラムを一対として試験を行うことで、ユーザーに対して装置の品質を保証している。   The digital protection control device has different programs for realizing the digital protection control function depending on the configuration of the power system to be protected and controlled. Manufacturers of digital protection and control devices guarantee the quality of the device to the user by testing the hardware configuration and the program as a pair.

特開2002−218642号公報Japanese Patent Application Publication No. 2002-218642

既存の品質保証されたディジタル保護制御装置に対し、プログラムを変更し部分的な機能を追加することがある。その場合、追加部分が既存のハードウェア構成及び機能構成に合致し、プログラム全体の動作に悪影響を与えないことを、試験によって確認する必要がある。あるディジタル保護制御装置に適用した品質保証済みの機能を、他のディジタル保護制御装置に適用する場合であっても、試験範囲はディジタル保護制御装置の機能全体に及ぶ。そのため、試験にかかる時間と費用が問題となる。   The program may be changed and a partial function may be added to the existing quality guaranteed digital protection controller. In that case, it is necessary to confirm by testing that the additional part conforms to the existing hardware configuration and functional configuration and does not adversely affect the overall program operation. Even if the quality assurance function applied to one digital protection controller is applied to another digital protection controller, the test range extends to the entire function of the digital protection controller. Therefore, the time and cost required for the test become a problem.

すでに設置され稼働しているディジタル保護制御装置に対しては、製造者がディジタル保護制御装置の設置場所に赴いてプログラム変更作業を行うことがあるが、そのようなプログラム変更作業をユーザー側で実施することもある。このとき、ユーザーが誤って適切でないプログラムの保存してしまうと、ディジタル保護制御装置の動作に問題が生じる可能性がある。   For digital protection control devices that are already installed and in operation, the manufacturer sometimes visits the installation place of the digital protection control device to perform program change work, but such program change work is performed by the user There is also something to do. At this time, if the user erroneously saves an inappropriate program, a problem may occur in the operation of the digital protection controller.

本実施形態は、上述のような問題を鑑みてなされたものであり、ディジタル保護制御装置の一部機能に関するプログラムを変更したときに、機能全体の試験を行うことを不要として、機能変更又は追加時の試験期間および費用を削減することができる、利便性の高いディジタル保護制御装置を提供することを目的とする。また、誤ったプログラム変更が行われることを防止することで、信頼性の高いディジタル保護制御装置を提供することを目的とする。   The present embodiment has been made in view of the problems as described above, and it is not necessary to test the entire function when changing the program related to a part of the function of the digital protection control device, and the function change or addition is made. It is an object of the present invention to provide a highly convenient digital protection control device capable of reducing the time required for testing and cost. Another object of the present invention is to provide a highly reliable digital protection and control device by preventing an erroneous program change from being performed.

本実施形態のディジタル保護制御装置は、電力系統を保護するものであって、電力系統から取り込んだ電気量をディジタルデータに変換するアナログ/ディジタル変換部と、不揮発性メモリで構成され、前記ディジタル保護制御装置のハードウェア及び機能の構成情報と、保護制御用プログラムを保存する第1の記憶部と、前記アナログ/ディジタル変換部から出力された前記ディジタルデータを、前記記憶部に保存されている前記保護制御用プログラムにしたがって演算処理する演算処理装置と、を備え、前記保護制御用プログラムは、前記ディジタル保護制御装置の有する機能に応じて複数に分割された分割プログラムから成り、前記分割プログラムそれぞれが、当該分割プログラムが対応するハードウェア及び機能の構成情報を含み、揮発性メモリで構成された第2の記憶部を更に有し、前記演算処理装置は、前記第1の記憶部への保存要求がなされた前記分割プログラムを前記第2の記憶部に一時的に保存し、前記保存要求がなされた分割プログラムのハードウェア及び機能の構成情報を、前記第1の記憶部に保存された前記ディジタル保護制御装置のハードウェア及び機能の構成情報と比較して、一致する場合には前記保存要求がなされた分割プログラムを前記第1の記憶部へ保存し、前記分割プログラムのそれぞれが、各分割プログラムの動作及び品質を保証可能なプログラムの組み合わせ情報を有し、前記第1の記憶部は、前記ディジタル保護制御装置の構成情報と、前記保護制御用プログラムが保存される主領域と、前記保存要求がなされた分割プログラムを前記主領域に保存する際に、前記主領域に保存された前記保護制御用プログラムが保存される副領域と、を有するThe digital protection control device of this embodiment is for protecting a power system, and comprises an analog / digital conversion unit for converting an amount of electricity taken from the power system into digital data, and a non-volatile memory, and the digital protection The first storage unit for storing hardware and function configuration information of a control device, a protection control program, and the digital data output from the analog / digital conversion unit are stored in the storage unit. An arithmetic processing unit that performs arithmetic processing in accordance with a protection control program, the protection control program comprising a division program divided into a plurality of divisions according to the function of the digital protection and control unit; , it looks including the configuration information of the hardware and functions which the dividing program corresponds, The processing unit further includes a second storage unit configured of a volatile memory, and the arithmetic processing unit temporarily stores, in the second storage unit, the divided program for which the storage request to the first storage unit has been made. The configuration information of the hardware and the function of the divided program which has been saved and the storage request has been made is compared with the configuration information of the hardware and the function of the digital protection control device stored in the first storage unit. If so, the divided program for which the storage request has been made is stored in the first storage unit, and each of the divided programs has combination information of programs that can guarantee the operation and quality of each divided program, The first storage unit includes configuration information of the digital protection control device, a main area in which the protection control program is stored, and a division program for which the storage request has been made. When saving the region, having a sub-region where the protective control program stored in the main area is stored.

第1の実施形態に係るディジタル保護制御装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a digital protection control device according to a first embodiment. 演算部の構成を示すブロック図である。It is a block diagram which shows the structure of a calculating part. 基本プログラムの構成を示す図である。It is a figure which shows the structure of a basic program. 追加プログラムの構成を示す図である。It is a figure which shows the structure of an addition program. 保護制御用プログラムの変更動作を示すフローチャートである。It is a flow chart which shows change operation of a program for protection control. 第2の実施形態に係るディジタル保護制御装置の演算部の構成を示すブロック図である。It is a block diagram which shows the structure of the calculating part of the digital protection control apparatus which concerns on 2nd Embodiment. 追加プログラムの構成を示す図である。It is a figure which shows the structure of an addition program. 保護制御用プログラムの変更動作を示すフローチャートである。It is a flow chart which shows change operation of a program for protection control. 変更後の保護制御用プログラムの確認動作を示すフローチャートである。It is a flowchart which shows confirmation operation | movement of the program for protection control after a change. 第3の実施形態に係るディジタル保護制御装置の演算部の構成を示すブロック図である。It is a block diagram which shows the structure of the calculating part of the digital protection control apparatus which concerns on 3rd Embodiment.

以下、実施形態に係るディジタル保護制御装置について、図面を参照して説明する。
[第1の実施形態]
[構成]
図1は、第1の実施形態に係るディジタル保護制御装置の構成を示す。ディジタル保護制御装置100は、アナログ/ディジタル変換部1、演算部2、伝送部3、入出力部4及び表示部5を備える。
Hereinafter, digital protection and control devices according to embodiments will be described with reference to the drawings.
First Embodiment
[Constitution]
FIG. 1 shows the configuration of a digital protection control device according to the first embodiment. The digital protection control device 100 includes an analog / digital conversion unit 1, an operation unit 2, a transmission unit 3, an input / output unit 4, and a display unit 5.

アナログ/ディジタル変換部1には、外部機器から電力系統の電気量、すなわち電圧又は電流が入力される。アナログ/ディジタル変換部1は、アナログの入力値を所定周期でサンプリングし、量子化されたディジタル量に変換するアナログ/ディジタル変換を行う。   The electrical quantity of the power system, that is, the voltage or the current is input to the analog / digital converter 1 from an external device. The analog-to-digital converter 1 performs analog-to-digital conversion which samples an analog input value at a predetermined cycle and converts it into a quantized digital quantity.

演算部2は、アナログ/ディジタル変換部1で変換されたディジタル量を用いて、ディジタル保護制御機能に関連する演算処理を行う。演算部2の詳細は後述する。   The arithmetic unit 2 performs arithmetic processing associated with the digital protection control function using the digital amount converted by the analog / digital converter 1. Details of the calculation unit 2 will be described later.

伝送部3は、通信ネットワークを介して遠隔監視制御装置等の外部装置とデータの送信及び受信を行う。入出力部4は、外部機器と接点による切入情報の入力および出力を行う。表示部5は、LCDおよびLED等により構成され、ディジタル保護制御装置100の状態およびディジタル保護制御装置100内部に保存した情報の表示を行う。アナログ/ディジタル変換部1、演算部2、伝送部3、入出力部4及び表示部5の間はバスで接続され、それぞれの間でデータのやりとりが可能となっている。   The transmission unit 3 transmits and receives data with an external device such as a remote monitoring control device via a communication network. The input / output unit 4 inputs and outputs cutting information by an external device and a contact. The display unit 5 includes an LCD, an LED, and the like, and displays the state of the digital protection control device 100 and the information stored in the digital protection control device 100. The analog / digital conversion unit 1, the calculation unit 2, the transmission unit 3, the input / output unit 4 and the display unit 5 are connected by a bus and data can be exchanged between them.

図2は、演算部2の構成を示す。演算部2は、演算処理装置21と、第1の記憶部としての不揮発性メモリ23と、第2の記憶部としての揮発性メモリ22と、を有する。演算部2、不揮発性メモリ23及び揮発性メモリ22の間はバスで接続され、それぞれの間でデータのやりとりが可能となっている。   FIG. 2 shows the configuration of the calculation unit 2. The arithmetic unit 2 includes an arithmetic processing unit 21, a non-volatile memory 23 as a first storage unit, and a volatile memory 22 as a second storage unit. The operation unit 2, the non-volatile memory 23, and the volatile memory 22 are connected by a bus, and data can be exchanged between them.

演算処理装置21は、例えば、CPU等のプロセッサで構成される。不揮発性メモリ23はメイン電源が落ちてもデータ内容を保持することができるものであり、例えば、EEPROM等を用いることができる。揮発性メモリ22は、例えば、読み書きの高速性に優れたDRAMやSRAM等を用いることができる。   The arithmetic processing unit 21 is configured by, for example, a processor such as a CPU. The non-volatile memory 23 can hold data contents even when the main power is turned off, and an EEPROM or the like can be used, for example. The volatile memory 22 can be, for example, a DRAM, an SRAM, or the like which is excellent in high-speed read / write performance.

不揮発性メモリ23は、ディジタル保護制御装置の構成情報200及び保護制御用プログラム230が保存されている。ディジタル保護制御装置の構成情報200は、ディジタル保護制御装置100全体のハードウェア及び機能の構成情報である。   The non-volatile memory 23 stores configuration information 200 of the digital protection control device and a protection control program 230. The configuration information 200 of the digital protection control device is configuration information of hardware and functions of the entire digital protection control device 100.

保護制御用プログラム230は、ディジタル保護制御装置100の動作に必要なプログラムである。演算処理装置21は、不揮発性メモリ23に保存された保護制御用プログラム230を揮発性メモリ22にコピーし、揮発性メモリ22にコピーした保護制御用プログラム230を読み出すことで、ディジタル保護制御装置100の機能を実現する。例えば、演算処理装置21は、アナログ/ディジタル変換部1から出力されたディジタル量を、保護制御用プログラム230にしたがって演算処理する。また、詳しくは後述するが、保護制御用プログラム230を変更する際に、揮発性メモリ22には書き換え用のプログラムが一時的に保存される。   The protection control program 230 is a program necessary for the operation of the digital protection control device 100. The arithmetic processing unit 21 copies the protection control program 230 stored in the non-volatile memory 23 to the volatile memory 22 and reads the protection control program 230 copied to the volatile memory 22, thereby the digital protection control device 100. To realize the function of For example, the arithmetic processing unit 21 arithmetically processes the digital amount output from the analog / digital conversion unit 1 in accordance with the protection control program 230. Further, although the details will be described later, when changing the protection control program 230, the program for rewriting is temporarily stored in the volatile memory 22.

保護制御用プログラム230は、ディジタル保護制御装置100が実現する機能に応じて複数に分割された分割プログラムから構成されている。ここでは、分割プログラムとして、ディジタル保護制御装置100の起動時に動作する基本プログラム231と、装置起動後に追加機能として動作する追加プログラム232が保存されている。   The protection control program 230 is composed of a divided program divided into a plurality of parts according to the function realized by the digital protection control device 100. Here, a basic program 231 operating at startup of the digital protection control device 100 and an additional program 232 operating as an additional function after startup of the device are stored as divided programs.

追加プログラム232は、通信機能や演算機能といった、ディジタル保護制御装置100の起動後に実施する機能に応じて作成することができる。図2では、1つの追加プログラムを図示しているが、追加プログラムの数は、2以上であっても良い。また、追加機能が実装されていない段階では、追加プログラムが無く基本プログラムのみが保存されていることもある。ディジタル保護制御装置100の既に実装されている機能に変更を加える場合は、既に保存されている基本プログラム231又は追加プログラム232の書き換えを行う。ディジタル保護制御装置100の新たな機能を追加する場合には、新たな追加プログラムの書き込みを行う。   The additional program 232 can be created according to a function to be performed after the digital protection control device 100 starts up, such as a communication function or an arithmetic function. Although one additional program is illustrated in FIG. 2, the number of additional programs may be two or more. In addition, there may be no additional program and only the basic program is saved when the additional function is not implemented. When changing the already implemented function of the digital protection control device 100, the basic program 231 or the additional program 232 already stored is rewritten. When adding a new function of the digital protection control device 100, a new additional program is written.

図3は、基本プログラム231の構成を示している。基本プログラム231は、基本プログラムの構成情報2310、基本プログラム識別情報2311及び基本プログラムモジュール群2312から構成される。基本プログラムの構成情報2310は、基本プログラム231が対応するハードウェア及び機能の構成情報、すなわち、基本プログラム231が動作可能かつ品質保証可能なハードウェア及び機能の構成情報を意味する。基本プログラム識別情報2311は、基本プログラム231自体を表わして他のプログラムから識別可能にする情報を意味し、例えばIDである。基本プログラムモジュール群2312は、ディジタル保護制御装置100の起動時の機能を実現するための単位プログラムの群を意味する。   FIG. 3 shows the configuration of the basic program 231. The basic program 231 comprises basic program configuration information 2310, basic program identification information 2311 and a basic program module group 2312. The configuration information 2310 of the basic program means configuration information of hardware and functions corresponding to the basic program 231, that is, configuration information of hardware and functions capable of operating the quality of the basic program 231 and capable of quality assurance. Basic program identification information 2311 represents information that represents the basic program 231 itself and allows identification from other programs, and is, for example, an ID. The basic program module group 2312 means a group of unit programs for realizing the function when the digital protection control device 100 is activated.

図4は追加プログラム232の構成を示す。追加プログラム232は、追加プログラムの構成情報2320、追加プログラム識別情報2321及び追加プログラムモジュール2322から構成される。追加プログラムの構成情報2320は、追加プログラム232が対応するハードウェア及び機能の構成情報、すなわち追加プログラム232が動作可能かつ品質保証可能なハードウェア及び機能の構成情報を意味する。追加プログラム識別情報2321は、追加プログラム232自体を表わして他のプログラムから識別可能にする情報を意味し、例えばIDである。追加プログラムモジュール2322は、ディジタル保護制御装置100の起動後の追加機能を実現するための単位プログラムを意味する。   FIG. 4 shows the configuration of the additional program 232. The additional program 232 includes additional program configuration information 2320, additional program identification information 2321 and an additional program module 2322. The configuration information 2320 of the additional program means configuration information of hardware and functions corresponding to the additional program 232, that is, configuration information of hardware and functions capable of operating the quality of the additional program 232 and capable of quality assurance. The additional program identification information 2321 represents information that represents the additional program 232 itself and makes it distinguishable from other programs, and is, for example, an ID. The additional program module 2322 means a unit program for realizing an additional function after activation of the digital protection control device 100.

[動作]
第1の実施形態のディジタル保護制御装置100の動作を説明する。まず、ディジタル保護制御装置100の通常動作時の説明をする。通常動作時とは、保護制御用プログラム230の変更動作を行わずにディジタル保護制御装置100の保護制御動作を行っているときを意味する。通常動作時には、演算処理装置21は不揮発性メモリ23に保存された保護制御用プログラム230を揮発性メモリ22にコピーし、揮発性メモリ22上の保護制御用プログラム230を実行することで、保護制御機能を実現する。
[Operation]
The operation of the digital protection control device 100 of the first embodiment will be described. First, the normal operation of the digital protection control device 100 will be described. The normal operation time means that the protection control operation of the digital protection control device 100 is performed without changing the protection control program 230. During normal operation, the arithmetic processing unit 21 copies the protection control program 230 stored in the non-volatile memory 23 to the volatile memory 22 and executes the protection control program 230 on the volatile memory 22 to perform protection control. To realize the function.

次に、図5のフローチャートを参照して、保護制御用プログラム230の変更動作について説明する。保護制御用プログラム230の変更動作については、基本プログラム231及び追加プログラム232から成る分割プログラムのいずれかの書き換えを行う場合と、新たな追加プログラムの書き込みを行う場合がある。書き換えと書き込みを同時に行っても良い。また、書き換えを行うプログラムは一つであっても良く、複数であっても良い。ここでは一例として、基本プログラム231及び追加プログラム232の書き換えを行う場合を説明する。   Next, the change operation of the protection control program 230 will be described with reference to the flowchart of FIG. Regarding the change operation of the protection control program 230, there are cases where one of the divided programs consisting of the basic program 231 and the additional program 232 is rewritten and writing of a new additional program is carried out. Rewriting and writing may be performed simultaneously. Also, the program to be rewritten may be one or more. Here, the case where the basic program 231 and the additional program 232 are rewritten will be described as an example.

基本プログラム231及び追加プログラム232の書き換え用プログラムである基本プログラム231’及び追加プログラム232’のデータは、データ保存要求信号と共に、遠隔サーバー等から通信ネットワークを介してディジタル保護制御装置100の伝送部3に送信される。書き換え用プログラムである基本プログラム231’及び追加プログラム232’も、既存の基本プログラム231と追加プログラム232と同じ構成である。   The data of the basic program 231 ′ and the additional program 232 ′, which are programs for rewriting the basic program 231 and the additional program 232, are transmitted from the remote server or the like via the communication network with the data storage request signal. Sent to The basic program 231 ′ and the additional program 232 ′, which are rewriting programs, have the same configuration as the existing basic program 231 and the additional program 232.

データ保存要求信号を受信すると(ステップS01:Yes)、演算部の演算処理装置21は、書き換え用の基本プログラム231’及び追加プログラム232’のデータを、揮発性メモリ22へ一時的に保存する(ステップS02)。   When the data storage request signal is received (step S01: Yes), the processing unit 21 of the processing unit temporarily stores the data of the basic program 231 ′ for rewriting and the additional program 232 ′ in the volatile memory 22 (see FIG. Step S02).

演算処理装置21は、揮発性メモリ22に保存された基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320を、不揮発性メモリ23に保存されているディジタル保護制御装置の構成情報200と比較する(ステップS03)。   The arithmetic processing unit 21 stores the configuration information 2310 of the basic program 231 ′ stored in the volatile memory 22 and the configuration information 2320 of the additional program 232 ′ in the configuration information 200 of the digital protection control device stored in the non-volatile memory 23. And (step S03).

基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320がディジタル保護制御装置の構成情報200と一致しない場合は(ステップS03:No)、書き換え作業を行わずに削除する(ステップS04)。   If the configuration information 2310 of the basic program 231 'and the configuration information 2320 of the additional program 232' do not match the configuration information 200 of the digital protection control device (step S03: No), deletion is performed without performing rewriting (step S04) .

基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320がディジタル保護制御装置の構成情報200と一致する場合は(ステップS03:Yes)、揮発性メモリ22に一時的に保存された基本プログラム231’及び追加プログラム232’を、不揮発性メモリ23に保存し(ステップS05)、既存の基本プログラム231または追加プログラム232は削除する。   If the configuration information 2310 of the basic program 231 'and the configuration information 2320 of the additional program 232' match the configuration information 200 of the digital protection control device (step S03: Yes), the basic stored temporarily in the volatile memory 22. The program 231 ′ and the additional program 232 ′ are stored in the non-volatile memory 23 (step S05), and the existing basic program 231 or the additional program 232 is deleted.

もし、基本プログラム231’及び追加プログラム232’のうちいずれか一方のプログラムの構成情報が一致し、他方が一致しない場合は、一致するプログラムのみを保存し、一致しないプログラムは削除するようにしても良い。あるいは、全てのプログラムが一致する場合にのみ保存を行い、一つでも一致しないプログラムが有る場合には、全てのプログラムの保存を行わずに削除するようにしても良い。   If the configuration information of one of the basic program 231 ′ and the additional program 232 ′ matches, and the other does not match, only the matching program is stored and the non-matching program is deleted. good. Alternatively, storage may be performed only when all programs match, and when there is even one program that does not match, all programs may be deleted without saving.

[作用効果]
第1の実施形態において、ディジタル保護制御装置100は、アナログ/ディジタル変換部1、第1の記憶部としての不揮発性メモリ23及び演算処理装置21を備える。アナログ/ディジタル変換部1は、電力系統からの取り込んだ電気量をディジタル量に変換する。不揮発性メモリ23は、ディジタル保護制御装置のハードウェア及び機能の構成情報200と、保護制御用プログラム230を保存する。演算処理装置21は、アナログ/ディジタル変換部1から出力されたディジタル量を、保護制御用プログラム230にしたがって演算処理する。保護制御用プログラム230は、ディジタル保護制御装置100の有する機能に応じて複数に分割された分割プログラム、例えば基本プログラム231と追加プログラム232から成り、分割プログラムそれぞれが、その分割プログラムが対応するハードウェア及び機能の構成情報2310,2320を含む。
[Function effect]
In the first embodiment, the digital protection control device 100 includes an analog / digital conversion unit 1, a non-volatile memory 23 as a first storage unit, and an arithmetic processing unit 21. The analog / digital conversion unit 1 converts the amount of electricity taken from the power system into a digital amount. The non-volatile memory 23 stores hardware and function configuration information 200 of the digital protection control device, and a protection control program 230. The arithmetic processing unit 21 arithmetically processes the digital amount output from the analog / digital converter 1 according to the protection control program 230. The protection control program 230 is divided into a plurality of divided programs according to the function of the digital protection control device 100, for example, a basic program 231 and an additional program 232, and each divided program corresponds to hardware corresponding to the divided program. And function configuration information 2310 and 2320.

保護制御用プログラム230を機能に応じて分割し、各分割プログラムが対応するハードウェア及び機能の構成情報を備えることで、それらの分割プログラムを同じ記憶部に保存していても、既存の機能に変更を行う場合は、その機能を実現するための基本プログラム231又は追加プログラム232を書き換えれば良い。また、新たな機能の追加を行う場合には、新たな追加プログラムを書き込みすれば良い。これによって、保護制御用プログラム230全体を書き換える必要がなくなるため、変更作業の時間を短縮することができる。さらに、プログラム変更後の試験については、変更があった機能に対してのみ実施すれば良い。これによって、利便性の高いディジタル保護制御装置100を提供することができる。   By dividing the protection control program 230 according to functions and providing hardware and function configuration information corresponding to each divided program, even if the divided programs are stored in the same storage unit, the existing functions can be used. When the change is to be made, the basic program 231 or the additional program 232 for realizing the function may be rewritten. Also, when adding a new function, a new additional program may be written. This eliminates the need to rewrite the entire protection control program 230, so that the time for the change operation can be shortened. Furthermore, tests after program change need only be performed on functions that have changed. Thus, the digital protection control device 100 can be provided with high convenience.

また、分割プログラムそれぞれが、その分割プログラムが対応するハードウェア及び機能の構成情報2310,2320を含むことで、対応していないハードウェア及び機能構成から成るディジタル保護制御装置100に分割プログラムが誤って保存されることを防止することができる。これによって、信頼性の高いディジタル保護制御装置100を提供することができる。   Further, each divided program includes configuration information 2310 and 2320 of hardware and functions corresponding to the divided program, so that the division program erroneously occurs in the digital protection control device 100 including hardware and functional configurations not corresponding. It can be prevented from being saved. This can provide a highly reliable digital protection control device 100.

具体的には、ディジタル保護制御装置100は第2の記憶部としての揮発性メモリ22を更に有している。演算処理装置21が、不揮発性メモリ23への保存要求がなされた分割プログラムを揮発性メモリ22に一時的に保存する。演算処理装置21は、保存要求がなされた分割プログラムのハードウェア及び機能の構成情報2310,2320を、不揮発性メモリ23に保存されたディジタル保護制御装置のハードウェア及び機能の構成情報200と比較して、比較結果が一致する場合には前記保存要求がなされた分割プログラムを不揮発性メモリ23に保存する。比較結果が一致しない場合には、保存要求がなされた分割プログラムを揮発性メモリ22から削除する。   Specifically, the digital protection control device 100 further includes a volatile memory 22 as a second storage unit. The arithmetic processing unit 21 temporarily stores in the volatile memory 22 the divided program for which the storage request to the non-volatile memory 23 has been made. The arithmetic processing unit 21 compares the hardware and function configuration information 2310 and 2320 of the division program for which the storage request has been made with the hardware and function configuration information 200 of the digital protection control unit stored in the non-volatile memory 23. If the comparison results in agreement, the divided program for which the storage request has been made is stored in the non-volatile memory 23. If the comparison results do not match, the divided program for which the storage request has been made is deleted from the volatile memory 22.

このような動作によって、分割プログラムが対応していないディジタル保護制御装置100に誤って保存されることを防ぐことができる。   Such an operation can prevent the division program from being erroneously stored in the incompatible digital protection control device 100.

[第2の実施形態]
[構成]
第2の実施形態に係るディジタル保護制御装置100について、図6〜図9を用いて説明する。なお、以降の実施形態では、前述の実施形態とは異なる点のみを説明し、前述の実施形態と同じ部分については同じ符号を付して詳細な説明は省略する。
Second Embodiment
[Constitution]
A digital protection and control device 100 according to the second embodiment will be described with reference to FIGS. In the following embodiments, only differences from the above-described embodiments will be described, and the same parts as the above-described embodiments will be assigned the same reference numerals and detailed descriptions thereof will be omitted.

図6に示すように、第2の実施形態において、不揮発性メモリ23には主領域24と副領域25が設けられている。主領域24には、ハードウェア及び機能の構成情報200及び保護制御用プログラム230が保存される。保護制御用プログラム230は、第1の実施形態と同様に、基本プログラム231と追加プログラム232とに分割される。なお、図6では、プログラムの変更動作が行われ、主領域24には、書き換え用の基本プログラム231’及び追加プログラム232’が保存された保護制御用プログラム230’が保存されている状態を示している。   As shown in FIG. 6, in the second embodiment, the non-volatile memory 23 is provided with a main area 24 and a sub area 25. The main area 24 stores hardware and function configuration information 200 and a protection control program 230. The protection control program 230 is divided into a basic program 231 and an additional program 232 as in the first embodiment. 6, the program change operation is performed, and the main area 24 is stored with the protection control program 230 ′ in which the rewriting basic program 231 ′ and the additional program 232 ′ are stored. ing.

不揮発性メモリ23の副領域25には、通常動作時にはデータは保存されないが、プログラムの変更動作の際に、主領域24に保存されていた既存の保護制御用プログラム230が一時的に保存される。   No data is stored in the sub area 25 of the non-volatile memory 23 during normal operation, but the existing protection control program 230 stored in the main area 24 is temporarily stored in the program change operation. .

図7に示すように、第2の実施形態において、追加プログラム232は、追加プログラムの構成情報2320、追加プログラム識別情報2321及び追加プログラムモジュール2322に加えて、プログラム組み合わせ情報2323を持つ。   As shown in FIG. 7, in the second embodiment, the additional program 232 has program combination information 2323 in addition to configuration information 2320 of additional programs, additional program identification information 2321 and additional program modules 2322.

プログラム組み合わせ情報2323とは、その追加プログラム232を他のプログラムと組み合わせて使用した場合に、その追加プログラム232の動作及び品質を保証可能なプログラムの組み合わせ情報である。プログラム組み合わせ情報2323は、例えば、その追加プログラム232の動作に必須な基本プログラムおよび追加プログラムの情報(以下、「必須プログラム情報」という)と、その追加プログラム232と組み合わせて利用することができない基本プログラム及び追加プログラムの情報(以下、「NGプログラム情報」という)を含むことができる。必須プログラム情報及びNGプログラムの情報は、例えば、対象となるプログラムの識別情報とすることができる。   The program combination information 2323 is combination information of programs which can guarantee the operation and quality of the additional program 232 when the additional program 232 is used in combination with another program. The program combination information 2323 can be, for example, a basic program that is essential to the operation of the additional program 232 and information on the additional program (hereinafter referred to as "essential program information") and a basic program that can not be used in combination with the additional program 232. And information on additional programs (hereinafter referred to as "NG program information"). The required program information and the information on the NG program can be, for example, identification information of a target program.

[動作]
第2の実施形態のディジタル保護制御装置100の動作を、図8及び図9のフローチャートを用いて説明する。第2の実施形態では、プログラム変更時の動作と、変更後の動作について説明する。
[Operation]
The operation of the digital protection control device 100 according to the second embodiment will be described with reference to the flowcharts of FIGS. In the second embodiment, an operation at the time of program change and an operation after the change will be described.

図8は、プログラムの変更動作を示している。図8のステップS11〜ステップS14までは、図5のフローチャートに示したステップS01〜S04と同様である。   FIG. 8 shows a program change operation. Steps S11 to S14 in FIG. 8 are the same as steps S01 to S04 shown in the flowchart of FIG. 5.

すなわち、データ保存要求信号を受信すると(ステップS11:Yes)、演算部2の演算処理装置21は、書き換え用の基本プログラム231’及び追加プログラム232’のデータを、揮発性メモリ22へ一時的に保存する(ステップS12)。演算処理装置21は、揮発性メモリ22に保存された基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320を、不揮発性メモリ23の主領域24に保存されているディジタル保護制御装置の構成情報200と比較する(ステップS13)。基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320がディジタル保護制御装置の構成情報200と一致しない場合は(ステップS13:No)、書き換え作業を行わずに削除する(ステップS14)。   That is, when the data storage request signal is received (step S11: Yes), the arithmetic processing unit 21 of the arithmetic unit 2 temporarily transmits the data of the basic program 231 'for rewriting and the additional program 232' to the volatile memory 22. Save (step S12). The arithmetic processing unit 21 stores the configuration information 2310 of the basic program 231 ′ and the configuration information 2320 of the additional program 232 ′ stored in the volatile memory 22 in the main area 24 of the non-volatile memory 23. The configuration information 200 is compared with the configuration information 200 (step S13). If the configuration information 2310 of the basic program 231 'and the configuration information 2320 of the additional program 232' do not match the configuration information 200 of the digital protection control device (step S13: No), deletion is performed without performing rewriting work (step S14). .

基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320がディジタル保護制御装置の構成情報200と一致する場合は(ステップS13:Yes)、演算処理装置21は、不揮発性メモリ23の主領域24に保存されていた既存の基本プログラム231または追加プログラム232を、副領域25に一時的にコピーする(ステップS15)。すなわち、書き換え用の基本プログラム231’及び追加プログラム232’を主領域24に保存する前に、既存の基本プログラム231及び追加プログラム232を副領域25に退避させておく。既存のプログラムの退避を行った後に、揮発性メモリ22に一時的に保存していた基本プログラム231’及び追加プログラム232’を主領域24に保存する(ステップS16)。既存の基本プログラム231及び追加プログラム232は削除する。   If the configuration information 2310 of the basic program 231 ′ and the configuration information 2320 of the additional program 232 ′ match the configuration information 200 of the digital protection control device (step S13: Yes), the arithmetic processing unit 21 determines that the main contents of the non-volatile memory 23 are The existing basic program 231 or additional program 232 stored in the area 24 is temporarily copied to the sub area 25 (step S15). That is, before the basic program for rewriting 231 ′ and the additional program 232 ′ are stored in the main area 24, the existing basic program 231 and the additional program 232 are saved in the sub area 25. After saving the existing program, the basic program 231 'and the additional program 232' temporarily stored in the volatile memory 22 are stored in the main area 24 (step S16). The existing basic program 231 and additional program 232 are deleted.

以上のようなプログラムの変更動作が完了すると、ディジタル保護制御装置100は変更後のプログラムに従って動作を開始する前に、変更後のプログラムが適切なものであるかの確認動作を行う。図9に変更後の確認動作を示している。ここで、演算処理装置21は、依然として揮発性メモリ22にコピーした書き換え前の保護制御用プログラム230で動作している状態である。   When the program change operation as described above is completed, the digital protection control device 100 performs an operation to confirm that the changed program is appropriate before starting the operation according to the changed program. FIG. 9 shows the confirmation operation after the change. Here, the arithmetic processing unit 21 is still in the state of being operated by the protection control program 230 before rewriting, which is copied to the volatile memory 22.

演算処理装置21は、保存要求に応じて主領域24に保存された書き換え用のプログラムがある場合(ステップS20:Yes)、不揮発性メモリ23の主領域24に保存した、書き換え後の基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320と、ディジタル保護制御装置の構成情報200とを比較する(ステップS21)。   When there is a program for rewriting stored in the main area 24 in response to the storage request (step S20: Yes), the arithmetic processing unit 21 stores the rewritten basic program 231 stored in the main area 24 of the nonvolatile memory 23. The configuration information 2310 of 'and the configuration information 2320 of the additional program 232' are compared with the configuration information 200 of the digital protection control device (step S21).

書き換え後の基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320いずれか、あるいは両方の構成情報が一致する場合(ステップS21:Yes)は、演算処理装置21は、書き換え後の追加プログラム232’の組み合わせ情報2323を、主領域24に保存されている他のプログラムと照合し、他のプログラムの組み合わせが、追加プログラム232’の動作及び品質を保証するものであるかを判断する(ステップS22)。   If one or both of the configuration information 2310 of the basic program 231 ′ after rewriting and the configuration information 2320 of the additional program 232 ′ match (step S21: Yes), the arithmetic processing unit 21 adds the information after rewriting The combination information 2323 of the program 232 ′ is collated with other programs stored in the main area 24 to determine whether the combination of the other programs guarantees the operation and quality of the additional program 232 ′ Step S22).

例えば、組み合わせ情報2323が必須プログラム情報とNGプログラム情報から構成されている場合には必須プログラム情報に記載されている基本プログラム及び追加プログラムが主領域24に保存されており、かつNGプログラム情報に記載されている基本プログラム及び追加プログラムが主領域24に保存されていなければ、追加プログラム232’の動作及び品質が保証されていると判断する。必須プログラム情報に記載されている基本プログラム及び追加プログラムが主領域24に保存されていない、又はNGプログラム情報に記載されている基本プログラム及び追加プログラムが主領域24に保存されていなければ、追加プログラム232’の動作及び品質が保証されていない状態と判断する。   For example, when the combination information 2323 is composed of required program information and NG program information, the basic program and additional program described in the required program information are stored in the main area 24 and described in the NG program information. If the basic program and the additional program being stored are not stored in the main area 24, it is determined that the operation and quality of the additional program 232 'are guaranteed. If the basic program and the additional program described in the essential program information are not stored in the main area 24 or the basic program and the additional program described in the NG program information are not stored in the main area 24, the additional program It is determined that the operation and quality of 232 'are not guaranteed.

照合の結果、追加プログラム232’の動作及び品質が保証されていると判断された場合(ステップS22:Yes)、変更後のプログラムが適切なものであるかの確認動作を終了する。演算処理装置21は、副領域25に保存していた既存の保護制御用プログラム230を削除して(ステップS23)、ディジタル保護制御装置100を再起動させる(ステップS24)。   If it is determined that the operation and the quality of the additional program 232 'are guaranteed as a result of the collation (Step S22: Yes), the operation of confirming whether the program after the change is appropriate is ended. The arithmetic processing unit 21 deletes the existing protection control program 230 stored in the sub area 25 (step S23), and restarts the digital protection control device 100 (step S24).

具体的には、書き換えた基本プログラム231’及び追加プログラム232’から構成される保護制御用プログラム230’を不揮発性メモリ23にコピーして、揮発性メモリ22上の保護制御用プログラム230’を実行する。これによって、ディジタル保護制御装置100は、変更後のプログラムに従って保護制御動作を行う。   Specifically, the protection control program 230 'including the rewritten basic program 231' and the additional program 232 'is copied to the non-volatile memory 23, and the protection control program 230' on the volatile memory 22 is executed. Do. Thus, the digital protection control device 100 performs the protection control operation according to the changed program.

ステップS21に戻り、基本プログラム231’の構成情報2310及び追加プログラム232’の構成情報2320のいずれか、あるいは両方の構成情報が一致しない場合(ステップS21:No)は、変更後のプログラムがディジタル保護制御装置100のハードウェア及び機能の構成に対応していないことになる。そのため、変更後のプログラムに従ってディジタル保護制御装置100を動作させることは適切でない。   Returning to step S21, when either or both of the configuration information 2310 of the basic program 231 'and the configuration information 2320 of the additional program 232' do not match (step S21: No), the program after the change is digital protection It does not correspond to the hardware and function configuration of the control device 100. Therefore, it is not appropriate to operate the digital protection control device 100 according to the changed program.

また、ステップS22に戻り、照合の結果、追加プログラム232’の動作及び品質が保証されていないと判断された場合(ステップS22:No)も、変更後のプログラムに従ってディジタル保護制御装置100を動作させることは適切でない。   Also, when it is determined that the operation and the quality of the additional program 232 ′ are not guaranteed as a result of the comparison, the digital protection control device 100 is operated according to the changed program as a result of the comparison (step S22: No). It is not appropriate.

これらの場合(ステップS21及びステップS22:No)、演算処理装置21は、副領域25に保存されていた既存の保護制御用プログラム230を、主領域24に戻す動作を行う。具体的には、副領域25に保存されている既存の保護制御用プログラム230の基本プログラムの構成情報2310及び追加プログラム232の構成情報2320を、主領域24に保存されているディジタル保護制御装置の構成情報200と比較する(ステップS25)。基本プログラムの構成情報2310及び追加プログラム232の構成情報2320がディジタル保護制御装置の構成情報200と一致しない場合(ステップS25:No)には、副領域25の保護制御用プログラム230を主領域24に戻すことはできない。この状態では、ディジタル保護制御装置100は保護制御動作を行うための適切なプログラムが保存されていない状態になるため、伝送部3からアラーム等を通知すると良い(ステップS26)。   In these cases (steps S21 and S22: No), the arithmetic processing unit 21 performs an operation of returning the existing protection control program 230 stored in the sub area 25 to the main area 24. Specifically, the configuration information 2310 of the basic program of the existing protection control program 230 stored in the sub area 25 and the configuration information 2320 of the additional program 232 are stored in the main area 24 of the digital protection control device. The configuration information 200 is compared (step S25). If the configuration information 2310 of the basic program and the configuration information 2320 of the additional program 232 do not match the configuration information 200 of the digital protection control device (step S25: No), the protection control program 230 of the sub area 25 is set to the main area 24. It can not be returned. In this state, the digital protection control device 100 is in a state where an appropriate program for performing the protection control operation is not stored, so it is preferable to notify an alarm or the like from the transmission unit 3 (step S26).

基本プログラムの構成情報2310及び追加プログラム232の構成情報2320がディジタル保護制御装置の構成情報200と一致する場合(ステップS25:Yes)には、演算処理装置21は、副領域25に保存されている各追加プログラム232の組み合わせ情報2323を、副領域25に保存されている他のプログラムと照合し、他のプログラムの組み合わせが、追加プログラム232の動作及び品質を保証するものであるかを確認する(ステップS27)。具体的な照合の動作は、ステップS22で説明したものと同様である。   If the configuration information 2310 of the basic program and the configuration information 2320 of the additional program 232 match the configuration information 200 of the digital protection control device (step S 25: Yes), the arithmetic processing unit 21 is stored in the sub area 25. The combination information 2323 of each additional program 232 is collated with the other programs stored in the sub area 25 to confirm whether the combination of the other programs guarantees the operation and quality of the additional program 232 ( Step S27). The specific matching operation is the same as that described in step S22.

照合の結果、追加プログラム232の動作及び品質が保証されていない状態であれば(ステップS27:No)、副領域25の保護制御用プログラム230を主領域24に戻すことはできないため、演算処理装置21は伝送部3からアラーム等を通知すると良い(ステップS26)。   If the operation and the quality of the additional program 232 are not guaranteed as a result of the collation (step S27: No), the program 230 for protection control of the sub area 25 can not be returned to the main area 24. 21 may notify an alarm or the like from the transmission unit 3 (step S26).

照合の結果、追加プログラム232の動作及び品質が保証されている状態であれば(ステップS27:Yes)、副領域25に保存されている既存の保護制御用プログラム230を、主領域24に移し(ステップS28)、書き換え用の基本プログラム231’及び追加プログラム232’は削除する。既存の保護制御用プログラム230を戻す際には、書き換えを行ったプログラムのみを戻しても良いし、保護制御用プログラム全体を書き換えても良い。ディジタル保護制御装置100を再起動させ(ステップS24)、変更前の保護制御用プログラム230でディジタル保護制御装置100の動作を開始する。   As a result of the comparison, if the operation and the quality of the additional program 232 are guaranteed (step S27: Yes), the existing protection control program 230 stored in the sub area 25 is transferred to the main area 24 ( Step S28) The basic program 231 'for rewriting and the additional program 232' are deleted. When returning the existing protection control program 230, only the program that has been rewritten may be returned, or the entire protection control program may be rewritten. The digital protection control device 100 is restarted (step S24), and the operation of the digital protection control device 100 is started by the protection control program 230 before the change.

演算処理装置21は、不揮発性メモリ23の主領域24に保存した、書き換え用の基本プログラム231’の構成情報2310及び追加プログラム231’の構成情報2320と、ディジタル保護制御装置の構成情報200とを比較する(ステップS21)。   The arithmetic processing unit 21 stores the configuration information 2310 of the basic program 231 'for rewriting and the configuration information 2320 of the additional program 231' stored in the main area 24 of the non-volatile memory 23, and the configuration information 200 of the digital protection control device. A comparison is made (step S21).

確認動作のステップS21で示した書き換え用の基本プログラム231’及び追加プログラム232’の構成情報2320とディジタル保護制御装置の構成情報200の比較は、プログラムの変更動作のステップS13においても行っている。そのため、ステップS21は省略しても良いが、変更動作と確認動作において構成情報を二重に比較することで、誤ったプログラムの保存をより確実に防ぐことができる。   The comparison of the configuration information 2320 of the rewriting basic program 231 'and the additional program 232' shown in step S21 of the confirmation operation and the configuration information 200 of the digital protection control device is also performed in step S13 of the program change operation. Therefore, although step S21 may be omitted, it is possible to more reliably prevent erroneous program storage by comparing configuration information twice in the change operation and the confirmation operation.

上述の例では、追加プログラム232がプログラム組み合わせ情報2323を備える例を説明したが、基本プログラム231も、その基本プログラム231の動作及び品質を保証可能なプログラムの組み合わせ情報を備えていても良い。その場合は、図9のステップS22において、演算処理装置21は書き換え用の基本プログラム231’についても、組み合わせ情報を他のプログラムと照合して、他のプログラムの組み合わせが、基本プログラム231’の動作及び品質を保証するものであるかを判断すると良い。   In the above-described example, the additional program 232 includes the program combination information 2323. However, the basic program 231 may also include combination information of programs capable of assuring the operation and quality of the basic program 231. In that case, in step S22 of FIG. 9, the arithmetic processing unit 21 also checks the combination information with another program for the rewriting basic program 231 ′, and the combination of the other programs corresponds to the operation of the basic program 231 ′. And it is good to judge whether it is what guarantees the quality.

[作用効果]
(1)第2の実施形態において、分割プログラムである追加プログラム232のそれぞれが、各追加プログラム232の動作及び品質を保証可能なプログラムの組み合わせ情報2323を有する。また、不揮発性メモリ23は、主領域24と副領域25を有している。主領域24には、ディジタル保護制御装置の構成情報200と保護制御用プログラム230とが保存される。副領域25には、保存要求がなされた書き換え用の基本プログラム231’又は追加プログラム232’を主領域24に保存する際に、主領域24に保存された既存の保護制御用プログラム230が保存される。
[Function effect]
(1) In the second embodiment, each of the additional programs 232 which are divided programs has combination information 2323 of programs which can guarantee the operation and quality of each additional program 232. In addition, the non-volatile memory 23 has a main area 24 and a sub area 25. In the main area 24, configuration information 200 of the digital protection control device and a protection control program 230 are stored. The sub area 25 stores the existing protection control program 230 stored in the main area 24 when storing the rewriting basic program 231 'or the additional program 232' for which the storage request has been made in the main area 24. Ru.

追加プログラム232にプログラムの組み合わせ情報2323を組込み、更に書き換えの際に既存の保護制御用プログラム230を一時的に退避させる副領域25を設けることで、例えば、ユーザー側で適切でない追加プログラムを誤って保存してしまった場合でも、その追加プログラムの動作及び品質が保証されていない状態であることが判断でき、誤ったプログラムでディジタル保護制御装置100を動作させてしまうことを防ぐことができる。更に誤って保存されたプログラムから、副領域25に保存した既存のプログラムに戻すことが可能であるため、ディジタル保護制御装置100の動作を停止させてしまう必要が無い。これによって、信頼性及び利便性の高いディジタル保護制御装置100を提供することができる。   By incorporating the combination information 2323 of the program into the additional program 232 and further providing the sub area 25 for temporarily saving the existing protection control program 230 at the time of rewriting, for example, the user side erroneously adds an inappropriate additional program. Even if it is stored, it can be determined that the operation and the quality of the additional program are not guaranteed, and it is possible to prevent the digital protection control device 100 from operating with the wrong program. Furthermore, since it is possible to return from the program saved erroneously to the existing program saved in the sub area 25, there is no need to stop the operation of the digital protection control device 100. As a result, it is possible to provide the digital protection and control device 100 with high reliability and convenience.

具体的な動作としては、演算処理装置21は、保存要求に応じて主領域24に保存された書き換え用の基本プログラム231’又は追加プログラム232’がある場合に、書き換え用の基本プログラム231’又は追加プログラム232’の組み合わせ情報2323を、主領域24に保存されている他の分割プログラムと照合する。照合の結果、書き換え用の基本プログラム231’又は追加プログラム232’の品質及び動作が保証されていないと判断した場合には、副領域25に保存した既存の保護制御用プログラム230を主領域24に保存し、主領域24に保存された書き換え用の基本プログラム231’及び分割プログラムは削除する。   As a specific operation, when the arithmetic processing unit 21 has the rewriting basic program 231 ′ or the additional program 232 ′ stored in the main area 24 in response to the storage request, the rewriting basic program 231 ′ or The combination information 2323 of the additional program 232 ′ is collated with other divided programs stored in the main area 24. If it is determined that the quality and the operation of the basic program 231 ′ for rewriting or the additional program 232 ′ are not guaranteed as a result of the collation, the existing protection control program 230 stored in the sub area 25 is stored in the main area 24. The basic program 231 'for rewriting and the divided programs stored in the main area 24 are deleted.

このような確認動作によって、誤った組み合わせのプログラムが保存されることを防ぎ、速やかに既存のプログラムを復旧させることができる。   Such a confirmation operation can prevent the program of the wrong combination from being saved, and can quickly restore the existing program.

(2)追加プログラム232のそれぞれが有する組み合わせ情報2323は、その追加プログラム232の動作に必要な他の分割プログラムの情報と、その追加プログラム232と組み合わせて利用することができない他の追加プログラムの情報とすると良い。これによって、追加プログラム232が動作不可能な状態や、他のプログラムによって障害が発生してしまうことを防ぐことができる。 (2) The combination information 2323 possessed by each additional program 232 is information of other divided programs necessary for the operation of the additional program 232 and information of other additional programs which can not be used in combination with the additional program 232 It is good to assume. As a result, it is possible to prevent a failure due to a state in which the additional program 232 can not operate or due to another program.

(3)演算処理装置21は、確認動作として、書き換え用の基本プログラム231’及び追加プログラム232’のハードウェア及び機能の構成情報2310,2320と、ディジタル保護制御装置のハードウェア及び機能の構成情報200との比較を行っても良く、構成情報が一致しない場合には、副領域25に保存した保護制御用プログラム230を主領域24に保存し、主領域24に保存された書き換え用の基本プログラム231’又は追加プログラム232’を削除しても良い。プログラムの変更時に加えて、確認動作においても構成情報を比較することで、より信頼性の高いディジタル保護制御装置100を提供することができる。 (3) The arithmetic processing unit 21 performs, as confirmation operation, configuration information 2310 and 2320 of hardware and function of the basic program 231 'for rewriting and additional program 232', and configuration information of hardware and function of digital protection control device A comparison with 200 may be performed, and when the configuration information does not match, the protection control program 230 stored in the sub area 25 is stored in the main area 24, and the rewriting basic program stored in the main area 24 You may delete 231 'or additional program 232'. A more reliable digital protection control device 100 can be provided by comparing the configuration information also in the confirmation operation in addition to the change of the program.

[第3の実施形態]
第3の実施形態に係るディジタル保護制御装置100について、図10を用いて説明する。
第3の実施形態では、図10に示すように、第2の実施形態の不揮発性メモリ23に、エラープログラム情報保存領域26を設けたものである。
Third Embodiment
A digital protection control device 100 according to the third embodiment will be described with reference to FIG.
In the third embodiment, as shown in FIG. 10, an error program information storage area 26 is provided in the non-volatile memory 23 of the second embodiment.

エラープログラム情報保存領域26には、プログラムの変更動作又は確認動作において、構成情報又は組み合わせの誤りが検出されたため、使用不可能として削除された書き換え用の基本プログラム231’又は追加プログラム232’の情報が保存される。   In the error program information storage area 26, since an error in the configuration information or combination is detected in the change operation or check operation of the program, the information of the rewriting basic program 231 ′ or the additional program 232 ′ deleted as unusable. Is saved.

例えば、図8のステップS13又は図9のステップS21において、演算処理装置21は、書き換え用の基本プログラム231’の構成情報2310又は追加プログラム232’の構成情報2320がディジタル保護制御装置の構成情報200と一致しないと判断した場合(ステップS13及びS21:No)、演算処理装置21は、一致しない基本プログラム231’又は追加プログラム232’の情報をエラープログラム情報保存領域26に保存する。基本プログラム231’又は追加プログラム232’の情報は、例えばそれぞれのプログラムの識別情報とすると良い。   For example, in step S13 of FIG. 8 or step S21 of FIG. 9, the arithmetic processing unit 21 stores the configuration information 2310 of the basic program 231 ′ for rewriting or the configuration information 2320 of the additional program 232 ′ as configuration information 200 of the digital protection control device. When it is determined that they do not match (steps S13 and S21: No), the arithmetic processing unit 21 stores the information of the non-matching basic program 231 ′ or the additional program 232 ′ in the error program information storage area 26. The information of the basic program 231 ′ or the additional program 232 ′ may be, for example, identification information of each program.

また、例えば、図9のステップS22において、演算処理装置21は、書き換え後の追加プログラム232’の組み合わせ情報2323を主領域24に保存されている他のプログラムと照合して、他のプログラムの組み合わせが、追加プログラム232’の動作及び品質を保証されていないと判断した場合(ステップS22:No)、演算処理装置21は、その追加プログラム232’の情報をエラープログラム情報保存領域26に保存する。追加プログラム232’の情報は、例えば追加プログラム識別情報2321とすると良い。   Further, for example, in step S22 of FIG. 9, the arithmetic processing unit 21 collates the combination information 2323 of the rewritten additional program 232 ′ with other programs stored in the main area 24, and combines other programs. However, when it is determined that the operation and the quality of the additional program 232 ′ are not guaranteed (Step S22: No), the arithmetic processing unit 21 stores the information of the additional program 232 ′ in the error program information storage area 26. Information of the additional program 232 ′ may be, for example, additional program identification information 2321.

以上のように、使用不可能と判断された書き換え用プログラムの情報を保存することで、その内容を確認して検証作業等に役立てることができ、利便性が高い。   As described above, storing the information of the rewriting program determined to be unusable makes it possible to confirm the contents and use it for verification work and the like, which is highly convenient.

エラープログラム情報保存領域26に基本プログラム231’又は追加プログラム232’の情報を保存した際には、入出力部4の接点出力として、外部機器へ警報を出力しても良い。警報には、基本プログラム231’又は追加プログラム232’の情報を含めても良い。あるいは、表示部5に、エラープログラム情報保存領域26に保存した基本プログラム231’又は追加プログラム232’の情報を表示しても良い。これにより、プログラムの書き換えが完了できなかったことを、速やかに通知することができる。   When the information of the basic program 231 ′ or the additional program 232 ′ is stored in the error program information storage area 26, an alarm may be output to an external device as a contact output of the input / output unit 4. The alarm may include information of the basic program 231 'or the additional program 232'. Alternatively, the information of the basic program 231 ′ or the additional program 232 ′ stored in the error program information storage area 26 may be displayed on the display unit 5. This makes it possible to promptly notify that the program rewrite has not been completed.

ここでは、第2の実施形態の不揮発性メモリ23にエラープログラム情報保存領域26を設ける例を説明したが、もちろん図2に図示した第1の実施形態の不揮発性メモリ23にエラープログラム情報保存領域26を設けても良い。その場合は、図5のステップS03において、演算処理装置21は、書き換え用の基本プログラム231’の構成情報2310又は追加プログラム232’の構成情報2320がディジタル保護制御装置の構成情報200と一致しないと判断した場合、演算処理装置21は、一致しない基本プログラム231’又は追加プログラム232’の情報をエラープログラム情報保存領域26に保存する。   Although an example in which the error program information storage area 26 is provided in the nonvolatile memory 23 of the second embodiment has been described here, the error program information storage area of the nonvolatile memory 23 of the first embodiment illustrated in FIG. 26 may be provided. In that case, in step S03 of FIG. 5, the arithmetic processing unit 21 determines that the configuration information 2310 of the basic program 231 'for rewriting or the configuration information 2320 of the additional program 232' does not match the configuration information 200 of the digital protection control device. When it is determined, the arithmetic processing unit 21 stores the information of the unmatched basic program 231 ′ or the additional program 232 ′ in the error program information storage area 26.

[その他の実施形態]
本発明のいくつかの複数の実施形態を説明したが、これらの実施形態は例として提示したものであって、発明の範囲を限定することを意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略や置き換え、変更を行うことができる。これらの実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。
Other Embodiments
While several embodiments of the present invention have been described, these embodiments have been presented by way of example only and are not intended to limit the scope of the invention. These embodiments can be implemented in other various forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the invention described in the claims and the equivalents thereof as well as included in the scope and the gist of the invention.

第2の実施形態において、プログラム組み合わせ情報2323に、必須プログラム情報とNGプログラム情報が含まれる場合を説明したが、これらに限られない。例えば、プログラム組み合わせ情報2323は、追加プログラム232’と組み合わせた場合にその追加プログラム232’の品質及び動作が保証可能であるプログラムを全て列記した情報であっても良い。この場合、演算処理装置21は、主領域24に保存されている他のプログラムの中に、組み合わせ情報に含まれていないプログラムが有る場合には、追加プログラム232’の動作及び品質を保証されていないと判断しても良い。   In the second embodiment, although the case where the program combination information 2323 includes the essential program information and the NG program information has been described, the present invention is not limited thereto. For example, the program combination information 2323 may be information listing all programs whose quality and operation of the additional program 232 'can be guaranteed when combined with the additional program 232'. In this case, when there is a program not included in the combination information among other programs stored in the main area 24, the arithmetic processing unit 21 guarantees the operation and the quality of the additional program 232 '. You may judge that it is not.

1 アナログ/ディジタル変換部
2 演算部
3 伝送部
4 入出力部
5 表示部
21 演算処理装置
22 揮発性メモリ
23 不揮発性メモリ
24 主領域
25 副領域
26 エラープログラム情報保存領域
100 ディジタル保護制御装置
200 ディジタル保護制御装置の構成情報
230 保護制御用プログラム
230’書き換え後の保護制御用プログラム
231 基本プログラム
232 追加プログラム
231’書き換え用の基本プログラム
232’書き換え用の追加プログラム
2310 基本プログラムの構成情報
2311 基本プログラム識別情報
2312 基本プログラムモジュール群
2320 追加プログラムの構成情報
2321 追加プログラム識別情報
2322 追加プログラムモジュール
2323 プログラム組み合わせ情報

DESCRIPTION OF SYMBOLS 1 analog / digital conversion part 2 operation part 3 transmission part 4 input-output part 5 display part 21 arithmetic processing unit 22 volatile memory 23 non-volatile memory 24 main area 25 sub area 26 error program information storage area 100 digital protection control apparatus 200 digital Protection control device configuration information 230 Protection control program 230 'Protection control program after rewriting 231 Basic program 232 Additional program 231' Rewriting basic program 232 'Additional program for rewriting 2310 Basic program configuration information 2311 Basic program identification Information 2312 Basic program module group 2320 Configuration information of additional program 2321 Additional program identification information 2322 Additional program module 2323 Program combination information

Claims (9)

電力系統を保護するディジタル保護制御装置であって、
電力系統から取り込んだ電気量をディジタルデータに変換するアナログ/ディジタル変換部と、
不揮発性メモリで構成され、前記ディジタル保護制御装置のハードウェア及び機能の構成情報と、保護制御用プログラムを保存する第1の記憶部と、
前記アナログ/ディジタル変換部から出力された前記ディジタルデータを、前記記憶部に保存されている前記保護制御用プログラムにしたがって演算処理する演算処理装置と、を備え、
前記保護制御用プログラムは、前記ディジタル保護制御装置の有する機能に応じて複数に分割された分割プログラムから成り、前記分割プログラムそれぞれが、当該分割プログラムが対応するハードウェア及び機能の構成情報を含み、
揮発性メモリで構成された第2の記憶部を更に有し、
前記演算処理装置は、前記第1の記憶部への保存要求がなされた前記分割プログラムを前記第2の記憶部に一時的に保存し、前記保存要求がなされた分割プログラムのハードウェア及び機能の構成情報を、前記第1の記憶部に保存された前記ディジタル保護制御装置のハードウェア及び機能の構成情報と比較して、一致する場合には前記保存要求がなされた分割プログラムを前記第1の記憶部へ保存し、
前記分割プログラムのそれぞれが、各分割プログラムの動作及び品質を保証可能なプログラムの組み合わせ情報を有し、
前記第1の記憶部は、
前記ディジタル保護制御装置の構成情報と、前記保護制御用プログラムが保存される主領域と、
前記保存要求がなされた分割プログラムを前記主領域に保存する際に、前記主領域に保存された前記保護制御用プログラムが保存される副領域と、を有することを特徴とするディジタル保護制御装置。
A digital protection controller for protecting a power system,
An analog-to-digital converter that converts the amount of electricity taken from the power system into digital data;
A first storage unit which is constituted by a non-volatile memory and stores hardware and function configuration information of the digital protection and control device, and a protection control program;
An arithmetic processing unit that performs arithmetic processing on the digital data output from the analog / digital converter in accordance with the protection control program stored in the storage unit;
The protection control program consists dividing program divided into a plurality depending on the function of the said digital protective control apparatuses, each of the split program, see contains the configuration information of the hardware and functions the divided program corresponding ,
Further comprising a second storage unit configured of volatile memory;
The arithmetic processing unit temporarily stores, in the second storage unit, the divided program for which the storage request to the first storage unit has been made, and the hardware and function of the divided program for which the storage request is issued. The configuration information is compared with the configuration information of the hardware and function of the digital protection and control device stored in the first storage unit, and if there is a match, the division program for which the storage request has been made is the first one. Save to storage section,
Each of the divided programs has combination information of programs which can guarantee the operation and quality of each divided program,
The first storage unit is
Configuration information of the digital protection and control device, and a main area in which the protection control program is stored;
A digital protection control device comprising: a sub-region in which the protection control program stored in the main area is stored when the division program for which the storage request has been made is stored in the main area .
揮発性メモリで構成された第2の記憶部を更に有し、
前記演算処理装置は、前記第1の記憶部への保存要求がなされた前記分割プログラムを前記第2の記憶部に一時的に保存し、前記保存要求がなされた分割プログラムのハードウェア及び機能の構成情報を、前記第1の記憶部に保存された前記ディジタル保護制御装置のハードウェア及び機能の構成情報と比較して、一致しない場合には前記保存要求がなされた分割プログラムを前記第2の記憶部から削除することを特徴とする請求項に記載のディジタル保護制御装置。
Further comprising a second storage unit configured of volatile memory;
The arithmetic processing unit temporarily stores, in the second storage unit, the divided program for which the storage request to the first storage unit has been made, and the hardware and function of the divided program for which the storage request is issued. The configuration information is compared with the configuration information of the hardware and function of the digital protection and control device stored in the first storage unit, and in the case of disagreement, the divided program for which the storage request has been made is the second one. The digital protection controller according to claim 1 , wherein the digital protection controller is deleted from the storage unit.
前記演算処理装置は、前記保存要求に応じて前記主領域に保存された分割プログラムがある場合に、当該分割プログラムの前記組み合わせ情報を、前記主領域に保存されている他の分割プログラムと照合して、当該分割プログラムの品質及び動作が保証されていないと判断した場合には、前記副領域に保存した前記保護制御用プログラムを前記主領域に保存し、前記保存要求に応じて前記主領域に保存された分割プログラムを削除することを特徴とする請求項1又は2記載のディジタル保護制御装置。 When there is a divided program stored in the main area in response to the storage request, the arithmetic processing unit collates the combination information of the divided program with another divided program stored in the main area. If it is determined that the quality and operation of the divided program are not guaranteed, the protection control program stored in the sub area is stored in the main area, and the main area is requested according to the storage request. 3. A digital protection controller according to claim 1, wherein the stored division program is deleted. 前記分割プログラムのそれぞれが有する前記組み合わせ情報は、当該分割プログラムの動作に必要な他の分割プログラムの情報及び当該分割プログラムと組み合わせて利用することができない他の分割プログラムの情報であることを特徴する請求項1〜3のいずれか一項記載のディジタル保護制御装置。 The combination information included in each of the divided programs is information of another divided program necessary for the operation of the divided program and information of another divided program which can not be used in combination with the divided program. A digital protection controller according to any one of claims 1 to 3 . 前記演算処理装置は、前記保存要求に応じて前記主領域に保存された分割プログラムがある場合に、前記保存要求に応じて前記主領域に保存された分割プログラムのハードウェア及び機能の構成情報と、前記ディジタル保護制御装置のハードウェア及び機能の構成情報とを比較して、一致しない場合には、前記副領域に保存した前記保護制御用プログラムを前記主領域に保存し、前記保存要求に応じて前記主領域に保存された分割プログラムを削除することを特徴とする請求項1〜4のいずれか一項に記載のディジタル保護制御装置。 The arithmetic processing unit, when there is a divided program stored in the main area in response to the storage request, includes hardware and function configuration information of the divided program stored in the main area in response to the storage request. And comparing the configuration information of the hardware and function of the digital protection control device, and if the two do not match, the protection control program stored in the sub area is stored in the main area, and the storage request is made according to the storage request. 5. The digital protection control device according to any one of claims 1 to 4 , wherein the division program stored in the main area is deleted. 前記第1の記憶部は、前記演算処理装置により、ハードウェア及び機能の構成情報が前記ディジタル保護制御装置のハードウェア及び機能の構成情報と一致しないと判断された分割プログラムの情報を保存するエラープログラム情報保存領域を有することを特徴とする請求項2又は5記載のディジタル保護制御装置。 The first storage unit is an error for storing information of a divided program determined by the arithmetic processing unit not to match hardware and function configuration information with hardware and function configuration information of the digital protection control device. 6. A digital protection control apparatus according to claim 2 , further comprising a program information storage area. 前記第1の記憶部は、前記演算処理装置により品質及び動作が保証されていないと判断された分割プログラムの情報を保存するエラープログラム情報保存領域を有することを特徴とする請求項記載のディジタル保護制御装置。 4. The digital as set forth in claim 3, wherein the first storage unit has an error program information storage area for storing information of a divided program judged that the quality and the operation are not guaranteed by the arithmetic processing unit. Protection control device. 前記エラープログラム情報保存領域に保存した情報を表示する表示部を更に有することを特徴とする請求項6又は7記載のディジタル保護制御装置。 8. The digital protection control device according to claim 6 , further comprising a display unit for displaying the information stored in the error program information storage area. 前記エラープログラム情報保存領域に保存した情報を外部機器へ出力する出力部を更に有することを特徴とする請求項6〜8のいずれか一項に記載のディジタル保護制御装置。 The digital protection controller according to any one of claims 6 to 8 , further comprising an output unit for outputting the information stored in the error program information storage area to an external device.
JP2015121044A 2015-06-16 2015-06-16 Digital protection controller Active JP6546014B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015121044A JP6546014B2 (en) 2015-06-16 2015-06-16 Digital protection controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015121044A JP6546014B2 (en) 2015-06-16 2015-06-16 Digital protection controller

Publications (2)

Publication Number Publication Date
JP2017005959A JP2017005959A (en) 2017-01-05
JP6546014B2 true JP6546014B2 (en) 2019-07-17

Family

ID=57754587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015121044A Active JP6546014B2 (en) 2015-06-16 2015-06-16 Digital protection controller

Country Status (1)

Country Link
JP (1) JP6546014B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023136595A (en) * 2022-03-17 2023-09-29 株式会社東芝 Digital relay device and control method for digital relay device

Family Cites Families (2)

* 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
JP2012008677A (en) * 2010-06-23 2012-01-12 Hioki Ee Corp Automatic discrimination device and automatic discrimination method for version upgrade file using ftp

Also Published As

Publication number Publication date
JP2017005959A (en) 2017-01-05

Similar Documents

Publication Publication Date Title
US8166353B2 (en) Memory management apparatus
US9205809B2 (en) Vehicle unit and method for operating the vehicle unit
JP5431111B2 (en) Information processing apparatus and system setting method
US20080258758A1 (en) Embedded system and control method therefor
US11392368B2 (en) Electronic control system for updating circuit
US10922071B2 (en) Centralized off-board flash memory for server devices
US9864596B2 (en) Network switch system and operating method thereof
JP6139386B2 (en) Programmable controller
US6483746B2 (en) Electronic apparatus
JP2008254484A (en) In-vehicle communication system
US9778981B2 (en) Microcontroller
WO2020158377A1 (en) Electronic control device and security verification method for electronic control device
JP6546014B2 (en) Digital protection controller
US20100088471A1 (en) Field device
JP2020004068A (en) In-vehicle electronic control device
JP6094523B2 (en) Program rewriting method
CN114356658A (en) Processing method of firmware upgrading exception, computer equipment and readable storage medium
JPWO2016051573A1 (en) Control device and unit for distributed control system
JP5447532B2 (en) Information processing device
JP2020116972A (en) Electronic control device
WO2019064644A1 (en) Electronic control device and control program verification method
US9529581B2 (en) Circuit and method for writing program codes of basic input/output system
CN115309474A (en) BIOS firmware startup method, device, computer equipment and storage medium
US20230185564A1 (en) Control device and management method
JP2005128613A (en) Image forming device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20180216

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190306

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190521

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190620

R150 Certificate of patent or registration of utility model

Ref document number: 6546014

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150