An Automatic Testing Method for Configuration-Free Relay Protection Devices Based on APPID Information

By using a configuration-free method based on APPID information, automatic testing of the next-generation intelligent substation relay protection device was achieved, solving the problem of low automation of traditional testing equipment and improving testing reliability and efficiency.

CN122131034APending Publication Date: 2026-06-02SHANGQIU POWER SUPPLY CO OF STATE GRID HANAN ELECTRIC POWER CO

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGQIU POWER SUPPLY CO OF STATE GRID HANAN ELECTRIC POWER CO
Filing Date
2026-01-12
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Traditional substation protection testing equipment has a low degree of automation, relies heavily on manual operation, has low testing efficiency and is prone to errors, and cannot meet the testing needs of the new generation of smart substations.

Method used

The automatic testing method for configuration-free relay protection devices based on APPID information obtains the APPID value by parsing GOOSE messages, constructs a configuration-free information database, and automatically generates GOOSE and SV message control blocks to achieve direct testing without configuration information.

Benefits of technology

It significantly improves the reliability of protection function verification and device linkage testing, reduces manual configuration errors, shortens the testing cycle, and improves operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122131034A_ABST
    Figure CN122131034A_ABST
Patent Text Reader

Abstract

This invention discloses an automatic testing method for relay protection devices without configuration based on APPID information. The method involves real-time acquisition of messages from the device under test (DUT), parsing the APPID information of the GOOSE messages sent by the DUT, identifying the IEDname of the DUT based on the APPID information, identifying the bay to which the DUT belongs based on the IEDname, statistically analyzing the IEDname information of all devices within the bay, using regular expressions for matching, identifying IEDname information with the same category as the DUT, manually selecting IEDnames with bay-level association relationships with the DUT, extracting the APPID information of all IEDnames, constructing a message control block based on the APPID information, and outputting excitation quantities to complete the automatic testing of the relay protection device. This invention changes the traditional testing method for relay protection devices, enabling direct testing of protection devices without configuration files, and significantly enhancing the reliability of protection function verification and device linkage testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent substation operation and maintenance technology, specifically relating to an automatic testing method for configuration-free relay protection devices based on APPID information. Background Technology

[0002] With the implementation of pilot projects for the secondary systems of new-generation high-reliability substations within the State Grid system, multiple new-generation smart substations have been gradually established. Among these, the "configuration-free" technology concept has been proposed in the new-generation high-reliability substation technology system, and relevant technical specifications for configuration-free operation have been formulated. Configuration-free technology mainly involves parameterizing device configurations to avoid describing the primary and secondary attribute information, topology information, and device relationship information of secondary intelligent devices using configuration parameters. This ensures that secondary intelligent devices only need to set necessary configuration-free parameters to automatically generate virtual loop configurations, eliminating the need for cumbersome virtual terminal table design, SCD integration, configuration file export, and configuration file download processes. This greatly simplifies the virtual loop configuration generation process and reduces the risk of configuration errors.

[0003] Because the new generation of intelligent relay protection equipment adopts more complex algorithms, communication protocols and logic functions, traditional substation protection testing equipment and testing schemes cannot fully meet the testing requirements of the new relay protection devices. At the same time, although traditional testing equipment has certain automation functions, overall, relay protection testing and inspection still rely on a lot of manual operation, with a low degree of automation. Many test items still require manual input of test parameters and recording of test results, which is inefficient and prone to errors.

[0004] Therefore, in order to solve the above problems, it is necessary to develop an automatic testing method for relay protection devices that does not require configuration based on APPID information. Summary of the Invention

[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide an automatic testing method for relay protection devices without configuration based on APPID information. This method changes the traditional testing method for relay protection devices, realizes direct testing without configuration information, and significantly enhances the reliability of protection function verification and device linkage testing.

[0006] The objective of this invention is achieved as follows: an automatic testing method for configuration-free relay protection devices based on APPID information, comprising the following steps: Step 1: Parse the frame header of the message sent by the relay protection device under test through the test system to obtain the GOOSE message of the process layer; Step 2: Parse the application identifier APPID in the GOOSE message of the process layer and save the parsed APPID value; Step 3: Construct a configuration-free information database. Compare the APPID value obtained in Step 2 with the parsed value in the database. If the two match, obtain the name of the protection device and IEDname that match the current comparison, and save them as the name of the protection device and IEDname of the relay protection device under test. Step 4: Obtain the bay information to which the protection device belongs based on the protection device name of the relay protection device under test, and obtain the IED name of all secondary equipment in this bay according to the bay information; Step 5: Based on the IEDname of the relay protection device under test, filter the secondary devices in this bay to obtain the secondary devices that belong to the same category, obtain the IEDname of these secondary devices, and identify the corresponding APPID information. Step 6: Manually select the IEDname of the secondary equipment that has a bay layer connection with the relay protection device under test, and identify the corresponding APPID information; Step 7: Based on the APPID information of the process layer and bay layer devices associated with the relay protection device under test, and combined with the configuration-free information database, automatically generate the corresponding GOOSE and SV message control blocks, and import them into the test system for output.

[0007] Furthermore, step 1 specifically includes the following steps: Step 1.1: Connect the test system to the relay protection device under test via optical fiber and acquire the process layer GOOSE messages sent by the relay protection device under test in real time. Step 1.2: Parse the Ethernet Type field in the message according to the message structure; Step 1.3: When the value of the Ethernet Type field is 0x88BA, discard the message; when the value of the Ethernet Type field is 0x88B8, retain the message and proceed to the next step.

[0008] Furthermore, step 2 specifically includes the following steps: Step 2.1: When the value of the Ethernet Type field in the process layer GOOSE message is 0x88B8, parse the APPID field in the IEC-GOOSE structure of the message frame; Step 2.2: Extract the value from the APPID field and save it as the application identifier of the GOOSE message sent by the relay protection device under test.

[0009] Furthermore, step 3 specifically includes the following steps: Step 3.1: Establish a configuration-free information database based on the configuration-free specification, query the configuration-free device connection relationship database in the database, and find the secondary device GOOSE naming address tab; Step 3.2: Compare the APPID value saved in Step 2 with the APPID field in the tab. If they match, save all the information in that field. Step 3.3: Extract the information from the "Protection Device" and "IEDname" columns in this column, save the extracted strings, and proceed to the next step of processing.

[0010] Furthermore, step 4 specifically includes the following steps: Step 4.1: Using the extracted "protection device" string as a reference, identify the "interval" string to which the string belongs; Step 4.2: Search all “interval” strings and identify the entries that match the interval string to which “protective device” belongs; Step 4.3: Parse the "IEDname" information in all consistent entries and save the "IEDname" information string for each column.

[0011] Furthermore, step 5 specifically includes the following steps: Step 5.1: Parse all the "IEDname" strings with consistent spacing, parse out the number of characters in the string, and extract the last letter; Step 5.2: Use regular expressions to match the last letter of the "IEDname" string of the relay protection device under test; Step 5.3: Use regular expressions to match the last letter of the "IEDname" string of all secondary devices with the same interval as the relay protection device under test. If it matches the relay protection device under test, keep it; otherwise, discard it. Step 5.4: Identify the "APPID" information of the secondary device whose "IEDname" matches the last letter of the relay protection device under test, save it and wait for the next step of processing.

[0012] Furthermore, step 6 specifically includes the following steps: Step 6.1: Based on the actual wiring of the relay protection device under test on site, manually select the secondary equipment in the bay layer that has a connection relationship with the relay protection device under test, and then identify the selected "protection device" string. Step 6.2: Based on the selected “protection device” string, extract the “APPID” information value of the device.

[0013] Furthermore, step 7 specifically includes the following steps: Step 7.1: Based on the extracted APPID information of all secondary devices that are associated with the relay protection device under test, and based on the configuration-free device control block specification, automatically construct the corresponding GOOSE and SV message control blocks. Step 7.2: After the GOOSE and SV message control blocks are constructed, the test system applies an excitation quantity to the relay protection device under test, drives the relay protection device under test to respond, and collects the action information of the relay protection device under test, thus completing the automatic test of the relay protection device without configuration.

[0014] Due to the adoption of the above technical solution, the beneficial effects of the present invention are: (1) By directly obtaining the parameter information of the device under test, the automatic testing of the relay protection device is realized based on the APPID information. There is no need to import the configuration file, which effectively avoids the test error caused by the discrepancy between the manual configuration file and the actual device, and significantly improves the reliability of the test. (2) Through automated testing processes, the testing cycle of new generation substation protection devices can be significantly shortened, labor costs can be reduced, the testing and maintenance of protection devices can be completed more efficiently, and the operation and maintenance efficiency can be improved. Attached Figure Description

[0015] Figure 1 This is a flowchart of the present invention. Detailed Implementation

[0016] The technical solution of the present invention will be further described in detail below through embodiments and in conjunction with the accompanying drawings.

[0017] like Figure 1 As shown, an automatic testing method for configuration-free relay protection devices based on APPID information includes the following steps: Step 1: Parse the frame header of the message sent by the relay protection device under test using the test system to obtain the process layer GOOSE message. Preferably, Step 1 specifically includes the following steps: Step 1.1: Connect the test system to the relay protection device under test via optical fiber and acquire the process layer GOOSE messages sent by the relay protection device under test in real time. Step 1.2: Parse the Ethernet Type field in the message according to the message structure; Step 1.3: When the value of the Ethernet Type field is 0x88BA, discard the message; when the value of the Ethernet Type field is 0x88B8, retain the message and proceed to the next step.

[0018] Step 2: Parse the application identifier (APPID) of the GOOSE message at the process layer and save the parsed APPID value. Preferably, Step 2 specifically includes the following steps: Step 2.1: When the value of the Ethernet Type field in the process layer GOOSE message is 0x88B8, parse the APPID field in the IEC-GOOSE structure of the message frame; Step 2.2: Extract the value from the APPID field and save it as the application identifier of the GOOSE message sent by the relay protection device under test.

[0019] Step 3: Construct a configuration-free information database. Compare the APPID value obtained in Step 2 with the parsed value in the database. If they match, obtain the name and IEDname of the protection device that match, and save them as the protection device name and IEDname of the relay protection device under test. Preferably, Step 2 specifically includes the following steps: Step 3.1: Establish a configuration-free information database based on the configuration-free specification, query the configuration-free device connection relationship database in the database, and find the secondary device GOOSE naming address tab; Step 3.2: Compare the APPID value saved in Step 2 with the APPID field in the tab. If they match, save all the information in that field. Step 3.3: Extract the information from the "Protection Device" and "IEDname" columns in this column, save the extracted strings, and proceed to the next step of processing.

[0020] Step 4: Obtain the bay information to which the protection device belongs based on the name of the protection device under test, and obtain the IEDname of all secondary equipment within this bay according to the bay information. Preferably, step 4 specifically includes the following steps: Step 4.1: Using the extracted "protection device" string as a reference, identify the "interval" string to which the string belongs; Step 4.2: Search all “interval” strings and identify the entries that match the interval string to which “protective device” belongs; Step 4.3: Parse the "IEDname" information in all consistent entries and save the "IEDname" information string for each column.

[0021] Step 5: Based on the IEDname of the relay protection device under test, filter the secondary equipment within this bay to obtain secondary equipment belonging to the same category, acquire the IEDname of these secondary equipment, and identify the corresponding APPID information. Preferably, step 5 specifically includes the following steps: Step 5.1: Parse all the "IEDname" strings with consistent spacing, parse out the number of characters in the string, and extract the last letter; Step 5.2: Use regular expressions to match the last letter of the "IEDname" string of the relay protection device under test, that is, identify whether the last letter of the "IEDname" string of the relay protection device under test is A or B; Step 5.3: Use regular expressions to match the last letter of the "IEDname" string of all secondary devices with the same interval as the relay protection device under test. If it matches the relay protection device under test, keep it; otherwise, discard it. Step 5.4: Identify the "APPID" information of the secondary device whose "IEDname" matches the last letter of the relay protection device under test, save it and wait for the next step of processing.

[0022] Step 6: Manually select the IEDname of the secondary equipment connected to the relay protection device under test at the bay level, and identify the corresponding APPID information. Preferably, step 6 specifically includes the following steps: Step 6.1: Based on the actual wiring of the relay protection device under test on site, manually select the secondary equipment in the bay layer that has a connection relationship with the relay protection device under test, and then identify the selected "protection device" string. Step 6.2: Based on the selected “protection device” string, extract the “APPID” information value of the device.

[0023] Step 7: Based on the APPID information of the process layer and bay layer devices associated with the relay protection device under test, and combined with the configuration-free information database, automatically generate the corresponding GOOSE and SV message control blocks, and import them into the test system for output. Preferably, step 7 specifically includes the following steps: Step 7.1: Based on the extracted APPID information of all secondary devices that are associated with the relay protection device under test, and based on the configuration-free device control block specification, automatically construct the corresponding GOOSE and SV message control blocks. Step 7.2: After the GOOSE and SV message control blocks are constructed, the test system applies an excitation quantity to the relay protection device under test, drives the relay protection device under test to respond, and collects the action information of the relay protection device under test, thus completing the automatic test of the relay protection device without configuration.

[0024] As a preferred embodiment of this application, taking the circuit breaker protection with "IEDname" P_B2201A as an example, the test system is connected to the device under test via a transmission optical fiber to perform automatic testing without configuration; specifically, the following steps are included: Step 1: In real time, acquire and parse the Ethernet Type field in the process layer GOOSE message of the device under test until the message with the value of Ethernet Type field 0x88B8 is parsed out and saved for the next step of processing.

[0025] Step 2: After parsing the message with the Ethernet Type field value of 0x88B8, continue to parse the APPID field value in the IEC-GOOSE structure. At this time, its value is 0x2AA8. This value is the APPID information of the device under test. Extract and save this value as the application identifier of the GOOSE message sent by the relay protection device under test.

[0026] Step 3: Perform a global search in the configuration-free information database, find the column with APPID 0x2AA8, and extract the "protection device" and "IEDname" information of this column. After searching, the strings of the protection device and IEDname of the device under test are "the first set of circuit breaker protection" and "P_B2201A" respectively.

[0027] Step 4: Based on the name of the protection device, retrieve the corresponding "bay" name. After searching, the bay name corresponding to "Set 1 Circuit Breaker Protection" is "220kV Circuit Breaker Bay 1". Search all columns with the bay name "220kV Circuit Breaker Bay 1" and extract the corresponding "IEDname". After searching, the IEDnames of the devices in the same bay as the device under test are "P_B2201A", "P_B2201B", "AE_B2201A", "AE_B2201B", and "C_B2201A".

[0028] Step 5: Use regular expressions to match the last character of the device under test P_B2201A. After matching, the last character is A. Use regular expressions to match all "IEDname" within the same interval. The IEDnames with the last character A are "AE_B2201A" and "C_B2201A". Extract the "APPID" to these two IEDnames. The extracted APPID values ​​are "0x2AAA", "0x2AAB", "0x2AAC", "0x2AAD", "0x2AAE", "0x2AB6", "0x2AB7", "0x2AB8", and "0x2AB9".

[0029] Step 6: Based on the actual wiring, the staff selects the bay layer equipment that has a connection relationship with the equipment under test. Taking the bay layer equipment as bus protection as an example, the staff manually selects the bus protection with IEDname "P_M2201A" and identifies the corresponding APPID information. The identified APPID information is "0x1FE0".

[0030] Step 7: Based on the extracted APPID information that is associated with the device under test, and in accordance with the configuration-free device control block specification, automatically construct the corresponding control block message, input the excitation quantity to the device under test, drive the device under test to respond, and collect the action information of the relay protection device under test, and automatically complete the automatic test of the configuration-free relay protection device.

[0031] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of the claims of the present invention.

Claims

1. An automatic testing method for configuration-free relay protection devices based on APPID information, characterized in that: Includes the following steps: Step 1: Parse the frame header of the message sent by the relay protection device under test through the test system to obtain the GOOSE message of the process layer; Step 2: Parse the application identifier APPID in the GOOSE message of the process layer and save the parsed APPID value; Step 3: Construct a configuration-free information database. Compare the APPID value obtained in Step 2 with the parsed value in the database. If the two match, obtain the name of the protection device and IEDname that match the current comparison, and save them as the name of the protection device and IEDname of the relay protection device under test. Step 4: Obtain the bay information to which the protection device belongs based on the protection device name of the relay protection device under test, and obtain the IED name of all secondary equipment in this bay according to the bay information; Step 5: Based on the IEDname of the relay protection device under test, filter the secondary devices in this bay to obtain the secondary devices that belong to the same category, obtain the IEDname of these secondary devices, and identify the corresponding APPID information. Step 6: Manually select the IEDname of the secondary equipment that has a bay layer connection with the relay protection device under test, and identify the corresponding APPID information; Step 7: Based on the APPID information of the process layer and bay layer devices associated with the relay protection device under test, and combined with the configuration-free information database, automatically generate the corresponding GOOSE and SV message control blocks, and import them into the test system for output.

2. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 1 specifically includes the following steps: Step 1.1: Connect the test system to the relay protection device under test via optical fiber and acquire the process layer GOOSE messages sent by the relay protection device under test in real time. Step 1.2: Parse the Ethernet Type field in the message according to the message structure; Step 1.3: When the value of the Ethernet Type field is 0x88BA, discard the message; when the value of the Ethernet Type field is 0x88B8, retain the message and proceed to the next step.

3. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 2 specifically includes the following steps: Step 2.1: When the value of the Ethernet Type field in the process layer GOOSE message is 0x88B8, parse the APPID field in the IEC-GOOSE structure of the message frame; Step 2.2: Extract the value from the APPID field and save it as the application identifier of the GOOSE message sent by the relay protection device under test.

4. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 3 specifically includes the following steps: Step 3.1: Establish a configuration-free information database based on the configuration-free specification, query the configuration-free device connection relationship database in the database, and find the secondary device GOOSE naming address tab; Step 3.2: Compare the APPID value saved in Step 2 with the APPID field in the tab. If they match, save all the information in that field. Step 3.3: Extract the information from the "Protection Device" and "IEDname" columns in this column, save the extracted strings, and proceed to the next step of processing.

5. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 4 specifically includes the following steps: Step 4.1: Using the extracted "protective device" string as a reference, identify the "interval" string to which the string belongs; Step 4.2: Search all "interval" strings and identify the entries that match the interval string to which "protective device" belongs; Step 4.3: Parse the "IEDname" information in all consistent entries and save the "IEDname" information string for each column.

6. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 5 specifically includes the following steps: Step 5.1: Parse all the "IEDname" strings with consistent spacing, parse out the number of characters in the string, and extract the last letter; Step 5.2: Use regular expressions to match the last letter of the "IEDname" string of the relay protection device under test; Step 5.3: Use regular expressions to match the last letter of the "IEDname" string of all secondary devices with the same interval as the relay protection device under test. If it matches the relay protection device under test, keep it; otherwise, discard it. Step 5.4: Identify the "APPID" information of the secondary device whose "IEDname" matches the last letter of the relay protection device under test, save it and wait for the next step of processing.

7. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 6 specifically includes the following steps: Step 6.1: Based on the actual wiring of the relay protection device under test on site, manually select the secondary equipment in the bay layer that has a connection relationship with the relay protection device under test, and then identify the selected "protection device" string. Step 6.2: Based on the selected "protection device" string, extract the "APPID" information value of the device.

8. The automatic testing method for a configuration-free relay protection device based on APPID information according to claim 1, characterized in that: Step 7 specifically includes the following steps: Step 7.1: Based on the extracted APPID information of all secondary devices that are associated with the relay protection device under test, and based on the configuration-free device control block specification, automatically construct the corresponding GOOSE and SV message control blocks. Step 7.2: After the GOOSE and SV message control blocks are constructed, the test system applies an excitation quantity to the relay protection device under test, drives the relay protection device under test to respond, and collects the action information of the relay protection device under test, thus completing the automatic test of the relay protection device without configuration.