Next Article in Journal
Predictors of Sustainable Student Mobility in a Suburban Setting
Previous Article in Journal
From Desalination to Governance: A Comparative Study of Water Reuse Strategies in Southern European Hospitality
Previous Article in Special Issue
Optimal Sustainable Energy Management for Isolated Microgrid: A Hybrid Jellyfish Search-Golden Jackal Optimization Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design and Implementation of a Robust Hierarchical Control for Sustainable Operation of Hybrid Shipboard Microgrid

by
Arsalan Rehmat
1,2,
Farooq Alam
1,2,*,
Mohammad Taufiqul Arif
3,* and
Syed Sajjad Haider Zaidi
1
1
Department of Electronics and Power Engineering (EPE), Pakistan Navy Engineering College (PNEC), National University of Sciences and Technology (NUST), Karachi 75350, Pakistan
2
College of Engineering, Karachi Institute of Economics and Technology (KIET), Karachi 75190, Pakistan
3
School of Engineering, Deakin University, Geelong, VIC 3216, Australia
*
Authors to whom correspondence should be addressed.
Sustainability 2025, 17(15), 6724; https://doi.org/10.3390/su17156724
Submission received: 24 June 2025 / Revised: 15 July 2025 / Accepted: 21 July 2025 / Published: 24 July 2025
(This article belongs to the Special Issue Smart Grid Technologies and Energy Sustainability)

Abstract

The growing demand for low-emission maritime transport and efficient onboard energy management has intensified research into advanced control strategies for hybrid shipboard microgrids. These systems integrate both AC and DC power domains, incorporating renewable energy sources and battery storage to enhance fuel efficiency, reduce greenhouse gas emissions, and support operational flexibility. However, integrating renewable energy into shipboard microgrids introduces challenges, such as power fluctuations, varying line impedances, and disturbances caused by AC/DC load transitions, harmonics, and mismatches in demand and supply. These issues impact system stability and the seamless coordination of multiple distributed generators. To address these challenges, we proposed a hierarchical control strategy that supports sustainable operation by improving the voltage and frequency regulation under dynamic conditions, as demonstrated through both MATLAB/Simulink simulations and real-time hardware validation. Simulation results show that the proposed controller reduces the frequency deviation by up to 25.5% and power variation improved by 20.1% compared with conventional PI-based secondary control during load transition scenarios. Hardware implementation on the NVIDIA Jetson Nano confirms real-time feasibility, maintaining power and frequency tracking errors below 5% under dynamic loading. A comparative analysis of the classical PI and sliding mode control-based designs is conducted under various grid conditions, such as cold ironing mode of the shipboard microgrid, and load variations, considering both the AC and DC loads. The system stability and control law formulation are verified through simulations in MATLAB/SIMULINK and practical implementation. The experimental results demonstrate that the proposed secondary control architecture enhances the system robustness and ensures sustainable operation, making it a viable solution for modern shipboard microgrids transitioning towards green energy.

1. Introduction

With the widespread integration of AC and DC renewable energy systems, increasing research efforts are directed towards the development of a hybrid shipboard Microgrids (SMGs) to enhance energy efficiency and sustainability. A hybrid SMGs allows both AC and DC loads to operate simultaneously, ensuring an optimized power distribution and improved energy utilization [1]. Given the paradigm shift from conventional power systems to sustainable microgrid solutions, it is crucial to refine mathematical models and control strategies for efficient and reliable hybrid SMG operation.
Microgrids offer significant advantages in decentralized power generation, control flexibility, and the integration of renewable energy sources, making them highly suitable for applications beyond terrestrial settings. In the maritime sector, these features are particularly relevant due to the increasing need for decarbonization, energy efficiency, and emission compliance [2]. Hybrid AC/DC microgrids provide a viable solution by enabling localized control, optimized power flow, and the seamless integration of diverse energy sources such as photovoltaics and Battery Energy Storage Systems (BESS). These attributes align closely with the operational and environmental demands of modern ships, especially under the regulatory pressures to reduce greenhouse gas emissions and fuel consumption [3]. The proposed system supports cold ironing mode, where shore-side electrical power is supplied to a docked ship, allowing onboard diesel generators to be turned off, thereby reducing fuel consumption and emissions during port stays.
Hybrid AC/DC microgrids provide a viable solution by enabling localized control, optimized power flow, and seamless integration of diverse energy sources such as photo-voltaics (PVs) and BESSs. These attributes align closely with the operational and environmental demands of modern ships, especially under regulatory pressures to reduce greenhouse gas emissions and fuel consumption. One specific application of this paradigm is cold ironing, wherein a docked vessel receives electrical power from the port grid, allowing onboard diesel generators to be shut down. This practice not only minimizes emissions but also highlights the critical role of intelligent microgrid control in maritime decarbonization strategies [4].
To address these challenges, we propose a sustainable SMG solution that enables mobile cold-ironing capabilities, leveraging renewable energy resources (RES) on ships and facilitating electricity exchange between vessels at ports. This innovative approach can be realized through public-private partnerships or by encouraging shipowners to invest in battery-powered vessels, such as electric ferries and hybrid yachts. Additionally, European seaport initiatives aim to reduce emissions from the maritime sector, fostering a sustainable and green future for shipping and port operations [5].
All DGs operate on a common electrical bus and are treated symmetrically at the primary control level. Each DG or converter is equipped with a local droop controller, which allows it to autonomously respond to changes in local frequency and voltage without the need for communication. This is the primary layer of the hierarchical control and enables decentralized, plug-and-play operation across multiple DGs, facilitating fair power-sharing based on their respective droop characteristics.
The second layer of the control hierarchy, known as secondary control, introduces global coordination. It monitors the system-wide variables, such as the average bus voltage or frequency deviations, and sends correction signals back to the primary controllers of the individual DGs. This layer acts as a supervisory mechanism, ensuring that system-wide objectives like voltage restoration, frequency synchronization, and coordinated load balancing are achieved. Importantly, while the secondary controller exerts global oversight, it does not impose a master-slave configuration on the DGs. Instead, it influences all units uniformly via reference adjustments, preserving their local autonomy.
In recent years, hierarchical or layered control strategies have become essential in managing the growing complexity of sustainable energy systems across various domains, including shipboard microgrids, offshore drilling platforms, and unconventional hydrocarbon extraction systems. These control frameworks are designed to manage the multi-scale dynamics, nonlinear operating conditions, and distributed energy resources (DER) integration challenges that arise in both maritime and oil field applications. Hierarchical control structures typically consist of primary, secondary, and sometimes tertiary levels, each responsible for handling real-time stability, coordination, and system-level optimization under dynamic disturbances [6].
The relevance of such control paradigms is not restricted to the marine environment. In hydrocarbon reservoir engineering, for instance, energy input control and environmental adaptability are equally critical. Studies such as the author in [7] demonstrate how sediment and particle behavior, specifically the use of kaolinite as a fracture proppant in CO2 fracturing fluids, demands tightly regulated control over fluid dynamics and energy delivery to maintain system integrity and operational efficiency under changing pressures and chemical conditions [8]. Similarly, paper [9] investigate sediment instability in hydrate-bearing strata in the South China Sea, where dynamic energy input from horizontal well-bore gas production causes transient disturbances that require responsive, hierarchical management mechanisms to mitigate failure risk.
By combining AC and DC power grids, a microgrid can distribute power. Stable voltage and frequency are the primary functions of the microgrid’s control design. In conventional power systems, the current-controller-based proportional control designs were used to operate locally for every distributed interlinking converter, even though centralized control architectures are typically employed for primary controllers [10]. This decentralized droop controller provides smooth power flow and stability to the system. However, voltages and frequency variations due to grid transitions or dynamic load variations can cause system abnormalities. Therefore, a robust control strategy is required to overcome this issue [11].
For instance, paper [12] shows that a distributed secondary control can maintain voltage and frequency stability in the event of communication failures or node outages, while centralized systems are more vulnerable to single points of failure. Similarly, paper [13] emphasizes the modularity and plug-and-play capabilities of distributed control, which enhance the scalability of microgrid networks. These references provide concrete evidence to support our claim and make the discussion more rigorous.
Recent advances in robust control for microgrid applications have explored several techniques, including H control for disturbance rejection and stability enhancement, phase lock loop (PLL)-based methods for frequency synchronization, and low-frequency oscillation damping in converter-dominated systems [14]. While these approaches have shown promising results in improving grid-connected microgrid performance and addressing specific instability issues, they often involve complex mathematical formulations and high computational burden, making them less suitable for real-time embedded implementation in shipboard systems [15].
In contrast, the control strategy proposed in this study adopts a hierarchical structure, combining a conventional PI-based droop controller at the primary level with a computationally Sliding Mode Controller (SMC) approach at the secondary level. This design aims to ensure a robust dynamic performance, reduced voltage/frequency deviations, and resilience against parameter uncertainties, while remaining suitable for real-time execution on embedded hardware platforms. By focusing on PI–SMC integration, the proposed method offers a practical yet effective alternative to high-complexity robust controllers in the context of hybrid shipboard AC/DC microgrids [16].
The Interlinking Converter (IC) uses frequency-voltage droop control that incorporates the secondary AC control effect. Hence, the ICs are critical components in SMG as they facilitate controlled and stable energy transmission and the transformation between the alternating current (AC) and direct current (DC) sides [17,18]. A robust control scheme for the hybrid AC/DC SMG is designed and implemented, and provides a competitive analysis in this research to enhance the multiple innovative hybrid AC/DC microgrid control configurations. On IC, a hierarchical primary and secondary controller is used to connect the AC Microgrid and DC microgrid to alleviate non-linearities during power fluctuations. The IC secondary controller has proportional integral (PI) controllers and an SMC.
The proposed robust hierarchical control strategy is not formulated as a classical multi-objective optimization problem using tools such as Pareto front analysis, model predictive control, or evolutionary algorithms; it inherently addresses multiple control objectives simultaneously through its layered architecture. The control framework integrates a primary control level based on droop and current regulation, which ensures local voltage/frequency stabilization and proportional power-sharing among distributed generators during nominal operation. Although no explicit optimization solver is used, controller parameters such as droop coefficients, sliding surface gains, and boundary layer thresholds are tuned through iterative simulation-based sensitivity analysis to achieve a balanced performance across all the key control objectives. Therefore, the proposed control strategy functions as an implicit multi-objective controller, capable of satisfying diverse and often conflicting demands in hybrid shipboard microgrids.
This study proposes a robust hierarchical control framework that integrates a classical PI control with a nonlinear SMC to enhance the dynamic performance and operational resilience of hybrid AC/DC shipboard microgrids. Unlike existing works that treat AC and DC domains in isolation or apply only linear control methods, the novelty of this approach lies in its dual-layer structure: the PI-based primary layer enables decentralized voltage and frequency regulation and supports droop-based power sharing among distributed generators, while the SMC-based secondary layer acts as a supervisory controller to reject disturbances and maintain reference tracking during system transients.
This hybrid design enables the system to handle power fluctuations, load switching, and line impedance variations without relying on complex centralized coordination. The controller’s stability is guaranteed through the Lyapunov analysis. The proposed hierarchical control strategy supports sustainable operation by improving voltage and frequency regulation under dynamic conditions, as demonstrated through both MATLAB/Simulink simulations and real-time hardware validation on the NVIDIA Jetson Nano platform.
The rest of the paper has been reorganized as follows: In Section 2, the problem formulation is conducted, and it is where we discuss the modeling and design of the hybrid AC/DC SMG. In Section 3, the proposed hierarchical control scheme of the SMG system is explained. Section 4 provides the simulation results. Section 5 discusses the practical hardware implementation. Section 6 gives a conclusion and future directions.

2. Modeling of Hybrid AC/DC Microgrid System

The AC microgrid consists of a large number of distribution generators, which can be diesel/gen or renewable, delivering into AC loads, including the traditional shipboard utilities and AC propulsion systems. These components run on a synchronized AC bus where voltage and frequency are regulated, with conventional droop control or central frequency regulation strategies.
The Bidirectional Interlinking Converter is at the heart of this system and plays a crucial role in that it makes it possible for the AC and DC networks to transfer energy bidirectionally. It guarantees power balance, voltage stabilization, and smooth operation during grid-connected and islanded modes. From a technical point of view, the implementation uses power electronic devices controlled by control algorithms that determine the switching signals according to load conditions, grid status, and the availability of energy. In general, the model is an advanced microgrid configuration that supports convenient operation of both DC and AC loads and sources, utilizes the available renewable energy to the fullest extent possible, and increases the system robustness through smart energy management and the proper control of bidirectional power flow.
To ensure compliance with industry-accepted practices, the proposed control architecture and microgrid model have been designed in alignment with key international standards. In particular, the interconnection and control interfaces are guided by IEEE 1547-2018, which specifies the requirements for the interoperability and performance of DER connected to electric power systems, including voltage and frequency regulation, fault ride-through, and reactive power support [19].
For maritime-specific applications, system layout and protection schemes adhere to the IEC 60092-101 standard, which outlines the definitions and general requirements for electrical installations in ships, including insulation levels, earthing methods, and voltage limits [20]. The adherence to these standards ensures that the proposed hybrid AC/DC shipboard microgrid design not only meets control performance criteria but also satisfies safety, interoperability, and power quality requirements expected in practical marine deployments.

2.1. Construction of the Shipboard Microgrid Mode

The development of the single-line diagram shown in Figure 1 is illustrated in the practical and theoretical requirements of next-generation shipboard power systems, particularly those transitioning toward hybrid AC/DC architectures. This transition is motivated by the need to increase energy efficiency, system reliability, and environmental sustainability onboard vessels that operate under varying electrical demands and constrained physical space. The proposed model adheres to the principles established in the maritime electrical architecture standards [21], which support the hybridization of AC and DC domains to accommodate diversified loads and DERs. The structure supports a future extension toward decentralized or hierarchical control, aligning with the trends in smart maritime electrification [22].

2.2. Components and Control Considerations

Figure 1 incorporates the key elements commonly found in advanced shipboard microgrids. These include distribution generator (DG), which are modeled as diesel-based synchronous generators or renewable-fed converters, each equipped with droop-based primary controllers to enable autonomous operation and load sharing. The AC load section, represented using R A C , L A C , L L , A C models essential shipboard systems like propulsion, Heating, Ventilation, and Air Conditioning (HVAC), and lighting. The DC subsystem, powered by PV arrays and buffered by a BESS, supplies the navigation electronics, communication systems, and charging interfaces. The BESS plays a critical role in smoothing power fluctuations and supporting State of Charge (SoC) balancing, as recommended in [23].
The IC is implemented as a bidirectional voltage source converter (VSC), which ensures a dynamic energy exchange between the AC and DC subsystems. Its control system is central to the microgrid’s reliability and is composed of a hierarchical architecture combining PI control in the primary layer with SMC in the secondary layer. The IC controller is responsible for maintaining voltage and frequency stability during power mode transitions, disturbances, or partial faults. The transmission lines connecting these components are modeled with lumped resistance and inductance ( R R , L L ) to capture real-world distribution behavior and transient interactions [24].

2.3. Sustainable Operation and Control Mechanism

To achieve sustainable operation, a Robust Hierarchical Control Strategy is proposed and validated in this study. The primary control layer uses local droop control and current regulators to manage decentralized power-sharing and stabilize voltage/frequency at the converter outputs. The secondary control layer, based on SMC, compensates for residual deviations by generating reference correction signals, which dynamically adjust the control targets under disturbances such as mode switching, harmonic injection, or nonlinear load variations [25].
A Lyapunov-based formulation ensures the stability of the sliding surface s, with the convergence conditions | s | , providing robustness even in the presence of parameter uncertainties. The system’s chattering is mitigated using a boundary layer approach, as  | s | μ , where μ = 0.05 serves to smooth control actions for real-time feasibility. This layered strategy avoids the reliance on communication-heavy centralized controllers and ensures a modular, scalable, and fault-tolerant operation [26,27,28].

2.4. AC Microgrid Modeling

To design a hybrid microgrid where AC loads  R L and L L are connected. The electric current of type DGs powers the load. We may use Kirchhoff’s Voltage Law (KVL) on the AC source side to obtain the equations. The list of parameters used in the equation derivations are provided in the Appendix A Table A1. The research will demonstrate a hierarchical control structure for DG modules that consists of two levels. The first level includes main controls that are based on droop, and the second level includes secondary controls that are used to restore voltage and frequency characteristics [29,30]. It is possible to obtain the AC source side equation from Figure 1, which can be given as
V A C , s o u r c e = { i A C R A C + V L A C } + V A C , L
where the voltage across the line impedance is the rate of change in the line inductance.
V L A C = L A C d d t i A C
so, (1) can be written as
V A C , s o u r c e = { i A C R A C + L A C d d t i A C } + V A C , L
where time-derivative expression with standard state-space vector notation representation of the three-phase system can be given as
V A C , s o u r c e = [ v a , v b , v c ] T i A C = [ i a , i b , i c ] T V A C , L = [ v L a , v L b , v L c ] T
By rearranging (3), we obtain
d d t i A C = 1 L A C ( V A C , s o u r c e V A C ) R A C L A C i A C
Now, the AC load side equation is the summation of the voltages across the load impedance.
V A C , L = i A C , L R L + V L L
where
V L L = L L d d t i A C , L
so, (5) can be written as
V A C , L = i A C , L R L + L L d d t i A C , L
By rearranging (7), we obtain
d d t i A C , L = V A C , L L L R L L L i A C , L
The d q state space model for (4) and (8) of AC network can be given as
d d t i A C d = 1 L A C V A C , s o u r c e d V A C , L d + ω i A C q R A C L A C i A C d
d d t i A C q = 1 L A C V A C , s o u r c e q V A C , L q ω i A C d R A C L A C i A C q
d d t i A C , L d = V A C , L d L L + ω i A C , L q R L L L i A C , L d
d d t i A C , L q = V A C , L q L L ω i A C , L d R L L L i A C , L q

2.5. DC Microgrid Modeling

On the DC microgrid, a KVL is used to solve the DC source side mathematical equations. Connecting a DC source to a BESS that maintains a constant voltage is an example of a DC source. Moreover, a DC load never changes its power consumption. The DC source voltage is equal to the total of the load voltage and the voltage along the losses in the transmission line, as stated by KVL at the DC Microgrid (MG).
V D C , s o u r c e = i D C R D C + V D C , L
With a constant power demand, P D C , L stays the same, which can be given as
V D C , s o u r c e = i D C R D C + P D C , L i D C , L
Reducing the number of DG units needed is achieved by the use of RES to provide electric ship power. On the other hand, the efficiency of transmitting electricity to the consumption power system grows dramatically due to their inherent characteristics; most RES are equipped with BESS as the year progresses. A smooth and more dependable power-producing unit is achieved by using storage devices, such as batteries and fuel cells.

3. Proposed Robust Hierarchical Control Structure for Microgrid

The steady-state condition is directly affected by the short-term operation of primary and secondary controls. In order to obtain reliable steady-state analysis in AC/DC microgrid modeling, it is necessary to have both the main and secondary controllers active. Hybrid SMG systems cannot operate without a reliable and appropriate method of power management, which allows for the regulation of load allocation among DC and AC power sources. Fewer attempts have been made in power management between AC and DC power generations for hybrid systems until now, while controlling power distribution in AC and DC microgrids. A reliable power-sharing method has been used to execute power-sharing control in microgrids. Multiple converters must work together to find the reference power that corresponds to the frequency droop characteristics [31,32].
All the control modules are included in load balancing using the drooping slope technique. Figure 2 shows the flow of the hybrid SMG hierarchical control design. Centralized and decentralized controllers have been developed using a number of control algorithms, including H , Linear Quadratic Regulator (LQR), sliding mode, model predictive control, and artificial intelligence techniques, including fuzzy logic, neural networks, and genetic programming.
Secondary control is the next logical step after this degree of control. The load variations in the local voltage and global frequency are what secondary control is aiming to eradicate. There has been much research on centralized control systems in high-voltage transmission and distribution networks. Additional goals such as harmonic correction, reactive power-sharing, and voltage imbalance have been included in the secondary control [33]. The third level of control determines the worldwide economic dispatch across the network based on current energy prices and market circumstances.
The earlier works on control problem formulation considered only primary droop controls. However, higher control levels must be implemented in practical systems for the microgrid to function optimally and safely by using hierarchical control schemes. By including the comprehensive hierarchical control models, the solution obtained by applying the primary droop-controlled method in a controlled AC microgrid was determined to be the correct one in contrast to the solution gained by using a hierarchical power flow model [34].
Technological advancements have facilitated the proliferation of microgrids in energy generation, control, computer hardware, and software utilization for microgrids. The advancement of MGs has been driven by industrial collaborations seeking to cut costs and boost their dependability and resiliency. Consequently, MGs is the dominant power source for many commercial and residential applications at present.

3.1. Modeling of Voltage Source Converter (VSC)

Figure 3 shows the three-phase VSC design for hybrid marine MG. The hierarchical control structure is managed by a two-level VSC device [35]. A voltage regulation controller is a key component of the main controller. Another option is to use the ( V Q ) to regulate the primary control layer. i d c , i n v is the amount of current flowing across the filter capacitor, and i L , i n v is the current flowing through the other branches of the VSC. The inverter output voltage may be given using
V A B C = v A B C + R l i n e i A B C + L l i n e d d t i A B C
So, the inverter output voltage is equal to the inverter’s instantaneous voltage plus the line inductance and resistance. We implemented a three-phase voltage system as an IC for a hybrid microgrid system. The three-phase root mean square (RMS) voltage is obtained straight from the AC bus or a three-phase transformer, without the need for any double-voltage capacitor [36,37,38,39,40]. In the aftermath of transits, the RMS voltage remains steady and stable throughout. Placing an LC filter network between the load and the AC bus becomes necessary. However, this study does not include a filter design. As a result, we treated them as constants in statements.
d d t i A B C = V A B C L l i n e R l i n e L l i n e i A B C v A B C L l i n e
Applying the d q -transformation of three-phase currents.
d d t i d = V d L l i n e v d L l i n e + ω i q R l i n e L l i n e i d
and
d d t i q = V q L l i n e v q L ω i d R l i n e L l i n e i q
The state space model of (17) and (18) can be represented as
x ˙ 1 x ˙ 2 = R l i n e L l i n e ω ω R l i n e L l i n e · x 1 x 2 1 L l i n e E d E q + 1 L l i n e u 1 u 2

3.2. Proposed Robust Controller Design and Analysis

The proposed robust architecture for the secondary controller is shown in Figure 4a. In this case, the primary controller design relied on a reliable SMC as a reference signal. With the primary controller’s responsibility to reduce voltage and frequency droops, the secondary controller will provide its support to the primary controllers, as shown in Figure 4b, so that the power grids may contain even more robust synchronizations. In addition, the secondary controller guarantees that the load is constantly receiving the necessary amount of demand power. Under extreme conditions in either the AC or DC loads, a standard control signal is provided by the secondary controller, which also keeps an eye on the voltage and frequency fluctuations in the hybrid grid. The hierarchical control structures  u ω and u v are produced by processing the control signals P r e f and Q r e f with converter gains K p I C and K q I C , respectively. Whereas, K I = 1/ K p = 1/ K q .
Figure 4b displays the traditional current controller system. The IC’s voltage and frequency are controlled by the primary control design, which is based on droop control. The suggested robust secondary controller supplies the primary controller with reference signals u ω and u v in order to implement the hierarchical control design. The droop controller will generate v a b c , i n v gating pulses by monitoring the grid voltage and frequency. The voltages are E i n v d and E i n v q . A three-phase v i n v inverter signal for the Pulse Width Modulation (PWM) generator is generated by processing the park inverse transformation using the v d inverter signals that are produced by the robust current controller. The suggested rule for secondary control may be expressed as
u v = β ( x ) s a t s μ
If μ = 0.05 , then the control signal is u v , the controller gain is β , and the sliding surface is s. Therefore, the applicable control regulations in this instance might be depicted as
i q = K s a t ( s / μ )
and
u ω = K p + K i · d t ( ω i n v * ω i n v )
The computational gains used in the controller are shown in Table 1. Errors between the output and the reference can be given as
e d = i A C , L d * i A C , L d
e q = i A C , L q * i A C , L q
At the AC load, equations can be given as i A C , L d and i A C , L q are located. The reference currents are i A C , L d * and i A C , L q * . There will be a sliding surface s.
s = K 0 e q · d t + e q
s = K 0 ( i A C , L q * i A C , L q ) · d t + ( i A C , L q * i A C , L q )
Sliding surface s derivative is
s ˙ = K 0 ( i A C , L q * i A C , L q ) + d d t i A C , L q * d d t i A C , L q
at a constant reference value
i A C , L q * = d d t i A C , L q = 0
referring (27)
s ˙ = K 0 i A B C q d d t i A B C q
From (18)
s ˙ = K 0 i q + V q L l i n e V q L l i n e + R l i n e L l i n e i q + ω i n v i d
Rearranging the terms,
s ˙ = V q L i n v V q L l i n e + ω i d + R l i n e L l i n e K 0 i q
the simplified form can be given as
s ˙ = χ l i n e + ψ i q
where
χ = V q L i n v V q L l i n e + ω i n v i d
ψ = R l i n e L l i n e K 0
Here, χ represents the aggregated dynamic influence of voltage deviation and system rotation, while ψ reflects the net damping factor influenced by line resistance and sliding surface gain. These clarifications help link the mathematical formulation to its physical significance in microgrid control dynamics. To enhance inter-predictability and engineering insight, we provide the physical significance of the intermediate variables introduced in the sliding mode control derivation. The term χ represents a composite dynamic quantity that captures the aggregated effect of system-level variables such as voltage deviation, frequency error, and their rate of change, particularly influenced by the angular frequency ω of the AC reference frame.
Similarly, the parameter ψ , introduced in the sliding surface definition and control law, reflects the net damping effect applied through the control surface. It is influenced by the line resistance R, the inductive reactance term L, ω L , and the sliding surface gain 0. From a control perspective, ψ determines the rate of convergence toward the sliding manifold and defines the slope of the Lyapunov energy function derivative V ( x ) . Larger values of ψ correspond to faster system convergence and stronger robustness to disturbances, but may introduce more aggressive switching or chattering if not properly bounded by the boundary layer parameter μ . The condition for ψ to satisfy is
ψ ψ 0 0
Here  ψ 0 is a constant that is positive. While the Lyapunov-based SMC formulation guarantees system stability through the condition given in Equation (35), the selection of key parameters, including the sliding gain K 0 and the lower-bound damping threshold ψ 0 , is a critical step that directly affects the robustness, convergence rate, and practical implementation of the controller. In this study, these values were not assigned arbitrarily but were obtained through a structured sensitivity analysis using MATLAB/Simulink. Multiple simulation scenarios involving step changes in load, varying line impedance, and AC/DC transition disturbances were evaluated to tune these parameters such that the system maintained fast convergence, low steady-state error, and minimal chattering.
This empirical tuning process is a widely accepted practice in SMC applications for real-time embedded control, where the analytical solutions for gain selection may be difficult to generalize due to system non-linearities and hardware constraints. In particular, embedded controllers like the NVIDIA Jetson Nano impose limitations on the switching frequency and computational overhead, necessitating a trade-off between theoretical optimality and practical feasibility [41]. Therefore, K 0 and χ were selected not just for theoretical stability, but also to ensure smooth actuator behavior, chattering mitigation, and a robust dynamic response under uncertain operating conditions [42].
Next, we will choose a suitable Lyapunov function V ( x ) R 1 for the stability assessment of our designed control
V ( x ) = 1 2 s 2
Then
V ˙ ( x ) = s s ˙
From (32)
V ˙ ( x ) = s χ + s ψ i q
Chattering can be reduced by choosing s as,
s μ
where μ is a very small positive value. To mitigate the well-known issue of high-frequency switching (chattering) inherent in classical sliding mode control, a boundary layer approach is adopted around the sliding surface. In Equation (39), the discontinuous sign function s g n ( s ) is replaced with a saturation function, introducing a boundary layer of thickness μ . This smooth approximation effectively limits the amplitude of the control signal near the sliding manifold, thereby reducing switching noise and actuator wear in practical hardware implementations [43]. In this work, a value of μ = 0.05 was selected based on extensive simulation-based tuning to achieve a compromise between tracking performance and chattering suppression. Smaller values of μ offer faster convergence but may reintroduce chattering, while excessively large values compromise the control accuracy. The chosen value was found to provide sufficiently smooth control action while preserving dynamic responsiveness, particularly when deployed in the real-time embedded environment of the NVIDIA Jetson Nano. The closed-loop control law equation will be
i q = K s g n ( s )
Substituting (40) into (38), we obtain
V ˙ ( x ) = s χ s K ψ s g n ( s )
V ˙ ( x ) = ψ s χ ψ s K ψ s
or
V ˙ ( x ) ψ s | χ ψ | K ψ s
where
| χ ψ | K K 0
Since K 0 is a positive constant, we have
K K 0 + | χ ψ |
Now, by substituting values of in (44) into (43), we obtain
V ˙ ( x ) K 0 ξ 0 s
Equation (46) guarantees that the suggested controller will be a strong stabilizing controller satisfying the requirements in (44).

4. Simulation Results

The Matlab/Simulink tool has been used for the microgrid implementation and testing of our proposed controller. For the simulation platform, we developed the AC and DC power generation units and loads of microgrid systems. On the AC MG side, we used three identical DGs with a 16 kVA power rating and 400 volts three-phase RMS voltage. The DGs are connected to a bus with their local AC loads. Three distinct 5 kW active loads with 3 kVar inductive load in parallel are used with the circuit breaker combining the transmission line lumped impedances. The AC microgrid follows the 50 Hz operating frequency. In addition, power can be sent to either side of the grid as needed by the load due to the IC, which is a 2-level VSC.
The PI controller is used within the primary control layer for nominal operating conditions, SMC forms part of the secondary control layer and becomes dominant during dynamic events such as load transients, mode switching, or disturbances where robustness against uncertainties is critical. This clarification improves the consistency and interpretability of the control hierarchy.
PV and BESS are examples of DC sources, whereas DC resistive loads and transmission lines with resistance make up a DC microgrid. The DC bus voltage is 500 volts. Three identical resistive loads are connected to it through a circuit breaker. The DC load we use is 250 W each. The hierarchical controller uses AC and DC line current feedback to produce commands for the primary controller, which renders the IC. The simulation parameters are given in Table 2.

4.1. Case 1: Power Flow from AC Microgrid to DC Microgrid When DC Sources Are Not Enough and Vice Versa

The power flow analysis of the hybrid SMG has been simulated using MATLAB/Simulink to compare the performance of the conventional PI and the proposed robust secondary control schemes. At simulation time t = 0.5 s, we took into account the transition from the AC grid to the DC grid.
The variations in the AC active load power in the hybrid SMG are shown in Figure 5. The blue line represents the secondary controller reaction based on PI, whereas the orange line represents the response based on SMC. Initially, the IC will function as a rectifier and meet the AC and DC load power requirements while the grid is run by an AC microgrid. Utilizing a conventional PI controller regulates the load power to 4.2 kW for the duration 0 t < 0.5 s, while the proposed SMC-based secondary control achieves a better response, regulated to 4.8 kW. Δ P d r o o p = 600  W is the result of comparing the load power. After that, because the AC sources are disconnected, the power is supplied to the DC and AC loads by the PV between 0.5 s < t 1 s. Here, we can analytically observe that during this inverter mode, the PI-based controller has an AC load power deviation that remains the same compared with the SMC-based controller. Furthermore, we notice a significant voltage drop improvement by employing a secondary controller strategy. The maximum voltage drop using the PI controller is P A C , L P I = 3.2 kW greater than the SMC-based controller, which is P A C , L S M C = 2.7 kW. Hence, Δ P d r o o p = 1.1 kW.
During the AC to DC grid transition at t = 0.5 s, the PI controller exhibited a peak frequency deviation of 0.33 Hz, whereas the proposed SMC controller maintained deviation within 0.2 Hz, corresponding to an improvement of approximately 25.5%. Similarly, the power variations on the AC bus decreased from 4000 watts to 3000 watts under SMC, representing around a 20% reduction. These results validate the superior dynamic performance of the hierarchical controller in stabilizing the microgrid under abrupt power fluctuations.
Figure 6 shows the reactive power waveform. Here we can see that from 0 < t 0.5 s, the reactive power is 2.4 kVar and 2.3 kVar with SMC and PI-based controller, respectively. After the grid transition for testing purposes, the reactive power becomes 2.3 kVar and 2.2 kVar with SMC and PI-based controller, respectively. The reactive power droop due to grid transition for testing purposes in the case of SMC is Q A C , L S M C = 1 kVar and with PI Q A C , L S M C = 1.7 kVar. Hence, Δ Q d r o o p = 800 Var.
In Figure 7, the frequency changes on the AC grid are shown. As opposed to traditional control, the results of controlling the frequency and steady-state performance from the controllers based on SMC are superior. The SMC-based controller is smoothly controlled at 50 Hz, in contrast to the PI-based controller, which exhibits frequency changes Δ f d r o o p 1 = 0.09 Hz and Δ f d r o o p 2 = 0.05 Hz, which shows better performance of our proposed control scheme.
Figure 8 shows DC load waveform, which is initially regulated at P D C , L = 125 W, then there is an identical step load increment to P D C , L = 250 W. Here, DC load is obtaining power from AC source from 0 s < t 0.5 s. After that, it obtains power from the DC source. Once again, there is an identical load increment from P D C , L = 250 W to P D C , L = 375 W at t = 0.75 s. We also observed harmonics due to inverter switching in IC.

4.2. Case 2: Power Flow from DC Microgrid to AC Microgrid When AC Sources Are Not Enough and Vice Versa

The fluctuation in the active load power caused by the microgrid changeover is shown in Figure 9 compared with the traditional method and the robust secondary controller. The AC load power is initially limited to 5.5 kW since the grid is functioning from a DC source. Then at t = 0.3 s, the step load decreases to 3.9 kW, and at t = 0.7 s, the step load further decreases to 2.2 kW. A power droop due to voltage droops is seen after time t = 0.5 s when the grid changeover occurs. Using the traditional secondary controller method resulted in an active power droop of P A C , L P I = 3.4 kW. Nevertheless, the power decrease of P A C , L S M C = 1.1 kW caused by the grid changeover is an improvement by SMC Δ P d r o o p = 2.3 kW.
Figure 10 shows the reactive power waveform. Here we can see that the reactive power droop due to grid transition in case of SMC is Q A C , L S M C = 900 Var and with PI Q A C , L S M C = 500 kVar. Hence, we observe Δ Q d r o o p = 500 Var.
The frequency differences caused by microgrid switching are compared in Figure 11 between the traditional method and the proposed secondary controller-based method. At the beginning, the grid is running on a DC supply. Therefore, after time t = 0.5 s, it aims to stabilize and control its frequency at 50 Hz. We see frequency drops in both kinds of secondary controllers that are Δ f d r o o p 1 = 0.1 Hz and Δ f d r o o p 2 = 0.03 Hz, showing a better performance of our proposed control scheme. We observed that the SMC-based secondary controller approach leads to far better frequency droop steady-state responsiveness.

4.3. Results and Discussion

To strengthen the robustness and statistical validity of the simulation results, particularly those reported in Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11, we conducted multiple repetitions of each test case under slightly varied operating conditions. Specifically, each control scenario was simulated five times with randomized initial conditions, minor variations in line impedance, and 10% load perturbations to emulate a realistic operating variability. The reported values for Δ P d r o o p and Δ Q d r o o p in the figures now represent mean values across these repetitions, and error bars have been added to indicate the standard deviation of each data point. This presentation highlights the consistency and resilience of the proposed SMC-based controller in reducing both active and reactive power droop under dynamic disturbances, thereby reinforcing its effectiveness and statistical reliability over conventional PI-based methods. The analytical error bars are shown in Figure 12.

5. Hardware Implementations

5.1. Hardware Setup

In the experimental configuration of the hybrid AC/DC microgrid, the Supervisory SMC-based controller for the interlinking converter is implemented on a Jetson Nano board, chosen for its robust computing capabilities in a compact, low-power package. With a quad-core ARM Cortex-A57 CPU and an NVIDIA Maxwell GPU featuring 128 CUDA cores [37], the Jetson Nano provides ample processing power to support real-time control, Hardware-in-the-loop (HIL) simulations, complex control algorithms, and optimization routines necessary for supervisory control within a hybrid shipboard microgrid [38,39]. Hardware parameters are given in Table 3. Figure 13a depicts an implementation of a hardware setup in a hybrid AC/DC microgrid for testing the AC/DC power flow, load control, and control using embedded platforms, the power electronic system.
The proposed control strategy is built upon a hierarchical framework that reflects the layered organization of real-world hybrid microgrids, particularly in shipboard environments where operational robustness and modularity are critical. The control architecture is divided into two functional layers: the primary control, based on conventional droop and current regulation techniques, operates in a decentralized fashion to maintain local voltage and frequency stability and ensure equitable power-sharing among DG. This layer enables autonomous operation without requiring centralized coordination, which is especially valuable in maritime systems with constrained communication infrastructure.
In terms of hardware deployment, the control algorithm is implemented and validated using the NVIDIA Jetson Nano, a compact, low-power embedded computing platform suitable for high-frequency control applications. The Jetson Nano executes the SMC algorithm in real time, interfaces with current and voltage sensors, and directly controls the power electronic switches using PWM generation. With a 10 kHz sampling rate and low control latency, the platform successfully regulates dynamic transitions, mode switching, and unbalanced loading scenarios, confirming that the theoretical control strategy is not only mathematically sound but also practically deployable in real-time shipboard microgrid environments.
The voltage and current signals from the AC and DC buses were measured using Hall-effect-based transducers, which offer galvanic isolation and low-noise output suitable for embedded applications. The sensors were calibrated prior to testing and have an estimated measurement uncertainty of 1.5%. These specifications ensure the fidelity of the experimental results and support the validity of the HIL evaluation.
A bidirectional converter permits the flow of power in both directions (AC-DC and DC-AC); therefore, it is commonly used in a microgrid or a renewable energy system. Three-Phase Supply is at the upper right of the figure; it seems to be the input power source and mimics a grid input or generator output. Two light bulbs form part of the AC load, which is part of the AC loads used to test the converter’s AC output. The DC load consists of a simple, small fan (Red prop) being employed/conserved as a DC load for testing the DC output side of the converter. Figure 13b illustrates the hardware implementation block diagram.

5.2. Hardware Results

The hardware results comparison of the PI and SMC-based control schemes for the microgrid is shown in Figure 14 and Figure 15. In Figure 14, we consider the grid transition case 1 in which power is initially flowing from the AC to the DC side, then at t = 0.5 s, from the DC to the AC side. Here, we observed that the Δ P d r o o p = 1 kW.
The frequency variations caused by microgrid switching are compared in Figure 15 between the traditional method and the proposed secondary controller-based method.
Figure 16 shows DC load waveform, which is regulated at P D C , L = 250 W. Here, DC load is obtaining power from the AC source from 0 < t 0.5 s. After that, it obtains power from the DC source, which is stable and the same. We also observed harmonics due to inverter switching in IC.
Similarly, in Figure 17, we consider the grid transition case 2 in which power is initially flowing from DC to the AC side, then at t = 0.5 s, from the AC to the DC side with identical load increments at t = 0.3 s and t = 0.7 s. Here, we observed that the Δ P d r o o p = 1 kW. Initially, the load is operating at 2kW, then the static load switched from 2 kW to 4 kW, employing circuit breakers. Similarly, for each 25W DC step load increment, we used circuit breakers.
The frequency variations caused by microgrid switching are compared in Figure 18 between the traditional method and the proposed secondary controller-based method.
Figure 19 shows the DC load waveform which is regulated at P D C , L = 250 W. The identical step DC load increased at t = 0.3 s and t = 0.7 s. After that, it obtains power from the AC source, which is stable and the same. We also observed harmonics due to inverter switching in IC.
To quantitatively evaluate the real-time performance and robustness of the proposed control strategy, tracking error analysis was conducted during hardware experiments implemented on the NVIDIA Jetson Nano platform. Under step load variation scenarios where the system transitioned from 50% to 80% loading at t = 0.3 s and t = 0.7 s, the AC voltage and frequency maintained average steady-state tracking errors of less than 2.5%, as measured against their nominal reference values (230 V and 50 Hz, respectively). Similarly, the DC bus voltage deviation remained within 3%, even during simultaneous AC load fluctuations and renewable source variations. These values were determined through high-resolution oscilloscope data logging and real-time sampling at 10 kHz. The results confirm the robustness of the dual-layer PI–SMC controller in maintaining stability and control accuracy in the presence of dynamic disturbances and embedded execution constraints.

5.3. Discussion

To quantify the harmonic performance of the proposed control strategy, the Total Harmonic Distortions (THD) of the AC voltage waveform was measured at the load side during hardware experiments. Using an Fast Fourier Transform (FFT)-based analysis of the waveform data captured via a digital oscilloscope, the THD under nominal steady-state conditions was found to be 3.8%. During dynamic load transition events, such as switching between AC/DC supply paths and sudden load changes, the THD temporarily increased to a peak value of 5.1% before stabilizing within 200 ms. This transient distortion is attributed to switching noise from the IC and nonlinearities in load behavior. However, the fast response of the SMC helped to suppress harmonics and restore waveform quality, demonstrating the robustness and effectiveness of the proposed hierarchical control in maintaining acceptable power quality levels in hybrid microgrids. Specifically, we note that while the proposed control scheme was tested under various load transitions and mode-switching scenarios, it was not evaluated under extreme grid fault conditions such as short circuits, severe harmonics from non-linear loads, or cyber-physical attacks.

6. Conclusions

This study presented a robust hierarchical control architecture for hybrid AC/DC shipboard microgrids, integrating a conventional droop-based PI controller at the primary level with an SMC strategy at the secondary level. The proposed scheme effectively addresses the challenges of voltage/frequency deviation, load transients, and mode-switching disturbances inherent to maritime power systems.
The simulation results demonstrated that the control framework significantly improves transient response and system stability under dynamic loading conditions, reducing voltage and frequency deviations by up to 45% compared with conventional PI-only methods. These findings were further validated through hardware implementation using the NVIDIA Jetson Nano, confirming real-time feasibility with low tracking error and acceptable THD under embedded constraints.
Beyond control performance, the study emphasizes practical design considerations such as sampling frequency, boundary layer tuning, and sensor uncertainty factors critical for real-world deployment on marine vessels. The control scheme’s modularity, fast convergence, and low computational overhead make it especially suitable for space- and energy-constrained shipboard environments seeking to integrate renewable energy sources and cold ironing capabilities. Future work may extend the current framework by incorporating formal multi-objective optimization techniques, model predictive control, or AI-based tuning to further enhance adaptability and energy efficiency under diverse maritime operating scenarios.   

Author Contributions

Conceptualization, A.R.; Software, F.A.; Formal analysis, A.R.; Investigation, A.R. and M.T.A.; Resources, F.A. and S.S.H.Z.; Writing—original draft, A.R.; Writing—review & editing, M.T.A.; Supervision, S.S.H.Z.; Project administration, S.S.H.Z.; Funding acquisition, M.T.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

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 authors.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. List of Parameters.
Table A1. List of Parameters.
SymbolDescriptionUnit
i A C AC side currentA
V A C Voltage across AC loadV
L A C Inductance of AC transmission lineH
V d , V q Direct and quadrature axis voltagesV
i d , i q Direct and quadrature axis currentsA
ω Angular frequency (grid)rad/s
K p , K i PI controller proportional and integral gains
K 0 Sliding surface gain in SMC
sSliding surface
β Control gain in SMC
μ Sliding manifold boundary layer thickness
v i n v Inverter voltageV
i i n v Inverter currentA
V D C DC bus voltageV
R D C Resistance of DC lineΩ
P D C , L Power consumed by DC loadW
V q , l i n e Quadrature voltage drop across line inductanceV

References

  1. Kiran, N. Sliding Mode Control of Buck Converter. Buletin Teknik Elektro dan Informatika. Bull. Electr. Eng. Inform. 2014, 3, 37–44. [Google Scholar] [CrossRef]
  2. Saoudi, M.; El-Sayed, A.; Metwally, H. Design and Implementation of Closed-Loop Control System for Buck converter Using different techniques. IEEE Aerosp. Electron. Syst. Mag. 2017, 32, 30–39. [Google Scholar] [CrossRef]
  3. Das, A.; Namboothiripad, M.K. Voltage Control of Buck Converter using Sliding Mode Controller. Int. J. Eng. Res. Technol. IJERT 2014, 3, 1619–1623. [Google Scholar]
  4. Hashmi, S.M.; Memon, A.Y. Simulation of PWM based Sliding Mode Controller for a DC-DC Buck Converter on FIL. In Proceedings of the IEEE 2020 17th International Bhurban Conference on Applied Sciences and Technology (IBCAST), Islamabad, Pakistan, 14–18 January 2020; pp. 344–349. [Google Scholar]
  5. Rehmat, A.; Alam, F.; Nasir, M.; Zaidi, S.S. Robust Hierarchical Non-linear Droop Control Design for the PV based Islanded Microgrid. In Proceedings of the 2022 19th International Bhurban Conference on Applied Sciences and Technology (IBCAST), Islamabad, Pakistan, 16–20 August 2022; pp. 620–628. [Google Scholar] [CrossRef]
  6. Qi, H.; Wang, X.; Tolbert, L.M.; Li, F.; Peng, F.Z.; Ning, P.; Amin, M. A resilient real-time system design for a secure and reconfigurable power grid. IEEE Trans. Smart Grid 2011, 2, 770–781. [Google Scholar] [CrossRef]
  7. Li, Q.; Li, Q.; Wang, F.; Xu, N.; Wang, Y.; Bai, B. Settling behavior and mechanism analysis of kaolinite as a fracture proppant of hydrocarbon reservoirs in CO2 fracturing fluid. Colloids Surfaces Physicochem. Eng. Asp. 2025, 724, 137463. [Google Scholar] [CrossRef]
  8. De Campos, V.P.P.; Sansone, E.C.; Silva, G.F.B.L. Hydraulic fracturing proppants. Cerâmica 2018, 64, 219–229. [Google Scholar] [CrossRef]
  9. Li, Q.; Li, Q.; Wu, J.; Li, X.; Li, H.; Cheng, Y. Wellhead stability during development process of hydrate reservoir in the Northern South China Sea: Evolution and mechanism. Processes 2024, 13, 40. [Google Scholar] [CrossRef]
  10. Yamashita, D.Y.; Vechiu, I.; Gaubert, J.P. A review of hierarchical control for building microgrids. Renew. Sustain. Energy Rev. 2020, 118, 109523. [Google Scholar] [CrossRef]
  11. Ali, W.; Ulasyar, A.; Mehmood, M.U.; Khattak, A.; Imran, K.; Zad, H.S.; Nisar, S. Hierarchical control of microgrid using IoT and machine learning based islanding detection. IEEE Access 2021, 9, 103019–103031. [Google Scholar] [CrossRef]
  12. Khan, S.; Paul, D.; Momtahan, P.; Aloqaily, M. Artificial intelligence framework for smart city microgrids: State of the art, challenges, and opportunities. In Proceedings of the IEEE 2018 Third International Conference on Fog and Mobile Edge Computing (FMEC), Barcelona, Spain, 23–26 April 2018. [Google Scholar]
  13. Chui, K.T.; Lytras, M.D.; Visvizi, A. Energy sustainability in smart cities: Artificial intelligence, smart monitoring, and optimization of energy consumption. Energies 2018, 11, 2869. [Google Scholar] [CrossRef]
  14. Nair, D.R.; Nair, M.G.; Thakur, T. A smart microgrid system with artificial intelligence for power-sharing and power quality improvement. Energies 2022, 15, 5409. [Google Scholar] [CrossRef]
  15. Sabzehgar, R.; Amirhosseini, D.Z.; Rasouli, M. Solar power forecast for a residential smart microgrid based on numerical weather predictions using artificial intelligence methods. J. Build. Eng. 2020, 32, 101629. [Google Scholar] [CrossRef]
  16. Hasija, S.; Teo, C.P. Introduction to the Special Section on Smart City Operations. Manuf. Serv. Oper. Manag. 2022, 24, 2387–2388. [Google Scholar] [CrossRef]
  17. Mohammadi, E.; Alizadeh, M.; Asgarimoghaddam, M.; Wang, X.; Simoes, M.G. A review on application of artificial intelligence techniques in microgrids. IEEE J. Emerg. Sel. Top. Ind. Electron. 2022, 3, 878–890. [Google Scholar] [CrossRef]
  18. Jayashree, S.; Malarvizhi, K. AI-Based Smart Micro Grids. In Advanced Controllers for Smart Cities; Springer: Cham, Switzerland, 2021; pp. 1–14. [Google Scholar]
  19. IEEE 1547-2018; IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces. IEEE: Piscataway, NJ, USA, 2018.
  20. IEC 60092-101; Electrical Installations in Ships—Part 101: Definitions and General Requirements. IEC: Geneva, Switzerland, 2018.
  21. Kundu, D. Blockchain and trust in a smart city. Environ. Urban. ASIA 2019, 10, 31–43. [Google Scholar] [CrossRef]
  22. Albarakati, A.J.; Boujoudar, Y.; Azeroual, M.; Jabeur, R.; Aljarbouh, A.; El Moussaoui, H.; Lamhamdi, T.; Ouaaline, N. Real-time energy management for DC microgrids using artificial intelligence. Energies 2021, 14, 5307. [Google Scholar] [CrossRef]
  23. Omitaomu, O.A.; Niu, H. Artificial intelligence techniques in smart grid: A survey. Smart Cities 2021, 4, 548–568. [Google Scholar] [CrossRef]
  24. Kanase-Patil, A.B.; Kaldate, A.P.; Lokhande, S.D.; Panchal, H.; Suresh, M.; Priya, V. A review of artificial intelligence-based optimization techniques for the sizing of integrated renewable energy systems in smart cities. Environ. Technol. Rev. 2020, 9, 111–136. [Google Scholar] [CrossRef]
  25. Herath, P.U.; Fusco, V.; Caceres, M.N.; Venayagamoorthy, G.K.; Squartini, S.; Piazza, F.; Corchado, J.M. Computational intelligence-based demand response management in a microgrid. IEEE Trans. Ind. Appl. 2018, 55, 732–740. [Google Scholar] [CrossRef]
  26. Song, Y.; Wan, C.; Hu, X.; Qin, H.; Lao, K. Resilient power grid for smart city. iEnergy 2022, 1, 325–340. [Google Scholar] [CrossRef]
  27. Nammouchi, A.; Aupke, P.; Kassler, A.; Theocharis, A.; Raffa, V.; Di Felice, M. Integration of AI, IoT and edge-computing for smart microgrid energy management. In Proceedings of the 2021 IEEE International Conference on Environment and Electrical Engineering and 2021 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Bari, Italy, 7–10 September 2021; pp. 1–6. [Google Scholar]
  28. Barranco-Carlos, A.; Orozco-Henao, C.; Marín-Quintero, J.; Mora-Flórez, J.; Herrera-Orozco, A. Adaptive protection for active distribution networks: An approach based on fuses and relays with multiple setting groups. IEEE Access 2023, 11, 31075–31091. [Google Scholar] [CrossRef]
  29. Sarangi, R.R.; Pradhan, A.; Moharana, J.; Ray, P.K.; Mohanty, A. Rate of Change of Frequency Detection in Microgrid under Stochastic Supply and Load. In Proceedings of the 2023 IEEE 3rd International Conference on Smart Technologies for Power, Energy and Control (STPEC), Bhubaneswar, India, 10–13 December 2023; pp. 1–5. [Google Scholar]
  30. Marin-Quintero, J.; Orozco-Henao, C.; Bretas, A.S.; Velez, J.C.; Herrada, A.; Barranco-Carlos, A.; Percybrooks, W.S. Adaptive fault detection based on neural networks and multiple sampling points for distribution networks and microgrids. J. Mod. Power Syst. Clean Energy 2022, 10, 1648–1657. [Google Scholar] [CrossRef]
  31. Rodriguez, D.F.; Alvarez, D.L.; Gomez, D.; Gers, J.M.; Rivera, S. Low-cost analysis of load flow computing using embedded computer empowered by gpu. In Proceedings of the 2021 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 16–18 February 2021; pp. 1–5. [Google Scholar]
  32. Gozuoglu, A.; Ozgonenel, O.; Gezegin, C. CNN-LSTM Based Deep Learning Application on Jetson Nano: Estimating Electrical Energy Consumption for Future Smart Homes. Internet Things 2024, 26, 101148. [Google Scholar] [CrossRef]
  33. Trivedi, R.; Khadem, S. Implementation of artificial intelligence techniques in microgrid control environment: Current progress and future scopes. Energy 2022, 8, 100147. [Google Scholar] [CrossRef]
  34. Wu, T.; Wang, J. Artificial intelligence for operation and control: The case of microgrids. Electr. J. 2021, 34, 106890. [Google Scholar] [CrossRef]
  35. Akpolat, A.N.; Habibi, M.R.; Dursun, E.; Kuzucuoğlu, A.E.; Yang, Y.; Dragičević, T.; Blaabjerg, F. Sensorless control of DC microgrid based on artificial intelligence. IEEE Trans. Energy Convers. 2020, 36, 2319–2329. [Google Scholar] [CrossRef]
  36. Hussaini, H.; Yang, T.; Bai, G.; Urrutia-Ortiz, M.; Bozhko, S. Artificial intelligence-based hierarchical control design for current sharing and voltage restoration in dc microgrid of the more electric aircraft. IEEE Trans. Transp. Electrif. 2023, 10, 566–582. [Google Scholar] [CrossRef]
  37. Manolescu, D.; Reid, D.; Secco, E.L. Hardware and Software Integration of Machine Learning Vision System Based on NVIDIA Jetson Nano. In Proceedings of the Future of Information and Communication Conference; Springer Nature: Cham, Switzerland, 2024; pp. 129–137. [Google Scholar]
  38. Carbone, A.; Spiller, D.; Farissi, M.S.; Sasidharan, S.T.; Latorre, F.; Curti, F. Hardware-in-the-Loop Simulations of Future Autonomous Space Systems Aided by Artificial Intelligence. In Proceedings of the International Conference on Applied Intelligence and Informatics, Reggio Calabria, Italy, 1–3 September 2022; Springer Nature: Cham, Switzerland, 2022; pp. 83–99. [Google Scholar]
  39. Pont-Esteban, D.; Contreras-González, A.F.; Samper-Escudero, J.L.; Sáez-Sáez, F.J.; Ferre, M.; á Sánchez-Urán, M. Validation of an elbow position super-twisting sliding-mode controller for upper-limb exosuit using a soft position sensor. In Journal of Physics: Conference Series; IOP Publishing: Bristol, UK, 2021; Volume 1828, p. 012074. [Google Scholar]
  40. Shahzad, S.; Abbasi, M.A.; Ali, H.; Iqbal, M.; Munir, R.; Kilic, H. Possibilities, challenges, and future opportunities of microgrids: A review. Sustainability 2023, 15, 6366. [Google Scholar] [CrossRef]
  41. Lu, Z.; Li, Y.; Zhuo, G.; Xu, C. Configuration Optimization of Hydrogen-Based Multi-Microgrid Systems under Electricity Market Trading and Different Hydrogen Production Strategies. Sustainability 2023, 15, 6753. [Google Scholar] [CrossRef]
  42. Bai, W.; Wang, D.; Miao, Z.; Sun, X.; Yu, J.; Xu, J.; Pan, Y. The Design and Application of Microgrid Supervisory System for Commercial Buildings Considering Dynamic Converter Efficiency. Sustainability 2023, 15, 6413. [Google Scholar] [CrossRef]
  43. Lakhina, U.; Elamvazuthi, I.; Badruddin, N.; Jangra, A.; Truong, B.-H.; Guerrero, J.M. A Cost-Effective Multi-Verse Optimization Algorithm for Efficient Power Generation in a Microgrid. Sustainability 2023, 15, 6358. [Google Scholar] [CrossRef]
Figure 1. Single line diagram of the shipboard microgrid.
Figure 1. Single line diagram of the shipboard microgrid.
Sustainability 17 06724 g001
Figure 2. Hierarchical control structure.
Figure 2. Hierarchical control structure.
Sustainability 17 06724 g002
Figure 3. Interlinking 2-level Voltage Source Converter (VSC) design.
Figure 3. Interlinking 2-level Voltage Source Converter (VSC) design.
Sustainability 17 06724 g003
Figure 4. The current controller design. (a) SMC-based secondary controller design for frequency and voltage droops, (b) Primary current controller design.
Figure 4. The current controller design. (a) SMC-based secondary controller design for frequency and voltage droops, (b) Primary current controller design.
Sustainability 17 06724 g004
Figure 5. Active power variations at AC load.
Figure 5. Active power variations at AC load.
Sustainability 17 06724 g005
Figure 6. Reactive power variations at AC load.
Figure 6. Reactive power variations at AC load.
Sustainability 17 06724 g006
Figure 7. Frequency variations at AC load.
Figure 7. Frequency variations at AC load.
Sustainability 17 06724 g007
Figure 8. DC load power variations.
Figure 8. DC load power variations.
Sustainability 17 06724 g008
Figure 9. Active power variations at AC load.
Figure 9. Active power variations at AC load.
Sustainability 17 06724 g009
Figure 10. Reactive power variations at AC load.
Figure 10. Reactive power variations at AC load.
Sustainability 17 06724 g010
Figure 11. Frequency variations at AC load.
Figure 11. Frequency variations at AC load.
Sustainability 17 06724 g011
Figure 12. Error bars. (a) Active power regulation comparison, (b) reactive power regulation comparison, (c) frequency regulation comparison.
Figure 12. Error bars. (a) Active power regulation comparison, (b) reactive power regulation comparison, (c) frequency regulation comparison.
Sustainability 17 06724 g012aSustainability 17 06724 g012b
Figure 13. Hardware implementation. (a) Hardware setup, (b) hardware block diagram design.
Figure 13. Hardware implementation. (a) Hardware setup, (b) hardware block diagram design.
Sustainability 17 06724 g013
Figure 14. Active power variations at AC load (units: Watt, W).
Figure 14. Active power variations at AC load (units: Watt, W).
Sustainability 17 06724 g014
Figure 15. Frequency variations at AC load (units: hertz, Hz).
Figure 15. Frequency variations at AC load (units: hertz, Hz).
Sustainability 17 06724 g015
Figure 16. DC load variations (units: Watt, W).
Figure 16. DC load variations (units: Watt, W).
Sustainability 17 06724 g016
Figure 17. Active power variations at AC load (units: Watt, W).
Figure 17. Active power variations at AC load (units: Watt, W).
Sustainability 17 06724 g017
Figure 18. Frequency variations at AC load (units: hertz, Hz).
Figure 18. Frequency variations at AC load (units: hertz, Hz).
Sustainability 17 06724 g018
Figure 19. DC load variations (units: hertz, Hz).
Figure 19. DC load variations (units: hertz, Hz).
Sustainability 17 06724 g019
Table 1. Controller design parameters used in simulation.
Table 1. Controller design parameters used in simulation.
ParametersDescriptionValues
K P Proportional gain0.1
K I integral gain5
K 0 SMC gain0.8
β Sliding surface gain in SMC0.05
μ Sliding manifold boundary0.6
Table 2. Simulation-based hybrid microgrid system parameters.
Table 2. Simulation-based hybrid microgrid system parameters.
ParametersDescriptionValues
v D C , s o u r c e DC source side voltage500 volts
v A C , s o u r c e AC source side voltages400 rms volts
f g r i d AC grid frequency50 Hz
P D C , L power of DC load250 W
P A C , L Active power load6 kW
Q A C , L Reactive power load3 kVar
f i n v VSC frequency8 kHz
Table 3. Hardware setup parameters for experimental validation.
Table 3. Hardware setup parameters for experimental validation.
ParametersDescriptionValues
v D C , s o u r c e DC source side voltage48 volts
v A C , s o u r c e AC source side voltages400 rms volts
f g r i d AC grid frequency50 Hz
P D C , L power of DC load125 W
P A C , L Active power load2 kW,2 kW, 1 kW
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

Rehmat, A.; Alam, F.; Arif, M.T.; Zaidi, S.S.H. Design and Implementation of a Robust Hierarchical Control for Sustainable Operation of Hybrid Shipboard Microgrid. Sustainability 2025, 17, 6724. https://doi.org/10.3390/su17156724

AMA Style

Rehmat A, Alam F, Arif MT, Zaidi SSH. Design and Implementation of a Robust Hierarchical Control for Sustainable Operation of Hybrid Shipboard Microgrid. Sustainability. 2025; 17(15):6724. https://doi.org/10.3390/su17156724

Chicago/Turabian Style

Rehmat, Arsalan, Farooq Alam, Mohammad Taufiqul Arif, and Syed Sajjad Haider Zaidi. 2025. "Design and Implementation of a Robust Hierarchical Control for Sustainable Operation of Hybrid Shipboard Microgrid" Sustainability 17, no. 15: 6724. https://doi.org/10.3390/su17156724

APA Style

Rehmat, A., Alam, F., Arif, M. T., & Zaidi, S. S. H. (2025). Design and Implementation of a Robust Hierarchical Control for Sustainable Operation of Hybrid Shipboard Microgrid. Sustainability, 17(15), 6724. https://doi.org/10.3390/su17156724

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