Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
Next Article in Journal
Recent Advances in Geochemical and Mineralogical Studies on CO2–Brine–Rock Interaction for CO2 Sequestration: Laboratory and Simulation Studies
Previous Article in Journal
A Comprehensive Review of Alarm Processing in Power Systems: Addressing Overreliance on Fault Analysis and Projecting Future Directions
Previous Article in Special Issue
Determination of the Electrical Parameters of Iodine-Doped Polymer Solar Cells at the Macro- and Nanoscale for Indoor Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Neural Network Energy Management-Based Nonlinear Control of a DC Micro-Grid with Integrating Renewable Energies

1
Laboratory of Advanced Systems, Polytechnic School of Tunisia (EPT), B.P. 743, Marsa 2078, Tunisia
2
ETIS, CNRS UMR 8051, CY Cergy Paris University, ENSEA, 6 Avenue du Ponceau, 95014 Cergy, France
3
Department of Electrical Engineering, College of Engineering, Taif University, Taif 21944, Saudi Arabia
4
Physics Department, Faculty of Science, Umm AL-Qura University, P.O. Box 715, Makkah 24382, Saudi Arabia
*
Author to whom correspondence should be addressed.
Energies 2024, 17(13), 3345; https://doi.org/10.3390/en17133345
Submission received: 2 June 2024 / Revised: 29 June 2024 / Accepted: 30 June 2024 / Published: 8 July 2024
(This article belongs to the Special Issue Research on Solar Cell Materials)

Abstract

:
The broad acceptance of sustainable and renewable energy sources as a means of integrating them into electrical power networks is essential to promote sustainable development. Microgrids using direct currents (DCs) are becoming more and more popular because of their great energy efficiency and straightforward design. In this work, we discuss the control of a PV-based renewable energy system and a battery- and supercapacitor-based energy storage system in a DC microgrid. We describe a hierarchical control approach based on sliding-mode controllers and the Lyapunov stability theory. To balance the load and generation, a fuzzy logic-based energy management system has been created. Using a neural network, maximum power defects for the PV system were determined. The global asymptotic stability of the framework has been verified using Lyapunov stability analysis. In order to simulate the proposed DC microgrid and controllers, MATLAB/SimulinkR (2019a) was utilized. The outcomes show that the system operates effectively with changing production and consumption.

1. Introduction

The Distributed Generation concept has played an essential role in the transition from traditional power production to clean power energy over the last two decades. Wind and solar and energy are abundant across the world, and they are the primary contributors to decreasing carbon emissions and ensuring environmental sustainability [1,2]. They are used with REs and loads to build MGs. The major benefits of MGs are improved dependability, autonomous control, and the capacity to satisfy load needs in both grid-connected and islanded modes [3,4]. They are divided into two types, namely AC and DC. Because of their superior efficiency, lower cost, and lack of reactive power, DCMGs have been largely deployed in remote locations [5]. The MG requires an appropriate control strategy to deliver continuous and adequate energy for the load demand while balancing all power fluxes [6,7], and it may be linked to or disconnected from the main network. Because of its simplicity, linear control is the most commonly used technique for regulating MGs. It is also well known in both industry and academics. Significant studies have been performed to this end utilizing various linear control approaches. Complex optimization approaches were used to solve the DCMG’s stability problem with constant power loads [8]. An observer-based droop control was used to manage the DC bus voltage of a simple MG with two storage units [9]. An expanded model for DG resources [10] was used to examine a robust control approach for regulating energy units in a DCMG, with stability analysis being carried out using a defined set of eigen-values for a linearized model.
Research on the nonlinear nature of power converters integrated with DG units has been undertaken utilizing various linear control techniques [11,12], as well for nonlinear systems with fuzzy logic control [13]. Substantial research has been performed using the nonlinear control approaches to overcome the difficulties outlined in the case of linear control systems. The traditional MPPT method for PV array voltage was used to build a robust nonlinear controller for power source management in a DCMG with a PV solar panel [14]. A passivity-based nonlinear controller was investigated, and it was discovered that the bus voltage did not remain constant, and no global stability of the system was demonstrated [15]. The use of SE has been examined as a single DG unit using a nonlinear adaptive backstepping controller for islanded DCMGs [16]. A sliding mode nonlinear control has been examined in [17]; the variations’ bus voltages were identified as a result of the lack of an ES device capable of providing quick energy transients under load demand. Considering the drawbacks of past studies and researching the control and operation of RESs coupled with storage energy systems, control is planned globally and implemented locally [18,19,20].
In order to overcome the difficulties faced by the aforementioned studies (among others), the MG is used in this study to integrate DG to time-varying demands, with storage system components operating on distinct time scales (battery and supercapacitor). The DCMG’s control strategy is divided into two layers. The low-layer controller is based on the sliding-mode controller and Lyapunov stability, and ensures that each element is exponentially stable in relation to its own reference. Artificial neural networks are employed by the PV coupled with the MG to operate during MPPT, achieving optimum efficiency throughout the day despite disturbances from environmental changes.
Furthermore, high-level controllers based on fuzzy logic systems provide references based on various objectives, such as MPPT and maintaining the power equilibrium by delivering the desired currentof the battery and the reference current of SC, according to the load power needs. A constructive Lyapunov function explicitly analyzes the system’s stability and ensures the exponential stability of the entire system under moderate conditions, which define the grid’s operating conditions. The resulting system will then provide excellent dynamic performance and adaptability. Computer simulations are then used to validate the developed nonlinear control strategy.
The paper is structured as follows. Section 2 describes the system design and describes the DC microgrid model, Section 3 provides issue formulation and control goals, and Section 4 proposes an MPPT approach for the PV system, utilizing an artificial neural network. Section 5 analyzes the design of the proposed controller utilizing a fuzzy logic energy management system, and Section 6 investigates the stability analysis of the connected DC MG system. Section 7 contains the case studies and simulation results, followed by Section 8’s conclusions

2. Components of DC Microgrid System

Figure 1 shows the DC microgrid system under examination. It is made up of a PV-generating source, a battery, and a supercapacitor energy storage unit that are all linked together by a Three-Input DC-DC Boost Converter. The PV input is connected to the DC microgrid by a single unidirectional leg, while the storage components are connected via two bidirectional legs. A power transmission line connects the load and DC bus.

2.1. PV Energy System

A solar panel is made up of PV modules, which absorb sunlight and convert it into direct current energy. Figure 2 depicts the layout of the PV energy system. The PV array was coupled to a DC-DC converter to exchange power with the DC bus, which was thought to be in continuous conduction mode. The system model requires two state variables in order to operate correctly as follows: The solar panel voltage is unknown, but the positive capacitance, resistance, and inductor values are known as C1, R1, R01, R02, L1, respectively. The PV array voltage V P V + states I L 1 and V C 1 as the detected signals. The control input, u1, is defined as the circuit’s duty cycle; its objective is to properly integrate the power flowing from the source. This is referred to as MPPT, and it consists of regulating the voltage VC1 to its reference VC1ref, which is provided by a higher-level controller and is supposed to remain constant across the time period T.

2.2. Battery Storage System

The battery is connected to the DC bus by the DC-DC converter. For the converter, we select two state variables as follows: the capacitor voltages V C 2 and the inductor current I L 2 . C2, R2, L2, R03, and R04 are well-known positive circuit variables, whereas the battery voltage is not. The signals monitored are the I L 2 and V C 2 states, as well as the battery voltage VBAT. The duty cycle u2 is used as the control input.

2.3. Supercapacitor Storage System

The SC is connected to the DC bus through the DC-DC converter. The inductor current I L 3 and the capacitor voltage V C 3 are significant. We know the positive values of C3, R3, L3, R05, R06, and the V S C disturbance at each time t. (SC voltage). The system’s control input is the duty cycle u3. Its mission is to govern the VDC. The voltage of a capacitor is directly linked to the grid. The observed signals are the SC voltage VSC> 0, as well as the states V C 3 and I L 3 . In this case, V C D indicates the voltage of the capacitor C C D , which is the DCMG in Figure 2. This voltage is determined by the connections with the load and the sources, with R L + denoting the load resistance.

3. Problem Formulation and System Modeling

3.1. System Modeling

As shown in Figure 2, the mathematical model is obtained based on the power electronics averaging technique [21,22,23], controlled using PWM, and can be expressed using the following equations:
{ d V C 1 d t = 1 R 1 C 1 V C 1 1 C 1 I L 1 + 1 R 1 C 1 V P V d I L 1 d t = 1 L 1 V C 1 [ ( R 01 R 02 ) u 1 + R 02 ] L 1 I L 1 ( 1 u 1 ) L 1 V D C d V C 2 d t = 1 R 2 C 2 V C 2 1 C 2 I L 2 + 1 R 2 C 2 V B A T d I L 2 d t = 1 L 2 V C 2 [ ( R 03 R 04 ) u 2 + R 02 ] L 2 I L 2 ( 1 u 2 ) L 2 V D C d V C 3 d t = 1 R 3 C 3 V C 3 1 C 3 I L 3 + 1 R 3 C 3 V S C d I L 3 d t = 1 L 3 V C 3 [ ( R 05 R 06 ) u 3 + R 06 ] L 3 I L 3 ( 1 u 3 ) L 3 V D C d V D C d t = 1 C D C [ ( 1 u 1 ) I L 1 + I L 2 + I L 3 i L o a d ]
Let [ x 1 x 2 x 3 x 4 x 5 x 6 x 7 ] T = [ V C 1 I L 1 V C 2 I L 2 V C 3 I L 3 V D C ] T , then the system (1) can be rewritten as follows:
{ d x 1 d t = 1 R 1 C 1 x 1 1 C 1 x 2 + 1 R 1 C 1 V P V d x 2 d t = 1 L 1 x 1 [ ( R 01 R 02 ) u 1 + R 02 ] L 1 x 2 ( 1 u 1 ) L 1 x 7 d x 3 d t = 1 R 2 C 2 x 3 1 C 2 x 4 + 1 R 2 C 2 V B A T d x 4 d t = 1 L 2 x 3 [ ( R 03 R 04 ) u 2 + R 02 ] L 2 x 4 ( 1 u 2 ) L 2 x 7 d x 5 d t = 1 R 3 C 3 x 5 1 C 3 x 6 + 1 R 3 C 3 V S C d x 6 d t = 1 L 3 x 5 [ ( R 05 R 06 ) u 3 + R 06 ] L 3 x 6 ( 1 u 3 ) L 3 x 7 d x 7 d t = 1 C D C [ ( 1 u 1 ) x 2 + x 4 + x 6 i L o a d ]

3.2. Analysis of the DCMG System

To understand the system’s behavior, a thorough examination of the controller design necessary for DCMG control is carried out as follows:

3.2.1. Dynamical Behavior

The DCMG system includes a wide range of nonlinear dynamics due to the power sources and electromagnetic interactions between them, as well as numerous switching components exhibited in converters (boost-buck). Moreover, the dynamic characteristics of the converters has been categorized as including bifurcation and/or chaos [24,25]. To avoid the failure in the circuits, a mathematical modeling of the system has been suggested, while Lyapunov stability has been proven to be effective in regard to avoiding bifurcation.

3.2.2. Nonlinear Characteristics

The system is very nonlinear due to the interconnection and switching between the converters. Nonlinearity in converters may be addressed successfully using Lyapunov-based methods, which provide high sensitivity, robustness, and superior transient response [26].

3.2.3. Non-Minimum Phase Nature

The inductor shows this type of behavior when the current lags behind the desiredsignal in DC-DC converters [27]. The current’s control systems, which utilize an indirect control method to force currents to follow their respective references, are used to prevent this tendency. The mentioned facts need the construction of a nonlinear controller capable of handling the nonlinear dynamic behavior of power converters. Furthermore, in the next section, the parameters of the proposed control strategy based on a nonlinear controller are built in such a way that they govern the nonlinearities.

3.3. Problem Formulation

The purpose of this work is to maintain the DCMG voltage at its nominal value, while also ensuring the total system’s stability. The DCMG control is divided into two layers to achieve this goal.

3.3.1. High-Level Control

The PV high-level controller is based on an intelligent technology that uses an artificial neural network (ANN) [7] to harvest the most power from the solar panel. In DCMG, power flow management serves as a high-level controller for the storage system. The DCMG voltage VDC is compared to its reference value VDCref, and the total current required by the storage to fulfill the power flow and guide the DC grid voltage to its reference is calculated. To correct an equation, a Proportional Integral (PI) corrector is utilized. The objective of a fuzzy logic system (FLS) [28] is to generate the reference currents of a battery and a SC (IL2ref and IL3ref, respectively).

3.3.2. Low-Level Control

The control of power converters is required to regulate the input and output flow of the current based on reference signals provided by a sliding-mode control algorithm. Figure 3 shows the control approach and integration with a DC bus. The objective of this strategy is to stabilize the DCMG voltage and deliver adequate power to the load while decreasing battery charge/discharge cycles.

4. MPPT for a PV Subsystem Using Artificial Neural Network

To increase the capacity of a solar panel, its operating point must be controlled in order to obtain the maximum energy from it. This work optimized an artificial neural network MPPT controller to create the maximum peak power voltage, which delivers a reference voltage VC1ref to be tracked by the lower level controller. Variations in meteorological conditions such as fog, heat, dust, and other particles floating in the air cover the panel over time, reducing the efficiency of the PV system’s power conversion process significantly. Because the values generated by the neural network closely match the goal values, it may be used to estimate future indicator values of VC1ref from previous data and to recognize trends in irradiance and temperature regardless of the variables indicated above. The data used to train and target the neural network was derived from a Simulink model of a PV array with variable temperature and irradiance data points.
As illustrated in Figure 4, the neural network described in this workhas two inputs, temperature and solar irradiance, and one output, VC1ref.
The number of neurons in the hidden layer has been used to regulate the network’s performance. The input data have been sent to the hidden layers, which have calculated the output data. To train the neural network, the Levenberg–Marquardt method [7] was used to solve nonlinear issues, such as fluctuations in irradiance and temperature. The regression plot constructed using the neural network toolbox in MATLAB (2019a), displayed in Figure 5, shows that the output value of VC1ref accurately reflects the target data. The solid line in the regression plot indicates the perfect correlation between the predicted and target data, while the dashed line represents the best fit provided by the neural network method.
Table 1 shows a comparison between VC1ref target values and neural network-produced values. The findings of the artificial neural network MPPT controller provide reliable forecasts throughout a wide range of operating modes, particularly for very rapid changes in weather conditions, which produces a reference voltage VC1ref.

5. DC Microgrid Control and FLS Energy Management

5.1. Fuzzy Logic Energy Management System

The artificial neural network MPPT controller provides a reference voltage VC1ref that the lower level controller may track. A Li-ion battery and a SC are employed in the proposed storage system. The control’s goal is to charge and discharge the storage component while maintaining a steady grid voltage during transients. The current going from/to the storage to/from the DC-link capacitance represents the power necessary to complete the power flow. Due to the buck-boost converter’s non-minimum phase behavior, the DC bus voltage VDC cannot be set directly to VDCref. To keep the bus voltage at the reference voltage VDCref, the PI corrector calculates the DC bus reference current Idcref.
The FLS (Figure 6) delivers the battery and SC reference currents (IL2ref and IL3ref, respectively). These reference currents will allow the DC bus voltage to stay constant regardless of the load behavior or variations in the PV generator power drawn.
To divert unexpected power variations into the SC, a low-pass filter is applied to the Idc current. The Idcref current is transmitted through this low filter to create the battery’s current desired Idcref. The difference between the Idcref and IL2ref′ determines the SC current reference IL3ref′.
The SoC of the battery and the SC must be considered while developing the reference currents. To choose the exact reference current, three switches are utilized, which are controlled by the FLS in function of IL2ref*, IL2ref**, and IL3ref*.
Switch 1: Lets you choose between Idcref and IL2ref′.
If Idcref is Negative and SoCSC is 95%, IL2ref″ equals Idcref; else, IL2ref″ equals IL2ref′.
If Idcref is Positive and SoCSC is 25%, IL2ref″ equals Idcref; else, IL2ref″ equals IL2ref′.
Switch 2: Lets you to choose between IL2ref″ and 0.
If Idcref is Negative and SoCba is 95%, IL2ref equals zero; else, IL2ref equals IL2ref″.
If IL2ref″ is Positive and SoCba is 25%, IL2ref equals zero; else, IL2ref equals IL2ref″.
Switch 3: Lets you choose between IL3ref′ and 0.
If IL3ref′ is Negative and SoCSC is 95%, IL3ref equals zero; else, IL3ref equals IL3ref′.
If IL3ref′ is Positive and SoCSC is 25%, IL3ref equals zero; else, IL3ref equals IL3ref′.
-
If the storge reference currentIL2ref is Negative, then the PV generator will produce greater power than the load and the SoC of SC is greater that 95%, meaning the IL3ref must be null.
-
If the storge reference current IL2ref is positive, then the PV generator will fail to deliver sufficient power and the SoC of SC is 25%, meaning the IL3ref must be null.
-
If the Supercapacitor’s SoC exceeds 25%, the SC will start to discharge.
-
When the PV panels supply the power required by the load, the IDCref is zero.
The aim of utilizing a FLS in this study is to regulate the total system power flow while keeping the SoCba and the SoCSC at their allowable intervals of their SoC. As illustrated in Figure 7 and Figure 8, the FLS employed in this work comprises four inputs and three outputs.
The fuzzy logic system’s inputs are the storage reference current Idcref, the SoCba, the SoCSC, and IL3ref.
The outputs are IL2ref* for the control of switch 1, IL2ref**for the control of switch 2, and IL3ref* for the control of switch 3.
The FLS calculates the control of the three switches utilized for DC bus regulation using the data from these four inputs, as shown in the flowchart.
Membership functions:
The described methodology’s objective is to develop membership functions for the FLS’s input and output variables. The input membership functions are used to switch between the various operational modes. Figure 7 and Figure 8 depict them. To accommodate the needs of the proposed strategy, the membership functions of the storage levels (Figure 7a,d) are based on two levels; N stands for negative, and P stands for positive, where they represent the sign of the reference current Idcref and IL3ref’,with N and P representing the charge and discharge of the SC and battery, respectively. Between 100 and −100 A, the reference currents IL3ref′ and Idcref are considered.
The described methodology’s objective is to develop membership functions for the inputs and outputs variables of the FLS. The membership functions are employed to switch between the various operational modes. Figure 5 and Figure 6 depict them. To satisfy the demands of the suggested approach, the membership functions are based on two levels, N and P (Figure 7a–d).
The membership of the SoCba and the SoCSC is depicted in Figure 7b,c. Similarly, three levels are defined as follows:
  • The SoC is represented by a low level of 25% (between 0 and 25%).
  • The SoC is represented by a middling level of 25 to 95%.
  • The SoC is represented at a high level of >95%.
The membership functions of the outputs are illustrated in Figure 8a–c, with switch1 controlling IL2ref*, switch2 controlling IL2ref**, and switch 3 controlling IL3ref*. These functions are divided into two tiers, N and P, which indicate the sign of the switch commands.
Rules of FLS:
The rules of the FLS generated for energy management storage are derived from system behavior analysis. It must be recognized in their formulation that utilizing different control rules based on operational situations might increase the performance of the energy management storage. The rules that link the FLS are shown in the following tables (Table 2, Table 3 and Table 4):

5.2. PV Subsystem Controller

Lets us look at the control u1 that is used to stabilizex1 and x2; it is created via utilizing a sliding-mode approach to create an x1ref desiredvalue to x1 that is employed to guide VC1 to its equilibrium point after imposing a desirable dynamic behavior. From system (2),
{ d x 1 d t = 1 R 1 C 1 x 1 1 C 1 x 2 + 1 R 1 C 1 V P V d x 2 d t = 1 L 1 x 1 [ ( R 01 R 02 ) u 1 + R 02 ] L 1 x 2 ( 1 u 1 ) L 1 x 7
Let us first establish the output tracking error as e 1 = x 1 x 1 r e f ; the control input’s u1 goal is to correctly incorporate the PV energy while also obtaining the maximum power possible from the PV generator. This is known as MPPT, and it consists of regulating the voltage VC1 (x1) to its reference VC1ref (x1ref) delivered by a higher-level controller and deemed constant throughout each time period T. The desired dynamic for x1 is introduced as
e ˙ 1 = x ˙ 1 x ˙ 1 r e f
From Equations (3)and (4), we can then design
x 2 r e f = 1 R 1 [ V P V x 1 r e f ]
To track the state x2 to its reference value x2ref, we establish the following error term for the controller’s design:
e 2 = x 2 x 2 r e f
To develop an SMC, an SF was chosen that allows the system to reach the SF and achieve the required desired value. Since the PV energy subsystem’s state space model has just only one control law input u1, the SF has been defined as follows:
S 2 = a 2 ( x 2 x 2 r e f ) = a 2 e 2
where a2 is a positive constant for the SF design parameter. If we derive the time of Equation (7), we obtain the following:
S ˙ 2 = a 2 ( x ˙ 2 x ˙ 2 r e f ) = a 2 e ˙ 2
Equation (6)’s time derivative provides the following equation:
e ˙ 2 = x ˙ 2 x ˙ 2 r e f
Replacing x ˙ 2 from Equation (3) into Equation (9) yields
e ˙ 2 = 1 L 1 x 1 [ ( R 01 R 02 ) u 1 + R 02 ] L 1 x 2 ( 1 u 1 ) L 1 x 7 x ˙ 2 r e f
Substituting e ˙ 2 from Equation (10) into Equation (8) yields
S ˙ 2 = a 2 [ 1 L 1 x 1 [ ( R 01 R 02 ) u 1 + R 02 ] L 1 x 2 ( 1 u 1 ) L 1 x 7 x ˙ 2 r e f ]
The control law u1 was selected in a manner so that it achieves global asymptotic stability, as indicated below:
u1= uSC1+ uNC1
where uSC1 denotes the switching control that keeps the track on the SF and uNC1 denotes the nominal control that brings the trajectory state to the SF. Using S ˙ 2 = 0 to obtain the value of uNC1 yields
u N C 1 = a 2 L 1 ( R 01 R 02 ) x 2 x 7 [ 1 L 1 x 1 1 L 1 x 7 R 02 L 1 x 2 x ˙ 2 r e f ]
and
u S C 1 = L 1 ( R 02 R 01 ) x 2 + x 7 [ k 1 | S 2 | α s g n ( S 2 ϕ 1 ) k 2 s g n ( S 2 ϕ 1 ) d t ]
In Equations (13) and (14), the condition (always met in practice) ( R 01 R 02 ) x 2 x 7 0 , α is a constant ranging from 0 to 1 that converges the subsystem (3) to the SF, ϕ 1 is the degree of nonlinearity used to prevent chattering, and k1 and k2 are gains (positive) that are used to modify the control law u1. Sgn is the Signumfunction, which is in the following form:
s g n ( S ) = { 1     i f     S 0 0     i f     S = 0 1     i f     S > 0
Substituting the value of u1 in (12), (13), and (14) results in the following:
S ˙ 2 = k 1 | S 2 | α s g n ( S 2 ϕ 1 ) k 2 s g n ( S 2 ϕ 1 ) d t
For stability analysis, rearrange (16) as follows:
S ˙ 2 = w 2 + z 2
where w 2 = k 1 | S 2 | α s g n ( S 2 ϕ 1 ) and z ˙ 2 = k 2 s g n ( S 2 ϕ 1 ) .
To evaluate the subsystem’s (2) stability, the following Lyapunov candidate function was used:
V 1 , 2 ( x ) = 2 k 2 | S 2 | + 1 2 z 2 2 + 1 2 ( k 1 | S 2 | α s g n ( S 2 ϕ 1 ) z 2 ) 2 + R 1 2 e 1 2
The Lyapunov function in (18) has a quadratic form as follows:
V 1 , 2 ( x ) = X 1 T P 1 X 1 + X 2 T P 2 X 2
where X 1 T = [ e 1 0 ] , X 2 T = [ | S 2 | α s g n ( S 2 ϕ 1 ) z 2 ] , P 1 = R 1 2 [ 1 0 0 0 ] , and P 2 = 1 2 [ 4 k 2 + k 1 2 k 1 k 1 2 ] .
Its time derivative along the solution of (16) yields the following results:
V ˙ 1 , 2 ( x ) = 1 2 | S 2 | α X 1 , 2 T Q 1 , 2 X 1 , 2
where k1 and k2 are positive and Q 1 , 2 = k 2 2 [ 2 k 2 + k 1 2 + 2 k 2 k 1 k 1 1 ] .
In this case, if the controller gains k1 and k2 are positive, then Q 1 , 2 > 0 . The controller u1 fits the Lyapunov stability condition, as demonstrated by (18), ensuring that the error convergence is zero in the limited time. It also shows that the PV subsystem can provide maximum power throughout the day.
V ˙ 1 , 2 ( x ) 0

5.3. Design of the Battery’s Current Control

We must create a control law u2 to direct IL2 toward its reference x4ref = IL2ref. It is developed using a sliding-mode technique. From system (1),
{ d x 4 d t = 1 L 2 x 3 [ ( R 03 R 04 ) u 2 + R 02 ] L 2 x 4 ( 1 u 2 ) L 2 x 7
To track the state x4 to its referencevalue x4ref, we establish the following error term for the controller’s design:
e 4 = x 4 x 4 r e f
To develop an SMC, an SF was chosen that allows the system to reach the SF and achieve the required desired value. Since the current battery subsystem’s state space model just has only one control law input u2, the SF has been defined as follows:
S 4 = a 4 ( x 4 x 4 r e f ) = a 4 e 4
where a4 is a positive constant for the SF design parameter. We derive the time of Equation (24), obtaining the following:
S ˙ 4 = a 4 ( x ˙ 4 x ˙ 4 r e f ) = a 4 e ˙ 4
Equation (23)’s time derivative provides the following equation:
e ˙ 4 = x ˙ 4 x ˙ 4 r e f
Substituting the value of x ˙ 4 from Equation (22) into Equation (26) yields
e ˙ 4 = 1 L 2 x 3 [ ( R 03 R 04 ) u 2 + R 02 ] L 2 x 4 ( 1 u 2 ) L 2 x 7 x ˙ 4 r e f
Substituting e ˙ 4 from Equation (27) into Equation (25) yields
S ˙ 4 = a 4 [ 1 L 2 x 3 [ ( R 03 R 04 ) u 2 + R 04 ] L 2 x 4 ( 1 u 2 ) L 2 x 7 x ˙ 4 r e f ]
The control law u2 was selected in a manner that achieves global asymptotic stability, as indicated below:
u2= uSC2+ uNC2
where uSC2 denotes the switching control that keeps the track on the SF and uNC2 denotes the nominal control that brings the trajectory state to the SF. Using S ˙ 4 = 0 to obtain the value of uNC2 yields
u N C 2 = a 4 L 2 ( R 03 R 04 ) x 4 x 7 [ 1 L 2 x 3 1 L 2 x 7 R 04 L 2 x 4 x ˙ 4 r e f ]
and
u S C 2 = L 2 ( R 04 R 03 ) x 4 + x 7 [ k 3 | S 4 | β s g n ( S 4 ϕ 2 ) k 4 s g n ( S 4 ϕ 2 ) d t ]
In Equations (30) and (31), the condition (always met in practice) ( R 04 R 03 ) x 4 + x 7 0 , β is a constant ranging from 0 to 1 which converges the subsystem (22) to the SF, ϕ 2 is the degree of nonlinearity used to prevent chattering, and, k3 and k4 are gains (positive) that are used to modify the control law u2. Substituting the value of u2 in (29), (30), and (31) results in the following:
S ˙ 4 = k 3 | S 4 | β s g n ( S 4 ϕ 2 ) k 4 s g n ( S 4 ϕ 2 ) d t
For stability analysis, rearrange (32) as follows:
S ˙ 4 = w 4 + z 4
where w 4 = k 4 | S 4 | β s g n ( S 4 ϕ 2 ) and z ˙ 4 = k 4 s g n ( S 4 ϕ 2 ) .
To evaluate the system’s stability, the following Lyapunov candidate function was used:
V 4 ( x ) = 2 k 4 | S 4 | + 1 2 z 4 2 + 1 2 ( k 3 | S 4 | β s g n ( S 4 ϕ 2 ) z 4 ) 2
The Lyapunov function in (34) has a quadratic form V 4 ( x ) = X 4 T P 4 X 4 , where
X 4 T = [ | S 4 | β s g n ( S 4 ϕ 2 ) z 4 ]
and
P 4 = 1 2 [ 4 k 4 + k 3 2 k 3 k 3 2 ]
Its time derivative along the solution of (34) yields the following results:
V ˙ 4 ( x ) = 1 2 | S | β X 4 T Q 4 X 4
where k3 and k4 are positive and Q 4 = k 4 2 [ 2 k 4 + k 3 2 k 3 k 3 1 ] .
In this case, if the controller gains k3 and k4 are positive, then Q 4 > 0 .
The controller u2 fits the Lyapunov stability condition, as demonstrated by (38), ensuring that the error convergence is zero in the limited time. This controller guarantees that the battery is effectively managed and that the DCMG operates consistently under different load situations.
V ˙ 4 ( x ) 0

5.4. Control Law Design for Supercapacitor

We must design a control law u3 to control the dynamics IL3 to ensure that the supercapacitor charges and discharges as required. It is developed using a sliding-mode technique. From system (1),
{ d x 6 d t = 1 L 3 x 5 [ ( R 05 R 06 ) u 3 + R 06 ] L 3 x 6 ( 1 u 3 ) L 3 x 7
To track the state x6 to its referencevalue x6ref, we establish the following error term for the controller’s design:
e 6 = x 6 x 6 r e f
To develop an SMC, an SF was chosen that allows the system to reach the SF and achieve the required desired value. Since the current supercapacitor subsystem’s state space model has only one control law input u3, the SF has been defined as follows:
S 6 = a 6 ( x 6 x 6 r e f ) = a 6 e 6
where a3 is a positive constant for the SF design parameter. We derive the time of Equation (41), obtaining
S ˙ 6 = a 6 ( x ˙ 6 x ˙ 6 r e f ) = a 6 e ˙ 6
Equation (40)s’ time derivative provides the following equation:
e ˙ 6 = x ˙ 6 x ˙ 6 r e f
Substituting the value of x ˙ 6 from Equation (39) into Equation (43) yields
e ˙ 6 = 1 L 3 x 5 [ ( R 05 R 06 ) u 3 + R 06 ] L 3 x 6 ( 1 u 3 ) L 3 x 7 x ˙ 6 r e f
Substituting e ˙ 6 from Equation (44) into Equation (42) yields
S ˙ 6 = a 6 [ 1 L 3 x 3 [ ( R 05 R 06 ) u 3 + R 06 ] L 3 x 4 ( 1 u 3 ) L 3 x 7 x ˙ 6 r e f ]
The control law u3 was selected in a manner that achieves global asymptotic stability, as indicated below:
u3= uSC3+ uNC3
where uSC3 denotes the switching control that keeps the track on the SF and uNC1 denotes the nominal control that brings the trajectory state to the SF. Using S ˙ 6 = 0 to obtain the value of uNC3 yields
u N C 3 = a 6 L 3 ( R 05 R 06 ) x 6 x 7 [ 1 L 3 x 5 1 L 3 x 7 R 06 L 3 x 6 x ˙ 6 r e f ]
and
u S C 3 = L 3 ( R 05 R 06 ) x 6 + x 7 [ k 5 | S 6 | δ s g n ( S 4 ϕ 3 ) k 6 s g n ( S 6 ϕ 3 ) d t ]
In Equations (47) and (48), the condition (always met in practice) ( R 05 R 06 ) x 6 + x 7 0 , δ is a constant ranging from 0 to 1 that converges the subsystem (39) to the SF, ϕ 3 is the degree of nonlinearity used to prevent chattering, and k1 and k2 are gains (positive) that are used to modify the control law u3. Substituting the value of u3 in (46), (47), and (48) results in the following:
S ˙ 6 = k 5 | S 6 | δ s g n ( S 6 ϕ 3 ) k 6 s g n ( S 6 ϕ 3 ) d t
For stability analysis, rearrange (49) as follows:
S ˙ 6 = w 6 + z 6 S ˙ 6 = w 6 + z 6
where w 6 = k 6 | S 6 | δ s g n ( S 6 ϕ 3 ) and z ˙ 6 = k 6 s g n ( S 6 ϕ 3 ) .
To evaluate the system’s stability, the following Lyapunov candidate function was used:
V 6 ( x ) = 2 k 6 | S 6 | + 1 2 z 6 2 + 1 2 ( k 5 | S 6 | δ s g n ( S 6 ϕ 3 ) z 6 ) 2
The Lyapunov function in (51) has a quadratic form V 6 ( x ) = X 6 T P 6 X 6 ,where
X 6 T = [ | S 6 | δ s g n ( S 6 ϕ 3 ) z 6 ]
and
P 6 = 1 2 [ 4 k 6 + k 5 2 k 5 k 5 2 ]
Its time derivative along the solution of (51) yields the following results:
V ˙ 6 ( x ) = 1 2 | S | δ X 6 T Q 6 X 6
where k5 and k6 are positive and Q 6 = k 6 2 [ 2 k 6 + k 5 2 k 5 k 5 1 ] .
In (54), P6 is a positive definite matrix with positive k5 and k6 values. By carrying out the Lyapunov function stability analysis as described in the preceding paragraph, it is possible to deduce that the control law u3 renders the subsystem (39) asymptotically stable, as demonstrated by (55). These controllers guarantee that the supercapacitor is effectively managed and that the DCMG operate consistently under different load situations.
V ˙ 6 ( x ) 0

6. Interconnected System Stability Analysis

In the previous section, we designed the decentralized nonlinear controllers based on the sliding mode for the controlled variable states x1, x2, x4, x6, and x7, which represent photovoltaic, battery, and supercapacitor energy systems with the FLS-based power management system, which has been proposed for sharing load demands and to stabilize the VDC voltage of the DC bus directly to VDCref.
However, for the uncontrolled variables, VC2 (x3) and VC3 (x5) cannot be directly controlled due to non-minimum phase behavior (zero-dynamics); regulation is only valid when the system is operating near its steady state operating point or in a neighborhood of equilibrium.
Let us now shift our consideration to the internal dynamics (zero-dynamics). The zero-dynamics equations of DCMG-system (1) may be rewritten as follows:
{ d x 3 d t = 1 R 2 C 2 x 3 1 C 2 x 4 + 1 R 2 C 2 V B A T d x 5 d t = 1 R 3 C 3 x 5 1 C 3 x 6 + 1 R 3 C 3 V S C
The equilibrium V C 2 e ( x 3 e ) and V C 3 e ( x 5 e ) can be yielded by computing the nonlinear system of Equation (56) ( d x 3 d t = 0 d x 5 d t = 0 ) as follows:
{ 0 = 1 R 2 C 2 x 3 1 C 2 x 4 r e f + 1 R 2 C 2 V B A T 0 = 1 R 3 C 3 x 5 1 C 3 x 6 r e f + 1 R 3 C 3 V S C
In fact, a direct calculation gives
{ x 3 e = R 2 C 2 [ 1 C 2 x 4 r e f + 1 R 2 C 2 V B A T ] x 5 e = R 3 C 3 [ 1 C 3 x 6 r e f + 1 R 3 C 3 V S C ]
As a result, a distinct equilibrium x e = [ x 1 r e f x 2 r e f x 3 e x 4 r e f x 5 e x 1 r e f x 1 r e f ] T of system (1) may be found. The errors e3 and e5 are defined as follows:
{ e 3 = ( x 3 x 3 e ) e 5 = ( x 5 x 5 e )
The following Lyapunov function V 3 , 5 ( x ) is proposed:
V 3 , 5 ( x ) = e 3 T P 3 e 3 + e 5 T P 5 e 5
where P 3 = R 2 C 2 2 [ 1 0 0 0 ] and P 5 = R 3 C 3 2 [ 1 0 0 0 ] .
Its time derivative yields the following results:
V ˙ 3 , 5 ( x ) = e 3 2 e 5 2
The Lyapunov function’s derivative V ˙ 3 , 5 ( x ) is negative definite, ensuring the zero dynamics’ exponential stability.
These partial conclusions may now be grouped together in the following theorem, which establishes the total stability characteristic.
Theorem 1. 
Considering the DCMG system (1) and the equilibrium points that it has established, x e = [ x 1 r e f x 2 r e f x 3 e x 4 r e f x 5 e x 1 r e f x 1 r e f ] T , assuming that the following conditions are met each time:
{ ( R 01 R 02 ) x 2 x 7 0 ( R 03 R 04 ) x 4 x 7 0 ( R 05 R 06 ) x 6 x 7 0
Proof of Theorem 1. 
If control laws u1, u2, and u3, provided by (12), (29), and (46), hold conditions (62), then there exist the design parameters α , β , δ , the positive gains k 1 , k 2 , k 3 , k 4 , k 5 , k 6 , and the degree of nonlinearity used to prevent chattering ϕ 1 , ϕ 2 , ϕ 3 ; as a result, the closed-loop DCMG-system (1) is exponentially stable. □
Finally, we may define the creative Lyapunov function for the total DCMG system (1) V 1 , 2 , 3 , 4 , 5 , 6 , 7 ( x ) = V 1 , 2 ( x ) + V 3 , 5 ( x ) + V 4 ( x ) + V 6 ( x ) + V 7 ( x ) as follows:
V 1 , 2 , 3 , 4 , 5 , 6 , 7 ( x ) = 2 k 2 | S 2 | + 1 2 z 2 2 + 1 2 ( k 1 | S 2 | α s g n ( S 2 ϕ 1 ) z 2 ) 2 + R 1 2 e 1 2 + 2 k 4 | S 4 | + 1 2 z 4 2 + 1 2 ( k 3 | S 4 | β s g n ( S 4 ϕ 2 ) z 4 ) 2 + R 2 C 2 2 e 3 2 + R 3 C 3 2 e 5 2 2 k 6 | S 6 | + 1 2 z 6 2 + 1 2 ( k 5 | S 6 | δ s g n ( S 6 ϕ 3 ) z 6 ) 2 + 1 2 e 7 2
Its time derivative is then
V ˙ 1 , 2 , 3 , 4 , 5 , 6 , 7 ( x ) = 1 2 | S | α X 1 , 2 T Q 1 , 2 X 1 , 2 1 2 | S | β X 4 T Q 4 X 4 1 2 | S | δ X 6 T Q 6 X 6 e 3 2 e 5 2 e 7 2

7. Simulations Results

The DCMG was created with the SimPowerSystem toolbox from Matlab/Simulink. Table 5 shows the parameters that have been utilized in the DCMG. The DC-bus is modeled in this simulation as a capacitor; the intended voltage on the DC-bus is VDCref = 40 V and the switching frequency is 100 kHz. The PV generator is constituted by two modules in series; the number of cells per module is sixty and there are four parallel connected strings. The voltage in open-circuit VOC = 363 V, current in short-circuit IOC = 8 A, voltage at the maximum power point Vmpp = 17 V, current at the maximum power point Impp = 7.1 A, and the power in the maximum point per module Pmp =120.7 W.
The suggested supercapacitor bank has a total capacitance of 29 F and a rated voltage of 32 V. The battery is an Li-ion battery with a 24 V nominal voltage. The maximum charge current is 17.5 A, while the maximum discharge current is 30 A. The current capacity is 14 Ah.
The major aim is to show that the suggested control approach performs effectively in circumstances of variable solar irradiation and load fluctuations. It is planned that the voltage of the DC-bus will be regulated with a subsystem battery and subsystem SC in such a way that the SC will rapidly provide the elements of the needed DC-bus voltage compensated current, while the subsystem battery device will provide the slow variable components.
The gains utilized in the simulated nonlinear controllers are as follows: a 2 = 0.1 ,   a 4 = 0.45 ,   a 6 = 0.13 ,   α = 0.2 ,   β = 0.5 ,   δ = 0.2 ,   k 1 = 960 ,   k 2 = 1000 ,   k 3 = 900 ,   k 4 = 1000 k 5 = 750 ,   k 6 = 900 ,   ϕ 1 = 0.6 ,   ϕ 2 = 0.9 , and ϕ 3 = 0.8 . To validate the effectiveness of the solar energy subsystem, the suggested controller (12) has been simulated. Figure 9 depicts the power generated by the PV subsystem in relation to the desired voltage VC1ref determined from the MPPT algorithm, which assures the maximum power from the solar energy subsystem under variable environmental circumstances.
To create the battery and SC reference currents (IL2ref and IL3ref), as well as the energy management system, the fuzzy logic system was applied. Figure 10 shows the varying DC load current used for the controllers. The suggested controllers in Equations (29) and (46) have also been tested to ensure that the battery current IL2 and SC current IL3 are tracked under load demands and are high.
Figure 11 and Figure 12 show how the proposed controllers track the battery and SC current. The discontinuous structure of the PV subsystem energy, along with the load changes, cause the rapid variations in the battery reference current. The load need reduces from t = 10 until t = 14 s, but the intermittent power provided by the PV subsystem also declines, thus the battery and SC satisfy the load requirement.
Figure 13 shows that the suggested controllers meet the goal of DC-bus voltage management with peak overshoot and less misses, resulting in the greatest power contribution from the PV system, battery, and SC. It is possible to evaluate the DC-bus voltage tracked to its desired value without overrun.
Figure 11 shows one of the overshoots during t = 6 s with a maximum voltage at 40.5 V, yet it is within the allowed range of values, since the voltage of the DC-bus has been monitored at all times. The overshoot and misses of the target are caused by variations in the load demand and produced power.

8. Conclusions

This research study proposed a renewable energy source consisting of photovoltaic (PV) panels, a battery, and a supercapacitor (SC), combined with a DC bus. Sliding-mode controllers were employed to manage the power sources, allowing them to operate at their maximum power point tracking (MPPT) capacity, while maintaining the power balance between the PV and the energy storage system (ESS). To balance the load and generation, a fuzzy logic-based energy management system was developed. Using a neural network, the maximum power points for the PV were determined. The proposed control technique allows for power management between the battery, SC, and PV to meet the load requirements. Lyapunov analysis was used to confirm the global asymptotic stability of the DC microgrid (DCMG) system. To validate the performance of the proposed framework, the SMC and FLS-based energy management system was simulated. Numerical simulations of the DC microgrid with the suggested controllers demonstrated excellent dynamic performance under various operating conditions caused by significant random changes in power generation and consumption. In the future, this work could be extended to include an AC-DC microgrid, and wind sources could be integrated into the microgrid.

Author Contributions

Conceptualization, K.J., M.J., A.M., A.J.B. and W.B.; Methodology, K.J., M.J., A.M., A.J.B. and W.B.; Software, K.J. and W.B.; Validation, K.J., M.J., A.J.B. and W.B.; Formal analysis, K.J., M.J., A.M., A.J.B. and W.B.; Investigation, K.J., M.J. and W.B.; Resources, K.J., A.M. and A.J.B.; Data curation, K.J. and A.M.; Writing—original draft, K.J. and M.J.; Writing—review & editing, A.M., A.J.B. and W.B.; Supervision, W.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Taif University, Taif, Saudi Arabia (TU-DSPP-2024-70).

Data Availability Statement

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

Acknowledgments

This research was funded by Taif University, Saudi Arabia, Project No (TU- DSPP-2024-70).

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

DGDistributed Generation
RESEnergy Renewable Source
ESSSystem Energy Storage
SoCState of Charge
SMCSliding-ModeController
SFSliding Surface
SESolar Energy
DCDirect Current
ACAlternating Current
MGMicrogrid
DCMGDirect Current Microgrid
MPPTMaximum Power Point Tracking
SCSupercapacitor
PWMPulse Width Modulation
PVPhotovoltaic
PIProportional Integral
FLSFuzzy Logic System
PWMPulse Width Modulation
ANNArtificial Neural Network

References

  1. Zeng, B.; Zhang, J.; Yang, X.; Wang, J.; Dong, J.; Zhang, Y. Integrated planning for transition to low-carbon distribution system with renewable energy generation and demand response. IEEE Trans. Power Syst. 2013, 29, 1153–1165. [Google Scholar] [CrossRef]
  2. Rahbar, K.; Chai, C.C.; Zhang, R. Energy cooperation optimization in microgrids with renewable energy integration. IEEE Trans. Smart Grid. 2016, 9, 1482–1493. [Google Scholar] [CrossRef]
  3. Loh, P.C.; Li, D.; Chai, Y.K.; Blaabjerg, F. Hybrid AC-DC microgrids with energy storages and progressive energy flow tuning. IEEE Trans. Power Electron. 2012, 28, 1533–1543. [Google Scholar] [CrossRef]
  4. Guerrero, J.M.; Chandorkar, M.; Lee, T.L.; Loh, P.C. Advanced control architectures for intelligent microgrids—Part I: Decentralized and hierarchical control. IEEE Trans. Ind. Electron. 2012, 60, 1254–1262. [Google Scholar] [CrossRef]
  5. Khorsandi, A.; Ashourloo, M.; Mokhtari, H.; Iravani, R. Automatic droop control for a low voltage DC microgrid. IET Gener. Transm. Distrib. 2016, 10, 41–47. [Google Scholar] [CrossRef]
  6. Bevrani, H.; Francois, B.; Ise, T. Microgrid Dynamics and Control, 1st ed.; John Wiley and Sons: Hoboken, NJ, USA, 2017. [Google Scholar]
  7. 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]
  8. Liu, J.; Zhang, W.; Rizzoni, G. Robust stability analysis of DC microgrids with constant power loads. IEEE Trans. Power Syst. 2017, 33, 851–860. [Google Scholar] [CrossRef]
  9. Li, X.; Guo, L.; Zhang, S.; Wang, C.; Li, Y.W.; Chen, A. Observer-based DC voltage droop and current feed-forward control of a DC microgrid. IEEE Trans. Smart Grid. 2017, 9, 5207–5216. [Google Scholar] [CrossRef]
  10. Etemadi, A.H.; Davison, E.J.; Iravani, R. A generalized decentralized robust control of islanded microgrids. IEEE Trans. Power Syst. 2014, 29, 3102–3113. [Google Scholar] [CrossRef]
  11. Kumar, M.; Srivastava, S.; Singh, S. Control strategies of a DC microgrid for grid connected and islanded operations. IEEE Trans. Smart Grid. 2015, 6, 1588–1601. [Google Scholar] [CrossRef]
  12. Babazadeh, M.; Karimi, H. A robust two-degree-of-freedom control strategy for an islanded microgrid. IEEE Trans. Power Deliv. 2013, 28, 1339–1347. [Google Scholar] [CrossRef]
  13. Du, Z.; Kao, Y.; Karimi, H.R.; Zhao, X. Interval type-2 fuzzy sampled-data H∞ control for nonlinear unreliable networked control systems. IEEE Trans. Fuzzy Syst. 2019, 28, 1434–1448. [Google Scholar] [CrossRef]
  14. Iovine, A.; Siad, S.B.; Damm, G.D.; Santis, E.; Benedetto, M.D. Nonlinear control of a DC microgrid for the integration of photovoltaic panels. IEEE Trans. Autom. Sci. Eng. 2017, 14, 524–535. [Google Scholar] [CrossRef]
  15. Hassan, M.A.; Li, E.p.; Li, X.T.; Li, C.; Duan, S. Adaptive passivity-based control of dc–dc buck power converter with constant power load in dc microgrid systems. IEEE J. Emerg. Sel. Top Power Electron. 2018, 7, 2029–2040. [Google Scholar] [CrossRef]
  16. Roy, T.K.; Mahmud, M.A.; AMT, O.; Haque, M.E.; Muttaqi, K.M.; Mendis, N. Nonlinear adaptive backstepping controller design for islanded DC microgrids. IEEE Trans. Ind. Appl. 2018, 54, 2857–2873. [Google Scholar] [CrossRef]
  17. Baghaee, H.R.; Mirsalim, M.; Gharehpetian, G.B.; Talebi, H.A. A decentralized power management and sliding mode control strategy for hybrid AC/DC microgrids including renewable energy resources. IEEE Trans. Ind. Inf. 2018, 99, 1–10. [Google Scholar] [CrossRef]
  18. Benchaib, A. Advanced Control of AC/DC Power Networks: System of Systems Approach Based on Spatio-Temporal Scales; Wiley-ISTE: London, UK, 2015. [Google Scholar]
  19. Kundur, P.; Paserba, J.; Ajjarapu, V.; Andersson, G.; Bose, A.; Canizares, C. Definition and classification of power system stability IEEE/CIGRE joint task force on stability terms and definitions. IEEE Trans. Power Syst. 2004, 19, 1387–1401. [Google Scholar]
  20. Siad, S.; Damm, G.; Dol, L.G.; Bernardinis, A. Design and control of a dc grid for railway stations. In Proceedings of the PCIM Europe 2017, International Exhibition and Conference for Power Electronics, Intelligent Motion, Renewable Energy and Energy Management, Nuremberg, Germany, 16–18 May 2017; pp. 1–8. [Google Scholar]
  21. Merdassi, A. Modellisation Automatique pour l’Electronique de Puissance; Editions Universitaires Européennes: Chisinau, Moldova, 2010. [Google Scholar]
  22. Bhatia, R.S.; Singh, B.; Jain, D.K.; Jain, S.P. Battery energy storage system based power conditioner for improved performance of hybrid power generation. In Proceedings of the Joint International Conference on Power System Technology and IEEE Power India Conference, New Delhi, India, 12–15 October 2008; pp. 1–6. [Google Scholar]
  23. Jouili, K.; Adel, M. Nonlinear Lyapunov control of a photovoltaic water pumping system. Energies 2023, 16, 2241. [Google Scholar] [CrossRef]
  24. Tse, C.K.; Bernardo, M.D. Complex behavior in switching power converters. Proc. IEEE. 2002, 90, 768–781. [Google Scholar] [CrossRef]
  25. Jouili, K.; Benhadj Braiek, N. A gradient descent control for output tracking of a class of non-minimum phase nonlinear systems. JART J. Appl. Res. Technol. 2016, 14, 383–395. [Google Scholar] [CrossRef]
  26. Moreno, J.A.; Osorio, M. A Lyapunov approach to second-order sliding mode controllers and observers. In Proceedings of the 2008 47th IEEE Conference on Decision and Control, Cancun, Mexico, 9–11 December 2008; pp. 2856–2861. [Google Scholar]
  27. Jouili, K.; Belhadj, W. Robust stabilization for uncertain non-minimum phase switched nonlinear System under arbitrary switchings. Symmetry 2023, 15, 596. [Google Scholar] [CrossRef]
  28. Jouili, K.; Jerbi, H.; Braiek, B.N. An advanced fuzzy Logic gain scheduling trajectory control for nonlinear systems. JPC J. Process Control 2010, 20, 426–440. [Google Scholar] [CrossRef]
Figure 1. The DCMG system configuration.
Figure 1. The DCMG system configuration.
Energies 17 03345 g001
Figure 2. The circuit of DCMG system.
Figure 2. The circuit of DCMG system.
Energies 17 03345 g002
Figure 3. Block diagram of control strategy.
Figure 3. Block diagram of control strategy.
Energies 17 03345 g003
Figure 4. Matlab ANN architecture proposed for MPPT.
Figure 4. Matlab ANN architecture proposed for MPPT.
Energies 17 03345 g004
Figure 5. Regression plot using for the ANN.
Figure 5. Regression plot using for the ANN.
Energies 17 03345 g005
Figure 6. A block diagram demonstrating the fuzzy logic system.
Figure 6. A block diagram demonstrating the fuzzy logic system.
Energies 17 03345 g006
Figure 7. Inputs of the fuzzy logic system. (a) Membership functions of Idcref, (b) membership functions of IL3ref′, (c) membership functions of SoCba, and (d) membership functions of SoCSC.
Figure 7. Inputs of the fuzzy logic system. (a) Membership functions of Idcref, (b) membership functions of IL3ref′, (c) membership functions of SoCba, and (d) membership functions of SoCSC.
Energies 17 03345 g007aEnergies 17 03345 g007b
Figure 8. Outputs of the fuzzy logic system. (a) Membership functions of IL2ref*, (b) membership functions of IL2ref**, and (c) membership functions of IL3ref*.
Figure 8. Outputs of the fuzzy logic system. (a) Membership functions of IL2ref*, (b) membership functions of IL2ref**, and (c) membership functions of IL3ref*.
Energies 17 03345 g008aEnergies 17 03345 g008b
Figure 9. Evolution of PV power.
Figure 9. Evolution of PV power.
Energies 17 03345 g009
Figure 10. Evolution of the load power.
Figure 10. Evolution of the load power.
Energies 17 03345 g010
Figure 11. Evolution of the battery current (IL2 and IL2ref).
Figure 11. Evolution of the battery current (IL2 and IL2ref).
Energies 17 03345 g011
Figure 12. Evolution of the SC current (IL3 and IL3ref).
Figure 12. Evolution of the SC current (IL3 and IL3ref).
Energies 17 03345 g012
Figure 13. Evolution of the DC bus voltage (VDC and VDCref).
Figure 13. Evolution of the DC bus voltage (VDC and VDCref).
Energies 17 03345 g013
Table 1. A comparison of the VC1ref’s trained and simulated values.
Table 1. A comparison of the VC1ref’s trained and simulated values.
G (w/m2)T(°C)VC1ref(V)
TrainedSimulated Value
64021294.2523293.385
70026287.681286.163
50031.6280.308281.629
90037.4272.673270.944
100042266.610266.713
85536274.654273.496
74033278.496278.911
61530282.472281.911
51527.2286.177287.385
44525289.085288.219
Table 2. Rules of the current IL2ref*.
Table 2. Rules of the current IL2ref*.
SoCba
LowMediumHigh
IdcrefNPPN
PNPP
Table 3. Rules of the current IL2ref**.
Table 3. Rules of the current IL2ref**.
SoCsc
LowMediumHigh
IdcrefNPPN
PNPP
Table 4. Rules of the current IL3ref*.
Table 4. Rules of the current IL3ref*.
SoCsc
LowMediumHigh
IdcrefNPPN
PNPP
Table 5. The simulated DCMG parameters.
Table 5. The simulated DCMG parameters.
R02,R04,R0645 mΩ
R01,R03,R0544 mΩ
R1,R2,R314 mΩ
C1,C2,C34700 μF
CDC1500 μF
L1,L2,L3100 μH
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

Jouili, K.; Jouili, M.; Mohammad, A.; Babqi, A.J.; Belhadj, W. Neural Network Energy Management-Based Nonlinear Control of a DC Micro-Grid with Integrating Renewable Energies. Energies 2024, 17, 3345. https://doi.org/10.3390/en17133345

AMA Style

Jouili K, Jouili M, Mohammad A, Babqi AJ, Belhadj W. Neural Network Energy Management-Based Nonlinear Control of a DC Micro-Grid with Integrating Renewable Energies. Energies. 2024; 17(13):3345. https://doi.org/10.3390/en17133345

Chicago/Turabian Style

Jouili, Khalil, Mabrouk Jouili, Alsharef Mohammad, Abdulrahman J. Babqi, and Walid Belhadj. 2024. "Neural Network Energy Management-Based Nonlinear Control of a DC Micro-Grid with Integrating Renewable Energies" Energies 17, no. 13: 3345. https://doi.org/10.3390/en17133345

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