Automatic closed-loop debugging method and system based on five-prevention logic rule of substation control layer

Through automatic closed-loop debugging methods and systems, the five-prevent logic rules of the substation monitoring system are verified, and the safety hazards caused by manual configuration errors in the existing technology are solved, and automated testing and accuracy are improved.

CN119298377APending Publication Date: 2025-01-10STATE GRID CHONGQING ELECTRIC POWER CO ELECTRIC POWER RES INST +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411415142.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art is difficult to effectively verify and detect the correctness of the five-defense logic of the substation monitoring system, resulting in possible manual configuration errors and safety hazards.

Method used

Provide an automatic closed-loop debugging method and system based on the five anti-logic rules of the substation control layer. By analyzing the SCD model file and the five anti-logic rule file, the test examples and expected values ​​are automatically generated, the remote signal status is simulated, and the automatic test and results are performed. Compare and generate a test report to verify the correctness of the five-defense logic rules.

Benefits of technology

The automated five-defense logic rule testing is implemented, which reduces manual configuration errors, improves configuration accuracy and security, and reduces workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119298377A_ABST
    Figure CN119298377A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic closed-loop debugging method and system based on a five-prevention logic rule of a substation level, and the method comprises the steps: enabling a monitoring system to export an SCD model file and a whole-station five-prevention logic rule file, enabling a debugging tool to analyze the SCD model file and the whole-station five-prevention logic rule file, and starting a whole-station measurement and control / protection simulation device; the monitoring system sends the channel connection state of the measurement and control / protection simulation device to the debugging tool; when the channel of the measurement and control / protection simulation device is in a connection state, the debugging tool automatically generates a five-prevention logic rule full-test case of the primary equipment of the whole station and a corresponding expected value, and starts a five-prevention logic rule automatic test; the monitoring system returns a five-prevention logic rule automatic test result, the debugging tool compares the expected value of the five-prevention logic rule with the five-prevention logic rule automatic test result returned by the monitoring system, and a test report and an evaluation result are generated. The method can automatically test and verify the correctness of the whole-station five-prevention logic rule configuration of the monitoring system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to an automatic closed-loop debugging method and system based on five-defense logic rules of a substation control layer. Background Art

[0002] With the rapid development and safety requirements of power system substations, the integrated five-defense interlocking technology of the station control layer monitoring system is becoming increasingly mature. As an important configuration parameter of the monitoring system, the five-defense logic is related to the level of safety factor of the entire power system.

[0003] The concept of the five-defense logic of a substation: 1) prevent the disconnector from opening and closing with load; 2) prevent the circuit breaker from opening and closing by mistake; 3) prevent the grounding switch from closing with load; 4) prevent the grounding switch from closing and delivering load; 5) prevent the energized compartment from being entered by mistake. The five-defense function is related to the safety of maintenance personnel and equipment during the operation of the substation, and is an important function of the substation automation system. The five-defense logic is the interlocking logic relationship between various devices set to realize the five-defense function.

[0004] The SCD (Substation Configuration Description) model file refers to the substation configuration description file, which is the core configuration file of the substation defined by the IEC61850 standard, describing the instance configuration and communication parameters of all equipment; the five-defense logic rule file refers to a collection of rules and logical conditions used to ensure the safe operation of power equipment in the power system, and is a standard configuration file used to meet the five-defense concept; the CMS communication protocol refers to the domestic 61850 protocol formulated by the State Grid Corporation of China, also known as the State Grid Domestic Controllable (GSP) protocol, which is widely used in the monitoring and control communication technology of the power system.

[0005] With the continuous expansion of actual substation models, manual configuration of the five-defense logic is prone to more and more omissions, which may lead to unpredictable misoperations. How to verify the correctness of the five-defense logic of the monitoring system is particularly important. A debugging tool based on the five-defense logic rules of the substation control layer is urgently needed to comprehensively detect the five-defense logic related configurations of the monitoring system. Summary of the invention

[0006] In view of this, the present invention provides an automatic closed-loop debugging method and system based on the five-defense logic rules of the substation control layer.

[0007] The present invention discloses an automatic closed-loop debugging method based on five-defense logic rules of a substation control layer, which comprises:

[0008] The monitoring system exports the SCD model file and the five-defense logic rule file for the entire station offline and sends them to the debugging tool. The debugging tool parses the SCD model file and the five-defense logic rule file for the entire station and starts the measurement and control / protection simulation device for the entire station. The monitoring system sends the CMS channel connection status of the measurement and control / protection simulation device to the debugging tool.

[0009] When the CMS channel of the measurement and control / protection simulation device is in a connected state, the debugging tool automatically generates a full test case of the five-defense logic rules for all primary equipment in the station and the corresponding expected values, and starts the automatic test of the five-defense logic rules; the monitoring system returns the result of the automatic test of the five-defense logic rules, and the debugging tool compares the expected value of the five-defense logic rules with the result of the automatic test of the five-defense logic rules returned by the monitoring system, and generates a test report and evaluation results.

[0010] Furthermore, the debugging tool automatically generates five-defense full test cases and corresponding expected values ​​for all primary equipment in the entire station through permutation and combination methods based on the five-defense logic rule file of the entire station.

[0011] Furthermore, the debugging tool sequentially tests all five-defense test cases of the primary equipment in the entire station, sends the five-defense remote signaling status associated with each test case to the monitoring system, and requests the remote control permission status of the primary equipment from the monitoring system.

[0012] Furthermore, the debugging tool sequentially tests all five-defense test cases of the primary equipment in the entire station, simulates sending the five-defense remote signaling status associated with each test case to the monitoring system through the CMS communication protocol, and requests the remote control permission status of the primary equipment through RPC.

[0013] Furthermore, the debugging tool transmits the five-protection remote signaling status associated with each test case corresponding to each primary device in each interval to the monitoring system in turn, and requests the remote control permission status of the primary device from the monitoring system; after the monitoring system receives the five-protection remote signaling status and the request for remote control permission status, it calculates its own five-protection logic and responds to the remote control permission status of the primary device, and returns the corresponding primary device remote control permission result to the debugging tool.

[0014] Furthermore, in the first interval:

[0015] The debugging tool sends the five-protection remote signaling status of the first test case in the first primary device of interval 1 to the monitoring system and requests the remote control permission status; the monitoring system returns the remote control permission result of the first primary device to the debugging tool;

[0016] The debugging tool sends the five-protection remote signaling status of the second test case of the first primary device in interval 1 to the monitoring system and requests the remote control permission status; the monitoring system returns the remote control permission result of the first primary device to the debugging tool;

[0017] Traverse all the measurement cases of the first primary equipment in the first bay of the substation, traverse all the measurement cases of all the primary equipment in the first bay of the substation, and traverse all the measurement cases of all the primary equipment in all bays of the substation.

[0018] Furthermore, the debugging tool compares the expected values ​​of the five-defense full test case with the remote control permission results of all primary devices returned by the monitoring system one by one, generates a test report and evaluation results; and finally closes the measurement and control / protection simulation device.

[0019] The present invention also discloses an automatic closed-loop debugging system based on the five-defense logic rules of the substation control layer, which implements the above-mentioned automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer, and includes:

[0020] The file import parsing module is used to parse the SCD model file and the site-wide five-defense logic rule file;

[0021] The five-defense rule configuration module is used to display the five-defense logic rule configuration information of the entire site, and configure the default values ​​of the five-defense remote signaling status;

[0022] The test case management module is used to display all primary equipment and five-defense logic rule test cases, is responsible for starting / closing the whole station measurement and control / protection simulation device, and realizes the automatic generation of test cases and expected values ​​of the five-defense logic rules of the whole station;

[0023] The test process control module is used to control the sequential execution and suspension of all test cases, and the sending of the five-defense remote signaling status in each test case;

[0024] The CMS server communication module is used to implement the CMS communication protocol and send five-defense remote signaling status messages to the monitoring system;

[0025] The CMS client RPC request module is used to organize a request message for the device remote control permission status and interact with the CMS server through RPC;

[0026] The result comparison module is used to compare the expected value and the return value of each test case and display the comparison result;

[0027] The test report and evaluation module is used to generate the five-defense logic rule test report and conduct objective evaluation;

[0028] The CMS client communication module is used to receive and parse the five-defense remote signaling status message of the CMS server communication module and write it into the five-defense logic calculation module;

[0029] The five-defense logic calculation module is used to perform corresponding logic rule calculations based on the monitoring system's own five-defense logic rules and the received five-defense remote signaling status, and generate remote control permission results and send them to the CMS server RPC response module;

[0030] The CMS server RPC response module is used to respond to a device remote control permission signal request from the CMS client RPC request module.

[0031] Furthermore, the debugging tool includes a file import and parsing module, a five-defense rule configuration module, a test case management module, a test process control module, a CMS server communication module, a CMS client RPC request module, a result comparison and judgment module, and a test report and evaluation module; the monitoring system includes a CMS client communication module, a CMS server RPC response module, and a five-defense logic calculation module.

[0032] Furthermore, the file import and parsing module is connected in sequence with the five-defense rule configuration module, the test case management module, the test process control module, and the CMS server communication module; the test process control module is connected in sequence with the CMS client RPC request module, the result comparison and judgment module, and the test report and evaluation module; the CMS client communication module is connected in sequence with the five-defense logic calculation module, the CMS server RPC response module, and the CMS client RPC request module; the CMS server communication module is connected with the CMS client communication module.

[0033] Due to the adoption of the above technical solution, the present invention has the following advantages:

[0034] 1. The present invention can automatically test and verify the correctness of the configuration of the five-defense logic rules of the entire monitoring system, reducing configuration errors and workload caused by insufficient manual experience;

[0035] 2. The present invention ensures the on-site network wiring environment and security by means of analog setting. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0037] Figure 1 It is a flow chart of an automatic closed-loop debugging method based on five-defense logic rules of the substation control layer according to an embodiment of the present invention;

[0038] Figure 2 It is an interactive sequence diagram of an automatic closed-loop debugging method based on five-defense logic rules of the substation control layer according to an embodiment of the present invention;

[0039] Figure 3 The present invention is a block diagram of an automatic closed-loop debugging system based on five-defense logic rules of the substation control layer in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.

[0041] See also Figure 1 and Figure 2 The present invention provides an embodiment of an automatic closed-loop debugging method based on five-defense logic rules of a substation control layer, which includes:

[0042] The monitoring system exports the SCD model file and the five-defense logic rule file for the entire station offline and sends them to the debugging tool. The debugging tool parses the SCD model file and the five-defense logic rule file for the entire station and starts the measurement and control / protection simulation device for the entire station. The monitoring system sends the CMS channel connection status of the measurement and control / protection simulation device to the debugging tool.

[0043] When the CMS channel of the measurement and control / protection simulation device is in a connected state, the debugging tool automatically generates a full test case of the five-defense logic rules for all primary equipment in the station and the corresponding expected values, and starts the automatic test of the five-defense logic rules; the monitoring system returns the result of the automatic test of the five-defense logic rules, and the debugging tool compares the expected value of the five-defense logic rules with the result of the automatic test of the five-defense logic rules returned by the monitoring system, and generates a test report and evaluation results.

[0044] In one embodiment, the debugging tool automatically generates five-defense full test cases and corresponding expected values ​​for all primary equipment in the entire station through a permutation and combination method based on the five-defense logic rule file for the entire station.

[0045] In one embodiment, the debugging tool sequentially tests all five-defense test cases of all primary equipment in the station, sends the five-defense remote signaling status associated with each test case to the monitoring system, and requests the monitoring system for the remote control permission status of the primary equipment.

[0046] In one implementation, the debugging tool sequentially tests all five defense test cases of the primary equipment in the entire station, simulates sending the five defense remote signaling status associated with each test case to the monitoring system through the CMS communication protocol, and requests the remote control permission status of the primary equipment through RPC;

[0047] In one embodiment, the debugging tool sequentially transmits the five-protection remote signaling status associated with each test case corresponding to each primary device in each interval to the monitoring system, and requests the remote control permission status of the primary device from the monitoring system; after the monitoring system receives the five-protection remote signaling status and the request for remote control permission status, it calculates its own five-protection logic and responds to the remote control permission status of the primary device, and returns the corresponding primary device remote control permission result to the debugging tool.

[0048] In one embodiment, in the first interval:

[0049] The debugging tool sends the five-protection remote signaling status of the first test case in the first primary device of interval 1 to the monitoring system and requests the remote control permission status; the monitoring system returns the remote control permission result of the first primary device to the debugging tool;

[0050] The debugging tool sends the five-protection remote signaling status of the second test case of the first primary device in interval 1 to the monitoring system and requests the remote control permission status; the monitoring system returns the remote control permission result of the first primary device to the debugging tool;

[0051] Traverse all the measurement cases of the first primary equipment in the first bay of the substation, traverse all the measurement cases of all the primary equipment in the first bay of the substation, and traverse all the measurement cases of all the primary equipment in all bays of the substation.

[0052] In one embodiment, the debugging tool compares the expected value of the five-defense full test case with the remote control permission results of all primary devices returned by the monitoring system one by one, generates a test report and evaluation results; and finally closes the measurement and control / protection simulation device.

[0053] See also Figure 3 The present invention also provides an automatic closed-loop debugging system based on the five-defense logic rules of the substation control layer, which implements the automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer described in the above embodiment, and includes:

[0054] The file import parsing module is used to parse the SCD model file and the site-wide five-defense logic rule file;

[0055] The five-defense rule configuration module is used to display the five-defense logic rule configuration information of the entire site, and configure the default values ​​of the five-defense remote signaling status;

[0056] The test case management module is used to display all primary equipment and five-defense logic rule test cases, is responsible for starting / closing the whole station measurement and control / protection simulation device, and realizes the automatic generation of test cases and expected values ​​of the five-defense logic rules of the whole station;

[0057] The test process control module is used to control the sequential execution and suspension of all test cases, and the sending of the five-defense remote signaling status in each test case;

[0058] The CMS server communication module is used to implement the CMS communication protocol and send five-defense remote signaling status messages to the monitoring system;

[0059] The CMS client RPC request module is used to organize a request message for the device remote control permission status and interact with the CMS server through RPC;

[0060] The result comparison module is used to compare the expected value and the return value of each test case and display the comparison result;

[0061] The test report and evaluation module is used to generate the five-defense logic rule test report and conduct objective evaluation;

[0062] The CMS client communication module is used to receive and parse the five-defense remote signaling status message of the CMS server communication module and write it into the five-defense logic calculation module;

[0063] The five-defense logic calculation module is used to perform corresponding logic rule calculations based on the monitoring system's own five-defense logic rules and the received five-defense remote signaling status, and generate remote control permission results and send them to the CMS server RPC response module;

[0064] The CMS server RPC response module is used to respond to a device remote control permission signal request from the CMS client RPC request module.

[0065] In one embodiment, the debugging tool includes a file import and parsing module, a five-defense rule configuration module, a test case management module, a test process control module, a CMS server communication module, a CMS client RPC request module, a result comparison and judgment module, and a test report and evaluation module; the monitoring system includes a CMS client communication module, a CMS server RPC response module, and a five-defense logic calculation module.

[0066] In one embodiment, the file import and parsing module is connected in sequence with the five-defense rule configuration module, the test case management module, the test process control module, and the CMS server communication module; the test process control module is connected in sequence with the CMS client RPC request module, the result comparison and judgment module, and the test report and evaluation module; the CMS client communication module is connected in sequence with the five-defense logic calculation module, the CMS server RPC response module, and the CMS client RPC request module; the CMS server communication module is connected with the CMS client communication module.

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. An automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer, characterized in that: include: The monitoring system exports the SCD model file and the five-defense logic rule file for the entire station and sends them to the debugging tool. The debugging tool parses the SCD model file and the five-defense logic rule file for the entire station and starts the measurement and control / protection simulation device for the entire station. The monitoring system sends the CMS channel connection status of the measurement and control / protection simulation device to the debugging tool; When the CMS channel of the measurement and control / protection simulation device is in a connected state, the debugging tool automatically generates a full test case of the five-defense logic rules for all primary equipment in the station and the corresponding expected values, and starts the automatic test of the five-defense logic rules; the monitoring system returns the result of the automatic test of the five-defense logic rules, and the debugging tool compares the expected value of the five-defense logic rules with the result of the automatic test of the five-defense logic rules returned by the monitoring system, and generates a test report and evaluation results.

2. The automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer according to claim 1 is characterized in that: The debugging tool automatically generates five-defense full test cases and corresponding expected values ​​for all primary equipment in the station through permutation and combination methods based on the five-defense logic rule file for the entire station.

3. The automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer according to claim 1 is characterized in that: The debugging tool sequentially tests all five-defense test cases of all primary equipment in the station, sends the five-defense remote signaling status associated with each test case to the monitoring system, and requests the remote control permission status of the primary equipment from the monitoring system.

4. The automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer according to claim 3 is characterized in that: The debugging tool sequentially tests all five-defense test cases of all primary equipment in the station, simulates sending the five-defense remote signaling status associated with each test case to the monitoring system through the CMS communication protocol, and requests the remote control permission status of the primary equipment through RPC.

5. The automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer according to claim 3 is characterized in that: The debugging tool sends the five-defense remote signaling status associated with each test case corresponding to each primary device in each interval to the monitoring system in turn, and requests the remote control permission status of the primary device from the monitoring system; after the monitoring system receives the five-defense remote signaling status and the request for remote control permission status, it calculates its own five-defense logic and responds to the remote control permission status of the primary device, and returns the corresponding primary device remote control permission result to the debugging tool.

6. The automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer according to claim 5 is characterized in that: In the first interval: The debugging tool sends the five-protection remote signaling status of the first test case in the first primary device of interval 1 to the monitoring system and requests the remote control permission status; the monitoring system returns the remote control permission result of the first primary device to the debugging tool; The debugging tool sends the five-protection remote signaling status of the second test case of the first primary device in interval 1 to the monitoring system and requests the remote control permission status; the monitoring system returns the remote control permission result of the first primary device to the debugging tool; Traverse all the measurement cases of the first primary equipment in the first bay of the substation, traverse all the measurement cases of all the primary equipment in the first bay of the substation, and traverse all the measurement cases of all the primary equipment in all bays of the substation.

7. The automatic closed-loop debugging method based on the five-defense logic rules of the substation control layer according to claim 1 is characterized in that: The debugging tool compares the expected values ​​of the five-defense full test case with the remote control permission results of all primary devices returned by the monitoring system one by one, generates a test report and evaluation results; finally, the measurement and control / protection simulation device is closed.

8. An automatic closed-loop debugging system based on five-defense logic rules of the substation control layer, realizing the automatic closed-loop debugging method based on five-defense logic rules of the substation control layer according to any one of claims 1 to 7, characterized in that: include: The file import parsing module is used to parse the SCD model file and the site-wide defense logic rule file; The five-defense rule configuration module is used to display the five-defense logic rule configuration information of the entire site, and configure the default values ​​of the five-defense remote signaling status; The test case management module is used to display all primary equipment and five-defense logic rule test cases, is responsible for starting / closing the whole station measurement and control / protection simulation device, and realizes the automatic generation of test cases and expected values ​​of the five-defense logic rules of the whole station; The test process control module is used to control the sequential execution and suspension of all test cases, and the sending of the five-defense remote signaling status in each test case; The CMS server communication module is used to implement the CMS communication protocol and send five-defense remote signaling status messages to the monitoring system; The CMS client RPC request module is used to organize a request message for the device remote control permission status and interact with the CMS server through RPC; The result comparison and judgment module is used to compare the expected value and the return value of each test case and display the comparison result; The test report and evaluation module is used to generate the five-defense logic rule test report and conduct objective evaluation; The CMS client communication module is used to receive and parse the five-defense remote signaling status message of the CMS server communication module and write it into the five-defense logic calculation module; The five-defense logic calculation module is used to perform corresponding logic rule calculations based on the monitoring system's own five-defense logic rules and the received five-defense remote signaling status, and generate remote control permission results and send them to the CMS server RPC response module; The CMS server RPC response module is used to respond to a device remote control permission signal request from the CMS client RPC request module.

9. The automatic closed-loop debugging system based on the five-defense logic rules of the substation control layer according to claim 8 is characterized in that: The debugging tools include file import and parsing module, five-defense rule configuration module, test case management module, test process control module, CMS server communication module, CMS client RPC request module, result comparison and judgment module, and test report and evaluation module; the monitoring system includes CMS client communication module, CMS server RPC response module and five-defense logic calculation module.

10. The automatic closed-loop debugging system based on the five-defense logic rules of the substation control layer according to claim 9 is characterized in that: The file import and parsing module is connected with the five-defense rule configuration module, the test case management module, the test process control module, and the CMS server communication module in sequence; the test process control module is connected with the CMS client RPC request module, the result comparison and judgment module, and the test report and evaluation module in sequence; the CMS client communication module is connected with the five-defense logic calculation module, the CMS server RPC response module, and the CMS client RPC request module in sequence; the CMS server communication module is connected with the CMS client communication module.