
==== Front
Sci Rep
Sci Rep
Scientific Reports
2045-2322
Nature Publishing Group UK London

70405
10.1038/s41598-024-70405-7
Article
Continuous-time robust frequency regulation in isolated microgrids with decentralized fixed structure μ-synthesis and comparative analysis with PID and FOPID controllers
Mohammed Abdallah
Kadry Ahmed ahmedkadry@h-eng.helwan.edu.eg

Abo-Adma Maged
Samahy Adel El
Elazab Rasha
https://ror.org/00h55v928 grid.412093.d 0000 0000 9853 2750 Faculty of Engineering, Helwan University, Cairo, Egypt
5 9 2024
5 9 2024
2024
14 208009 1 2024
16 8 2024
© The Author(s) 2024
2024
https://creativecommons.org/licenses/by/4.0/ Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Isolated microgrids, which are crucial for supplying electricity to remote areas using local energy sources, have garnered increased attention due to the escalating integration of renewable energy sources in modern microgrids. This integration poses technical challenges, notably in mitigating frequency deviations caused by non-dispatchable renewables, which threaten overall system stability. Therefore, this paper introduces decentralized fixed structure robust μ-synthesis controllers for continuous-time applications, surpassing the limitations of conventional centralized controllers. Motivated by the increasing importance of microgrids, this work contributes to the vital area of frequency regulation. The research challenge involves developing a controller that not only addresses the identified technical issues but also surpasses the limitations of conventional centralized controllers. In contrast to their centralized counterparts, the proposed decentralized controllers prove more reliable, demonstrating enhanced disturbance rejection capabilities amidst substantial uncertainties, represented through normalized co-prime factorization. The proposed controllers are designed using the D-K iteration technique, incorporating performance weight filters on control actions to maintain low control sensitivity and ensure specific frequency band operation for each sub-system. Importantly, the design considers unstructured uncertainty up to 40%, addressing real-world uncertainties comprehensively. Rigorous robust stability and performance tests underscore the controller's superiority, demonstrating its robustness against elevated uncertainty levels. Robust stability is verified for all controllers, with the proposed controller showing robust stability against up to 171% of the modeled uncertainty. Notably, the controller boasts a fixed structure with lower order compared to other H-infinity controllers, enhancing its practical implementation. Comparative analyses against Coronavirus Herd Immunity Optimizer tuned Proportional-Integral-Derivative (CHIO-PID) controller and CHIO tuned Fractional-Order Proportional-Integral-Derivative (CHIO-FOPID) controller further validate the superior performance of the proposed solution, offering a significant step towards ensuring the stability and reliability of microgrid systems in the face of evolving energy landscapes.

Keywords

Microgrid
Frequency regulation
Decentralized controller
Fixed structure μ-synthesis
Robust frequency control
Subject terms

Energy science and technology
Engineering
Helwan UniversityOpen access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).

issue-copyright-statement© Springer Nature Limited 2024
==== Body
pmcIntroduction

Recently, isolated microgrids have become a focal point for researchers due to their potential to fulfill the energy needs of remote areas. Despite the attractiveness of renewable energy sources in modern microgrids, the escalating integration of renewables introduces technical challenges, including low inertia and output power fluctuations resulting from the stochastic behavior of these sources. Such challenges lead to high frequency deviations and voltage instabilities1. These issues can be mitigated by incorporating traditional energy sources such as diesel generators, batteries, flywheels, superconducting magnetic energy storage systems, and ultra-capacitors2–4. However, each energy storage system has its drawbacks, with energy storage systems suffering from high frequency response and maintenance problems, flywheels and superconducting magnetic energy storage systems facing energy density issues, and ultra-capacitors standing out with fast power response5. Microgrids often employ both centralized and decentralized control systems6. While centralized control is straightforward, it faces reliability issues, as any interruption in the central controller affects the system's stability, and expanding or scaling this form of control is challenging. In contrast, decentralized control, with separate and adaptable local controllers, offers a more dependable, flexible, and extendable solution7.

Droop control has emerged as a decentralized technique with a key advantage—it does not rely on communication but instead focuses on regional measurements. However, droop control approaches tend to overlook the dynamics of generators, impacting the control response and performance. To guarantee dynamic stability in the presence of a high level of disturbance, consideration and analysis of generator dynamics become imperative8.

Existing literature explores various control strategies such as model predictive control (MPC)9 and modified model predictive control (MMPC)10. However, these approaches often face limitations due to challenges in practical implementation. While MPC and MMPC can offer improved performance in theory, their practical application is hindered by computational complexity and the need for precise modeling, which can be difficult to achieve in real-world scenarios11.

Additionally, Proportional-Integral-Derivative (PID) controllers12,13 and Fractional Order PID (FOPID) controllers14,15 are widely used in practice due to their simplicity and effectiveness in many applications. However, these controllers also have limitations. PID controllers can struggle with system uncertainties and non-linearities16, leading to suboptimal performance under certain conditions. FOPID controllers, while offering better tuning flexibility and robustness than traditional PID controllers, still face challenges related to parameter tuning and implementation complexity17.

Thus, while these control strategies are extensively employed in practice, their limitations, including system uncertainties, lack of a systematic framework, and practical implementation challenges, must be acknowledged and addressed to enhance their effectiveness in ensuring dynamic stability and optimal performance.

In18,19, the H∞ control method was illustrated as a centralized controller. However, system uncertainties were not addressed. The decentralized H∞ loop shaping controllers for frequency regulation in the microgrid are presented in16. However, each controller was shaped for each generation unit separately; therefore, interconnections between distributed generation units were not taken into consideration. Furthermore, they did not have a framework for loop shaping that was systematic. Additionally, it is difficult to implement the designed controller because the order of the designed H∞ controller is equal to the order of the plant. The designed controller should have a fixed-structure controller, satisfy robust stability and performance requirements, and have an acceptable order to be implemented. Sliding mode controllers20, although robust, can suffer from chattering issues, which can be detrimental to system components21. Table 1 provides a comparison between the proposed μ-synthesis controller and the existing controllers, demonstrating that the proposed μ-synthesis controller addresses all the challenges present in existing control systems.Table 1 Comparison between the proposed μ-synthesis controller and existing controllers.

Controller	System uncertainty modeling	Controller order	Weight filter	
μ-synthesis robust controller	Deal with a high level of system uncertainties	Second order controller	Weight filters are taken into considerations to operate each sub-system within a specific bandwidth	
Robust controllers (H∞ loop shaping and Sliding mode controllers)	Deal with a high level of system uncertainties	The controller order equal to the system order	Weight filters are not taken into considerations	
Conventional Controllers (drop control, model predictive control, PID, and FOPID)	Suffer from limitations due to system uncertainties	The controller order may be lower order than the system order	Weight filters are not taken into considerations	

In this paper, a continuous-time μ-synthesis robustness decentralized controller is proposed to address the frequency deviation challenges in isolated microgrids. This technique was chosen due to its superior ability to handle system uncertainties and ensure robust performance across various operating conditions. Unlike traditional controllers, μ-synthesis provides a systematic framework for designing controllers that can explicitly consider and compensate for model uncertainties and external disturbances. This is particularly crucial in isolated microgrids where uncertainties can significantly impact system stability and performance. Furthermore, μ-synthesis allows for the inclusion of weight filters, which can be tailored to operate each subsystem within a specified bandwidth frequency, thereby optimizing the performance of the entire microgrid.

In summary, the research gap addressed by this paper is the need for a decentralized control strategy that can effectively manage frequency deviations in isolated microgrids while considering practical implementation challenges such as controller order and weight filter design. By leveraging the robustness and systematic design framework of μ-synthesis, this paper contributes a viable solution to enhance the stability and performance of isolated microgrids, outperforming other control strategies that struggle with system uncertainties and practical implementation issues.

This designed controllers specifically tackle unstructured uncertainties, such as operating point uncertainty and fluctuations in the output power of renewable energy sources, represented using normalized co-prime factorization. Performance weight filters are applied to control actions to maintain low control sensitivity and ensure optimal operation within specific frequency bands for each sub-system. Through rigorous robust stability and performance tests, the superior capability of the proposed controller to withstand a broad range of uncertainties is demonstrated. Comparative analysis with CHIO-PID and CHIO-FOPID controllers, considering input disturbances and diverse system uncertainties, underscores the practical advantages of this proposed controller, with a simplified order enhancing its feasibility.

This work builds upon recent studies, contributing a comprehensive approach that not only embraces low-order implementation but also considers uncertainties and integrates weight filters for improved control sensitivity and system performance.

Recent developments in the field include studies on decentralized low-order μ-synthesis controllers in22, which, although practically implemented with a low order, did not delve into the consideration of weight filters. Additionally, investigations in23,24 addressed μ-synthesis controllers in decentralized settings but focused primarily on system order considerations rather than practical implementation aspects. Another noteworthy study proposed an eighth-order μ-synthesis controller in25 with only 20% structure uncertainty, emphasizing the need for a lower-order controller for practical implementation. Other studies in26,27 suggested H∞ controllers but with the same system order and without weight filter consideration.

This work stands out by introducing decentralized second-order μ-synthesis controllers for frequency regulation in isolated microgrids. The proposed controller is designed with practicality in mind, featuring a low order that eases implementation. It effectively handles 40% unstructured uncertainties, accounting for unpredictable variations in all parameters—a significant advantage over structured uncertainties. This approach not only acknowledges and addresses the challenges posed by random fluctuations but also incorporates weight filters to enhance overall performance. This approach addresses critical issues, ensuring robust stability and effective disturbance rejection in the face of significant uncertainties. This study’s comparative analysis positions it as a significant advancement in the quest for reliable and practical frequency regulation in isolated microgrids. This paper is structured into sections that cover microgrid modeling, uncertainty modeling, the proposed controller's design process, simulation results, and concluding remarks.

Microgrid modeling

Figure 1 depicts the configured architecture of an isolated hybrid microgrid under examination. The microgrid ensemble encompasses a suite of energy sources, including a diesel generator, fuel cell, electrolyzer, wind generation system, and an ultra-capacitor serving as an energy storage system28,29. The diesel generator is supplied with a speed governor, which functions to regulate the speed of the diesel engine. Concurrently, a blade pitch control mechanism is employed within the wind turbine system to ensure that the speed of the wind turbine generator remains within prescribed operating limits, preventing it from surpassing the designated maximum power set point amidst fluctuating wind speeds29.Figure 1 Microgrid configuration.

Wind power modeling

The wind turbine generator's output power is proportional to the cube of the wind speed Vwind. The mechanical power output of a wind turbine can be defined in Eq. (1)27:1 PWTG=12*ρa*Cp*Ab*Vwind

Ab: blade area (m2); ρa: air density (kg/m3); and Cp: power co-efficient which is a function of tip speed ratio (λ) and blade pitch angle (β).

According to Eq. (1), the intermittent characteristics inherent in a renewable wind generation system can influence the power quality and overall performance of a hybrid microgrid. To mitigate potential disruptions, the blade pitch control methodology is implemented to minimize errors in power generation and mitigate frequency variations. The continuous monitoring of wind turbine speed is facilitated by the blade pitch control mechanism, which actively engages within the turbine's feedback control system, ensuring precise and responsive adjustments.

Fuel cell modeling

Fuel cells serve as static energy converters, transforming the chemical energy of fuel into electrical energy through electrochemical reactions. Due to their remarkable performance, minimal environmental footprint, and versatile modular structure, fuel cells are pivotal assets in hybrid distributed generation power systems. Compared with a fuel tank and an inverter for the conversion of DC power to AC power, the fuel cell system, despite its inherent nonlinear model and high-order characteristics, is effectively represented by a three-order model for frequency studies13,28,29. The model is given in Eq. (2)31 in terms of the inverter, interconnection, and fuel cell time constants TIN, TIC, and TFC.2 FC(S)=KFC(1+TICs)(1+TINs)(1+TFCs)

Aqua-electrolyzer modeling

Aqua-electrolyzer generate hydrogen, which is required by fuel cells by utilizing renewable energy as an electricity source. The aqua-electrolyzer model is defined in Eq. (3) in terms of a time constant TAE and a gain KAE.3 GAE(S)=KAE(1+TAEs)

Ultra-capacitor modeling

Ultra-capacitors are capacitors with a high capacity and a low voltage rating of approximately 2.5 V. They are used to store extra power generation in microgrids and then deliver it in a short period of time at peak-load demand13. Equation (4) expresses the ultra-capacitor's transfer function as a function of a time constant TUC and a gain KUC.4 GUC(S)=KUC(1+TUCs)

In practice, several ultra-capacitors are connected together to achieve the required terminal voltage and energy storage capacity.

Diesel generator modeling

In response to the frequency deviation signal, the frequency controller of the distributed diesel generating unit initiates a control action directed towards the speed-gear changer of the diesel engine. Employing the frequency variation within the power system as a feedback input, this mechanism ensures the stability of the system. Striking a balance is crucial, as rapid operation of the speed-gear changer may lead to increased wear and tear on the engine, while sluggish operation may compromise overall system performance. Hence, the presence of an effective frequency controller is imperative for seamless operation of the system.

A comprehensive block diagram of the investigated system is shown in Fig. 2. This system encompasses diverse components, including a diesel generator, an electrolyzer, an ultra-capacitor serving as an energy storage element, a fuel cell, and a wind generation system. The intricacy lies in orchestrating the operation of each generation unit within specified frequency bands, accounting for the unique dynamics inherent to each unit, as elucidated in subsequent sections. Table 2 provides a detailed overview of the parameters associated with each distributed generation unit within the examined system.Figure 2 Overall block diagram for the studied system.

Table 2 The parameters of the studied hybrid microgrid.

Parameter	Value	Nomenclature	
KFC	0.01	Gain constant of the fuel cell	
KIC	1	Gain constant of interconnection	
KIN	1	Gain constant of inverter	
TIC	0.004	Time constant of the interconnection	
TIN	0.04	Time constant of the inverter	
TFC	4	Time constant of the fuel cell	
KAE	0.04	Gain constant of the aqua-electrolyzer	
KUC	-0.7	Gain constant of the ultra-capacitor	
TAE	0.002	Time constant of the aqua-electrolyzer	
TUC	0.9	Time constant of the ultra-capacitor	
Kfc	1.5	Fluid coupling	
Kp2	1.25	Hydraulic actuator gain	
Kp3	1.4	Gain of fit pitch response	
Tp1	0.6	Time constant of the pitch control	
Tp2	0.04	Time constant of the hydraulic pitch actuator	
Kpc	0.08	Blade characteristic constant	
Kpi	6.1	Integral controller gain of pitch controller	
KD	0.4	Speed governor gain	
M	0.4	Inertia constant	
D	0.03	Damping constant	
R	5	Drop constant	
Diesel generator units (2 units, 150 kW each), wind system (2 units, 150 kW each), fuel cell (4 units, 50 kW each), ultra-capacitor system = 200 kW, load demand = 600 kW.

Uncertainty modeling

System uncertainties can arise from the variability of model parameters or the inherently fluctuating characteristics of renewable energy sources. To address these intricate uncertainties, this paper incorporates the normalized co-prime factorization technique32 as a robust modeling approach. The standardized normalized co-prime factor is defined in Eq. (5) and the perturbed plant PΔ is given by Eq. (6).5 Pl=MS-1NS

6 PΔ=(MS+ΔMS)-1(NS+ΔNS)‖ΔMSΔNS‖≤1γ

where ΔMS and ΔNS are transfer functions that simulate the plant's unstructured uncertainty as shown in Fig. 3.Figure 3 Plant with uncertainty model and µ-synthesis controller.

Figure 4 shows the frequency response of the studied microgrid with the uncertainty model (40% unstructured uncertainty).Figure 4 Frequency response for the studied microgrid with the uncertainty model.

Proposed controllers

In this section, a μ-synthesis robust decentralized controller, CHIO-PID, and CHIO-FOPID decentralized controllers are discussed.

μ-synthesis robust controller

One of the most important issues in control theory that has long been studied is robustness. A key measure of a control system's robustness is how sensitive it is to both external and internal disturbances. Several robust strategies have been introduced in 33–35 to guarantee robust stability and performance under the influence of high levels of uncertainty.

In this paper, a μ-synthesis robust decentralized controller is designed to control the isolated microgrid frequency. The designed control addresses system unstructured uncertainties such as operating point uncertainty and fluctuations in the output power of renewable energy sources. For complicated systems with any type of uncertainty, the µ-synthesis robust control enables to design of a multivariable optimal robust controller. It extends the H∞ synthesis and minimizes the closed loop gain of the system to find a robust controller.

Figure 5 shows the structure of the µ-synthesis control system. Figure 5 (left) displays the normalized M-∆ structure with the plant and the uncertainty model ∆, whereas Fig. 5 (right) displays the closed loop P-∆-K structure with the plant, controller, and uncertainty model ∆. Where Z, W, y, uΔ, u, and yΔ are the control performance signals, exogenous inputs, control signals, measured input , outputs, and output perturbation signals of the uncertain block, respectively32.Figure 5 Structure of the µ-synthesis control system.

The function of the µ-synthesis is defined in Eq. (7) where ∆ represents the structure and unstructured uncertainties and is defined in Eq. (8).7 μΔ(M)=1minΔ∈Δ{σ(Δ):|I-MΔ|=0}′

8 Δ={diagδ1Ir1,⋯⋯..,δkIrk,Δ1⋯⋯,Δf,δiϵC,ΔjϵCkixkj}

D–K iteration method30 is used to find the µ-synthesis controller parameters. This procedure resolves a series of scaled H∞ issues. The D and G scalings are used to express a scaled H∞ norm and are characterized by frequency dependence and utilizing the uncertainty structure. The following steps can be used to summarize the D–K iteration solving process29. The first step is to find the H∞ controller that minimizes the plant closed loop gain. In the second step, a scaled H∞ norm is expressed using D and G scalings (called the D step). A new controller is designed in the third step according to the H∞ norm in the second step. The forth step is the stop criterion. In this step the second and third steps are repeated until the stopping criterion which depends on whether the robust performance is met. Equation (9) indicates the general formula of the output continuous-time controllers using the µ-synthesis technique. Figure 6 shows the flowchart of the proposed control technique indicating the D-K solving steps.9 CμS=a1*s2+b1*s+c1a*s2+b*s+c

where a,b,c,a1,b1,andc1 are the µ-synthesis controller parameters indicated in Appendix 1 in supplementary file. CμS is the transfer function of the sub-system µ-synthesis controller.Figure 6 Flowchart of the proposed µ-synthesis control technique.

Robust performance and robust stability tests should be performed after designing the µ-synthesis controller. The maximum value of µ for robust performance should satisfy the performance criterion ‖Δ‖∞ < 1 to guarantee robust performance; additionally, the upper bound of µ in the worst case gain should satisfy the same relation to grantee robust stability for the studied system.

For a certain design problem, choosing weighting filters is a challenging process that requires fine tuning and ad hoc decisions. Giving a generic weighted filter formula that will work in all scenarios is very difficult. In 32–39, the general requirements for the choosing of weighting filters are discussed, which may be helpful in selecting an initial weight.

Performance weight filters are applied to the control actions to keep the control sensitivity at a low limit and operate each sub-system in a specific frequency band. The weight parameter of WZ1 shown in Fig. 2 is selected to minimize the cost function in Eq. (10).10 ‖S*WlpT*Whp‖2

where Wlp is a low pass filter for the sensitivity function and Wℎp is a high pass filter for complementary sensitivity. Where T and S are the complementary sensitivity and sensitivity of the closed loop system, respectively. For optimal reference tracking, the sensitivity function (S) should have low gain at low frequencies and high gain at high frequencies to avoid overshoot; therefore to weight the sensitivity function, a low pass filter Wlp should be chosen38. On the other hand, T should be near zero for noise suppression and near unity for successful reference tracking. A high pass filter is used to weight the complementary sensitivity function30 since the majority of noise energy is focused on high frequencies and the reference input signal occurs at low frequencies. Equation (11) can be used to obtain the weighting functions of S and T.11 WZS=s/MP+WCs+ε*WC

where WC is the minimum bandwidth frequency, MP is the maximum peak magnitude, and ε is the maximum tracking error. The crossover frequency of the sensitivity weighting function should be selected to minimize the maximum desired closed-loop time constant. Since noise was not taken into account in this work, Wℎp is zero.

The weight functions (WZ2, WZ3,WZ4,andWZ5) are selected to operate each sub-system in a specific frequency band, such as operating ultra-capacitor in the high frequency band and operating diesel generator, fuel cell, and aqua-electrolyzer in the low frequency band due to their mechanical nature. Figure 7 shows the Bode diagram for each sub-system.Figure  7 Bode diagrams for sub-systems.

The selection of weighting filters (WZ1, WZ2, WZ3,WZ4,andWZ5) is given in Eq. (12) and their Bode diagrams are shown in Fig. 8.Figure 8 Bode diagrams for weighting filters.

12 WZ1=0.05s+0.02s+2e-6,WZ2=10s+0.199s+199,WZ3=2s+0.03464s+34.64,WZ4=2s+0.0199s+199,WZ5=0.0001s+0.1s+0.001

CHIO-PID and CHIO-FOPID controllers

The concept of the CHIO was developed based on the herd immunity theory to combat the coronavirus (COVID-19) pandemic. The contact of infected individuals with other members determines the coronavirus infection spreading rate. Health experts recommend social distancing as a way to shield other members from the disease. Herd immunity is a state reached by a population when the majority of the population is immune, resulting in a decrease in disease spread.

The previously illustrated concepts are modeled by an optimization algorithm. CHIO simulates both the herd immunity approach and the principles of social distancing. The herd immunity individual cases are classified into three categories: susceptible, infected, and immuned. This approach is used to determine how the newly generated solutions update their genes according to social distancing strategies. Figure 9 indicates the three types of individuals.Figure 9 Types of individuals.

CHIO-PID and CHIO-FOPID controllers are designed for each sub-system for comparison purposes with the µ-synthesis controller. Figure 10 shows the design steps of the CHIO-PID and CHIO-FOPID controllers41. The steps are summarized as follow: the first step is the determination of the cost function; in this case, the cost function minimizes the integral absolute time error as a function of the sub-system controller’s parameters.Figure 10 The CHIO-PID and CHIO-FOPID flowchart.

The CHIO parameters are defined in the second step; the parameters are defined as follow xi is the decision variable with range of xi∈[li,ui] where li and ui refer to the lower and upper limits of xi,n is the number of variables, Max-Iter is the maximum number of iterations, population size (HIS), maximum age, and Co is the number of infected cases.

In the third step, the herd immunity population (HIP) is calculated according to Eqs. (13) and (14).13 HIP=x11x21⋯xn1x12x22⋯x22⋮⋮⋯⋮x1HISx2HIS⋯x2HIS

14 xij=li+ui-lixU(0,1)

In the fourth step, calculate xijt+1, which is affected by social distancing as described in36. HIP is updated in the fifth step according to the fourth step and the updated values satisfy the cost function. The fatality cases are determined in the sixth step, where the cost function of xijt+1 does not improve with increasing age. In the last step the stopping criterion is achieved until the maximum number of iterations is reached. Equations (15) and (16) indicate the general formula of the output controllers using CHIO-PID and CHIO-FOPID controllers respectively.15 CPIDS=KP+KI/s+KD*s

16 CFOPIDS=KPP+KII/sα+KDD*sβ

where KP,KI,andKD are the PID controller parameters indicated in Appendix 2 in supplementary file. CPIDS is the transfer function of the sub-system PID controller. KPP,KII,andKDD are the FOPID controller parameters indicated in Appendix 3 in supplementary file. CFOPIDS is the transfer function of the sub-system FOPID controller.

Simulation results

A decentralized µ-synthesis controller for each sub-system is designed based on the uncertainty model and weight actions according “Uncertainty modeling” and “Proposed controllers” and comparisons between the µ-synthesis controller, CHIO-PID, and CHIO-FOPID controllers are performed. MATLAB® R2020b was used to simulate the system using the proposed controllers.

In the first study case, a µ-synthesis controller is compared with CHIO-PID and CHIO-FOPID controllers at a load change of 10% and an uncertainty level of 40%. The frequency deviation of the microgrid for all controllers is compared in Fig. 11, which indicates that, the µ-synthesis controller has a better dynamic response with a settling time of 13.02 s compared with 35 s and 30.56 s for the PID and FOPID respectively. The controller’s actions are shown in Figs. 12, 13, and 14, which indicate that, the controller’s actions of the µ-synthesis controller are within acceptable limits compared with PID and FOPID.Figure 11 Frequency deviation of the microgrid for the µ-synthesis, PID, and FOPID controllers.

Figure 12 Control actions for µ-synthesis controllers.

Figure 13 Control actions for CHIO-PID controllers.

Figure 14 Control actions for CHIO-FOPID controllers.

In the second study case, a µ-synthesis controller is compared with a CHIO-PID and CHIO-FOPID controllers at wind power change of 10% and an uncertainty level of 40%. The frequency deviation of the microgrid for all controllers is compared in Fig. 15, which indicates that, µ-synthesis controller has a better dynamic response with a settling time of 22.22 s compared with 46.48 s and 31.36 s for the PID and FOPID respectively. The controller’s actions are shown in Figs. 16, 17, and 18, which indicate that, the controller’s actions of the µ-synthesis controller are within acceptable limits compared with PID and FOPID.Figure 15 Frequency deviation of the microgrid for the µ-synthesis, PID, and FOPID controllers.

Figure 16 Control actions for µ-synthesis controllers.

Figure 17 Control actions for PID controllers.

Figure 18 Control actions for FOPID controllers.

Table 3 summarizes the step response specifications for the microgrid frequency with all types of controllers in each study case.Table 3 Step response specifications.

Specifications	10% Load change	10% Wind power change	
µ-synthesis	PID	FOPID	µ-synthesis	PID	FOPID	
Steady state error	3.93e−9	93e−8	1.3e−5	2.45e−9	3.2e−8	2.58e−7	
Settling time (s)	13	35	30.56	22.2	36	31.36	
Maximum overshoot	7.18e−6	0.0014	0.0011	3.27e−4	7.33e−4	4.5e−4	
Rise time (s)	2.19e−6	0.013	1.12	5.14e−5	0.0596	0.002	
Peak time (s)	0.46	16.34	15.91	1.26	14.5	11.61	

Robust stability is checked using the (robstab) command in MATLAB® 2020b for all controllers. This command is a robust tool used to evaluate the stability of control systems in the presence of uncertainties. It begins by defining the system's transfer function and representing uncertainties within specified bounds. The command then formulates the robust stability problem using a Linear Fractional Transformation (LFT) representation of the uncertain system. It calculates the structured singular value (μ) across all frequencies. If μ remains less than 1 for all frequencies, the system is considered to be robustly stable. This process provides a rigorous and thorough assessment, ensuring that the controller can handle real-world uncertainties effectively42,43.

The reports generated from MATLAB® are indicated in Figs. 19 and 20. According to the generated reports, the µ-synthesis controller has robust stability against a high level of uncertainty. It can tolerate up to 171% of the modeled uncertainty compared with 8.52% for the CHIO-PID controller.Figure 19 Robust stability test from MATLAB for µ-synthesis controller.

Figure 20 Robust stability test from MATLAB for CHIO-PID controller.

The maximum value of µ synthesis for robustness performance is 0.58, which satisfies the performance criterion ‖Δ‖∞ < 1. Additionally, the worst case gain upper bound of μ is equal to 0.9847. Figures 21 and 22 show the frequency response according to the stability margin and the frequency response according to the worst case gain respectively.Figure 21 Frequency response according to the stability margin.

Figure 22 Frequency response according to the worst case gain.

Conclusion

In this study, a precision frequency regulation approach is introduced for isolated microgrids utilizing continuous-time µ-synthesis control techniques. Specifically, decentralized fixed structure second-order µ-synthesis controllers were designed for each sub-system generation unit within the microgrid. Tailored performance weights were meticulously selected to uphold low control sensitivity and ensure precise operation within predefined frequency bands for each sub-system. Through comprehensive simulation results, the proposed µ-synthesis controller showcased its effectiveness in regulating microgrid frequency, demonstrating robust performance and stability under high levels of uncertainty.

Comparative analyses, pitting the controller against the CHIO-PID and CHIO-FOPID controllers, underscored its superior performance. The presented controller not only exhibits a low order for practical implementation but also proves its robustness in the face of significant uncertainty levels. Notably, under the most challenging and uncertain conditions studied, the controller remained stable, showcasing a worst case gain upper bound of μ equal to 0.9847. This signifies its robustness and reliability in ensuring microgrid stability. Additionally, a clear illustration of the design steps involved in implementing the proposed controller is provided, emphasizing its practicality and ease of implementation.

Overall, this study presents a compelling solution for precise frequency regulation in isolated microgrids, offering a robust and practical alternative in the presence of evolving energy landscapes. Investigating the integration of machine learning techniques for real-time optimization in microgrid frequency regulation presents a promising avenue for future research.

Supplementary Information

Supplementary Information.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-024-70405-7.

Author contributions

All authors share this paper's activities equally.

Funding

Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).

Data availability

The datasets used and generated during the current study are available from the corresponding author upon reasonable request.

Competing interests

The authors declare no competing interests.

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
==== Refs
References

1. Mohammadi F Mohammadi-Ivatloo B Gharehpetian GB Robust control strategies for microgrids: A review IEEE Syst. J. 2022 16 2401 2412 10.1109/JSYST.2021.3077213
Mohammadi, F., Mohammadi-Ivatloo, B. & Gharehpetian, G. B. Robust control strategies for microgrids: A review. IEEE Syst. J. 16, 2401–2412 (2022).10.1109/JSYST.2021.3077213
2. Sallam ME Attia MA Abdelaziz AY Sameh MA Yakout AH Optimal sizing of different energy sources in an isolated hybrid microgrid using turbulent flow water-based optimization algorithm IEEE Access 2022 8 61922 61936 10.1109/ACCESS.2022.3182032
Sallam, M. E., Attia, M. A., Abdelaziz, A. Y., Sameh, M. A. & Yakout, A. H. Optimal sizing of different energy sources in an isolated hybrid microgrid using turbulent flow water-based optimization algorithm. IEEE Access 8, 61922–61936 (2022).10.1109/ACCESS.2022.3182032
3. Anderson AA Suryanarayanan S Review of energy management and planning of islanded microgrids CSEE J. Power Energy Syst. 2020 6 2 329 343
Anderson, A. A. & Suryanarayanan, S. Review of energy management and planning of islanded microgrids. CSEE J. Power Energy Syst. 6(2), 329–343 (2020).
4. Ngamroo I Robust frequency control of wind-diesel hybrid power system using superconducting magnetic energy storage Int. J. Emerg. Electr. Power Syst. 2009 10 2
Ngamroo, I. Robust frequency control of wind-diesel hybrid power system using superconducting magnetic energy storage. Int. J. Emerg. Electr. Power Syst. 10, 2 (2009).
5. Uzunoglu M Alam MS Modeling and analysis of an FC/UC hybrid vehicular power system using a novel wavelet based load sharing algorithm IEEE Trans. Energy Convers. 2008 23 1 263 272 10.1109/TEC.2007.908366
Uzunoglu, M. & Alam, M. S. Modeling and analysis of an FC/UC hybrid vehicular power system using a novel wavelet based load sharing algorithm. IEEE Trans. Energy Convers. 23(1), 263–272 (2008).10.1109/TEC.2007.908366
6. Olivares DE Mehrizi-Sani A Etemadi AH Cañizares CA Iravani R Kazerani M Hajimiragha AH Gomis-Bellmunt O Saeedifard M Palma-Behnke R Jiménez-Estévez GA Hatziargyriou ND Trends in microgrid control IEEE Trans. Smart Grid 2014 5 4 1905 1919 10.1109/TSG.2013.2295514
Olivares, D. E. et al. Trends in microgrid control. IEEE Trans. Smart Grid 5(4), 1905–1919 (2014).10.1109/TSG.2013.2295514
7. Sen S Kumar V Microgrid control: A comprehensive survey Annu. Rev. Control 2018 45 118 151 10.1016/j.arcontrol.2018.04.012
Sen, S. & Kumar, V. Microgrid control: A comprehensive survey. Annu. Rev. Control 45, 118–151 (2018).10.1016/j.arcontrol.2018.04.012
8. Wang Z Wu W Coordinated control method for DFIG-based wind farm to provide primary frequency regulation service IEEE Trans. Power Syst. 2018 33 3 2644 2659 10.1109/TPWRS.2017.2755685
Wang, Z. & Wu, W. Coordinated control method for DFIG-based wind farm to provide primary frequency regulation service. IEEE Trans. Power Syst. 33(3), 2644–2659 (2018).10.1109/TPWRS.2017.2755685
9. Wang H Model predictive control of PMSG-based wind turbines for frequency regulation in an isolated grid IEEE Trans. Ind. Appl. 2018 54 4 3077 3089 10.1109/TIA.2018.2817619
Wang, H. et al. Model predictive control of PMSG-based wind turbines for frequency regulation in an isolated grid. IEEE Trans. Ind. Appl. 54(4), 3077–3089 (2018).10.1109/TIA.2018.2817619
10. Kou P Liang D Yu L Nonlinear model predictive control of wind farm for system frequency support IEEE Trans. Power Syst. 2019 34 5 3547 3561 10.1109/TPWRS.2019.2901741
Kou, P., Liang, D. & Yu, L. Nonlinear model predictive control of wind farm for system frequency support. IEEE Trans. Power Syst. 34(5), 3547–3561 (2019).10.1109/TPWRS.2019.2901741
11. Xi Y-G Li D-W Lin S Model predictive control—Status and challenges Automatica 2013 39 3 222 236
Xi, Y.-G., Li, D.-W. & Lin, S. Model predictive control—Status and challenges. Automatica 39(3), 222–236 (2013).
12. Ray PK Mohanty SR Kishor N Proportional–integral controller based small-signal analysis of hybrid distributed generation systems Energy Convers. Manag. 2011 52 4 1943 1954 10.1016/j.enconman.2010.11.011
Ray, P. K., Mohanty, S. R. & Kishor, N. Proportional–integral controller based small-signal analysis of hybrid distributed generation systems. Energy Convers. Manag. 52(4), 1943–1954 (2011).10.1016/j.enconman.2010.11.011
13. Aryan Nezhad M Bevrani H Frequency control in an islanded hybrid microgrid using frequency response analysis tools IET Renew. Power Gen. 2018 12 2 227 243 10.1049/iet-rpg.2017.0227
Aryan Nezhad, M. & Bevrani, H. Frequency control in an islanded hybrid microgrid using frequency response analysis tools. IET Renew. Power Gen. 12(2), 227–243 (2018).10.1049/iet-rpg.2017.0227
14. Yang B Yu L Zhang X Wang J Shu H Li S He T Yang L Yu T Control of superconducting magnetic energy storage systems in grid-connected microgrids via memetic salp swarm algorithm: An optimal passive fractional-order PID approach IET Gen. Transm. Distrib. 2019 13 24 5511 5522 10.1049/iet-gtd.2019.1093
Yang, B. et al. Control of superconducting magnetic energy storage systems in grid-connected microgrids via memetic salp swarm algorithm: An optimal passive fractional-order PID approach. IET Gen. Transm. Distrib. 13(24), 5511–5522 (2019).10.1049/iet-gtd.2019.1093
15. Senjyu T Nakaji T Uezato K Funabashi T A hybrid power system using alternative energy facilities in isolated island IEEE Trans. Energy Convers. 2005 20 2 406 414 10.1109/TEC.2004.837275
Senjyu, T., Nakaji, T., Uezato, K. & Funabashi, T. A hybrid power system using alternative energy facilities in isolated island. IEEE Trans. Energy Convers. 20(2), 406–414 (2005).10.1109/TEC.2004.837275
16. Mohanty SR Kishor N Ray PK Robust H-infinite loop shaping controller based on hybrid PSO and harmonic search for frequency regulation in hybrid distributed generation system Int. J. Electr. Power Energy Syst. 2014 60 302 316 10.1016/j.ijepes.2014.03.012
Mohanty, S. R., Kishor, N. & Ray, P. K. Robust H-infinite loop shaping controller based on hybrid PSO and harmonic search for frequency regulation in hybrid distributed generation system. Int. J. Electr. Power Energy Syst. 60, 302–316 (2014).10.1016/j.ijepes.2014.03.012
17. Oprzędkiewicz K Rosół M Żegleń-Włodarczyk J The frequency and real-time properties of the microcontroller implementation of fractional-order PID controller Electronics 2021 10 5 10.3390/electronics10050524
Oprzędkiewicz, K., Rosół, M. & Żegleń-Włodarczyk, J. The frequency and real-time properties of the microcontroller implementation of fractional-order PID controller. Electronics 10, 5 (2021).10.3390/electronics10050524
18. Lam QL Riu D Bratcu AI Frequency robust control application in islanded microgrids considering parametric uncertainties and distinct photovoltaic penetration rate scenarios IEEE Access 2023 11 92589 92616 10.1109/ACCESS.2023.3307210
Lam, Q. L., Riu, D. & Bratcu, A. I. Frequency robust control application in islanded microgrids considering parametric uncertainties and distinct photovoltaic penetration rate scenarios. IEEE Access 11, 92589–92616 (2023).10.1109/ACCESS.2023.3307210
19. Sedhom BE El-Saadawi MM Elhosseini MA Saeed MA Abd-Raboh EE A harmony searchbased h-infinity control method for islanded microgrid ISA Trans. 2020 99 252 269 10.1016/j.isatra.2019.10.014 31733889
Sedhom, B. E., El-Saadawi, M. M., Elhosseini, M. A., Saeed, M. A. & Abd-Raboh, E. E. A harmony searchbased h-infinity control method for islanded microgrid. ISA Trans. 99, 252–269 (2020).31733889 10.1016/j.isatra.2019.10.014
20. Raeispour M Atrianfar H Baghaee HR Gharehpetian GB Robust sliding mode and mixed output feedback primary control of ac microgrids IEEE Syst. J. 2020 1 1
Raeispour, M., Atrianfar, H., Baghaee, H. R. & Gharehpetian, G. B. Robust sliding mode and mixed output feedback primary control of ac microgrids. IEEE Syst. J. 1, 1 (2020).
21. Tao L Chen Q Walkerand GR Nan Y Disturbance-observer based adaptive control for second-order nonlinear systems using chattering-free reaching law Int. J. Control Autom. Syst. 2019 17 2 356 369 10.1007/s12555-018-0277-5
Tao, L., Chen, Q., Walkerand, G. R. & Nan, Y. Disturbance-observer based adaptive control for second-order nonlinear systems using chattering-free reaching law. Int. J. Control Autom. Syst. 17(2), 356–369 (2019).10.1007/s12555-018-0277-5
22. Hakemi A Jovanovic DP Vilathgamuwa DM Walkerand GR Pauls JP Generic uncertainty parameter analysis and optimization of series-series wireless power transfer system for robust controller design IEEE Trans. Ind. Electron. 2022 69 4 4107 4118 10.1109/TIE.2021.3071689
Hakemi, A., Jovanovic, D. P., Vilathgamuwa, D. M., Walkerand, G. R. & Pauls, J. P. Generic uncertainty parameter analysis and optimization of series-series wireless power transfer system for robust controller design. IEEE Trans. Ind. Electron. 69(4), 4107–4118 (2022).10.1109/TIE.2021.3071689
23. Mohsen Azizi S Robust controller synthesis and analysis in inverter-dominant droop-controlled islanded microgrids IEEE/CAA J. Autom. Sin. 2021 8 8 1401 1415 10.1109/JAS.2021.1004006
Mohsen Azizi, S. Robust controller synthesis and analysis in inverter-dominant droop-controlled islanded microgrids. IEEE/CAA J. Autom. Sin. 8(8), 1401–1415 (2021).10.1109/JAS.2021.1004006
24. Ahmad I Ali MA Ko W Robust μ-synthesis with Dahl model based feedforward compensator design for piezo-actuated micropositioning stage IEEE Access 2020 8 141799 141813 10.1109/ACCESS.2020.3013570
Ahmad, I., Ali, M. A. & Ko, W. Robust μ-synthesis with Dahl model based feedforward compensator design for piezo-actuated micropositioning stage. IEEE Access 8, 141799–141813 (2020).10.1109/ACCESS.2020.3013570
25. Shojaee M Mohsen Azizi S Decentralized robust controller design for strongly interconnected generators IEEE Access 2023 11 16085 16095 10.1109/ACCESS.2023.3245564
Shojaee, M. & Mohsen Azizi, S. Decentralized robust controller design for strongly interconnected generators. IEEE Access 11, 16085–16095 (2023).10.1109/ACCESS.2023.3245564
26. Wang S Wu Z-G Tao Y-Y Asynchronous H∞ control for continuous-time hidden Markov jump systems with actuator saturation IEEE Trans. Cybern. 2022 53 11 7095 7104 10.1109/TCYB.2022.3181820
Wang, S., Wu, Z.-G. & Tao, Y.-Y. Asynchronous H∞ control for continuous-time hidden Markov jump systems with actuator saturation. IEEE Trans. Cybern. 53(11), 7095–7104 (2022).10.1109/TCYB.2022.3181820
27. Mousavi SS Bahrami S Kouvelas A Synthesis of output-feedback controllers for mixed traffic systems in presence of disturbances and uncertainties IEEE Trans. Intell. Transp. Syst. 2023 24 6 6450 6462 10.1109/TITS.2022.3185155
Mousavi, S. S., Bahrami, S. & Kouvelas, A. Synthesis of output-feedback controllers for mixed traffic systems in presence of disturbances and uncertainties. IEEE Trans. Intell. Transp. Syst. 24(6), 6450–6462 (2023).10.1109/TITS.2022.3185155
28. Singh VP Mohanty SR Kishor N Ray PK Robust h-infinity load frequency control in hybrid distributed generation system Int. J. Electr. Power Energy Syst. 2013 46 294 305 10.1016/j.ijepes.2012.10.015
Singh, V. P., Mohanty, S. R., Kishor, N. & Ray, P. K. Robust h-infinity load frequency control in hybrid distributed generation system. Int. J. Electr. Power Energy Syst. 46, 294–305 (2013).10.1016/j.ijepes.2012.10.015
29. Bhatti T Al-Ademi A Bansal N Load frequency control of isolated wind diesel hybrid power systems Energy Convers. Manag. 1997 38 9 829 837 10.1016/S0196-8904(96)00108-2
Bhatti, T., Al-Ademi, A. & Bansal, N. Load frequency control of isolated wind diesel hybrid power systems. Energy Convers. Manag. 38(9), 829–837 (1997).10.1016/S0196-8904(96)00108-2
30. Bevrani, H. Robust power system frequency control, vol. 85 (Springer, 2009).
31. Obara S Analysis of a fuel cell micro-grid with a small-scale wind turbine generator Int. J. Hydrogen Energy 2007 32 3 323 336 10.1016/j.ijhydene.2006.07.032
Obara, S. Analysis of a fuel cell micro-grid with a small-scale wind turbine generator. Int. J. Hydrogen Energy 32(3), 323–336 (2007).10.1016/j.ijhydene.2006.07.032
32. Zhou, K., & Doyle, J. C. Essentials of robust control, vol. 104 (Prentice hall, Upper Saddle River, 1998).
33. Han Y Young PM Jain A Zimmerle D Robust control for microgrid frequency deviation reduction with attached storage system IEEE Trans. Smart Grid 2015 6 2 557 565 10.1109/TSG.2014.2320984
Han, Y., Young, P. M., Jain, A. & Zimmerle, D. Robust control for microgrid frequency deviation reduction with attached storage system. IEEE Trans. Smart Grid 6(2), 557–565 (2015).10.1109/TSG.2014.2320984
34. Hossain M Pota H Mahmud M Aldeen M Robust control for power sharing in microgrids with low-inertia wind and PV generators IEEE Trans. Sustain. Energy 2015 6 3 1067 1077 10.1109/TSTE.2014.2317801
Hossain, M., Pota, H., Mahmud, M. & Aldeen, M. Robust control for power sharing in microgrids with low-inertia wind and PV generators. IEEE Trans. Sustain. Energy 6(3), 1067–1077 (2015).10.1109/TSTE.2014.2317801
35. Babazadeh M Karimi H A robust two-degree-of-freedom control strategy for an islanded microgrid IEEE Trans. Power Deliv. 2013 28 3 1339 1347 10.1109/TPWRD.2013.2254138
Babazadeh, M. & Karimi, H. A robust two-degree-of-freedom control strategy for an islanded microgrid. IEEE Trans. Power Deliv. 28(3), 1339–1347 (2013).10.1109/TPWRD.2013.2254138
36. Bevrani H Feizi MR Ataee S Robust frequency control in an islanded microgrid: H∞ and μ-synthesis approaches IEEE Trans. Smart Grid 2016 7 2 706 717
Bevrani, H., Feizi, M. R. & Ataee, S. Robust frequency control in an islanded microgrid: H∞ and μ-synthesis approaches. IEEE Trans. Smart Grid 7(2), 706–717 (2016).
37. Zhou K Doyle JC Glover K Robust and optimal control 1996 Prentice Hall
Zhou, K., Doyle, J. C. & Glover, K. Robust and optimal control (Prentice Hall, 1996).
38. Skogestad, S., & Postlethwaite, I. Multivariable feedback control analysis and design (John Wiley & Sons Ltd, England, 2005).
39. Burl JB Linear optimal control 1999 Addison Wesley Longman Inc.
Burl, J. B. Linear optimal control (Addison Wesley Longman Inc., 1999).
40. Ibraheem, I. K. Polynomial and state-space based H-infinity robust controller design for load frequency control in power systems (2006).
41. Al-Betar MA Alyasseri ZAA Awadallah MA Doush IA Coronavirus herd immunity optimizer (CHIO) Neural Comput. Appl. 2021 33 5011 5042 10.1007/s00521-020-05296-6 32874019
Al-Betar, M. A., Alyasseri, Z. A. A., Awadallah, M. A. & Doush, I. A. Coronavirus herd immunity optimizer (CHIO). Neural Comput. Appl. 33, 5011–5042 (2021).32874019 10.1007/s00521-020-05296-6
42. Robust stability of uncertain system—MATLAB robstab—MathWorks Switzerland [Online]. Available: https://ch.mathworks.com/help/robust/ref/dynamicsystem.robstab.html.
43. Skogestad, S., & Postlethwaite I. Multivariable feedback control analysis and design, pp. 156, 306 (John Wiley & Sons Ltd, England, 2005).
