Stability control device automatic detection system and method based on strategy table
The automatic detection system based on the strategy table has realized the automated detection of the stability control device, which solves the problems of low efficiency, insufficient coverage and high safety risks in traditional testing methods, and improves testing efficiency and accuracy.
Patent Information
- Application Number
- CN202511347996.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-19
- Publication Date
- 2026-01-23
AI Technical Summary
Existing technologies have drawbacks in field testing of stability control devices, including cumbersome operation, low efficiency, insufficient coverage, and high safety risks. In particular, it is difficult to achieve full coverage in complex fault scenarios.
An automated detection system based on a policy table is adopted. Through policy file parsing, model configuration, and test case generation, the system realizes automated detection of the stability control device. It utilizes digital topology diagrams and policy tables in XML or JSON format, combined with GUI interface configuration, to automatically execute test cases.
It improved test case coverage, reduced security risks associated with manual operation, simplified the operation process, and enhanced testing efficiency and accuracy.
Smart Images

Figure CN121386701A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of power systems, in particular to a strategy table-based automatic detection system and method for a stability control device. BACKGROUND
[0002] The stability control device is the "last line of defense" of the power grid. When a serious fault occurs in the power grid, leading to system angle instability, voltage collapse or frequency collapse risk, the stability control device can quickly and accurately execute the predetermined control strategy to pull the system back to a stable state and prevent large-scale power outage accidents. The correctness, rapidity and reliability of its action are directly related to the safety of the power grid and the reliability of power supply to users.
[0003] Currently, the on-site testing of the stability control device still remains in the stage of traditional testing methods, including: analog quantity / switching quantity injection testing: using a relay protection instrument or a small signal debugging tool made by the manufacturer to simulate the electrical quantity and switching quantity when a fault occurs, and injecting them into the input circuit of the stability control device to observe whether the action logic, outlet behavior and message record of the device meet the expectations. In the aspect of transmission testing, after confirming that the device logic is correct, actual outlet transmission testing is performed to verify whether the trip command issued by the device can correctly act on the target circuit breaker. The traditional testing method has great limitations in the simulation of complex faults such as developing faults and multiple faults under the background of increasingly complex stability control strategies, especially in the aspect of manual testing, which is tedious, inefficient and time-consuming, and the test cases are difficult to cover all the strategy tables, and even if the simulation signal is not handled properly or safety measures are not in place, it may cause misoperation risk and refusal to operate.
[0004] Therefore, it is urgent to study a strategy table-based automatic detection system and method for a stability control device to realize the automatic detection of the stability control device on site, improve the test case coverage and detection efficiency, and reduce the safety risk of on-site testing. SUMMARY
[0005] The purpose of the present application is to provide a strategy table-based automatic detection system and method for a stability control device, which can realize the automatic detection of the stability control device, thereby improving the test case coverage and test efficiency on site and reducing the safety risk of on-site testing.
[0006] A strategy table-based automatic detection system for a stability control device, comprising: a strategy file analysis module for loading a stability control device strategy file, analyzing and outputting a digitalized topology graph and a digitalized strategy table; a stability control model configuration module for loading the digitalized topology graph and the digitalized strategy table, generating a stability control device model file containing a stability control system topology graph, a stability control system strategy table and a stability control system communication configuration through a configuration GUI interface; The test case configuration module is configured to load the stability control device model file, generate a test case file through a configuration GUI interface, and the test case file refers to a set of test items based on the stability control device strategy, and the test items include test parameters, test result data definition, and test conclusion criterion. The test control center is configured to load the test case file, parse the test items and test parameters, control the stability control tester to perform the test, and collect the action signal of the stability control device.
[0007] Further, the digitalized topology graph and the digitalized strategy table are described in XML or JSON format; the digitalized topology graph includes the master station, the substation, the line, the generator set and the connection relationship thereof of the stability control system; and the digitalized strategy table includes the stability control strategy, the operation mode, the detection section, the fault element, the fault type, the execution measure and the measure quantity information.
[0008] Further, the stability control system communication configuration includes all injection information and collection information required by the stability control tester to simulate the stability control device, and the injection information and the collection information include electrical quantity injection information, 2M injection and collection information, switching quantity injection and collection information, and a mapping relationship between the output or collection terminal or port of the stability control tester and the physical information of each power element of the stability control system; the 2M injection and collection information includes a 2M communication protocol, and the 2M communication protocol includes a 2M channel, a message type, a message byte configuration, and a CRC check.
[0009] A stability control device automatic detection method based on a strategy table, comprising the following steps: S1: loading a stability control device strategy file through a strategy file analysis module, and analyzing and outputting a digitalized topology graph and a digitalized strategy table in XML or JSON format; S2: loading the digitalized topology graph and the strategy table through a stability control model configuration module, and configuring to generate a stability control device model file including a stability control system topology graph, a stability control system strategy table, and a stability control system communication configuration; and completing the test wiring between the stability control tester and the stability control device according to the communication configuration; S3: loading the stability control device model file through a test case configuration module, and generating a test case file through a configuration GUI interface, and the test case file refers to a set of test items based on the stability control device strategy, and the test items include test parameters, test result data definition, and test conclusion criterion; S4: loading the test case file through a test control center, parsing the test items and test parameters, controlling the stability control tester to perform the test, and collecting the action signal of the stability control device.
[0010] Further, step S4 specifically includes: S41: the test control center loads the test items in the test case file, and parses the test parameters; S42: Send test parameters to the stability tester and control its output; S43: Collect the action signals of the stability control device and the feedback data of the stability control tester; S44: Determine the test results based on the conclusion criteria of the test items; S45: Repeat S41-S44 until all test items are completed.
[0011] Furthermore, the communication configuration of the stability control system in step S2 includes describing all the injection and acquisition information required by the stability control tester to simulate the stability control device. The injection and acquisition information includes electrical quantity injection information, 2M injection and acquisition information, switch quantity injection and acquisition information, and the mapping relationship between the output or acquisition terminal or port of the stability control tester and the physical information of each power component of the stability control system. The 2M injection and acquisition information includes the 2M communication protocol, which includes the 2M channel, message type, message byte configuration, and CRC check.
[0012] An electronic device includes: a computer-readable storage medium and a processor; The computer-readable storage medium is used to store executable instructions; The processor is used to read executable instructions stored in the computer-readable storage medium and execute the automatic detection method for the stability control device based on the policy table.
[0013] A non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the aforementioned automatic detection method for a stability control device based on a policy table.
[0014] The present invention has the following beneficial effects: 1. Achieve automated testing: Replace traditional manual testing methods by parsing strategy files, configuring models, generating test cases, and executing them automatically, thereby reducing manual intervention and improving testing efficiency.
[0015] 2. Improve test coverage: Test cases are generated based on digital strategy tables and topology diagrams, which can cover complex failure scenarios (such as developmental failures and multiple failures), solving the problem of insufficient test case coverage in traditional methods.
[0016] 3. Reduce safety risks: By standardizing processes and automating controls, improper analog signal processing or inadequate safety measures caused by manual operation can be avoided, reducing the risk of malfunction and failure to operate.
[0017] 4. Simplify operation process: Configure stability control models and test cases through the GUI interface to reduce the complexity of user operation and facilitate system maintenance and use. Attached Figure Description
[0018] Figure 1 is a module block diagram of a strategy table-based automatic detection system of a stability control device according to an embodiment of the present application; Figure 2 is a work flow diagram of a strategy table-based automatic detection system of a stability control device according to an embodiment of the present application; Figure 3 is a topology diagram of a detection system according to an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of embodiments of the present application clearer, the following will be combined with the accompanying drawings for the embodiments of the present application to make a clear and complete description of the technical solutions in the embodiments of the present application. Obviously, the described embodiments are a part of embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0020] Referring to Figures 1-3 , the present application provides a strategy table-based automatic detection system of a stability control device, which comprises a strategy file analysis module, a stability control model configuration module, a test case configuration module and a test control center. Each module is as follows: The strategy file analysis module is used to load a stability control device strategy file, analyze a stability control system topology diagram and a strategy table, and output a digitalized system topology diagram and a strategy table. The system topology diagram and the strategy table are described by using a format language such as XML or JSON. The topology diagram describes a stability control system master station, a substation, a line, a generator unit and their connection relationship. The strategy table describes a stability control strategy, a stability control device set operation mode, a detection section and its composition, a fault element, a fault type, an executed measure and a measure quantity information. The stability control model configuration module is used to load a digitalized topology diagram and a digitalized strategy table, and open a configuration GUI interface for a stability control system model to configure a generated stability control device model file. The stability control device model file describes all information of the stability control system, including a stability control system topology diagram, a stability control system communication configuration and a stability control system strategy table. The stability control system communication configuration includes all injection information and collection information needed by a stability control tester to simulate a stability control device, including electrical quantity injection information, 2M injection and collection information and switch quantity injection and collection information. All injection and collection information configuration further includes a mapping relationship between an output or collection terminal or port of the stability control tester and physical information of each power element of the stability control system. The 2M injection and collection information includes a 2M communication protocol, including a 2M channel, a message type, a message byte configuration and a CRC check.
[0021] Test case configuration module: for loading the stable control device model file, and opening the configuration GUI interface for the stable control system test case, and configuring the test case file of the stable control device; the test case file refers to a set of test items based on the stable control device strategy, and the test items include test parameters, test result data definition, and test conclusion criterion; Test control center: for loading the test case file, analyzing the test items and test parameters, controlling the stable control tester to execute the test, and collecting the action signal of the stable control device to form a test closed loop. The test control center executes the test in sequence according to the order of the test items in the test case, until all the test items are tested. During the test process, the stable control tester reports the collected result data to the test control center, and completes the test item conclusion judgment, including the collected on-off action signal and the action signal of the stable control tester strategy action.
[0022] The embodiment of the present application also provides a stable control device automatic detection method based on a strategy table, including the following steps: S1: loading the stable control device strategy file through the strategy file analysis module, and analyzing and outputting the digitalized topology graph and digitalized strategy table in XML or JSON format; S2: loading the digitalized topology graph and strategy table through the stable control model configuration module, and configuring to generate the stable control device model file containing the stable control system topology graph, stable control system strategy table, and stable control system communication configuration; and completing the test wiring of the stable control tester and the stable control device according to the communication configuration; S3: loading the stable control device model file through the test case configuration module, and generating the test case file through the configuration GUI interface, wherein the test case file refers to a set of test items based on the stable control device strategy, and the test items include test parameters, test result data definition, and test conclusion criterion; S4: loading the test case file through the test control center, analyzing the test items and test parameters, controlling the stable control tester to execute the test, and collecting the action signal of the stable control device.
[0023] Specifically, step S4 includes: S41: the test control center loads the test items in the test case file, and analyzes the test parameters; S42: the test parameters are sent to the stable control tester and controlled to be outputted; S43: the action signal of the stable control device and the feedback data of the stable control tester are collected; S44: the test result is determined according to the conclusion criterion of the test item; S45: steps S41-S44 are repeated until all the test items are completed.
[0024] Another embodiment of the present application provides an electronic device, comprising: a computer readable storage medium and a processor; The computer readable storage medium is configured to store executable instructions; The processor is configured to read the executable instructions stored in the computer readable storage medium, and execute the automatic detection method of the stable control device based on the policy table.
[0025] Another embodiment of the present application provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the automatic detection method of the stable control device based on the policy table.
[0026] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer usable program code.
[0027] The present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device implemented in the flowcharts and / or block diagrams. Figure 1 The device that implements the function specified in one flow or multiple flows and / or blocks. Figure 1 The device that implements the function specified in one flow or multiple flows and / or blocks.
[0028] These computer program instructions can also be stored in a computer readable storage medium that can direct the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a manufactured product including instruction devices that implement the flowcharts and / or block diagrams. Figure 1 The device that implements the function specified in one flow or multiple flows and / or blocks. Figure 1 The device that implements the function specified in one flow or multiple flows and / or blocks.
[0029] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable data processing apparatus to produce a computer implemented process, so that the instructions executed on the computer or other programmable data processing apparatus provide a process for implementing the flowcharts and / or block diagrams.Figure 1 one or more processes and / or functions specified in one or more blocks Figure 1 one or more blocks or steps of the functions specified in the one or more blocks.
[0030] It should be noted that the above-mentioned embodiments are only used to illustrate but not to limit the technical solutions of the present application. Although the present application has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that the specific embodiments of the present application can be modified or replaced equivalently without departing from the spirit and scope of the present application, and any modification or equivalent replacement without departing from the spirit and scope of the present application should be covered in the protection scope of the claims of the present application.
Claims
1. An automatic detection system for a stability control device based on a strategy table, characterized in that, The system comprises: a strategy file analysis module for loading a stable control device strategy file, analyzing and outputting a digitized topology graph and a digitized strategy table; a stable control model configuration module for loading the digitized topology graph and the digitized strategy table, generating a stable control device model file containing a stable control system topology graph, a stable control system strategy table and a stable control system communication configuration through a configuration GUI interface; a test case configuration module for loading the stable control device model file, generating a test case file through a configuration GUI interface, the test case file indicating a set of test items based on the stable control device strategy, the test items including test parameters, test result data definitions and test conclusion criteria; a test control center for loading the test case file, analyzing the test items and the test parameters, controlling a stable control tester to perform a test and collecting action signals of the stable control device.
2. The system of claim 1, wherein: the digitized topology graph and the digitized strategy table are described in XML or JSON format; the digitized topology graph contains main stations, sub-stations, lines, generator sets and their connection relationships of the stable control system; and the digitized strategy table contains stable control strategies, operation modes, detection cross-sections, fault elements, fault types, execution measures and measure quantity information.
3. The system of claim 1, wherein: the stable control system communication configuration includes all injection information and collection information required by the stable control tester to simulate the stable control device, the injection information and the collection information including electrical quantity injection information, 2M injection and collection information, switching quantity injection and collection information, and a mapping relationship between output or collection terminals or ports of the stable control tester and physical information of each power element of the stable control system; and the 2M injection and collection information includes a 2M communication protocol, the 2M communication protocol including a 2M channel, a message type, a message byte configuration and a CRC check.
4. A method for automatic detection of a strategy table-based stability control device, characterized by, The system comprises the following steps: S1: loading a stable control device strategy file through a strategy file analysis module, analyzing and outputting a digitized topology graph and a digitized strategy table in XML or JSON format; S2: loading the digitized topology graph and the strategy table through a stable control model configuration module, configuring to generate a stable control device model file containing a stable control system topology graph, a stable control system strategy table and a stable control system communication configuration; and completing test wiring between a stable control tester and a stable control device according to the communication configuration; S3: loading the stable control device model file through a test case configuration module, generating a test case file through a configuration GUI interface, the test case file indicating a set of test items based on the stable control device strategy, the test items including test parameters, test result data definitions and test conclusion criteria; S4: loading the test case file through a test control center, analyzing the test items and the test parameters, controlling a stable control tester to perform a test and collecting action signals of the stable control device.
5. The method of claim 4, wherein, Step S4 specifically comprises: S41: the test control center loads test items in the test case file and analyzes test parameters; S42: the test parameters are sent to the stable control tester and the stable control tester is controlled to output; S43: action signals of the stable control device and feedback data of the stable control tester are collected; S44: determining the test result according to the conclusion criterion of the test item; S45: repeating S41-S44 until all test items are completed.
6. The method of claim 4, wherein: The communication configuration of the stability control system in step S2 includes all injection information and collection information required by the stability control tester to simulate the stability control device, the injection information and collection information including electrical quantity injection information, 2M injection and collection information, switch quantity injection and collection information, and a mapping relationship between the output or collection terminal or port of the stability control tester and the physical information of each power element of the stability control system; the 2M injection and collection information includes a 2M communication protocol, and the 2M communication protocol includes a 2M channel, a message type, a message byte configuration, and a CRC check.
7. An electronic device comprising: A computer readable storage medium and a processor; The computer readable storage medium is used to store executable instructions; The processor is used to read the executable instructions stored in the computer readable storage medium, and execute the stability control device automatic detection method based on the policy table in any one of claims 4-6.
8. A non-transitory computer readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the stability control device automatic detection method based on the policy table in any one of claims 4-6.
Citation Information
Patent Citations
System testing method of power grid distributed stability control devices
CN105159273A
Power system stability control strategy checking method and device and storage medium
CN118199091A
Simulation test system and method for safety and stability control device
CN119376376A
Stability control strategy test system and method applied to field stability control device
CN120295268A
Full-automatic closed-loop detection method and apparatus for intelligent substation
WO2019109619A1