1. Introduction
Renewable energy sources such as solar panels, wind energy, and battery energy storage emerged as feasible options for decreasing carbon emissions and slowing global warming, with the revelation of large and catastrophic global warming consequences on our world [
1,
2,
3,
4,
5,
6]. Solar energy is the most suitable renewable energy for use in buildings. For the integration of renewable solar systems in historic structures and conservation zones, the authors in [
7] assessed the risk–benefit strategy specified in EN-16883:2017 [
8]. By deleting unsuccessful criteria and adding new, broadly recognized criteria, the standard technique was adapted for solar RES systems. The proposed assessment scale ranges from high risk to high benefit. They covered everything from technical compatibility, to heritage significance of the building and its surroundings, to energy and indoor environmental quality, to impact on the outdoors and usage standards. The proposed assessment scale evaluates renewable energy systems in a different way. The results of this assessment are meant to foster conversation among members of the multidisciplinary team assessing RES solutions, allowing them to explore issues from a variety of angles.
Renewable energy’s main drawbacks are its variable conditions, geographical availability, and cost, with harmonics in the voltage supplied by the converter posing the most major issue in these applications. Regulating the DC-link voltage stability within the power conversion system is another common difficulty encountered when integrating such variable generation with the utility grid [
9,
10]. As a result, poor DC-link voltage regulation can lead to system instability and lower PV system efficiency, which can be linked to the PV control systems’ weak dynamics in comparison to the transient time from disturbances [
11,
12].
A PWM inverter for AC drive is a type of power converter that converts DC-link voltage to AC voltage. The capacitor on the DC-link of the PWM inverter works as an energy buffer, stabilizing and maintaining the DC-link voltage almost at constant. As a result, electrolytic capacitors with a high capacitance-to-volume ratio are typically utilized as DC-link capacitors. However, the huge volume of the electrolytic capacitor in the DC-link affects the inverter’s reliability due to its short life expectancy. Additionally, when three-phase passive rectifiers (such as three-phase diode rectifiers) are employed, high DC-link capacitance results in total harmonic distortion (THD) of the input power supply current. As a result, significant effort has been made to phase out electrolytic capacitors in favor of small film capacitors due its longer lifetime [
13,
14]. However, if the source inductance is excessive in comparison to the DC-link capacitance, the inverter’s DC-link voltage may be unstable, leading in an overvoltage or undervoltage fault, therefore, the aim of this paper is to find an effective solution to minimize the power loss in PV generation due to reduction in the DC-link capacitor size.
In [
15], a locus line-based maximum power point tracking (MPPT) management method is described for compensating for the power loss associated with the usage of small DC-link capacitors. In [
16], a high-frequency capacitive ac-bus in a photovoltaic inverter is used to apply the small film capacitors. Additionally, [
17] investigated the use of lower film capacitors in the DC-link to send power from an ac-ac converter’s input to its output. In [
18], the photovoltaic (PV) generator’s dynamic resistance is evaluated and instabilities in the right-half plane (RHP) poles of the DC-link voltage control loop are searched for. In both single-stage and two-stage systems, stable behavior is expected, even more so with reduced DC-link capacitance. A similar conclusion was found in [
19], which included additional research on the smallest required DC-link capacitance for system stability. The current investigation indicates that when the solar PV system works in the constant current region (CCR), the dynamic stability of the DC-link voltage control system may be compromised. This influence is mitigated when the solar PV system works at its constant voltage region (CVR) or maximum power point (MPP). In [
20], photovoltaic generators equipped with current mode regulated DC boost converters are examined. A strong control mechanism for adjusting the terminal voltage is offered due to the interplay between photovoltaic dynamic resistance and DC-link capacitance. In [
21], a unique, yet highly efficient compensator for dealing with the dynamic instability caused by changing operating conditions is proposed, especially when the DC-link capacitance is reduced. In [
22], a lower capacitor (100
F) on the DC-link is employed to increase the dynamic performance by incorporating an input power feed-forward with FIR digital notch filter for the microinverter. The impact of fast changes in solar irradiation on the performance of photovoltaic systems due to reduce the DC-link capacitor are not evaluated or discussed in the majority of MPPT algorithms published in the literature. Therefore, this paper takes this problem into account. In [
23,
24], the effect of grid frequency oscillations on synchronous machines linked to masses with significant moments of inertia is investigated, as well as the maximum permitted value of a moment of inertia on the shaft of a synchronous machine when the grid frequency oscillates. However, it does not take into account the effects of other system components, such as frequency, voltage, and power regulators.
Sliding-mode control (SMC) and droop approaches are employed to construct controllers in [
25,
26]. When operational points are allowed to operate at voltage levels above the linearization point, the adopted small-signal models, on the other hand, are unable to satisfy global stability standards. In [
27], a feedback linearization technique based on Lyapunov stability theory is offered for addressing the effect of constant-power loads (CPLs) on global stability in a DC microgrid without taking into account real-world uncertainties. As a result, the robustness of the control system is compromised. Michele [
28] and Satish et al. [
29] extensively explore and apply higher order sliding model control (HOSMC) to MG. This method can help prevent chattering and allow flexible structural control when processing big signals. However, determining the uncertain boundary and minimizing the control system’s reliance on the model is difficult, limiting the engineering application of this strategy. To ensure control system stability during load and source variations, a sliding-mode control approach based on a washout filter with hysteresis band (HB) is devised [
30,
31]. The downsides of this approach include a changeable switching frequency and a high noise sensitivity. To maintain the MG’s stability and dynamic performance, Su et al. [
32] use adaptive total sliding-mode control (ATSMC). The benefits of SMC in design, as well as its robustness to parameter uncertainty and external disturbances, are clearly demonstrated.
The primary problem in a DC microgrid is to maintain a narrow voltage range on the shared DC-link. As a result, a correct power management strategy [
33] between generated and used power levels should be devised. This in turn will assure the microgrid’s voltage management and stability of operation. Various control mechanisms are used to accomplish this. Control techniques in the microgrid are primarily aimed at ensuring that (i) new DGs and distributed storage systems (DSSs) can be added or removed without affecting the system; (ii) that variation in the common DC-link voltage is regulated; (iii) that proper power balancing within the microgrid is ensured; and (iv) that stable current sharing between parallel converters is enabled. The two primary control strategies utilized in DC microgrids are centralized control and autonomous distributed control [
34]. Centralization of control necessitates communication between all elements and a central controller. However, it reduces system reliability in the event of a communication delay or loss. Additionally, system expandability is harmed, as the inclusion of any additional element increases the controller’s complexity. While an autonomous distributed control method [
35] should ensure that the system continues to operate well in a range of operating modes without requiring communication between distributed controllers. DC bus signaling (DBS) [
36] is an autonomous control approach in which bus voltage is used to determine the DC microgrid’s power balance. Despite the fact that it performs satisfactorily, the reference voltage is maintained constant in all modes of operation. As a result, the DSMCs approach is used in our work to manage the DC-link voltage. It operates more efficiently when multiple micro sources are connected in simultaneously. In this method, all photovoltaic boost converters are controlled by the same command to manage the DC-link voltage in the absence of a storage element. This concept is unique to this work. Every potential condition of the system has been considered. To adapt to changing system operating conditions, each converter alternates between multiple operating modes based on the terminal voltage’s divergence from the nominal value and its power rating limit.
This article discusses a novel technique for enhancing electricity quality. The primary contribution of this work is the invention and implementation of a photovoltaic/battery energy storage (PV/BES) that provides uninterruptible power supply for local nonlinear loads operating in multimode mode. DSMCs implements MPPT control based on P&O in order to maximize the output of the solar array. Thus, instead of employing a conventional PI controller, DSMCs technology is used to manage and stabilize the DC-link voltage, boost overall system performance, and improve power quality by reducing harmonics in load current. Additionally, all photovoltaic boost converters that do not include storage components are regulated by the similar command used to adjust the DC-link voltage. This is a unique concept that is only used in this paper. Every possible system state has been taken into consideration.
The main advantages of this work are as follows.
New direct sliding mode controllers (DSMCS) with P&O algorithm are proposed in this study for DC-link voltage stability, which removes the effects of lower DC-link capacitor as well as enhances the photovoltaic system’s dynamic performance
The PV/BES is implemented with a BES backup, with a DC-DC bidirectional converter controlling the charging and discharging of the BES (BDC). The BDC with DSMCs eliminated the chance of the BES being overcharged or discharged and improve the dynamic performance of the entire system.
Presented a novel technique for controlling various parts of the system that assists in regulating the DC-link voltage in the presence of abrupt load variations and keeps the system operational even when batteries are not available. Additionally, it secures the batteries by only utilizing them when necessary, extending the life of the installation and The BDC with DSMCs was employed to eliminate the possibility of overcharging or discharging the BES. The load profile for the simulation is selected to replicate the many transitions between modes. Extreme weather and load variations put the system to the test. The results demonstrate the effectiveness of the proposed control.
The supply and load sides of a single system are used to combine the functions of solar power generation and power quality improvement. As a result, this system has a higher utilization rate than a traditional solar grid-connected system.
Evaluated the proposed DSMC utilized MATLAB/Simulink and Hardware-In-the-Loop experiment on the MT real-time control platform NI PXIE-1071.
This paper is organized as follows:
Section 2 represents the configuration and operation of the grid-connected hybrid PV/BES system.
Section 3 and
Section 4 address the DC-link capacitor reduced effects and proposed direct sliding mode control (DSMCs) technique, respectively.
Section 5 addresses the performance discussion of DSMCs, comparing it with the PI controller. While
Section 6 and
Section 7 present the MATLAB/Simulink results and Hardware-In-the-Loop experiment on the MT real-time control platform NI PXIE-1071, respectively.
Section 8 presents the conclusion.
3. DC-Link Capacitor Reduced Effects
In grid-connected and stand-alone photovoltaic (PV) systems, the DC-link capacitor is the most significant passive component. To smooth DC-link voltage, traditional designs used a set of electrolytic bulk capacitors. A single low-inductance high-frequency film capacitor could be used to replace the electrolytic capacitors, according to a DC-link voltage and current ripple analysis. (1) Size reduction, (2) cost reduction, and (3) reliability enhancement are all significant outcomes. The complete photovoltaic (PV) and inverter can then be incorporated into a grid-connected system using the proposed high power film capacitor, reducing a significant quantity of wires and their associated costs and losses. However, in a high-power grid-connected system, this DC-link capacitor must deal with the following issues: (1) DC-link voltage fluctuation, (2) ripple current due to inverter switching, and (3) overall system dynamic performance concern. As seen in the
Figure 2, when a large capacitor is utilized, the DC-link and PV terminal voltages are constant DC, as seen in the waveforms at the bottom of
Figure 2. In addition, when a capacitor system is lowered, the DC-link voltage ripples at 120 Hz, resulting in a 120 Hz ripple in the PV terminal voltage and a 180 Hz component in the inverter output voltage, as illustrated in the waveforms at the top of
Figure 2.
Due to the above-mentioned difficulties due to a reduced DC-link capacitor, the BES was required to adjust the DC-link overvoltage and undervoltage. Linking the batteries straightly to the DC-link stabilizes the system, but it has a significant impact on the battery life. Furthermore, because multiple batteries must be linked in series when the DC-link is set at a high voltage, this structure may generate an unbalance if one of the components is feebler than the rest. As a result, installing a bidirectional buck-boost converter between the batteries and the DC-link allows the system to be more versatile, but also makes voltage regulation difficult. Traditional PID controllers are not robust, and they operate poorly when substantial parameter fluctuations and load disturbances occur. In our system we proposed the direct sliding mode control (DSMCs) to control the bidirectional converter of the battery, to regulate the DC-link voltage to work at its reference voltage, and suppressed the output current ripples as well as control the AC-bus via DC-link voltage, because the ac-bus is greatly reliant on the DC-link voltage. DSMCs is a controller for the various components of the system that aids to adjust the DC-link voltage in contradiction of sudden load variations and maintains the system running even when batteries are not there. It also makes use of DC-DC step-up converters to increase the PV system’s dynamic performance. It protects the batteries by only utilizing them when they are needed, extending the installation’s lifetime.
5. Performance Discussion
The dynamic resistance of a single-stage grid-connected system voltage source control (VSC) with a low DC-link capacitance was investigated in [
17]. The conventional single-stage model, on the other hand, is insufficient because it only contains three states. Furthermore, the step-up transformer, direct current cables, grid stiffness, phase-locked loop (PLL), and AC voltage regulation dynamics are not included in the dynamic model. Furthermore, no solution or mitigation strategy has been offered to improve the single-stage system’s stability and permit the integration of solar generators with lower DC-link capacitance.
DSMCs is used in this work because its changeable structure corresponds to the characteristics of the converter. The switching frequency variation and chattering phenomena, on the other hand, are two significant properties of DSMCs. The DSMCs and P&O can be used to successfully solve the chattering problem. There are two techniques for concurrently overcoming the flaws of variable switching frequency and taking use of DSMCs. To fix switching frequency, one option is to install an additional hardware circuit. Obviously, this method will increase system costs and is incompatible with distributed generators and loads’ scalability and plug-and-play capabilities in DC microgrid. Alternatively, DSMCs can be combined with other methods of control.
In this work, the proposed converter allows the use of small DC-link capacitors in stand-alone PV/BES systems; therefore, using a thin film capacitor instead of an electrolytic capacitor can improve the reliability of the system. The converter also realizes low-frequency ripple free maximum power point tracking (MPPT) based on sliding mode control. Firstly, a DC-link voltage synchronization control is devised to mitigate the effect of capacitance decrease. Then, a thorough design of a power mitigation control is proposed that is based on the DSMC-BDC dynamic model to prevent the DC-link from propagating substantial low-frequency voltage changes to the photovoltaic side. In addition, a new P&O-DSMC- algorithm is suggested, which not only ensures the high efficiency of MPPT, but also ensures the fast maximum power extraction under rapid irradiation and load changes.
A bidirectional buck-boost converter is connected to the DC-link, and an DSMCs control technique is created such that the buck-boost converter may bypass the harmonic current instantly, preventing harmonic current from flowing into the DC-link capacitor and load. The voltage ripples can be significantly decreased since the harmonic current is bypassed instantly. To filter out the high-frequency switching harmonics created by the extra current compensator, only a film capacitor is required in general. The voltage ripples problem is then transformed into instantaneous current tracking. Because of the well-known repetitive control approach DSMC’s great performance in tracking periodic signals, a repetitive controller for instantaneous harmonic current compensation with a set switching frequency has been devised. Although the proposed technology is intended for rectifiers, it can easily be applied to inverters and fuel cell and battery-powered devices.
Finally, it can be concluded that employing thin film capacitors at the DC-link with a standard PI controller is unfeasible. DSMCs filter is used in the bus control system to prevent double frequency ripples from propagating to the output current control system, lowering the THD of the output current. DSMCs is suggested in this study to reduce dc-link voltage overshoot and undershoot. As a result, as compared to the traditional way of employing a PI controller, this method helps reduce overshoot, undershoot, and THD values.
6. Simulation Results and Discussions
The integration of the PV and battery connected system is simulated in MATLAB/Simulink using Simscape power systems toolbox, which estimate the performance of the control strategy upon the proposed grid-tied PV solar system connected to battery storage system.
6.1. Four Operation Modes Can Be Distinguished Based on the Generated Power and Load Demand
6.1.1. Battery Discharging with a Lack of Energy
Batteries are used to bridge the gap or supply the entire load during off-peak hours, when solar energy output is much less than the local load requirement. By regulating the power flowing from the BES, the battery’s BDC adjusts the DC-link voltage. The battery bank’s voltage (48 V) is increased to match that of the DC-link (200 V). All solar photovoltaic step-up converters employ maximum power point tracking method. An inverter is designed to power only AC current loads.
6.1.2. Battery Charging with the Surplus of Energy
Excess photovoltaic electricity is used to charge the battery when it exceeds local load requirements. In this way, the battery BDC controls the DC-link voltage. The DC-link voltage lowers to the BES voltage. In photovoltaic arrays, all DC step-up converters track MPP. The inverter powers AC loads.
6.1.3. The Absence of Batteries with Lack of Energy
All loads are disconnected once the batteries have been discharged. After the PV generator has charged the batteries to a specific level, the loads can be reconnected. The battery bidirectional converter controls the power flow from or to batteries in both cases, regulating the DC-link voltage. MPPT is compatible with all PV arrays converters. This mode can be considering with mode two.
6.1.4. The Absence of Batteries with Surplus of Energy
When the BES is entirely charged, the bidirectional DC-DC converter on the battery is unable to protect it from overcharging. No MPPT step-up converters can operate in this mode because the solar generator’s maximum power output exceeds the local load demand. In reality, DC-link regulation is the responsibility of a single regulator. The goal of shifting to DC-link regulation for all boost converters is to minimize duty cycle variations while maintaining high boost converter efficiency.
6.2. The Load Variation Scenario with Radiations Changes
In this section the control strategy was tested under load variations, as seen in
Figure 9a, and all the PV systems had different solar radiation conditions: first module—1000 W/m
2, second module—800 W/m
2, third module—600 W/m
2, as seen in
Figure 1.
The power, current, and voltage variations of various components of the system throughout the simulation period are depicted in the following curves. The curves were divided into ten patches, which were used to make the results easier to read and understand the alternates between mode. Mode one has five patches, which are [(0 s–0.009094 s), (0.020448 s–0.0312 s), (0.12 s–0.124454 s), (0.142 s–0.157082 s), and (0.17082 s–0.1843 s)]; modes two and three have four patches, which are [(0.009094 s–0.020448 s), (0.124454 s–0.142 s), (0.157082 s–0.17082 s), and (0.1843 s–0.3 s)]; and mode four has one patch, which is (0.0312–0.12). It is worth noting that mode three can occur through mode two, as it depicts a serious circumstance in mode two. Additionally, the ten patches are given below: (, , , , , , , , , , ).
6.2.1. PI Controller
With this method, the PI controller is modeled with a small capacitor (10 µF) for the DC-link and a high sample rate of the DC-link controller.
Figure 10 shows the reactions when the DC-link capacitor is 10 µF. In this circumstance, the gains of the PI controller are selected to be
p = 0.06 and I = 1.3. In addition, the DC-link voltage overshoots and the overshoots are 0.75 and 2.2 V, respectively.
6.2.2. DSMC Techniques
The DSMCs controller is modeled with a small capacitor (10 µF) for the DC-link and a high sampling rate for the DC-link controller.
Figure 10 shows the reactions for the case that the DC-link capacitor is 10 µF. In this circumstance, the DSMCs controller reacts well by regulating the intermediate circuit voltage better than the PI controller. In addition, the overshoots of the DC-link voltage are 0.2 and 0.3 V, respectively.
The load pattern used to examine the control strategy’s robustness is shown in
Figure 9a. The pattern is designed to demonstrate all probable switches between modes. The AC load begins at time (0.015 s), as seen in
Figure 9b,c, and the load current curve is seen in
Figure 9a. When we look at the AC amounts, such as current and voltage, we can see that the AC-bus is completely reliant on the DC-link, which performs admirably. The photovoltaic system considers all AC and DC loads to be a single load or disturbance.
Due to the lack of load at the begin, the PV arrays charge the batteries until approximately time equal to (0.01 s mode two). Each MPPT-enabled photovoltaic array controller begins by identifying the MPP of the PV arrays. When they get the MPP, they preserve the maximum rate of power generation. As illustrated in
Figure 1, photovoltaic arrays are visible to a range of radiations, which has a direct effect on their maximum power output. The maximum power, voltage, and current are generated by the first photovoltaic array depicted in
Figure 11, the second photovoltaic array and the third photovoltaic array have similar curves but distinct values.
Because the whole amount of energy generated is used to charge the batteries, as demonstrated in
Figure 12, the BES controller runs in step-down mode, guaranteeing that the DC-link voltage remains constant, as illustrated in
Figure 10, which reflects the desired voltage to be regulated. All observable peaks in the DC-link voltage curve are the result of abrupt switching of one or more power supplies or DC/AC loads.
At approximately t = 0.01 s, the system moves to mode one, resulting in an unexpectedly large current demand, as illustrated in
Figure 9a. Due to the fact that the solar energy generated is insufficient to meet the local load requirement, the batteries are used to compensate, and the BES converter switches from step-down to step-up mode, as depicted in
Figure 12. As is readily apparent, the battery boost controller’s dynamic response to variations in load power is extremely fast at the moment, with only a (0.5 V) (0.25%) shift in the DC-link voltage. The photovoltaic system converters continue to operate using MPPT. We observe that the abrupt increase in local load has no influence on the controllers of any photovoltaic arrays.
When the time gets to 0.02 s, the load demand rapidly falls below the amount of PV energy produced, and the system switches to mode two. Excess energy is used to refuel the batteries. When the load changes abruptly, as seen in
Figure 12, the BES back regulator exhibits a great and unusually fast dynamic behavior in the DC-link voltage. We see a variation of only (0.2 V) (0.1%). The controllers for the photovoltaic arrays remain in MPPT mode and are unaffected by the load shift.
Throughout the simulation (after time = 0.12 s), the system alternates between modes one and two in response to the power imbalance between load demand and generated power. To determine the capacity of the control system, abrupt and severe load fluctuations are applied. The most notable fluctuation happens when the current load reaches a high of around 50 A. The magnitude of the variation is 2 V and is less than 1% of the DC-link voltage value, confirming the controllers’ excellent enactment. The photovoltaic array controllers are unaffected by load variations and exhibit excellent resilience in their presence.
We tried the BES overcharge threshold in order to get the system to run in mode four due to the time necessary to charge the batteries in simulation. As illustrated in
Figure 12, the battery converter is unplugged between t = 0.03 s and t = 0.12 s. During this time period, a single DSMCs will regulate the PV array converters. As a result of the switch from maximum power point tracking to DC-link voltage regulation, no maximum power will be given. We can determine how resilient the PV array controller is to load changes by examining the DC-link voltage curve over this time period. The highest fluctuation occurs at the time of mode switching and all subsequent fluctuations have a negligible effect.
6.3. The Radiations Changes Scenarios with Constant Load
Another random radiations changes scenario (
Figure 13a) is used to verify the control strategy’s robustness in
Figure 13,
Figure 14,
Figure 15 and
Figure 16. The PV arrays are exposed to the same but variable irradiation during this time. The DC-link voltage stays steady despite irradiance variations, with only minor fluctuations due to abrupt and violent radiation changes.
As demonstrated above, the control and power management system employing sliding mode control for hybrid PV/BES, with both DC and AC loads in standalone photovoltaic systems, is capable of managing power flows in the converters of all units flexibly and effectively, and ultimately achieving power balance between the hybrid microgrid system and the AC load. Additionally, DSMCs assures the system’s reliability of power supply when PV power fluctuates due to unpredictable irradiance and demand, or when the battery is unavailable. Additionally, this enables the system to accommodate higher loads without the need for additional converters, lowering operation and control expenses. Finally, the effort will seek to identify a viable DSMCs solution for stabilizing the DC-link voltage and minimizing power loss in photovoltaic production due to PV voltage ripple with a lowered DC-link capacitor in the DC-link voltage, as well as improving the overall system’s dynamic performance.