Fully distributed island micro-grid attack elasticity control system and method
12166346 ยท 2024-12-10
Assignee
Inventors
- Donglian QI (Hangzhou, CN)
- Xueqi Wang (Hangzhou, CN)
- Yunfeng YAN (Hangzhou, CN)
- Guangxin Zhi (Sanya, CN)
- Dawang Fu (Sanya, CN)
Cpc classification
Y04S40/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J2310/10
ELECTRICITY
G01R23/04
PHYSICS
H02J3/004
ELECTRICITY
H02J2203/20
ELECTRICITY
H02J3/388
ELECTRICITY
H02J3/001
ELECTRICITY
International classification
H02J3/00
ELECTRICITY
G01R23/04
PHYSICS
G01R31/08
PHYSICS
Abstract
A fully distributed island micro-grid attack elasticity control system and method are provided. The method includes following specific steps: collecting basic information of a local AC micro-grid bus of a distributed power generation unit and basic information of a neighbor distributed power generation unit connected through a directed communication topology; predicting, based on a dynamic equation of the distributed power generation unit, a sequence of states thereof within a set period of time, namely, the predicted sequence of states; judging whether a system is under attack according to a comparison result of the predicted sequence of states and a real-time state sampling value of a micro-grid, to obtain a sequence of optimal auxiliary control inputs u.sub.i*; and calculating an optimal angular frequency reference value .sub.i* at the next time point according to the sequence of optimal auxiliary control inputs u.sub.i*.
Claims
1. A fully distributed island micro-grid attack elasticity control method, comprising the following steps: step 1: collecting basic information of a local alternating current (AC) micro-grid bus of a distributed power generation unit DG and basic information of a neighbor distributed power generation unit DG connected through a directed communication topology; step 2: predicting, based on a dynamic equation of the distributed power generation unit DG, a sequence of states of the distributed power generation unit DG within a set period of time, to obtain the predicted sequence of states, and storing the predicted sequence of states; step 3: judging whether a system is under attack according to a comparison result of a state value of the predicted sequence of states and a real-time state sampling value of a micro-grid, and obtaining a sequence of optimal auxiliary control inputs u.sub.i* according to a judgment result; step 4: using a first item of the sequence of optimal auxiliary control inputs u.sub.i* as an auxiliary control input to calculate an optimal angular frequency reference value .sub.i* at a next time point; wherein an expression for obtaining the optimal angular frequency reference value .sub.i* according to the sequence of optimal auxiliary control inputs u.sub.i* is:
.sub.i*=u.sub.i*+D.sub.P,iP.sub.i in the expression, u.sub.i* is the sequence of optimal auxiliary control inputs of an i-th distributed power generation unit DG; .sub.i* is the optimal angular frequency reference value of the i-th distributed power generation unit DG at the next time point; D.sub.P,i is a droop control coefficient of the i-th distributed power generation unit DG; and P.sub.i is an output active power of the i-th distributed power generation unit DG; and step 5: inputting the optimal angular frequency reference value .sub.i* and an optimal potential reference value E.sub.i* into a droop controller in a real-time manner to complete correction of a primary control of the droop controller.
2. The fully distributed island micro-grid attack elasticity control method according to claim 1, wherein the step of obtaining the predicted sequence of states comprises: constructing a discrete-time dynamic equation of the distributed power generation unit DG considering attack elasticity; constructing a nominal dynamic equation based on the discrete-time dynamic equation of the distributed power generation unit DG considering attack elasticity; and predicting the sequence of states of the distributed power generation unit DG within the set period of time according to the nominal dynamic equation.
3. The fully distributed island micro-grid attack elasticity control method according to claim 2, wherein an expression of the discrete-time dynamic equation of the distributed power generation unit DG considering attack elasticity is:
x.sub.i(k+1)=Ax.sub.i(k)+B[u.sub.i(k)+.sub.1(x.sub.i(k),u.sub.i(k))]+.sub.2(x.sub.i(k));
Dw.sub.i=B.sub.1+.sub.2; in the expression, x.sub.i(k) is a state of an attack elasticity controller of an i-th distributed power generation unit DG at a time point k; x.sub.i(k+1) is a state of the attack elasticity controller of the i-th distributed power generation unit DG at a time point k+1; u.sub.i(k) is an auxiliary control input of the attack elasticity controller of the i-th distributed power generation unit DG at the time point k; .sub.1(x.sub.i,u.sub.i) is a bounded attack on an auxiliary control input actuator of the i-th distributed power generation unit DG; .sub.2(x.sub.i) is a bounded attack on an auxiliary control measurement device of the i-th distributed power generation unit DG; w.sub.i is a sum of the bounded attacks on the i-th distributed power generation unit DG; and A, B and D are controller system matrices.
4. The fully distributed island micro-grid attack elasticity control method according to claim 2, wherein the nominal dynamic equation is defined as follows:
z.sub.i(k+1)=Az.sub.i(k)+Bv.sub.i(k); in the nominal dynamic equation, z.sub.i(k) is a nominal system state of an attack elasticity controller of an i-th distributed power generation unit DG at a time point k; z.sub.i(k+1) is a nominal system state of the attack elasticity controller of the i-th distributed power generation unit DG at a time point k+1; and A and B are both controller system matrices.
5. The fully distributed island micro-grid attack elasticity control method according to claim 2, wherein an expression for an error between an actual state value and a nominal state value is:
6. The fully distributed island micro-grid attack elasticity control method according to claim 1, wherein the first item of the sequence of optimal auxiliary control is configured as the auxiliary control input, the expression is as follows:
7. The fully distributed island micro-grid attack elasticity control method according to claim 1, wherein, in order to achieve global optimization of a micro-grid control system in a distributed manner, any local optimal function is required to meet the following constraint conditions:
8. The fully distributed island micro-grid attack elasticity control method according to claim 1, wherein the step of judging whether the system is under attack comprises: obtaining the real-time state sampling value at any time point; comparing the real-time state sampling value at any time point with the state value of the predicted sequence of states at corresponding time point to obtain a solution of a mean square error; and according to a comparison result of the mean square error and a set threshold value, judging whether the system is under attack: if the system is not under attack, using the optimal auxiliary control input calculated by the real-time state sampling value, and if the system is under attack, using the optimal auxiliary control input calculated by the state value of the predicted sequence of states at the corresponding time point.
9. A fully distributed island micro-grid attack elasticity control system consisting of an information layer structure and a physical layer, wherein a local control architecture of each distributed power generation unit DG comprises a communication network, a state collector, an attack elasticity controller, a power controller, a voltage controller, a current controller, and a voltage source inverter, wherein the communication network is configured for data transmission between distributed power supplies; the state collector is configured for collecting basic information of a local AC micro-grid bus and basic information of a neighbor distributed power generation unit DG connected through a directed communication topology; the attack elasticity controller is configured for judging whether each distributed power generation unit DG is under an out-of-bounds malicious attack, and calculating sequence of optimal auxiliary control inputs u.sub.i* with attack elasticity, to obtain an optimal angular frequency reference value .sub.i* and an optimal potential reference value E.sub.i*; wherein an expression for obtaining the optimal angular frequency reference value .sub.i* according to the sequence of optimal auxiliary control inputs u.sub.i* is:
.sub.i*=u.sub.i*+D.sub.P,iP.sub.i in the expression, u.sub.i* is the sequence of optimal auxiliary control inputs of an i-th distributed power generation unit DG; .sub.i* is the optimal angular frequency reference value of the i-th distributed power generation unit DG at a next time point; D.sub.P,i is a droop control coefficient of the i-th distributed power generation unit DG; and P.sub.i is an output active power of the i-th distributed power generation unit DG; the power controller is configured for completing a compensation for a primary control frequency deviation of a droop controller in the power controller according to the optimal angular frequency reference value .sub.i* and the optimal potential reference value E.sub.i*; the voltage controller is configured for obtaining a reference current I.sub.li* input into the current controller according to a reference voltage V.sub.oi*; the current controller is configured for obtaining a reference voltage for controlling a pulse-width modulation (PWM) generator to generate a PWM signal according to the reference current I.sub.li* input into the current controller and an output voltage-current value of the voltage source inverter after dq decomposition; and the voltage source inverter is configured for outputting a voltage according to the PWM signal and an angular frequency .sub.i of the power controller.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Apparently, the drawings described below are only some of the embodiments of the present invention. Other drawings may further be obtained by those of ordinary skill in the art according to the provided drawings, without exertion of any inventive work.
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(6) The technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only some of the embodiments of the present invention and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without any inventive work fall within the scope of protection of the present invention.
(7) An embodiment of the present invention discloses a fully distributed island micro-grid attack elasticity control method, which performs real-time defense against a malicious attack on an island micro-grid. The island micro-grid structurally shown in
(8) An information layer includes a sparse and efficient directed connection communication topology of a spanning tree. The directed connection topology can be represented by (
,
,
,
), wherein
={.sub.1, .sub.2, . . . , .sub.s} is a node set;
is a directed edge set;
.sub.i represents a neighbor node set,
.sub.i={.sub.j|(i,j)
};
.sup.nn is an adjacent matrix of the topology,
=[a.sub.i,j], wherein a.sub.i,j has a value of 1 when there is a directed connection, otherwise it is 0;
is a connection gain matrix, wherein, if a node i can receive information from a leader node, b.sub.i has a value of 1, otherwise it is 0. The sparse and efficient communication network involved in the present embodiment is the directed connection topology including a spanning tree, which meets the conditions for triggering multi-MAS collaborative consensus. A graphic Laplacian matrix of the communication topology is
(9)
and =diag {
}.
(10) As shown in
(11)
(12) A reference voltage V.sub.oi* input into the voltage controller and an angular frequency .sub.i input into the voltage source inverter are obtained; the communication network is used for data transmission; the state collector is used for collecting three-phase voltage information v.sub.oi, three-phase current information i.sub.oi and output angular frequency information .sub.i of a local droop controller of a local AC micro-grid bus as well as voltage information v.sub.oj, current information i.sub.oj and angular frequency information .sub.j of an adjacent distributed power generation unit of any distributed power generation unit; the attack elasticity controller is used for judging whether each distributed power generation unit is under an out-of-bounds malicious attack, and being capable of elastically recovering malicious attack with a limited upper bound, as well as calculating a local distributed optimal auxiliary control input with attack elasticity u.sub.i*, thereby inputting a frequency set point .sub.i* and a voltage set point E.sub.i* to the power controller; the voltage controller is used for obtaining a reference current I.sub.li* input into the current controller according to the reference voltage V.sub.oi*; the current controller is used for obtaining the reference voltage for controlling a PWM generator to generate a PWM signal according to the reference current I.sub.li* input into the current controller and the voltage and current value output by the inverter after dq decomposition; and the voltage source inverter is used for outputting a voltage according to the PWM signal and the angular frequency .sub.i of the power controller.
(13) In another embodiment, a state estimator is further comprised for estimating a state of a neighbor node.
(14) The present embodiment comprises a fully distributed island micro-grid attack elasticity control method, as shown in
(15) Step 1: collecting basic information of a local AC micro-grid bus of a distributed power generation unit and basic information of a neighbor distributed power generation unit connected through a directed communication topology;
(16) Step 2: predicting, based on a dynamic equation of the distributed power generation unit, a sequence of states thereof within a set period of time, namely the predicted sequence of states; and storing the predicted sequence of states;
(17) Step 3: judging whether a system is under attack according to a comparison result of a state value of the predicted sequence of states and a real-time state sampling value of a micro-grid, and obtaining a sequence of optimal auxiliary control inputs u.sub.i* according to a judgment result;
(18) Step 4: using the first item of the sequence of optimal auxiliary control inputs u.sub.i* as an auxiliary control input to calculate an optimal angular frequency reference value .sub.i* at the next time point; and
(19) Step 5: inputting the optimal angular frequency reference value .sub.i* and an optimal potential reference value E.sub.i* into a droop controller in a real-time manner to complete correction of a primary control of the droop controller.
(20) Therein, in Step 1, the basic information of the local AC micro-grid bus collected thereby comprises: three-phase voltage information v.sub.oi, three-phase current information i.sub.oi and output angular frequency information .sub.i of the local droop controller of the local AC micro-grid bus.
(21) The basic information of the adjacent distributed power generation unit comprises voltage information v.sub.oj, current information i.sub.oj and angular frequency information .sub.j of the adjacent distributed power generation unit of the distributed power generation unit.
(22) In Step 2, the step of obtaining the predicted sequence of states comprises:
(23) a discrete-time dynamic equation of the distributed power generation unit considering attack elasticity can be defined as:
x.sub.i(k+1)=Ax.sub.i(k)+B[u.sub.i(k)+.sub.1(x.sub.i(k),u.sub.i(k))]+.sub.2(x.sub.i(k)) (2a);
y.sub.i(k)=Cx.sub.i(k) (2b);
(24) wherein x.sub.i(k+0|k)=x.sub.ik; only at time k, the i-th is known by the distributed power generation unit.
(25) In order to uniformly represent various attacks, set:
Dw.sub.i=B.sub.1+.sub.2 (3);
(26) Due to uncertain .sub.i, its specific dynamics cannot be described. Therefore, a nominal model of the original system is defined to predict a future state of the system, and the nominal dynamic equation is defined as follows:
z.sub.i(k+1)=Az.sub.i(k)+Bv.sub.i(k) (4);
(27) wherein, z.sub.i(k+0|k)=x.sub.ik.
(28) in the expression, x.sub.i(k) is a state of the attack elasticity controller of the i-th DG at the time point k; x.sub.i(k+1) is the state of the attack elasticity controller of the i-th DG at the time point k+1; u.sub.i(k) is the auxiliary control input of the attack elasticity controller of the i-th DG at the time point k; .sub.1(x.sub.i,u.sub.i) is a bounded attack on an auxiliary control input actuator of the i-th DG; .sub.2(x.sub.i) is the bounded attack on an auxiliary control measurement device of the i-th DG; w.sub.i is the sum of the bounded attacks on the i-th DG; A, B, C and D are controller system matrices; z.sub.i(k) is a nominal system state of the attack elasticity controller of the i-th DG at the time point k; and z.sub.i(k+1) is a nominal system state of the attack elasticity controller of the i-th DG at the time point k+1.
(29) The original system dynamics or the nominal model of the original system will be used for predicting the performance of the system within a period of time to optimize the auxiliary control input u.sub.i*;
(30) For the distributed power generation unit with the above discrete dynamic equation, at every time point k, an OCP problem with a prediction visual field of N needs to be solved again every time, and this solving process is recorded as OCP 1.
(31) OCP 1: using the sequence of optimal control U.sub.i*(k)={u.sub.i*(k+0|k),u.sub.i*(k+1|k), . . . ,u.sub.i*(k+N1|k)} at the time point k for optimization: wherein, s.sub.[0,N1];
(32)
(33)
(34) wherein,
(35)
.Math. is an Euclidean norm, .sub.F=.sup.TF; a clustering error weight matrix F.sub.0.sup.mm, an output adjustment weight matrix F.sub.0
.sup.mm and a control cost weight matrix R
.sup.pp are all positive semidefinite matrices; a sequence of optimal control is predicted each time by using scrolling visual field cycles, but only the first item of the sequence of optimal control u.sub.i*(k+0|k)=[I.sub.pp,0, . . . ,0]U.sub.i*(k) is applied each time; J.sub.i is a local optimization objective function of the i-th DG; S is any visual field range in the sequence, S[1,N]; u.sub.n*(k+s|k) is any item in the visual field range in a sequence of optimal auxiliary control of the n-th DG at the time point k.
(36)
(37) At the time point k+1, the above open-loop strategy is reset (i.e., the OPC1 step is repeated), which means that the strategy is an implementation of the OCP problem according to the scrolling visual field scheme, as shown in
(38) Attack detection link: attack detection can be used as a front-end link of the above control strategy to detect an out-of-bounds malicious attack that cannot be passively defended by the attack elasticity controller.
(39) The predicted sequence of optimal states x*(k+1|k), x*(k+2|k), . . . , and x*(k+N|k) obtained at the time point k, is locally stored, and the current state sampling value x(k+1|k+1) is compared with the pre-stored x*(k+1|k) at the time point k+1 to obtain the solution of the mean square error (MSE): if MSE>, namely MSE exceeds a specific threshold value , the system is judged to be under an malicious attack. If a system attack is detected, active defense can be performed against the malicious attack. Namely, after the attack detection link detects such malicious attacks at the time point k+1, the sequence of optimal auxiliary control u.sub.i*(k+1|k+1) calculated at the time point k+1 is abandoned without use and is replaced with the optimal auxiliary control input u.sub.i*(k+1|k) at the time point k+1 predicted at the time point k. Similarly, if the attack detection link still detects such malicious attacks at the time point k+2, the sequence of optimal auxiliary control u.sub.i*(k+2|k+2) calculated at the time point k+2 is abandoned without use and is replaced with the optimal auxiliary control input u.sub.i*(k+2|k) at the time point k+2 predicted at the time point k, until the stop of the malicious attacks.
(40) Then the frequency set point .sub.i* and the voltage set point E.sub.i* required for the droop controller are calculated according to the optimal auxiliary control input u.sub.i* of the local distributed attack elasticity controller.
(41) wherein the optimal angular frequency reference value .sub.i* is input into the droop controller to complete the compensation for the controller frequency deviation:
.sub.i*=u.sub.i*+D.sub.P,iP.sub.i (7);
(42) According to the specific expression of the droop controller:
(43)
(44) it is accordingly available to obtain the reference voltage input V.sub.oi* to the voltage controller and the angular frequency .sub.i input into the voltage source inverter. The voltage controller obtains the reference current I.sub.li* input into the current controller according to the reference voltage V.sub.oi*. The current controller obtains the reference voltage for controlling the PWM generator to generate the PWM signal according to the reference current I.sub.li* and the output current of the voltage source inverter. The inverter output is further controlled according to the PWM signal and the angular frequency .sub.i given by the droop controller.
(45) The micro-grid comprises n distributed power generation units, and the global optimization of the entire micro-grid is achieved by using games to reach a Nash equilibrium point.
(46) The Nash equilibrium game between distributed power generation units, namely the global function, is required to meet the following inequality:
(47)
(48) wherein u.sub.jU(i=1, . . . ,n);
(49) This means that n sequences of optimal auxiliary control
(50)
of distributed power generation units 1-n can reach the global Nash equilibrium point, that is, the auxiliary control inputs for n distributed power generation units in the entire micro-grid can jointly contribute to the global optimization of the micro-grid control system.
(51) This system can achieve passive defense against bounded attacks on the local actuator and the measurement device of the distributed power supply in a fully distributed manner. The attack detection device as a front-end link can achieve the active defense of the system against more serious attacks. The calculation complexity of the control input is greatly simplified by terminal state observation, and the control strategy can be executed locally. Except for the estimated value required to be observed, all coefficients can be solved offline in advance. Therefore, this system can greatly reduce the calculation burden of the controller system during real-time processing. The system is enabled to achieve real-time defense against malicious attacks.
(52) Each embodiment in the present specification is described in a progressive manner, each embodiment focuses on its differences from other embodiments, and the same and similar parts among the embodiments can be referred to each other.
(53) The forgoing description of the disclosed embodiments enables those skilled in the art to be able to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the generic principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not to be limited to the embodiments shown herein but conforms to the widest scope consistent with the principles and novel features disclosed in this specification.