Next Article in Journal
Adaptive Zero Trust Policy Management Framework in 5G Networks
Previous Article in Journal
Macroelement Analysis in T-Patches Using Lagrange Polynomials
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Distributed Power Sharing Control Strategy for Interconnected AC and DC Microgrids Based on Event-Triggered Control Under Denial-of-Service Attack

1
College of Information Science and Engineering, Northeastern University, Shenyang 110819, China
2
State Grid Liaoning Electric Power Research Institute, Shenyang 110006, China
3
Huaneng Nuclear Power Development Co., Ltd., Beijing 100031, China
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(9), 1499; https://doi.org/10.3390/math13091499
Submission received: 7 April 2025 / Revised: 26 April 2025 / Accepted: 28 April 2025 / Published: 30 April 2025

Abstract

:
Although the problem of power sharing in interconnected AC and DC microgrids formed through interlinking converters (ICs) has been extensively studied, the problem of active power sharing under the extreme conditions of three-phase imbalance/nonlinear loads and Denial-of-Service (DoS) attack has not yet been resolved. Based on this, this paper proposes an event-triggered distributed consensus control method to achieve active power sharing under such extreme conditions. Firstly, aiming at the active power sharing problem in interconnected microgrids under DoS attack, this paper proposes a distributed power sharing control strategy based on event-triggered control under DoS attack. Each IC is defined as an agent, and its first-order agent dynamics are constructed. Secondly, a stability criterion and proof of asymptotic stability considering DoS attack are provided. Finally, simulation and experimental results verify the effectiveness of the proposed method.

1. Introduction

Currently, renewable energy sources (RESs) have been extensively integrated into microgrids to achieve zero fuel costs and zero pollution [1,2]. AC and DC microgrids are gaining increasing attention due to their high efficiency and reliability [3,4]. The primary objectives of interconnected microgrids are to achieve proportional sharing of active power and to reduce communication traffic, thereby enhancing system flexibility and reliability. However, as the microgrid environment composed of distributed energy resources becomes more complex, the number of network attacks during the communication process of interconnected microgrids is also increasing [5,6]. DoS is a typical type of network attack that blocks communication channels, rendering the data of the interconnected microgrid system unreliable. Therefore, this paper proposes a distributed power sharing control strategy based on event-triggered control under DoS attack to accomplish power sharing.
An important goal in microgrids is to achieve accurate power sharing among parallel distributed generations (DGs). In response to this goal, many scholars have carried out a significant amount of research. For example, many centralized and distributed control methods have been proposed in [7,8,9,10,11,12]. However, the above references mainly focus on AC or DC microgrids. Recently, many scholars have studied the power sharing problem of microgrid clusters formed by the IC interconnection of AC and DC microgrids. For example, in [13,14,15] scholars have studied the coordinated control of AC and DC microgrids, so that the interconnected microgrid can operate reliably and autonomously. In [13], a distributed normalized power coordination (NPC) control strategy was proposed, which can achieve accurate power sharing and frequency/voltage recovery among DGs at the same time, but the application of ICs was not considered. In [14], a distributed unified control strategy of parallel ICs was proposed to realize the power coordination among AC and DC microgrids. In [15], a distributed iterative observer and a resilient distributed secondary controller were proposed. Through this control method, active power sharing among ICs under false data injection attacks can be achieved. However, the communication link in [14,15] requires a large amount of data exchange, which is likely to reduce the reliability of the system. While improving the robustness of the system, distributed cooperative control inevitably faces a large number of cooperative communication requirements among agents. In the energy internet-oriented scenario, the real-time information interaction requirements among a large number of nodes will significantly increase the complexity of the system communication topology, which may cause problems such as channel congestion, information coupling risk, and lack of computing resources.
In terms of network attacks, the DoS attack blocks communication by attacking the communication equipment and occupying the channel’s communication messages. For interconnected microgrids that rely on distributed control to achieve power sharing, ICs need communication links to transmit data to one another. DoS is a typical network attack that blocks the communication channel and makes the data of the interconnected microgrid unreliable. Considering the need to establish communication links with adjacent ICs, it is important to enhance the flexibility of the interconnected microgrid to reduce the impact of DoS. In [16], an elastic control strategy for the microgrid was proposed to eliminate the effects of DoS attack. However, the above strategy does not consider the stability of the distributed secondary control system under DoS attack. Based on this, reference [17] considered DoS attacks, conducted time-domain stability research, and then proposed a network resilience control strategy with two control modes. However, this method did not consider the active power sharing problem of the DoS attack on interconnected microgrids. Based on this, reference [18] proposed a distributed control method to ensure the stable operation of the system under DoS attack. However, it also increased the amount of data sampling and calculation of the controller. Therefore, the above methods increase the complexity of the controller, which is a major challenge for the main control devices, such as the digital signal processor (DSP) with limited computing power commonly used in ICs.
Based on the above considerations, this paper mainly studies the power sharing of the interconnected microgrid and proposes a distributed power sharing control strategy based on event-triggered control under DoS attack to solve this problem. The main contributions of this article are as follows:
Firstly, a distributed power sharing control strategy based on event-triggered control under DoS attack is proposed to control the IC for achieving proportional active power sharing according to the capacity of AC and DC microgrids. Secondly, each IC is assigned to be an agent that needs only the information of its local and neighboring ICs. A stability proof considering DoS attack is also provided. Finally, the system performance of the control strategy under different DoS attack durations is verified by simulation and experiment.
The remainder of this paper is organized as follows. Section 2 establishes the system structure model of the interconnected microgrid and introduces the design of the DoS attack model. Section 3 proposes a distributed power sharing control strategy based on event-triggered control under DoS attack and provides proof of controller stability. Section 4 presents simulation results to verify the reliability of the proposed control strategy. Section 5 conducts experiments to validate the proposed approach. Section 6 summarizes the limitations of the control strategy in practical application. Section 7 concludes the paper.

2. The Structure of the Interconnected Microgrid and DoS Attack Model

2.1. System Structure

In this section, the system structure model of the interconnected microgrid and the DoS attack model are presented. The structure of the interconnected microgrid is shown in Figure 1.
The interconnected microgrid is linked through ICs, and each microgrid has its own independent generation units, energy storage facilities, and local loads. The communication network of ICs is shown in Figure 2. The IC between microgrids enables bidirectional power flow. In this paper, the interconnected microgrid is not connected to the main grid. In this case, the key control objective of each IC is to decide and control the transmitted active power. The distributed control method proposed in this paper belongs to three-level control [19]. The interconnected microgrid consists of A units of ICs and B units of microgrids.
In the interconnected microgrid, the ω P and V d c P droop control equations are given as:
ω m , n , p u * = k a c , m , n ( P a c , m , n P a c , m , n * ) + ω m , n , p u
V d c , m , n , p u * = k d c , m , n ( P d c , m , n P d c , m , n * ) + V d c , m , n , p u
where ω m , n , p u * and V d c , m , n , p u * are the rated frequency and DC grid voltage of the system; P a c , m , n and P d c , m , n , P a c , m , n * and P d c , m , n * are the output active power and rated active power of AC and DC microgrids, respectively; and k a c , m , n and k d c , m , n are the droop coefficients of ω P and V d c P , respectively. Note that the subscript p u in the formula represents the per-unit value [20]. This paper mainly considers the active power sharing problem of interconnected microgrids. According to the linear characteristics of (1), this paper can obtain the comprehensive droop control equation of the entire AC and DC microgrid. All DGs in each microgrid can be equivalent to one DG, as shown in (3) and (4):
ω m , p u * = k a c , m ( P a c , m P a c , m * ) + ω m , p u
V d c , m , p u * k d c , m = ( P d c , m P d c , k * ) + V d c , m , p u
where ω m , p u * = ω m , n , p u * , V d c , m , p u * = V d c , m , n , p u * , P a c , m = r = 1 n P a c , m , n , P d c , m = r = 1 n P d c , m , n , P a c , m * = r = 1 P a c , m , n * , P d c , m * = r = 1 P d c , m , n * , k a c , m = 1 / r = 1 n ( 1 / k a c , m , n ) , k d c , m = 1 / r = 1 n ( 1 / k d c , m , n ) , and ω m , p u * is the rated frequency. V d c , m , p u * is the DC voltage, P a c , m is the output active power of the AC microgrid, P d c , m is the output active power of the DC microgrid, P a c , m * and P d c , m * are the corresponding rated output active power, respectively, and k a c , m and k d c , m are the droop coefficient. In addition, the line impedance mismatch in the DC microgrid does not affect the design of the controller, so it can be ignored here.
In this paper, z m denotes ω m , p u and V d c , m , p u , P m denotes P a c , m and P d c , m , and k m denotes k a c , m and k d c , m ; then, (3) and (4) can be rewritten as:
z m * = k m ( P m P m * ) + z m
The active power P m in (5) can be expressed as:
P m = P Z m + i C m P I C , i
where P Z m is the active load of the mth microgrid, C m is the set of ICs, and P I C , i is the power transmitted through the ith IC. Figure 2 shows the response curve of the integrated droop control (5) of each AC and DC microgrid.
In order to realize the active power dynamic equilibrium distribution of the interconnected microgrid, it is necessary to ensure that each microgrid satisfies z m = z P (or k m P m = k P P P ) ( k p ) cooperative operation constraints. Although the traditional droop control mechanism has a mature application foundation in islanded AC/DC microgrids, its inherent control architecture is difficult to adapt to the interconnected microgrid. Because of this, this paper constructs a distributed power sharing control strategy based on event-triggered control. The energy transmission of different microgrids is dynamically optimized by ICs, so that the AC frequency and DC voltage per unit value of the interconnected microgrid are equal, and finally, the accurate proportional distribution of active power is realized.

2.2. DoS Attack Model

For the multi-agent system, the agent exchanges information with adjacent agents through communication links. In this paper, the ring communication link network shown in Figure 3 is provided for ICs to exchange information in order to achieve control objectives. In this microgrid, the communication lines are usually short, and the time delay can be ignored. The DoS attack mainly destroys the reliability of multi-agent systems by blocking communication links. During the DoS attack, the DoS attack in this paper is not cyclical. Although ICs have communication capabilities, the reliability of the data is still compromised in islanded mode [21].
At the same time, the following assumptions should be satisfied for the DoS attack:
(a) Each DoS attack can be detected.
(b) When the DoS attack occurs, communication between adjacent ICs is blocked, and the information of the droop controller is no longer updated.
(c) The DoS attack energy is constrained, and each attack has a maximum duration.
Since the DoS attack is extensively studied [22], it satisfies hypothesis (a). And DoS attacks generally require the supply of carrier equipment, which has the limitation of energy supply [23]. Therefore, hypothesis (c) is satisfied. In this paper, the local controllers of the multi-agent system are mainly responsible for information exchange. Therefore, when the availability of data is compromised, the performance of ICs under DoS network attack is as follows: (1) Local controller failure; (2) The state value is no longer updated; (3) The controller output is no longer updated. Therefore, it satisfies hypothesis (c).
Therefore, it is assumed that τ s s = 1 , 2 , represents the time when the DoS attack occurs, and λ s represents the duration of the DoS attack. Then, the time when the DoS attack occurs is { τ s , τ 0 } , and τ s + 1 > τ s + Δ t , τ 0 = τ s + λ s is defined. During 0 , t , the time when the DG cannot communicate is D s 0 , t = s = 1 n D S = τ s , τ 0 0 , t . Among them, the communication time between ICs is D 0 , t = 0 , t τ s , τ 0 . In summary, we can get:
(1) Attack frequency: For any t 2 > t 1 > t 0 , N a ( t 1 , t 2 ) is defined as the number of DoS attacks. The attack frequency is:
F a ( t 1 , t 2 ) = N a ( t 1 , t 2 ) t 2 t 1
(2) Attack duration: For any t 2 > t 1 > t 0 , ( t 1 , t 2 ) is defined as the time interval of the DoS attack. The attack duration is:
T a ( t 1 , t 2 ) t 2 t 1 τ a
where τ a > 0 is the attack time ratio.
Note that condition (a) is satisfied because the DoS attack is extensively studied [24]. Therefore, we can set θ ( t ) as the detector of the DoS attack. When θ ( t ) = 0 , this indicates the absence of any detected DoS attack. When θ ( t ) = 1 , this implies the detection of a DoS attack.

3. Power Sharing Control Strategy Based on Event-Triggered Control Under DoS Attack

In this part, aiming at the active power sharing problem under DoS attack, each IC is defined as an agent, and its first-order agent dynamics are constructed. The stability judgment theorem and its asymptotic stability proof considering DoS attack are given, and a distributed power sharing control strategy based on event-triggered control is proposed.

3.1. Distributed Active Power Sharing Control Strategy

In this section, this paper solves how to achieve the goal of proportionally sharing active power, specifically how to meet:
k 1 P 1 = = k m P m = = k p P p = = k B P B
where P m = P Z m + i C m P I C , i , m = 1 B , i = 1 A . It can be seen that, to achieve this goal, the controller can be designed to adaptively adjust the active power flow between m and p of the microgrid according to the load level P Z m control IC of each microgrid in different periods. Therefore, the key lies in the active power transmission of ICs. In this section, the multi-agent consensus theory is used to design a distributed controller to solve this problem. The power sharing deviation is defined as E i ( t ) = k m P m k p P p , where m and p denote the microgrid interconnected by the ith IC, and the dynamics of the multi-agent constructed are as follows:
E ˙ i ( t ) = P I C , i ( t ) i = 1 , , A
where E i ( t ) is the power sharing deviation, which can be regarded as the system state variable, and P I C , i ( t ) is the control input. The goal of this paper is to design the controller P I C , i ( t ) to make the state variables E i ( t ) consistent, to achieve the purpose of sharing the active loads according to the proportion of the microgrid capacity. Thus, the power sharing problem of the microgrid is transformed into the consensus problem of the first-order linear multi-agent system. To make the system (10) achieve consistency, this section designs the following form of auxiliary control input:
P I C , i ( t ) = c E I C , i j ( t ) = c j B i a i j E i ( t ) E j ( t )
where c represents the coupling gain and E I C , i j ( t ) is the sum of the state error of the local IC and the neighbor IC. According to [25], all first-order multi-agent dynamics are asymptotically stable under the action of consensus protocol (11), that is, t , E i ( t ) = E j ( t ) = 0 , i j . Thus, the power is shared according to the proportion of AC/DC microgrid capacity, which satisfies (9). Then, the command active power that the ith IC needs to transmit can be obtained by the PI regulator H I C , i ( s ) :
P P I C , i = K I C , i P P I C , i ( t ) + K I C , i I 0 t P I C , i ( σ ) d σ
where K I C , i P and K I C , i I are PI controller parameters.

3.2. Distributed Power Sharing Control Strategy Based on Event-Triggered Communication

According to the theoretical derivation of (11), continuous communication is required among ICs. The continuous data interaction between traditional neighbor nodes will lead to a surge in the pressure of communication resource occupation, which is particularly significant for the energy internet. Aiming at this problem, this paper proposes a distributed power sharing control strategy based on event-triggered control, which replaces the periodic update strategy with dynamic threshold trigger conditions. This scheme significantly reduces the frequency of invalid information interaction between agents. Based on this, this section further applies the event-triggered control principle to design distributed control protocols to reduce communication within the interconnected microgrid. It is defined in the triggering interval t n i t < t n + 1 i , E ^ i ( t ) = E i ( t n i ) , where t n i represents the value of the active power sharing deviation between the AC and DC microgrids connected by the ith IC at the nth triggering moment. Based on this, when θ ( t ) = 0 , that is, no DoS attack is detected, an event-triggered distributed consensus control protocol can be obtained:
P I C , i ( t ) = c j B i a i j E i ( t n ( t ) i ) E j ( t n ( t ) j ) , t [ t n i , t n + 1 i )
where n ( t ) = arg max { t n i t n i t } represents the nearest event-triggered time to the current time. To realize the effective deployment of the event-triggered communication control strategy, it is necessary to construct an appropriate event observer for each IC to update the controller control of the local and neighbor ICs. Here, this paper constructs the following event-triggered conditions:
i J ^ i t 2 2 E E i t 2 2 , t [ t n i , t n + 1 i )
where the error between the event-triggered time t n i and the current time active power sharing deviation is expressed as E E i t . i is a positive coefficient. J ^ i ( t ) is the sum of the difference between the active power sharing deviation of the local IC and the neighbor IC at the event-triggered time, which is defined as:
E E i t = E i t n ( t ) i E i t
J ^ i t = j B i a i j E i t n ( t ) i E j t n ( t ) j
combined with the E E i t definition, the closed-loop system of the ith agent can be dynamically written in the following compact form:
E ˙ t = c Ω E ^ ( t ) = c Ω E ( t ) + E E ( t ) , t [ t k i , t k + 1 i )
where E ( t ) = E 1 ( t ) , , E A ( t ) T , E E ( t ) = [ E E 1 ( t ) , , E E A ( t ) ] T , E ^ ( t ) = [ E ^ 1 ( t ) , , E ^ A ( t ) ] T , and Ω is the Laplace matrix of the corresponding communication topology of the interconnected microgrid. The related parameters can be designed by using linear matrix inequality (LMI) theory.
Theorem 1. 
Multi-agent dynamics (10) for ICs that share active power proportionally according to the capacity of microgrids, and the communication graph Z is undirected. Under the action of the event-triggered distributed consensus control protocol (11) and event-triggered condition (20), the dynamic (10) of the IC used to achieve active power sharing is asymptotically stable, if c > 0 , 0 < m a x < 1 λ n 2 .
Proof of Theorem 1. 
The following Lyapunov function is constructed:
V ( E ( t ) ) = 1 2 E T ( t ) E ( t )
Then, in the trigger interval t [ t n i , t n + 1 i ) , we can obtain the differential of the Lyapunov function with respect to time:
V ˙ ( t ) = c E T ( t ) Ω E ^ ( t ) = c E ^ T ( t ) Ω E ^ ( t ) + c E E T ( t ) Ω E ^ ( t )
Using the inequality:
E E T t Ω E ^ t E ^ T t Ω E ^ t 2 + 1 2 E E T t Ω E E t
the following can be obtained:
V ˙ t E E T t Ω E E t ) + c 2 ( E ^ T t Ω E ^ t c E T ( t ) Ω E ^ ( t ) = c 2 E E T t Ω E E t c 2 E ^ T ( t ) Ω E ^ ( t )
Combined with the event-triggered condition (14), there is:
V ˙ t c 2 1 λ n 2 max E ^ T t Ω E ^ t
where max = max { i , i = 1 , , A } and λ n is the largest eigenvalue of the Laplacian matrix. Therefore, for t [ t n i , t n + 1 i ) , c > 0 , 0 < max < 1 λ n 2 , there is V ˙ ( t ) 0 . According to LaSalle’s invariance principle, the state of the agent can be asymptotically stable to consensus, that is t , E i ( t ) = k n P n k p P p = 1 A i = 1 A E i 0 = 0 , that is k 1 P 1 = k 2 P 2 = = k B P B . Therefore, regardless of how the load is distributed in the microgrid and regardless of how the microgrid is connected through the IC, the active power can be shared proportionally. □
It is worth noting that the proof here only includes the consistent dynamics without considering the plant model. This is because the stability proof illustration methods can be divided into two methods: full-order stability proof and multi-control-bandwidth stability proof [26,27,28]. The stability proof can be simplified through multi-control-bandwidth theory. If the primary controller, consisting of the voltage–current double loop and droop loop, is designed so that the control bandwidth meets the design criteria, the stability proof of the secondary controller can be provided without considering the plant model consisting of the voltage–current double loop and droop loop [28].
Therefore, this paper gives the distributed event-triggered conditions of each agent:
E E i t 2 2 > i j B i α i j E i t n ( t ) i e j t n ( t ) j 2 2 , i = 1 , , A
where t t n i , t n + 1 i , 0 < i max < 1 λ n 2 .
When the DoS attack is detected, according to [29], we can obtain the following: when the communication system of the micro-network is attacked by DoS, the data packet containing the IC state information cannot be transmitted in the communication line. To ensure the continuity of the control input, the controller will continue to use the information of the neighbor state stored in the memory to calculate the control input of the secondary control. When θ ( t ) = 1 , the DoS attack is detected. According to the definition of formula (5) and E i ( t ) , E i ( t ) = k n P n k p P p = z n z p . If, E i ( t ) 0 , then z n z p . When the DoS attack occurs, the event-triggered controller (13) and the corresponding event-triggered condition (14) can be written as:
P I C , i ( t ) = c j B i a i j E ^ i ( t ) E ^ j ( τ s )
E E i t 2 2 i j B i a i j E ^ i t E ^ j τ s 2 2
where t [ t n i , t n + 1 i ) , E ^ i ( t ) = E i ( t n ( t ) i ) , E ^ j ( τ s ) = E j ( τ n ( t ) j ) , i = ( i B i ) 2 , E E i t = E ^ i t E i τ s . When the communication system of the IC is attacked by DoS, for the power sharing deviation E ^ i ( t ) of the ith IC, considering the information of the neighbor state stored in the memory at the previous time and the error of its own state quantity caused by the information transmission, the state deviation δ i a j of the neighbor j will be introduced. At this time:
E ˜ i ( t ) = E ^ i ( t ) + δ i a j
At the same time, under DoS attack, the E E i t = E ^ i t E i τ s of (22) in the multi-agent dynamic system will become E ˜ E i t = E ˜ i t E i τ s . Because the DoS attack receives the limitation of supply resources, it can only last for a certain period, which causes the state deviation δ i a j of its neighbors to be bounded, and its derivative δ ˙ i a j is bounded; then, E ˜ i ( t ) is bounded.
Theorem 2. 
The droop controller (5) and multi-agent dynamics (10) are used to realize active power sharing, assuming that the communication graph Z is undirected and connected. System dynamics (10) are asymptotically stable under the action of the event-triggered distributed controller (24) and triggering condition (25), which are used to realize the sharing of active power according to the capacity of the microgrid:
τ 0 = φ ε c 1 b 1 ε ( c 2 + c 3 b 1 ) > λ s 0
β 0 B ˜ 2 > m a x > 0
where ε 1 , φ > 0 , B ˜ = m i n { B i } , β = m a x { β i } , c 1 = max { c h , c d 1 } , c 2 = c 2 h 2 , c 3 = c 1 c h , c 3 = c 1 c h , β 0 = η B ˜ ε c 1 2 A ( 1 + B ˜ ) + η ( A + B ˜ ) , and b 1 = 2 A β ( 1 + B ˜ ) B ˜ β B ˜ β A .
Proof of Theorem 2. 
It has been proven that the consensus of multi-agent system dynamics (8) is defined as:
lim t E i E j = 0 , i , j = 1 , , A
Let ρ i ( t ) = E i ( t ) E j ( t ) , then (25) is equivalent to t , ρ i ( t ) 0 , i = 2 , , A . The multi-agent dynamic (8) is as follows:
ρ ˙ ( t ) = c h ρ ( t λ s ) c h E ˜ E ( t ) + c d 1 E ˜ E 1 ( t )
where ρ ( t ) = ( ρ 2 ( t ) , , ρ A ( t ) ) T , ρ ( t λ s ) = ( ρ 2 ( t λ s ) . . . , ρ A ( t λ s ) ) T , E ˜ E ( t ) = ( E ˜ E 2 ( t ) , , E ˜ E A ( t ) ) T , E ˜ E 1 ( t ) = ( E ˜ E 1 ( t ) , , E ˜ E 1 ( t ) ) T , d 1 = d i a g { d d 1 + a 21 , , d d 1 + a A 1 } , h = l 22 + 1 A 1 a 1 T , a 1 = ( a 12 , , a 1 A ) T , l 22 = d d 2 a 23 a 2 A a 32 d d 3 a 3 A a A 2 a A 3 d d A . Then, (26) can be rewritten as:
ρ ˙ ( t ) = c h t λ s t ρ ˙ ( s ) d s c h ρ ( t ) c h E ˜ E ( t ) + c d 1 E ˜ E 1 ( t )
There is:
ρ ( t ) = E c h ( t t 0 ) ρ ( t 0 ) + c t 0 t E c h ( t θ ) × { h E ˜ E ( θ ) + d 1 E ˜ E 1 ( θ ) + h θ λ s θ ρ ˙ ( s ) d s } d θ
Further, the following can be obtained:
ρ ( t ) ε E φ ( t t 0 ) ρ ( t 0 ) + c ε t 0 t E φ ( t θ ) { h E ˜ E ( θ ) + d 1 E ˜ E 1 ( θ ) + h 0 θ ρ ˙ ( s ) d s } d θ
where ε 1 , φ > 0 ; combined with event triggering (25), this paper gets:
A 1 2 β ( 1 + B ˜ 1 2 ) ρ ( t λ s ) ( 1 β A 2 β B ˜ 1 2 ) E ˜ E ( t )
There is:
b 1 ρ ( t λ s ) 2 E E ( t ) E ¯ E ( t ) + E ¯ E 1 ( t )
where β = m a x { β i } , N ˜ = m i n { N i } , b 1 = β 2 A ( 1 + B ˜ ) B ˜ β B ˜ β A . Then, combined with (30), (33) and (35), we can get:
ρ ( t ) | c ε t 0 t E φ ( t θ ) { c 1 b 1 ρ ( θ λ s ) + ε E φ ( t t 0 ) ρ ( t 0 ) + θ λ s θ ( c 2 + c 3 b 1 ) ρ ( s λ s ) d s } d θ < ε ρ ( t 0 ) { E φ ( t t 0 ) + ( E λ ( t t 0 ) E γ ( t t 0 ) ) × ε [ ( c 2 + c 3 b 1 ) ( E λ λ s 1 ) E λ λ s + λ c 1 b 1 E λ λ s ] λ ( φ λ ) }
where λ ( 0 , φ ) . There must be λ ( 0 , φ ) , such that, when λ s [ 0 , λ s 0 ) , β = ( 0 , β 0 ) , the inequality ε [ ( c 2 + c 3 b 1 ) ( E λ λ s 1 ) E λ λ s + λ c 1 b 1 E λ λ s ] λ ( φ λ ) < 1 holds. Thus, formula (36) can be written as:
ρ ( t ) < ε ρ ( t 0 ) E λ ( t t 0 )
This shows that, when the DoS attack is detected, the event-triggered controller (24), the event-triggered condition (25), and the multi-agent system dynamics (10) are asymptotically stable to consensus, namely, t , ρ i ( t ) 0 . Therefore, when a DoS attack occurs, the active power can still be shared proportionally among microgrids according to their capacity. □
The overall control structure of the power sharing control strategy is shown in Figure 4. At each sampling time, the IC will apply the local sampling information E i ( t ) , the latest triggering time information E ˜ i ( t ) , and the state information E ˜ j ( t ) from its latest event triggering time through the communication layer to determine whether or not the local converter event triggering condition is satisfied. If the trigger condition is satisfied, the IC will update the local control law P I C , i ( t ) and pass the sampling information at the trigger time to the neighbor IC when its control law P I C , j ( t ) updates. Then, according to the PI controller H I C , i ( s ) , the active power transmission instruction P I C , i is adaptively obtained to adjust the bidirectional active power. The control law and event-triggered conditions of each agent are completely distributed, and the control law update and information transmission are only performed at the trigger time.

4. Simulation Result

Shown in Figure 5 is the AC and DC microgrid simulation test system diagram presented in this paper. To verify the effectiveness of the control strategy, the AC and DC interconnected microgrid shown in Figure 5 is simulated and analyzed in the MATLAB/Simulink (R2021a) environment. The distributed generation units and loads of each microgrid are simulated by inverters and Boost converters. A six-switch DC–AC inverter is used as an IC to connect the AC and DC microgrids.

4.1. The Performance of AC and DC Interconnected Microgrids Under DoS Attack

In this section, before t = 4.5 s, the three-phase unbalanced/nonlinear loads of each microgrid are 3 kW, 8 kW, 10 kW, and 8 kW. According to Figure 6b,e,h, at this time, k a c 1 P a c 1 k d c 2 P d c 2 k d c 3 P d c 3 k a c 4 P a c 4 . This shows that, before t = 4.5 s, the active power of each microgrid cannot be shared by the IC in four microgrids according to the microgrid capacity. After t = 4.5 s, the proportion of three-phase unbalanced and nonlinear loads of dc-MG2 and ac-MG4 increases, and the loads are 12 kW and 10 kW, respectively. Using the distributed active power sharing control strategy proposed in this paper, k a c 1 P a c 1 = k d c 2 P d c 2 = k d c 3 P d c 3 = k a c 4 P a c 4 = 0.97 , which can be seen in Figure 6b,e,h. The active power transmitted by each IC to each microgrid is shown in Figure 6a,d,g, and the power deviation between microgrids is shown in Figure 6c,f,i.
The active power deviation between microgrids approaches 0, which indicates that ICs can realize the proportional sharing of active power. Considering that the DoS attack occurs at t = 5.5 s, according to the settings, the number of ICs is A = 3 and Ω n = 3 . The main parameters are c = 3 , ε = 1 , d 1 = 3 0 ; 0 3 . c 1 = 15 , c 2 = c 3 = 225 , B ˜ = 2.95 , b 1 = 0.08 can be obtained, and λ s = 113.6 ms can be calculated by Theorem 2, so the attack duration is set to λ s = 100 ms, λ s = 150 ms, and λ s = 200 ms. After exceeding the maximum time limit of the DoS attack, the active power transmitted by ICs fluctuates greatly, and the active power deviation among each microgrid is large. At this time, due to the influence of the DoS attack, each microgrid cannot achieve the goal of proportional sharing of active power through ICs.

4.2. IC Realizes Proportional Sharing of Active Power Under DoS Attack

In this section, the simulation results after 5.5 s are shown in Figure 7. After the DoS attack, the active power transmitted by ICs fluctuates greatly, and the active power deviation between each microgrid is large. At this time, due to the influence of the DoS attack, each microgrid cannot achieve the goal of proportional sharing of active power through IC. Aiming at this problem, after adopting the power sharing control strategy based on event-triggered control under DoS attack proposed in this paper, the active power transmitted by ICs tends towards a stable value, and the active power deviation among each microgrid tends towards 0, and at this time k a c 1 P a c 1 = k d c 2 P d c 2 = k d c 3 P d c 3 = k a c 4 P a c 4 = 0.96 ; it can be shown that, when a DoS attack occurs, ICs can realize the proportional sharing of active power.

5. Experimental Result

The hardware-in-the-loop (HIL) experimental platform of the interconnected microgrid test system is built according to Figure 5, as shown in Figure 8. The AC and DC microgrid replaces the DG units with an inverter. The star-connected three-phase linear load represents the unbalanced load (C-phase disconnection). The three-phase diode rectifier with capacitors and resistors on the DC side simulates the nonlinear load. The controller is implemented by the DSP. The main parameters of other power stage circuits and control systems are shown in Table 1 and Table 2. It is worth noting that the experiment is based on TMS320F28335 (main frequency 150 MHz) and HIL. Limited by the development of HIL technology, the maximum switching frequency of the converter deployed in HIL can only reach 1.5 kHz. Although the switching frequency is lower than that of the converter in practical applications, the core verification goal of the proposed control strategy is the stability and anti-DoS performance of multi-objective cooperative control, rather than high-frequency dynamic response.
Figure 9 shows the experimental results of this paper. It is worth noting that the DoS attack in the experimental part is completely consistent with the parameters in the simulation part. It can be seen from the figure that the DoS attack is detected at 5.5 s. As shown in Figure 9a, the power transmitted by each IC without the control strategy of this paper has been unstable, which indicates that the IC cannot achieve power sharing between interconnected microgrids at this time. As shown in Figure 9d, the power transmitted by each IC under the control strategy of this paper remains stable after the DoS attack, which indicates that the IC can realize power sharing between interconnected microgrids at this time. The experimental conclusions are the same as the simulation.

6. Discussion

Firstly, the strategy can improve the system’s reliability under DoS attack. The strategy uses historical data to compensate for the loss of communication during the attack, which significantly improves the stability of the system under attack. For example, microgrids suitable for critical infrastructure such as hospitals and military bases ensure that basic power supply functions can still be maintained when subjected to DoS attack. Secondly, the strategy of this paper can be based on the multi-agent consensus theory. Each unit only needs local information to cooperate and support the ’plug-and-play’ extension. At the same time, the simulation and experimental parts of this paper also verify the performance of multiple ICs (three or more). So the control strategy in this paper is also scalable. For example, it is suitable for dynamic expansion scenarios of urban microgrids or community-level microgrids, which simplifies the access process of new distributed power sources. At the same time, there are some limitations in this paper. Firstly, the current strategy is designed for nonlinear and unbalanced loads, but the adaptability to high-frequency disturbances or abrupt loads is not fully verified. Secondly, the simulation and experiment in this paper only verify the small-scale microgrid (three ICs), and the scalability of the large-scale system needs to be further verified. Thirdly, the strategy of this paper only analyzes the performance of ICs under a single DoS attack with different attack durations. For the performance under high-frequency attacks, this method has not yet been verified.

7. Conclusions

In this paper, the issue of power sharing among the interconnected AC and DC microgrids formed through ICs has been studied. To realize the active power sharing among the interconnected microgrid under DoS attack., this paper has proposed a distributed power sharing control strategy based on event-triggered control under DoS attack. Each IC has been defined as an agent, its first-order agent dynamics have been constructed, and a consensus control protocol has been designed. The stability judgment theorem and its asymptotic stability proof considering the DoS attack have been given. Finally, the simulation results have been provided to verify the effectiveness of the method.

Author Contributions

Methodology, C.J.; Software, Q.J.; Validation, S.L.; Investigation, X.L.; Writing—original draft, Z.Z.; Supervision, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Author Siyu Lv was employed by the Huaneng Nuclear Power Development Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. He, B.; Chen, W.; Li, X.; Shu, L.; Ruan, X. A Power Adaptive Impedance Reshaping Strategy for Cascaded DC System With Buck-Type Constant Power Load. IEEE Trans. Power Electron. 2022, 37, 8909–8920. [Google Scholar] [CrossRef]
  2. Jin, H.; Chen, W.; Hou, K.; Shao, S.; Shu, L.; Li, R. A Sharing-Branch Modular Multilevel DC Transformer With Wide Voltage Range Regulation for DC Distribution Grids. IEEE Trans. Power Electron. 2022, 37, 5714–5730. [Google Scholar] [CrossRef]
  3. Murillo-Yarce, D.; Riffo, S.; Restrepo, C.; González-Castaño, C.; Garcés, A. Model Predictive Control for Stabilization of DC Microgrids in Island Mode Operation. Mathematics 2022, 10, 3384. [Google Scholar] [CrossRef]
  4. Villalón, A.; Muñoz, C.; Muñoz, J.; Rivera, M. Fixed-Switching-Frequency Modulated Model Predictive Control for Islanded AC Microgrid Applications. Mathematics 2023, 11, 672. [Google Scholar] [CrossRef]
  5. Fan, S.; Fu, Y.K.; Liu, Y.; Deng, C. Round-Robin-Based Cooperative Resilient Control for AC/DC MG Under FDI Attacks. IEEE Trans. Ind. Electron. 2025, 1–10. [Google Scholar] [CrossRef]
  6. Zhang, D.; Feng, G. A New Switched System Approach to Leader–Follower Consensus of Heterogeneous Linear Multiagent Systems With DoS Attack. IEEE Trans. Syst. Man Cybern. Syst. 2021, 51, 1258–1266. [Google Scholar] [CrossRef]
  7. Moussa, H.; Shahin, A.; Martin, J.P.; Nahid-Mobarakeh, B.; Pierfederici, S.; Moubayed, N. Harmonic Power Sharing With Voltage Distortion Compensation of Droop Controlled Islanded Microgrids. IEEE Trans. Smart Grid 2018, 9, 5335–5347. [Google Scholar] [CrossRef]
  8. Sun, Q.; Han, R.; Zhang, H.; Zhou, J.; Guerrero, J.M. A Multiagent-Based Consensus Algorithm for Distributed Coordinated Control of Distributed Generators in the Energy Internet. IEEE Trans. Smart Grid 2015, 6, 3006–3019. [Google Scholar] [CrossRef]
  9. Chen, M.; Xiao, X.; Guerrero, J.M. Secondary Restoration Control of Islanded Microgrids With a Decentralized Event-Triggered Strategy. IEEE Trans. Ind. Inform. 2018, 14, 3870–3880. [Google Scholar] [CrossRef]
  10. Lu, J.; Zhang, B.; Hou, X.; Guerrero, J.M. A Distributed Control Strategy for Unbalanced Voltage Compensation in Islanded AC Microgrids Without Continuous Communication. IEEE Trans. Ind. Electron. 2023, 70, 2628–2638. [Google Scholar] [CrossRef]
  11. He, J.; Li, Y.W.; Munir, M.S. A Flexible Harmonic Control Approach Through Voltage-Controlled DG–Grid Interfacing Converters. IEEE Trans. Ind. Electron. 2012, 59, 444–455. [Google Scholar] [CrossRef]
  12. Qu, J.; Jatskevich, J.; Zhang, C.; Zhang, S. Torque Ripple Reduction Method for Permanent Magnet Synchronous Machine Drives With Novel Harmonic Current Control. IEEE Trans. Energy Convers. 2021, 36, 2502–2513. [Google Scholar] [CrossRef]
  13. Zhang, K.; Su, M.; Liu, Z.; Han, H.; Zhang, X.; Wang, P. A Distributed Coordination Control for Islanded Hybrid AC/DC Microgrid. IEEE Syst. J. 2023, 17, 1819–1830. [Google Scholar] [CrossRef]
  14. Wang, J.; Dong, C.; Jin, C.; Lin, P.; Wang, P. Distributed Uniform Control for Parallel Bidirectional Interlinking Converters for Resilient Operation of Hybrid AC/DC Microgrid. IEEE Trans. Sustain. Energy 2022, 13, 3–13. [Google Scholar] [CrossRef]
  15. Zhang, Y.; Wang, Z.; Wang, H.; Blaabjerg, F. Artificial Intelligence-Aided Thermal Model Considering Cross-Coupling Effects. IEEE Trans. Power Electron. 2020, 35, 9998–10002. [Google Scholar] [CrossRef]
  16. Deng, C.; Guo, F.; Wen, C.; Yue, D.; Wang, Y. Distributed resilient secondary control for DC microgrids against heterogeneous communication delays and DoS attacks. IEEE Trans. Ind. Electron. 2021, 69, 11560–11568. [Google Scholar] [CrossRef]
  17. Yao, W.; Wang, Y.; Xu, Y.; Deng, C. Cyber-Resilient Control of an Islanded Microgrid Under Latency Attacks and Random DoS Attacks. IEEE Trans. Ind. Inform. 2023, 19, 5858–5869. [Google Scholar] [CrossRef]
  18. Lian, Z.; Guo, F.; Wen, C.; Deng, C.; Lin, P. Distributed Resilient Optimal Current Sharing Control for an Islanded DC Microgrid Under DoS Attacks. IEEE Trans. Smart Grid 2021, 12, 4494–4505. [Google Scholar] [CrossRef]
  19. Guerrero, J.M.; Chandorkar, M.; Lee, T.L.; Loh, P.C. Advanced Control Architectures for Intelligent Microgrids—Part I: Decentralized and Hierarchical Control. IEEE Trans. Ind. Electron. 2013, 60, 1254–1262. [Google Scholar] [CrossRef]
  20. Loh, P.C.; Li, D.; Chai, Y.K.; Blaabjerg, F. Autonomous Control of Interlinking Converter With Energy Storage in Hybrid AC–DC Microgrid. IEEE Trans. Ind. Appl. 2013, 49, 1374–1382. [Google Scholar] [CrossRef]
  21. Zhang, D.; Liu, L.; Feng, G. Consensus of heterogeneous linear multiagent systems subject to aperiodic sampled-data and DoS attack. IEEE Trans. Cybern. 2018, 49, 1501–1511. [Google Scholar] [CrossRef] [PubMed]
  22. Wan, Y.; Wen, G.; Yu, X.; Huang, T. Distributed consensus tracking of networked agent systems under denial-of-service attacks. IEEE Trans. Syst. Man Cybern. Syst. 2020, 51, 6183–6196. [Google Scholar] [CrossRef]
  23. Zhao, N.; Shi, P.; Xing, W.; Agarwal, R.K. Resilient Event-Triggered Control for Networked Cascade Control Systems Under Denial-of-Service Attacks and Actuator Saturation. IEEE Syst. J. 2022, 16, 1114–1122. [Google Scholar] [CrossRef]
  24. Li, S.; Zou, W.; Guo, J.; Xiang, Z. Consensus of switched nonlinear multiagent systems subject to cyber attacks. IEEE Syst. J. 2021, 16, 4423–4432. [Google Scholar] [CrossRef]
  25. Olfati-Saber, R.; Murray, R. Consensus problems in networks of agents with switching topology and time-delays. IEEE Trans. Autom. Control 2004, 49, 1520–1533. [Google Scholar] [CrossRef]
  26. Zhai, M.; Sun, Q.; Wang, R.; Wang, B.; Liu, S.; Zhang, H. Fully Distributed Fault-Tolerant Event-Triggered Control of Microgrids Under Directed Graphs. IEEE Trans. Netw. Sci. Eng. 2022, 9, 3570–3579. [Google Scholar] [CrossRef]
  27. Wang, R.; Li, W.; Sun, Q.; Li, Y.; Gui, Y.; Wang, P. Fully Distributed Dynamic Edge-Event-Triggered Current Sharing Control Strategy for Multibus DC Microgrids With Power Coupling. IEEE Trans. Ind. Inform. 2023, 19, 5667–5678. [Google Scholar] [CrossRef]
  28. Ma, D.; Liu, M.; Zhang, H.; Wang, R.; Xie, X. Accurate Power Sharing and Voltage Regulation for AC Microgrids: An Event-Triggered Coordinated Control Approach. IEEE Trans. Cybern. 2022, 52, 13001–13011. [Google Scholar] [CrossRef]
  29. Zhang, H.; Kim, S.; Sun, Q.; Zhou, J. Distributed Adaptive Virtual Impedance Control for Accurate Reactive Power Sharing Based on Consensus Control in Microgrids. IEEE Trans. Smart Grid 2017, 8, 1749–1761. [Google Scholar] [CrossRef]
Figure 1. The structure of the interconnected microgrid with a ring communication topology.
Figure 1. The structure of the interconnected microgrid with a ring communication topology.
Mathematics 13 01499 g001
Figure 2. The comprehensive droop response curve of the interconnected microgrid.
Figure 2. The comprehensive droop response curve of the interconnected microgrid.
Mathematics 13 01499 g002
Figure 3. The ring communication network of ICs.
Figure 3. The ring communication network of ICs.
Mathematics 13 01499 g003
Figure 4. The overall control block diagram of the distributed control strategy is proposed.
Figure 4. The overall control block diagram of the distributed control strategy is proposed.
Mathematics 13 01499 g004
Figure 5. The flowchart of the control strategy and the simulation test system of AC and DC interconnected microgrids proposed in this paper.
Figure 5. The flowchart of the control strategy and the simulation test system of AC and DC interconnected microgrids proposed in this paper.
Mathematics 13 01499 g005
Figure 6. Power sharing response at λ s = 100 ms (a): Active power transferred by ICs. (b): Responses of k i P i . (c): Power sharing mismatches among microgrids, λ s = 150 ms (d): Active power transferred by ICs. (e): Responses of k i P i (f): Power sharing mismatches among microgrids, and λ s = 200 ms (g): Active power transferred by ICs. (h): Responses of k i P i . (i): Power sharing mismatches among microgrids.
Figure 6. Power sharing response at λ s = 100 ms (a): Active power transferred by ICs. (b): Responses of k i P i . (c): Power sharing mismatches among microgrids, λ s = 150 ms (d): Active power transferred by ICs. (e): Responses of k i P i (f): Power sharing mismatches among microgrids, and λ s = 200 ms (g): Active power transferred by ICs. (h): Responses of k i P i . (i): Power sharing mismatches among microgrids.
Mathematics 13 01499 g006
Figure 7. Power sharing response: the strategy is not started: (a): Active power transferred by ICs. (b): Responses of k i P i . (c): Power sharing mismatches among microgrids; the strategy is start-up: (d): Active power transferred by ICs. (e): Responses of k i P i . (f): Power sharing mismatches among microgrids.
Figure 7. Power sharing response: the strategy is not started: (a): Active power transferred by ICs. (b): Responses of k i P i . (c): Power sharing mismatches among microgrids; the strategy is start-up: (d): Active power transferred by ICs. (e): Responses of k i P i . (f): Power sharing mismatches among microgrids.
Mathematics 13 01499 g007
Figure 8. The overall control block diagram of the distributed control strategy proposed in this paper.
Figure 8. The overall control block diagram of the distributed control strategy proposed in this paper.
Mathematics 13 01499 g008
Figure 9. Power sharing response: the strategy is not started: (a): Active power transferred by ICs. (b): Responses of k i P i . (c): Power sharing mismatches among microgrids; the strategy is start-up: (d): Active power transferred by ICs. (e): Responses of k i P i . (f): Power sharing mismatches among microgrids.
Figure 9. Power sharing response: the strategy is not started: (a): Active power transferred by ICs. (b): Responses of k i P i . (c): Power sharing mismatches among microgrids; the strategy is start-up: (d): Active power transferred by ICs. (e): Responses of k i P i . (f): Power sharing mismatches among microgrids.
Mathematics 13 01499 g009
Table 1. Power stage parameters of the microgrid.
Table 1. Power stage parameters of the microgrid.
DG CapacityOutput FilterHarmonic Loads
P L f / C f C H L / R H L
20 kW1.85 mH/55 µF5 µF/2.5 Ω
Unbalanced LoadsRated Voltage and FrequencyLine Impedance
P IL / Q IL E/f Z l i n e
8 kW/10 kVAr120 V/60 Hz0.35 Ω + 0.55 mH
Table 2. Distributed controller parameters based on event-triggered control.
Table 2. Distributed controller parameters based on event-triggered control.
AC-MG Droop ControllerAC-MG PR ControllerDC-MG PI ControllerIC PI Controller
m(Hz/W)/V(V/VAr) k p V / k p I k p 1 / k i 1 k i c p / k i c i
2 × 10 5 / 1 × 10 3 1/50.001/1.90.5/280
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhao, Z.; Jia, Q.; Lyu, S.; Li, X.; Zhang, X.; Jiang, C. Distributed Power Sharing Control Strategy for Interconnected AC and DC Microgrids Based on Event-Triggered Control Under Denial-of-Service Attack. Mathematics 2025, 13, 1499. https://doi.org/10.3390/math13091499

AMA Style

Zhao Z, Jia Q, Lyu S, Li X, Zhang X, Jiang C. Distributed Power Sharing Control Strategy for Interconnected AC and DC Microgrids Based on Event-Triggered Control Under Denial-of-Service Attack. Mathematics. 2025; 13(9):1499. https://doi.org/10.3390/math13091499

Chicago/Turabian Style

Zhao, Zhiheng, Qi Jia, Siyu Lyu, Xinwei Li, Xiaoheng Zhang, and Chuanyu Jiang. 2025. "Distributed Power Sharing Control Strategy for Interconnected AC and DC Microgrids Based on Event-Triggered Control Under Denial-of-Service Attack" Mathematics 13, no. 9: 1499. https://doi.org/10.3390/math13091499

APA Style

Zhao, Z., Jia, Q., Lyu, S., Li, X., Zhang, X., & Jiang, C. (2025). Distributed Power Sharing Control Strategy for Interconnected AC and DC Microgrids Based on Event-Triggered Control Under Denial-of-Service Attack. Mathematics, 13(9), 1499. https://doi.org/10.3390/math13091499

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop