An Adaptive Emergency Safety and Stability Control Strategy, Control Method and System

Through the adaptive emergency safety and stability control strategy, the PLC policy interpreter and actuator analyze scheduling data, the adaptability of the grid's security and stability control is achieved, and the offline control strategy cannot cope with the complexity of the grid, improving the safety, stability and economics of the grid.

CN115877783BActive Publication Date: 2025-07-18NANJING NARI GROUP CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111141320.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2025-07-18
Estimated Expiration
2041-09-28

AI Technical Summary

Technical Problem

The existing offline control strategy table cannot effectively deal with the changes in the power grid structure and the complexity brought about by new energy grid connection during power grid operation, resulting in under-control or over-control risks, affecting the safety, stability and economics of the power grid.

Method used

Adaptive emergency security and stability control strategy is adopted, and the scheduling data is analyzed through the PLC policy interpreter and the executor, the logical processing type and policy configuration content are determined, and the security and stability control is realized, including ordinary logic processing, policy table query processing and complex logic processing, and the control is combined with analog and digital data.

Benefits of technology

It has improved the accuracy of grid safety and stability control, reduced the risk of dependence on offline stable control strategies, and promoted high-quality development of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115877783B_ABST
    Figure CN115877783B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method and system for an adaptive emergency safety and stability control strategy, including: obtaining dispatching data from a dispatching data network, and obtaining analog data and digital data from the device local area; using a pre-constructed PLC policy interpreter and actuator to analyze the dispatching data, obtaining a logic processing type and policy configuration content, and determining a corresponding execution program according to the logic processing type and policy configuration content; the logic processing type includes a general logic processing type, a policy table query processing type, and a complex logic processing type; performing safety and stability control according to the analog data, digital data, and the corresponding execution program. Advantages: It can achieve the adaptability of general logic for safety and stability control, the adaptability of offline policy table update, and the adaptability of complex logic, improve the precision level of power grid safety and stability control, reduce the safety and economic risks brought by simply relying on offline stability control strategies, and promote the high-quality development of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an adaptive emergency safety and stability control strategy control method and system, belonging to the technical field of power system and its automation. Background Art

[0002] At present, the existing stability control system formulates an offline control strategy table according to the conservative principle, and performs safety and stability control of severe faults based on the offline control strategy table to ensure the safe and stable operation of the power grid under severe faults. However, with the development of the power grid, the grid network structure in actual operation may change greatly, showing a large deviation from the offline typical mode. The large-scale integration of new energy and the promotion of the power market have made the operation mode of the power grid increasingly complex and changeable, and the factors affecting the safety and stability characteristics of the power grid have increased day by day. The stability control strategy formulated based on the offline typical mode has risks of under-control and over-control in actual operation, resulting in the risk that the power grid operation conditions mismatch and cannot meet the requirements of power grid safety and stability, or the control cost is too high, affecting the operation economy. Especially for a weak power transmission end grid characterized by the transmission of multiple energy sources and AC / DC hybrid connection, there are difficulties in new energy consumption, and there are problems in terms of power grid safety and stability under severe faults. The possibility of mismatch between the offline control strategy and the actual operation conditions of the power grid will increase further. The stability control strategy cannot cover complex and changeable power grid operation modes, and there is a risk of the third line of defense acting and even system instability under severe faults. Therefore, it is urgent to carry out research on power grid adaptive emergency control, strengthen online verification of offline strategies, optimize decision-making and closed-loop control of online adaptive emergency control under severe faults, improve the precision level of power grid safety and stability control, reduce the safety and economic risks brought by simply relying on offline stability control strategies, and promote the high-quality development of the power grid. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to overcome the defects of the prior art and provide an adaptive emergency safety and stability control strategy control method and system.

[0004] To solve the above technical problem, the present invention provides an adaptive emergency safety and stability control strategy control method, including:

[0005] Obtain dispatching data from the dispatching data network, and obtain analog data and digital data from the device local;

[0006] Use a pre-constructed PLC strategy interpreter and actuator to parse the dispatching data to obtain the logic processing type and strategy configuration content, and determine the corresponding execution program according to the logic processing type and strategy configuration content; the logic processing type includes ordinary logic processing type, strategy table query processing type and complex logic processing type;

[0007] Perform safety and stability control according to the analog data, digital data and the corresponding execution program.

[0008] Further, the logic processing types include:

[0009] Data type 0 represents the general logic processing type;

[0010] Data type 1 represents the policy table query processing type;

[0011] Data type 2 represents the complex logic processing type.

[0012] Further, the PLC policy interpreter and the actuator adopt a three - layer structure. The bottom layer is an embedded operating system, the middle layer is a PLC logic processing module, and the top layer is various application programs developed based on the platform;

[0013] The embedded operating system is used to provide the hardware - level driver and interface, and the system - level program interface for the PLC logic processing module;

[0014] The PLC logic processing module is used to call system functions and control the input and output of the system;

[0015] The application program is used to call the application - level program interface and the customized application modules provided by the PLC logic processing module.

[0016] Further, the parsing and dispatching of the data to obtain the logic processing type and the policy configuration content, and determining the corresponding execution program according to the logic processing type and the policy configuration content includes:

[0017] Determine it as the general logic processing type according to the parsed logic processing type, and determine the corresponding logic diagram according to the parsed policy configuration content. The general logic processing type represents the type of the logic structure diagram with the corresponding PLC logic block diagram;

[0018] Parse the logic diagram, and use the PLC to convert the parsed data into target code;

[0019] Compile the target program according to the target code to obtain the execution program;

[0020] Complete the safe and stable control according to the execution program.

[0021] Further, the parsing and dispatching of the data to obtain the logic processing type and the policy configuration content, and determining the corresponding execution program according to the logic processing type and the policy configuration content includes:

[0022] Determine it as the policy table query processing type according to the parsed logic processing type, and determine the policy configuration update content according to the parsed policy configuration content;

[0023] Compare the policy configuration update content with the offline policy table stored in a tree structure in advance;

[0024] If they are consistent, determine the security and stability control measures according to the offline policy table, and then determine the execution program according to the security and stability control measures;

[0025] If they are inconsistent, update the offline policy table by using the method of updating the interpolation nodes of the policy tree, determine the security and stability control measures by using the updated offline policy table, and then determine the execution program according to the security and stability control measures.

[0026] Further, the parsing of the scheduling data to obtain the logical processing type and the policy configuration content, and determining the corresponding execution program according to the logical processing type and the policy configuration content includes:

[0027] Determine that the logical processing type obtained by parsing is a complex logical processing type, and extract symbols, keywords, formulas and variables in the policy configuration content obtained by parsing. The complex logical processing type represents a policy type that cannot be processed by ordinary logical processing and policy table blood checking;

[0028] Associate the extracted symbols, keywords, formulas and variables with the pre-constructed local policy database and store them as execution statement information;

[0029] Determine the execution program according to the execution statement information.

[0030] An adaptive emergency security and stability control strategy control system includes:

[0031] An acquisition module for acquiring scheduling data from a scheduling data network and acquiring analog quantity data and digital quantity data from the local device;

[0032] A processing module for using a pre-constructed PLC policy interpreter and an actuator to parse the scheduling data to obtain a logical processing type and a policy configuration content, and determining a corresponding execution program according to the logical processing type and the policy configuration content; the logical processing type includes an ordinary logical processing type, a policy table query processing type and a complex logical processing type;

[0033] A control module for performing security and stability control according to the analog quantity data, the digital quantity data and the corresponding execution program.

[0034] Further, the logical processing type includes:

[0035] Data type 0, representing an ordinary logical processing type;

[0036] Data type 1, representing a policy table query processing type;

[0037] Data type 2, representing a complex logical processing type.

[0038] Further, the processing module includes a construction module,

[0039] which is used to construct a PLC policy interpreter and executor with a three-layer structure. The bottom layer is an embedded operating system, the middle layer is a PLC logic processing module, and the top layer is various application programs developed based on the platform;

[0040] The embedded operating system is used to provide a hardware low-level driver and interface, and a system-level program interface for the PLC logic processing module;

[0041] The PLC logic processing module is used to call system functions and control the input and output of the system;

[0042] The application program is used to call the application-level program interface and customized application modules provided by the PLC logic processing module.

[0043] Further, the processing module includes:

[0044] An ordinary logic processing module, which is used to determine the ordinary logic processing type according to the parsed logic processing type, determine the corresponding logic diagram according to the parsed policy configuration content, and the ordinary logic processing type represents the type of the logic structure diagram with the corresponding PLC logic block diagram; parse the logic diagram, convert the parsed data into target code by using the PLC; compile the target program according to the target code to obtain an execution program; complete safe and stable control according to the execution program.

[0045] Further, the processing module includes:

[0046] A policy table query processing module, which is used to determine the policy table query processing type according to the parsed logic processing type, and determine the policy configuration update content according to the parsed policy configuration content; compare the policy configuration update content with the offline policy table stored in a tree structure in advance; if they are consistent, determine the safe and stable control measures according to the offline policy table, and then determine the execution program according to the safe and stable control measures; if they are inconsistent, update the offline policy table by using the method of updating the interpolation nodes of the policy tree, determine the safe and stable control measures by using the updated offline policy table, and then determine the execution program according to the safe and stable control measures.

[0047] Further, the processing module includes:

[0048] A complex logic processing module is used to determine the complex logic processing type according to the parsed logic processing type, extract symbols, keywords, formulas, and variables in the parsed policy configuration content, where the complex logic processing type represents a policy type that cannot be processed by ordinary logic processing and policy table blood checking processing; associate with a pre-constructed local policy database according to the extracted symbols, keywords, formulas, and variables, and store them as execution statement information; determine the execution program according to the execution statement information.

[0049] A computer-readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to execute any of the methods in the above method.

[0050] A computing device includes

[0051] One or more processors, a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods in the above method.

[0052] The beneficial effects achieved by the present invention:

[0053] The PLC policy interpreter and executor structure framework proposed by the present invention; it can achieve safe and stable control of ordinary logic adaptation, offline policy table update adaptation, and complex logic adaptation, improve the precision level of power grid safety and stable control, reduce the safety and economic risks brought by simply relying on offline stability control policies, and promote the high-quality development of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 is a schematic diagram of the control flow of the present invention;

[0055] Figure 2 is a three-layer structure diagram of the PLC policy interpreter and executor;

[0056] Figure 3 is a PLC logic processing diagram;

[0057] Figure 4 is a low-frequency logic example diagram;

[0058] Figure 5 is an example diagram of the policy table query processing tree structure;

[0059] Figure 6 is a complex logic example diagram;

[0060] Figure 7 is a schematic diagram of the structure for parsing and scheduling data of the PLC policy interpreter and executor of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0061] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the protection scope of the present invention.

[0062] As Figure 1 shown, an adaptive emergency safety and stability control strategy control method includes:

[0063] Construct a PLC policy interpreter and an actuator;

[0064] Obtain dispatching data from the dispatching data network, and obtain analog data and digital data from the local device;

[0065] As Figure 7 shown, use the pre-constructed PLC policy interpreter and actuator to parse the dispatching data, obtain the logic processing type and policy configuration content, and determine the corresponding execution program according to the logic processing type and policy configuration content; the logic processing type includes ordinary logic processing type, policy table query processing type and complex logic processing type.

[0066] Using the pre-constructed PLC policy interpreter and actuator to perform logical judgment on the dispatching data, analog data and digital data, and determining the logic processing type according to the result of the logical judgment, includes:

[0067] The logic processing type includes:

[0068] Data type 0, indicating the ordinary logic processing type;

[0069] Data type 1, indicating the policy table query processing type;

[0070] Data type 2, indicating the complex logic processing type.

[0071] As Figure 2 shown, the PLC policy interpreter and actuator adopt a three-layer structure. The bottom layer is an embedded operating system, the middle layer is a PLC logic processing module, and the top layer is various application programs developed based on the platform, such as low-frequency and low-voltage applications, safety and stability control applications, overload applications, etc.;

[0072] The embedded operating system is used to provide hardware low-level drivers and interfaces, and system-level program interfaces for the PLC logic processing module;

[0073] The PLC logic processing module is used to call system functions and control the input and output of the system;

[0074] The application program is used to call the application-level program interface and customized application modules provided by the PLC logic processing module.

[0075] Further, the PLC policy interpreter and the actuator adopt a three-layer structure. The bottom layer is an embedded operating system, the middle layer is a PLC logic processing module, and the top layer is various application programs developed based on the platform;

[0076] The embedded operating system is used to provide hardware low-level drivers and interfaces, as well as system-level program interfaces for the PLC logic processing module;

[0077] The PLC logic processing module is used to call system functions and control the input and output of the system;

[0078] The application program is used to call the application-level program interfaces and customized application modules provided by the PLC logic processing module.

[0079] Further, parsing the scheduling data to obtain the logic processing type and policy configuration content, and determining the corresponding execution program according to the logic processing type and policy configuration content, includes:

[0080] Determine that the logic processing type obtained by parsing is a general logic processing type, and determine the corresponding logic diagram according to the policy configuration content obtained by parsing. The general logic processing type represents the type of logic structure diagram with a corresponding PLC logic block diagram;

[0081] Parse the logic diagram, and use the PLC to convert the parsed data into target code;

[0082] Compile the target program according to the target code to obtain the execution program;

[0083] Complete the safety and stability control according to the execution program.

[0084] Further, parsing the scheduling data to obtain the logic processing type and policy configuration content, and determining the corresponding execution program according to the logic processing type and policy configuration content, includes:

[0085] Determine that the logic processing type obtained by parsing is a policy table query processing type, and determine the policy configuration update content according to the policy configuration content obtained by parsing;

[0086] Compare the policy configuration update content with the offline policy table stored in a tree structure in advance;

[0087] If they are consistent, determine the safety and stability control measures according to the offline policy table, and then determine the execution program according to the safety and stability control measures;

[0088] If they are inconsistent, update the offline policy table by using the method of updating the interpolation nodes of the policy tree, determine the safety and stability control measures by using the updated offline policy table, and then determine the execution program according to the safety and stability control measures.

[0089] Further, parsing the scheduling data to obtain the logical processing type and policy configuration content, and determining the corresponding execution program according to the logical processing type and policy configuration content, includes:

[0090] Determine the obtained logical processing type as a complex logical processing type according to the parsing result, and extract symbols, keywords, formulas, and variables in the obtained policy configuration content. The complex logical processing type represents a policy type that cannot be processed by ordinary logic processing and policy table blood processing;

[0091] Associate the extracted symbols, keywords, formulas, and variables with a pre-constructed local policy database and store them as execution statement information;

[0092] Determine the execution program according to the execution statement information.

[0093] The device locally samples analog quantities and digital quantities. The analog quantities obtain sampling information through the CT / PT transformation ratio, and the digital quantity sampling obtains sampling information through the digital signals of the merging unit. The local output completes operations such as line disconnection and line splitting by outputting external signals through relays. The remote channel sampling mainly obtains line status, line connection and disconnection, and line power. The remote channel output is mainly the information of generator tripping and load shedding commands.

[0094] Ordinary logics mainly include overload, low frequency, low voltage, over frequency, over voltage, etc. Each logic has a corresponding structure diagram similar to the PLC logic block diagram. Here, the implementation process of the adaptive module of the low frequency logic is exemplified.

[0095] The description method of the strategy by the stability control system generally uses a strategy table for description, which is a typical strategy table of the stability control system. In the offline strategy table, power flow calculation and control measures are associated with the external interfaces of the device. Therefore, the strategy table adaptive module only considers the changes in the operation mode and line faults, and the offline strategy table is stored in a tree structure.

[0096] User-defined strategies are a feature of the customization of the security and stability control device. Because some strategies cannot be represented by ordinary logic and strategy table methods, but are described by a piece of text to explain their meanings, especially when describing the inter-station communication content in a large-scale security and stability control system.

[0097] Such as Figure 3 As shown, the PLC logic processing middle layer parses the policy configuration file, and the configuration file contains information such as symbols, keywords, formulas, and variables describing the policy. These information are parsed into content that the policy function executor can execute through the corresponding API functions, and finally combined with the input and output of the device to complete the security and stability control function.

[0098] The low-frequency function uses two sections of busbars as discriminant elements. If both sections of busbars are normal, it is considered that the system has a low frequency only when low frequency occurs simultaneously in both sections of busbars; if one of the sections of busbars is abnormal (voltage disappears or frequency is abnormal), the normal section of busbar is used for low-frequency judgment; if both sections of busbars are abnormal (voltage disappears or frequency is abnormal), the low-frequency function is blocked. Figure 4 It is a low-frequency logic diagram with two basic rounds. The upper right part of the diagram U <= K2 * Un, Δf> = 0.2Hz, -df / dt> = d(f / t)b1, f < 35Hz || f > 65Hz) is an anti-misoperation condition. When any one of these conditions occurs, the low-frequency logic is blocked. The following pseudocode can be obtained through the PLC conversion method, where Tflqs, Tfls1, and Tfls2 are the set delay values for each round.

[0099]

[0100] The meaning of the code is as follows:

[0101] Meet the anti-misoperation conditions: voltage U is less than the rated voltage * coefficient K2, frequency Δf is less than 0.2Hz, -df / dt> = d(f / t)b1, frequency is greater than 35Hz and less than 65Hz.

[0102] When the frequency is less than or equal to Flqs and the delay is greater than or equal to Tflqs, the low-frequency function is started;

[0103] When the frequency is less than or equal to Fls1 and the delay is greater than or equal to Tfls1, the first round of the low-frequency function operates;

[0104] When the frequency is less than or equal to Fls2 and the delay is greater than or equal to Tfls2, the second round of the low-frequency function operates.

[0105] In summary, the PLC logic block diagram can adapt to the logic in various different situations. The left side is the input of the logic block diagram, the right side is the output of the logic block diagram, and the logical function is built through AND, OR, and NOT symbols in the middle. Then, it is converted into a program segment through a tool for the compilation software to generate the target program, and is downloaded online to the device for operation. The entire process only needs to modify the PLC logic block diagram to meet the requirements of ordinary logic adaptation.

[0106] The structure tree of Table 1 is as Figure 5 shown. The content of the online issued policy is also of the same structure. The offline policy table adaptive module based on PLC first stores the offline policy table in the device in a tree structure. When the offline policy table changes, the online system issues the updated content of the offline policy table tree structure. The PLC logic processing module compares whether the offline policy table inside the device is the same as the issued policy table tree structure. If they are not the same, the original offline policy table is updated according to the tree structure interpolation method, as Figure 5The content in the dotted line adds two strategies, m2-e3-f5-p5-c6 and m2-e4-f2-p6-c6, under the operation mode m2. Among them, m2-e3-f5-p5-c6 adds the fault f5.

[0107] Table 1 Offline Strategy Table of Security and Stability Control

[0108]

[0109] During the update process, the device operates according to the original offline strategy table. After the offline update is completed, the device strategy will switch to the updated offline strategy table.

[0110] The following example demonstrates the workflow of two security and stability control devices A and B. Device A collects generator set information and transmits the power information to B. B samples the interface power flow of the line from CT / PT. If there is an overload in the interface power flow and the generator information sent by A is greater than 0, a generator cutting command is sent to A, as Figure 6 shown.

[0111] Pseudo-code implemented by the device

[0112] if(sum(P B )>overload_setting&&sum(G A )>0)

[0113] cutoff(G A );

[0114] The meaning of the code is as follows:

[0115] When the sum of the power calculated by B is greater than the overload setting value overload_setting and the unit power sent by A is greater than 0, a unit cutting command is sent to A.

[0116] Internal implementation analysis of the stable control strategy API layer

[0117] "if(sum(P B )>overload_setting&&sum(G A )>0)cutoff(G A );" This strategy configuration statement (first import or real-time online update configuration) is parsed as follows

[0118] Extract symbols: (,),>,&&;

[0119] Extract keywords: if

[0120] Extract variable functions: sum,cutoff

[0121] Overload setting value: PB ,overload_setting,G A

[0122] The program associates the extracted content with the device body information (policy database) and stores it as execution statement information;

[0123] The program runs normally, scans the execution statements, and calls the if processing API, comparison API, custom function API, etc.; the program interprets and executes the statements while completing the logical functions.

[0124] Correspondingly, the present invention further provides an adaptive emergency safety and stability control strategy control system, including:

[0125] An acquisition module, configured to acquire scheduling data from a scheduling data network and acquire analog quantity data and digital quantity data from the device local;

[0126] A processing module, configured to use a pre-constructed PLC policy interpreter and actuator to parse the scheduling data, obtain a logical processing type and policy configuration content, and determine a corresponding execution program according to the logical processing type and policy configuration content; the logical processing type includes a general logical processing type, a policy table query processing type, and a complex logical processing type;

[0127] A control module, configured to perform safety and stability control according to the analog quantity data, digital quantity data, and the corresponding execution program.

[0128] Further, the logical processing type includes:

[0129] Data type 0, representing the general logical processing type;

[0130] Data type 1, representing the policy table query processing type;

[0131] Data type 2, representing the complex logical processing type.

[0132] Further, the processing module includes a construction module,

[0133] configured to construct a PLC policy interpreter and actuator with a three-layer structure, where the bottom layer is an embedded operating system, the middle layer is a PLC logic processing module, and the top layer is various application programs developed based on the platform;

[0134] The embedded operating system is configured to provide a hardware bottom layer driver and interface, and a system-level program interface for the PLC logic processing module;

[0135] The PLC logic processing module is configured to call system functions and control the input and output of the system;

[0136] The application is used to call the application-level program interface and customized application modules provided by the PLC logic processing module.

[0137] Further, the processing module includes:

[0138] An ordinary logic processing module is used to determine the ordinary logic processing type according to the parsed logic processing type, determine the corresponding logic diagram according to the parsed policy configuration content, and the ordinary logic processing type represents the type of the logic structure diagram with the corresponding PLC logic block diagram; parse the logic diagram, use the PLC to convert the parsed data into target code; compile the target program according to the target code to obtain an execution program; complete the safe and stable control according to the execution program.

[0139] Further, the processing module includes:

[0140] A policy table query processing module is used to determine the policy table query processing type according to the parsed logic processing type, and determine the policy configuration update content according to the parsed policy configuration content; compare the policy configuration update content with the offline policy table stored in a tree structure in advance; if they are consistent, determine the safe and stable control measures according to the offline policy table, and then determine the execution program according to the safe and stable control measures; if they are inconsistent, update the offline policy table by using the method of updating the interpolation nodes of the policy tree, determine the safe and stable control measures by using the updated offline policy table, and then determine the execution program according to the safe and stable control measures.

[0141] Further, the processing module includes:

[0142] A complex logic processing module is used to determine the complex logic processing type according to the parsed logic processing type, extract symbols, keywords, formulas and variables from the parsed policy configuration content, and the complex logic processing type represents the policy type that cannot be processed by ordinary logic processing and policy table query processing; associate the extracted symbols, keywords, formulas and variables with the pre-constructed local policy database and store them as execution statement information; determine the execution program according to the execution statement information.

[0143] The present invention also provides a computer-readable storage medium storing one or more programs, and the one or more programs include instructions that, when executed by a computing device, cause the computing device to execute any one of the methods in the above methods.

[0144] The present invention also provides a computing device, including,

[0145] One or more processors, a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing any of the methods described above. 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 a completely hardware embodiment, a completely 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 memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.

[0146] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for realizing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0147] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that realizes the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0148] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for realizing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0149] The above description is only the preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the technical principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.

Claims

1. An adaptive emergency safety and stability control strategy control method, characterized in that, Including: Obtaining dispatching data from the dispatching data network, and obtaining analog quantity data and digital quantity data from the local device; Using a pre-constructed PLC policy interpreter and actuator to parse the dispatching data to obtain the logical processing type and policy configuration content, and determining the corresponding execution program according to the logical processing type and policy configuration content; the logical processing type includes a general logical processing type, a policy table query processing type, and a complex logical processing type; The general logical processing type represents the type of logical structure diagram with a corresponding PLC logic block diagram, the policy table query processing type represents the type described by a policy table, and the complex logical processing type represents the policy type that cannot be processed by general logical processing and policy table query processing; Performing secure and stable control according to the analog quantity data, digital quantity data, and the corresponding execution program.

2. The control method of the adaptive emergency safety and stability control strategy according to claim 1, characterized in that The logical processing type includes: Data type 0, representing the general logical processing type; Data type 1, representing the policy table query processing type; Data type 2, representing the complex logical processing type.

3. The adaptive emergency safety and stability control strategy control method according to claim 1, characterized in that The PLC policy interpreter and actuator adopt a three-layer structure, with an embedded operating system at the bottom layer, a PLC logic processing module in the middle layer, and various application programs developed based on the platform at the top layer; The embedded operating system is used to provide hardware low-level drivers and interfaces, and system-level program interfaces for the PLC logic processing module; The PLC logic processing module is used to call system functions and control the input and output of the system; The application program is used to call the application-level program interfaces and customized application modules provided by the PLC logic processing module.

4. The adaptive emergency safety and stability control strategy control method according to claim 2, characterized in that The parsing of the dispatching data to obtain the logical processing type and policy configuration content, and determining the corresponding execution program according to the logical processing type and policy configuration content includes: Determining that the logical processing type obtained by parsing is the general logical processing type, and determining the corresponding logic diagram according to the policy configuration content obtained by parsing; Parsing the logic diagram, and using the PLC to convert the parsed data into object code; Compiling the target program according to the object code to obtain the execution program; Completing secure and stable control according to the execution program.

5. The control method of the adaptive emergency safety and stability control strategy according to claim 4, characterized in that, The parsing of the dispatching data to obtain the logical processing type and policy configuration content, and determining the corresponding execution program according to the logical processing type and policy configuration content includes: Determining that the logical processing type obtained by parsing is the policy table query processing type, and determining the policy configuration update content according to the policy configuration content obtained by parsing; Comparing the policy configuration update content with the offline policy table stored in a tree structure in advance; If they are consistent, determining the secure and stable control measures according to the offline policy table, and then determining the execution program according to the secure and stable control measures; If they are inconsistent, updating the offline policy table by using the method of updating the interpolation nodes of the policy tree, determining the secure and stable control measures by using the updated offline policy table, and then determining the execution program according to the secure and stable control measures.

6. The adaptive emergency safety and stability control strategy control method according to claim 5, wherein The parsing of the dispatching data to obtain the logical processing type and policy configuration content, and determining the corresponding execution program according to the logical processing type and policy configuration content includes: Determine it as a complex logic processing type according to the logic processing type obtained by parsing, and extract symbols, keywords, formulas, and variables in the policy configuration content obtained by parsing; Associate with the pre-constructed local policy database according to the extracted symbols, keywords, formulas, and variables, and store them as execution statement information; Determine the execution program according to the execution statement information.

7. An adaptive emergency safety and stability control strategy control system, characterized in that, Including: An acquisition module, configured to acquire scheduling data from a scheduling data network, and acquire analog data and digital data from the local device; A processing module, configured to use a pre-constructed PLC policy interpreter and actuator to parse the scheduling data, obtain a logic processing type and policy configuration content, and determine a corresponding execution program according to the logic processing type and policy configuration content; the logic processing type includes a general logic processing type, a policy table query processing type, and a complex logic processing type; The general logic processing type represents a type of logical structure diagram with a corresponding PLC logic block diagram, the policy table query processing type represents a type described by a policy table, and the complex logic processing type represents a policy type that cannot be processed by general logic processing and policy table query processing; A control module, configured to perform secure and stable control according to the analog data, digital data, and the corresponding execution program.

8. The adaptive emergency safety and stability control strategy control system according to claim 7, characterized in that, The logic processing type includes: Data type 0, representing the general logic processing type; Data type 1, representing the policy table query processing type; Data type 2, representing the complex logic processing type.

9. The adaptive emergency safety and stability control strategy control system according to claim 7, wherein The processing module includes a construction module, configured to construct a PLC policy interpreter and actuator with a three-layer structure, the bottom layer is an embedded operating system, the middle layer is a PLC logic processing module, and the top layer is various application programs developed based on the platform; The embedded operating system is configured to provide a hardware bottom layer driver and interface, and a system-level program interface for the PLC logic processing module; The PLC logic processing module is configured to call system functions and control the input and output of the system; The application program is configured to call the application-level program interface and customized application modules provided by the PLC logic processing module.

10. The adaptive emergency safety and stability control strategy control system according to claim 7, characterized in that, The processing module includes: A general logic processing module, configured to determine it as a general logic processing type according to the logic processing type obtained by parsing, determine a corresponding logic diagram according to the policy configuration content obtained by parsing; parse the logic diagram, and use the PLC to convert the parsed data into object code; compile the target program according to the object code to obtain an execution program; complete secure and stable control according to the execution program.

11. The adaptive emergency safety and stability control strategy control system according to claim 10, characterized in that, The processing module includes: A policy table query processing module is used to determine the policy table query processing type according to the parsed logical processing type, and determine the policy configuration update content according to the parsed policy configuration content; compare the policy configuration update content with the offline policy table stored in a tree structure in advance; if they are consistent, determine the security and stability control measures according to the offline policy table, and then determine the execution program according to the security and stability control measures; if they are inconsistent, update the offline policy table by using the method of updating the interpolation nodes of the policy tree, determine the security and stability control measures by using the updated offline policy table, and then determine the execution program according to the security and stability control measures.

12. The adaptive emergency safety and stability control strategy control system according to claim 11, wherein The processing module includes: A complex logic processing module is used to determine the complex logic processing type according to the parsed logical processing type, extract symbols, keywords, formulas and variables in the parsed policy configuration content; associate the extracted symbols, keywords, formulas and variables with a pre-constructed local policy database, and store them as execution statement information; determine the execution program according to the execution statement information.

13. A computer-readable storage medium storing one or more programs, characterized in that, The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform any of the methods according to claims 1 to 6.

14. A computing device, characterized in that, including, One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing any of the methods according to claims 1 to 6.

Citation Information

Patent Citations

  • Modeling method of strategy table and strategy table searching match of stable control device

    CN102890735A

  • Power system safety control strategy simulation system and simulation method thereof

    CN105809309A