Next Article in Journal
Conversion of Potato Peel into Solid Biofuel Through Torrefaction in a Fluidized Bed of Olivine Sand
Previous Article in Journal
Increasing the Reactivity of Solid Fuel with Liquid Hydrocarbons from the Pyrolysis of Waste Tires
Previous Article in Special Issue
Model for Joint Operation of Multi-Energy Systems in Energy and Frequency Regulation Ancillary Service Markets Considering Uncertainty
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fully Decentralized Sliding Mode Control for Frequency Regulation and Power Sharing in Islanded Microgrids

Faculty of Engineering in Applied Sciences, Universidad Técnica del Norte, Ibarra 100102, Ecuador
*
Author to whom correspondence should be addressed.
Energies 2025, 18(20), 5495; https://doi.org/10.3390/en18205495 (registering DOI)
Submission received: 2 August 2025 / Revised: 2 October 2025 / Accepted: 16 October 2025 / Published: 18 October 2025

Abstract

This paper proposes a local sliding mode control (SMC) strategy for frequency regulation and active power sharing in islanded microgrids (MGs). Unlike advanced strategies, either droop-based or droop-free, that rely on inter-inverter communication, the proposed method operates in a fully decentralized manner, using only measurements available at each inverter. In addition, it adopts a minimalist structure that avoids adaptive laws and consensus mechanisms, which simplifies implementation. A discontinuous control law is derived to enforce sliding dynamics on a frequency-based surface, ensuring robust behavior in the face of disturbances, such as clock drifts, sudden load variations, and topological reconfigurations. A formal Lyapunov-based analysis is conducted to establish the stability of the closed-loop system under the proposed control law. The method guarantees that steady-state frequency deviations remain bounded and predictable as a function of the controller parameters. Simulation results demonstrate that the proposed controller achieves rapid frequency convergence, equitable active power sharing, and sustained stability. Owing to its communication-free design, the proposed strategy is particularly well-suited for MGs operating in rural, isolated, or resource-constrained environments. A comparative evaluation against both conventional droop and communication-based droop-free SMC approaches further highlights the method’s strengths in terms of resilience, implementation simplicity, and practical deployability.

1. Introduction

Microgrids (MGs) are self-sufficient energy systems that mainly integrate distributed generation (DG) units, storage components, and loads. When operating in islanded mode, MGs disconnect from the main grid. They must autonomously regulate their internal variables to ensure voltage amplitude/frequency quality, as well as balanced power sharing [1]. Voltage source inverters (VSIs), which constitute the interface layer of DG units, are central to this operation, acting as controllable bridges between energy sources and the islanded grid. From a cyber–physical viewpoint, MGs are regarded as multi-agent systems where each VSI functions as an autonomous agent interacting through electrical couplings such as voltage and frequency [2].
Traditional MG control relies on a hierarchical scheme. Primary control typically applies droop laws to achieve proportional power sharing using only local variables, but it inherently introduces steady-state frequency deviations [3]. Secondary control, often communication-based, compensates for these deviations by coordinating inverters via centralized or distributed algorithms [4,5]. Despite improvements in accuracy and flexibility [6,7], these approaches are vulnerable to communication failures [8,9], and their dependency on digital links limits their applicability in isolated, or degraded infrastructure environments.
To overcome these limitations, some approaches have proposed sparse-communication schemes for frequency restoration and active power sharing [10]. However, such methods still rely on digital channels, and their performance deteriorates in the presence of link failures. Recent advances have aimed at reducing this communication burden, for instance through event-triggered or sampled-data protocols that minimize message exchanges while preserving coordination [11]. Nevertheless, these methods still depend on digital infrastructure and remain vulnerable to packet loss, synchronization errors, or cyberattacks.
As more resilient alternatives, other works have explored fully communication-free control architectures that exploit the physical coupling of the electrical network to enable coordination through purely local interactions [12,13]. In these frameworks, each inverter adjusts its frequency based solely on internal variables, enabling plug-and-play operation and increased robustness in environments where reliable communications cannot be guaranteed. Beyond control-based solutions, other studies have pursued physically grounded strategies to enhance fault resilience without communication. For example, ref. [14] proposes a fault ride-through mechanism based on current limiters that ensures continued system operation under severe conditions, reinforcing the broader shift toward robust, communication-independent architectures across power system domains.
Sliding mode control (SMC) is a robust nonlinear control strategy widely used for its ability to reject matched disturbances and ensure finite-time convergence to a desired manifold [15,16]. Its implementation relies on discontinuous control actions that guide system trajectories onto a predefined sliding surface, providing resilience under model uncertainties and parameter variations. These features make SMC particularly appealing for MG inverter control, where robustness and simplicity are paramount [17].
Most SMC-based approaches for MGs, including [17,18,19,20,21], incorporate communication, consensus dynamics, higher-order sliding modes, or sensor observers that rely on global system information. Moreover, while most existing strategies focus primarily on steady-state performance, they often neglect performance analysis under perturbations. As a result, these methods may struggle to maintain robust operation in the presence of clock mismatches, abrupt load changes, or network reconfigurations.
To the best of the authors’ knowledge, strictly local SMC schemes, where each inverter uses only its own frequency and power measurements, without estimation, synchronization, or messaging, remain largely unexplored in the literature. In response to this gap, this paper proposes a local SMC method for frequency restoration and active power sharing in islanded MGs, entirely free of communication dependencies. The sliding surface is defined solely in terms of the local frequency error, eliminating the need for neighbor information or external synchronization. The proposed control law is embedded within a droop-based hierarchical framework, and its switching strategy operates exclusively on local variables.
This design is particularly suited for resilient MG operation in scenarios where digital communication is impractical, unreliable, or intentionally avoided. A Lyapunov-based analysis is provided to establish theoretical guarantees of closed-loop stability, and simulation results confirm that the system maintains synchronized frequency and balanced power sharing even under disturbances.
Beyond performance and robustness, the communication-free nature of the controller also offers benefits in terms of cybersecurity: avoiding digital links reduces the system’s attack surface. While not the primary focus of this study, related concerns such as attack detection in resource-constrained environments [22] warrant further investigation. Finally, this work openly acknowledges its limitations: the frequency regulation is bounded rather than exact; chattering may occur due to the discontinuous nature of the control law; and the validation is limited to a testbed without hardware-level modeling.
The remainder of this paper is structured as follows. Section 2 presents the MG modeling and Section 3, the local control framework. Section 4 introduces the proposed sliding mode control law. Section 5 develops a formal Lyapunov-based stability analysis. Section 6 reports simulation results on a four-inverter MG. Section 7 discusses system performance and limitations. Finally, Section 8 concludes the paper and outlines directions for future work.

2. MG Electrical Network Model

The electrical structure of the islanded MG is modeled under the assumption of purely local control. Unlike distributed approaches that rely on inter-node communication, the proposed scheme operates without any communication links, and therefore, the dynamic behavior is driven exclusively by local measurements and electrical coupling.
The MG is represented as an undirected graph G E = ( N , E E ) , where N = { 1 , 2 , , n } denotes the set of n DG units, and E E N × N is the set of electrical connections among them. Each edge in E E corresponds to an impedance line characterized by an admittance y i j = g i j + j b i j , where g i j and b i j denote the conductance and susceptance between each pair of nodes ( i , j ) , respectively.
Under the standard assumptions of power systems modeling [23], namely, uniform voltage magnitudes and small phase angle differences, the active power injected by each node i, p i ( t ) , is given by
p i ( t ) = v 2 j = 1 n g i j + v 2 j = 1 n b i j θ i ( t ) θ j ( t ) ,
where v is the common voltage magnitude, and θ i , j ( t ) are the voltage phases at nodes i , j . The first term accounts for the resistive losses, while the second term represents the power exchange due to phase differences.
Let p ( t ) = [ p 1 ( t ) , , p n ( t ) ] be the VSI active powers and θ ( t ) = [ θ 1 ( t ) , , θ n ( t ) ] , the set of phase angles; the active power injection (1) can be expressed in vector form as
p ( t ) = v 2 G 1 n + v 2 B θ ( t ) ,
where G R n × n contains the conductance values g i j , B R n × n is the susceptance Laplacian matrix of the electrical graph, and 1 n R n is the all-ones vector. The Laplacian matrix is defined as
B = j 1 b 1 j b 12 b 1 n b 21 j 2 b 2 j b 2 n b n 1 b n 2 j n b n j .
In this work, B is defined under the assumption of a balanced electrical network, where the total susceptance observed at each node is symmetric. Consequently, B is a Laplacian matrix satisfying B = B , B 0 , and B · 1 n = 0 . This structural property simplifies the derivation of stability results. Nonetheless, practical MGs may exhibit topological asymmetries or parameter mismatches that violate this ideal balance.
Taking the time derivative of the power injection (2), and noting that frequency is the time derivative of the phase, ω ( t ) = θ ˙ ( t ) , the dynamic relationship is stated as
p ˙ ( t ) = v 2 B ω ( t ) ,
that links the frequency dynamics directly to the rate of change in active power, and serves as the foundation for analyzing the stability of the proposed local sliding mode control law.

3. Local Control Framework

This section revisits the standard droop control paradigm for local frequency regulation in islanded MGs.

3.1. Conventional Droop Control

In islanded MGs, frequency droop control is a widely adopted strategy for decentralized regulation of DG units [3]. The droop method establishes a linear relationship between the frequency deviation and the active power injection at each inverter, enabling autonomous load sharing and frequency regulation based solely on local measurements.
The classical frequency droop control law implemented at each node i N is given by
ω i ( t ) = ω 0 m p i ( t ) ,
where ω i ( t ) is the instantaneous frequency of inverter i, ω 0 is the nominal reference frequency, p i ( t ) is its locally measured active power injection (1), and m i > 0 is the uniform droop gain applied across all nodes. This scalar coefficient governs the trade-off between dynamic response and steady-state frequency deviation. Although in practice each inverter may have a distinct droop gain m i , this work adopts the homogeneous case m i = m for all i N to simplify the analysis. The proposed method and its theoretical properties remain applicable to the heterogeneous scenario, which can be addressed through local gain rescaling or adaptive extensions.
Defining the vector of VSI local frequencies ω ( t ) = [ ω 1 ( t ) , , ω n ( t ) ] , the droop control law (5) can be written as
ω ( t ) = ω 0 1 n m p ( t ) .

3.2. Steady-State Requirements for Frequency and Power Sharing

In steady-state conditions, defined as t , the system is required to satisfy
ω ( t ) ω 0 1 n ,
p ( t ) p T n 1 n ,
where p T is the total active power demanded by the load. These asymptotic conditions ensure frequency synchronization and balanced active power sharing under decentralized and communication-free operation.

3.3. Local Voltage Regulation

Although the main focus of this work is on frequency and active power control, voltage amplitude is assumed to be regulated independently at each node via a conventional voltage droop law. In vector form, this control can be expressed as
v ( t ) = v 0 1 n c q ( t ) ,
where v ( t ) = [ v 1 ( t ) , , v n ( t ) ] is the vector of voltage magnitudes, q ( t ) = [ q 1 ( t ) , , q n ( t ) ] is the vector of local reactive power injections, v 0 is the nominal reference voltage, and c > 0 is a proportional gain applied identically at all nodes.

4. Sliding Mode-Based Frequency Control

This section introduces an enhancement to conventional droop control through a sliding mode term that enforces finite-time convergence to the nominal frequency.

4.1. Local SMC Law and Sliding Surface

The control objective is to synchronize all local inverter frequencies to a common nominal value ω 0 , relying solely on local measurements of frequency. To enhance the baseline behavior defined by the conventional droop law (5), a discontinuous sliding term is added. As a result, the dynamic behavior of each ith node is defined by
ω i ( t ) = ω 0 m p i ( t ) + k sgn ( s i ( t ) ) ,
where k > 0 is the sliding mode gain to enhance robustness, and s i ( t ) is the sliding surface defined as the local frequency error
s i ( t ) = ω 0 ω i ( t ) .
The sign function in (10) applies a maximal corrective action when the error is non-zero and ceases once the system reaches the surface, satisfying s i ( t ) = 0 . This yields the switching behavior
sgn ( s i ( t ) ) = + 1 if s i ( t ) > 0 , 0 if s i ( t ) = 0 , 1 if s i ( t ) < 0 .
By aggregating all variables into vector form, the SMC law (10) becomes
ω ( t ) = ω 0 1 n m p ( t ) + k · sgn ( S ( t ) ) ,
where the vectorial version of the sliding surface in (11) is defined as
S ( t ) = ω 0 1 n ω ( t ) .
Differentiating (14) gives the frequency error dynamics
S ˙ ( t ) = ω ˙ ( t ) .
This expression clearly shows that the frequency dynamics are directly influenced by the discontinuous control term and do not require neighborhood information or power-sharing calculations, as in droop-free and consensus strategies.

4.2. Sliding Mode Behavior

Once the system trajectories reach the surface S ( t ) = 0 , the dynamics enter the sliding regime. By enforcing S ˙ ( t ) = 0 , the induced motion becomes
ω ˙ ( t ) = 0 ω ( t ) = ω 0 1 n , t t s ,
with t s being the finite reaching time. Therefore, frequency synchronization is achieved for all nodes.

5. Stability Analysis

The stability of the MG under the proposed sliding mode controller (13) is examined through a Lyapunov-based analysis. Global convergence and asymptotic stability are established by examining the system dynamics in two distinct regions: off the sliding surface and on it.

5.1. Lyapunov-Based Stability Analysis

Consider the Lyapunov candidate function
V ( t ) = 1 2 S ( t ) S ( t ) ,
where S ( t ) = ω 0 1 n ω ( t ) , defined in (14), denotes the vector of frequency errors. This candidate is positive definite for all S ( t ) 0 and vanishes only at the equilibrium. Its time derivative, replacing (15), is
V ˙ ( t ) = S ( t ) S ˙ ( t ) = S ( t ) ω ˙ ( t ) .

5.1.1. Outside the Sliding Surface

When S ( t ) 0 , the sign function is locally constant (1 or 1 ), and its derivative is
d d t sgn ( S ( t ) ) = 0 , a . e .
Under this condition, the dynamics of the frequency (13) become
ω ˙ ( t ) = m p ˙ ( t ) ,
and substituting (4) yields
ω ˙ ( t ) = m v 2 B ω ( t ) .
By substituting (21) into (18) and applying the identity ω ( t ) = ω 0 1 n S ( t ) , the expression becomes
V ˙ ( t ) = m v 2 ω 0 S ( t ) B 1 n m v 2 S ( t ) B S ( t ) .
Since the power network is balanced, B 0 , then, the susceptance Laplacian satisfies B 1 n = 0 by construction. Hence, the Lyapunov derivative reduces to
V ˙ ( t ) = m v 2 S ( t ) B S ( t ) 0 ,
which confirms that the system exhibits global asymptotic stability outside the sliding surface.

5.1.2. On the Sliding Surface

When S ( t ) = 0 , the inverter frequencies satisfy ω ( t ) = ω 0 1 n , and the system enters the sliding regime. In this regime, the control law becomes discontinuous due to the sign function, which is not uniquely defined at zero. This leads to a set-valued right-hand side in the differential equation, requiring interpretation via the Filippov framework [24,25]. Under this formulation, the control term satisfies
sgn ( S ( t ) ) [ 1 , 1 ] n ,
and the system dynamics follow the differential inclusion
ω ˙ ( t ) F [ f ] ( ω ( t ) ) : = co ¯ lim ϵ 0 ± f ( ω ( t ) + ϵ ) ,
where co ¯ { · } denotes the closed convex hull of the limiting vector fields approaching from both sides.
Physically, the Filippov representation avoids discontinuous “jumps” by allowing the trajectories to slide along the manifold S ( t ) = 0 . This sliding motion corresponds to the desired steady-state regime, where all inverter frequencies synchronize at the nominal value ω 0 , and the control law adapts within the Filippov set to reject bounded disturbances and model uncertainties. The inverter behavior remains robust and predictable, despite the non-smooth nature of the control input.
To analyze convergence to the sliding surface, consider the Lyapunov function (17). Its time derivative reduces to (23), that is V ˙ ( t ) = m v 2 S ( t ) B S ( t ) 0 , where m > 0 and v > 0 are controller gains. Since B 0 on the orthogonal subspace 1 n , it follows that
V ˙ ( t ) α S ( t ) 2 , with α = m v 2 λ min ( B | 1 n ) > 0 ,
where λ min ( B | 1 n ) denotes the smallest non-zero eigenvalue of B restricted to 1 n . This eigenvalue has a physical interpretation: it quantifies the electrical connectivity among inverters. A larger value implies stronger coupling and faster convergence to the synchronous regime.
From inequality (26), an upper bound on the reaching time can be derived as
t s V ( 0 ) α = S ( 0 ) 2 2 α ,
showing that trajectories reach the sliding surface in finite time.
Once the surface is reached, the invariance condition S ˙ ( t ) = 0 implies
V ˙ ( t ) = 0 , V ( t ) = const ,
confirming that the manifold S ( t ) = 0 is invariant for t t s . In this regime, the frequency vector satisfies
ω ( t ) = ω 0 1 n , t t s ,
which guarantees synchronized frequency regulation across all inverters.
In Filippov’s sense, the closed-loop dynamics in sliding mode are governed by the inclusion
ω ˙ ( t ) F m p ˙ ( t ) + k sgn ( S ( t ) ) = co lim ϵ 0 ± f ( ω ( t ) + ϵ ) .
This set-valued formulation ensures well-defined system trajectories even under non-smooth control inputs, and under mild conditions (e.g., transversality and local Lipschitz continuity), guarantees existence and uniqueness of solutions. The result is a robust and stable inverter behavior aligned with the design objectives of the proposed control scheme.

5.2. Steady-State Frequency Under Sliding Mode Control

Assuming that each inverter delivers a constant steady-state power p i ( ) = P T n , as specified in (8), and that the frequency converges to a common value ω i ( ) = ω for all i { 1 , , n } , substituting these conditions into (10) yields
ω = ω 0 m P T n + k sgn ( ω 0 ω ) .
The sign function in (31) introduces a piecewise behavior depending on the relation between ω and ω 0 :
  • If ω < ω 0 , then sgn ( ω 0 ω ) = 1 , and
    ω = ω 0 m P T n + k .
  • If ω > ω 0 , then sgn ( ω 0 ω ) = 1 , and
    ω = ω 0 m P T n k .
  • If ω = ω 0 , then sgn ( 0 ) [ 1 , 1 ] , and the condition becomes
    m P T n = k ξ , with ξ [ 1 , 1 ] ,
    which implies
    m P T n k .
Therefore, the system achieves frequency regulation ω = ω 0 if and only if condition (35) holds. Otherwise, a bounded steady-state deviation from the nominal frequency will arise, determined by the magnitude of the injected power and the control gain k. Physically, this result reveals the robustness of the control law: as long as the total power demand per inverter remains within a range dictated by k m , the system maintains synchronization at the nominal frequency. For higher loads, the control enters a sliding regime with predictable and bounded frequency offsets, still ensuring convergence and consistent operation across all inverters.

5.3. Impact of Chattering on Inverter Operation

The discontinuous term in (10) provides the robustness properties of SMC but also introduces chattering, i.e., high-frequency oscillations of the control action around the sliding surface. In power electronic converters, chattering may degrade power quality, increase switching losses, and cause thermal stress on power semiconductors [26,27].
To mitigate this effect, practical implementations often employ boundary layer approximations [28,29,30] or higher-order sliding modes to smooth the control action. A common boundary layer approximation replaces the discontinuous sign function by a continuous saturation function,
sgn δ ( s i ) = + 1 if s i > δ , s i / δ if | s i | δ , 1 if s i < δ ,
where δ > 0 defines the layer thickness. Within this layer, the controller behaves as a continuous feedback, limiting the frequency of commutation events.
Under the ideal discontinuous law (10), the control input of inverter i is
u i ( t ) = k sgn ( s i ( t ) ) .
Because of the discontinuity of sgn ( · ) , u i ( t ) may switch rapidly when trajectories oscillate near s i = 0 .
To assess the impact of chattering, a smoothed version of the control input can be introduced as follows:
u i η ( t ) = k sat s i ( t ) η ,
where
sat ( x ) = 1 x > 1 , x | x | 1 , 1 x < 1 ,
and η > 0 defines the boundary layer thickness. This modification preserves the sliding dynamics for | s i | > η while reducing high-frequency commutation around the surface.
The effective switching frequency induced by chattering can be approximated by the frequency of zero-crossings of s i ( t ) . Let T c be the mean time between consecutive sign changes in u i ( t ) , then
f eff = 1 2 T c .
In a PWM-based inverter, the total power dissipated due to switching events is estimated by
P sw = n s E sw f eff ,
where n s is the number of power semiconductors switched per event and E sw is the energy lost per switching transition. Therefore, reducing f eff through boundary layers or smoothing techniques is crucial for minimizing switching losses [26,29].

6. Results

This section presents a simulation scenario considering a four-node islanded MG to demonstrate the performance of the proposed strategy.

6.1. Simulation Setup

Figure 1 illustrates the MG structure where four electronically coupled distributed generators G 1 , 2 , 3 , 4 operate as VSI. Each VSI locally regulates the voltage amplitude and frequency while delivering active and reactive power to supply a common load Z G . Additionally, a local load Z L 1 is connected to generator G 1 . Z 1 , 2 , 3 represents the impedances of the transmission line parasitic components, T 1 , 2 , 3 , 4 models the isolation transformers at the output of each converter, and S 1 , 2 , 3 , 4 are the local frequency sensors. Times t 1 to t 4 reflect individual clock drifts across generators. Virtual impedance Z v is digitally implemented in all VSIs.
The MG components are simulated in MATLAB/Simulink version 2025a, following the modeling approach described in [31]. Electrical dynamics are captured using the SimPowerSystems toolbox, which provides comprehensive libraries for modeling and analyzing power system components. Local control behavior, including the execution of frequency and voltage regulation loops as well as timing effects, is simulated using the TrueTime toolbox [32], enabling co-simulation between power electronics and real-time control kernels. Figure 2 shows the full simulation architecture, which mirrors the physical MG topology presented in Figure 1. Each generator G i is implemented as a virtual grid-forming converter with embedded control logic executed by a dedicated real-time kernel. Loads, transmission lines, sensors, and transformers are labeled consistently with their experimental counterparts. Supervision blocks continuously monitor variables such as active and reactive power, voltage, and frequency, exporting data to the MATLAB workspace for post-processing. Although the simulation platform supports communication links, this feature is deliberately omitted to preserve the strictly local nature of the proposed control scheme. This setup reflects practical scenarios in rural or isolated MGs, where communication links may be unreliable, expensive, or deliberately omitted.
Each VSI in the simulated scheme of Figure 2 follows the block diagram shown in Figure 3. The control algorithm is executed within a real-time simulation kernel that governs two voltage sources generating sinusoidal signals in the α β reference frame. These voltages are synthesized according to the local sliding mode control law. Currents and frequency are measured and fed back into the kernel to compute the frequency correction term.
The most relevant simulation parameters for the MG scenario are listed in Table 1. When active, clock drifts d 1 , 2 , 3 , 4 have been deliberately exaggerated to accentuate the impact of asynchrony. The gains m in (6), c in (9), and k in (13), are tuned to ensure smooth and representative behavior across all test cases. For simplicity, identical gain values are assigned to all VSI, although the analysis remains valid even when heterogeneous gains are used.

6.2. Controller Gain Selection and Impact

The parameters c, m, and k govern the dynamic behavior of the droop-based and sliding mode control loops. In this work, these gains are adjusted to balance convergence speed, robustness, and numerical stability in simulation scenarios. Although no formal optimization is applied, their selection follows established engineering principles.
The voltage droop gain c is set to a low value (e.g., 1 μV/VAr) to prioritize voltage stability while minimizing reactive power oscillations. The droop gain m defines the inverse slope of the frequency–power characteristic. Lower values of m improve frequency regulation by reducing steady-state deviation but compromise power-sharing fairness under unbalanced loading. A typical range is 0.5–2 mrad/(W · s); in this paper, a uniform value of m = 1 mrad / ( W · s ) is used across all inverters for simplicity.
The sliding mode gain k controls the magnitude of the discontinuous switching action. According to (35), k must be sufficiently large to guarantee finite-time convergence and robustness to matched disturbances. However, excessive values of k increase the risk of chattering and associated switching losses. A value of k = 2 π 5 mrad / s yields satisfactory performance in the tested scenarios.
While gains are chosen uniformly in this study, practical implementations may benefit from heterogeneous tuning based on inverter ratings or local impedance characteristics.
Preliminary sensitivity tests indicate that the system remains stable for parameter variations up to ± 30 % in both m and k. Increasing k results in faster convergence but amplifies chattering, whereas reducing k diminishes robustness. Similarly, decreasing m improves frequency accuracy but worsens power-sharing precision.
A detailed parametric analysis is outside the scope of this paper. However, Table 2 summarizes the key parameters used and their qualitative impact on system behavior.

6.3. Simulation Results

Figure 4 illustrates the dynamic response of the MG under ideal conditions, where conventional droop control is applied initially, followed sequentially by the activation of the proposed sliding mode controller. The simulation begins at time t = 0 s with balanced initial conditions, where each inverter regulates its output frequency and active power according to the droop law (6). At time t = 10 s, the control strategy transitions to the proposed SMC formulation (13). Throughout the entire simulation, voltage and reactive power are regulated via the standard voltage droop mechanism (9). The frequency converges rapidly to its nominal value with negligible steady-state error, significantly reducing the droop-induced deviation, while active power is evenly shared among the inverters.
To evaluate robustness, an MG control experiment employing the proposed SMC strategy is illustrated in Figure 5. The simulation spans 20 s and comprises four distinct phases. From time t = 0 s, the system initiates operation under clock drift conditions. At t = 5 s, the global impedance drops to Z G = Z G min , increasing the power demand across all inverters. This perturbation is reverted at t = 10 s, when the impedance returns to its nominal value Z G = Z G max . At t = 15 s, a line fault occurs, fragmenting the electrical network by disconnecting specific links and modifying the grid topology (from a unified structure to isolated pairs: G 1 G 2 and G 3 G 4 ). No communication infrastructure is employed.
To compare control strategies under identical operating conditions, Figure 6 presents two MG experiments lasting 12 s and subjected to the same sequence of disturbances described above. From time t = 2 s, the system operates under clock drift; at t = 4 s, a drop in global impedance increases the overall load; at t = 6 s, the impedance returns to its nominal value; at t = 8 s, a line fault fragments the electrical network topology; and at t = 10 s, a communication network failure is introduced in the droop-free SMC implementation. In both experiments, only active power and frequency responses are observed. Figure 6a,c corresponds to the proposed local SMC strategy, while Figure 6b,d depicts the system behavior under the SMC [19] that relies on inter-inverter communication. Despite undergoing the same disturbance sequence, the local SMC maintains stable frequency and balanced power sharing without a communication infrastructure, underscoring its resilience and decentralized nature.

7. Discussion

This section discusses the control performance based on simulation results, emphasizing frequency regulation, robustness, steady-state accuracy, and comparative advantages.

7.1. Active Power Sharing and Frequency Restoration

The proposed local SMC ensures rapid frequency convergence and uniform active power distribution under both ideal and perturbed conditions. In the first experiment (Figure 4), frequency regulation improves markedly after switching from conventional droop to local SMC, converging to a neighborhood of the nominal value, with limited chattering due to the discontinuous nature of the control law. In the second experiment (Figure 5), the controller sustains frequency regulation and power sharing despite perturbations. Although the test case includes only four VSIs, the proposed control law is inherently scalable, as it does not rely on information from neighboring nodes. Nevertheless, in larger networks with heterogeneous line impedances or unbalanced topologies, power-sharing accuracy may deteriorate unless control gains are locally tuned.

7.2. Robustness Under Perturbations

The results in Figure 5 validate the robustness of the proposed method against three realistic sources of disturbances: clock drifts, load changes, and electrical network fragmentation. In all scenarios, the system maintains stable and coordinated operation without inter-node communication. The ability to reject disturbances demonstrates that the sliding mode dynamics remain attractive and invariant, with robustness embedded directly into the local control law. This eliminates dependence on global information and reduces vulnerability to these perturbations. In contrast, the droop-free SMC method becomes unstable after t = 10 s, when the communication network fails and power sharing among inverters is no longer coordinated.

7.3. Steady-State Accuracy vs. Simplicity

Steady-state values of frequency remain within a small bounded region around the nominal reference, a typical characteristic of discontinuous sliding mode control. This residual oscillation is constrained by the controller gain and can be further reduced with boundary layer techniques. The lack of an integral action in the sliding surface formulation implies a trade-off between frequency restoration accuracy and implementation simplicity. While frequency does not converge exactly to the nominal reference, the deviation remains bounded and predictable. In return, the controller avoids complex filtering, numerical integration, or centralized information exchange, making it highly suitable for deployment in isolated or resource-constrained MGs. This design decision aligns with the goal of achieving robust autonomy at the node level.
The proposed analysis assumes ideal frequency and power measurements, free of noise, delay, or quantization effects. In practice, such imperfections may introduce additional variability in steady-state frequency or interfere with sliding accuracy. Moreover, while the sliding mode law guarantees bounded frequency convergence, it does not enforce exact regulation. This limitation is inherent to the absence of integral action in the surface formulation, and reflects a deliberate design trade-off: by avoiding estimation, filtering, or synchronization layers, the controller preserves structural simplicity and remains entirely communication-free. These characteristics make it well-suited for autonomous operation in constrained environments. Although the control law is inherently scalable, its performance in large, heterogeneous MGs may degrade unless gains are locally adapted.

7.4. Comparison with Communication-Based Approaches

The comparative experiments illustrate the trade-offs among conventional droop, the proposed local SMC, and the communication-based droop-free SMC. While all strategies deliver satisfactory performance under identical disturbances, the local SMC achieves this without requiring synchronization or message exchange. This enhances its resilience to communication failures and makes it a compelling option for islanded or resource-constrained MGs. These observations are summarized in Table 3, which contrasts the advantages and limitations of each approach.

8. Conclusions and Future Work

This work has presented a distributed control strategy for islanded MGs based on sliding mode control, formulated to operate without inter-VSI communication. The proposed method ensures frequency regulation and active power sharing through a discontinuous control law defined locally at each VSI, relying solely on local measurements. These features make this method highly suitable for decentralized, autonomous deployment in resource-constrained environments.
Simulation results demonstrate that the proposed controller effectively rejects both realistic and exaggerated disturbances, including clock mismatches, abrupt load variations, and network fragmentation—while maintaining system stability and ensuring small, bounded steady-state frequency deviations. A comparative evaluation against conventional droop control and a droop-free sliding mode strategy with communication underscores the advantages of the proposed local SMC in terms of modularity, implementation simplicity, and inherent resilience to communication failures.
Future work will address the main limitations of the proposed approach and broaden its applicability. To improve frequency restoration without compromising robustness, the control design can be extended by incorporating integral sliding surfaces based on the accumulated frequency error. This modification aims to eliminate residual steady-state deviations while maintaining locality. In parallel, strategies such as boundary layer approximations, continuous control laws, and hysteresis-based implementations can be studied to mitigate chattering and reduce its impact on switching losses and power quality. Scalability in large, heterogeneous MGs can be addressed through adaptive or data-driven gain tuning methods, which can better accommodate varying network conditions. Furthermore, experimental validation using hardware-in-the-loop testbeds can be pursued to assess practical feasibility under real-time constraints, sensor imperfections, and quantization.

Author Contributions

This paper was a collaborative effort among all authors. All authors participated in the analysis, discussed the results, and wrote the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Universidad Técnica del Norte, within the project 0000001349.

Data Availability Statement

The data supporting the findings of this study are available on request from the corresponding authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Han, Y.; Li, H.; Shen, P.; Coelho, E.A.A.; Guerrero, J.M. Review of active and reactive power sharing strategies in hierarchical controlled microgrids. IEEE Trans. Power Electron. 2017, 32, 2427–2451. [Google Scholar] [CrossRef]
  2. Dou, C.; Yue, D.; Guerrero, J.M. Multiagent system-based event-triggered hybrid controls for high-security hybrid energy generation systems. IEEE Trans. Ind. Inform. 2017, 13, 584–594. [Google Scholar] [CrossRef]
  3. Chandorkar, M.C.; Divan, D.M.; Adapa, R. Control of parallel connected inverters in standalone AC supply systems. IEEE Trans. Ind. Appl. 1993, 29, 136–143. [Google Scholar] [CrossRef]
  4. Andreasson, M.; Dimarogonas, D.V.; Sandberg, H.; Johansson, K.H. Distributed control of networked dynamical systems: Static feedback, integral action and consensus. IEEE Trans. Autom. Control 2014, 59, 1750–1764. [Google Scholar] [CrossRef]
  5. Simpson-Porco, J.W.; Shafiee, Q.; Dorfler, F.; Vasquez, J.C.; Guerrero, J.M.; Bullo, F. Secondary frequency and voltage control of islanded microgrids via distributed averaging. IEEE Trans. Ind. Electron. 2015, 62, 7025–7038. [Google Scholar] [CrossRef]
  6. Khan, M.Y.A.; Liu, H.; Zhang, Y.; Wang, J. Hybrid AC/DC Microgrid: Systematic Evaluation of Interlinking Converters, Control Strategies, and Protection Schemes: A Review. IEEE Access 2024, 12, 160097–160132. [Google Scholar] [CrossRef]
  7. Li, C.; Yu, X.; Yu, W.; Huang, T.; Liu, Z.W. Distributed event-triggered scheme for economic dispatch in smart grids. IEEE Trans. Ind. Inform. 2016, 12, 1775–1785. [Google Scholar] [CrossRef]
  8. Rosero, C.X.; Velasco, M.; Martí, P.; Camacho, A.; Miret, J.; Castilla, M. Analysis of Consensus-Based Islanded Microgrids Subject to Unexpected Electrical and Communication Partitions. IEEE Trans. Smart Grid 2019, 10, 5125–5135. [Google Scholar] [CrossRef]
  9. Rosero, C.X.; Velasco, M.; Martí, P.; Camacho, A.; Miret, J.; Castilla, M. Active Power Sharing and Frequency Regulation in Droop-Free Control for Islanded Microgrids Under Electrical and Communication Failures. IEEE Trans. Ind. Electron. 2020, 67, 6461–6472. [Google Scholar] [CrossRef]
  10. Nasirian, V.; Shafiee, Q.; Guerrero, J.M.; Lewis, F.L.; Davoudi, A. Droop-free distributed control for AC microgrids. IEEE Trans. Power Electron. 2016, 31, 1600–1617. [Google Scholar] [CrossRef]
  11. Xiao, S.; Ge, X.; Ding, L.; Yue, D. A Bandwidth-Conscious Event-Based Control Approach to Secondary Frequency Regulation Under Vehicle-to-Grid Service. IEEE Trans. Smart Grid 2024, 15, 3739–3750. [Google Scholar] [CrossRef]
  12. Rey, J.M.; Martí, P.; Velasco, M.; Miret, J.; Castilla, M. Secondary switched control with no communications for islanded microgrids. IEEE Trans. Ind. Electron. 2017, 64, 8534–8545. [Google Scholar] [CrossRef]
  13. Rey, J.M.; Rosero, C.X.; Velasco, M.; Martí, P.; Miret, J.; Castilla, M. Local frequency restoration for droop-controlled parallel inverters in islanded microgrids. IEEE Trans. Energy Convers. 2019, 34, 1232–1241. [Google Scholar] [CrossRef]
  14. Liu, C.; Li, B.; Zhang, Y.; Zhang, Y.; Jiang, Q.; Liu, T. The LCC type DC grids forming method and fault ride-through strategy based on fault current limiters. Int. J. Electr. Power Energy Syst. 2025, 170, 110843. [Google Scholar] [CrossRef]
  15. Utkin, V. Variable structure systems with sliding modes. IEEE Trans. Autom. Control 1977, 22, 212–222. [Google Scholar] [CrossRef]
  16. Rubagotti, M.; Estrada, A.; Castanos, F.; Ferrara, A.; Fridman, L. Integral sliding mode control for nonlinear systems with matched and unmatched perturbations. IEEE Trans. Automat. 2011, 56, 2699–2704. [Google Scholar] [CrossRef]
  17. Cucuzzella, M.; Incremona, G.P.; Ferrara, A. Design of robust higher order sliding mode control for microgrids. IEEE J. Emerg. Sel. Top. Circuits Syst. 2015, 5, 393–401. [Google Scholar] [CrossRef]
  18. Shahzad, E.; Khan, A.U.; Iqbal, M.; Saeed, A.; Hafeez, G.; Waseem, A.; Albogamy, F.R.; Ullah, Z. Sensor Fault-Tolerant Control of Microgrid Using Robust Sliding-Mode Observer. Sensors 2022, 22, 2524. [Google Scholar] [CrossRef] [PubMed]
  19. Rosero, C.X.; Gavilánez, M.; Mejía-Echeverría, C. Droop-Free Sliding-Mode Control for Active-Power Sharing and Frequency Regulation in Inverter-Based Islanded Microgrids. Energies 2023, 16, 6442. [Google Scholar] [CrossRef]
  20. Alfaro, C.; Guzman, R.; De Vicuña, L.G.; Komurcugil, H.; Martín, H. Distributed direct power sliding-mode control for islanded AC microgrids. IEEE Trans. Ind. Electron. 2022, 69, 9700–9710. [Google Scholar] [CrossRef]
  21. Alfaro, C.; Guzman, R.; Camacho, A.; Borrell, Á.; De Vicuña, L.G. A Novel Complex Power Sharing Based on Sliding Mode Control for Islanded AC Microgrids. IEEE Trans. Ind. Electron. 2025, 72, 5507–5517. [Google Scholar] [CrossRef]
  22. Xiao, S.; Ding, L.; Ye, M.; Yue, D.; Ge, H. Resource-Efficient and Resilient SOC/SOH Co-Monitoring of EV Batteries with Attack Detection. IEEE Trans. Smart Grid 2025, 16, 2529–2540. [Google Scholar] [CrossRef]
  23. Kundur, P.S.; Malik, O.P. Power System Stability and Control; McGraw-Hill Education: New York, NY, USA, 2022. [Google Scholar]
  24. Filippov, A.F. Differential Equations with Discontinuous Right-Hand Sides; Springer: Dordrecht, The Netherlands, 1988. [Google Scholar]
  25. Cortés, J. Discontinuous Dynamical Systems. IEEE Control Syst. Mag. 2008, 28, 36–73. [Google Scholar]
  26. Wu, L.; Liu, J.; Vázquez, S.; Mazumder, S.K. Sliding Mode Control in Power Converters and Drives: A Review. IEEE/CAA J. Autom. Sin. 2022, 9, 392–406. [Google Scholar] [CrossRef]
  27. Lee, H.; Utkin, V.I.; Fridman, L. Chattering Suppression Methods in Sliding Mode Control Systems. Annu. Rev. Control 2007, 31, 179–188. [Google Scholar] [CrossRef]
  28. Boiko, I.M. Chattering in Sliding Mode Control Systems with Boundary Layer Approximation of Discontinuous Control. Int. J. Syst. Sci. 2012, 44, 1126–1133. [Google Scholar] [CrossRef]
  29. Guldner, J.; Utkin, V. The Chattering Problem in Sliding Mode Systems. In Proceedings of the 14th International Symposium on Mathematical Theory of Networks and Systems (MTNS), Perpignan, France, 19–23 June 2000. [Google Scholar]
  30. Martínez-Fuentes, C.A.; Pérez Ventura, U.; Fridman, L. Chattering Analysis of Lipschitz Continuous Sliding-Mode Controllers. Int. J. Robust Nonlinear Control 2020, 65, 1–16. [Google Scholar] [CrossRef]
  31. Rosero, C.X.; Vaca, C.; Gavilanez, M.; Iglesias, I.; Rosero, R. Towards a simulation platform for islanded microgrids based on grid-forming power converters. In Proceedings of the IEEE 5th Colombian Conference on Automatic Control (CCAC), Online, 19–22 October 2021; pp. 1–6. [Google Scholar]
  32. Cervin, A.; Henriksson, D.; Lincoln, B.; Eker, J.; Årzén, K.-E. How Does Control Timing Affect Performance? Analysis and Simulation of Timing Using Jitterbug and TrueTime. IEEE Control Syst. Mag. 2003, 23, 16–30. [Google Scholar]
Figure 1. Islanded MG setup with four distributed generators and shared/local loads.
Figure 1. Islanded MG setup with four distributed generators and shared/local loads.
Energies 18 05495 g001
Figure 2. Simulated MG topology.
Figure 2. Simulated MG topology.
Energies 18 05495 g002
Figure 3. Structure of each virtual grid-forming converter.
Figure 3. Structure of each virtual grid-forming converter.
Energies 18 05495 g003
Figure 4. Performance of the islanded MG under frequency droop control followed by the activation of the proposed local SMC: (a) active power sharing, (b) reactive power sharing, (c) frequency regulation, and (d) voltage amplitude evolution.
Figure 4. Performance of the islanded MG under frequency droop control followed by the activation of the proposed local SMC: (a) active power sharing, (b) reactive power sharing, (c) frequency regulation, and (d) voltage amplitude evolution.
Energies 18 05495 g004
Figure 5. Dynamic response of the islanded MG under the proposed SMC strategy under realistic disturbances: (a) active power sharing, (b) reactive power sharing, (c) frequency regulation, and (d) voltage amplitude evolution.
Figure 5. Dynamic response of the islanded MG under the proposed SMC strategy under realistic disturbances: (a) active power sharing, (b) reactive power sharing, (c) frequency regulation, and (d) voltage amplitude evolution.
Energies 18 05495 g005
Figure 6. Comparison between two sliding mode control strategies under identical disturbance conditions: (a,c) active power sharing and frequency regulation under the proposed local SMC, and (b,d) active power sharing and frequency regulation under communication-based droop-free SMC.
Figure 6. Comparison between two sliding mode control strategies under identical disturbance conditions: (a,c) active power sharing and frequency regulation under the proposed local SMC, and (b,d) active power sharing and frequency regulation under communication-based droop-free SMC.
Energies 18 05495 g006
Table 1. Microgrid setup parameters.
Table 1. Microgrid setup parameters.
SymbolDescriptionValue
v 0 Grid voltage (rms line to line) 2 110 V
ω 0 Grid frequency (at no load) 2 π 60 rad/s
cGains for voltage droop1 μV/(VAr)
mGains for frequency droop1 mrad/(W · s)
kGains for frequency compensation in sliding mode 2 π 5 mrad/(s)
Z 1 Transmission line impedance1.3 m Ω @ 36 . 9
Z 2 , 3 Transmission line impedances 2 and 31 m Ω @ 16 . 7
T 1 , 2 Transformer impedances 1 and 20.62 m Ω @ 37 . 01
T 3 , 4 Transformer impedances 3 and 41.31 m Ω @ 9 . 87
Z G maxMaximum global load impedance88 Ω @ 0
Z G minMinimum global load impedance44 Ω @ 0
Z L 1 Local load impedance 188 Ω @ 0
Z v Virtual impedance3.76 m Ω @ 90
d 1 Clock drift rate in G 1 1.0000 ppm
d 2 Clock drift rate in G 2 1.00001 ppm
d 3 Clock drift rate in G 3 0.9999 ppm
d 4 Clock drift rate in G 4 1.00002 ppm
hSampling period 0.1 ms
Table 2. Control parameters and observed effects.
Table 2. Control parameters and observed effects.
ParameterEffect of Variation
cMinimal impact unless reactive power is dominant
mLower m: better frequency, worse sharing
kHigher k: faster, more chattering
Table 3. Comparative analysis of droop, local SMC, and droop-free SMC controllers.
Table 3. Comparative analysis of droop, local SMC, and droop-free SMC controllers.
Control MethodAdvantagesDisadvantages
Conventional Droop ControlFully decentralized Robust to perturbations Effective for voltage and reactive power regulationPermanent steady-state frequency deviation Limited dynamic performance Uneven power sharing in presence of perturbations
Local SMC (proposed)Improved frequency regulation Robust to timing mismatches, load changes, and
topology variations No communication required Simple and decentralized implementation
Residual bounded
frequency error Chattering due to discontinuous action
Droop-free SMC
(with communication)
Precise frequency and power sharing Fast convergence under ideal communication conditionsVulnerable to
communication failure
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

Rosero, C.X.; Rosero, F.; Tapia, F. Fully Decentralized Sliding Mode Control for Frequency Regulation and Power Sharing in Islanded Microgrids. Energies 2025, 18, 5495. https://doi.org/10.3390/en18205495

AMA Style

Rosero CX, Rosero F, Tapia F. Fully Decentralized Sliding Mode Control for Frequency Regulation and Power Sharing in Islanded Microgrids. Energies. 2025; 18(20):5495. https://doi.org/10.3390/en18205495

Chicago/Turabian Style

Rosero, Carlos Xavier, Fredy Rosero, and Fausto Tapia. 2025. "Fully Decentralized Sliding Mode Control for Frequency Regulation and Power Sharing in Islanded Microgrids" Energies 18, no. 20: 5495. https://doi.org/10.3390/en18205495

APA Style

Rosero, C. X., Rosero, F., & Tapia, F. (2025). Fully Decentralized Sliding Mode Control for Frequency Regulation and Power Sharing in Islanded Microgrids. Energies, 18(20), 5495. https://doi.org/10.3390/en18205495

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

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop