External disturbance problem consistency control method and control system for micro-grid fault recovery

By establishing a virtual leader-following consistency control model in the microgrid system and combining sliding mode control, the problem of difficult to achieve layered control in the microgrid system under external disturbances is solved, and the system's stability and efficient operation are achieved.

CN119787516APending Publication Date: 2025-04-08STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411714289.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

When microgrid systems face external disturbances, it is difficult to achieve effective layered control, resulting in the impact of grid stability and reliability.

Method used

A hierarchical control architecture based on microgrid system is adopted to establish a virtual leader-follow consistency control model, and combined with sliding mode control, by calculating the deviation of external disturbances to the control results, dynamically adjusting the control strategy to ensure that the system adopts sag control when the steady-state error is less than the triggering condition. Otherwise, sliding mode control is first used to suppress disturbances and then sag control is used.

Benefits of technology

It is realized that when external disturbances exist, the various nodes of the system can still maintain consistency, ensure the stability and efficient operation of the overall system, and improve the control effect of layered control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119787516A_ABST
    Figure CN119787516A_ABST
Patent Text Reader

Abstract

The invention provides an external disturbance problem consistency control method and control system for micro-grid fault recovery, and the method comprises the steps: building a virtual leader-following consistency control model based on a hierarchical control architecture of a micro-grid system; calculating the deviation caused by external disturbance to the control result of the consistency control model, and selecting the deviation value as a trigger condition; a sliding mode virtual leader-following consistency controller is provided, and if the steady-state error of the micro-grid system is smaller than the triggering condition, consistency control is completed by adopting real-time data output by droop control of each DER; otherwise, the sliding mode virtual leader-following consistency control mechanism is firstly adopted to suppress external disturbance, and then consistency control is completed by adopting real-time data output by droop control of each DER. According to the method, external disturbance in the system can be effectively handled, and accurate tracking of the system state can be realized under the condition that uncertainty and disturbance exist, so that the anti-interference capability of the system is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hierarchical control of microgrid distributed power sources, and in particular to a consistency control method and control system for external disturbance problems for microgrid fault recovery, as well as a corresponding computer terminal and a computer-readable storage medium. Background Art

[0002] In recent years, with the rapid development of the world economy and the significant improvement of people's living standards, the global demand for energy has risen sharply. This trend has put tremendous pressure on traditional energy supply methods, and there is an urgent need to seek new solutions. In this context, the introduction of distributed energy resources (DER) provides an effective way to solve the problems related to energy supply. DER can not only reduce the loss in the process of energy transmission and improve energy utilization efficiency, but also enhance the flexibility and reliability of the energy system. Therefore, it is regarded as an important supplement and effective support for large-scale power grids in the future. However, since distributed power sources are restricted by natural environmental conditions, such as the intermittent nature and instability of solar and wind energy, DER still has some defects in practical applications. These defects may affect the stability and reliability of the power grid. Therefore, DER needs to be effectively managed and controlled. To this end, the concept of microgrid came into being, aiming to integrate DER into the main power grid while weakening its negative impact on the power grid. At present, in microgrid systems, droop control is generally used to achieve plug-and-play of DER. However, under steady-state conditions, the system frequency and voltage often deviate from the reference value, and the ability to distribute reactive power is insufficient. This deviation not only affects the power quality, but may also lead to instability in the power system. Therefore, it is usually necessary to improve the droop control or introduce secondary control to form a hierarchical control structure to correct the frequency and voltage. In this way, the operating performance of the microgrid can be effectively improved, so that it can work better with the main grid and ensure the stability and efficiency of the power system.

[0003] At present, traditional secondary control adopts a centralized control structure based on a central controller, which requires collecting all the information of each DER and then sending control instructions to each DER. The communication network is complex and the communication volume is huge, which reduces the stability of the system. In recent years, distributed coordinated control strategies have been widely used in secondary control of microgrids. In distributed coordinated control, the controller of each DER only communicates with neighboring DERs, and no central controller is required, which improves the robustness of the system, but does not consider the communication problem of the network layer. In summary, there is still the problem of external disturbance in microgrid control technology, and hierarchical control cannot be effectively implemented.

[0004] At present, no description or report of similar technology to the present invention has been found, and similar information at home and abroad has not been collected yet. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides a consistency control method and control system for external disturbance problems for microgrid fault recovery, and also provides a corresponding computer terminal and computer-readable storage medium.

[0006] According to one aspect of the present invention, a consistency control method for external disturbance problem for microgrid fault recovery is provided, comprising:

[0007] Based on the hierarchical control architecture of the microgrid system, a virtual leader-follower consistency control model is established;

[0008] Calculating the deviation of the control result of the consistency control model caused by the external disturbance, and selecting the deviation as a trigger condition;

[0009] If the steady-state error of the microgrid system is less than the trigger condition, the real-time data output by each DER through droop control is used to complete the consistency control; otherwise, the sliding mode control is first used to suppress the external disturbance, and then the real-time data output by each DER through droop control is used to complete the consistency control.

[0010] Preferably, the hierarchical control architecture based on the microgrid system is used to establish a virtual leader-follower consistency control model, including:

[0011] Providing a hierarchical control architecture for a microgrid system;

[0012] Assume that in the communication network of the hierarchical control architecture, the i-th distributed power source is an external disturbance when transmitting information within a fixed period of time, the i-th distributed power source has N adjacent power sources for communication, the communication connection graph between the i-th distributed power source and the N adjacent power sources includes at least one directed spanning tree, and the virtual leader is set as a globally reachable point;

[0013] In the microgrid system, the voltage and frequency droop controllers of the i-th distributed generation are designed as follows:

[0014]

[0015] In the formula, ω i and U i are the output frequency and voltage of the distributed unit respectively; ω ref and U ref are the frequency reference value and the voltage reference value respectively; m i and n i is the droop coefficient, P i and Q iare the active power and reactive power of the distributed unit respectively;

[0016] According to the above droop controller design, the virtual leader-follower consistency control design corresponding to the i-th distributed generation is:

[0017]

[0018] In the formula, u i is the virtual leader-follower consistency control function, N i is the set of adjacent power sources of the i-th distributed power source; k xi1 and k xi2 is the undetermined gain factor; x i and x j represents the voltage or frequency of the i-th distributed power source and the j-th distributed power source; a ij is the connection relationship between the i-th distributed power source and the j-th distributed power source, b i is the connection relationship between the virtual leader and the follower. If there is a connection, then b i >0, otherwise b i =0;

[0019] The virtual leader-follower consensus protocol of the i-th distributed generation taking into account the external disturbance problem is:

[0020]

[0021] In the formula, α i , α j and α L are the disturbance rates of the i-th distributed generation, the j-th distributed unit and the virtual leader respectively; x L is the state quantity of the virtual leader;

[0022] Under the effect of formula (3), when k xi1 and k xi2 When certain conditions are met, the status of the follower and the virtual leader can always follow each other;

[0023] Assuming that the state equation of the microgrid system is a first-order equation, we have:

[0024]

[0025] in,

[0026]

[0027] Perform Laplace transform on equation (4):

[0028]

[0029] Where, u1 is the state quantity of the first distributed power source, u2 is the state quantity of the second distributed power source; X(s) is the state quantity after Laplace transformation; x1(t)| t=0 and x2(t)| t=0 are the initial values ​​of the output state quantities of the first distributed power source and the second distributed power source droop controller, respectively. The deviation between the output state quantity and the state quantity corresponding to the virtual leader is:

[0030]

[0031] At the same time, there are:

[0032]

[0033] When the gain coefficient meets the following conditions, the microgrid system can meet the consistency requirements:

[0034]

[0035] Where, c1=∫x1(t)dt| t=0 , c2=∫x2(t)dt| t=0 .

[0036] Preferably, the hierarchical control architecture includes: an information layer and a physical layer; wherein:

[0037] The information layer includes: a sliding mode control calculation part, an event trigger mechanism part and a communication network part;

[0038] The physical layer includes the following interconnected parts: a primary control link, a secondary control link, a power calculation link, a voltage synthesis link, a voltage and current double closed loop link and a PWM signal generator.

[0039] Preferably, calculating the deviation caused by the external disturbance to the control result of the consistency control model and selecting the deviation as a trigger condition includes:

[0040] The deviation of the control result of the consistency control model caused by the external disturbance refers to the degree to which the controlled quantity deviates from the expected value, wherein the controlled quantity is the frequency and voltage output by the distributed power supply droop control, and the expected value is the frequency reference value and the voltage reference value;

[0041] For the i-th distributed power source, the consistency protocol before and after external disturbance is:

[0042]

[0043] In the formula, is the consistency protocol function of the i-th distributed unit; k i1is the gain in the protocol, α ij is the connection relationship between the i-th distributed unit and the j-th distributed unit; x i (t) and x L (t) are the state variables of follower i and leader respectively; α i , α j and α L The disturbance rates of the ith distributed unit, the jth distributed unit and the virtual leader, respectively; Δx i (t) is external disturbance;

[0044] x′ i =x i (t)+Δx i (t) (12)

[0045] In the formula, x′ i is the differential value of the ith distributed unit, x i (t) is the state quantity of the i-th distributed unit;

[0046] The mathematical expression of the disturbance is:

[0047]

[0048] In the formula, is the differential component of the disturbance of the i-th distributed unit; is the differential of the i-th distributed unit; Δx i is the disturbance of the i-th distributed unit;

[0049] According to Laplace's final value theorem, we have

[0050]

[0051] In the formula, Δx i ′(t) is the differential of the external disturbance; ΔX i ′(s) is Δx i 'The Laplace transform of (t);

[0052] The result obtained from Laplace's final value theorem is used as the trigger condition.

[0053] Preferably, the method further comprises: establishing a control trigger mechanism based on the trigger condition; wherein:

[0054] For the i-th distributed generation, the critical value of the trigger condition is set to The control trigger mechanism is established as follows: when the steady-state error is within the allowable range, that is, the error is less than At this time, the real-time output data of the distributed power droop control is used to complete the consistency control; otherwise, the sliding mode control is first used to suppress the external disturbance, and then the real-time output data of the distributed power droop control is used to complete the consistency control.

[0055] Preferably, the sliding mode control is used to suppress external disturbances.

[0056] A sliding mode virtual leader-follower consistency controller is provided, comprising:

[0057] The designed sliding surface is:

[0058]

[0059] In the formula, is the dependent variable of the state space equation of the first distributed unit, Δx1′ is the independent variable of the state space equation of the first distributed unit, and are the control coefficients of the sliding surface respectively;

[0060] The sliding mode virtual leader-follower consistency controller R1 is designed as two terms, then R1=u1+u2, and:

[0061]

[0062] In the formula, u1 is the equivalent switching term, and u2 is the sliding mode control term; is the sliding mode controller function;

[0063] make And R1=u1, that is:

[0064]

[0065] In the formula, u1 is the solution of the equation, and the Lyapunov function is taken as Taking its derivative we get:

[0066]

[0067] Let R1=u1+u2. In order to make the function satisfy Lyapunov stability, we have:

[0068]

[0069] In the formula, is the switching gain in the protocol;

[0070] The conditions for triggering the sliding mode virtual leader-follower consistency controller are:

[0071] The event trigger device can be set by the following judgment: when the final deviation is within the allowable range, no sliding mode controller is designed; when the final deviation exceeds the allowable range, a sliding mode controller is added to the system to suppress disturbances, then:

[0072]

[0073] In the formula, is the sliding surface function of the i-th distributed unit.

[0074] According to another aspect of the present invention, there is provided a consistency control system for external disturbance problem for microgrid fault recovery, comprising:

[0075] A consistency control building module, which builds a virtual leader-follower consistency control model based on the hierarchical control architecture of the microgrid system;

[0076] A trigger condition establishment module, which is used to calculate the deviation caused by external disturbance to the control result of the consistency control model, and select the deviation as the trigger condition;

[0077] A hierarchical control module is used to complete consistency control by using the real-time data output by each DER through droop control when the steady-state error of the microgrid system is less than the trigger condition; otherwise, sliding mode control is first used to suppress external disturbances, and then the real-time data output by each DER through droop control is used to complete consistency control.

[0078] According to a third aspect of the present invention, there is provided a computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, can be used to execute any one of the methods described above in the present invention, or to run the system described above in the present invention.

[0079] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can be used to execute any of the methods described above in the present invention, or to run the system described above in the present invention.

[0080] Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:

[0081] The present invention provides a virtual leader-follower consistency control model, which enables each node of the system to maintain consistency when facing external disturbances, thereby ensuring the stability of the overall system.

[0082] The present invention utilizes the robustness of sliding mode control, combines sliding mode control with a virtual leader-follower consistency control model, and designs a sliding mode virtual leader-follower consistency controller, which can accurately track the system state in the presence of uncertainty and disturbance, thereby enhancing the system's anti-interference ability.

[0083] Based on the idea of ​​event triggering, the present invention combines sliding mode control with a virtual leader-follower consistency control model, and designs a sliding mode virtual leader-follower consistency controller, which can effectively cope with external disturbances in the system.

[0084] The consistency control method provided by the present invention can effectively solve the data disturbance problem faced in the hierarchical control of microgrid fault recovery, ensure the overall stability of the system, and greatly improve the control effect of the hierarchical control. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0086] Figure 1 The figure is a flowchart of a consistency control method for external disturbance problem in microgrid fault recovery according to an embodiment of the present invention.

[0087] Figure 2 Schematic diagram of the topological structure of a consistency controller with a leader and two followers in the information layer in a preferred embodiment of the present invention.

[0088] Figure 3 The figure is a schematic diagram of the components of a consistency control system for external disturbance problems for microgrid fault recovery in one embodiment of the present invention. DETAILED DESCRIPTION

[0089] The following is a detailed description of the embodiments of the present invention: This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

[0090] In view of the problem of external disturbance existing in the prior art, an embodiment of the present invention provides a consistency control method for external disturbance problem for microgrid fault recovery.

[0091] Specifically, Figure 1 As shown, the external disturbance problem consistency control method for microgrid fault recovery provided by this embodiment may further include the following operations:

[0092] S1, based on the hierarchical control architecture of the microgrid system, a virtual leader-follower consistency control model is established;

[0093] S2, calculate the deviation caused by external disturbance to the control result of the consistency control model, and select the deviation as the trigger condition;

[0094] S3, if the steady-state error of the microgrid system is less than the trigger condition, the real-time data output by each DER through droop control is used to complete the consistency control; otherwise, the sliding mode control is first used to suppress the external disturbance, and then the real-time data output by each DER through droop control is used to complete the consistency control.

[0095] In some preferred implementations, the above S1, based on the hierarchical control architecture of the microgrid system, establishes a virtual leader-follower consistency control model, and may further include the following operations:

[0096] Providing a hierarchical control architecture for a microgrid system;

[0097] In a communication network with a hierarchical control architecture, the i-th distributed power source is an external disturbance when transmitting information within a fixed period of time. The i-th distributed power source has N adjacent power sources for communication. The communication connection graph between the i-th distributed power source and the N adjacent power sources contains at least one directed spanning tree, and the virtual leader is set as a globally reachable point.

[0098] In the microgrid system, the voltage and frequency droop controllers of the i-th distributed generation are designed as follows:

[0099]

[0100] In the formula, ω i and U i are the output frequency and voltage of the distributed unit respectively; ω ref and U ref are the frequency reference value and the voltage reference value respectively; m i and n i is the droop coefficient, P i and Q i are the active power and reactive power of the distributed unit respectively;

[0101] According to the above droop controller design, the virtual leader-follower consistency control design corresponding to the i-th distributed generation is:

[0102]

[0103] In the formula, u i is the virtual leader-follower consistency control function, N i is the set of adjacent power sources of the i-th distributed power source; k xi1and k xi2 is the undetermined gain factor; x i and x j represents the voltage or frequency of the i-th distributed power source and the j-th distributed power source; a ij is the connection relationship between the i-th distributed power source and the j-th distributed power source, b i is the connection relationship between the virtual leader and the follower. If there is a connection, then b i >0, otherwise b i =0;

[0104] The virtual leader-follower consensus protocol of the i-th distributed generation taking into account the external disturbance problem is:

[0105]

[0106] In the formula, α i , α j and α L are the disturbance rates of the i-th distributed generation, the j-th distributed unit and the virtual leader respectively; x L is the state quantity of the virtual leader;

[0107] Under the effect of formula (3), when k xi1 and k xi2 When certain conditions are met, the status of the follower and the virtual leader can always follow each other;

[0108] Assuming that the state equation of the microgrid system is a first-order equation, we have:

[0109]

[0110] in,

[0111]

[0112] Perform Laplace transform on equation (4):

[0113]

[0114] Where, u1 is the state quantity of the first distributed power source, u2 is the state quantity of the second distributed power source; X(s) is the state quantity after Laplace transformation; x1(t)| t=0 and x2(t)| t=0 are the initial values ​​of the output state quantities of the first distributed power source and the second distributed power source droop controller, respectively. The deviation between the output state quantity and the state quantity corresponding to the virtual leader is:

[0115]

[0116] At the same time, there are:

[0117]

[0118] When the gain coefficient meets the following conditions, the microgrid system can meet the consistency requirements:

[0119]

[0120] Where, c1=∫x1(t)dt| t=0 , c2=∫x2(t)dt| t=0 .

[0121] In some preferred implementations, the above-mentioned hierarchical control architecture may further include: an information layer and a physical layer; wherein:

[0122] The information layer includes: sliding mode control calculation part, event trigger mechanism part and communication network part; Figure 2 As shown in Figure 1, the consistency controller topology of a leader and two followers in the information layer, the followers are composed of inverters and filters, connected to the virtual leader through actual lines. The solid lines represent physical connections, and the dotted lines represent information connections.

[0123] The physical layer includes the interconnected: primary control link, secondary control link, power calculation link, voltage synthesis link, voltage and current dual closed-loop link and PWM signal generator, wherein the connection method between each part can adopt the existing technology and will not be repeated here.

[0124] In some preferred implementations, the above S2, calculating the deviation caused by the external disturbance to the control result of the consistency control model, and selecting the deviation as the trigger condition, may further include the following operations:

[0125] The deviation of the control result of the consistency control model caused by the external disturbance refers to the degree to which the controlled quantity deviates from the expected value, where the controlled quantity is the frequency and voltage output by the distributed power supply droop control, and the expected value is the frequency reference value and the voltage reference value;

[0126] For the i-th distributed power source, the consistency protocol before and after external disturbance is:

[0127]

[0128] In the formula, is the consistency protocol function of the i-th distributed unit; k i1 is the gain in the protocol, α ij is the connection relationship between the i-th distributed unit and the j-th distributed unit; x1(t) and x L (t) are the state variables of follower i and leader i respectively; αi , α j and α L are the disturbance rates of the i-th distributed unit, the j-th distributed unit and the virtual leader respectively; Δx i (t) is external disturbance;

[0129] x′ i =x i (t)+Δx i (t) (12)

[0130] In the formula, x′ i is the differential value of the ith distributed unit, x i (t) is the state quantity of the i-th distributed unit;

[0131] The mathematical expression of the disturbance is:

[0132]

[0133] In the formula, is the differential component of the disturbance of the i-th distributed unit; is the differential of the i-th distributed unit; Δx i is the disturbance of the i-th distributed unit;

[0134] According to Laplace's final value theorem, we have

[0135]

[0136] In the formula, Δx i ′(t) is the differential of the external disturbance; ΔX i ′(s) is Δx i 'The Laplace transform of (t);

[0137] The result obtained from Laplace's final value theorem is used as the trigger condition.

[0138] In some preferred implementations, the above S2 may further include the following operations: establishing a control trigger mechanism based on the trigger condition; wherein:

[0139] For the i-th distributed generation, the critical value of the trigger condition is set to The control trigger mechanism is established as follows: when the steady-state error is within the allowable range, that is, the error is less than At this time, the real-time output data of the distributed power droop control is used to complete the consistency control; otherwise, the sliding mode control is first used to suppress the external disturbance, and then the real-time output data of the distributed power droop control is used to complete the consistency control.

[0140] In some preferred implementations, the above S3, using sliding mode control to suppress external disturbances, may further include the following operations:

[0141] A sliding mode virtual leader-follower consistency controller is provided, comprising:

[0142] The designed sliding surface is:

[0143]

[0144] In the formula, is the dependent variable of the state space equation of the first distributed unit, Δx1′ is the independent variable of the state space equation of the first distributed unit, and are the control coefficients of the sliding surface respectively;

[0145] The sliding mode virtual leader-follower consistency controller R1 is designed as two terms, then R1=u1+u2, and:

[0146]

[0147] In the formula, u1 is the equivalent switching term, and u2 is the sliding mode control term; is the sliding mode controller function;

[0148] make And R1=u1, that is:

[0149]

[0150] In the formula, u1 is the solution of the equation, and the Lyapunov function is taken as Taking its derivative we get:

[0151]

[0152] Let R1=u1+u2. In order to make the function satisfy Lyapunov stability, we have:

[0153]

[0154] In the formula, is the switching gain in the protocol;

[0155] The conditions for triggering the sliding mode virtual leader-follower consistency controller are:

[0156] The event trigger device can be set by the following judgment: when the final deviation is within the allowable range, no sliding mode controller is designed; when the final deviation exceeds the allowable range, a sliding mode controller is added to the system to suppress disturbances, then:

[0157]

[0158] In the formula, is the sliding surface function of the i-th distributed unit.

[0159] Based on the same inventive concept, an embodiment of the present invention further provides a consistency control system for external disturbance problems for microgrid fault recovery.

[0160] Specifically, Figure 3 As shown, the external disturbance problem consistency control system for microgrid fault recovery provided by this embodiment may include the following modules:

[0161] A consistency control building module, which builds a virtual leader-follower consistency control model based on the hierarchical control architecture of the microgrid system;

[0162] A trigger condition establishment module, which is used to calculate the deviation caused by external disturbances to the control results of the consistency control model and select the deviation as the trigger condition;

[0163] Hierarchical control module, which is used to complete consistency control by using the real-time data output by droop control of each DER when the steady-state error of the microgrid system is less than the trigger condition; otherwise, sliding mode control is first used to suppress external disturbances, and then the real-time data output by droop control of each DER is used to complete consistency control.

[0164] It should be noted that the steps in the method provided by the present invention can be implemented by using the corresponding components in the system, and those skilled in the art can refer to the technical solution of the system to implement the step flow of the method, and can also refer to the technical solution of the method to implement the composition of the system, that is, the embodiments in the system and the embodiments in the method can be understood as preferred examples of each other, which will not be elaborated here.

[0165] An embodiment of the present invention further provides a computer terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the processor can be used to execute any method of the above-mentioned embodiments of the present invention, or to run any system of the above-mentioned embodiments of the present invention.

[0166] Optionally, the memory is used to store programs; the memory may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviated: RAM), such as static random-access memory (English: static random-access memory, abbreviated: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviated: DDR SDRAM), etc.; the memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory is used to store computer programs (such as applications, functional modules, etc. that implement the above method), computer instructions, etc., and the above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories. And the above computer programs, computer instructions, data, etc. can be called by the processor.

[0167] The above-mentioned computer programs, computer instructions, etc. may be stored in one or more memories in partitions, and the above-mentioned computer programs, computer instructions, data, etc. may be called by a processor.

[0168] The processor is used to execute the computer program stored in the memory to implement the various steps of the method or various modules of the system involved in the above embodiments. For details, please refer to the relevant descriptions in the above method and system embodiments.

[0169] The processor and the memory may be independent structures or integrated structures. When the processor and the memory are independent structures, the memory and the processor may be coupled and connected via a bus.

[0170] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it can be used to execute any method of the above embodiments of the present invention, or to run any system of the above embodiments of the present invention.

[0171] Among them, computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general or special-purpose computer. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also be present in a communication device as discrete components.

[0172] The above-mentioned embodiments of the present invention provide a consistency control method and control system for external disturbance problems for microgrid fault recovery, and provide a virtual leader-follower consistency control model, which enables each node of the system to maintain consistency when facing external disturbances, thereby ensuring the stability of the overall system; utilizing the robustness of sliding mode control, the sliding mode control is combined with the virtual leader-follower consistency control model, and a sliding mode virtual leader-follower consistency controller is designed, which can accurately track the system state in the presence of uncertainty and disturbance, thereby enhancing the system's anti-interference ability; based on the idea of ​​event triggering, the sliding mode control is combined with the virtual leader-follower consistency control model, and a sliding mode virtual leader-follower consistency controller is designed, which can effectively deal with external disturbances in the system.

[0173] The consistency control method provided by the present invention can effectively solve the data disturbance problem faced in the hierarchical control of microgrid fault recovery, ensure the overall stability of the system, and greatly improve the control effect of hierarchical control. Hierarchical control is performed on the basis of the consistency control of the present invention, which greatly improves the effect of microgrid fault recovery.

[0174] All matters not covered in the above embodiments of the present invention are well known in the art.

[0175] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.

Claims

1. A consistency control method for external disturbance problem for microgrid fault recovery, characterized in that: include: Based on the hierarchical control architecture of the microgrid system, a virtual leader-follower consistency control model is established; Calculating the deviation of the control result of the consistency control model caused by the external disturbance, and selecting the deviation as a trigger condition; If the steady-state error of the microgrid system is less than the trigger condition, the real-time data output by each DER through droop control is used to complete the consistency control; otherwise, the sliding mode control is first used to suppress the external disturbance, and then the real-time data output by each DER through droop control is used to complete the consistency control.

2. The consistency control method for external disturbance problem for microgrid fault recovery according to claim 1 is characterized in that: The hierarchical control architecture based on the microgrid system establishes a virtual leader-follower consistency control model, including: Providing a hierarchical control architecture for a microgrid system; Assume that in the communication network of the hierarchical control architecture, the i-th distributed power source is an external disturbance when transmitting information within a fixed period of time, the i-th distributed power source has N adjacent power sources for communication, the communication connection graph between the i-th distributed power source and the N adjacent power sources includes at least one directed spanning tree, and the virtual leader is set as a globally reachable point; In the microgrid system, the voltage and frequency droop controllers of the i-th distributed generation are designed as follows: In the formula, ω i and U i are the output frequency and voltage of the distributed unit respectively; ω ref and U ref are the frequency reference value and the voltage reference value respectively; m i and n i is the droop coefficient, P i and Q i are the active power and reactive power of the distributed unit respectively; According to the above droop controller design, the virtual leader-follower consistency control design corresponding to the i-th distributed generation is: In the formula, u i is the virtual leader-follower consistency control function, N i is the set of adjacent power sources of the i-th distributed power source; k xi1 and k xi2 is the undetermined gain factor; x i and x j represents the voltage or frequency of the i-th distributed power source and the j-th distributed power source; a ij is the connection relationship between the i-th distributed power source and the j-th distributed power source, b i is the connection relationship between the virtual leader and the follower. If there is a connection, then b i >0, otherwise b i =0; The virtual leader-follower consensus protocol of the i-th distributed generation taking into account the external disturbance problem is: In the formula, α i , α j and α L are the disturbance rates of the i-th distributed generation, the j-th distributed unit and the virtual leader respectively; x L is the state quantity of the virtual leader; Under the effect of formula (3), when k xi1 and k xi2 When certain conditions are met, the status of the follower and the virtual leader can always follow each other; Assuming that the state equation of the microgrid system is a first-order equation, we have: in, Perform Laplace transform on equation (4): Where, u1 is the state quantity of the first distributed power source, u2 is the state quantity of the second distributed power source; X(s) is the state quantity after Laplace transformation; x1(t)| t=0 and x2(t)| t=0 are the initial values ​​of the output state quantities of the first distributed power source and the second distributed power source droop controller, respectively. The deviation between the output state quantity and the state quantity corresponding to the virtual leader is: At the same time, there are: When the gain coefficient meets the following conditions, the microgrid system can meet the consistency requirements: Where, c1=∫x1(t)dt| t=0 , c2=∫x2(t)dt| t=0 .

3. The external disturbance problem consistency control method for microgrid fault recovery according to claim 2 is characterized in that: The hierarchical control architecture includes: an information layer and a physical layer; wherein: The information layer includes: a sliding mode control calculation part, an event trigger mechanism part and a communication network part; The physical layer includes the following interconnected parts: a primary control link, a secondary control link, a power calculation link, a voltage synthesis link, a voltage and current double closed loop link and a PWM signal generator.

4. The external disturbance problem consistency control method for microgrid fault recovery according to claim 1 is characterized in that: The calculating the deviation caused by the external disturbance to the control result of the consistency control model, and selecting the deviation as a trigger condition, includes: The deviation of the control result of the consistency control model caused by the external disturbance refers to the degree to which the controlled quantity deviates from the expected value, wherein the controlled quantity is the frequency and voltage output by the distributed power supply droop control, and the expected value is the frequency reference value and the voltage reference value; For the i-th distributed power source, the consistency protocol before and after external disturbance is: In the formula, is the consistency protocol expression of the i-th distributed unit; k i1 is the gain in the protocol, α ij is the connection relationship between the i-th distributed unit and the j-th distributed unit; x1(t) and x L (t) are the state variables of follower i and leader i respectively; α i , α j and α L are the disturbance rates of the i-th distributed unit, the j-th distributed unit and the virtual leader respectively; Δx i (t) is external disturbance; x′ i =x i (t)+Δx i (t) (12) In the formula, x′ i is the differential value of the ith distributed unit, x i (t) is the state quantity of the i-th distributed unit; The mathematical expression of the disturbance is: In the formula, is the differential component of the disturbance of the i-th distributed unit; is the differential of the i-th distributed unit; Δx i is the disturbance of the i-th distributed unit; According to Laplace's final value theorem, we have: In the formula, Δx i ′(t) is the differential of the external disturbance; ΔX′ i (s) is Δx i 'The Laplace transform of (t); The result obtained from Laplace's final value theorem is used as the trigger condition.

5. The external disturbance problem consistency control method for microgrid fault recovery according to claim 4 is characterized in that: Also includes: Based on the trigger condition, a control trigger mechanism is established; wherein: For the i-th distributed generation, the critical value of the trigger condition is set to The control trigger mechanism is established as follows: when the steady-state error is within the allowable range, that is, the error is less than At this time, the real-time output data of the distributed power droop control is used to complete the consistency control; otherwise, the sliding mode control is first used to suppress the external disturbance, and then the real-time output data of the distributed power droop control is used to complete the consistency control.

6. The external disturbance problem consistency control method for microgrid fault recovery according to claim 1 is characterized in that: The use of sliding mode control to suppress external disturbances includes: A sliding mode virtual leader-follower consistency controller is provided, comprising: The designed sliding surface is: In the formula, is the dependent variable of the state space equation of the first distributed unit, Δx1′ is the independent variable of the state space equation of the first distributed unit, and are the control coefficients of the sliding surface respectively; The sliding mode virtual leader-follower consistency controller R1 is designed as two terms, then R1=u1+u2, and: In the formula, u1 is the equivalent switching term, and u2 is the sliding mode control term; is the sliding mode controller function; make And R1=u1, that is: In the formula, u1 is the solution of the equation, and the Lyapunov function is taken as Taking its derivative we get: Let R1=u1+u2. In order to make the function satisfy Lyapunov stability, we have: In the formula, is the switching gain in the protocol; The conditions for triggering the sliding mode virtual leader-follower consistency controller are: when the final deviation is within the allowable range, no sliding mode controller is designed; when the final deviation exceeds the allowable range, a sliding mode controller is added to the system to suppress disturbances, then: In the formula, is the sliding surface function of the i-th distributed unit.

7. A consistent control system for external disturbance problems for microgrid fault recovery, characterized in that: include: A consistency control building module, which builds a virtual leader-follower consistency control model based on the hierarchical control architecture of the microgrid system; A trigger condition establishment module, which is used to calculate the deviation caused by the external disturbance to the control result of the consistency control model, and select the deviation as the trigger condition; A hierarchical control module is used to complete consistency control by using the real-time data output by each DER through droop control when the steady-state error of the microgrid system is less than the trigger condition; otherwise, sliding mode control is first used to suppress external disturbances, and then the real-time data output by each DER through droop control is used to complete consistency control.

8. A computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it can be used to perform the method described in any one of claims 1 to 6, or to run the system described in claim 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it can be used to perform the method described in any one of claims 1 to 6, or to run the system described in claim 7.

Citation Information

Patent Citations

  • Island microgrid hierarchical control method considering communication data disturbance under CPS concept

    CN108075488A

  • Island microgrid hierarchical control method based on double SMC-consistency theory

    CN108667067A

  • Multi-agent system active anti-interference consistency control method based on events

    CN115840426A