This application is based upon and claims priority to Chinese Patent Application No. 202311101885.X, filed on Aug. 29, 2023, the entire contents of which are incorporated herein by reference.
The present invention relates to the technical field of microgrid control, and more specifically to a microgrid self-triggering control method and system for resisting FDI attacks.
At present, with the rapid development of information systems, microgrids face more potential threats of cyber attacks. Among many network attacks, false data injection (FDI) attacks can be applied without causing controller tracking errors and are difficult to be directly detected and eliminated by distributed controllers.
However, the traditional microgrid distributed secondary control has a small fixed sampling period, which inevitably wastes communication and computing resources.
Therefore, to solve the above problems, a microgrid distributed self-triggering control strategy and system for resisting FDI attacks based on a hash encryption algorithm are provided.
In view of this, the present invention provides a microgrid self-triggering control method and system for resisting FDI attacks, which achieves a distributed secondary control target of the microgrid even under the FDI attacks, quickly detects and eliminates the injected malicious data, and protects the distributed secondary control communication network of the microgrid. Meanwhile, the present invention significantly reduces the computing and communication burden of a controller, effectively ensures the stable operation of the microgrid.
In order to achieve the above objective, the present invention adopts the following technical solutions.
A microgrid self-triggering control method for resisting FDI attacks includes the following steps:
Preferably, the control method further includes the following step:
Preferably, in the S1, the microgrid adjusts output of each distributed generation by adopting a primary control strategy based on droop control to so as to achieve rapid balance between load and output power in the microgrid.
Preferably, the S2 includes the following steps:
Preferably, the S3 includes the following steps:
Preferably, in the S33, when FDI attacks occur, the received hash transformation value is not used, but an active power value before the transformation is used.
The present invention further provides a control system using the microgrid self-triggering control method for resisting FDI attacks according to any one of aspects, which includes:
Preferably, the control system further includes:
It can be known from the technical solutions that, compared with the prior art, the present invention provides a microgrid self-triggering control method and system for resisting FDI attacks, and has the following beneficial effects.
(1) The present invention designs a distributed self-triggering control strategy and system for resisting FDI attacks based on a hash encryption algorithm on the basis of the traditional distributed time-triggering-based control strategy. Firstly, the distributed self-triggering control strategy is designed to enable the controller to trigger only when a triggering condition is met, and the computing and communication burden of the controller is significantly reduced. Moreover, the hash encryption algorithm is designed, so that the distributed secondary control target of the microgrid can be achieved even under the FDI attacks, and the stable operation of the microgrid is effectively ensured.
(2) It is proved from the Lyapunov stability theory and simulation experiments that the control method of the present invention can still achieve the distributed secondary control target of the microgrid even under the FDI attacks, and achieve frequency recovery and fair distribution of active power.
In conclusion, compared with the traditional distributed control strategy based on time triggering, the present invention significantly reduces the computing and communication burden of the controller, and achieves safe and stable operation of the microgrid under the FDI attacks; in addition, the improved self-triggering control strategy is also applicable to various FDI attacks.
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
To more clearly illustrate the technical solutions in the embodiments of the present invention or in the prior art, the drawings required to be used in the description of the embodiments or the prior art are briefly introduced below. It is obvious that the drawings in the description below are merely embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings according to the drawings provided without creative efforts.
The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to drawings in the embodiments of the present invention. It is clear that the described embodiments are merely a part rather than all of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
As shown in
In a specific embodiment, the control method further includes the following step:
In a specific embodiment, in the S1, the microgrid adjusts output of each distributed generation by adopting a primary control strategy based on droop control to so as to achieve rapid balance between load and output power in the microgrid.
In a specific embodiment, the S2 includes the following steps:
In a specific embodiment, the S3 includes the following steps:
In a specific embodiment, in the S33, when FDI attacks occur, the received hash transformation value is not used, but an active power value before the transformation is used.
Referring to
In a specific embodiment, the control system further includes:
The detailed process of specifically applying the method provided in Embodiment 1 includes the following steps.
Step 1: the microgrid adjusts output of each distributed generation in the microgrid by adopting a primary control strategy based on droop control to achieve rapid balance between load and output power in the microgrid, the frequency-active power is taken as an example, and the specific expression of the droop control is as follows:
ωi=ωni−mpiPi (1)
Step 2: a corresponding microgrid distributed secondary control strategy is designed, wherein the distributed secondary control strategy includes frequency recovery and fair distribution of active power, specifically, (1) for the frequency recovery, the voltage and the frequency of each distributed generation are recovered to reference values by adopting local PI control; (2) for the fair distribution of active power, firstly, an active power self-triggering controller based on a linear clock is designed for each distributed generation, so that the controller is triggered only when the condition is met, fair distribution of the active power according to the capacity of each distributed generation is achieved, and the specific process includes as follows:
m
p1
P
i
= . . . =m
pn
P
n (3)
For the frequency recovery, a frequency set point ωni is adjusted by adopting a local PI control so as to recover the voltage and the frequency of each distributed generation to a reference value, wherein a specific expression of the frequency set point ωni is as follows:
ωi=ωni+uωi+uPi−mpiPi (4)
wherein uωi is frequency control input, and uPi is active power control input.
A specific expression of recovering the frequency of each distributed generation by adopting the local PI control is as follows:
uωi=−kP(ωi−ωref)−kI∫(ωi−ωref)dt (5)
For active power distribution, a specific expression of designing the active power control input uPi is as follows:
It can be seen that the traditional active power control strategy is periodic sampling communication, which inevitably increases the waste of communication and computing resources. Therefore, in this embodiment, a specific expression of performing aperiodic triggering by designing the distributed active power self-triggering controller is as follows:
A specific expression of defining a trigger rule of the active power self-triggering controller is as follows:
A specific expression of an active power difference medij(t) between the distributed generation i and the distributed generation j at the moment t is as follows:
medij(t)=mpjPj(t)−mpiPi(t) (8)
Correspondingly, a specific expression of an update rule for designing the active power control input uij is as follows:
An update rule for designing the clock variable θij is as follows:
wherein tki is a kth triggering moment of the active power self-triggering controller of distributed generation i.
Therefore, the fair distribution of the active power is achieved by properly designing the distributed active power self-triggering controller.
Step 3: a microgrid distributed self-triggering control strategy is designed based on a hash encryption algorithm, so that the microgrid can still achieve a distributed secondary control target even under the FDI attacks. Firstly, the designing of a hash encryption algorithm is specifically as follows:
The designing of a microgrid distributed self-triggering control strategy for resisting FDI attack based on a hash encryption algorithm is as follows:
Step 4: it is proved from the Lyapunov stability theory and simulation experiments that the control method of the present invention can still achieve the distributed secondary control target of the microgrid even under the FDI attacks.
For any t>0 and γ>0, the Lyapunov function V (t) is defined as:
The formula (15) is derived to obtain:
The formulas (9), (10) and (11) are substituted into the formula (16) to obtain:
For t∈[tkij,tk+1ij), if medij(tkij)≥ε, the derivation is performed to obtain:
Correspondingly, if medij(tkij)≤−ε, the derivation is performed to obtain:
Therefore, if |medij(tkij)≥ε, the following can be obtained:
The following is obtained:
Combined with the formulas (18) and (19), the formula (16) can be written as:
Since γ>0, {dot over (v)}(t) is strictly negative semidefinite.
The proof is complete.
In a specific application, the islanded microgrid test system is shown in
To verify the effectiveness of the proposed microgrid distributed self-triggering control strategy for resisting FDI attack based on the hash encryption algorithm, the simulation process is designed as follows:
1) t=0 s, the microgrid enters an island operation mode;
2) t=1 s, the distributed self-triggering control strategy of the microgrid for resisting FDI attacks based on the hash encryption algorithm is applied;
3) t=2 s, load 1 increases the load by 3 kW;
4) t=3.5 s, the random FDI attacks are injected to the communication link; and
5) t=4.5 s, DG1 increases the load by 3 kW.
The total simulation time is 7 s; wherein the self-triggering controller parameter kω=40, and the frequency reference value ωref=50 Hz.
The experimental screenshots are as follows:
(1)
(2)
The embodiments in the specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be referred to each other. Since the apparatus disclosed in the embodiment corresponds to the method disclosed in the embodiment, the description is relatively simple, and reference may be made to the partial description of the method.
The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the present invention. Thus, the present invention is not intended to be limited to these embodiments shown herein but is to be accorded the broadest scope consistent with the principles and novel features disclosed herein.
Number | Date | Country | Kind |
---|---|---|---|
202311101885.X | Aug 2023 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
10305932 | Hong | May 2019 | B2 |
11593479 | Sarwat | Feb 2023 | B1 |
20180024900 | Premerlani | Jan 2018 | A1 |
20190113549 | Nakayama | Apr 2019 | A1 |
20200036748 | Tebekaemi et al. | Jan 2020 | A1 |
20200106301 | Hong | Apr 2020 | A1 |
20220342435 | Qi | Oct 2022 | A1 |
Number | Date | Country |
---|---|---|
110474892 | Nov 2019 | CN |
112701723 | Apr 2021 | CN |
114336674 | Apr 2022 | CN |
115225305 | Oct 2022 | CN |
116094769 | May 2023 | CN |
Entry |
---|
Pengcheng Cai, et al., Secondary Frequency Control of Islanded Microgrids Based on Ratio Consensue Algorithm, Acta Energiae Solaris Sinica, 2020, pp. 74-81, vol. 41 No. 10. |