Function reconstruction method for safety and stability control system

By presetting global data and global states in the security and stability control device, model files and control files are generated, the problem of low development efficiency of security and stability control system is solved, functional reconstruction is realized, and development efficiency is improved.

CN120509038APending Publication Date: 2025-08-19XJ ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510584397.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

The development efficiency of existing security and stability control systems is low and cannot achieve standardized function development, resulting in large workloads of software development, many versions, and difficult management.

Method used

Preset the security and stability control function program, including global data and global state, generate model files and control files, and place them in the security and stability control device to realize functional reconstruction.

Benefits of technology

Through preset global data and global state, the amount of software customized development is reduced and the development efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120509038A_ABST
    Figure CN120509038A_ABST
Patent Text Reader

Abstract

The invention relates to a function reconstruction method for a safety and stability control system, and belongs to the technical field of safety and stability control of power systems. Global data and a global state related to a control strategy are preset in a security and stability control program corresponding to the security and stability control device, then model files of the global data and the global state are exported according to a specific project and the security and stability control program, and then a control file is generated based on the model files. And finally, putting the control file and a main program file generated according to the security and stability control program into a corresponding security and stability control device so as to realize functional reconstruction of a specific project. According to the specific project and the program preset in advance, the corresponding content is preset for the safety and stability control device in advance, so that the software customization development amount is effectively reduced, and the overall development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a function reconstruction method of a safe and stable control system, belonging to the technical field of safe and stable control of power systems. Background Art

[0002] Safety and stability control devices are installed within power plants or substations to ensure the stability of power systems during major disturbances. They implement functions such as generator and load shedding, rapid output reduction, and emergency DC power ramp-up or ramp-down. They are a crucial second line of defense for maintaining safe and stable power system operation. A safety and stability control system consists of two or more power plant and substation safety and stability control devices connected via communication equipment, enabling safe and stable control of regional or even larger power systems.

[0003] In the context of new power systems, grid stability issues are becoming more prominent. AC and DC power grid safety and stability control systems are clearly trending towards wider coverage and greater complexity. Control modes have essentially shifted from a "decentralized, independent" approach to a "global, coordinated" approach, resulting in diverse stability patterns and complex structures. The coordinated implementation of safety and stability control devices across multiple power plants and stations will enable stable control of power systems over a wider range, placing higher demands on the reliability, rapidity, intelligence, ease of configuration, and ease of operation and maintenance of safety and stability control systems.

[0004] Due to the varying realities of power grids at all levels, the functional requirements for safety and stability control vary significantly. Differences in grid architecture and functional requirements result in variations in the information collected and communicated between each stability control station. This makes it impossible to develop safety and stability control devices with standardized functions. Instead, they are customized for each project. This large number of projects results in a heavy software development workload, multiple fixed-value software versions, increased management difficulties, and time-consuming and labor-intensive testing. Summary of the Invention

[0005] The purpose of the present invention is to provide a method for reconstructing the functions of a safety and stability control system, so as to solve the problem of low development efficiency of the safety and stability control system.

[0006] To achieve the above object, the solution of the present invention includes:

[0007] A method for reconstructing the function of a safe and stable control system of the present invention includes the following steps: 1) presetting a safe and stable control function program, the safe and stable control function program including global data and global status related to the control strategy, the global data including the active power of the section calculation module, the cuttable amount of the cut-off object module, the fault type of the fault judgment module, the total cuttable amount of the site, the section power, the operation mode, the current operation mode and the total required cuttable amount of the site, and the global status including the start-up and stop status of the operation mode judgment module; 2) exporting a model file including the global data and the global status according to specific project information; 3) generating a control file containing the control strategy according to the strategy table information and model file of the specific project; 4) placing the control file and the main program file generated according to the safe and stable control function program into a safe and stable device to realize the functional reconstruction of the safe and stable system.

[0008] Furthermore, the preset of the safety and stability control function program also includes the preset switching logic of the current operating mode. The preset switching logic is: receiving the first number corresponding to the operating mode to be adopted as determined by the control strategy, and when the first number is different from the second number corresponding to the current operating mode, switching the current operating mode to the operating mode corresponding to the first number.

[0009] Furthermore, the preset switching logic also includes sending an alarm signal when the received number of the operating mode to be adopted cannot be identified or there are two or more numbers of operating modes.

[0010] Furthermore, when the first number is different from the second number corresponding to the current operation mode, the current operation mode is switched to the operation mode corresponding to the first number after a set delay time.

[0011] Furthermore, the safety and stability control function program also has preset generator cutting measure analysis modules, load shedding measure analysis modules, DC boost measure analysis modules, DC return reduction measure analysis modules and DC blocking measure analysis modules according to the corresponding control objects.

[0012] Furthermore, the preset of the safety and stability control function program also includes channel communication logic, which includes channel configuration process, channel data deframing processing logic, channel data framing processing logic, received command parsing logic, received remote command measure execution logic and dual-set mutual verification logic.

[0013] Furthermore, the safety and stability control function program also presets an overload control strategy for each electrical component.

[0014] Furthermore, the channel passage is configured according to the channel information and model file of the specific project to generate a channel configuration file, and in step 4), the channel configuration file is also placed in the safety and stability control device.

[0015] Furthermore, a fixed value storage file is generated based on the fixed value data of the specific project, and in step 4), the fixed value storage file is also placed in the safety and stability control device.

[0016] Furthermore, the safety and stability control function program also presets a fault recovery reference power, which is used to perform safety and stability control after a power grid fault occurs. The fault recovery reference power is the power corresponding to a set time before the power grid fault; the set time is at the millisecond level.

[0017] The beneficial effects of the present invention are as follows: the present invention is a pioneering invention. The present invention presets global data and global status in the safety and stability control program corresponding to the safety and stability control device. These data and status provide the basis for the control strategy. Then, a model file of the global data and global status is derived based on the specific project and the safety and stability control program. A control file is then generated based on the model file. Finally, the control file and the main program file generated based on the safety and stability control program are placed into the corresponding safety and stability control device to achieve functional reconstruction of the specific project. The present invention presets corresponding content for the safety and stability control device based on the specific project and the pre-set program, thereby effectively reducing the amount of customized software development and improving overall development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of the overall system architecture of the present invention;

[0019] Figure 2 This is a current operation mode discrimination logic diagram of the present invention;

[0020] Figure 3 This is a schematic diagram of the analytical process of a cutting measure of the present invention;

[0021] Figure 4 This is a schematic diagram of a flow chart for realizing an overload function of the present invention;

[0022] Figure 5 It is a schematic diagram of the functional reconstruction implementation architecture of a safety and stability control device of the present invention. DETAILED DESCRIPTION

[0023] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings and implementation methods.

[0024] The concept of the present invention is that the present invention presets corresponding data and processing logic according to the control strategy, and then cooperates with the configured corresponding control strategy to achieve the reconstruction of the function of the safety and stability control device.

[0025] Method implementation method:

[0026] This embodiment provides a method for reconfiguring the function of a safety and stability control system. Figure 1 As shown in the figure, the functions of the safety and stability control device are divided into two parts: the "preset safety and stability control function program" and the "control strategy configuration logic." The preset safety and stability control function program refers to global data and global status information related to the preset strategy. The preset safety and stability control function program also includes logic related to communication between the master and slave devices and between stations, measure analysis and export logic, and other logic such as abnormality identification. The control strategy configuration logic mainly involves the configuration of operation mode discrimination logic, cross-sectional power calculation logic, control strategy search logic, and control measure configuration. The strategy table configuration tool implements control strategy configuration, and the channel configuration tool implements channel communication configuration. The preset safety and stability control function program and the control strategy configuration logic work together to realize the functional reconstruction of the safety and stability control device.

[0027] The preset safety and stability control function program includes information such as global data and global status related to the preset strategy, logic related to communication between the preset safety and stability control master and slave devices and between stations, measure analysis and exit logic, and other logic such as abnormality identification. The control strategy configuration logic primarily involves the configuration of operation mode identification logic, section power calculation logic, control strategy search logic, and control measure configuration.

[0028] The preset safety and stability control function program mainly includes device model preset, control measure analysis and export, overload strategy function and channel communication configuration.

[0029] The device model preset includes global data, global status, and fixed value information related to the preset control strategy:

[0030] The preset global data includes: active power from section calculation modules 1-n, available capacity from cut-off modules 1-i, fault types 1-j from fault identification modules, total available capacity from stations 1-m, power from sections 1-p, operating modes 1-q, current operating mode, and total required capacity from stations 1-m. n, i, j, m, p, q, and m are integers greater than or equal to 1.

[0031] The preset global states include: 1~x start-stop states of the operation mode discrimination module, 1~y states of the special operation mode pressure plate, etc., where x and y are integers greater than or equal to 1.

[0032] The preset values include: the priorities of the cutting object elements 1 to i, and the priorities of the sites 1 to m, where i and m are integers greater than or equal to 1.

[0033] Device startup function preset:

[0034] Start condition 1 is that the device is triggered to start by the slave. The host receives the total start status sent by the slave and the "OR" logic triggers the device to start.

[0035] Startup condition 2 is triggered by component failure, and the fault type or logic trigger device is started according to the fault judgment module 1~j.

[0036] Start condition 3 is the remote control command start, and the 0x9900 control command message is triggered after three frames are confirmed.

[0037] Current operation mode and operation mode abnormality judgment function preset:

[0038] The pre-set program needs to implement the "current operating mode" switching logic based on the global data of operating modes 1 to q determined by the "control strategy configuration logic." If the operating mode is abnormal, an alarm is issued and the device is locked. Therefore, the pre-set switching logic and abnormality alarm are also included.

[0039] The current operation mode switching and abnormality judgment principles are as follows: Figure 2 As shown:

[0040] (1) The device pre-sets the global data corresponding to each operating mode, and uses the judgment result of the "control strategy configuration logic" to switch the current operating mode and judge the abnormality of the operating mode.

[0041] (2) When the device is started, the operating mode is no longer judged. After a control strategy execution cycle is completed, the system operating mode is updated according to the new grid conditions.

[0042] (3) After the operating mode changes, the device switches to the new operating mode after a delay of 5 seconds.

[0043] (4) If the current operating mode cannot be identified or two or more operating modes are identified, an alarm will be issued and the device will be locked.

[0044] The logic for any operating mode change is that the global data of any operating mode among operating modes 1 to q changes, that is, the number corresponding to the operating mode to be adopted sent by the "control strategy configuration logic" is different from the number corresponding to the operating mode currently used by the device; only one operating mode is determined, and if only one operating mode number is greater than 0, it is determined that only one operating mode is determined.

[0045] Analysis of control measures and export function presets:

[0046] According to the classification of control objects, the “machine cutting measures analysis module”, “load cutting measures analysis module”, “DC boost measures analysis module”, “DC back-down measures analysis module” and “DC blocking measures analysis module” are preset.

[0047] The "Preset Safety and Stability Control Functional Program" arranges all control objects uniformly. The specific control object for a given control measure is determined by the "Control Object Masks 1-4" in the program configuration. When the "Control Strategy Configuration Logic" module finds a control measure to be executed, it transmits the control measure ID number, the number of measure types, and the elements corresponding to measure types 1-4 to the "Preset Safety and Stability Control Functional Program." The measure element model is shown in Table 1. The "Preset Safety and Stability Control Functional Program" receives the measure information, and each measure parsing module performs parsing. The "measure type" determines whether the module will parse the measure.

[0048] Table 1 Measure element model

[0049]

[0050]

[0051] After analyzing the measure, the measure parsing module outputs a control command and control value based on the control object mask. The control commands and control value output by all measure parsing modules are logically ORed to form the final control command code and control value. Commands are issued through channel communication configuration. A control command framing mask is set for each channel. Combined with the current control command, it is determined whether a command needs to be issued on that channel. This serves as the basis for determining the frame type (0x5500 normal frame or 0x9900 command frame) for the station.

[0052] Take the “machine-cutting measures analysis module” and “load-cutting measures analysis module” as examples to illustrate the execution process. Figure 3As shown in the figure, the "Power Cutoff Measure Parsing Module" inputs include preset cutoff data for all control objects, preset priority values for all control objects, preset hierarchical values for all control objects, sites 1-m and the control object mask they contain, and the control measure elements transmitted by the "Control Strategy Configuration Logic Module." Its output includes the control measure ID, the control command codes for all control objects, and the required cutoff data for all control objects. The power cutoff module's preset functions primarily include the following: ① Directly cut off electrical components. Within the "Control Object Mask" range of the control measure element, directly cut off electrical components with non-zero cutoff values. ② Sort electrical components by power, with higher values given priority. If the adjustment type is a required cutoff type, units are selected and cutoff in descending order of power within the "Control Object Mask" range according to the adjustment type, based on the action execution principle (over-cutting or under-cutting) until the adjustment amount is met. If the adjustment type is a retained type, the "required cutoff" is calculated by subtracting the "adjustment amount" from the sum of the available cutoffs for all control objects in the action, and the required cutoff is processed accordingly. If the adjustment type is the number of components to be cutoff / retained, units are selected and cutoff in descending order of power within the "Control Object Mask" range until the required cutoff / retained number is met. ③ Priority setting. The adjustment type processing method is the same as power size. ④ Proportional allocation: Only the required cutoff is allocated to each site. The allocation principle is: if the available cutoff capacity at site m is Pm, the total available cutoff capacity in the control object range is ΣP, and the required cutoff capacity is Pxq, then the required cutoff capacity at site m is (Pm / ΣP)*Pxq. ⑤ Cutoff by level (group). The adjustment amount type is fixed to the type of level that needs to be cut. According to the set value of the level (virtual machine group) to which the control object belongs, within the object selected by the "Control Object Mask", the object with the level set value equal to the adjustment amount in the measure element is cut off.

[0053] The "Load Shedding Measure Parsing Module" inputs include preset shedding data for all controlled objects, preset priority values for all controlled objects, preset hierarchical values for all controlled objects, a site mask for the controlled objects, and control measure elements transmitted by the "Control Strategy Configuration Logic Module." Its output includes the control measure ID, control command codes for all controlled objects, and required shedding data for all controlled objects. The load shedding module's preset functions primarily include the following: ① Directly shedding electrical components. ② Sorting by power level, with higher values prioritized. ③ Priority value. ④ Proportional allocation. ⑤ Shedding by hierarchy (group). ⑥ Combining load rounds with plant and station priorities. The "Control Object Mask for Sites 1-m" and the "Control Object Mask" in the measure element provide information on which sites participate in the measure allocation and the components involved at each site. The priority of the participating sites is obtained from the "Preset Priority Value for All Control Objects." The measure logic is similar to that of existing precise load hosts, starting with a round of selections for each site until the required shedding is met.

[0054] Overload strategy function preset:

[0055] The preset program needs to pre-design the overload logic of r (r is an integer greater than or equal to 1) electrical components. Each electrical component requires preset logic, and the overload strategy analysis module needs to be dragged out r times in the program, that is, an overload strategy analysis module is set for each electrical component.

[0056] The input and output of the overload module are shown in Table 2. The implementation process is as follows: Figure 4 The overload measure parsing module compares the "measure ID to be parsed" with the measure ID in the measure element output by the strategy table search module. If the two are consistent, the measure is executed according to the three rounds of overload action status and the measure element. For one round of action, the strategy is executed normally, and the required amount is the "adjustment amount 1" P1 in the measure element at this time. The control object command state and required amount data are output, and the required amount Pm1 of the first round when the strategy is executed is memorized and output. For two rounds of overload action, the strategy is executed, and the required amount is (the "overload 2 round adjustment amount" P2 + Pm1 in the measure element at this time). The control object command state and required amount data are output, and the required amount Pm2 of the second round when the strategy is executed is memorized and output. For three rounds of overload action, the strategy is executed, and the required amount is (the "overload 3 round adjustment amount" P3 + Pm1 + Pm2 in the measure element at this time). The control object command state and required amount data are output, and the required amount Pm3 of the third round when the strategy is executed is memorized and output. After the device starts and returns, the memory data is cleared to 0 and the output data is cleared to 0.

[0057] Table 2 Overload module input and output

[0058] Serial number enter Output 1 Need to parse the execution measure id (virtual value) Control Measure ID 2 Preset the cuttable data of all controlled objects Amount of cutting required for 1 round 3 Preset priority data for all control objects 2 rounds of cutting required 4 Device startup 3 rounds of cutting required 5 Overload 1 round of action Control command codes for all control objects 6 Overload 2 rounds of action Required cutting data of all controlled objects 7 Overload 3 rounds of action 8 Control measure elements transferred by the "Policy Table Configuration Logic" module

[0059] Channel communication logic preset refers to the communication logic configuration related to the communication between stations of the safety and stability control system and the communication between the master and slave devices of the safety and stability control system, including the channel configuration process, channel data de-framing processing logic, channel data framing processing logic, received command parsing logic, received remote command execution logic, and dual-set mutual verification logic:

[0060] Preset t channel communications (t is an integer greater than or equal to 1), t channel communication related constants, bit error rate, number of received frames, frame loss statistics, high bit error rate judgment, communication interruption judgment, receiving address error, channel pressure plate inconsistency judgment, channel data validity judgment and other logic.

[0061] Channel configuration process: 1) Generate a model file using the preset safety and stability control function program; 2) Import the model file into the communication configuration tool; 3) Set channel communication-related parameters, channel framing content data, and status association; 3) Receive remote command communication configuration; 4) After configuration is complete, export the communication configuration file for program use.

[0062] Channel data deframing logic: The deframing module is responsible for parsing the received channel content into associated global data and global status. When a channel's "Receive Abnormal Clear Data Status Bit" (high bit error rate, communication interruption, receive address error, channel exit, or total function exit OR logic) is 1, all global data and global status associated with the channel are cleared. When a channel's "Receive Data Valid Status" is 0, the byte containing the data valid status is parsed normally, and all other global data and global status associated with the channel are cleared. When the "Receive Abnormal Clear Data Status Bit" is 0 and the "Receive Data Valid Status" is 1, deframing is normal.

[0063] Channel data framing and processing logic: The framing and transmission module is responsible for framing and transmitting the global data and global status associated with each channel. When a channel's "Transmit Data Valid Status" is 0, the byte containing the "Transmit Data Valid Status" is framed normally, and all other global data and global status associated with that channel are cleared. When a channel's "Transmit Data Valid Status" is 1, the framing and transmission proceed normally. Data valid status includes device failure, channel exit, total function exit, high channel bit error rate, and channel interruption OR logic. Frame types 0x55 or 0x99 are handled by the application logic.

[0064] Receiving command parsing logic: Use the configuration tool to configure the channel that needs to parse the control command, and provide the input and output of the three-frame confirmation function module to the program through the configuration file.

[0065] Receive remote command measures execution logic: Receive command processing measures from each upper-level site, configure them according to a control strategy, and parse them through the control measure search solution.

[0066] Dual sets of mutual calibration logic: Three sets of data are established for all control objects that can be cut, including this set of cut, another set of cut, and cut after interaction. The switching logic is preset and the larger value of the two sets is taken.

[0067] Preset m site communications, m channel communication related constants, bit error rate, number of received frames, number of lost frames statistics, high bit error rate judgment, communication interruption judgment, receiving address error, channel pressure plate inconsistency judgment, channel data validity judgment and other logic.

[0068] Memory logic preset for cuttable quantity and section power:

[0069] The data memory logic 200ms before startup writes the available power and cross-section power of each controlled object into the global data channel. The "Power Forward Stability Control" function module pushes data forward and locks the value 200ms before startup for power allocation during strategy execution. For example, if the grid fault occurs at t1, the power 200ms before t1 will be used as the reference power for safe and stable control.

[0070] Control strategy configuration logic:

[0071] Generate the main program .elf file (main program file) according to the preset safety and stability control function program; Figure 5 As shown below: Based on the specific project information, modify the description values of components and sites, assign specific meanings to sites, channels, data, and status, export the fixed value storage files, and export the global data and global status model files. Based on the specific project's strategy table information, use the strategy table configuration tool to import the model file and perform logic design on the "Strategy Table Configuration Logic" module. Once the design is complete, the tool generates a .dat file (control file). The customized storage file includes the fixed value data required for the specific project.

[0072] Device function realization:

[0073] Based on the specific project's channel information, use the channel configuration tool to import the model file and configure channel communication. Once the design is complete, the tool generates a channel configuration file. Place the main program .elf, constant value storage file, "strategy table configuration logic" .dat file, and channel configuration file into the safety and stability control device to implement the device's functions for the specific project. The channel configuration file refers to the configuration required to adapt to changes in the application protocol between stations in the safety and stability control system. For example, in the communication protocol between the master station and the execution station in Safety and Stability Control System 1, the fifth byte transmits the status, while in the communication protocol between the master station and the execution station in Safety and Stability Control System 2, the fifth byte transmits the analog value.

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

Claims

1. A method for functional reconstruction of a safety and stability control system, characterized in that: The method comprises the following steps: 1) presetting a safety and stability control function program, wherein the safety and stability control function program includes global data and global status related to the control strategy, wherein the global data includes active power of a section calculation module, cuttable capacity of a cut-off object module, fault type of a fault judgment module, total cuttable capacity of a site, section power, operation mode, current operation mode and total required cuttable capacity of a site, and the global status includes the start / stop status of the operation mode judgment module; 2) Based on the specific project information, a model file including global data and global status is exported; 3) A control file including a control strategy is generated based on the strategy table information of the specific project and the model file; 4) The control file and the main program file generated according to the safety and stability control function program are placed in a safety and stability device to realize the functional reconstruction of the safety and stability system.

2. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: The preset of the safety and stability control function program also includes the preset switching logic of the current operating mode. The preset switching logic is: receiving the first number corresponding to the operating mode to be adopted as determined by the control strategy, and when the first number is different from the second number corresponding to the current operating mode, the current operating mode is switched to the operating mode corresponding to the first number.

3. The method for functional reconstruction of a safety and stability control system according to claim 2, characterized in that: The preset switching logic also includes sending an alarm signal when the received number of the operating mode to be adopted cannot be identified or there are two or more numbers of operating modes.

4. The method for functional reconstruction of a safety and stability control system according to claim 2, characterized in that: When the first number is different from the second number corresponding to the current operation mode, the current operation mode is switched to the operation mode corresponding to the first number after a set delay time.

5. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: The safety and stability control function program also has a generator cutting measure analysis module, a load cutting measure analysis module, a DC boost measure analysis module, a DC return step-down measure analysis module and a DC blocking measure analysis module preset according to the corresponding control object.

6. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: The preset of the safety and stability control function program also includes channel communication logic, which includes channel configuration process, channel data deframing processing logic, channel data framing processing logic, received command parsing logic, received remote command measure execution logic and dual-set mutual verification logic.

7. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: The safety and stability control function program also presets an overload control strategy for each electrical component.

8. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: The channel passage is configured according to the channel information of the specific project and the model file to generate a channel configuration file. In the step 4), the channel configuration file is also placed in the safety and stability control device.

9. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: A fixed value storage file is also generated based on the fixed value data of the specific project, and in step 4), the fixed value storage file is also placed in the safety and stability control device.

10. The method for functional reconstruction of a safety and stability control system according to claim 1, characterized in that: The safety and stability control function program also presets a fault recovery reference power, which is used to perform safety and stability control after a power grid fault occurs. The fault recovery reference power is the power corresponding to a set time before the power grid fault; the set time is in milliseconds.