Switch device for substation and error warning method thereof

The present disclosure illustrates a switch device for substation and an error warning method thereof. The switch device accesses and copies a generic object oriented substation event (GOOSE) packet, and when the copied GOOSE packet is determined to trigger an abnormal condition event, the switch device generates and transmits an abnormal condition event confirmation request to an upstream switch device. A warning message is issued when a ready response cannot be received by the switch device from the upstream switch device. Therefore, the technical effect of quickly and accurately finding the switch device triggering the abnormal condition event first to facilitate repair may be achieved.

BACKGROUND

1. Technical Field

The present disclosure relates to a switch device and an error warning method, more particularly to a switch device for substation and an error warning method thereof.

2. Description of Related Arts

The Generic Object Oriented Substation Event (abbreviated as GOOSE) protocol is the most important communication protocol defined in IEC 61850 standard for substation. The GOOSE protocol defines controlling commands used between intelligent electronic devices (abbreviated as IED) disposed in the substation.

When an abnormal event occurs in system of the substation, power lines distributed in the area, where the abnormal event occurs, are isolated to stop supplying power, thereby protecting other areas to supply power normally. As a result, when the GOOSE packet can respond correctly and immediately, the areas affected by the abnormal event can be reduced and the loss in money and operation of the substation can be lowered.

In a conventional system, when the intelligent electronic device does not normally receive the GOOSE packet transmitted from other intelligent electronic device, maintenance staff must check communication statuses of all switch devices between the intelligent electronic device and other intelligent electronic devices one by one, in order to find the cause of failure. However, the network structure of the substation is very complicated, so the efficiency in troubleshoot may be poor, it results in longer recovery time and more loss for power supply system.

Therefore, what is need is to develop a switch device to solve the conventional technology problem of poor efficiency in detecting failure of the switch device for the sub station.

SUMMARY

In order to solve the conventional technology problem of poor efficiency in detecting failure of the switch device for the substation, the present disclosure is to provide a switch device for a substation and an error warning method thereof.

According to an embodiment, the present disclosure provides a switch device for a substation. The switch device includes a packet receiving module, a packet transmitting module, a packet access control module, a packet determination module, a request transmitting module, a warning module, a request receiving module, a request determination module, and a request reply transmitting module.

The packet receiving module is configured to receive a generic object oriented substation event (GOOSE) packet. The packet transmitting module is configured to transmit the GOOSE packet. The packet access control module is configured to access and copy the GOOSE packet when the packet receiving module receives the GOOSE packet, to generate a copied GOOSE packet. The packet determination module is configured to generate an abnormal condition event confirmation request when the packet determination module determines that the copied GOOSE packet triggers an abnormal condition event. The request transmitting module is configured to transmit the abnormal condition event confirmation request to an upstream switch device which transmits the GOOSE packet. The warning module is configured to issue a warning message when no ready response is received from the upstream switch device. The request receiving module is configured to receive the abnormal condition event confirmation request from a downstream switch device which receives the GOOSE packet.

The request determination module is configured to generate a ready response when the request determination module determines that the abnormal condition event triggered by the switch device matches with the abnormal condition event confirmation request. The request reply transmitting module is configured to transmit the ready response to the downstream switch device.

According to an embodiment, the present disclosure provides an error warning method for a switch device for a substation, and the error warning method includes following steps: receiving, by the switch device, an generic object oriented substation event (GOOSE) packet; next, transmitting, by the switch device, the GOOSE packet; copying and accessing the GOOSE packet to generate a copied GOOSE packet when the switch device receives the GOOSE packet; next, generating an abnormal condition event confirmation request when the switch device determines that the copied GOOSE packet triggers an abnormal condition event; transmitting, by the switch device, the abnormal condition event confirmation request to an upstream switch device which transmits the GOOSE packet; next, issuing a warning message when no ready response is received from the upstream switch device; receiving, by the switch device, the abnormal condition event confirmation request from an downstream switch device which receives the GOOSE packet; generating a ready response when the switch device determines the abnormal condition event triggered by the switch device matches with the abnormal condition event confirmation request; and transmitting, by the switch device, the ready response to the downstream switch device.

According to above content, the difference between the present disclosure and the conventional technology is that the switch device of the present disclosure can copy and access the GOOSE packet, and when the switch device determines that the copied GOOSE packet triggers the abnormal condition event, the switch device generates and transmits the abnormal condition event confirmation request to the corresponding upstream switch device, and the switch device then issues the warning message if the switch device does not receive the ready response from the upstream switch device.

By using above-mentioned technical means, the technical effect of quickly and accurately finding the switch device, which triggers the abnormal condition event first, to facilitate repair can be achieved.

DETAILED DESCRIPTION

Please refer toFIG. 1, which is a block diagram of the switch device for the substation, in accordance with the present disclosure.

The technology of the present disclosure is particularly applied to the substation. Intelligent electronic devices (IEDs) disposed in the substation can transmit generic object oriented substation event (GOOSE) packets to other IEDs through the switch devices of the present disclosure. According to disposal of the switch devices of the present disclosure, the switch device triggering an abnormal condition event first can be quickly and accurately obtained, thereby facilitating maintenance staff to repair the switch device or the interconnection between the switch devices.

The switch device10of the present disclosure includes a packet receiving module11, a packet transmitting module12, a packet access control module13, a packet determination module14, a request transmitting module15, a warning module16, a request receiving module17, a request determination module18, and a request reply transmitting module19.

The switch device10can be interconnected with the IED or other switch device10, so that the IED can transmit the GOOSE packet to other IED through the switch device10. The packet receiving module11of the switch device10can receive the GOOSE packet from the IED or an upstream switch device. It should be noted that the other switch device transmitting the GOOSE packet to the packet receiving module11of the switch device10is regarded as the upstream switch device, in order to distinguish the switch device10from the other switch device.

When the packet receiving module11of the switch device10receives the GOOSE packet, the packet access control module13of the switch device10can access the GOOSE packet by using packet access control function of an Ethernet switch chip to generate a copied GOOSE packet for further packet determination process.

The switch device10also establishes a packet port mapping table which records the corresponding relationships between the copied GOOSE packets and input ports. For example, when a first input port of the switch device10receives the first GOOSE packet and generates a first copied GOOSE packet, the switch device10establishes the corresponding relationship between the first copied GOOSE packet and the first input port and stores the corresponding relationship in the packet port mapping table. However, this example is merely for exemplary illustration and the application field of the present disclosure is not limited thereto.

The packet transmitting module12of the switch device10can transmit the GOOSE packet to the IED or a downstream switch device. In order to distinguish the switch device10from other switch device, the switch device receiving the GOOSE packet from the switch device10is regarded as the downstream switch device. Through the packet receiving module11and the packet transmitting module12of the switch device10, the IED can transmit the GOOSE packet to other IED

After the packet access control module13of the switch device10accesses the copied GOOSE packet, the packet determination module14of the switch device10checks contents of a TATL field, a sqNum field, an APP ID field and a goCBRef field of the copied GOOSE packet, to determine whether the copied GOOSE packet triggers an abnormal condition event Timeout, an abnormal condition event Tampered, or an abnormal condition event Sequence Disorder.

Particularly, the packet determination module14of the switch device10can determine whether the copied GOOSE packet triggers the abnormal condition event Timeout according to a value stored in the TATL field of the copied GOOSE packet; the packet determination module14of the switch device10can determine whether the copied GOOSE packet triggers the abnormal condition event Sequence Disorder according to a value stored in the sqNum field of the copied GOOSE packet; the packet determination module14of the switch device10can determine whether the copied GOOSE packet triggers the abnormal condition event Tampered according to contents stored in the APP ID field and the goCBRef field of the copied GOOSE packet. These examples are merely for exemplary illustration, and the application field of the present disclosure is not limited thereto.

When the packet determination module14of the switch device10determines that the copied GOOSE packet triggers the abnormal condition event, the packet determination module14generates an abnormal condition event confirmation request corresponding to the abnormal condition event triggered by the copied GOOSE packet, and the request transmitting module15of the switch device10transmits the abnormal condition event confirmation request to a corresponding upstream switch device, according to the packet port mapping table established by the switch device10.

Particularly, after the packet determination module14of the switch device10determines that the copied GOOSE packet triggers the abnormal condition event Timeout, the packet determination module14generates an abnormal condition event Timeout confirmation request corresponding to the abnormal condition event Timeout, and the request transmitting module15of the switch device10transmits the abnormal condition event Timeout confirmation request to a corresponding upstream switch device. However, this example is merely for exemplary illustration, and the application field of the present disclosure is not limited thereto.

If the switch device10does not receive a ready response from the corresponding upstream switch device in a predetermined time interval, the warning module16of the switch device10can generate and issue a warning message according to the abnormal condition event and the packet port mapping table, and the warning message indicates that the switch device10is the switch device triggering the abnormal condition event first. If the switch device10receives the ready response from the corresponding to upstream switch device in the predetermined time interval, it indicates that the switch device10and the upstream switch device both trigger the same abnormal condition event, and in this case, the warning module16of the switch device10does not generate and issue the warning message according to the abnormal condition event and the packet port mapping table, because the switch device10is not the switch device triggering the abnormal condition event first.

Particularly, when the copied GOOSE packet triggers the abnormal condition event Timeout and the corresponding relationship between the first copied GOOSE packet and the first input port is established, the warning message generated by the warning module16of the switch device10indicates that the first GOOSE packet received from the first input port triggers the abnormal condition event Timeout. However, this example is merely for exemplary illustration, and the application field of the present disclosure is not limited thereto.

The request receiving module17of the switch device10is configured to receive an abnormal condition event confirmation request from the corresponding downstream switch device which receives the GOOSE packet, and the request determination module18of the switch device10determines whether the abnormal condition event triggered by the switch device10matches with the abnormal condition event confirmation request, and when the request determination module18of the switch device10determines that the abnormal condition event triggered by itself matches with the abnormal condition event confirmation request, the request determination module18generates the ready response, and the request reply transmitting module19of the switch device10transmits the ready response, which is generated by the request determination module18of the switch device10, to the corresponding downstream switch device. When the request determination module18of the switch device10determines that the switch device10does not trigger the abnormal condition event matching with the abnormal condition event confirmation request, the request determination module18does not generate the ready response and the request reply transmitting module19of the switch device10does not transmit any ready response to the corresponding downstream switch device.

The following describes an embodiment to illustrate operation of embodiment of the device and method of the present disclosure. Please refer toFIGS. 2A, 2B, 3 and 4.FIGS. 2A and 2Bare flowcharts showing the steps in an operation of the error warning method for switch device of the present disclosure.FIG. 3is a schematic view of architecture of switch devices warning error, in accordance with the present disclosure.FIG. 4is a schematic view showing packet port mapping tables established by the switch devices for the substation, during operation of the error warning method of the present disclosure.

In a step101, a first intelligent electronic device21transmits a first GOOSE packet31to a third intelligent electronic device23, and a first switch device41, a second switch device42, a third switch device43, a fourth switch device44and a fifth switch device45respectively receive the first GOOSE packet31and the second GOOSE packet32. In a step102, the first switch device41, the second switch device42, the third switch device43, the fourth switch device44and the fifth switch device45respectively transmit the first GOOSE packet31and the second GOOSE packet32. In a step103, the first switch device41, the second switch device42, the third switch device43, the fourth switch device44and the fifth switch device45respectively copy the first GOOSE packet31and the second GOOSE packet32for sequential access and determination.

When a fourth intelligent electronic device24transmits the second GOOSE packet32to a second intelligent electronic device22, the first switch device41establishes a first packet port mapping table51, as shown in the part (A) ofFIG. 4; and the second switch device42establishes a second packet port mapping table52, as shown in the part (B) ofFIG. 4; and the third switch device43establishes a third packet port mapping table53, as shown in the part (C) ofFIG. 4; and the fourth switch device44establishes a fourth packet port mapping table54, as shown in the part (D) ofFIG. 4; and the fifth switch device45establishes a fifth packet port mapping table55, as shown in the part (E) ofFIG. 4.

In a step104, when the second switch device42, the third switch device43, the fourth switch device44and the fifth switch device45respectively determine that the copied first GOOSE packet triggers an abnormal condition event Timeout, the second switch device42, the third switch device43, the fourth switch device44and the fifth switch device45respectively generate an abnormal condition event Timeout confirmation request61according to the abnormal condition event Timeout.

In steps105and107, according to the second packet port mapping table52, the second switch device42can transmit the abnormal condition event Timeout confirmation request61to the third switch device43, and according to the fourth packet port mapping table54, the fourth switch device44can transmit the abnormal condition event Timeout confirmation request61to the third switch device43, and according to the fifth packet port mapping table55, the fifth switch device45can transmit the abnormal condition event Timeout confirmation request61to the third switch device43.

In a step108, the third switch device43, the second switch device42, the fourth switch device44and the fifth switch device45all transmit the abnormal condition event Timeout confirmation request61, so the third switch device43generates a ready response62when the third switch device43receives the abnormal condition event Timeout confirmation request61from the second switch device42, the fourth switch device44and the fifth switch device45respectively, and in a step109, the third switch device43transmits the ready response62to the second switch device42, the fourth switch device44and the fifth switch device45, respectively.

The second switch device42, the fourth switch device44and the fifth switch device45can receive the ready response62from the third switch device43within the predetermined time interval, so the second switch device42does not generate and issue the warning message according to the abnormal condition event Timeout and the second packet port mapping table52, and the fourth switch device44does not generate and issue the warning message according to the abnormal condition event Timeout and the fourth packet port mapping table54, and the fifth switch device45does not generate and issue the warning message according to the abnormal condition event Timeout and the fifth packet port mapping table55.

In the step105and107, the third switch device43can transmit the abnormal condition event Timeout confirmation request61to the first switch device41according to the third packet port mapping table53. However, the first switch device41does not trigger the abnormal condition event Timeout, so, in a step106, the first switch device41does not generate the ready response when the first switch device41receives the abnormal condition event Timeout confirmation request61from the third switch device43; in other words, the third switch device43does not receive the ready response from the first switch device41in the predetermined time interval, so the third switch device43generates and issues the warning message according to the abnormal condition event Timeout and the third packet port mapping table53, and the warning message indicates that the first GOOSE packet received from the first input port triggers the abnormal condition event Timeout. As a result, the maintenance staff can repair the first switch device41, the third switch device43or the interconnection between the first switch device41and the third switch device43.

In a step104, the first switch device41, the third switch device43, the fourth switch device44and the fifth switch device45respectively determine that the copied second GOOSE packet triggers an abnormal condition event Sequence Disorder, and the first switch device41, the third switch device43, the fourth switch device44and the fifth switch device45respectively generate an abnormal condition event Sequence Disorder confirmation request63according to the abnormal condition event Sequence Disorder.

In the step105and107, according to the first packet port mapping table51, the first switch device41transmits the abnormal condition event Sequence Disorder confirmation request63to the third switch device43; according to the fourth packet port mapping table54, the fourth switch device44transmits the abnormal condition event Sequence Disorder confirmation request63to the third switch device43; and according to the fifth packet port mapping table55, the fifth switch device45transmits the abnormal condition event Sequence Disorder confirmation request63to the third switch device43.

In a step108, the third switch device43, the first switch device41, the fourth switch device44and the fifth switch device45all trigger the abnormal condition event Sequence Disorder confirmation request63, so the third switch device43generates the ready response64when the third switch device43receives the abnormal condition event Sequence Disorder confirmation request63from the first switch device41, the fourth switch device44and the fifth switch device45. In a step109, the third switch device43transmits the ready response64to the first switch device41, the fourth switch device44and the fifth switch device45, respectively.

The first switch device41, the fourth switch device44and the fifth switch device45receives the ready response64from the third switch device43within the predetermined time interval, so the first switch device41does not generate and issue the warning message according to the abnormal condition event Sequence Disorder and the first packet port mapping table, and the fourth switch device44does not generate and issue the warning message according to the abnormal condition event Sequence Disorder and the fourth packet port mapping table54, and the fifth switch device45does not generate and issue the warning message according to the abnormal condition event Sequence Disorder and the fifth packet port mapping table55.

In the steps105and107, according to the third packet port mapping table53, the third switch device43can transmit the abnormal condition event Sequence Disorder confirmation request63to the second switch device42; however, the second switch device42does not trigger the abnormal condition event Sequence Disorder, so the second switch device42does not generate the ready response when the second switch device42receives the abnormal condition event Sequence Disorder confirmation request63from the third switch device43. As a result, in the step106, the third switch device43does not receive the ready response from the second switch device42within the predetermined time interval, so the third switch device43can generate and issue the warning message according to the abnormal condition event Sequence Disorder and the third packet port mapping table53. The warning message indicates that the second GOOSE packet received from the second input port triggers the abnormal condition event Sequence Disorder. According to the warning message, the maintenance staff can repair the second switch device42, the switch device switch device43, or the interconnection between the second switch device42and the third switch device43.

To summarize, the difference between the present disclosure and the conventional technology is that the switch device of the present disclosure can copy and access the GOOSE packet, and when the switch device determines that the copied GOOSE packet triggers the abnormal condition event, the switch device generates and transmits the abnormal condition event confirmation request to the corresponding upstream switch device, and the switch device then issues the warning message if the switch device does not receive the ready response from the upstream switch device.

By using above-mentioned technical means, the conventional technology problem of poor efficiency of detecting the error of switch device applied in the substation can be solved, and the maintenance staff can quickly and accurately obtain the switch device triggering the abnormal condition event first, so as to improve repair efficiency.

The present disclosure disclosed herein has been described by means of specific embodiments. However, numerous modifications, variations and enhancements can be made thereto by those skilled in the art without departing from the spirit and scope of the invention set forth in the claims.