A GOOSE abnormal message detection method based on counting sequence analysis

By comprehensively utilizing the time characteristics, sequence characteristics and CRC characteristics of GOOSE messages to identify GOOSE abnormal messages, it solves the problems of inaccurate and untimely identification in the existing technology, achieves fast and accurate abnormal message identification, and ensures continuous normal operation of electrical protection devices.

CN115580557BActive Publication Date: 2024-10-18STATE GRID CORPORATION OF CHINA +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211159223.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2024-10-18
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

When identifying GOOSE abnormal messages, the existing technology does not fully consider the sending time characteristics and CRC characteristics of the messages, resulting in long and inaccurate identification, which may lead to abnormal operation behavior of the relay protection device.

Method used

A method based on counting sequence analysis is adopted to comprehensively utilize the time characteristics of GOOSE messages, the sequence characteristics of status number StNum and sequence number SqNum, and CRC characteristics to identify GOOSE abnormal messages through timer and check code comparison.

Benefits of technology

It achieves fast, accurate and comprehensive identification of GOOSE abnormal messages, and avoids abnormal action behavior of relay protection devices caused by identification errors or untimely identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115580557B_ABST
    Figure CN115580557B_ABST
Patent Text Reader

Abstract

The present invention discloses a GOOSE abnormal message detection method based on counting sequence analysis, which comprehensively utilizes the GOOSE message time feature, the sequence feature of StNum and SqNum, and the CRC feature to identify the GOOSE abnormal message, and the identification scheme is more perfect, eliminating the influence of device reset on the GOOSE abnormal message identification. Compared with the prior art, the present invention can quickly, accurately and comprehensively identify the GOOSE abnormal message, avoiding the abnormal action behavior of the relay protection device caused by the wrong or untimely identification of the GOOSE abnormal message. By adopting the method of the present invention, compared with the prior art, the present invention can quickly, accurately and comprehensively identify the GOOSE abnormal message, avoiding the abnormal action behavior of the relay protection device caused by the influence of the GOOSE abnormal message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of relay protection of electric power systems, and in particular relates to a method for detecting abnormal GOOSE messages based on counting sequence analysis. Background Art

[0002] The transmission of GOOSE messages adopts a mechanism that combines heartbeat messages and fast retransmission of position-changing messages. When the content of the GOOSE message data set does not change, the device sends the current state, i.e., a heartbeat message, once every T0 time on average. The state sequence number StNum (State Number is used to record the total number of times the GOOSE data has changed) in the message remains unchanged, and the sequence SqNum (Sequence Number is used to record the number of frames sent by the message in a steady state) increases. When an event occurs in the device (such as a switch state change), that is, the content of the GOOSE message data set changes, the device immediately sends all the data of the data set, and then sends the second and third frames at intervals of T1, and sends the fourth and fifth frames at intervals of T2 and T3, with T2 being 2T1 and T3 being 4T1. When the StNum in the first frame message after the data changes, SqNum starts from zero, and then StNum in the message remains unchanged, and SqNum increases.

[0003] The existing technology mainly performs identification based on the sequence characteristics of StNum and SqNum in the GOOSE message, without considering the sending time characteristics and CRC characteristics of the GOOSE message. The identification method is not perfect, which brings about the problem that the identification time of the GOOSE abnormal message is long and the identification is inaccurate. There may be a situation where a normal GOOSE message is mistakenly identified as an abnormal message due to device restoration, or an abnormal GOOSE message is mistakenly identified as a normal message due to an imperfect identification mechanism. If the relay protection device affects the identification of the GOOSE switch quantity due to incorrect or untimely identification of the GOOSE message, it may cause abnormal action behavior of the relay protection device. Summary of the invention

[0004] In order to solve the technical problems mentioned in the above background technology, the present invention proposes a GOOSE abnormal message detection method based on counting sequence analysis, which comprehensively utilizes the time characteristics of the GOOSE message, the sequence characteristics of StNum and SqNum, and the CRC characteristics to identify the GOOSE abnormal message. The identification scheme is more perfect, and the influence of the device reset on the GOOSE abnormal message identification is eliminated. Compared with the prior art, the present invention can quickly, accurately and comprehensively identify the GOOSE abnormal message, and avoids the abnormal action behavior of the relay protection device due to the incorrect or untimely identification of the GOOSE abnormal message.

[0005] In order to achieve the above technical objectives, the technical solution of the present invention is:

[0006] A GOOSE abnormal message detection method based on counting sequence analysis comprises the following steps:

[0007] S1. When receiving the nth GOOSE message Pn, obtain the state number StNum-n and the sequence number SqNum-n of the message, calculate the check code CRC-n of the frame message, and determine the value of n. If n is equal to 1, execute step S2; if n is equal to 2 or equal to 3, execute step S3; if n is greater than 3, execute step S4;

[0008] S2, start timer Tn, and go to step S1;

[0009] S3, stop timer Tn-1, record the value of timer Tn-1, and start timer Tn, and go to step S1;

[0010] S4, stop timer Tn-1, record the value of timer Tn-1, start timer Tn, and determine the values ​​of timers Tn-1 and Tn-2. When the value of Tn-1 is greater than the time threshold t, and the value of Tn-2 is less than t, execute step S5, otherwise go to step S1;

[0011] S5. Compare the status numbers StNum, sequence numbers SqNum and check codes CRC of the messages P1, P2, ..., Pn-2 respectively, and determine the GOOSE message link abnormality based on the comparison results.

[0012] Preferably, the value range of the time threshold t in step S4 is 10ms≤t≤100ms.

[0013] Preferably, in step S5, comparing the status numbers StNum, sequence numbers SqNum and check codes CRC of the messages P1, P2, ..., Pn-2 respectively specifically refers to:

[0014] (1) When StNum-x=StNum-y, SqNum-x≤SqNum-y, CRC-x≠CRC-y;

[0015] (2) When StNum-x≠StNum-y, CRC-x=CRC-y;

[0016] Among them, the size relationship between x and y is 1≤x<y≤n-2;

[0017] When the comparison result meets any of the above conditions, it is determined to be a GOOSE abnormal message.

[0018] Preferably, the check code CRC of the GOOSE message in step S1 and step S5 is a check code obtained by calculating the content of the GOOSE message data set.

[0019] Preferably, in step S4, when the value of Tn-1 is greater than the time threshold t, it is determined that the device has been reset.

[0020] The beneficial effects brought by adopting the above technical solution are:

[0021] The present invention adopts a technical means of comprehensively utilizing the time characteristics of GOOSE messages, the sequence characteristics of StNum and SqNum, and the CRC characteristics to identify GOOSE abnormal messages. The identification scheme is more perfect and the influence of device restoration on the identification of GOOSE abnormal messages is eliminated. Compared with the prior art, the present invention can quickly, accurately and comprehensively identify GOOSE abnormal messages and avoid abnormal action behavior of relay protection devices caused by incorrect or untimely identification of GOOSE abnormal messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 Flowchart of the present invention. DETAILED DESCRIPTION

[0023] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.

[0024] like Figure 1 As shown, this embodiment provides a GOOSE abnormal message detection method based on counting sequence analysis, which specifically includes the following steps:

[0025] Step 1: When the nth frame GOOSE message Pn is received, the state number StNum-n and the sequence number SqNum-n of the message are obtained, the check code CRC-n of the frame message is calculated, and the value of n is determined. If n is equal to 1, step 2 is executed; if n is equal to 2 or equal to 3, step 3 is executed; if n is greater than 3, step 4 is executed;

[0026] Step 2: Start timer Tn and go to step 1;

[0027] Step 3: Stop timer Tn-1, record the value of timer Tn-1, and start timer Tn, and go to step 1;

[0028] Step 4: Stop timer Tn-1, record the value of timer Tn-1, and start timer Tn, and determine the values ​​of timers Tn-1 and Tn-2. When the value of Tn-1 is greater than the time threshold t, and the value of Tn-2 is less than t, execute step 5, otherwise go to step 1;

[0029] Step 5: Compare the status sequence number StNum, sequence number SqNum and check code CRC of messages P1, P2, ..., Pn-2 respectively. If any of the following conditions is met, it is determined that the GOOSE message link is abnormal:

[0030] (1) When StNum-x=StNum-y, SqNum-x≤SqNum-y, CRC-x≠CRC-y;

[0031] (2) When StNum-x≠StNum-y, CRC-x=CRC-y;

[0032] Among them, the size relationship between x and y is 1≤x<y≤n-2.

[0033] When the comparison result meets any of the above conditions, it is determined to be a GOOSE abnormal message.

[0034] Preferably, the check code CRC of the GOOSE message in step 1 and step 5 is a check code obtained by calculating the content of the GOOSE message data set.

[0035] Preferably, the value range of the time threshold t in step 4 is 10ms≤t≤100ms.

[0036] Preferably, in step 4, when the value of Tn-1 is greater than the time threshold t, it is determined that the device has been reset.

[0037] The embodiments are only for illustrating the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.

Claims

1. A GOOSE abnormal message detection method based on counting sequence analysis, characterized in that: The following steps are involved: S1. When receiving the nth GOOSE message Pn, obtain the state number StNum-n and the sequence number SqNu-n of the message, calculate the check code CRC-n of the frame message, and determine the value of n. If n is equal to 1, execute step S2; if n is equal to 2 or equal to 3, execute step S3; if n is greater than 3, execute step S4; S2, start timer Tn, and go to step S1; S3, stop timer Tn-1, record the value of timer Tn-1, and start timer Tn, and go to step S1; S4, stop timer Tn-1, record the value of timer Tn-1, and start timer Tn, and determine the values ​​of timers Tn-1 and Tn-2. When the value of Tn-1 is greater than the time threshold t, and the value of Tn-2 is less than t, execute step S5, otherwise go to step S1; S5, respectively compare the status number StNum, sequence number SqNum and check code CRC of the messages P1, P2, ..., Pn-2, and determine the GOOSE message link abnormality according to the comparison result; In step S5, the status sequence number StNum, the sequence number SqNum and the check code CRC of the messages P1, P2, ..., Pn-2 are compared respectively, specifically referring to: (1) When StNum-x=StNum-y, SqNum-x≤SqNum-y, CRC-x≠CRC-y; (2) When StNum-x≠StNum-y, CRC-x=CRC-y; Among them, the size relationship between x and y is 1≤x<y≤n-2; When the comparison result meets any of the above conditions, it is determined to be a GOOSE abnormal message.

2. According to claim 1, a GOOSE abnormal message detection method based on counting sequence analysis is characterized in that: The value range of the time threshold t in step S4 is 10ms≤t≤100ms.

3. According to claim 1, a GOOSE abnormal message detection method based on counting sequence analysis is characterized in that: The check code CRC of the GOOSE message in step S1 and step S5 is a check code obtained by calculating the content of the GOOSE message data set.

4. According to claim 1, a GOOSE abnormal message detection method based on counting sequence analysis is characterized in that: In step S4, when the value of Tn-1 is greater than the time threshold t, it is determined that the device has been reset.

Citation Information

Patent Citations

  • Fuzzy test method for GOOSE protocol of intelligent substation

    CN110677273A

  • GOOSE dual-network communication data processing method and device

    CN113259491A