Rapid detection system and method for process layer switches of intelligent substation based on multi-dimensional criteria
Through the intelligent substation process layer switch rapid detection system based on multi-dimensional criterion, the process layer switch test in the intelligent substation is solved, and the problem of time-consuming and labor-intensive testing and error-prone is prone to errors is achieved, and the fast and accurate test results are achieved, which is convenient for operation and maintenance personnel to verify before operation.
Patent Information
- Application Number
- CN202110670168.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-17
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-06-17
AI Technical Summary
In smart substations, operation and maintenance personnel need to manually test the static multicast table, speed limit and delay measurement accuracy of the process layer switch, which makes the test process time-consuming and labor-intensive and error-prone.
A quick detection system for process layer switches of intelligent substations based on multi-dimensional criterion is adopted, which includes a host computer and a tester. By importing standard CSD files, analyzing configuration information, issuing test commands, and using IEC61850 dual-network communication for testing, obtaining configuration information for static multicast forwarding tables, speed limit and delay measurements, performing functional tests, and finally sending the test results to the host computer.
It realizes comprehensive testing of process layer switch configuration and operating conditions, and can intuitively and quickly test process layer switches, which facilitates operation and maintenance personnel to conduct pre-operation test verification, reducing the time-consuming and error rate of testing.
Smart Images

Figure CN115580566B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent testing of process layer networks of intelligent substations, and in particular relates to a rapid detection system and method for process layer switches of intelligent substations based on multi-dimensional criteria. Background Art
[0002] The primary equipment in the power system is monitored and controlled by the secondary equipment to achieve reliable and stable operation of the power system. In the digital substation, the analog and switch quantities collected from the primary equipment are transmitted through the process layer network. When the smart substation is debugged, the operation and maintenance personnel need to manually test the static multicast table, speed limit, and delay measurement accuracy of the process layer switch to ensure that the process layer switch is configured correctly and the performance meets the standards. This test process is time-consuming, labor-intensive, and prone to errors. Summary of the invention
[0003] In view of the above problems, the present invention proposes a rapid detection method for process layer switches of smart substations based on multi-dimensional criteria, which can realize comprehensive testing of the configuration and operating conditions of the process layer switches, and can intuitively and quickly test the process layer switches, making it convenient for operation and maintenance personnel to conduct pre-commissioning testing and verification.
[0004] In order to achieve the above technical objectives and the above technical effects, the present invention is implemented through the following technical solutions:
[0005] In a first aspect, the present invention provides a fast detection system for a process layer switch of an intelligent substation based on multi-dimensional criteria, comprising a host computer and a tester;
[0006] The host computer imports the standard CSD file of the switch under test, parses the CSD file to obtain the switch configuration information, and sends a test command to the tester;
[0007] The tester is provided with MMSA and MMSB ports for establishing IEC61850 dual-network communication with the switch under test. After receiving the test command, the CSD file and the general XML configuration file in the switch under test are exported to the local using the IEC61850 file transfer protocol, and the configuration information of the static multicast forwarding table, speed limit and delay measurement are obtained from the switch, and the static multicast forwarding table, speed limit and delay measurement functions of the switch under test are tested, and the test results, CSD file, general XML file and configuration information are sent to the host computer.
[0008] Optionally, the test command includes a static multicast MAC address table parsed from a standard CSD file, and the MAC address table is used for subsequent static multicast testing.
[0009] Optionally, the host computer obtains the result of the first step of comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the standard CSD file;
[0010] The host computer obtains the result of the second step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the CSD file exported by the switch;
[0011] The host computer obtains the result of the third step by comparing the test results of static multicast, speed limit and delay measurement returned by the tester with the corresponding configuration in the general XML configuration file;
[0012] The host computer obtains the result of the fourth step by comparing the test results of static multicast, speed limit and delay measurement returned by the tester with the corresponding configuration obtained through IEC61850 communication;
[0013] If delay measurement is enabled in the general XML configuration file, the host computer compares the delay measurement accuracy returned by the tester with the standard accuracy requirement to obtain the result of step 5. Otherwise, step 5 is directly judged as passed.
[0014] Finally, if the test results of all steps are qualified, the test is considered to have passed, otherwise the test has failed.
[0015] Optionally, the specific process of the static multicast test is:
[0016] The tester constructs a test message with all MAC addresses in the MAC address table sent by the host computer and sends it to the switch under test, and at the same time counts the port list that receives each MAC address test message to obtain the static multicast forwarding table 1 of the switch under test;
[0017] The tester randomly extracts some MAC addresses from the multicast addresses other than the MAC address table sent by the host computer and forms a test message to send to the switch under test, and at the same time counts the port list that receives the test message of each MAC address to obtain the static multicast forwarding table 2 of the switch under test;
[0018] Static multicast table 1 and static multicast table 2 are put together as the test result of static multicast.
[0019] Optionally, the specific process of the speed limit test is:
[0020] The tester randomly selects two MAC addresses in the static multicast table, which are used for GOOSE messages and SV messages respectively, constructs test messages respectively and sends them into the switch at all ports of the tested switch at line speed, and counts the rate at which the test message flows out of the switch from each outflow port to obtain the speed limit test result;
[0021] The rate limit results of the two types of messages are put together as the rate limit test result.
[0022] Optionally, the specific process of the delay measurement test is:
[0023] The tester randomly selects two MAC addresses in the static multicast table, which are used for GOOSE messages and SV messages respectively. It constructs test messages and sets their Reserve fields to 0 before sending them to the switch. It measures and records the actual time it takes for the test message to flow out of the tester and then be received back.
[0024] If the Reserve field of the received test message is 0, the delay measurement function of the message type is turned off. If it is not 0, the field is parsed and converted into time. By comparing the actual time and the time converted from the Reserve field, the time error is obtained and recorded;
[0025] Repeat the above test process several times and calculate the maximum, minimum and average values of the delay measurement errors of the two types of messages as the test results;
[0026] The delay measurement results of the two types of messages are put together as the rate limit test result.
[0027] Optionally, the tester is connected to a host computer via Ethernet.
[0028] In a second aspect, the present invention provides a method for quickly detecting a process layer switch of a smart substation based on multi-dimensional criteria, comprising:
[0029] Use the host computer to import the standard CSD file of the switch under test, parse the CSD file to obtain the switch configuration information, and issue the test command;
[0030] Use the MMSA and MMSB ports on the tester to establish IEC61850 dual-network communication with the switch under test. When the tester receives the test command, it uses the IEC61850 file transfer protocol to export the CSD file and general XML configuration file in the switch under test to the local computer. At the same time, it obtains the configuration information of its static multicast forwarding table, speed limit, and delay measurement from the switch, and tests the static multicast forwarding table, speed limit, and delay measurement functions of the switch under test. The test results, CSD file, general XML file, and configuration information are sent to the host computer.
[0031] Optionally, the CSD file exported by the tested switch includes a forwarding port list of all GOOSE messages and SV messages of the switch, that is, a static multicast configuration.
[0032] Optionally, the general XML configuration file includes static multicast, rate limiting, and delay measurement function configuration information of the switch under test.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] The present invention proposes a rapid detection system and method for process layer switches of intelligent substations based on multi-dimensional criteria. By comparing and analyzing the test results of the process layer switches with the standard CSD file, the CSD file exported by the switch, the general XML configuration file exported by the switch, and the configuration information obtained by IEC61850 communication, the configuration of the process layer switches and the comprehensive test of the operating conditions are realized. The process layer switches can be tested intuitively and quickly, which is convenient for operation and maintenance personnel to conduct pre-commissioning test verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments and in conjunction with the accompanying drawings, wherein:
[0036] Figure 1 A schematic diagram of a method for quickly detecting a process layer switch in a smart substation in an embodiment of the present invention;
[0037] Figure 2 The figure is a schematic diagram of the multi-dimensional judgment process of the host computer in one embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the scope of protection of the present invention.
[0039] The application principle of the present invention is described in detail below in conjunction with the accompanying drawings.
[0040] Example 1
[0041] like Figure 1 As shown, an embodiment of the present invention provides a rapid detection system for a process layer switch of an intelligent substation based on multi-dimensional criteria, including a host computer and a tester; in a specific implementation process, the tester and the host computer can be connected via Ethernet;
[0042] The host computer imports the standard CSD file of the switch under test, parses the CSD file to obtain the switch configuration information, and sends the test command to the tester; wherein, the standard CSD file is derived from the SCD file; the CSD file of the switch under test refers to the switch configuration description (Configured Switch Description), and the file includes the forwarding port list of all GOOSE messages (general object-oriented substation events) and SV messages (sampled values) of the switch, and these forwarding port lists are also called static multicast configurations; the test command contains the static multicast MAC address table parsed from the standard CSD file, and the MAC address table is used for subsequent static multicast tests;
[0043] The tester is provided with MMSA and MMSB ports for establishing IEC61850 dual-network communication with the switch under test. After receiving the test command, the actual CSD file (which contains static multicast configuration) and the general XML configuration file in the switch under test are exported to the local using the IEC61850 file transfer protocol, and the configuration information of the static multicast forwarding table, speed limit and delay measurement are obtained from the switch, and the static multicast forwarding table, speed limit and delay measurement functions of the switch under test are tested, and the test results, CSD file, general XML file and configuration information are sent to the host computer.
[0044] like Figure 2 As shown, the host computer obtains the result of the first step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the standard CSD file;
[0045] The host computer obtains the result of the second step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the CSD file exported by the switch;
[0046] The host computer obtains the result of the third step by comparing the test results of static multicast, speed limit and delay measurement returned by the tester with the corresponding configuration in the general XML configuration file;
[0047] The host computer obtains the result of the fourth step by comparing the test results of static multicast, speed limit and delay measurement returned by the tester with the corresponding configuration obtained through IEC61850 communication;
[0048] If delay measurement is enabled in the general XML configuration file, the host computer compares the delay measurement accuracy returned by the tester with the standard accuracy requirement to obtain the result of step 5. Otherwise, step 5 is directly judged as passed.
[0049] Finally, if the test results of all steps are qualified, the test is considered to have passed, otherwise the test has failed, that is, the results of the four dimensions and the actual test are compared separately.
[0050] The specific process of the static multicast test is as follows:
[0051] The tester constructs a test message with all MAC addresses in the MAC address table sent by the host computer and sends it to the switch under test, and at the same time counts the port list that receives each MAC address test message to obtain the static multicast forwarding table 1 of the switch under test;
[0052] The tester randomly extracts some MAC addresses from the multicast addresses other than the MAC address table sent by the host computer and forms a test message to send to the switch under test, and at the same time counts the port list that receives the test message of each MAC address to obtain the static multicast forwarding table 2 of the switch under test;
[0053] Static multicast table 1 and static multicast table 2 are put together as the test result of static multicast.
[0054] The specific process of the speed limit test is as follows:
[0055] The tester randomly selects two MAC addresses in the static multicast table, which are used for GOOSE messages and SV messages respectively, constructs test messages respectively and sends them into the switch at all ports of the tested switch at line speed, and counts the rate at which the test message flows out of the switch from each outflow port to obtain the speed limit test result;
[0056] The rate limit results of the two types of messages are put together as the rate limit test result.
[0057] The specific process of the delay measurement test is as follows:
[0058] The tester randomly selects two MAC addresses in the static multicast table, which are used for GOOSE messages and SV messages respectively. It constructs test messages and sets their Reserve fields to 0 before sending them to the switch. It measures and records the actual time it takes for the test message to flow out of the tester and then be received back.
[0059] If the Reserve field of the received test message is 0, the delay measurement function of the message type is turned off. If it is not 0, the field is parsed and converted into time. By comparing the actual time and the time converted from the Reserve field, the time error is obtained and recorded;
[0060] Repeat the above test process several times and calculate the maximum, minimum and average values of the delay measurement errors of the two types of messages as the test results;
[0061] The delay measurement results of the two types of messages are put together as the rate limit test result.
[0062] Example 2
[0063] An embodiment of the present invention provides a method for quickly detecting a process layer switch of a smart substation based on multi-dimensional criteria, comprising:
[0064] Use the host computer to import the standard CSD file of the switch under test, parse the CSD file to obtain the switch configuration information, and issue the test command;
[0065] Use the MMSA and MMSB ports on the tester to establish IEC61850 dual-network communication with the switch under test. When the tester receives the test command, it uses the IEC61850 file transfer protocol to export the CSD file and general XML configuration file in the switch under test to the local computer. At the same time, it obtains the configuration information of its static multicast forwarding table, speed limit, and delay measurement from the switch, and tests the static multicast forwarding table, speed limit, and delay measurement functions of the switch under test. The test results, CSD file, general XML file, and configuration information are sent to the host computer.
[0066] The CSD file exported by the tested switch includes the forwarding port list of all GOOSE messages and SV messages of the switch, that is, the static multicast configuration.
[0067] The general XML configuration file includes static multicast, rate limiting, and delay measurement function configuration information of the switch under test.
[0068] The method in the embodiment of the present invention can be implemented based on the system in Example 1.
[0069] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A fast detection system for process layer switches of intelligent substation based on multi-dimensional criteria, characterized in that: Including host computer and tester; The host computer imports the standard CSD file of the switch under test, parses the standard CSD file to obtain the configuration information of the switch under test, and sends a test command to the tester; The tester is provided with MMSA and MMSB ports for establishing IEC61850 dual-network communication with the switch under test. After receiving the test command, the actual CSD file and the general XML configuration file in the switch under test are exported to the local using the IEC61850 file transfer protocol, and the configuration information of the static multicast forwarding table, the speed limit configuration information and the delay measurement configuration information are obtained from the switch under test, and the static multicast forwarding table, speed limit and delay measurement functions of the switch under test are tested, and the test results, the actual CSD file exported by the switch under test, the general XML configuration file and the configuration information are sent to the host computer; the CSD file refers to the switch configuration description; The host computer obtains the result of the first step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the standard CSD file of the tested switch; The host computer obtains the result of the second step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the actual CSD file exported by the tested switch; The host computer obtains the result of the third step by comparing the test results of static multicast, rate limit and delay measurement returned by the tester with the corresponding configurations in the general XML configuration file; The host computer obtains the result of the fourth step by comparing the test results of static multicast, rate limit and delay measurement returned by the tester with the corresponding configuration obtained through IEC61850 communication; If delay measurement is enabled in the general XML configuration file, the host computer compares the delay measurement accuracy returned by the tester with the standard accuracy requirement to obtain the result of step 5. Otherwise, step 5 is directly judged as passed. Finally, if the test results of all steps are qualified, the test is considered to have passed, otherwise the test has failed.
2. According to claim 1, a rapid detection system for process layer switches of intelligent substation based on multi-dimensional criteria is characterized in that: The test command includes a static multicast MAC address table parsed from a standard CSD file, and the MAC address table is used for subsequent static multicast testing.
3. According to the multi-dimensional criterion-based intelligent substation process layer switch rapid detection system of claim 1, it is characterized in that: The specific process of the static multicast test is as follows: The tester constructs a test message with all MAC addresses in the MAC address table sent by the host computer and sends it to the switch under test, and at the same time counts the port list that receives each MAC address test message to obtain the static multicast forwarding table 1 of the switch under test; The tester randomly extracts some MAC addresses from the multicast addresses other than the MAC address table sent by the host computer and forms a test message to send to the switch under test, and at the same time counts the port list that receives the test message of each MAC address to obtain the static multicast forwarding table 2 of the switch under test; Static multicast forwarding table 1 and static multicast forwarding table 2 are put together as the test result of static multicast.
4. According to the multi-dimensional criterion-based intelligent substation process layer switch rapid detection system of claim 1, it is characterized in that: The specific process of the speed limit test is as follows: The tester randomly selects two MAC addresses in the static multicast forwarding table, which are used by the GOOSE message and the SV message respectively, constructs test messages respectively and sends them to all ports of the tested switch at the same time with limited speed, and counts the rate at which the test message flows out of the tested switch from each outflow port to obtain the speed limit test result; The rate limit test results of the two types of messages are put together as the rate limit test result.
5. The intelligent substation process layer switch rapid detection system based on multi-dimensional criteria according to claim 1 is characterized in that: The specific process of the delay measurement test is as follows: The tester randomly selects two MAC addresses in the static multicast forwarding table, which are used by GOOSE messages and SV messages respectively. It constructs test messages and sets their Reserve fields to 0 and then sends them to the switch under test. It measures and records the actual time it takes for the test message to flow out of the tester and then be received back. If the Reserve field of the received test message is 0, the delay measurement function of the message type is turned off. If it is not 0, the field is parsed and converted into time. By comparing the actual time and the time converted from the Reserve field, the time error is obtained and recorded; Repeat the above test process several times and calculate the maximum, minimum and average values of the delay measurement errors of the two types of messages as the test results; The delay measurement results of the two types of messages are put together as the delay test result.
6. The intelligent substation process layer switch rapid detection system based on multi-dimensional criteria according to claim 1 is characterized in that: The tester is connected to the host computer via Ethernet.
7. A fast detection method for process layer switches of smart substation based on multi-dimensional criteria, characterized in that: include: Use the host computer to import the standard CSD file of the switch under test, parse the standard CSD file to obtain the configuration information of the switch under test, and issue the test command; Use the MMSA and MMSB ports on the tester to establish IEC61850 dual-network communication with the switch under test. When the tester receives the test command, it uses the IEC61850 file transfer protocol to export the actual CSD file and general XML configuration file in the switch under test to the local computer. At the same time, it obtains the configuration information of the static multicast forwarding table, speed limit, and delay measurement from the switch under test, and tests the static multicast forwarding table, speed limit, and delay measurement functions of the switch under test. The test results, the actual CSD file exported by the switch under test, the general XML configuration file, and the configuration information are sent to the host computer; the CSD file refers to the switch configuration description; The host computer obtains the result of the first step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the standard CSD file of the tested switch; The host computer obtains the result of the second step comparison by comparing the static multicast test result returned by the tester with the static multicast configuration information parsed by the actual CSD file exported by the tested switch; The host computer obtains the result of the third step by comparing the test results of static multicast, rate limit and delay measurement returned by the tester with the corresponding configurations in the general XML configuration file; The host computer obtains the result of the fourth step by comparing the test results of static multicast, rate limit and delay measurement returned by the tester with the corresponding configuration obtained through IEC61850 communication; If delay measurement is enabled in the general XML configuration file, the host computer compares the delay measurement accuracy returned by the tester with the standard accuracy requirement to obtain the result of step 5. Otherwise, step 5 is directly judged as passed. Finally, if the test results of all steps are qualified, the test is considered to have passed, otherwise the test has failed.
8. The method for rapid detection of process layer switches of intelligent substation based on multi-dimensional criteria according to claim 7 is characterized in that: The standard CSD file exported by the tested switch includes a forwarding port list of all GOOSE messages and SV messages of the tested switch, and the forwarding port list is the configuration information of the static multicast forwarding table.
9. A method for rapid detection of process layer switches of intelligent substations based on multi-dimensional criteria according to claim 8, characterized in that: The general XML configuration file includes configuration information of the static multicast forwarding table of the tested switch, configuration information of the speed limit and configuration information of the delay measurement.
Citation Information
Patent Citations
Fault diagnosis method for Ethernet switch of intelligent substation
CN110417623A
Production automation test method of industrial Ethernet switch
CN110493079A