Next Article in Journal
Drag Reduction in Compressible Channel Turbulence with Periodic Interval Blowing and Suction
Previous Article in Journal
Analysis of Hydrological and Meteorological Conditions in the Southern Baltic Sea for the Purpose of Using LNG as Bunkering Fuel
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Data-Driven Voltage Control in Isolated AC Microgrids Subject to Sensor Saturation

College of Information Science and Engineering, Northeastern University, Shenyang 110819, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(13), 7119; https://doi.org/10.3390/app15137119
Submission received: 2 June 2025 / Revised: 23 June 2025 / Accepted: 23 June 2025 / Published: 24 June 2025

Abstract

This paper proposes a distributed data-driven adaptive iterative learning control (DAILC) method to address the challenges of modeling and voltage regulation in isolated AC microgrids subject to disturbances and sensor saturation. Firstly, by utilizing the input–output data from the microgrid, a time-varying linear data microgrid model is developed for the distributed renewable energy generation unit (DREGU) that is independent of the microgrid’s physical information. Subsequently, the DAILC algorithm is developed from the microgrid data model, which only uses the input data and the corresponding saturated outputs from each DREGU, along with embedded measurement disturbances. Additionally, we verify the convergence of this algorithm, demonstrating that it can ensure the error in voltage restoration converges to a small neighborhood around the origin, even under conditions of sensor saturation and disturbances. Finally, through a simulation involving four DREGU nodes, we confirm the effectiveness of the proposed distributed DAILC method.

1. Introduction

AC microgrids, which are compact power systems, combine renewable energy sources and various types of distributed generation to improve the reliability and efficiency of the energy supply [1,2]. AC microgrids have the capability to function either interconnected with, or independently from, the main grid. When connected to the grid, the primary regulation of AC microgrids is managed by the main grid [3,4,5]; whereas in independent mode (isolated operation), effective control strategies are required to maintain power balance and ensure voltage stability [6]. This paper primarily investigates the control strategies for AC microgrids operating in isolated mode.
In isolated mode, the AC microgrid generally employs a hierarchical control system consisting of primary, secondary, and tertiary levels of control [7,8]. Primary control is mainly based on droop control techniques, aimed at achieving real-time balance between generation and load [9]. However, droop control cannot completely eliminate deviations in voltage and frequency, thus necessitating adjustments through secondary control [10]. Tertiary control concentrates on optimizing power and addressing economic dispatch concerns [11]. In terms of secondary control, centralized [12], decentralized [13], and distributed control strategies can be adopted. Among these, distributed control is widely used due to its excellent scalability and stability characteristics [14,15]. Voltage quality is a key factor affecting the reliability and safety of AC microgrid operations [16]. Maintaining stable voltage not only enhances user experience but also boosts the performance of equipment. This paper investigates distributed secondary voltage control strategies in AC microgrids.
Control methods based on models are extensively employed in the secondary control of microgrids. In [17,18,19], a multi-agent distributed cooperative control strategy utilizing feedback linearization is introduced to manage the nonlinear challenges in AC microgrids and to accomplish voltage control. An extended observer method aimed at addressing the challenges posed by the numerous parameters in the modeling process of AC microgrids is proposed in [20]. Finite-time control techniques that enhance the convergence speed of secondary control in AC microgrids, thereby quickly restoring voltage to its rated value, are employed in [21,22]. However, all these control strategies rely on precise system models and require comprehensive knowledge of all parameters and states in the microgrid, as well as the interferences during signal transmission. While this is feasible in experimental simulation environments, it proves challenging in practical applications, especially when faced with the diversity of new energy devices, making it difficult to obtain the necessary system parameters and states. These model-based control strategies are only effective under ideal conditions; once the actual operational conditions deviate from the nominal states, the stability of the system cannot be guaranteed. Therefore, exploring adaptive control strategies based on real-time measurement data to design microgrid secondary controllers with online learning capabilities has become a new direction in research.
Researchers have begun to focus on data-driven, model-free control methods to address the shortcomings in model-based secondary control strategies for microgrids. In [5,23], Model Predictive Control (MPC) was utilized for distributed secondary voltage and frequency control, demonstrating effective control performance. A robust sliding mode control approach was employed in [24], effectively enhancing the system’s convergence speed. The use of a Proportional-Integral (PI) control method was reported in [25], which is simple yet effective. In [26,27], researchers utilized neural networks and deep reinforcement learning techniques, conducting offline training with data collected from microgrid operations to design secondary controllers. Despite the advantages of methods such as MPC and sliding mode control, which require understanding part of the system model and its uncertainties, these methods are explored. PI control, due to its simplicity, is widely used across various control systems, yet it encounters significant difficulties in parameter design when dealing with complex dynamic characteristics of microgrids. Moreover, although methods based on neural networks and deep learning excel in handling large-scale data, they generally require extensive training data and a complex training process, demanding high system hardware configurations. Therefore, the development of a simple online data-based secondary control method for microgrids is particularly crucial.
Current transformers (CTs) and voltage transformers (VTs) serve as crucial links between measurement devices, such as data acquisition systems and phasor measurement units, and the power system. They convert high voltage and large current values into reduced voltage and smaller current signals suitable for measurement within monitoring and control systems. However, under certain conditions, these transformers may exhibit saturation. Saturation can be caused by transient voltage or current spikes, electrical faults, and line overloads, among other factors [28]. Adverse weather conditions and operating environments can also accelerate the aging of transformers, thereby increasing the risk of saturation. Once saturation occurs, the output of the transformers will deviate from the actual measurements. If the effects of transformer saturation are not adequately addressed, it could adversely affect the online monitoring, control, and protection strategies of microgrids [29]. In [30], researchers explored a single integrator multi-agent system with heterogeneous output saturation and proposed a new consensus control protocol. In [31], the issues of actuator saturation and matching uncertainty in discrete-time singular systems were studied. In [32], an event-triggered consistency controller was designed to address output saturation issues. The aforementioned studies considering sensor saturation are all model-based. However, the actual equipment in microgrids is mostly heterogeneous, and the parameters of the lines vary greatly, making it impossible to obtain an accurate microgrid model as in laboratory settings. Furthermore, sensor saturation in AC microgrids has not been considered, and designing a model-free voltage secondary control algorithm for AC microgrids under sensor saturation conditions is urgently needed.
Based on the discussions above, the paper introduces a distributed adaptive iterative learning secondary voltage control approach that utilizes input–output data and takes into account the impacts of sensor saturation and disturbances. A control strategy that integrates iterative learning control (ILC) with dynamic linearization techniques has been proposed for secondary control of microgrids. This strategy divides the continuous control tasks of the AC microgrid into multiple periods and utilizes a data-driven iterative learning mechanism. By leveraging historical control data, it optimizes the current control performance. This method does not rely on an accurate system model. Instead, it utilizes input and output data to construct a dynamic linearization model for the microgrid. Through iterative learning, this method greatly improves the control’s effectiveness and precision. The proposed DAILC strategy requires only input and output data for execution. Moreover, this paper also proves the convergence of the control algorithm. Simulation experiments demonstrate that, even with sensor saturation and external disturbances in islanded microgrids, the proposed strategy successfully returns the voltage of DREGUs to predefined reference values. The principal contributions of this paper are outlined as follows:
  • To address the challenges of high-order nonlinear modeling in AC microgrids, this paper employs a dynamic linearization approach to construct a time-varying linear model of the microgrid. This model exclusively uses input–output data and does not need any extra model information, which improves the model’s applicability and flexibility, and enhances the system’s robustness.
  • To address the issues of sensor saturation and disturbances encountered during the secondary voltage restoration in AC microgrids, the paper introduces a distributed adaptive iterative learning control approach that relies on a dynamic linearization model. The algorithm combines the dynamic linearization model of microgrids with iterative learning, utilizing input data from neighboring DREGUs and adjusting the pinning errors. It effectively overcomes issues related to sensor saturation and measurement disturbances, ensuring that the voltage accurately returns to the predetermined reference values.
The rest of this paper is structured as follows. Section 2 offers the required introduction and formulation of the problem. Section 3 describes the dynamic linearization model for AC microgrids and presents the design of a distributed model-free adaptive secondary voltage controller, including evidence of the algorithm’s convergence. Section 4 presents case studies to validate the performance of the proposed method. Finally, Section 5 summarizes the paper and explores potential avenues for future research.

2. Preliminaries and Problem Formulation

In the section, the basic concepts of graph theory are introduced. Then, we present the microgrid system’s large-signal dynamic model, a high-order nonlinear model that poses challenges for the design of the corresponding controller. This lays the groundwork for introducing a distributed data-driven adaptive consensus tracking control algorithm in the next chapter. Subsequently, we describe the knowledge related to the distributed pinning-based Consensus Control algorithm. Finally, we discuss the presence of sensor saturation and noise in AC microgrids.

2.1. Graph Theory

In the distributed control architecture of AC microgrids, each distributed generator (DG) is equipped with a local controller that not only performs control tasks independently but also communicates with the surrounding controllers. Each DG’s controller is depicted as a node, and the communication network of an islanded microgrid with N DGs is modeled using a directed graph G = ( V , E , A ) . Here, V = v 1 , v 2 , , v N denotes the set of N nodes, while E = V × V represents the communication links. The adjacency matrix A = a i j R N × N is established such that a i j = a j i = 1 if nodes i and j are connected by a communication link, signifying that nodes i and j are adjacent. Otherwise, a i j = a j i = 0 . Furthermore, we define a diagonal matrix O , defined as O = diag ( o 1 , , o N ) R N × N . If o i > 0 , this implies direct communication between the leader and agent i. The neighborhood set for a node i is defined as N i = j ( v j , v i ) E . The in-degree matrix D = diag ( d i ) R N × N is constructed such that d i = j N i a i j .

2.2. Model Descriptions of AC Microgrids

Assuming that all distributed renewable energy generation units (DREGUs) are connected to the grid through voltage source inverters equipped with output LC filters, as depicted in Figure 1. Each inverter incorporates four local control units responsible for voltage, current, power, and frequency control. Specifically, when local droop controls for P f and Q V are utilized in primary regulation, this complete high-order nonlinear model for each distributed generator is detailed as follows [17]:
˜ ˙ i = f i ˜ i + k i ˜ i D i + g i ˜ i υ ˜ i ,
z ˜ ̲ i = v o d i = h i ˜ i ,
The state vector ˜ i , which represents the set of variables defining the status of the i-th DREGU, is formally defined as ˜ i = [ δ i , P i , Q i , ϕ d i , ϕ q i , γ d i , γ q i , i l d i , i l q i , v o d i , v o q i , i o d i , i o q i ] T . Where δ i represents the angular position of the i-th DREGU’s coordinate system relative to a common reference frame, with an angular velocity of δ ˙ i = ω i ω com . This indicates that the coordinate system of the i-th DREGU rotates at a frequency ω i , while a different DREGU is designated as the common reference system, rotating at ω com . For the i-th DREGU, P i and Q i represent the active and reactive power outputs, respectively. Here, the voltage regulation PI controller utilizes ϕ d i and ϕ q i as auxiliary state variables, while γ d i and γ q i serve similar purposes in the current control loop. For the i-th voltage source inverter, i l d i and i l q i denote the direct and quadrature current components, respectively, with corresponding voltage components v o d i and v o q i . Similarly, i o d i and i o q i represent the direct and quadrature current components, respectively. It is assumed that the disturbance vector D i = [ ω com , v b d i , v b q i ] is known. Here, v b d i and v b q i , denoting the voltage components at i-th DREGU’s location, are labeled v b i . Details on the functions f i ( ˜ i ) , k i ( ˜ i ) , and g i ( ˜ i ) can be found in [17].

2.3. Distributed Pinning-Based Consensus Control

Pinning control is a strategy that involves pre-setting target convergence values for multiple agents within a network to facilitate communication between adjacent agents. This method employs controllers installed at key nodes, effectively managing the entire network and significantly reducing the number of controllers required, making it highly suitable for distributed control scenarios in complex networks. In the context of microgrids, pinning control effectively integrates multiple distributed generators (DGs), achieving distributed cooperative control. This strategy enhances the stability and robustness of the microgrid by using key nodes as reference points for control, thereby simplifying the management of distributed energy resources. This research employs pinning control for secondary voltage distributed management across microgrids.
It aims to establish a suitable protocol, υ ˜ i ( k ˜ ̲ ) , for ensuring the tracking of a predefined target voltage. Here, υ ˜ i ( k ˜ ̲ ) depends solely on input from the DG and neighboring DGs. Moreover, each DG is subject to these criteria:
lim z ˜ ̲ z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ i ( κ ˜ ) ϵ
where, z ˜ ̲ 0 ( κ ˜ ) denotes the microgrid’s preset reference value, known as the virtual leader, and ϵ , a sufficiently small positive constant, is close to zero. For the i-th DG, the tracking error, ϱ ˘ i ( κ ˜ ) , equals z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ i ( κ ˜ ) .

2.4. Sensor Saturation

In AC microgrids, voltage transformers collect z ˜ ̲ i ( κ ˜ ) , the voltage output from each DG, using instruments like data acquisition systems and phasor measurement units. However, under conditions such as transient voltage or current spikes, electrical faults, or line overloads, these transformers may become saturated. Adverse weather conditions and harsh working environments can also accelerate the aging of sensors, increasing the risk of saturation. Once saturation occurs, the sensor output will deviate from the actual measured values, leading to inaccuracies in the voltage secondary control design, which relies solely on measured outputs to update control protocol inputs. Moreover, the presence of measurement noise is natural and inevitable.
Based on the analysis above, we define sensor saturation in the AC microgrids as follows:
z ˜ ̲ s i ( κ ˜ ) = σ s ( z ˜ ̲ d i ( κ ˜ ) ) = s , if z ˜ ̲ d i ( κ ˜ ) < s z ˜ ̲ d i ( κ ˜ ) , if s z ˜ ̲ d i ( κ ˜ ) s s , if z ˜ ̲ d i ( κ ˜ ) > s
where z ˜ ̲ s i ( κ ˜ ) is the sensor saturation output voltage, z ˜ ̲ d i ( κ ˜ ) = z ˜ ̲ i ( κ ˜ ) + i ( κ ˜ ) corresponds to the sensor’s input including noise, and i ( κ ˜ ) signifies noise in the measurements. s > 0 is referred to as the saturation threshold, and [ s , s ] defines the sensor’s actual maximum measurement range.
Remark 1. 
With the widespread application of new energy devices, the components of AC microgrids have become increasingly diverse and complex. AC microgrids are inherently nonlinear and heterogeneous. In such environments, sensors are prone to saturation, and the system is often affected by various disturbances, posing challenges to the stable operation of microgrids. Under these conditions, traditional model-based control methods [20,21] are often inadequate as they usually require accurate system models and parameters, which are difficult to obtain in practice. Therefore, it is particularly important and necessary to develop a control method based on input–output data, which does not rely on system models but directly utilizes data for voltage control of the microgrid.
Remark 2. 
It should be acknowledged that the hard-threshold saturation model used in this paper is an idealized representation. In practice, the saturation behavior of sensors may exhibit more complex forms, such as soft limiting (where the output gradually approaches the saturation limit), dead zones, or non-symmetrical characteristics due to aging. Nevertheless, the choice of the hard-threshold model is justified for several reasons. Firstly, it is a standard model widely used in the control systems literature to represent physical constraints and captures the core nonlinear nature of saturation. Secondly, it presents a challenging, non-smooth scenario for controller design, which serves as a rigorous test for the robustness of our proposed DAILC algorithm. The primary contribution of this work lies in the data-driven adaptive control algorithm itself, rather than in the high-fidelity modeling of sensors. Therefore, using the hard-threshold model as a representative benchmark is appropriate. Investigating the controller’s performance under more sophisticated sensor models is a valuable direction for our future work.

3. The DAILC Algorithm of Voltage Control Subject to Sensor Saturation

In this section, we first establish the dynamic linearization model of the DREGU, which lays the groundwork for subsequent controller design. Then, considering the sensor saturation and disturbances encountered in the actual operation of AC microgrids, we design a distributed model-free adaptive iterative learning secondary voltage control algorithm. Finally, through theoretical analysis, we demonstrate that the algorithm ensures that the voltage recovery error converges to a small neighborhood around the origin.

3.1. Dynamic Linearization Model of the DREGU

The AC microgrid is composed of DREGUs. Following the discretization of the large-signal dynamic model (1) of the microgrid, we concentrate solely on secondary voltage control. This results in a single-input single-output nonlinear AC microgrid model, presented as follows [33]:
z ˜ ̲ i ( κ ˜ + 1 ) = f i z ˜ ̲ i ( κ ˜ ) , , z ˜ ̲ i ( κ ˜ n z ˜ ̲ ) , υ ˜ i ( κ ˜ ) , , υ ˜ i ( κ ˜ n υ ˜ ) + i ( κ ˜ )
where z ˜ ̲ denotes the time interval, i = 1 , 2 , , N .   n z ˜ ̲ ,   n υ ˜ are two unknown positive integers that vary with the scale of the AC microgrids. The terms υ ˜ i ( κ ˜ ) R and z ˜ ̲ i ( κ ˜ ) R represent the control input voltage and the measured output voltage of DG i at time κ ˜ , respectively. i ( κ ˜ ) R is a bounded disturbance, with i ( κ ˜ ) r where r is a small positive constant. This model can be linearized, subject to the following two assumptions: in the above, z ˜ ̲ signifies the time intervals, and for each i = 1 , 2 , , N , the integers n z ˜ ̲ and n υ ˜ , which are unknown positive values, depend on the AC microgrids’ scale. For each distributed generator i, υ ˜ i ( κ ˜ ) and z ˜ ̲ i ( κ ˜ ) represent the control input voltage and the output voltage measured, respectively, both belonging to R at any given time κ ˜ . Additionally, i ( κ ˜ ) , a bounded disturbance, adheres to i ( κ ˜ ) r , with r as a minor positive constant. The model is subject to linearization under the stipulated assumptions:
Assumption 1. 
The function f ( · ) has continuous partial derivatives with respect to υ ˜ ( κ ˜ ) , υ ˜ ( κ ˜ 1 ) , , υ ˜ κ ˜ n υ ˜ .
Assumption 2. 
The control system in (5) is generalized Lipschitz, that is to say κ ˜ N + , | Δ z ˜ ̲ ( κ ˜ + 1 ) | b | Δ υ ˜ ( κ ˜ ) | | Δ υ ˜ ( κ ˜ ) | 0 , where b is a positive constant.
Lemma 1 
([34]). Given Assumptions 1 and 2, for any agent i with non-zero Δ υ ˜ i ( κ ˜ ) and Δ i ( κ ˜ ) , Equation (1) can be equivalently recast as a dynamic data model for all κ ˜ = 1 , 2 ,
z ˜ ̲ s i ( κ ˜ + 1 ) z ˜ ̲ s i ( κ ˜ ) = i ( κ ˜ ) υ ˜ s i ( κ ˜ ) υ ˜ s i ( κ ˜ 1 ) + Δ i ( κ ˜ ) .
let i ( κ ˜ ) denote the pseudo-partial derivative (PPD) parameters for each distributed generator i, which are dependent on the iterations and vary over time. These parameters comply with the condition i ( κ ˜ ) b , where b represents a constant with a positive value.
Remark 3. 
The advantage of the proposed microgrid dynamic model lies in its ability to function without detailed dynamical models for each DREGU, relying solely on input–output data for modeling. Furthermore, the algorithm for estimating the PPD parameters (7), which is elaborated upon subsequently, operates solely on a data-driven basis. It utilizes just the necessary input data alongside the saturated outputs from each DREGU to configure the parameters. Compared to traditional model-based methods [17,18] and the deep learning techniques that deal with extensive off-line datasets as mentioned in [26,27], this algorithm demonstrates greater universality and robustness.
Remark 4. 
It is worth noting that the PPD-based dynamic linearization employed in this paper is an equivalent data-driven model, whose core advantage lies in enabling controller design without a precise physical model. However, we also acknowledge that this linearization is an approximation. The model is effective for typical voltage regulation tasks in microgrids, which involve relatively slow dynamics. Nevertheless, in scenarios with extremely fast dynamics (such as severe faults or large transient load impacts) or significant high-order harmonic distortion, the system’s nonlinear characteristics become highly pronounced. Under these extreme conditions, the fluctuation of the PPD value may intensify, and the approximation accuracy of the linearized model could decrease, potentially affecting control performance. Therefore, the optimal application context for the proposed DAILC method is voltage regulation under normal operation and common disturbances. A deeper investigation into the model’s validity boundaries under extreme conditions will be a direction for our future work.

3.2. Design of the DAILC Algorithm

ILC is an efficient control strategy that enhances system performance significantly by analyzing historical data and iteratively adjusting control gains, effectively utilizing experiences from past control cycles to optimize current control performance. Typically, ILC is well-suited for tasks involving periodic, repetitive control processes. However, microgrid control systems operate under continuous control. Clearly, the original model (7) cannot be directly applied to microgrids. Therefore, based on the concept of microgrid iterative learning [35], this study makes the following targeted modifications to the model (7):
z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ ) z ˜ ̲ s i ( κ ˜ , ρ ˜ ) = i ( κ ˜ , ρ ˜ ) υ ˜ s i ( κ ˜ , ρ ˜ ) υ ˜ s i ( κ ˜ 1 , ρ ˜ ) + Δ i ( κ ˜ , ρ ˜ ) .
Let ρ ˜ as the virtual iteration period, where ρ ˜ assumes integer values ranging from 1 to T.
The objective of this paper is to achieve voltage restoration in a microgrid, containing DGs, under conditions of sensor saturation and external disturbances, without requiring detailed model information of the microgrid. Ultimately, an adaptive iterative learning tracking controller based on input–output data is designed, ensuring that all DGs can maintain voltage levels close to nominal values. The objective of distributed voltage control is to adjust the voltage of all DGs to a predefined reference value [36]. To this end, this paper explores a consensus control approach based on distributed pinning strategies. Initially, a reference node (also referred to as the leader node) z ˜ ̲ 0 ( κ ˜ ) is introduced to capture the desired dynamic characteristics of the reference. Within this framework, the local neighborhood pinning error ι ˜ i ( κ ˜ , ρ ˜ ) can be described as follows:
ι ˜ i ( κ ˜ , ρ ˜ ) = s j N i a i j z ˜ ̲ s j ( κ ˜ , ρ ˜ ) z ˜ ̲ s i ( κ ˜ , ρ ˜ ) + o i z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ s i ( κ ˜ , ρ ˜ ) .
where a i j denotes the elements within the adjacency matrix A , and o i 0 represents the pinning gain for the i-th DG. If DG i is connected to the virtual leader node, then o i > 0 . Otherwise, it is set to the nominal value o i = 0 . The z ˜ ̲ 0 ( κ ˜ ) is considered the nominal value.
To achieve consistent tracking solely using input–output data, this paper presents the implementation of a DAILC algorithm that integrates sensor saturation and disturbances, expressed as follows:
υ ˜ i ( κ ˜ , ρ ˜ ) = υ ˜ i ( κ ˜ , ρ ˜ 1 ) + β 1 ^ i ( κ ˜ , ρ ˜ ) δ 1 + ^ i ( κ ˜ , ρ ˜ ) 2 ι ˜ i ( κ ˜ + 1 , ρ ˜ 1 )
where ^ i ( κ ˜ , ρ ˜ ) denotes the estimated value of the pseudo-derivative i ( κ ˜ , ρ ˜ ) . Additionally, δ 1 represents a weighting factor with positive characteristics, while β 1 serves as a control parameter, the design of which is detailed later.
Remark 5. 
To design a voltage recovery controller under conditions of sensor saturation, this study employs a distributed model-free iterative learning algorithm that relies solely on information from neighboring DREGUs. In devising the control strategy, we introduce pinning error ι ˜ i ( κ ˜ , ρ ˜ ) , which encompasses not only the discrepancies with neighbors but also deviations from preset target values. By integrating these errors with PPDs, the microgrid voltage is effectively restored to its rated value based solely on the use of input–output data.
Considering the time-varying nature of the PPDs, directly measuring it poses a challenge. Therefore, an optimization objective is constructed based on input–output data, with the objective function expressed as follows:
Q ^ i ( κ ˜ , ρ ˜ ) = ( Δ z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ 1 ) ^ i ( κ ˜ , ρ ˜ ) Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) ) 2 + δ ^ i ( κ ˜ , ρ ˜ ) ^ i ( κ ˜ , ρ ˜ 1 ) 2
where δ is a weighting factor, which is a positive constant.
By minimizing the aforementioned objective function, the solution can be derived as follows:
^ i ( κ ˜ , ρ ˜ ) = ^ i ( κ ˜ , ρ ˜ 1 ) + β 2 Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) δ 2 + | Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) | 2 ξ i ( κ ˜ , ρ ˜ 1 )
where ξ i ( κ ˜ , ρ ˜ 1 ) = Δ z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ 1 ) ^ i ( κ ˜ , ρ ˜ 1 ) Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) , Δ z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ ) = z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ ) z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ 1 ) and δ 2 is a positive weight constant, and 0 < β 2 < 1 is a weighing factor.
To ensure the PPD estimation parameters ^ i ( κ ˜ , ρ ˜ ) effectively reflect the actual values i ( κ ˜ , ρ ˜ ) , reset algorithms are proposed as follows: set υ ˜ i ( κ ˜ , ρ ˜ ) = υ ˜ i ( κ ˜ , 1 ) when Δ υ ˜ i ( κ ˜ , ρ ˜ ) < ε and ^ i ( κ ˜ , ρ ˜ ) = ^ i ( κ ˜ , 1 ) if ^ i ( κ ˜ , ρ ˜ ) < ε or sign ( ^ i ( κ ˜ , ρ ˜ ) ) sign ( ^ i ( κ ˜ , 1 ) ) . It should be noted that ε = 10 5 in this paper.

3.3. Convergence Analysis

To examine the convergence of the DAILC algorithm, we established error measurement values ϱ ˜ s i ( κ ˜ , ρ ˜ ) = z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ s i ( κ ˜ , ρ ˜ ) to represent the observed differences, and the perturbation error measurements ϱ ˜ i ( κ ˜ , ρ ˜ ) = z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ i ( κ ˜ , ρ ˜ ) are given. Subsequently, we can derive ϱ ˜ z i ( κ ˜ , ρ ˜ ) = ϱ ˜ i ( κ ˜ , ρ ˜ ) h i ( κ ˜ , ρ ˜ ) , and it is noted that 0 < h i ( κ ˜ , ρ ˜ ) 1 .
Lemma 2 
([37]). Given the saturation function as defined in (4), it follows that for sensor i, the input gain to output gain correlation can be expressed by Δ z ˜ ̲ z i ( κ ˜ , ρ ˜ ) = g i ( κ ˜ , ρ ˜ ) Δ z ˜ ̲ i ( κ ˜ , ρ ˜ ) , with the constraint 0 g i ( κ ˜ , ρ ˜ ) 1 .
Lemma 3 
([38,39]). Consider the matrix Θ ( P ) , defined as an irreducible sub-stochastic iteration varying matrix with all positive diagonal entries. Let Θ denote the collection of such matrices Θ ( P ) . It is established that the following inequality is satisfied:
Θ ( P ) Θ ( P 1 ) Θ ( 1 ) ,
where 0 < < 1 and Θ ( P ) is arbitrarily selected from Θ.
Theorem 1. 
Under the premise that the microgrid satisfies Assumptions 1 and 2, if the control parameters β 1 and δ 1 meet the conditions β 1 < 1 / max i = 1 , , N ( j = 1 N a i j + o i ) and δ 1 > δ 1 min > 0 , respectively, then the DAILC algorithm can achieve the output voltage tracking of the preset reference voltage z ˜ ̲ 0 ( κ ˜ ) for DREGUs with bounded tracking errors.
Proof. 
The proof comprises two parts as follows.
Part (i) (Boundedness of the Estimation Value ^ i ( κ ˜ , ρ ˜ ) ):
Define ˜ i ( κ ˜ , ρ ˜ ) = i ( κ ˜ , ρ ˜ ) ^ i ( κ ˜ , ρ ˜ ) . From Lemma 2 and the PPD estimation algorithm (11), we have
˜ i ( κ ˜ , ρ ˜ ) = i ( κ ˜ , ρ ˜ ) ^ i ( κ ˜ , ρ ˜ 1 ) β 2 Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) δ 2 + | Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) | 2 × Δ z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ 1 ) ^ i ( κ ˜ , ρ ˜ 1 ) Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) = ˜ i ( κ ˜ , ρ ˜ 1 ) + Δ i ( κ ˜ , ρ ˜ ) β 2 Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) δ 2 + | Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) | 2 × Δ z ˜ ̲ s i ( κ ˜ + 1 , ρ ˜ 1 ) ^ i ( κ ˜ , ρ ˜ 1 ) Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) = Δ i ( κ ˜ , ρ ˜ ) + 1 β 2 ( Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) ) 2 δ 2 + υ ˜ i ( κ ˜ , ρ ˜ 1 ) 2 ˜ i ( κ ˜ , ρ ˜ 1 ) + β 2 ( Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) ) 2 δ 2 + υ ˜ i ( κ ˜ , ρ ˜ 1 ) 2 1 g i ( κ ˜ , ρ ˜ 1 ) i ( κ ˜ , ρ ˜ )
where Δ i ( κ ˜ , ρ ˜ ) = i ( κ ˜ , ρ ˜ ) i ( κ ˜ , ρ ˜ 1 ) . Since 0 < β 2 < 1 and 0 < δ 2 , it follows that β 2 Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) 2 < υ ˜ i ( κ ˜ , ρ ˜ 1 ) 2 < δ 2 + υ ˜ i ( κ ˜ , ρ ˜ 1 ) 2 . By choosing a positive constant h, we can obtain
0 < h 1 β 2 ( Δ υ ˜ i ( κ ˜ , ρ ˜ 1 ) ) 2 δ 2 + υ ˜ i ( κ ˜ , ρ ˜ 1 ) 2 < 1
since i ( κ ˜ , ρ ˜ ) b , we have
˜ i ( κ ˜ , ρ ˜ ) 1 h ˜ i ( κ ˜ , ρ ˜ 1 ) + Δ i ( κ ˜ , ρ ˜ ) + i ( κ ˜ , ρ ˜ ) 1 h ˜ i ( κ ˜ , ρ ˜ 1 ) + 3 b ( 1 h ) 2 ˜ i ( κ ˜ , ρ ˜ 2 ) + 3 b 1 h + 3 b ( 1 h ) i 1 ˜ i ( κ ˜ , 1 ) + 3 b 1 ( 1 h ) i 1 1 1 h
Obviously, ˜ i ( κ ˜ , ρ ˜ ) is bounded. Meanwhile, as mentioned above, i ( κ ˜ , ρ ˜ ) maintains its limit. Meanwhile ˜ i ( κ ˜ , ρ ˜ ) = i ( κ ˜ , ρ ˜ ) ^ i ( κ ˜ , ρ ˜ ) ; it follows that ^ i ( κ ˜ , ρ ˜ ) is also bounded.
Part (ii) (The Convergence of Tracking Error):
Define ϱ ˜ s i ( κ ˜ , ρ ˜ ) = z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ s i ( κ ˜ , ρ ˜ ) . Then, Equation (8) can be rewritten as follows:
ι ˜ i ( κ ˜ , ρ ˜ ) = s j N i a i j ϱ ˜ s j ( κ ˜ , ρ ˜ ) ϱ ˜ s i ( κ ˜ , ρ ˜ ) + o i ϱ ˜ s i ( κ ˜ , ρ ˜ )
Then, we define the column stack vectors as follows:
ϱ ˜ s ( κ ˜ , ρ ˜ ) = ϱ ˜ s 1 ( κ ˜ , ρ ˜ ) ϱ ˜ s 2 ( κ ˜ , ρ ˜ ) ϱ ˜ s N ( κ ˜ , ρ ˜ ) T ϱ ˜ ( κ ˜ , ρ ˜ ) = ϱ ˜ 1 ( κ ˜ , ρ ˜ ) ϱ ˜ 2 ( κ ˜ , ρ ˜ ) ϱ ˜ N ( κ ˜ , ρ ˜ ) T υ ˜ ( κ ˜ , ρ ˜ ) = υ ˜ 1 ( κ ˜ , ρ ˜ ) υ ˜ 2 ( κ ˜ , ρ ˜ ) υ ˜ N ( κ ˜ , ρ ˜ ) T z ˜ ̲ 0 ( κ ˜ + 1 ) = z ˜ ̲ 0 ( κ ˜ + 1 ) z ˜ ̲ 0 ( κ ˜ + 1 ) z ˜ ̲ 0 ( κ ˜ + 1 ) T G ( κ ˜ , ρ ˜ ) = diag 1 ( κ ˜ , ρ ˜ ) , 2 ( κ ˜ , ρ ˜ ) , , n ( κ ˜ , ρ ˜ ) ( κ ˜ , ρ ˜ ) = 1 ( κ ˜ , ρ ˜ ) 2 ( κ ˜ , ρ ˜ ) n ( κ ˜ , ρ ˜ ) T r ( κ ˜ ) = diag r 1 ( κ ˜ , ρ ˜ ) , r 2 ( κ ˜ , ρ ˜ ) , , r N ( κ ˜ , ρ ˜ )
and
z ˜ ̲ s ( κ ˜ + 1 , ρ ˜ ) = z ˜ ̲ s 1 ( κ ˜ + 1 , ρ ˜ ) z ˜ ̲ s 2 ( κ ˜ + 1 , ρ ˜ ) z ˜ ̲ s N ( κ ˜ + 1 , ρ ˜ ) T G ( κ ˜ , ρ ˜ ) = diag g 1 ( κ ˜ , ρ ˜ ) , g 2 ( κ ˜ , ρ ˜ ) , , g n ( κ ˜ , ρ ˜ )
where g i ( κ ˜ , ρ ˜ ) is defined as g i ( κ ˜ , ρ ˜ ) = ^ i ( κ ˜ , ρ ˜ ) / ( δ 1 + | ^ i ( κ ˜ , ρ ˜ ) | 2 ) . The disturbance error, denoted as ϱ ˜ i ( κ ˜ , ρ ˜ ) , can be defined by the following equation: ϱ ˜ i ( κ ˜ , ρ ˜ ) = z ˜ ̲ 0 ( κ ˜ ) z ˜ ̲ i ( κ ˜ , ρ ˜ ) . Consequently, we can derive the following relationship: ϱ ˜ i ( κ ˜ , ρ ˜ ) = ϱ ˜ i ( κ ˜ , ρ ˜ ) i ( κ ˜ , ρ ˜ ) . After substituting the saturation function, we obtain ϱ ˜ i ( κ ˜ , ρ ˜ ) r i ( κ ˜ , ρ ˜ ) . r i ( κ ˜ , ρ ˜ ) is given by
r i ( κ ˜ , ρ ˜ ) = z ˜ ̲ 0 s ϱ ˜ i ( κ ˜ , ρ ˜ ) , if z ˜ ̲ i ( κ ˜ ) > s 1 , if s z ˜ ̲ i ( κ ˜ ) s z ˜ ̲ 0 + s ϱ ˜ i ( κ ˜ , ρ ˜ ) , if z ˜ ̲ i ( κ ˜ ) < s
where 0 < r i ( κ ˜ , ρ ˜ ) 1 .
Equation (7) can be transformed into the following form:
z ˜ ̲ s ( κ ˜ + 1 , ρ ˜ ) = z ˜ ̲ s ( κ ˜ + 1 , ρ ˜ 1 ) + G ^ ( κ ˜ , ρ ˜ ) Δ υ ˜ ( κ ˜ , ρ ˜ ) + Δ ( κ ˜ , ρ ˜ )
where Δ υ ˜ ( κ ˜ , ρ ˜ ) = υ ˜ ( κ ˜ , ρ ˜ ) υ ˜ ( κ ˜ , ρ ˜ 1 ) .
The following vector-form distributed controller is described:
υ ˜ ( κ ˜ , ρ ˜ ) = υ ˜ ( κ ˜ , ρ ˜ 1 ) + β 1 G ( κ ˜ , ρ ˜ ) ( L + O ) r ( κ ˜ , ρ ˜ ) × ϱ ˜ ( κ ˜ + 1 , ρ ˜ 1 ) ( κ ˜ , ρ ˜ )
After combining Equations (18) and (19), the expression is transformed as follows:
Δ z ˜ ̲ s ( κ ˜ + 1 , ρ ˜ ) = G ϕ ( κ ˜ , ρ ˜ ) β 1 G ( κ ˜ , ρ ˜ ) ( L + O ) r ( κ ˜ , ρ ˜ ) × ϱ ˜ ( κ ˜ + 1 , ρ ˜ 1 ) ( κ ˜ , ρ ˜ ) + Δ ( κ ˜ , ρ ˜ )
Substituting z ˜ ̲ 0 ( κ ˜ ) into (20), we have
ϱ ˜ ( κ ˜ + 1 , ρ ˜ ) = ϱ ˜ ( κ ˜ + 1 , ρ ˜ 1 ) G ϕ ( κ ˜ , ρ ˜ ) β 1 G ( κ ˜ , ρ ˜ ) ( L + O ) r ( κ ˜ , ρ ˜ ) × ϱ ˜ ( κ ˜ + 1 , ρ ˜ 1 ) ( κ ˜ , ρ ˜ ) + Δ ( κ ˜ , ρ ˜ ) = ( I β 1 G ϕ ( κ ˜ , ρ ˜ ) G ( κ ˜ , ρ ˜ ) ( L + O ) r ( κ ˜ , ρ ˜ ) ) ϱ ˜ ( κ ˜ + 1 , ρ ˜ 1 ) + β 1 G ϕ ( κ ˜ , ρ ˜ ) G ( κ ˜ , ρ ˜ ) ( L + O ) r ( κ ˜ , ρ ˜ ) ( κ ˜ , ρ ˜ ) Δ ( κ ˜ , ρ ˜ )
Because the communication topology is strongly connected, the following matrix is characterized as an irreducible substochastic matrix:
I β 1 G ( κ ˜ , ρ ˜ ) G ( κ ˜ , ρ ˜ ) r ( κ ˜ , ρ ˜ ) ( L + O ) .
Given that ^ i ( κ ˜ , ρ ˜ ) maintains limit; i ( κ ˜ , ρ ˜ ) b for every DREGU, and choosing δ 1 > δ 1 min > 0 , the inequality β 1 i ( κ ˜ , ρ ˜ ) ^ i ( κ ˜ , ρ ˜ ) / ( δ 1 + ^ i 2 ( κ ˜ , ρ ˜ ) ) < 1 is satisfied. Moreover, if β 1 < 1 / ( max i = 1 , , N j = 1 N a i j + o i ) , therefore, the matrix ( I β 1 G ( κ ˜ , ρ ˜ ) G ( κ ˜ , ρ ˜ ) r ( κ ˜ , ρ ˜ ) ( L + O ) ) forms an irreducible sub-stochastic matrix possessing only positive diagonal elements. It is also certain that such a matrix necessitates the existence of a minor positive constant h 1 which satisfies
Δ ( κ ˜ , ρ ˜ ) + β 1 G ϕ ( κ ˜ , ρ ˜ ) G ( κ ˜ , ρ ˜ ) r ( κ ˜ , ρ ˜ ) ( L + O ) ( κ ˜ , ρ ˜ ) h 1
Following the derivations presented above, further simplification of Equation (21) yields the following:
ϱ ˜ ( κ ˜ + 1 , ρ ˜ ) M ( κ ˜ , ρ ˜ ) ϱ ˜ ( κ ˜ + 1 , ρ ˜ 1 ) + h 1 M ( κ ˜ , ρ ˜ ) M ( κ ˜ , ρ ˜ 1 ) ϱ ˜ ( κ ˜ + 1 , ρ ˜ 2 ) + M ( κ ˜ , ρ ˜ ) h 1 + h 1 M ( κ ˜ , ρ ˜ ) M ( κ ˜ , ρ ˜ 1 ) M ( κ ˜ , 2 ) ϱ ˜ ( κ ˜ + 1 , 1 ) + M ( κ ˜ , ρ ˜ ) M ( κ ˜ , ρ ˜ 1 ) M ( κ ˜ , 3 ) h 1 + + M ( κ ˜ , ρ ˜ ) h 1 + h 1 .
where M ( κ ˜ , ρ ˜ ) = I β 1 G ϕ ( κ ˜ , ρ ˜ ) G ( κ ˜ , ρ ˜ ) r ( κ ˜ , ρ ˜ ) ( L + O ) . According to Lemma 3, we have
ϱ ˜ ( κ ˜ + 1 , ρ ˜ ) ρ ˜ 1 P ϱ ˜ ( κ ˜ + 1 , 1 ) + ρ ˜ 2 P + ρ ˜ 3 P + + 1 P + 0 P h 1
where · represents the floor function. To further elaborate, let P ρ ˜ ( κ ˜ ) = ρ ˜ P P + + ( ρ ˜ + 1 ) P 1 P . We can obtain the following tracking limit:
lim ρ ˜ ρ ˜ 2 P + ρ ˜ 3 P + + 1 P + 0 P = lim ρ ˜ ( ρ ˜ + 1 ) P 1 P + ( ρ ˜ + 1 ) P 2 P + + 1 P + 0 P = lim ρ ˜ ( P ρ ˜ ( κ ˜ ) + P ρ ˜ ( κ ˜ 1 ) + + P ρ ˜ ( 0 ) ) = P 1 .
We can easily derive that lim ρ ˜ ϱ ˜ ( κ ˜ + 1 , ρ ˜ ) = P / ( 1 ) h 1 . Hence, as the iteration count reaches infinity, the voltage tracking error remains within a bounded limit. Consequently, the voltage tracking error for the DAILC algorithm converges to a small residual set across all κ ˜ .
This completes the proof. □
Remark 6. 
As shown in Figure 2, this paper proposes a distributed data-driven adaptive iterative learning secondary voltage control algorithm. Unlike the methods in [17,18,30], this paper does not rely on the microgrid model information, but only controls through input–output data. Considering sensor saturation and disturbances, the algorithm successfully restores the AC microgrid voltage to its reference value.
Remark 7. 
A crucial aspect for the practical application of any control algorithm in microgrids is its computational requirement and suitability for real-time implementation on embedded controllers. The proposed DAILC algorithm is designed with this constraint in mind. The core computations for each agent, namely the PPD estimation (11) and the control law update (9), primarily consist of a small number of scalar algebraic operations (multiplications, additions, and divisions). This makes the algorithm computationally lightweight, especially when compared to model-based strategies that require evaluating complex nonlinear system dynamics, or AI-based methods like neural networks that involve computationally intensive matrix operations. Therefore, the DAILC method strikes an effective balance between advanced adaptive performance and computational feasibility, making it highly suitable for deployment on standard digital signal processors (DSPs) or ARM-based microcontrollers commonly used in power electronic inverters.

4. Simulation Results

To validate the proposed method, simulation studies were conducted using MATLAB/Simulink (R2022b) on a standard desktop computer. The microgrid test system, with parameters detailed in Table 1, was modeled in the Simulink environment based on the architecture described in [17]. The microgrid includes four DREGUs, as shown in the schematic diagram in Figure 3, and the model includes bidirectional communication links, which more closely mirror the operation of actual power systems. This dynamic model, encompassing DREGUs, power lines, and loads, and serves as the data generation source; it provides the necessary input–output data (i.e., measured output voltages and control inputs) to the controller at each simulation time step. The control parameters listed in Table 2 were determined through a systematic evaluation of system performance and a parameter sensitivity analysis, rather than a simple trial-and-error process. To ensure a practical and rigorous simulation, the key parameters were carefully selected. We set the sensor saturation threshold to 315 V, a value slightly above the 311 V rated voltage, to realistically test the algorithm’s robustness against nonlinear clipping constraints during transients. Concurrently, we set the number of iterations to 30. This duration is sufficient to fully demonstrate the entire convergence process and steady-state performance, as our preliminary tests showed the tracking error consistently converged within 15–20 iterations, thus avoiding unnecessary computational overhead. The primary objective was to achieve a rapid convergence speed and high tracking accuracy while ensuring system stability and avoiding excessive overshoot. For instance, the step-size parameter β 1 was adjusted to balance the response speed against oscillations, while the penalty factor δ 1 was set to a small positive value to ensure the denominator in the update law remains robustly non-zero. For comparison, the conventional PI controller used as a baseline was also carefully tuned using the Ziegler–Nichols method followed by manual fine-tuning to optimize its performance under the same test conditions, thereby ensuring a fair and meaningful comparison. Through three specific case studies, this paper verifies the effectiveness of the proposed strategy.

4.1. DAILC Under Sensor Saturation

In this case, we applied the DAILC method to the test AC microgrid considering sensor saturation. As shown in Figure 4, despite not accounting for sensor saturation and relying solely on input–output data, this method successfully restored the output voltage to the preset value of 311 V. In this case, the saturation threshold for the sensors was set at 315 V. In the case of sensor saturation, due to the limitations of the sensor’s measurement range, there is a deviation between the measured value of the output voltage and its actual value. It can be observed from Figure 4 that during the transient processes in the AC microgrid, the peak of the output voltage was limited by the saturation threshold of 315 V. After processing with the DAILC, the output voltage eventually stabilized at the set value of 311 V, and the error converged to zero, thus verifying the effectiveness and practicality of the DAILC method.

4.2. DAILC Under Sensor Saturation and Variable Loads

In this case, we applied the DAILC method to the test AC microgrids considering both sensor saturation and variable load conditions. In microgrids, the unpredictability of load variations is primarily driven by the uncertainty of industrial production activities, fluctuations in commercial demand, changes in residential electricity usage habits, and variability in seasonal and weather conditions. Therefore, microgrids must possess excellent adaptability and rapid response capabilities to ensure the provision of stable and reliable power supply under various load demand scenarios. As shown in Figure 5, the saturation threshold of the sensor was set to 315 V, and load3 on the DG2 bus was added and removed at 0.8 s and 1.6 s, respectively. Observations from Figure 5 indicate that during the transient process of the microgrid, the peak output voltage was limited to the saturation threshold of 315 V. With the application of the DAILC method, even under changing load conditions, the output voltage quickly recovered to the preset value of 311 V, and the final error converged to zero. These results validate the effectiveness and practicality of the DAILC method in handling load variations.

4.3. DAILC Under Sensor Saturation and Topology Variations

In this case, we implemented the DAILC method on the test AC microgrid that was subject to both sensor saturation and topological changes. The specific topology changes are shown in Figure 6. The adaptability of microgrids to topological changes prominently demonstrates their plug-and-play characteristics. This feature not only enhances the flexibility and economic efficiency of the grid but also facilitates the broader integration of renewable energy sources and the implementation of grid automation. In the face of sudden increases in load or instability in energy output, the plug-and-play microgrid can quickly adjust its energy configuration, effectively ensuring the stability of the microgrid operation. As illustrated in Figure 7, the saturation threshold for the sensors was set to 315 V, and the DG4 was removed at 1 s. Observations from Figure 7 reveal that during the transient process of the microgrid, the peak output voltage was constrained by the saturation limit of 315 V. After applying the DAILC method, despite the topological changes, the output voltage quickly returned to the preset value of 311 V, and the final error converged to zero. These results demonstrate the effectiveness and practicality of the DAILC method in responding to topological changes.
To address the issue of communication network reliability, the results from this case serve to validate the robustness of the DAILC algorithm. Although the formal convergence proof in Section 3.3 assumes a strongly connected and time-invariant topology for mathematical tractability, the simulation results demonstrate that the algorithm possesses strong practical resilience. When a communication link fails, the topology is altered. As long as the remaining network remains connected (i.e., each node can still reach the virtual leader directly or indirectly), the local neighborhood error signals can continue to drive the system towards consensus, thereby ensuring voltage stability. Regarding communication delays, they have not been explicitly modeled in this paper. While the iterative learning nature of DAILC, which corrects errors in each cycle, may offer some inherent robustness to small, constant delays, a rigorous analysis of the impact of significant or time-varying delays remains a key topic for our future research.

4.4. Quantitative Performance Analysis and Discussion

To provide a rigorous statistical evaluation of the proposed DAILC method, we introduce several quantitative performance metrics as suggested: Root Mean Square Error (RMSE) for steady-state voltage tracking, convergence time after a disturbance, and robustness assessed by steady-state error fluctuation under measurement noise. We compare the performance of our DAILC method against a conventional distributed PI controller, which serves as a baseline. The results are summarized in Table 3.
The quantitative analysis, summarized in Table 3, reveals the superior performance of the DAILC method across several key metrics. Regarding tracking accuracy, the DAILC method consistently achieves a significantly lower Root Mean Square Error (RMSE)—0.08 V, 0.11 V, and 0.09 V across the three scenarios—compared to the PI controller’s 0.25 V, 0.32 V, and 0.28 V. In terms of transient performance, the DAILC method also excels in convergence time, which measures the duration for the system voltage to settle within a ±0.5% tolerance band of the reference after a major disturbance. In Case 4.2 and Case 4.3, the DAILC method’s convergence times of 0.18 s and 0.21 s are more than twice as fast as the PI controller, highlighting its superior adaptive response. Moreover, the DAILC’s robustness against noise was demonstrated by its ability to maintain a steady-state error fluctuation range of only ±0.15 V when white Gaussian noise was injected, whereas the PI controller exhibited larger fluctuations of ±0.40 V. Finally, to confirm the statistical significance of these findings, 20 Monte Carlo runs for Case 4.1 established a tight 95% confidence interval (CI) of [0.076, 0.084] for the DAILC method’s RMSE, which is distinctly separate from the PI controller’s CI of [0.241, 0.259], thereby validating that its superior performance is statistically significant. The proposed DAILC method is demonstrably superior to conventional PI control in terms of accuracy, speed, and robustness.
To address the crucial question of scalability, we analyze the communication and computational demands of the DAILC algorithm when applied to larger systems (e.g., 20+ DREGUs). The algorithm’s distributed nature is key to its scalability. The communication burden on an individual DREGU is determined by its number of direct neighbors (the node’s degree in graph G), not the total number of DREGUs (N) in the microgrid. For instance, in a ring or line topology, each node only communicates with two neighbors, regardless of whether N is 4 or 40. This contrasts sharply with centralized approaches where communication traffic to a central controller scales with N. Furthermore, as highlighted in Remark 7, the computational load per DREGU is exceptionally low. The control law update (9) and PPD estimation (11) involve only a few scalar algebraic operations. The memory and processing requirements for each agent remain constant and independent of the overall system size. This inherent O(1) complexity per node ensures that the DAILC algorithm can be efficiently deployed on low-cost microcontrollers, making it highly scalable and practical for large, heterogeneous microgrids.
Furthermore, it is important to connect the theoretical convergence to a “small neighborhood,” as proven in Theorem 1, with its practical size. The size of the final error bound, given by lim k e ( t + 1 , k ) = P / ( 1 ρ ) h 1 , is directly proportional to the term h 1 , which encapsulates the magnitude of disturbances, including the sensor noise w i ( t , k ) . This theoretical relationship implies that higher noise levels will lead to a larger steady-state voltage deviation. Our existing quantitative analysis provides a concrete example of this. The robustness test reported in Table 3 was conducted with a low-level white Gaussian noise, resulting in a practical error fluctuation of approximately ±0.15 V. This value represents the practical size of the convergence neighborhood under typical, low-noise conditions. While the size of this neighborhood would increase with higher noise levels, the adaptive mechanism of the DAILC is designed to actively suppress these disturbances, ensuring the deviation remains within a small and acceptable range, thereby validating the practical robustness of our approach.
Beyond the PI controller, it is crucial to position our DAILC method relative to other advanced control strategies. Approaches like feedback linearization [17] and finite-time control [21] offer high performance but fundamentally rely on accurate system models. In real-world microgrids with high penetration of diverse and plug-and-play renewable sources, obtaining precise models is often impractical. Our DAILC method circumvents this challenge by being entirely data-driven, thus offering greater robustness to parameter uncertainties and system heterogeneity. Techniques using neural networks [26] or deep reinforcement learning [27] also handle nonlinearities well. However, they typically require extensive offline training datasets, significant computational resources for the training process, and their “black-box” nature can make stability verification challenging. In contrast, our DAILC is an online adaptive method that is computationally lighter and comes with a formal proof of convergence, making it more suitable for real-time implementation with lower-cost hardware. In conclusion, the DAILC method strikes a balance between performance, robustness, and implementation simplicity. It avoids the rigid model dependency of classical methods and the heavy computational/data requirements of complex AI techniques, positioning it as a practical and effective solution for modern, heterogeneous AC microgrids.

5. Conclusions

This paper introduces a model-free distributed data-driven adaptive iterative learning secondary voltage control method. Initially, utilizing input–output data from DREGUs, a time-variant linear data model that does not depend on specific microgrid system information is established. Subsequently, in response to measurement disturbances and sensor saturation, the DAILC algorithm is designed to achieve data-based adaptive restoration of voltage to reference values. Finally, we experimentally verify the convergence of this algorithm under conditions of sensor saturation and disturbances, confirming its effectiveness in restoring the secondary voltage of AC microgrids.
Although the test system is a standard benchmark that reflects realistic conditions, physical experimental validation is necessary to fully confirm the algorithm’s performance and robustness in real-world applications. Future research will focus on two main directions. First, we plan to implement and test the proposed DAILC algorithm on a hardware-in-the-loop (HIL) platform or a laboratory-scale microgrid to validate its practical feasibility. Second, this paper is limited to the study of voltage restoration to reference values. Therefore, future research will consider integrating reactive power sharing with secondary voltage regulation, addressing this issue comprehensively through a data-driven approach.

Author Contributions

Formal analysis, X.Y.; Funding acquisition, Z.W.; Investigation, S.W.; Project administration, Z.W.; Supervision, Z.W.; Validation, X.Y.; Visualization, S.W.; Writing—original draft, X.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under No. 62373089.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

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

The authors declare no conflict of interest.

Nomenclature

For clarity, the main variables and parameters used in this paper are listed below:
General Symbols and Indices
t , k Time index and iteration index, respectively.
i , j Indices for Distributed Renewable Energy Generation Units (DREGUs).
NTotal number of DREGUs in the microgrid.
Graph Theory
G = ( V , E , A ) Directed graph representing the communication network.
A = [ a i j ] Adjacency matrix of the graph.
D = diag ( d i ) In-degree matrix of the graph.
LLaplacian matrix of the graph, L = D A .
O = diag ( o i ) Pinning gain matrix connecting DREGUs to the virtual leader.
Microgrid Model and Variables
x i State vector of the i-th DREGU.
u i ( t , k ) Control input voltage for the i-th DREGU.
y i ( t , k ) Measured output voltage of the i-th DREGU.
y d i ( t , k ) Sensor input voltage including noise.
y s i ( t , k ) Saturated output voltage from the sensor.
y 0 ( t ) Predefined reference voltage (virtual leader).
w i ( t , k ) Bounded disturbance or measurement noise.
sSaturation threshold of the voltage sensor.
DAILC Algorithm
φ i ( t , k )            Pseudo-Partial Derivative (PPD) of the i-th DREGU.
φ ^ i ( t , k ) Estimated value of the PPD.
φ ˜ i ( t , k ) Estimation error of the PPD, φ ˜ i = φ i φ ^ i .
e i ( t , k ) Local neighborhood pinning error.
ε s i ( t , k ) Tracking error for the saturated output, ε s i = y 0 y s i .
η 1 , λ 1 Step size and penalty factor for the control law update.
η 2 , λ 2 Step size and penalty factor for the PPD estimation.
ϵ Reset threshold for the PPD estimation algorithm.

References

  1. Wang, S.; Wang, Z.; Liu, X.; Ye, X. An SOC-Based Bidirectional Virtual DC Machine Control for Energy Storage Systems in Offshore Isolated Island DC Microgrids. J. Mar. Sci. Eng. 2023, 11, 1502. [Google Scholar] [CrossRef]
  2. Huang, Y.; Wang, Z.; Liu, X.; Ye, X. A consensus based adaptive virtual capacitor control strategy for reactive power sharing and voltage restoration in microgrids. Electr. Power Syst. Res. 2023, 224, 109729. [Google Scholar] [CrossRef]
  3. Guerrero, J.M.; Vasquez, J.C.; Matas, J.; De Vicuña, L.G.; Castilla, M. Hierarchical control of droop-controlled AC and DC microgrids—A general approach toward standardization. IEEE Trans. Ind. Electron. 2010, 58, 158–172. [Google Scholar] [CrossRef]
  4. Phan, B.C.; Lee, M.T.; Lai, Y.C. Intelligent deep-Q-network-based energy management for an isolated microgrid. Appl. Sci. 2022, 12, 8721. [Google Scholar] [CrossRef]
  5. Sahebkar Farkhani, J.; Zareein, M.; Najafi, A.; Melicio, R.; Rodrigues, E.M. The power system and microgrid protection—A review. Appl. Sci. 2020, 10, 8271. [Google Scholar] [CrossRef]
  6. Savaghebi, M.; Jalilian, A.; Vasquez, J.C.; Guerrero, J.M. Autonomous voltage unbalance compensation in an islanded droop-controlled microgrid. IEEE Trans. Ind. Electron. 2012, 60, 1390–1402. [Google Scholar] [CrossRef]
  7. Bidram, A.; Davoudi, A. Hierarchical structure of microgrids control system. IEEE Trans. Smart Grid 2012, 3, 1963–1976. [Google Scholar] [CrossRef]
  8. García Vera, Y.E.; Dufo-López, R.; Bernal-Agustín, J.L. Energy management in microgrids with renewable energy sources: A literature review. Appl. Sci. 2019, 9, 3854. [Google Scholar] [CrossRef]
  9. Lai, J.; Zhou, H.; Lu, X.; Yu, X.; Hu, W. Droop-based distributed cooperative control for microgrids with time-varying delays. IEEE Trans. Smart Grid 2016, 7, 1775–1789. [Google Scholar] [CrossRef]
  10. Gu, W.; Lou, G.; Tan, W.; Yuan, X. A nonlinear state estimator-based decentralized secondary voltage control scheme for autonomous microgrids. IEEE Trans. Power Syst. 2017, 32, 4794–4804. [Google Scholar] [CrossRef]
  11. Duan, Y.; Zhao, Y.; Hu, J. An initialization-free distributed algorithm for dynamic economic dispatch problems in microgrid: Modeling, optimization and analysis. Sustain. Energy, Grids Netw. 2023, 34, 101004. [Google Scholar] [CrossRef]
  12. Ahmed, K.; Seyedmahmoudian, M.; Mekhilef, S.; Mubarak, N.; Stojcevski, A. A review on primary and secondary controls of inverter-interfaced microgrid. J. Mod. Power Syst. Clean Energy 2020, 9, 969–985. [Google Scholar] [CrossRef]
  13. Chen, P.; Liu, S.; Chen, B.; Yu, L. Multi-agent reinforcement learning for decentralized resilient secondary control of energy storage systems against DoS attacks. IEEE Trans. Smart Grid 2022, 13, 1739–1750. [Google Scholar] [CrossRef]
  14. Espina, E.; Llanos, J.; Burgos-Mellado, C.; Cardenas-Dobson, R.; Martinez-Gomez, M.; Saez, D. Distributed control strategies for microgrids: An overview. IEEE Access 2020, 8, 193412–193448. [Google Scholar] [CrossRef]
  15. Zhou, Q.; Shahidehpour, M.; Paaso, A.; Bahramirad, S.; Alabdulwahab, A.; Abusorrah, A. Distributed control and communication strategies in networked microgrids. IEEE Commun. Surv. Tutor. 2020, 22, 2586–2633. [Google Scholar] [CrossRef]
  16. Lin, S.W.; Chu, C.C. Distributed Q-Learning-Based Voltage Restoration Algorithm in Isolated AC Microgrids Subject to Input Saturation. IEEE Trans. Ind. Appl. 2024, 60, 5447–5459. [Google Scholar] [CrossRef]
  17. Bidram, A.; Davoudi, A.; Lewis, F.L.; Guerrero, J.M. Distributed cooperative secondary control of microgrids using feedback linearization. IEEE Trans. Power Syst. 2013, 28, 3462–3470. [Google Scholar] [CrossRef]
  18. Bidram, A.; Lewis, F.L.; Davoudi, A. Distributed control systems for small-scale power networks: Using multiagent cooperative control theory. IEEE Control Syst. Mag. 2014, 34, 56–77. [Google Scholar]
  19. Ahmadi, F.; Batmani, Y.; Bevrani, H. Model Reference Adaptive Controller for Simultaneous Voltage and Frequency Restoration of Autonomous AC Microgrids. J. Mod. Power Syst. Clean Energy 2024, 12, 1194–1202. [Google Scholar]
  20. Ge, P.; Dou, X.; Quan, X.; Hu, Q.; Sheng, W.; Wu, Z.; Gu, W. Extended-state-observer-based distributed robust secondary voltage and frequency control for an autonomous microgrid. IEEE Trans. Sustain. Energy 2018, 11, 195–205. [Google Scholar] [CrossRef]
  21. Zuo, S.; Davoudi, A.; Song, Y.; Lewis, F.L. Distributed finite-time voltage and frequency restoration in islanded AC microgrids. IEEE Trans. Ind. Electron. 2016, 63, 5988–5997. [Google Scholar] [CrossRef]
  22. Dehkordi, N.M.; Sadati, N.; Hamzeh, M. Distributed robust finite-time secondary voltage and frequency control of islanded microgrids. IEEE Trans. Power Syst. 2016, 32, 3648–3659. [Google Scholar] [CrossRef]
  23. Gomez, J.S.; Saez, D.; Simpson-Porco, J.W.; Cárdenas, R. Distributed predictive control for frequency and voltage regulation in microgrids. IEEE Trans. Smart Grid 2019, 11, 1319–1329. [Google Scholar] [CrossRef]
  24. Hu, J.; Sun, Q.; Wang, R.; Wang, B.; Zhai, M.; Zhang, H. Privacy-preserving sliding mode control for voltage restoration of AC microgrids based on output mask approach. IEEE Trans. Ind. Inform. 2022, 18, 6818–6827. [Google Scholar] [CrossRef]
  25. Ma, Z.; Wang, Z.; Guo, Y.; Yuan, Y.; Chen, H. Nonlinear multiple models adaptive secondary voltage control of microgrids. IEEE Trans. Smart Grid 2020, 12, 227–238. [Google Scholar] [CrossRef]
  26. Shen, X.; Wang, H.; Li, J.; Su, Q.; Gao, L. Distributed secondary voltage control of islanded microgrids based on RBF-neural-network sliding-mode technique. IEEE Access 2019, 7, 65616–65623. [Google Scholar] [CrossRef]
  27. Yan, Z.; Xu, Y. A multi-agent deep reinforcement learning method for cooperative load frequency control of a multi-area power system. IEEE Trans. Power Syst. 2020, 35, 4599–4608. [Google Scholar] [CrossRef]
  28. Qu, B.; Wang, Z.; Shen, B.; Dong, H. Distributed state estimation for renewable energy microgrids with sensor saturations. Automatica 2021, 131, 109730. [Google Scholar] [CrossRef]
  29. Najafirad, M.J.; Dehkordi, N.M. Distributed event-triggered control of DC microgrids with output saturation constraint. Int. J. Electr. Power Energy Syst. 2023, 148, 108936. [Google Scholar] [CrossRef]
  30. Wang, Q.; Sun, C. Conditions for consensus in directed networks of agents with heterogeneous output saturation. IET Control Theory Appl. 2016, 10, 2119–2127. [Google Scholar] [CrossRef]
  31. Chen, Z.; Wang, J.; Ma, K.; Huang, X.; Wang, T. Fuzzy adaptive two-bits-triggered control for nonlinear uncertain system with input saturation and output constraint. Int. J. Adapt. Control Signal Process. 2020, 34, 543–559. [Google Scholar] [CrossRef]
  32. Yi, X.; Yang, T.; Wu, J.; Johansson, K.H. Event-triggered control for multi-agent systems with output saturation. In Proceedings of the 2017 36th Chinese Control Conference (CCC), Dalian, China, 26–28 July 2017; pp. 8431–8436. [Google Scholar]
  33. Yang, C.; Zheng, T.; Bu, M.; Li, P.; Guerrero, J.M. Distributed Model-Free Adaptive Control Strategy for Hybrid AC/DC Microgrid with Event-Triggered Mechanism. IEEE Trans. Ind. Electron. 2023, 71, 9077–9086. [Google Scholar] [CrossRef]
  34. Zhang, H.; Zhou, J.; Sun, Q.; Guerrero, J.M.; Ma, D. Data-driven control for interlinked AC/DC microgrids via model-free adaptive control and dual-droop control. IEEE Trans. Smart Grid 2015, 8, 557–571. [Google Scholar] [CrossRef]
  35. Huang, L.; Sun, W.; Li, Q.; Li, W. Iterative learning-based distributed secondary control for AC microgrid. IEEE Syst. J. 2023, 17, 4430–4439. [Google Scholar] [CrossRef]
  36. Avila, N.F.; Chu, C.C. Distributed pinning droop control in isolated AC microgrids. IEEE Trans. Ind. Appl. 2017, 53, 3237–3249. [Google Scholar] [CrossRef]
  37. Zhao, H.; Peng, L.; Yu, H. Model-free adaptive consensus tracking control for unknown nonlinear multi-agent systems with sensor saturation. Int. J. Robust Nonlinear Control 2021, 31, 6473–6491. [Google Scholar] [CrossRef]
  38. Yang, S.; Xu, J.X.; Li, X. Iterative learning control with input sharing for multi-agent consensus tracking. Syst. Control Lett. 2016, 94, 97–106. [Google Scholar] [CrossRef]
  39. Wang, Y.; Li, H.; Qiu, X.; Xie, X. Consensus tracking for nonlinear multi-agent systems with unknown disturbance by using model free adaptive iterative learning control. Appl. Math. Comput. 2020, 365, 124701. [Google Scholar] [CrossRef]
Figure 1. Control block diagram of DREGUs. In the figure, the asterisk (*) is used to represent the reference value.
Figure 1. Control block diagram of DREGUs. In the figure, the asterisk (*) is used to represent the reference value.
Applsci 15 07119 g001
Figure 2. Data-driven control framework for AC microgrids.
Figure 2. Data-driven control framework for AC microgrids.
Applsci 15 07119 g002
Figure 3. Diagram of 4-DREGU islanded microgrid test system.
Figure 3. Diagram of 4-DREGU islanded microgrid test system.
Applsci 15 07119 g003
Figure 4. Comparative analysis of microgrid output voltage with and without considering sensor saturation. (a) Output voltage without considering sensor saturation. (b) Output voltage with sensor saturation considered. (c) Output voltage error.
Figure 4. Comparative analysis of microgrid output voltage with and without considering sensor saturation. (a) Output voltage without considering sensor saturation. (b) Output voltage with sensor saturation considered. (c) Output voltage error.
Applsci 15 07119 g004
Figure 5. Under varying load conditions with sensor saturation considered. (a) Output voltage amplitude. (b) Output voltage error.
Figure 5. Under varying load conditions with sensor saturation considered. (a) Output voltage amplitude. (b) Output voltage error.
Applsci 15 07119 g005
Figure 6. Change in communication link.
Figure 6. Change in communication link.
Applsci 15 07119 g006
Figure 7. System performance when topological change. (a) Output voltage amplitude. (b) Output voltage error.
Figure 7. System performance when topological change. (a) Output voltage amplitude. (b) Output voltage error.
Applsci 15 07119 g007
Table 1. System parameters.
Table 1. System parameters.
SymbolParameterValue
y 0 Rated line voltage311 V
Z l i n e , 1 Line impedance of DG10.002 + j0.02
Z l i n e , 2 Line impedance of DG20.004 + j0.03
Z l i n e , 3 Line impedance of DG30.002 + j0.02
Z l i n e , 4 Line impedance of DG40.004 + j0.03
S r a t e , 1 Rated power of DG120 kW, 10 kVar
S r a t e , 2 Rated power of DG220 kW, 15 kVar
S r a t e , 3 Rated power of DG320 kW, 20 kVar
S r a t e , 4 Rated power of DG420 kW, 25 kVar
L f DG filter inductance1 mH
C f DG filter capacitor100 μ F
l o a d 1 Capacity of load112 kW, 12 kVar
l o a d 2 Capacity of load215.3 kW, 7.6 kVar
l o a d 3 Capacity of load310 kW, 10 kVar
Table 2. Control parameters.
Table 2. Control parameters.
SymbolParameterValue
β 1 Step size0.3
δ 1 PPDs penalty factor0.5
β 2 Weight factor0.8
δ 2 Input penalty factor0.5
ε Threshold value1 × 10−4
TNumber of iterations30
Table 3. Quantitative performance analysis.
Table 3. Quantitative performance analysis.
MetricCaseDAILCPI
RMSE (V)4.1: Sensor Saturation0.080.25
4.2: Variable Load0.110.32
4.3: Topology Change0.090.28
Convergence Time (s)4.2: Load Added0.180.45
4.3: DG4 Removed0.210.52
Robustness under Noise
(Error Fluctuation)
±0.15 V±0.40 V
RMSE (95% CI)Case 4.1 (20 runs)[0.076, 0.084][0.241, 0.259]
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

Ye, X.; Wang, Z.; Wang, S. Data-Driven Voltage Control in Isolated AC Microgrids Subject to Sensor Saturation. Appl. Sci. 2025, 15, 7119. https://doi.org/10.3390/app15137119

AMA Style

Ye X, Wang Z, Wang S. Data-Driven Voltage Control in Isolated AC Microgrids Subject to Sensor Saturation. Applied Sciences. 2025; 15(13):7119. https://doi.org/10.3390/app15137119

Chicago/Turabian Style

Ye, Xiaolu, Zhanshan Wang, and Shuran Wang. 2025. "Data-Driven Voltage Control in Isolated AC Microgrids Subject to Sensor Saturation" Applied Sciences 15, no. 13: 7119. https://doi.org/10.3390/app15137119

APA Style

Ye, X., Wang, Z., & Wang, S. (2025). Data-Driven Voltage Control in Isolated AC Microgrids Subject to Sensor Saturation. Applied Sciences, 15(13), 7119. https://doi.org/10.3390/app15137119

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