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
JP6563286B2 - Protection relay and protection relay program - Google Patents
[go: Go Back, main page]

JP6563286B2 - Protection relay and protection relay program - Google Patents

Protection relay and protection relay program Download PDF

Info

Publication number
JP6563286B2
JP6563286B2 JP2015182257A JP2015182257A JP6563286B2 JP 6563286 B2 JP6563286 B2 JP 6563286B2 JP 2015182257 A JP2015182257 A JP 2015182257A JP 2015182257 A JP2015182257 A JP 2015182257A JP 6563286 B2 JP6563286 B2 JP 6563286B2
Authority
JP
Japan
Prior art keywords
protection relay
unit
data
route
protection
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
JP2015182257A
Other languages
Japanese (ja)
Other versions
JP2017060270A (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 Corp
Toshiba Energy Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Energy Systems and Solutions 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 Energy Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2015182257A priority Critical patent/JP6563286B2/en
Publication of JP2017060270A publication Critical patent/JP2017060270A/en
Application granted granted Critical
Publication of JP6563286B2 publication Critical patent/JP6563286B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明の実施形態は、電力システムに適用される保護リレー及び保護リレー用プログラムに関する。   Embodiments described herein relate generally to a protection relay and a protection relay program applied to a power system.

保護リレーを用いて電力システムを保護する保護システムは、送電線保護システムや系統安定化制御システムなど、多岐に亘る用途に適用されている。送電線保護システムにおける保護リレーは、送電線や母線の事故を検出して、遮断器に事故区間を切り離す指令を出力する。系統安定化制御システムにおける保護リレーは、発電所、変電所の系統事故を検出して、周波数脱調等の系統不安定事象を予測し、遮断器に発電機等を系統から切り離す信号を出力する。このような保護システムにより、電力システムにおける事故波及の防止、電力系統の安定を図ることができる。   A protection system that protects a power system using a protection relay is applied to a wide variety of uses such as a power transmission line protection system and a system stabilization control system. The protection relay in the power transmission line protection system detects a power transmission line or bus accident and outputs a command to disconnect the fault section to the circuit breaker. The protection relay in the system stabilization control system detects system faults at power plants and substations, predicts system instability events such as frequency step-out, and outputs a signal to disconnect the generator from the system to the circuit breaker . With such a protection system, it is possible to prevent the accident from spreading in the power system and stabilize the power system.

保護リレーには、自らが監視する区間の電流値や電圧値、接点情報等、種々の検出手段が計測した電気量データが入力される。また、保護リレーは、通信経路を介して、相手端の保護リレー装置や計算機等と電気量データを授受し合い、内部の演算装置によって、電流差動演算や安定度演算等のリレー演算を実行している。   Electricity data measured by various detection means such as a current value, a voltage value, and contact information in a section monitored by itself is input to the protection relay. In addition, the protection relay exchanges electricity data with the protection relay device or computer at the other end via the communication path, and relay calculations such as current differential calculation and stability calculation are performed by the internal calculation device. doing.

このような保護リレーは、保護区間である送電線や発変電所の各端子に設置される。以下の説明では、一方の保護リレーを自端、自端がデータを送受信する相手の保護リレーを相手端と呼ぶ場合がある。   Such a protection relay is installed in each terminal of a power transmission line or a substation that is a protection section. In the following description, one protection relay may be called a self-end, and the other party's protection relay that the self-end transmits and receives data may be called a counterpart.

従来から用いられている典型的な保護リレーは、PCM(Pulse Code Modulation)電流差動リレーである。PCM電流差動リレーは、自端及び相手端のそれぞれにおいて、所定の周期で電流データをサンプリングする。そして、自端と相手端とがサンプリングした電流データを、通信用の伝送路である経路を介して相互に通信し合うことで、自端と相手端の差動演算を行い、送電線の事故の有無を判定する。   A typical protection relay conventionally used is a PCM (Pulse Code Modulation) current differential relay. The PCM current differential relay samples current data at a predetermined cycle at each of its own end and the other end. Then, the current data sampled by the local end and the other end are communicated with each other via a communication transmission path, so that the differential calculation between the own end and the other end is performed. The presence or absence of is determined.

差動演算は、以下のように行われる。まず、自端と相手端とでサンプリングした電流データのベクトル和から、差電流を求める。次に、差電流の大きさである振幅値を算出する。さらに、振幅値を、あらかじめ設定された判定値と比較して、動作判定する。   The differential operation is performed as follows. First, a difference current is obtained from a vector sum of current data sampled at its own end and the other end. Next, an amplitude value that is the magnitude of the difference current is calculated. Furthermore, the operation is determined by comparing the amplitude value with a predetermined determination value.

特許第5127482号公報Japanese Patent No. 5127482

上記のように、複数の保護リレーを経路で接続した保護システムにおいては、各保護リレーが、同一時刻に計測したデータを用いて、差動演算等を行う必要がある。つまり、保護リレーは、端子同士のサンプリングタイムが同期されていなければならない。このため、保護リレーは、自端と相手端との間で通信を行い、同期の合わせ込みを行っている。このときに、同期の基準となる端子を主端、同期の合わせ込み処理を行う端子を従端と呼ぶ。また、従端から主端への経路を上り、主端から従端への経路を下りと呼ぶ。   As described above, in a protection system in which a plurality of protection relays are connected by a route, it is necessary for each protection relay to perform a differential operation or the like using data measured at the same time. In other words, the protection relay must be synchronized in sampling time between terminals. For this reason, the protection relay communicates between its own end and the other end, and synchronizes. At this time, a terminal serving as a reference for synchronization is referred to as a main end, and a terminal for performing synchronization adjustment processing is referred to as a slave end. Further, the path from the slave end to the master end is called ascending, and the path from the master end to the slave end is called as descending.

このような同期処理は、主端と従端との間の経路の上りと下りで、伝送時間が等しいことを前提に行われている。ここで、電流差動リレーの経路としては、従来から、専用の通信回線が用いられていた。専用の通信回線の場合、経路が固定化しているので、上りと下りの伝送時間の一致が確保されていた。   Such synchronization processing is performed on the premise that the transmission times are equal on the upstream and downstream of the path between the main end and the slave end. Here, as a path of the current differential relay, a dedicated communication line has been conventionally used. In the case of a dedicated communication line, since the route is fixed, the coincidence of uplink and downlink transmission times has been ensured.

しかし、近年では、通信のためのプロトコルとして、IPやイーサネット(登録商標)を適用した保護システムが実用化されている。IPによる通信では、ルータ等の通信装置が、自律的に最適な経路を選択して経路制御を行う。このため、ネットワークの状況の変化により、保護リレー間での上りと下りの通信経路が変動するため、伝送時間も変動する。このように上りと下りの伝送時間が変動すると、同期処理に支障が生じる。   However, in recent years, a protection system using IP or Ethernet (registered trademark) as a communication protocol has been put into practical use. In communication using IP, a communication device such as a router autonomously selects an optimum route and performs route control. For this reason, since the upstream and downstream communication paths between the protection relays fluctuate due to changes in the network conditions, the transmission time also fluctuates. As described above, when the uplink and downlink transmission times fluctuate, the synchronization processing is hindered.

これに対処するため、IPを適用する場合には、MPLS(Multi−Protocol Label Switching)などのプロトコルを用いることによって、経路を固定化できる。しかし、この場合も、伝送不良発生時の通信経路の切替と切戻しが発生すると、一時的に、数分間程度、上りと下りで経路が異なる期間が発生する場合がある。   In order to cope with this, when IP is applied, a route can be fixed by using a protocol such as MPLS (Multi-Protocol Label Switching). However, in this case as well, when the communication path is switched and switched back when a transmission failure occurs, a period in which the path is different between upstream and downstream may temporarily occur for several minutes.

この期間は、経路の上下で遅延時間差が発生してしまうため、この遅延時間に基づいて同期制御を実行した場合は、サンプリングタイミングのずれが生じて、保護リレーの演算精度が低下する。この同期ずれがリレー演算に許容できる値を超えた場合は、保護に必要な精度を確保できず、保護機能を継続できなくなる。   During this period, there is a delay time difference between the upper and lower paths, and therefore when the synchronization control is executed based on this delay time, the sampling timing shifts and the calculation accuracy of the protection relay decreases. When this synchronization deviation exceeds a value allowable for relay calculation, the accuracy required for protection cannot be ensured and the protection function cannot be continued.

本発明の実施形態は、上記のような従来技術の問題点を解決するために提案されたものであり、その目的は、保護リレーの送受信の経路の相違を検知することにより、同期ずれを防ぐための対応を可能とする保護リレー及び保護リレー用プログラムを提供することにある。   Embodiments of the present invention have been proposed to solve the above-described problems of the prior art. The purpose of the present invention is to prevent a synchronization error by detecting a difference in a transmission / reception route of a protection relay. It is an object of the present invention to provide a protection relay and a protection relay program that make it possible to cope with the problem.

上記の課題を解決するために、本発明の実施形態の保護リレーは、複数の通信装置を含む通信の経路に接続され、データが経由した通信装置の数に関する情報を取得する取得部と、前記取得部が取得した前記データが経由した通信装置の数に関する情報と、所定の情報とを比較することにより、相手端の保護リレーからのデータを受信する経路と当該相手端の保護リレーへ送信するデータの経路との相違を判定する判定部と、相手端の保護リレーから受信したデータに含まれ、自端の保護リレーが送信したデータが通過した通信装置の数に関する情報を抽出する抽出部と、を有し、前記所定の情報は、前記抽出部が抽出した通信装置の数に関する情報である。 In order to solve the above problems, the protection relays embodiment of the present invention is connected to a communication route including a plurality of communication devices, an acquisition unit that acquires information on the number of communication devices in which data has traversed, The information about the number of communication devices through which the data acquired by the acquisition unit is compared with predetermined information, and is transmitted to the path for receiving data from the protection relay at the other end and to the protection relay at the other end A determination unit that determines a difference from a route of data to be extracted, and an extraction unit that extracts information about the number of communication devices included in the data received from the protection relay at the other end and through which the data transmitted by the protection relay at the other end has passed If, have a, the predetermined information, Ru information der on the number of communication devices extracted by the extracting unit.

実施形態の保護リレーを適用した電力システムを示すブロック図The block diagram which shows the electric power system to which the protection relay of embodiment is applied 保護システムのネットワーク構成を示すブロック図Block diagram showing the network configuration of the protection system サンプリング同期制御の手順を示す説明図Explanatory drawing showing the procedure of sampling synchronization control 保護リレーがデータ通信に使用するフレームフォーマットFrame format used by protection relay for data communication 第1の実施形態の処理手順を示すフローチャートThe flowchart which shows the process sequence of 1st Embodiment. 第1の実施形態による検知処理を示す説明図Explanatory drawing which shows the detection process by 1st Embodiment. 経路の切替を検知できない場合を示す説明図Explanatory diagram showing the case where route switching cannot be detected 第2の実施形態の検知処理を示す説明図Explanatory drawing which shows the detection process of 2nd Embodiment. 第3の実施形態の検知処理を示す説明図Explanatory drawing which shows the detection process of 3rd Embodiment. 第5の実施形態の処理手順を示すフローチャートThe flowchart which shows the process sequence of 5th Embodiment. 第5の実施形態の検知処理を示す説明図Explanatory drawing which shows the detection process of 5th Embodiment. 第6の実施形態の検知処理を示す説明図Explanatory drawing which shows the detection process of 6th Embodiment

[第1の実施形態]
[基本構成]
本実施形態の構成を、図面を参照して説明する。本実施形態の保護リレーは、図1に示すような保護システムS及びネットワークNWに適用される。保護システムSが有する保護リレー4a、4b、4cは、保護対象となる電力システムEに接続されている。電力システムEは、送電線1、変流器2、遮断器3を有する。
[First Embodiment]
[Basic configuration]
The configuration of the present embodiment will be described with reference to the drawings. The protection relay of this embodiment is applied to the protection system S and the network NW as shown in FIG. The protection relays 4a, 4b, and 4c included in the protection system S are connected to the power system E to be protected. The power system E includes a transmission line 1, a current transformer 2, and a circuit breaker 3.

送電線1は、電力を伝達する電線路である。なお、本実施形態における送電線1は、三相交流であるが、簡略化して単相で図示している。変流器2は、電流を検出する検出器である。遮断器3は、事故時の電流を遮断する機器である。変流器2及び遮断器3は、送電線1の各端子に設置されている。   The power transmission line 1 is an electric line that transmits electric power. In addition, although the power transmission line 1 in this embodiment is a three-phase alternating current, it is simplified and illustrated in a single phase. The current transformer 2 is a detector that detects current. The circuit breaker 3 is a device that interrupts the current during an accident. The current transformer 2 and the circuit breaker 3 are installed at each terminal of the power transmission line 1.

保護リレー4a、4b、4cは、事故を検出し、遮断器3に遮断指令を出力することにより、電力システムEを保護する装置である。例えば、PCM電流差動リレーを、保護リレー4a、4b、4cとして用いることができる。遮断器3は、保護リレー4a、4b、4cからの遮断指令に応じて、遮断動作を行う。   The protection relays 4a, 4b, and 4c are devices that protect the power system E by detecting an accident and outputting a break command to the breaker 3. For example, PCM current differential relays can be used as the protection relays 4a, 4b, and 4c. The circuit breaker 3 performs a breaking operation in response to a breaking command from the protection relays 4a, 4b, and 4c.

図1では、保護リレー4aの構成の詳細を示している。但し、他の保護リレー4b、4cも同様の構成である。以下の説明では、保護リレー4a、4b、4cを区別しない場合には、保護リレー4とする。   FIG. 1 shows details of the configuration of the protection relay 4a. However, the other protection relays 4b and 4c have the same configuration. In the following description, when the protection relays 4a, 4b, and 4c are not distinguished, the protection relay 4 is assumed.

保護リレー4は、入力変換器6、アナログフィルタ7、A/D変換部8、演算部9、出力部10、通信部11、同期制御部12、記憶部13を有する。入力変換器6は、変流器2からのアナログ信号を、系統側と絶縁し、適切な大きさへ変換する。アナログフィルタ7は、サンプリングのための帯域制限を行う。A/D変換部8は、アナログ信号をデジタル信号に変換する。   The protection relay 4 includes an input converter 6, an analog filter 7, an A / D conversion unit 8, a calculation unit 9, an output unit 10, a communication unit 11, a synchronization control unit 12, and a storage unit 13. The input converter 6 insulates the analog signal from the current transformer 2 from the system side and converts it to an appropriate size. The analog filter 7 performs band limitation for sampling. The A / D converter 8 converts an analog signal into a digital signal.

演算部9は、入力信号に基いて差動演算等を行う。つまり、演算部9は、事故電流を判定して遮断指令を生成する。出力部10は、遮断指令を遮断器3に出力する。通信部11は、相手端の保護リレー4との通信を行う。この通信部11の構成の詳細は、後述する。   The calculation unit 9 performs a differential calculation based on the input signal. That is, the arithmetic unit 9 determines an accident current and generates a cutoff command. The output unit 10 outputs a cutoff command to the circuit breaker 3. The communication unit 11 performs communication with the protection relay 4 at the other end. Details of the configuration of the communication unit 11 will be described later.

同期制御部12は、ネットワークNWを介して通信を行うことで、同期タイミングを合わせ込む同期制御を行う。この同期制御の詳細は、後述する。記憶部13は、本実施形態の処理に必要な各種の情報を記憶する。記憶する情報は、TTL値、ネットワーク距離、通信装置のアドレス情報、自走が継続可能な時間、各種設定用の値、受信したデータ等を含む。   The synchronization control unit 12 performs synchronization control to synchronize synchronization timing by performing communication via the network NW. Details of this synchronization control will be described later. The storage unit 13 stores various types of information necessary for the processing of this embodiment. The information to be stored includes TTL value, network distance, communication device address information, time for which self-running can be continued, various setting values, received data, and the like.

ネットワークNWは、図2に示すように、各保護リレー4a、4b、4cを相互に接続して、データの送受信を行う。ネットワークNWは、通信のための経路Rを介して、L2スイッチ14及びL3スイッチ15を接続したL2・L3ネットワークである。このネットワークNWで送受信される情報を、データと総称する。データリンク層であるレイヤ2で中継されるデータをフレームと呼ぶ。ネットワーク層であるレイヤ3で中継されるデータをパケットと呼ぶ。パケットに含まれる電流データ等の実データを含む領域をデータ部と呼ぶ。   As shown in FIG. 2, the network NW connects the protection relays 4a, 4b, and 4c to each other to transmit and receive data. The network NW is an L2 / L3 network in which the L2 switch 14 and the L3 switch 15 are connected via a communication path R. Information transmitted and received in the network NW is collectively referred to as data. Data relayed in layer 2 which is the data link layer is called a frame. Data relayed in layer 3 which is a network layer is called a packet. An area including actual data such as current data included in the packet is referred to as a data portion.

L2スイッチ14は、レイヤ2でフレームを中継する中継装置である。フレームの宛先は、MACアドレスに基づいて判別する。L3スイッチ15は、レイヤ3でパケットを中継する中継装置である。パケットの宛先は、IPアドレスに基づいて判別する。   The L2 switch 14 is a relay device that relays frames at layer 2. The destination of the frame is determined based on the MAC address. The L3 switch 15 is a relay device that relays packets in layer 3. The destination of the packet is determined based on the IP address.

各L3スイッチ15は、経路Rを介してリング状に接続されている。各保護リレー4a、4b、4cは、L2スイッチ14を介して、L3スイッチ15に接続されている。なお、L3スイッチ15の代わりにルータを用いることもできる。   Each L3 switch 15 is connected in a ring shape via a path R. Each protection relay 4a, 4b, 4c is connected to the L3 switch 15 via the L2 switch 14. A router can be used instead of the L3 switch 15.

また、図示はしないが、保護リレー4は、バックアップ用のネットワークに接続されている。バックアップ用のネットワークは、ネットワークNWとは独立した別個のネットワークであってもよいし、多重化されたネットワークNWのいずれかであってもよい。   Although not shown, the protection relay 4 is connected to a backup network. The backup network may be a separate network independent of the network NW, or may be any one of the multiplexed networks NW.

[通信部]
通信部11は、図1に示すように、送受信部110、設定部111、取得部112、抽出部113、判定部114、自走部115、切替部116、復帰部117、通知部118を有する。
[Communication Department]
As illustrated in FIG. 1, the communication unit 11 includes a transmission / reception unit 110, a setting unit 111, an acquisition unit 112, an extraction unit 113, a determination unit 114, a self-propelled unit 115, a switching unit 116, a return unit 117, and a notification unit 118. .

送受信部110は、相手端の保護リレー4との間で、フレームの送受信を行う。設定部111は、フレームの送信時に、保護リレー4間で経由する通信装置の数に関する値の設定を行う。通信装置の数に関する値は、例えば、TTL値、ネットワーク距離である。TTL値は、通信装置であるL3スイッチ15を経由する毎にデクリメントされる値である。ネットワーク距離は、TTL値に基づいて計測されるデータが経由したL3スイッチの15の数である。設定部111は、パケットのIPヘッダに対するTTL値の設定、パケットのデータ部に対するネットワーク距離の付加等を行う。   The transmission / reception unit 110 transmits / receives a frame to / from the protection relay 4 at the other end. The setting unit 111 sets a value related to the number of communication devices that pass between the protection relays 4 during frame transmission. The value related to the number of communication devices is, for example, a TTL value or a network distance. The TTL value is a value that is decremented every time it passes through the L3 switch 15 that is a communication device. The network distance is the number of 15 L3 switches through which data measured based on the TTL value passes. The setting unit 111 sets a TTL value for the IP header of the packet, adds a network distance to the data portion of the packet, and the like.

取得部112は、データが経由した通信装置の数に関する情報を取得する。つまり、取得部112は、送受信部110が受信したデータから、ネットワーク距離を取得する。ネットワーク距離の取得は、送受信部110が受信したパケットのIPヘッダに含まれるTTL値を、あらかじめ設定された固定のTTL値から減算することにより行う。   The acquisition unit 112 acquires information related to the number of communication devices through which data passes. That is, the acquisition unit 112 acquires the network distance from the data received by the transmission / reception unit 110. The network distance is acquired by subtracting the TTL value included in the IP header of the packet received by the transmission / reception unit 110 from a fixed TTL value set in advance.

抽出部113は、相手端の保護リレー4から受信したデータに含まれ、自端の保護リレー4が送信したデータが通過した通信装置の数に関する情報を抽出する。ここで、データ部に含まれる通信装置の数に関する情報は、ネットワーク距離である。このネットワーク距離は、自端の保護リレー4から送信したデータを相手端の保護リレー4が受信した場合に、相手端の取得部112が取得したネットワーク距離である。   The extraction unit 113 extracts information related to the number of communication devices included in the data received from the protection relay 4 at the other end and through which the data transmitted by the protection relay 4 at the other end has passed. Here, the information regarding the number of communication devices included in the data portion is a network distance. This network distance is the network distance acquired by the acquisition unit 112 at the other end when the data transmitted from the protection relay 4 at the other end is received by the protection relay 4 at the other end.

つまり、相手端の保護リレー4においては、受信したパケットのIPヘッダのTTL値に基いて、取得部112が求めたネットワーク距離を、設定部111が送信するパケットのデータ部に含める。相手端の保護リレー4は、このパケットを自端の保護リレー4に送信する。   That is, the protection relay 4 at the other end includes the network distance obtained by the obtaining unit 112 based on the TTL value of the IP header of the received packet in the data portion of the packet transmitted by the setting unit 111. The protection relay 4 at the other end transmits this packet to the protection relay 4 at its own end.

判定部114は、取得部112が取得した情報と、所定の情報とを比較することにより、相手端の保護リレー4から受信するデータの経路Rと、当該相手端の保護リレー4へ送信するデータの経路Rとの相違を判定する。所定の情報は、上記のように、相手端の保護リレー4から受信したパケットのデータ部に含まれ、抽出部113により抽出されたネットワーク距離である。   The determination unit 114 compares the information acquired by the acquisition unit 112 with predetermined information, thereby comparing the route R of data received from the protection relay 4 at the other end and the data transmitted to the protection relay 4 at the other end. The difference from the route R is determined. The predetermined information is the network distance included in the data part of the packet received from the protection relay 4 at the other end and extracted by the extraction unit 113 as described above.

自走部115は、判定部114が経路Rの相違を判定した場合に、同期制御部12による同期を停止して、自走を行わせる。自走とは、自らの内部クロックの精度によって制御を行うことにより、相手端の保護リレーとのタイミングを揃えることである。   When the determination unit 114 determines that the route R is different, the self-running unit 115 stops the synchronization by the synchronization control unit 12 and causes the self-running unit to perform self-running. Self-run means to align the timing with the protection relay at the other end by controlling according to the accuracy of its own internal clock.

切替部116は、自走部115による自走が、あらかじめ設定された時間を経過した場合に、バックアップ用の経路に切り替える。あらかめ設定された時間は、自走の期間が所定の同期精度を維持できる時間である。復帰部117は、サンプリング同期が可能な状態となった場合に、同期制御部12による同期を復帰させる。通知部118は、経路Rの相違を通知する情報を、送受信部110が送信するフレームに含めて、他の保護リレー4に通知する。   The switching unit 116 switches to the backup route when the self-running by the self-running unit 115 has passed a preset time. The preset time is a time during which the self-running period can maintain a predetermined synchronization accuracy. The restoration unit 117 restores synchronization by the synchronization control unit 12 when sampling synchronization is possible. The notification unit 118 includes information for notifying the difference in the path R in a frame transmitted by the transmission / reception unit 110 and notifies the other protection relay 4.

[作用]
[同期制御]
上記のように、保護リレー4が差動演算を行うためには、サンプリングタイミングが同期されている必要がある。この同期は、同期制御部12が実施している。この同期制御処理を、図3を参照して説明する。この図3は、主端と従端を決めて送受信する2端子間での制御である。
[Action]
[Synchronous control]
As described above, in order for the protection relay 4 to perform a differential operation, the sampling timing needs to be synchronized. This synchronization is performed by the synchronization control unit 12. This synchronization control process will be described with reference to FIG. FIG. 3 shows the control between two terminals for transmitting and receiving with the main end and the slave end determined.

まず、従端及び主端が、それぞれ自端のサンプリングタイミングである送信タイミングを含むデータTd1、Td2を送信し合う。両端子では、自端のサンプリングタイミングと相手端からのデータTd1、Td2の受信時刻との時間間隔tm、tsを測定する。そして、ts−tm=0となるように、サンプリングタイミングを補正することにより、同時性を確保する。   First, the slave end and the main end transmit data Td1 and Td2 including the transmission timing which is the sampling timing of its own end. At both terminals, the time intervals tm and ts between the sampling timing of the local end and the reception time of the data Td1 and Td2 from the counterpart end are measured. Then, the simultaneity is ensured by correcting the sampling timing so that ts−tm = 0.

但し、このような同期制御を行うためには、従端及び主端の上り、下りの経路Rが同じであって、伝送遅延時間が等しいことが維持されている必要がある。つまり、Td1、Td2の伝送遅延時間は同じでなければならない。伝送遅延時間に差がある場合には、その差の1/2、つまり、Δt=(Td1−Td2)/2の同期誤差が発生する。この同期誤差の時間が、演算部9によるリレー演算に許容できる値を超えた場合、正しい演算を行うことができない。この許容値は、例えば、数十〜数百μs程度である。   However, in order to perform such synchronization control, it is necessary to maintain that the upstream and downstream routes R of the slave and main ends are the same and the transmission delay times are equal. That is, the transmission delay times of Td1 and Td2 must be the same. If there is a difference in transmission delay time, a synchronization error of 1/2 of the difference, that is, Δt = (Td1−Td2) / 2 occurs. When the time of the synchronization error exceeds a value allowable for the relay calculation by the calculation unit 9, correct calculation cannot be performed. This allowable value is, for example, about several tens to several hundreds μs.

上記のように、リング状に構成されたネットワークNWにおいては、接続された通信装置同士が通信する場合、一方のルートを使用するか、これと反対のルートを使用することができる。以下、便宜的に、一方のルートを右回りと呼び、これと反対のルートを左回りと呼ぶ。   As described above, in the network NW configured in a ring shape, when connected communication apparatuses communicate with each other, one route can be used or the opposite route can be used. Hereinafter, for the sake of convenience, one route is called clockwise and the opposite route is called counterclockwise.

右回り、左回りどちらのルートを使用するかは、通信装置が送信するパケットごとに異なる。但し、上記のサンプリング同期のために、保護リレー4同士の伝送遅延時間を同じにするには、ルートを固定化する必要がある。例えば、MPLSなどのプロトコルを使用することで、右回り又は左回りのいずれかにルートを固定化することはできる。しかし、上記のように、これらのプロトコルを使用した場合であっても、一時的にサンプリング同期を行うことができない期間が生じる場合がある。   Whether the clockwise or counterclockwise route is used is different for each packet transmitted by the communication apparatus. However, for the above sampling synchronization, in order to make the transmission delay time between the protection relays 4 the same, it is necessary to fix the route. For example, by using a protocol such as MPLS, the route can be fixed either clockwise or counterclockwise. However, as described above, even when these protocols are used, a period during which sampling synchronization cannot be performed temporarily may occur.

[フレーム構成]
保護リレー4が送受信するデータのフレーム構成の一例を、図4に示す。
各項目の内容は、以下の通りである。
プリアンブル:フレームの区切りを示すビット列
宛先MAC:フレームの宛先MACアドレス
発信元MAC:フレームの発信元MACアドレス
タイプ:イーサネットフレーム種別
IPパケット:IPヘッダ、データ部
FCS:フレームチェックシーケンスコード
IPヘッダ:宛先IPアドレス、送信元IPアドレス、TTL値など
データ部:電気量データ、同期データなどの実データ
[Frame structure]
An example of a frame structure of data transmitted and received by the protection relay 4 is shown in FIG.
The contents of each item are as follows.
Preamble: Bit string indicating frame delimiter Destination MAC: Frame destination MAC address Source MAC: Frame source MAC address Type: Ethernet frame type IP packet: IP header, data part FCS: Frame check sequence code IP header: Destination IP Address, source IP address, TTL value, etc. Data section: actual data such as electricity data and synchronization data

このフレームはパケットにイーサヘッダが付加されて構成されるイーサネットのフレームである。保護リレー4から送信されたフレームは、L2スイッチ14と経路Rで構成されるL2ネットワークを通過する。   This frame is an Ethernet frame configured by adding an Ethernet header to a packet. The frame transmitted from the protection relay 4 passes through the L2 network configured by the L2 switch 14 and the route R.

そして、L3ネットワーク内では、IPパケットのみが伝送され、相手側のL3スイッチ15により、再びイーサヘッダが付加される。これにより、フレームは、相手側のL2スイッチ14を通過して、相手端の保護リレー4へ伝送される。   In the L3 network, only the IP packet is transmitted, and the Ethernet header is added again by the L3 switch 15 on the other side. As a result, the frame passes through the partner L2 switch 14 and is transmitted to the protection relay 4 at the partner end.

データ部に含まれる同期データは、同期制御に使用するデータである。同期データには、同期主従の端子番号、同期フレームの送受信タイミング(時刻)情報、同期指令/応答種別情報などが含まれる。また、データ部には、後述するように、TTL値から求めたネットワーク距離を付加してもよい。   The synchronization data included in the data part is data used for synchronization control. The synchronization data includes a synchronization master / slave terminal number, synchronization frame transmission / reception timing (time) information, synchronization command / response type information, and the like. Further, as will be described later, a network distance obtained from a TTL value may be added to the data portion.

IPヘッダに含まれるTTL値は、L3スイッチ15を経由するたびに値が1ずつデクリメントされる。TTL値が0となる場合には、パケットがL3スイッチ15で破棄される。これにより、経路R中にループが発生した場合にも、ネットワークNW中にパケットが流れ続けることが防止される。   The TTL value included in the IP header is decremented by 1 each time it passes through the L3 switch 15. When the TTL value becomes 0, the packet is discarded by the L3 switch 15. This prevents packets from continuing to flow through the network NW even when a loop occurs in the path R.

[経路切替検出]
本実施形態による経路切替検出処理を、図5のフローチャート、図6の説明図を参照して説明する。本処理は、従端の保護リレー4bがネットワーク距離を検出し、主端の保護リレー4aに対して通知する態様である。なお、図6では、TTL値のデクリメントが発生しないL2スイッチ14については、図示を省略している。
[Route switching detection]
The path switching detection process according to the present embodiment will be described with reference to the flowchart of FIG. 5 and the explanatory diagram of FIG. This processing is an aspect in which the slave protection relay 4b detects the network distance and notifies the primary protection relay 4a. In FIG. 6, the illustration of the L2 switch 14 in which the TTL value does not decrement is omitted.

従端の保護リレー4bの通信部11における設定部111は、送信するフレームのIPヘッダに、常に、固定のTTL値であるMを設定する。TTL値は、例えば、255とする。従端の送受信部110は、このようにTTL値が設定された同期フレームを、主端を宛先として送信する(ステップS01)。   The setting unit 111 in the communication unit 11 of the slave protection relay 4b always sets M, which is a fixed TTL value, in the IP header of the frame to be transmitted. The TTL value is, for example, 255. The slave transmission / reception unit 110 transmits the synchronization frame in which the TTL value is set as described above, with the main end as the destination (step S01).

TTL値は、L3スイッチ15を経由する毎に、値がデクリメントされる。つまり、M=M−1の演算が行われる。このため、例えば、経路R中に2台のL3スイッチ15がある場合、主端に届いたデータのTTL値は、M−2となる。固定のTTL値が255の場合、253になる。   The TTL value is decremented every time it passes through the L3 switch 15. That is, the calculation of M = M−1 is performed. For this reason, for example, when there are two L3 switches 15 in the path R, the TTL value of the data reaching the main end is M−2. When the fixed TTL value is 255, it becomes 253.

主端の保護リレー4aの記憶部13は、あらかじめ従端が送信するTTL値であるMを記憶しておく。例えば、255を記憶している。主端の取得部112は、受信したIPヘッダに含まれるTTL値を、あらかじめ記憶していたTTL値から減算する。これにより、従端から主端にデータを送信する際に経由するL3スイッチ15の数であるネットワーク距離を取得する。上記の例では、255−253=2であるため、ネットワーク距離が2、つまり経由したL3スイッチが2台であることがわかる。   The storage unit 13 of the protection relay 4a at the main end stores in advance M, which is a TTL value transmitted by the slave end. For example, 255 is stored. The main end acquisition unit 112 subtracts the TTL value included in the received IP header from the previously stored TTL value. As a result, the network distance, which is the number of L3 switches 15 through which data is transmitted from the slave end to the master end, is acquired. In the above example, since 255−253 = 2, it can be seen that the network distance is 2, that is, there are two L3 switches passed through.

主端の設定部111は、従端に対して送信するパケットのデータ部に、取得したネットワーク距離の値を付け加える。送受信部110は、このパケットを含むフレームを、従端を宛先として送信することにより、従端に対して、従端から主端までのネットワーク距離を通知する。   The main end setting unit 111 adds the acquired network distance value to the data portion of the packet transmitted to the slave end. The transmitting / receiving unit 110 notifies the slave end of the network distance from the slave end to the master end by transmitting a frame including this packet with the slave end as the destination.

このフレームを、従端の送受信部110が受信する(ステップS02)。従端の取得部112は、上記と同様に、主端から受信したパケットのTTL値と、あらかじめ設定されたTTL値とから、ネットワーク距離を求める(ステップS03)。このネットワーク距離は、主端から従端までに、実際にそのパケットが経由してきたL3スイッチ15の数である。   The slave transmitting / receiving unit 110 receives this frame (step S02). Similarly to the above, the slave acquisition unit 112 obtains the network distance from the TTL value of the packet received from the master terminal and the preset TTL value (step S03). This network distance is the number of L3 switches 15 through which the packet actually passes from the main end to the subordinate end.

また、抽出部113は、当該パケットのデータ部に含まれるネットワーク距離を抽出する(ステップS04)。このネットワーク距離は、従端から主端までのネットワーク距離であり、主端がデータ部に含めたものである。   Further, the extraction unit 113 extracts the network distance included in the data part of the packet (step S04). This network distance is a network distance from the slave end to the master end, and the master end is included in the data portion.

そして、判定部114は、実際にそのパケットが経由してきた経路Rのネットワーク距離と、データ部に含まれていたネットワーク距離とを比較して、経路Rの相違を判定する(ステップS05)。   Then, the determination unit 114 compares the network distance of the route R through which the packet has actually passed with the network distance included in the data unit to determine the difference of the route R (step S05).

判定部114は、比較の結果、上りと下りの経路Rで、ネットワーク距離が一致している場合には(ステップS06のYES)、経路Rの上下方向の経路不一致がないものとして、同期制御を継続する。ネットワーク距離が一致していない場合には(ステップS06のNO)、経路Rの上下方向の経路不一致があったと判定する。   As a result of the comparison, when the network distances match between the upstream and downstream routes R (YES in step S06), the determination unit 114 assumes that there is no route mismatch in the vertical direction of the route R, and performs synchronization control. continue. If the network distances do not match (NO in step S06), it is determined that there is a route mismatch in the vertical direction of the route R.

判定部114が、経路Rの上下方向の経路不一致があったと判定した場合、自走部115は、サンプリング同期制御部12による同期引き込み処理を停止して、内部クロックによる自走を行わせる(ステップS07)。これにより、見かけ上の同期誤差による引き込みが行われないようにする。この自走は、あらかじめ設定された同期精度を維持できる時間まで継続する(ステップS08のNO)。   When the determination unit 114 determines that there is a path mismatch in the vertical direction of the path R, the free-running unit 115 stops the synchronous pull-in process by the sampling synchronization control unit 12 and performs free-running by the internal clock (step) S07). This prevents the pull-in due to the apparent synchronization error. This self-running continues until a time when the preset synchronization accuracy can be maintained (NO in step S08).

切替部116は、自走期間が同期精度を維持できる時間を超えたと判定した場合には(ステップS08のYES)、同期用に使用する経路Rをバックアップ用のネットワークに切り替える(ステップS09)。   When it is determined that the self-running period has exceeded the time during which the synchronization accuracy can be maintained (YES in step S08), the switching unit 116 switches the route R used for synchronization to the backup network (step S09).

なお、経路Rが復旧して、サンプリング同期が可能な状態となった場合には、復帰部117は、同期制御部12による同期を復帰させる。また、通知部118は、経路Rの切替を他の保護リレー4に通知してもよい。   When the path R is restored and sampling synchronization is possible, the restoration unit 117 restores synchronization by the synchronization control unit 12. Further, the notification unit 118 may notify the other protection relay 4 of the switching of the route R.

[効果]
以上のような本実施形態は、複数のL3スイッチ15を含む通信の経路Rに接続され、データが経由したL3スイッチ15の数であるネットワーク距離を取得する取得部112と、取得部112が取得したネットワーク距離と、所定の情報を比較することにより、相手端の保護リレー4からのデータを受信する経路Rと当該相手端の保護リレー4へ送信するデータの経路Rとの相違を判定する判定部114とを有する。
[effect]
In the present embodiment as described above, the acquisition unit 112 that is connected to the communication path R including the plurality of L3 switches 15 and acquires the network distance that is the number of the L3 switches 15 through which the data passes is acquired by the acquisition unit 112. The determination to determine the difference between the route R for receiving data from the protection relay 4 at the other end and the route R for data to be transmitted to the protection relay 4 at the other end by comparing the determined network distance with predetermined information Part 114.

このため、保護リレー4の送受信の経路Rの相違を検知して、同期ずれを防ぐための対応を可能とする。つまり、上りと下りの経路Rが異なる間は、同期制御を行わずに自走状態とする、又は同期に使用するネットワークを別のネットワークに切り替える等により、同期ずれの発生を防ぐことができる。   For this reason, the difference in the transmission / reception route R of the protection relay 4 is detected, and the countermeasure for preventing the synchronization shift is enabled. That is, while the upstream and downstream routes R are different, it is possible to prevent the occurrence of synchronization shift by setting a self-running state without performing synchronization control or switching the network used for synchronization to another network.

また、本実施形態は、相手端の保護リレー4から受信したデータに含まれ、自端の保護リレー4が送信したデータが通過した通信装置の数に関する情報を抽出する抽出部113を有し、判定部114が比較する所定の情報が、抽出部113が抽出したネットワーク距離である。   In addition, the present embodiment includes an extraction unit 113 that extracts information related to the number of communication devices that are included in the data received from the protection relay 4 at the other end and through which the data transmitted by the protection relay 4 at the other end has passed, The predetermined information compared by the determination unit 114 is the network distance extracted by the extraction unit 113.

このため、受信したデータのみから、上りのデータが経由したネットワーク距離と、下りのデータが経由したネットワーク距離の相違を、簡易且つ正確に判断することができる。   For this reason, it is possible to easily and accurately determine the difference between the network distance through which the upstream data passes and the network distance through which the downstream data passes from only the received data.

また、本実施形態は、相手端の保護リレー4との間でのサンプリングタイミングを同期する同期制御部12と、判定部114が経路Rが相違すると判定した場合に、同期制御部12による同期を停止して、内部クロックによる制御を行わせる自走部115とを有する。このため、経路Rの切替を早期に検出して、速やかに自走状態とすることができる。   Further, in this embodiment, when the synchronization control unit 12 that synchronizes the sampling timing with the protection relay 4 at the other end and the determination unit 114 determine that the path R is different, the synchronization control unit 12 performs synchronization. And a self-running unit 115 that stops and performs control by an internal clock. For this reason, it is possible to detect the switching of the route R at an early stage and promptly enter the self-running state.

さらに、本実施形態は、バックアップ用の経路が接続され、自走部115による自走が、所定の時間を経過した場合に、バックアップ用の経路に切り替える切替部116を有する。このため、一定時間以上、自走状態が続く場合には、同期に使用するネットワークを、バックアップ側のネットワークに切り替えることで同期制御を継続できる。   Furthermore, the present embodiment includes a switching unit 116 that switches to a backup route when a backup route is connected and the self-running by the free-running unit 115 has passed a predetermined time. For this reason, when the self-running state continues for a certain time or longer, the synchronization control can be continued by switching the network used for synchronization to the network on the backup side.

[第2の実施形態]
[構成]
本実施形態は、基本的には、上記の第1の実施形態と同様の構成である。但し、本実施形態は、通知部118が、リング状のネットワークNWにおいて、一方の経路Rにおけるネットワーク距離と、これと反対方向の経路Rにおけるネットワーク距離とが異なる保護リレー4同士において、判定部114により、互いの経路Rの相違が判定された場合に、当該保護リレー4同士とは異なる保護リレー4に、経路Rの相違を通知する。
[Second Embodiment]
[Constitution]
This embodiment is basically the same configuration as the first embodiment. However, in the present embodiment, in the protection relay 4 in which the notification unit 118 has a different network distance in one route R and a network distance in the route R in the opposite direction in the ring-shaped network NW, the determination unit 114. Thus, when the difference between the routes R is determined, the difference between the routes R is notified to the protection relay 4 that is different from the protection relays 4.

[作用効果]
以上のような本実施形態の作用効果を、図7及び図8の説明図を参照して説明する。まず、リング状のネットワークNWにおいては、一対の保護リレー4の経路Rは、右回りと左回りに2つ存在する。この場合、上記の第1の実施形態では、右回り経路Rと左回りの経路Rとでネットワーク距離が異なる場合に、経路Rの不一致を検出することができた。
[Function and effect]
The operational effects of the present embodiment as described above will be described with reference to the explanatory diagrams of FIGS. First, in the ring-shaped network NW, there are two routes R of the pair of protection relays 4 clockwise and counterclockwise. In this case, in the first embodiment, when the network distance is different between the clockwise route R and the counterclockwise route R, it is possible to detect the mismatch of the route R.

しかし、一対の保護リレー4同士が、リング状のネットワークNWにおける右回りと左回りのネットワーク距離が等しい場合がある。この場合、右回りの経路Rと左回りの経路Rが切り替わっても、ネットワーク距離に変化がない。このため、経路Rの不一致を検出することができない。   However, the pair of protection relays 4 may have the same clockwise and counterclockwise network distances in the ring-shaped network NW. In this case, even if the clockwise route R and the counterclockwise route R are switched, the network distance does not change. For this reason, the mismatch of the route R cannot be detected.

このように、左回りと右回りのL3スイッチ15の数が等しい場合の一例を、図7に示す。この例では、端子数が4のネットワークNWにおいて、保護リレー4aと保護リレー4cは、お互いの経路Rが、右回りであっても左回りであっても、通過するL3スイッチ15の数は3台で同じである。このため、どちらの経路Rに切り替わっても、ネットワーク距離による上下方向の経路不一致の検知ができない。   FIG. 7 shows an example where the number of counterclockwise and clockwise L3 switches 15 is the same. In this example, in the network NW having four terminals, the protection relay 4a and the protection relay 4c have three L3 switches 15 that pass therethrough regardless of whether the route R is clockwise or counterclockwise. Same on the table. For this reason, regardless of which route R is switched to, it is not possible to detect a vertical route mismatch due to the network distance.

但し、端子数が3端子以上であれば、これに対応するL3スイッチ15も3台以上となり、上下方向の経路不一致が発生した場合、端子同士のネットワーク距離が異なる関係が必ず存在する。このような端子同士であれば、経路Rの不一致を検知することができる。   However, if the number of terminals is three or more, the corresponding L3 switch 15 is also three or more, and there is always a relationship in which the network distance between the terminals is different when the vertical path mismatch occurs. Such terminals can detect a mismatch in the path R.

この態様の一例を、図8に示す。つまり、L3スイッチ15が4台のネットワークNWにおいて、保護リレー4aと保護リレー4bは、右回りの場合、経由するL3スイッチ15は2台である。左回りの場合、経由するL3スイッチ15の数は4台である。保護リレー4aと保護リレー4cは、右回りと左回りで、L3スイッチ15の数は3台で等しい。   An example of this aspect is shown in FIG. That is, in the network NW having four L3 switches 15, when the protection relay 4a and the protection relay 4b are clockwise, there are two L3 switches 15 to be routed. In the case of counterclockwise rotation, the number of L3 switches 15 to be routed is four. The protection relay 4a and the protection relay 4c are clockwise and counterclockwise, and the number of L3 switches 15 is equal to three.

このため、保護リレー4bにおける判定部114は、上記の第1の実施形態と同様に、保護リレー4aとの間での経路Rの不一致を判定できる。そこで、保護リレー4bの判定部114が経路Rの不一致を判定した場合、通知部118は、保護リレー4cに対しても、経路Rの不一致を検知したことを通知する。   Therefore, the determination unit 114 in the protection relay 4b can determine the mismatch of the path R with the protection relay 4a, as in the first embodiment. Therefore, when the determination unit 114 of the protection relay 4b determines the mismatch of the route R, the notification unit 118 notifies the protection relay 4c that the mismatch of the route R is detected.

この通知を受けた保護リレー4cにおいては、自走部115が自走を行う。または、主端の保護リレー4aの同期制御部12が、同期処理を停止する。これにより、全従端の保護リレー4b、4cの自走部115が、自走状態とする。これにより、見かけ上の同期誤差による同期の引き込みが行われない。さらに、切替部116は、自走期間が一定の同期精度を維持できる時間を超えた場合に、同期用に使用する通信路をバックアップ用の別のネットワークに切り替える。   In the protection relay 4c that has received this notification, the self-propelled unit 115 self-propels. Alternatively, the synchronization control unit 12 of the protection relay 4a at the main end stops the synchronization process. As a result, the self-running portions 115 of all the slave protection relays 4b and 4c are brought into a self-running state. As a result, synchronization is not pulled in due to an apparent synchronization error. Furthermore, the switching unit 116 switches the communication path used for synchronization to another network for backup when the self-running period exceeds the time during which a certain synchronization accuracy can be maintained.

以上のような本実施形態によれば、リング状のネットワークNWにおける保護リレー4a、4c同士のネットワーク距離が、左回りと右回りで同じ場合が生じていても、他の保護リレー4bからの上下方向の経路不一致の通知により、上記の実施形態と同様に、同期ずれの発生を防止できる。   According to the present embodiment as described above, even when the network distance between the protection relays 4a and 4c in the ring-shaped network NW is the same in the counterclockwise direction and the clockwise direction, the vertical distance from the other protection relay 4b is increased. By notifying the direction route mismatch, it is possible to prevent the occurrence of a synchronization error as in the above-described embodiment.

なお、上記のように、左回りと右回りでネットワーク距離が同じ場合には、異経路発生時に、これを検知できない。しかし、ネットワーク構成や通信路長などの条件によっては、ネットワーク距離が一致すれば、伝送遅延時間差が許容範囲内となることが、あらかじめわかっている場合がある。そこで、このような場合には、見かけ上の同期誤差は発生しないため、経路Rの上下方向の経路不一致を検出した場合に、同期処理を停止せずに継続して実行しても問題はない。   As described above, when the network distance is the same in the counterclockwise direction and the clockwise direction, this cannot be detected when a different route occurs. However, depending on conditions such as the network configuration and communication path length, it may be known in advance that the transmission delay time difference is within the allowable range if the network distances match. Therefore, in such a case, since an apparent synchronization error does not occur, there is no problem even if the synchronization process is continuously executed without stopping when a path mismatch in the vertical direction of the path R is detected. .

[第3の実施形態]
[構成]
本実施形態は、基本的には、上記の第1又は第2の実施形態と同様の構成である。但し、本実施形態においては、判定部114が比較するデータが経由した通信装置の数に関する情報と、所定の情報とが異なる。まず、データが経由した通信装置の数に関する情報は、相手端の保護リレー4と自端の保護リレー4との間のネットワーク距離に、所定の値を加算した値を初期値として、通信装置を経由する毎に減算された値である。また、所定の情報は、初期値において加算された値である。
[Third Embodiment]
[Constitution]
This embodiment is basically the same configuration as the first or second embodiment described above. However, in the present embodiment, the information regarding the number of communication devices through which the data to be compared by the determination unit 114 is different from the predetermined information. First, information on the number of communication devices through which data passes is obtained by setting the communication device as an initial value by adding a predetermined value to the network distance between the protection relay 4 at the other end and the protection relay 4 at the other end. It is the value subtracted every time it passes. The predetermined information is a value added in the initial value.

[作用効果]
以上のような本実施形態の作用効果を説明する。まず、上記の第1の実施形態と同様に、自端における取得部112は、相手端から受信したパケットのTTL値から、相手端とのネットワーク距離Nを求める。
[Function and effect]
The operational effects of the present embodiment as described above will be described. First, as in the first embodiment, the acquisition unit 112 at its own end obtains the network distance N from the other end from the TTL value of the packet received from the other end.

そして、自端の設定部111は、ネットワーク距離Nに、所定の値xを加えた数をTTL値の初期値として設定する。xは、1以上の整数であり、TTLの値は255以下になるようにする。送受信部110は、このようにTTL値を設定したパケットを、相手端に送信する。   Then, the end setting unit 111 sets the number obtained by adding the predetermined value x to the network distance N as the initial value of the TTL value. x is an integer of 1 or more, and the value of TTL is set to 255 or less. The transmission / reception unit 110 transmits the packet in which the TTL value is set in this way to the other end.

相手端においては、記憶部13が、あらかじめ所定の値xを記憶している。そして、相手端がパケットを受信すると、取得部112は、TTL値を取得する。ここで、相手端から自端までの経路Rと、自端から相手端までの経路Rが一致している場合には、TTL値がxとなっている。また、経路Rが一致していない場合には、相手端が受信したパケットのTTL値がxより大きな値となるか、xより小さな値となる。つまり、TTL値がx以外の値となる。   At the other end, the storage unit 13 stores a predetermined value x in advance. Then, when the other end receives the packet, the acquisition unit 112 acquires a TTL value. Here, when the route R from the other end to the other end and the route R from the other end to the other end coincide, the TTL value is x. If the routes R do not match, the TTL value of the packet received by the other end is a value larger than x or a value smaller than x. That is, the TTL value is a value other than x.

パケットのTTL値がxより大きな値となる場合は、相手端から自端へのネットワーク距離よりも、自端から相手端へのネットワーク距離が小さい場合である。xより小さな値となる場合は、相手端から自端へのネットワーク距離よりも、自端から相手端へのネットワーク距離が大きい場合である。   When the TTL value of the packet is larger than x, the network distance from the other end to the other end is smaller than the network distance from the other end to the own end. When the value is smaller than x, the network distance from the other end to the other end is larger than the network distance from the other end to the own end.

このため、判定部114は、あらかじめ記憶したxと、受信したパケットのTTL値とを比較して、値が一致しないと判定した場合は、経路Rが相違すると判定する。なお、経路Rの途中で、TTL値が0以下となった場合、パケットは破棄されるので、相手端へのデータは届かなくなる。所定時間経過してもパケットを受信できない場合は、同期処理は行われずに自走部115が自走状態とする。   For this reason, the determination unit 114 compares x stored in advance with the TTL value of the received packet, and determines that the route R is different if it is determined that the values do not match. In the middle of the route R, when the TTL value becomes 0 or less, the packet is discarded, so that data does not reach the other end. If the packet cannot be received even after a predetermined time has elapsed, the self-running unit 115 is set in the free-running state without performing the synchronization process.

本実施形態の具体的な一例を、図9の説明図を参照して説明する。まず、相手端の保護リレー4bが送信し、自端の保護リレー4aが受信したパケットのTTL値から、取得部112が、自端と相手端とのネットワーク距離Nである2を求める。   A specific example of this embodiment will be described with reference to the explanatory diagram of FIG. First, the acquisition unit 112 obtains 2 which is the network distance N between the own end and the other end from the TTL value of the packet transmitted by the other end protection relay 4b and received by the own end protection relay 4a.

自端の設定部111は、TTL値として、ネットワーク距離Nの値2に、所定の値1を加えた数である3を設定する。送受信部110は、このようにTTL値を3に設定したデータを、相手端に送信する。   The local setting unit 111 sets 3 as the TTL value, which is a value obtained by adding the predetermined value 1 to the value 2 of the network distance N. The transmission / reception unit 110 transmits data in which the TTL value is set to 3 in this way to the other end.

すると、上りと下りのネットワーク距離が等しい場合、相手端に届くデータのTTL値は、1となる。下りのネットワーク距離が小さい場合、相手端に届くデータのTTL値は、1よりも大きい値となる。相手端の判定部114は、所定の値である1と比較して、TTL値が1よりも大きい場合に、経路Rの相違を判定する。これに応じて、上記と同様に、自走部115による自走、切替部116によるバックアップへの切替等が行われる。   Then, when the upstream and downstream network distances are equal, the TTL value of the data reaching the other end is 1. When the downstream network distance is small, the TTL value of the data reaching the other end is a value larger than 1. The partner end determination unit 114 determines a difference in the route R when the TTL value is larger than 1 as compared with 1, which is a predetermined value. In response to this, self-running by the self-running unit 115, switching to backup by the switching unit 116, and the like are performed as described above.

また、下りのネットワーク距離が大きい場合、相手端が受信するTTL値は、経路Rの途中で0以下となる。このため、パケットは破棄されて相手端にデータが届かなくなる。この場合は、同期ができないため、上記と同様に、自走部115による自走、切替部116によるバックアップへの切替が行われる。このため、誤った同期誤差に対する引き込み処理を防止できる。   Also, when the downstream network distance is large, the TTL value received by the other end is 0 or less in the middle of the route R. For this reason, the packet is discarded and data does not reach the other end. In this case, since synchronization cannot be performed, switching to self-running by the self-running unit 115 and backup by the switching unit 116 is performed as described above. For this reason, it is possible to prevent a pull-in process for an erroneous synchronization error.

以上のような本実施形態では、設定部111が、パケットのデータ部に、取得部112が取得したネットワーク距離の値を付加する必要がなくなる。また、データ部からネットワーク距離を抽出する抽出部113は不要となる。   In the present embodiment as described above, there is no need for the setting unit 111 to add the network distance value acquired by the acquisition unit 112 to the data portion of the packet. Further, the extraction unit 113 that extracts the network distance from the data part is not necessary.

[第4の実施形態]
[構成]
本実施形態の構成は、基本的には上記の第1の実施形態と同様である。但し、本実施形態では、記憶部13が、取得部112が取得した通信装置の数に関する情報を記憶する。この情報は、IPヘッダにおけるTTL値である。これは、判定部114が比較する所定の情報である。
[Fourth Embodiment]
[Constitution]
The configuration of this embodiment is basically the same as that of the first embodiment. However, in the present embodiment, the storage unit 13 stores information regarding the number of communication devices acquired by the acquisition unit 112. This information is a TTL value in the IP header. This is predetermined information that the determination unit 114 compares.

また、通知部118は、自端と相手端の保護リレー4の双方で経路Rの切替があった場合、これを互いに通知する。さらに、復帰部117は、保護リレー4同士が自走部115による制御を行っている場合に、双方の保護リレー4の判定部114が経路Rの相違を検知した場合に、停止していた同期制御部12による制御を復帰させる。   Moreover, the notification part 118 notifies this mutually, when the path | route R is switched by both the self-end and the other party's protection relays 4. Furthermore, when the protection relays 4 perform control by the self-propelling unit 115, the return unit 117 is stopped when the determination unit 114 of both protection relays 4 detects a difference in the path R. The control by the control unit 12 is returned.

[作用効果]
以上のような本実施形態では、主端および従端における記憶部13が、相手端子から届くデータのTTL値を記憶している。判定部114は、データを受信する毎に、受信したデータのTTL値と、記憶されたデータのTTL値とを比較して、変化がないかどうかを監視する。判定部114が、TTL値に変動があったと判定した場合には、経路切替が発生したとして、自走部115が、同期引き込みを停止して自走状態とする。
[Function and effect]
In the present embodiment as described above, the storage unit 13 at the main end and the slave end stores the TTL value of the data received from the counterpart terminal. Each time data is received, the determination unit 114 compares the TTL value of the received data with the TTL value of the stored data to monitor whether there is a change. If the determination unit 114 determines that the TTL value has changed, it is assumed that route switching has occurred, and the self-running unit 115 stops the synchronous pull-in and enters the self-running state.

通知部118は、判定部114が経路切替を判定した場合は、データに経路切替を検出したという情報を付加して、送受信部110が相手端に送信する。リング状のネットワークNWを使用している場合には、1つの保護リレー4からの経路Rは2方向しか存在しない。このため、経路Rが一致している状態から、両端子で経路切替を検出した場合、切替後の経路Rも上下で一致していることとなる。   When the determination unit 114 determines the path switching, the notification unit 118 adds information indicating that the path switching is detected to the data, and the transmission / reception unit 110 transmits the data to the other end. When the ring network NW is used, the route R from one protection relay 4 has only two directions. For this reason, when path switching is detected at both terminals from the state where the path R matches, the path R after switching also matches vertically.

したがって、自走状態となっている保護リレー4における復帰部117は、相手端の通知部118から通知されるデータにより、相手端も経路切替が発生したという情報を確認した場合、同期制御部12による同期引き込みを再開する。   Therefore, when the return unit 117 in the protection relay 4 that is in a self-running state confirms that the path switching has occurred also at the other end by the data notified from the notification unit 118 at the other end, the synchronization control unit 12 Resume synchronization pull-in by.

また、片側の端子で経路変更を検知しても、もう一方の端子で経路変更を検知しない場合は、上下方向の経路不一致が発生していると判断し、自走状態を継続する。バックアップ用のネットワークの切替は、上記と同様である。   Further, even if a route change is detected at one terminal, if a route change is not detected at the other terminal, it is determined that a vertical route mismatch has occurred, and the self-running state is continued. The switching of the backup network is the same as described above.

以上のような本実施形態では、保護リレー4が受信するデータのTTL値を監視するだけで、経路Rの切替を検知できる。このため、TTL値として特別な設定が不要となる。また、双方の切替があった場合には、同期に問題はないため、速やかに同期を再開させることができる。   In the present embodiment as described above, the switching of the route R can be detected only by monitoring the TTL value of the data received by the protection relay 4. For this reason, a special setting as a TTL value becomes unnecessary. In addition, when both are switched, there is no problem in synchronization, so that synchronization can be resumed promptly.

[第5の実施形態]
[構成]
本実施形態は、基本的な構成は、上記の第1の実施形態と同様である。但し、本実施形態の取得部112は、データが経由した通信装置を識別する情報を取得する。この情報は、例えば、L3スイッチ15のMACアドレス、IPアドレス、ネットワーク内で割り当てられた固有の識別情報等である。以下、この情報をアドレス情報と呼ぶ。
[Fifth Embodiment]
[Constitution]
The basic configuration of this embodiment is the same as that of the first embodiment. However, the acquisition unit 112 of the present embodiment acquires information for identifying the communication device through which the data has passed. This information is, for example, the MAC address and IP address of the L3 switch 15, unique identification information assigned in the network, and the like. Hereinafter, this information is referred to as address information.

記憶部13は、取得部112が取得したL3スイッチ15のアドレス情報を記憶する。さらに、判定部114は、記憶部13に記憶されたL3スイッチ15のアドレス情報と、受信したデータのL3スイッチ15のアドレス情報とを比較することにより、経路Rの変化を判定する。   The storage unit 13 stores the address information of the L3 switch 15 acquired by the acquisition unit 112. Furthermore, the determination unit 114 determines a change in the path R by comparing the address information of the L3 switch 15 stored in the storage unit 13 with the address information of the L3 switch 15 of the received data.

ここで、L3スイッチ15のアドレス情報は、データを破棄したL3スイッチ15のアドレス情報である。つまり、L3スイッチ15等の通信装置は、TTL値が0になるとデータを破棄して、ICMP(Internet Control Message Protocol)の時間超過応答を、パケットの送信元へ返す機能を有する。本実施形態は、この時間超過応答に含まれるL3スイッチ15のアドレス情報を用いる。   Here, the address information of the L3 switch 15 is the address information of the L3 switch 15 that has discarded the data. That is, the communication device such as the L3 switch 15 has a function of discarding data when the TTL value becomes 0, and returning an ICMP (Internet Control Message Protocol) time-over response to the packet transmission source. In the present embodiment, the address information of the L3 switch 15 included in this time excess response is used.

[作用効果]
以上のような本実施形態の経路切替検出処理を、図10のフローチャート、図11の説明図を参照して説明する。まず、自端の設定部111は、送信する監視用データにおけるパケットのTTL値として、相手端とのネットワーク距離よりも短い所定の値を設定する(ステップS11)。送受信部110は、このパケットを含むフレームを相手端に送信する(ステップS12)。自端は、時間超過応答を待つ(ステップS13のNO)。
[Function and effect]
The above-described path switching detection process of the present embodiment will be described with reference to the flowchart of FIG. 10 and the explanatory diagram of FIG. First, the setting unit 111 at its own end sets a predetermined value shorter than the network distance to the other end as the TTL value of the packet in the monitoring data to be transmitted (step S11). The transmission / reception unit 110 transmits a frame including this packet to the other end (step S12). The own end waits for an overtime response (NO in step S13).

経路Rの途中のL3スイッチ15では、TTL値が0となるので、パケットを破棄する。このとき、パケットを破棄したL3スイッチ15は、パケットの送信元へICMPの時間超過応答を返す。自端の送受信部110が、時間超過応答を受信すると(ステップS13のYES)、取得部112は時間超過応答から、返信元のL3スイッチ15のアドレス情報を取得する(ステップS14)。   In the L3 switch 15 in the middle of the route R, since the TTL value is 0, the packet is discarded. At this time, the L3 switch 15 that has discarded the packet returns an ICMP time exceeded response to the packet transmission source. When the self-transmission / reception unit 110 receives the overtime response (YES in step S13), the acquisition unit 112 acquires the address information of the L3 switch 15 as the reply source from the overtime response (step S14).

判定部114は、記憶部13が記憶しているアドレス情報と、受信した時間超過応答のアドレス情報を比較する(ステップS15)。記憶部13が記憶しているアドレス情報は、あらかじめ、上記のような手順によって、取得部112が取得し、記憶部13が記憶したアドレス情報である。アドレス情報が一致している場合には(ステップS16のYES)、経路Rの変化はないとして、同期制御を継続する。アドレス情報が一致していない場合には(ステップS16のNO)、判定部114は、経路Rの切替があったと判定する。   The determination unit 114 compares the address information stored in the storage unit 13 with the address information of the received overtime response (step S15). The address information stored in the storage unit 13 is address information acquired in advance by the acquisition unit 112 and stored in the storage unit 13 in the above-described procedure. If the address information matches (YES in step S16), the synchronous control is continued assuming that there is no change in the route R. If the address information does not match (NO in step S16), the determination unit 114 determines that the route R has been switched.

以上のように、保護リレー4の送受信部110は、経路Rの途中でパケットが破棄されるTTL値を設定した監視用データを、定期的に送信する。判定部114は、送受信部110が受信する時間超過応答により、パケットが破棄されるL3スイッチ15を監視する。   As described above, the transmission / reception unit 110 of the protection relay 4 periodically transmits monitoring data in which a TTL value is set in which a packet is discarded along the route R. The determination unit 114 monitors the L3 switch 15 in which the packet is discarded based on the time excess response received by the transmission / reception unit 110.

つまり、判定部114が、同じL3スイッチ15においてパケットが破棄されていると判定している場合、経路変化はない。判定部114が、異なるL3スイッチ15でパケットが破棄されたと判定した場合には、経路Rが変化している。このように判定部114が経路Rが変化したことを判定した後の処理は、上記の第1の実施形態と同様である(ステップS17〜S19)。   That is, when the determination unit 114 determines that the packet is discarded in the same L3 switch 15, there is no path change. If the determination unit 114 determines that the packet has been discarded by a different L3 switch 15, the path R has changed. Processing after the determination unit 114 determines that the route R has changed in this manner is the same as that in the first embodiment (steps S17 to S19).

本実施形態の具体的な一例を、図11の説明図を参照して説明する。
(1) 自端の保護リレー4aの設定部111は、TTL値として、相手端の保護リレー4cとのネットワーク距離3よりも小さい2の値を監視データに設定する。送受信部110は、監視データを保護リレー4cに送信する。
A specific example of this embodiment will be described with reference to the explanatory diagram of FIG.
(1) The setting unit 111 of the own-end protection relay 4a sets a value of 2 smaller than the network distance 3 to the other-end protection relay 4c as the TTL value in the monitoring data. The transmission / reception unit 110 transmits the monitoring data to the protection relay 4c.

(2) 経路Rの途中のL3スイッチ15において、TTL値=0となるので、このL3スイッチ15は、パケットを破棄して、ICMP時間超過応答を、送信元の保護リレー4aに返す。 (2) Since the TTL value = 0 in the L3 switch 15 in the middle of the route R, the L3 switch 15 discards the packet and returns an ICMP time excess response to the transmission source protection relay 4a.

(3) 自端の保護リレー4aの送受信部110は、ICMP時間超過応答を受信して、取得部112は、送信元のL3スイッチ15のアドレス情報を取得する。判定部114は、記憶部13に記憶されたアドレス情報と比較して、変化がない場合には、同期制御を継続する。 (3) The transmission / reception unit 110 of the local protection relay 4a receives the ICMP time excess response, and the acquisition unit 112 acquires the address information of the source L3 switch 15. The determination unit 114 continues the synchronization control when there is no change as compared with the address information stored in the storage unit 13.

(1)’〜(3)’ 上記と同様に、監視データを送信した場合に、経路変更があると、異なるL3スイッチ15が、ICMP時間超過応答を返信する。このため、判定部114は、記憶部13に記憶されたアドレス情報と比較して、変化があったとして、経路切替と判定する。 (1) 'to (3)' Similarly to the above, when monitoring data is transmitted, if there is a path change, a different L3 switch 15 returns an ICMP time excess response. For this reason, the determination unit 114 determines that the route is switched because there is a change compared to the address information stored in the storage unit 13.

(5) 通知部118は、経路変更があった場合には、相手端に通知する。 (5) When the route is changed, the notification unit 118 notifies the partner end.

(6) 相手端の保護リレー4cにおいても、上記と同様に、監視データの送信とICMP時間超過応答の受信により、判定部114が、経路切替の有無を判定する。 (6) Also in the protection relay 4c at the other end, as described above, the determination unit 114 determines the presence / absence of path switching by transmitting monitoring data and receiving an ICMP time excess response.

(7) 相手端の通知部118は、経路変更があった場合には、自端に通知する。相手端と自端の双方で経路変更があった場合には、上記のように、同期制御を継続する。いずれか一方で経路変更があった場合には、自走、バックアップの切替を行う。 (7) When the route is changed, the notification unit 118 at the other end notifies the end of the change. If there is a path change at both the other end and the own end, the synchronization control is continued as described above. If there is a route change on either side, it switches between self-running and backup.

(8) 自端においても、相手端と自端の双方で経路変更があった場合には、上記のように、同期制御を継続する。いずれか一方で経路変更があった場合には、自走、バックアップの切替を行う。 (8) Even at the own end, if there is a route change at both the other end and the own end, the synchronization control is continued as described above. If there is a route change on either side, it switches between self-running and backup.

以上のような本実施形態によれば、データが通過する通信装置であるL3スイッチ15が変化したか否かで経路Rの変化を検知する。このため、右回りの経路Rと左回りの経路Rのネットワーク距離が相違する場合であっても、一致する場合であっても、経路Rの変化を容易に検知できる。   According to the present embodiment as described above, a change in the path R is detected based on whether or not the L3 switch 15 that is a communication device through which data passes has changed. For this reason, even if the network distances of the clockwise route R and the counterclockwise route R are different or coincide, the change of the route R can be easily detected.

[第6の実施形態]
本実施形態は、基本的には、上記の第5の実施形態と同様である。但し、本実施形態においては、判定部114が、相手端の保護リレー4の取得部112が、第5の実施形態と同様に取得したアドレス情報と、自端の保護リレー4が、第5の実施形態と同様に監視しているアドレス情報とを比較して、経路切替を判定する。つまり、本実施形態では、自端と相手端において、監視しているL3スイッチ15が同一か否かを、アドレス情報を交換して確認する。
[Sixth Embodiment]
This embodiment is basically the same as the fifth embodiment described above. However, in the present embodiment, the determination unit 114 acquires the address information acquired by the acquisition unit 112 of the counterpart protection relay 4 in the same manner as in the fifth embodiment, and the own protection relay 4 In the same manner as in the embodiment, the address information monitored is compared to determine route switching. That is, in this embodiment, it is confirmed by exchanging address information whether the monitored L3 switch 15 is the same at the local end and the counterpart end.

[作用効果]
以上のような本実施形態では、上記のように、自端と相手端では、ICMP時間超過応答を利用して、取得部112が、監視対象となるL3スイッチ15のアドレス情報を取得して、記憶部13が記憶している。
[Function and effect]
In the present embodiment as described above, as described above, the acquisition unit 112 acquires the address information of the L3 switch 15 to be monitored by using the ICMP time excess response at the own end and the other end, The storage unit 13 stores it.

そして、自端と相手端の保護リレー4の通知部118は、監視対象となるL3スイッチ15のアドレス情報を、データ伝送により通知し合う。これにより、判定部114は、自端と相手端が監視するL3スイッチ15が同一であるか否かを判定し、同一でない場合に、上下方向で異経路が発生していることを検知できる。   Then, the notification unit 118 of the protection relay 4 at its own end and the other end notifies each other of the address information of the L3 switch 15 to be monitored by data transmission. Thereby, the determination unit 114 determines whether or not the L3 switch 15 monitored by the own end and the other end is the same, and can detect that a different path is generated in the vertical direction when the L3 switch 15 is not the same.

このような本実施形態の具体的な処理の一例を、図12の説明図を参照して説明する。まず、リング状のネットワークNWにおいて、自端と相手端のネットワーク距離をNとする。上下方向で同じ経路Rを使用している場合には、自端からi番目のネットワーク距離にあるL3スイッチ15と、相手端からN+1−i番目にあるL3スイッチ15は同一となる。しかし、上下方向で経路Rの切替が発生した場合、このL3スイッチ15は異なるL3スイッチ15となる。ただし、i=1とi=NのL3スイッチ15は除く。   An example of a specific process of this embodiment will be described with reference to the explanatory diagram of FIG. First, in the ring-shaped network NW, the network distance between the local end and the other end is N. When the same route R is used in the vertical direction, the L3 switch 15 at the i-th network distance from its own end and the L3 switch 15 at the (N + 1-i) -th end from the other end are the same. However, when the path R is switched in the vertical direction, the L3 switch 15 becomes a different L3 switch 15. However, the L3 switch 15 with i = 1 and i = N is excluded.

ネットワーク距離Nの値は、上記の第1の実施形態のように取得部112が求めることができる。iの値は、あらかじめ決められた条件による値、例えば、2/N(切り上げ)とする。そして、それぞれがi番目とN+1−i番目のL3スイッチ15を、上記の第5の実施形態と同様に、ICMPの時間超過応答を使用して監視する(1)〜(3)。図12では、ネットワーク距離3で、i=2の場合である。   The value of the network distance N can be obtained by the acquisition unit 112 as in the first embodiment. The value of i is a value according to a predetermined condition, for example, 2 / N (rounded up). Then, the i-th and (N + 1-i) -th L3 switches 15 are monitored using the ICMP overtime response (1) to (3), as in the fifth embodiment. In FIG. 12, the network distance is 3 and i = 2.

自端の保護リレー4aと相手端の保護リレー4bが監視しているL3スイッチ15のアドレス情報は、通知部118が互いに通知し合う(4)(5)。図12では、自端と相手端が監視しているL3スイッチ15が、異なるものとなったため、判定部114は経路変化が発生したと判定して、上記と同様の処理を行う。   The address information of the L3 switch 15 monitored by the local protection relay 4a and the remote protection relay 4b is notified by the notification unit 118 (4) and (5). In FIG. 12, since the L3 switch 15 monitored by the own end and the other end is different, the determination unit 114 determines that a path change has occurred and performs the same processing as described above.

以上のような本実施形態によれば、双方の保護リレー4が、監視中のL3スイッチ15のアドレス情報を交換し合って経路切替を判定する。このため、それぞれに経路変更があった場合にのみ互いに通知する場合に比べて、早期に情報を共通化して高速に対応できる。   According to the present embodiment as described above, both protection relays 4 exchange the address information of the L3 switch 15 being monitored, and determine path switching. For this reason, it is possible to share information at an early stage and respond at high speed as compared with the case where notifications are sent to each other only when there is a route change.

[他の実施形態]
(1)上記の実施形態では、リレー装置が受信するデータが持つTTL値を用いてネットワークの経路の変化を監視することにより、上下方向の異経路を検知した。但し、通信に使用するプロトコルによっては、TTLと類似の機能がある。このため、TTLの代わりとして、もしくはTTLと併用してこれらの機能を用いてもよい。
[Other Embodiments]
(1) In the above embodiment, a different route in the vertical direction is detected by monitoring a change in the route of the network using a TTL value included in data received by the relay device. However, there is a function similar to TTL depending on the protocol used for communication. Therefore, these functions may be used in place of TTL or in combination with TTL.

代表的なTTL及びこれと類似する機能は下記となる。
IPv4: TTL
IPv6: Hop Limit
MPLS: TTL
A typical TTL and similar functions are as follows.
IPv4: TTL
IPv6: Hop Limit
MPLS: TTL

MPLSのTTLは、IPのTTLと同名である。但し、このTTLは、MPLSヘッダ内に格納され、IPのTTLとは独立した値となる。L3スイッチが持つ機能であるMPLS PropagationによりMPLSとIPのTTL値は互いに値を引き継ぐことができる。   The MPLS TTL has the same name as the IP TTL. However, this TTL is stored in the MPLS header and is a value independent of the IP TTL. MPLS Propagation, which is a function of the L3 switch, can take over the TTL values of MPLS and IP.

(2)保護リレー及び通信装置は、CPUを含むコンピュータを所定のプログラムで制御することによって実現できる。この場合のプログラムは、コンピュータのハードウェアを物理的に活用することで、上記のような処理を実現するものである。このため、上記の処理を実行する方法、プログラム及びプログラムを記録した記録媒体も、実施形態の一態様である。また、ハードウェアで処理する範囲、プログラムを含むソフトウェアで処理する範囲をどのように設定するかは、特定の態様には限定されない。たとえば、上記の各部のいずれかを、それぞれの処理を実現する回路として構成することも可能である。 (2) The protection relay and the communication device can be realized by controlling a computer including a CPU with a predetermined program. The program in this case realizes the above-described processing by physically utilizing computer hardware. For this reason, the method, program, and recording medium on which the program is executed are also an aspect of the embodiment. Moreover, how to set the range processed by hardware and the range processed by software including a program is not limited to a specific mode. For example, any one of the above-described units can be configured as a circuit that realizes each process.

(3)保護リレーの数、通信装置の数等は、上記の実施形態で例示した数には限定されない。通信装置は、L3スイッチであっても、ルーターであってもよい。 (3) The number of protection relays, the number of communication devices, and the like are not limited to the numbers exemplified in the above embodiment. The communication device may be an L3 switch or a router.

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

1 送電線
2 変流器
3 遮断器
4、4a、4b、4c 保護リレー
6 入力変換器
7 アナログフィルタ
8 A/D変換部
9 演算部
10 出力部
11 通信部
12 同期制御部
13 記憶部
110 送受信部
111 設定部
112 取得部
113 抽出部
114 判定部
115 自走部
116 切替部
117 復帰部
118 通知部
E 電力システム
NW ネットワーク
R 経路
S 保護システム
DESCRIPTION OF SYMBOLS 1 Transmission line 2 Current transformer 3 Circuit breaker 4, 4a, 4b, 4c Protection relay 6 Input converter 7 Analog filter 8 A / D conversion part 9 Calculation part 10 Output part 11 Communication part 12 Synchronization control part 13 Storage part 110 Transmission / reception Unit 111 setting unit 112 acquisition unit 113 extraction unit 114 determination unit 115 self-propelled unit 116 switching unit 117 restoration unit 118 notification unit E power system NW network R route S protection system

Claims (6)

複数の通信装置を含む通信の経路に接続され、
データが経由した通信装置の数に関する情報を取得する取得部と、
前記取得部が取得した前記データが経由した通信装置の数に関する情報と、所定の情報とを比較することにより、相手端の保護リレーからのデータを受信する経路と当該相手端の保護リレーへ送信するデータの経路との相違を判定する判定部と、
相手端の保護リレーから受信したデータに含まれ、自端の保護リレーが送信したデータが通過した通信装置の数に関する情報を抽出する抽出部と、
を有し、
前記所定の情報は、前記抽出部が抽出した通信装置の数に関する情報であることを特徴とする保護リレー。
Connected to a communication path including a plurality of communication devices,
An acquisition unit that acquires information on the number of communication devices in which data has traversed,
The information about the number of communication devices through which the data acquired by the acquisition unit is compared with predetermined information, and is transmitted to the path for receiving data from the protection relay at the other end and to the protection relay at the other end A determination unit for determining a difference from a data path to be performed;
An extraction unit that extracts information about the number of communication devices that are included in the data received from the protection relay at the other end and that the data transmitted by the protection relay at the other end has passed;
I have a,
It said predetermined information, protection relay characterized by information der Rukoto about number of communication device extracted by the extracting unit.
前記経路はリング状であり、
一方の経路における通信装置の数と、これと反対方向の経路における通信装置の数とが異なる保護リレー同士の少なくとも一方において、前記判定部により経路の相違が判定された場合に、当該保護リレー同士とは異なる保護リレーに、経路の相違を通知する通知部を有することを特徴とする請求項1記載の保護リレー。
The path is ring-shaped;
When at least one of the protection relays in which the number of communication devices in one route differs from the number of communication devices in the opposite direction route, when the difference in the route is determined by the determination unit, the protection relays different protection relay according to claim 1 Symbol placement of the protection relay, characterized in that it has a notification unit for notifying the difference pathways and.
相手端の保護リレーとの間でのサンプリングタイミングを同期する同期制御部と、
前記判定部が、経路が相違すると判定した場合に、前記同期制御部による同期を停止して、内部クロックによる制御を行わせる自走部と、
を有することを特徴とする請求項1又は2記載の保護リレー。
A synchronization control unit that synchronizes the sampling timing with the protection relay at the other end,
When the determination unit determines that the path is different, a self-running unit that stops synchronization by the synchronization control unit and performs control by an internal clock; and
Claim 1 or 2 protective relay in accordance characterized by having a.
前記通信経路がリング状であり、
保護リレー同士が自走部による制御を行っている場合に、双方の保護リレーの判定部が経路の相違を検知した場合に、停止していた前記同期制御部による制御を復帰させる復帰部を有することを特徴とする請求項記載の保護リレー。
The communication path is ring-shaped;
When the protection relays are performing control by the self-propelled parts, when the determination part of both protection relays detects a difference in the route, the protection relay has a return part for returning the control by the synchronous control part that has been stopped. The protection relay according to claim 3 .
バックアップ用の経路が接続され、
前記自走部による自走が、所定の時間を経過した場合に、前記バックアップ用の経路に切り替える切替部を有することを特徴とする請求項又は請求項記載の保護リレー。
The backup route is connected,
The self-propelled by the self-propelled unit, when the lapse of a predetermined time, according to claim 3 or claim 4 protection relay according to, characterized in that a switching unit for switching the path for the backup.
複数の通信装置を含む通信の経路に接続された保護リレーが有するコンピュータに、
データが経由した通信装置の数に関する情報を取得する取得処理と、
前記取得処理により取得した前記データが経由した通信装置の数に関する情報と、所定の情報とを比較することにより、相手端の保護リレーからのデータを受信する経路と当該相手端の保護リレーへ送信するデータの経路との相違を判定する判定処理と、
相手端の保護リレーから受信したデータに含まれ、自端の保護リレーが送信したデータが通過した通信装置の数に関する情報を抽出する抽出処理と、
を実行させ
前記所定の情報は、前記抽出処理において抽出した通信装置の数に関する情報であることを特徴とする保護リレー用プログラム。
A computer having a protection relay connected to a communication path including a plurality of communication devices;
An acquisition process of acquiring information on the number of communication devices in which data has traversed,
By comparing information related to the number of communication devices through which the data acquired by the acquisition process has passed and predetermined information, a route for receiving data from the protection relay at the other end and transmission to the protection relay at the other end A determination process for determining a difference from a data path to be performed;
Extraction processing for extracting information on the number of communication devices that are included in the data received from the protection relay at the other end and the data transmitted by the protection relay at the other end has passed,
Was executed,
The predetermined information, a program for protection relay, wherein information der Rukoto on the number of the extracted communication apparatus in the extraction process.
JP2015182257A 2015-09-15 2015-09-15 Protection relay and protection relay program Active JP6563286B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015182257A JP6563286B2 (en) 2015-09-15 2015-09-15 Protection relay and protection relay program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015182257A JP6563286B2 (en) 2015-09-15 2015-09-15 Protection relay and protection relay program

Publications (2)

Publication Number Publication Date
JP2017060270A JP2017060270A (en) 2017-03-23
JP6563286B2 true JP6563286B2 (en) 2019-08-21

Family

ID=58390940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015182257A Active JP6563286B2 (en) 2015-09-15 2015-09-15 Protection relay and protection relay program

Country Status (1)

Country Link
JP (1) JP6563286B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230074703A1 (en) * 2020-02-21 2023-03-09 Nippon Telegraph And Telephone Corporation Communication delay measurement device, communication delay measurement method, and program
JP7525293B2 (en) 2020-04-27 2024-07-30 一般財団法人電力中央研究所 COMMUNICATION CONTROL SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002186166A (en) * 2000-10-06 2002-06-28 Toshiba Corp Digital protective relay
JP4408743B2 (en) * 2004-04-30 2010-02-03 Necエレクトロニクス株式会社 Communication apparatus and reception buffer control method
JP2007221440A (en) * 2006-02-16 2007-08-30 Nec Corp Quality measurement method, terminal, and program
RU2503134C1 (en) * 2009-12-31 2013-12-27 Абб Рисерч Лтд. Method and apparatus for detecting communication channel delay asymmetry
JP2014147019A (en) * 2013-01-30 2014-08-14 Nec Corp Communication device, communication method, and communication program

Also Published As

Publication number Publication date
JP2017060270A (en) 2017-03-23

Similar Documents

Publication Publication Date Title
US8953645B2 (en) Communication system, communication apparatus and time synchronization method
EP2387829B1 (en) Communication method and system
CA2641289C (en) Coordinated fault protection system
US6678134B2 (en) Digital protective relay system
US20120307845A1 (en) Method for detecting a synchronization failure of a transparent clock and related protection schemes
CN113541845B (en) A power communication relay protection service delay control method, system and relay protection equipment
CN103329475A (en) Time Synchronization Method, Substation Device, Master Station Device, Control Device and Program of Communication System
US10250492B2 (en) Segment recovery in connection-oriented network
Shrestha et al. Understanding the impacts of time synchronization and network issues on protection in digital secondary systems
JP6563286B2 (en) Protection relay and protection relay program
Kasztenny et al. Communications and data synchronization for line current differential schemes
JP5457230B2 (en) Protection relay device and current differential protection relay device
JP2015119233A (en) Transmission system, transmission apparatus, and transmission method
Beaumont et al. Performance evaluation of current differential relays over a wide area network
JP6386905B2 (en) Protection relay system
JP2015089182A (en) Process bus application protection system
Aichhorn et al. Secure communication interface for line current differential protection over Ethernet-based networks
WO2013170745A1 (en) Message processing method and optical line equipment in intelligent optical network
Ward et al. Integrating current differential relaying communications into an IP based infrastructure
JP2018102043A (en) Protection relay system
Serizawa et al. Examination on the applicability of IP-related communications to teleprotection systems
Aichhorn Secure Protection Interface Communication for Line Current Differential Protection Systems/submitted by Andreas Aichhorn, M. Sc.
Vo An implementation of packet-switched communication for pilot protection at Tennessee Valley Authority
Yun et al. Technique analysis of t-mpls oam and mpls-tp oam
JP2013085013A (en) Communication device and method for detecting fault of communication device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20171204

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20171204

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190305

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: 20190625

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190724

R150 Certificate of patent or registration of utility model

Ref document number: 6563286

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150