Stability control strategy test system and method applied to field stability control device
Through distributed arrangement of test masters and slaves, combined with software control systems, the problem of low testing efficiency of stable control devices in the existing technology is solved, efficient and automated testing of stable control devices is achieved, and the operation reliability of stable control devices is ensured.
Patent Information
- Application Number
- CN202510338325.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-07-11
AI Technical Summary
The prior art is difficult to efficiently and automatically simulate complex failure timing to test the dynamic performance of the stabilization device, resulting in low testing efficiency of the on-site stabilization device and difficulty in accurately evaluating its operating reliability.
The distributed arrangement of test host and test slave is adopted, the strategy files are parsed through the software control system, and a multi-state test template is generated. The MMS protocol is used to dynamically modify the soft pressure plate and control words of the stable control host to achieve comprehensive simulation and automated testing of the stable control device.
It realizes efficient and automated testing of the stable control device, can accurately simulate complex fault timing, improves testing efficiency and accuracy, and ensures the operating reliability of the stable control device.
Smart Images

Figure CN120295268A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power systems, and specifically to a stability control strategy testing system and method applied to on-site stability control devices. Background Art
[0002] With the rapid development of UHV cross-regional interconnected power grids and the widespread application of a large number of power electronic devices, the safety and stability characteristics of power grids have become increasingly complex, and the risks of safe operation have been increasing day by day. As the most important secondary system in the daily operation of power grids, the safety and stability high-power control system (hereinafter referred to as the stability control device) can, on the one hand, reduce the system frequency and voltage fluctuations under impacts, block the chain fault paths, and reduce the risk of stability damage, making the power grid safer and more controllable; on the other hand, by increasing the transmission limit of important transmission channels, it promotes the large-scale optimal allocation of resources and the cross-regional consumption of new energy, making the power grid more economical and efficient.
[0003] With the rapid development of UHV power grids and the transformation of power grids towards a new type of power system with new energy as the main body, stability control devices have become an important means for the safe and stable operation of UHV DC sending and receiving end power grids. Stability control devices are widely distributed geographically, cover many stations, have complex logical functions and low standardization levels, and mainly rely on in-plant testing and on-site joint commissioning to ensure their operation reliability.
[0004] The stability control device, as shown in Figure 1 is composed of a stability control master station and multiple stability control slave stations, and a dedicated power channel is used for communication between the stability control master station and the stability control slave stations. Inside each substation / power plant, the stability control master station is distributed. The stability control master station in a substation (as shown in Figure 2 ) includes a stability control host, a stability control slave, and a communication interface device. The stability control slave collects analog and digital quantity information; the communication interface device collects information sent by other slave stations; the stability control host collects the information of the slave and communication interface devices of this station and makes strategy judgments.
[0005] Currently, the strategy testing of on-site stability control devices is mainly verified through on-site joint commissioning of stability control devices at different stations. A large number of debugging staff are involved. The testing of devices at each station is mainly completed by connecting a tester to load ideal state quantities for the device and remote communication cooperation among personnel, with low automation and efficiency. At the same time, it is also difficult to accurately simulate the time sequence of complex faults on-site to test the dynamic performance of the entire set of stability control devices. Summary of the Invention
[0006] The present invention provides a stability control strategy testing system and method applied to on-site stability control devices, which can accurately simulate the time sequence of complex faults to test the dynamic performance of the entire set of stability control devices, and has high automation and efficiency.
[0007] A stability control strategy testing system applied to on-site stability control devices includes:
[0008] A test host, configured to communicate with the stability control host of the stability control master station;
[0009] At least one test slave connected to the test host, distributedly deployed to simulate the stability control substation;
[0010] A software control system, connected to the test host, for parsing the policy file, extracting the policy logic from the policy file, decomposing the test steps into multi-state test templates, generating policy test items, executing the policy test items in a preset order, and dynamically modifying the soft pressure plate and control word of the stability control host through the MMS protocol;
[0011] The test host is used to receive the policy test items sent by the automated test system, perform parameter classification and logic control, and send parameters and various output commands to each test slave through optical fiber; the test host is also used to read the setting values and soft pressure plates of the stability control host through the protocol;
[0012] The software control system is also used to automatically match the setting values and soft pressure plates obtained by the test host to the test cases, dynamically adjust the subsequent test states according to the response actions of the stability control host, and form a closed-loop verification process.
[0013] Further, the test host includes:
[0014] A logic control module, using a System on Chip (SoC), including a dual-core Cortex-A9 ARM processing unit (PS) and a programmable logic unit (PL). The dual-core Cortex-A9 ARM processing unit interacts with the upper computer through Ethernet, and the programmable logic unit controls the output of analog quantities, digital quantities, and communication signals;
[0015] A timing module, supporting timing through GPS, Beidou, optical B code, and 1588 protocol;
[0016] An external communication optical module, connected to the test slave through optical fiber;
[0017] A communication module, supporting Bluetooth and Ethernet communication.
[0018] Further, the test slave includes:
[0019] An analog quantity / digital input / output module, configured to generate analog signals and digital input / output with adjustable amplitude, phase, and frequency according to control instructions;
[0020] A digital quantity module, configured to generate digital quantity messages;
[0021] A 2M communication module, configured to generate 2M communication protocol messages;
[0022] A control module, interacting with the logic control module of the test host.
[0023] Further, the dual-core Cortex-A9 ARM processing unit of the test host receives the policy test items generated by the software control system, and synchronizes the test parameters and instruction timings with the programmable logic unit through the shared memory; the control module of the test slave receives the parameters sent by the programmable logic unit, coordinates the analog / digital input / output module, digital quantity module and 2M communication module to output signals, and ensures that the output signals of each module are matched with the fault scenarios and power change conditions in the policy logic in real time.
[0024] Further, the software control system includes:
[0025] A policy recognition module, which is used to parse PDF or Excel policy files through OCR technology and extract a policy table, and the policy table includes fault components, section power ranges and control measures;
[0026] A policy test item generation module, which is used to decompose the test steps into multi-state test templates according to the implementation logic specified in the policy table and generate policy test items;
[0027] An automated test system, which is used to execute the policy test items in a preset order and dynamically modify the soft pressure plates and control words of the stability control host through the MMS protocol.
[0028] Further, the software control system also includes:
[0029] An interface generation and configuration module, which is used to automatically associate the stability control device structure diagram through manual selection and in combination with the policy definition in the policy file, and in combination with the stability control device structure diagram, configure and map the channels of the policy-related parameters of the current policy test item, and send the configuration parameters and mapping relationships to the policy test item generation module;
[0030] The policy test item generation module divides the test steps into n states in a multi-state manner according to the parameter information and channel mapping relationships and in combination with the test logic of this policy. The parameters and output states of each state are the minimum change state values divided according to the policy logic. Finally, through the multi-state combination method, the overall test content of the stability control policy test, that is, the multi-state test template, is formed, so as to generate a policy test item.
[0031] Further, the software control system also includes:
[0032] A protocol communication module, which communicates with the stability control system through the MMS protocol and reads the setting values of the stability control system.
[0033] Further, the policy file includes description information, fixed values, and line control power information. The description information includes operation mode, faulty component, fault type, and detection section. The fixed values include section power range and measure quantity. The line control power information includes component name and control power value.
[0034] A stability control strategy testing method applied to on-site stability control devices, which is carried out using the above system. The method includes:
[0035] The software control system analyzes the policy file, extracts the policy logic from the policy file, decomposes the test steps into multi-state test templates, generates policy test items, executes the policy test items in a preset order, and dynamically modifies the soft pressure plate and control word of the stability control host through the MMS protocol;
[0036] The test host receives the policy test items sent by the automated test system, performs parameter classification and logic control, and sends parameters and various output commands to each test slave through optical fiber; the test host is also used to read the fixed values and soft pressure plates of the stability control host through the protocol;
[0037] The software control system automatically matches the fixed values and soft pressure plates obtained by the test host to the test cases, dynamically adjusts the subsequent test states according to the response actions of the stability control host, and forms a closed-loop verification process.
[0038] Through the distributed communication control between the test host and the test slaves, the present invention realizes the comprehensive simulation of the interfaces of on-site stability control devices. By simulating all communication signals of the stability control devices and reading and identifying the stability control strategies, a large number of stability control test strategy test items are generated, realizing the comprehensive test of on-site stability control devices, and providing a new technical means for the test of on-site stability control devices. Description of the Drawings
[0039] Figure 1 It is a schematic structural diagram of the stability control device;
[0040] Figure 2 It is a schematic structural diagram of the stability control master station in the substation;
[0041] Figure 3 It is a schematic structural diagram of the stability control strategy testing system of the present invention applied to on-site stability control devices;
[0042] Figure 4 It is a schematic structural diagram of the test host of the present invention;
[0043] Figure 5 It is a schematic structural diagram of the test slave of the present invention;
[0044] Figure 6 It is a module block diagram of the software control system of the present invention;
[0045] Figure 7 It is a flowchart of the stability control strategy test method applied by the present invention to the on-site stability control device. Specific implementation mode
[0046] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0047] As Figure 3 shown, the present invention proposes a stability control strategy test system applied to the on-site stability control device, including:
[0048] A test host, configured to communicate with the stability control host of the stability control master station. The test host (as Figure 4 shown) includes a logic control module, a time synchronization module, an external communication optical module and a communication module;
[0049] At least one test slave, distributedly deployed to simulate the stability control slave station. The test slave (as Figure 5 shown) includes an analog / digital quantity module, a digital quantity module, a control module, a 2M communication module and a communication module;
[0050] A software control system, connected to the test host, for parsing the policy file, extracting important parameters required for the stability control test from the policy file, decomposing the test steps into multi-state test templates, generating policy test items, executing the policy test items in a preset order, and dynamically modifying the soft pressure plate and control word of the stability control host through the MMS protocol.
[0051] The test host is connected to the test slave through optical fiber, and the test host interacts with the stability control master station through the MMS protocol to generate and execute test instructions.
[0052] The test system of the present invention cooperates with the distributed layout of the on-site stability control device, and adopts a distributed method for control. The test host and the stability control host are in the same location. The analog quantity and digital quantity parts of the test slave are in the same location as the stability control slave. The 2M communication module of the test slave and the communication module of the test system are installed in the same location. The test host and the test slave are connected by optical fiber communication.
[0053] The test host and the software control system, as the main parts of the test system, are responsible for the control of the entire test process, the generation of test logic, etc. The test host sends parameters and output commands to each slave test machine. Considering the real-time requirements of the stability control test, optical fiber transmission is adopted, which can respond to parameter changes and test changes in a timely manner. The test host is connected and communicates with the stability control host, and reads the setting values, soft pressure plates and other information of the stability control host through the MMS protocol. The software control system automatically generates policy test items according to the information in the policy table by importing the reading policy table, and manages multiple policy test items in a process-oriented and automated manner, so as to realize the automated test of the on-site stability control device's policy.
[0054] As Figure 4 shown, the test host includes: an external communication optical module, a logic control module, a time synchronization module (clock), and a communication module.
[0055] The logic control module is the main control center of the test host and has data and parameter interactions with all modules. The logic control module adopts a System on Chip (SoC), which mainly includes two parts: a processing system unit (PS) based on a dual-core Cortex-A9 ARM and a programmable logic unit (PL). In addition to the ARM core, the PS unit also includes on-chip memory, an external memory interface, and rich I / O peripherals. As the main unit, the PS unit is responsible for communicating with the upper computer control software through an Ethernet interface to implement the set test functions. Data interaction between the PS unit and the PL unit is carried out through shared memory. As the slave unit, the PL unit is mainly responsible for controlling each functional plug-in, issuing control commands and synchronous clocks through the control serial interface, and receiving the test and monitoring data of each functional plug-in. The PL unit can access the PS processor or use the memory resources of the PS unit through various connection methods such as interfaces and signals. The extended memory of the SoC is controlled by the PL unit to realize the caching of test data.
[0056] The time synchronization module is the clock synchronization interface module of the test host, which can receive multiple time synchronization methods such as external GPS, Beidou, optical B code, and 1588.
[0057] The external communication optical module is the optical fiber communication interface for the test host to connect with other functional modules, and is responsible for distributing and receiving data.
[0058] The communication module is the external communication interface module of the test host, which can realize Bluetooth communication and Ethernet communication through the communication module, and carry out data interaction communication with external mobile terminals or PCs.
[0059] As Figure 5As shown in the figure, the slave test device includes: an analog / digital quantity module, a digital quantity module, a control module, a 2M communication module, and a communication module. The slave test device receives the parameters and commands sent by the master test device, and the slave test device is an execution end.
[0060] The control module is the main control center of the slave test device and has data and parameter interactions with all modules. The design of the control module of the slave test device is the same as that of the logic control module of the master test device.
[0061] The analog / digital quantity module is an excitation module for analog signals and digital quantity signals, generating the analog and digital quantities required for testing. The analog / digital quantity module is connected to the control module and receives parameters such as amplitude, phase, frequency, and switch information sent by the control module.
[0062] The digital quantity module is a generating module for digital quantity messages. According to the message parameter information sent by the master test device, it generates the digital quantity messages required for testing. The digital quantity module is connected to the control module and receives the parameter information sent by the control module.
[0063] The 2M communication module is a generating module for 2M communication data. According to the 2M communication configuration sent by the master test device, it generates the corresponding 2M communication messages and conducts communication interactions with the communication interface device.
[0064] The communication module has a communication function, receives the parameter configuration sent by the master test device, and sends it to each sub-module through the control module.
[0065] The software control system serves as a human-machine interaction interface, enabling parameter settings, and sending parameters to the master test device through the software control system.
[0066] The software control system automatically generates policy test items according to the information in the policy table by importing and reading the policy table, and conducts process-based and automated management of multiple policy test items.
[0067] The master test device is connected and communicates with the stability control master device through optical fiber or network cable. The communication protocol between the master test device and the stability control master device is the MMS protocol. The master test device reads information such as setting values and soft pressure plates of the stability control master device through the protocol. The software control system automatically matches the setting values, soft pressure plates, and other information obtained by the master test device to the test cases.
[0068] The software control system sends the generated policy test items to the master test device, and the master test device conducts parameter classification and logic control. The master test device sends parameters and various commands to each slave test device through optical fiber. Considering the real-time requirements of stability control testing, optical fiber transmission is used between the master test device and the slave test device to promptly respond to parameter changes and test changes.
[0069] The software control system executes multiple strategy test projects in a predefined order to achieve automated testing of the strategies of on-site stability control devices.
[0070] As Figure 6 shown, the software control system includes a strategy recognition module, an interface generation and configuration module, a strategy test project generation module, a protocol communication module, a test control service module, and a test interface module.
[0071] The strategy recognition module is for intelligent recognition of PDF or Excel files. It uses optical character recognition technology to obtain the keywords and data in the strategy files, acquires the important parameters (strategy tables) required for stability control testing, and sends the recognized important parameters to the strategy test project generation module and the interface generation and configuration module.
[0072] The interface generation and configuration module is for parameter configuration of the stability control test system, channel mapping, and generation of the test system diagram of the stability control device. Through manual selection and in combination with the strategy definitions in the strategy files, it automatically associates with the structure diagram of the stability control device. Combining with the structure diagram of the stability control device, it configures the strategy-related parameters and channel mapping for the current strategy test project, and sends the configuration parameters and mapping relationships to the strategy test project generation module.
[0073] The strategy test project generation module, based on the parameter information and channel mapping relationships, combines with the test logic of this strategy, and uses a multi-state method to divide the test steps into n states. The parameters and output states of each state are the smallest variable state values divided according to the strategy logic. Finally, through the multi-state combination method, it forms the overall test content of the stability control strategy test, that is, the multi-state test template, thereby generating a strategy test project.
[0074] There are hundreds or thousands of strategy test projects. Each time of testing, several or dozens of them are randomly selected from the strategy library as the content of the strategy test project. Each strategy forms a strategy test project. The automated test system manages the test order of multiple strategy test projects in an orderly and logical manner.
[0075] The test setting values of each strategy test are different, and the control words of the stability control device are different. Therefore, it is necessary to use a communication protocol to achieve information interaction between the test system and the stability control device. According to different strategy test projects, communicate with the stability control device in advance, and according to the strategy content, change the soft pressure plate or control word of the stability control device. For each strategy test project, it is necessary to change the soft pressure plate and control word in advance to achieve automated detection of multiple projects.
[0076] The protocol communication module is an MMS communication protocol implementation module. It communicates with the stability control system through the MMS protocol to read information such as the setting values of the stability control system, which is a necessary condition for automated testing.
[0077] The test control service module is the execution unit for single-project and policy test projects, calculating parameters such as analog, digital, and switch quantities output by test equipment, and is the executor of the tester program.
[0078] The test interface module is the communication interface module between the system software and the hardware device API, realizing the combination of software and hardware digital circuits.
[0079] Based on the identified strategy table, the automated test system decomposes the test steps according to the implementation logic specified in the strategy table, and realizes the test implementation of the entire strategy logic in a multi-state manner. According to the configuration of the parameter configuration interface, it automatically realizes the process of the automated sequential test of the stability control strategy.
[0080] Please refer to Figure 7 , The embodiment of the present invention also provides a stability control strategy test method applied to on-site stability control devices, which is carried out using the above system. The method includes:
[0081] The software control system parses the strategy file, extracts the strategy logic from the strategy file, decomposes the test steps into multi-state test templates, generates strategy test projects, executes the strategy test projects in a preset order, and dynamically modifies the soft pressure plate and control word of the stability control host through the MMS protocol;
[0082] The test host receives the strategy test projects issued by the automated test system, classifies the parameters and performs logical control, and issues the parameters and various output commands to each test slave through the optical fiber; the test host is also used to read the setting values and soft pressure plates of the stability control host through the protocol;
[0083] The software control system automatically matches the setting values and soft pressure plates obtained by the test host to the test cases, and dynamically adjusts the subsequent test states according to the response actions of the stability control host, forming a closed-loop verification process.
[0084] Among them, the strategy file includes descriptions such as operation mode, fault components, fault types, detection sections, etc., as well as setting values such as section power range and measure values, and also includes line control power information (component name and control power value). The file types include formats such as word and pdf.
[0085] When parsing the strategy file, identification technologies such as image recognition / word keywords can be used to identify the required description messages in the strategy file, that is, the strategy table.
[0086] The strategy table is computer-editable. Except for the section strategy, all information can be completed by automatically identifying the strategy file, and can also be manually edited and modified.
[0087] Generate an automated strategy test template according to the identified strategy table according to the strategy test project. The template has an editable function and can also realize the strategy change of the customized template.
[0088] During testing, the policy / function module can be called. The policy / function module can run independently to implement the test of the stable control master / slave machine response function, or can be called by the automatic test to implement the automatic sequential test.
[0089] As described above, it is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A stability control strategy testing system applied to on-site stability control devices, characterized in that: Comprising: A test host, configured to communicate with the stability control host of the stability control master station; At least one test slave connected to the test host, distributedly deployed to simulate the stability control substation; A software control system, connected to the test host, for parsing the policy file, extracting the policy logic from the policy file, decomposing the test steps into multi-state test templates, generating policy test items, executing the policy test items in a preset order, and dynamically modifying the soft pressure plate and control word of the stability control host through the MMS protocol; The test host is used to receive the policy test items issued by the automated test system, perform parameter classification and logic control, and send parameters and various output commands to each test slave through optical fiber; The test host is also used to read the setting values and soft pressure plates of the stability control host through the protocol; The software control system is also used to automatically match the setting values and soft pressure plates obtained by the test host to the test cases, and dynamically adjust the subsequent test states according to the response actions of the stability control host to form a closed-loop verification process.
2. The stability control strategy test system applied to the on-site stability control device according to claim 1, characterized in that: The test host includes: A logic control module, using a System on Chip (SoC), including a dual-core Cortex-A9 ARM processing unit (PS) and a programmable logic unit (PL). The dual-core Cortex-A9 ARM processing unit interacts with the upper computer through Ethernet, and the programmable logic unit controls the output of analog signals, digital signals, and communication signals; A time synchronization module, supporting time synchronization through GPS, Beidou, optical B code, and 1588 protocol; An external communication optical module, connected to the test slave through optical fiber; A communication module, supporting Bluetooth and Ethernet communication.
3. The stability control strategy test system applied to the on-site stability control device according to claim 2, characterized in that: The test slave includes: An analog / digital quantity module, configured to generate analog signals and digital quantities with adjustable amplitude, phase, and frequency according to control instructions; A digital quantity module, configured to generate digital quantity messages; A 2M communication module, configured to generate 2M communication protocol messages; A control module, interacting with the logic control module of the test host.
4. The stability control strategy test system applied to the on-site stability control device according to claim 3, characterized in that: The dual-core Cortex-A9 ARM processing unit of the test host receives the policy test items generated by the software control system, and synchronizes the test parameters and instruction timings with the programmable logic unit through shared memory; the control module of the test slave receives the parameters sent by the programmable logic unit, coordinates the output signals of the analog / digital quantity module, digital quantity module, and 2M communication module, and ensures that the output signals of each module are real-time matched with the fault scenarios and power change conditions in the policy logic.
5. The stability control strategy testing system applied to on-site stability control devices according to claim 1, characterized in that: The software control system includes: A policy recognition module, used to parse PDF or Excel policy files through OCR technology and extract the policy table, where the policy table includes fault components, section power ranges, and control measures; A policy test item generation module, used to decompose the test steps into multi-state test templates according to the implementation logic specified in the policy table and generate policy test items; An automated test system, used to execute the policy test items in a preset order and dynamically modify the soft pressure plate and control word of the stability control host through the MMS protocol.
6. The stability control strategy testing system applied to on-site stability control devices as described in claim 5, characterized in that: The software control system also includes: The interface generation and configuration module is used to automatically associate the structure diagram of the stability control device through manual selection and in combination with the policy definitions in the policy file, and in combination with the structure diagram of the stability control device, configure the policy-related parameters and channel mapping for the current policy test project, and send the configured parameters and mapping relationships to the policy test project generation module; The policy test project generation module divides the test steps into n states in a multi-state manner according to the parameter information, channel mapping relationship, and the test logic of this policy. The parameters and output states of each state are the minimum change state values divided according to the policy logic. Finally, through the multi-state combination method, the overall test content of the stability control policy test, that is, the multi-state test template, is formed, thereby generating a policy test project.
7. The stability control strategy testing system applied to the on-site stability control device as claimed in claim 5, wherein: The software control system further includes: The protocol communication module communicates with the stability control system through the MMS protocol to read the setting information of the stability control system.
8. The stability control strategy test system applied to the on-site stability control device according to claim 1, characterized in that: The policy file includes description information, setting values, and line control power information. The description information includes the operation mode, faulty component, fault type, and detection section. The setting values include the section power range and the measure quantity. The line control power information includes the component name and the control power value.
9. A method for testing a stability control strategy applied to on-site stability control devices, characterized in that Using the system according to any one of claims 1-8, the method includes: The software control system parses the policy file, extracts the policy logic from the policy file, decomposes the test steps into a multi-state test template, generates a policy test project, executes the policy test project in a preset order, and dynamically modifies the soft pressure plate and control word of the stability control host through the MMS protocol; The test host receives the policy test project sent by the automated test system, performs parameter classification and logic control, and sends the parameters and various output commands to each test slave through the optical fiber; the test host is also used to read the setting values and soft pressure plates of the stability control host through the protocol; The software control system automatically matches the setting values and soft pressure plates obtained by the test host to the test cases, and dynamically adjusts the subsequent test states according to the response actions of the stability control host to form a closed-loop verification process.
Citation Information
Cited By
Intelligent substation secondary equipment full-link test system and method
CN120847509A
Stability control device automatic detection system and method based on strategy table
CN121386701A