1 Introduction

Renewable power sources (RPS) like photovoltaic (PV), wind and fuel cells gain the attraction in comparison to the traditional power sources due to the rise in population, fail to meet the increase in power demand and to prevent climate alteration [1,2,3]. Looking at the development of PV-ESD based energy generation in the micro-grid environment, there is a necessity to emphasize the research on a novel distributed and protection approaches for low and medium sectors [4,5,6]. To fulfil the increased power demand with high reliability and security, it is essential to operate the PV-ESD at its optimum PowerPoint (OPP) by using an innovative control method. To regulate the PQ level, a two-stage PV-ESD generating operation generally adopted for better efficiency and performance. At the first stage, a dc–dc converter is used to maintain the constancy of variable dc voltage and in the second stage; a dc–ac inverter is used for grid integration. Yet, this topology leads to a more complex structure and control, and higher cost. To avoid these limitations particularly in real-time applications, this study focuses on the single-stage PV-ESD operation [7,8,9].

For medium to high power applications like RPS, drives, blower, and fans, etc.; the multi-level inverter (MLI) plays an important role due to its more voltage levels. MLI facilitates reduced error in voltage, non-linearity, and switching losses, and improve electromagnetic interference [10]. Primarily, H-bridge inverters are implemented in the dc–ac conversion schemes [11]. This concept is improved by using a diode clamped inverter (DCI) approach through a set of series capacitors and later on the flying capacitor inverter (FCI) topology based on floating capacitors, replacing the series set of capacitors is largely implemented [12,13,14,15]. Later on, frequent other combinational strategies based on a hybrid design concept have developed as an addition to the fundamental strategies [16]. By this idea with fixing a reduced number of electronic switches and increasing in the voltage levels, an improved PQ is achieved in comparison to the primary inverter designs [17, 18]. However, the drawbacks related to the necessity of more switches are the key issues to emphasis on reduction of switches. The implementation of low voltage rating switches to some extent reduces the complication, price and size factors, but again each switch requires a gate driver circuit to activate the system. Consequently, deprived of scarifying the performance, design of a reduced switch MLI and gate driver circuit would be an appropriate solution for the above problems.

Microgrid operation and control pretence to resolve certain issues, particularly with significant penetration of RPS like PV based system with the erratic nature of power generation. Besides most distributed power sources (DPSs) in micro-grid as MLI based inverters, firmness and the optimum performance become a major problem due to the decrease in mechanical inertia. In this perception, battery-based ESDs can be pondered as a significant solution due to their capability to reduce the generation and demand fluctuations for flexible power management. Many robust control approaches are suggested for a combined PV-ESD for reducing the PV power variations [19,20,21,22]. Though, the combined PV-ESD leads to system intricacy, the possibility of failure, and delays in ESD action. Traditionally, in PV-ESD systems, the battery is integrated to the RPS through two converters, one as the converter to charge/discharge the ESD and another converter for ac conversion. Apart from the necessity of satisfactory control strategy, the economic and size factor needs to be implemented in the above converter strategies. In this paper, the above-related problems are considered to obtain better performance in the case of PV-ESD schemes.

PQ problems associated with real power, reactive power, apparent power, and non-linearity, contained a supervised energy-producing component supposed to be well within the limit under linear load situations. Yet, due to the rising energy demand, unbalanced-load applications, and ambiguity in distributed RPS; the parameters such as balancing the real power, reactive power support, and reduction in non-linearity are the emerging problems considered in numerous studies [22,23,24]. Lack of appropriate PQ control strategies and filters has triggered the new power schemes to reduce the harmonic contained in the PV-ESD integrated system [25]. Active filter-based mitigation schemes are widely implemented for reducing the voltage and current harmonics in the microgrid applications [25,26,27,28,29]. The main function of shunt power filter (SPF) is to compute the appropriate reference current and to employ in the related control strategies for regulating system parameters during unbalanced and non-linear load conditions. An effort has been taken in this study based on HIT architecture to calculate an appropriate reference current and to attain optimum PQ for a PV-ESD system.

A novel current decomposition technique is projected to compute separately the balanced and distorted current in a three-phase distributed RPS. The control approach is based on the improved version of Akagi’s and Peng’s power schemes [20, 21], referred as the HIT decoupled approach. The novel current decomposition approach is proposed to design a robust control strategy for MLI control in PV-ESD based grid-following systems. Furthermore, the proposed control approach is capable of decomposing the power signals into a much more detailed component by which it is easier to eliminate the distorted component and make the system more flexible and reliable for practical implementation. The system efficiency is further improved by using a reduced switch ECI by increasing the voltage levels. This paper is more concerned with the design of a grid-following three-phase solar system with the ESD by using a single-stage ECI having the capability of OPP, for grid current and battery current regulation. To validate the practical applicability of the proposed technique, an LCL filter is used to eliminate the non-linearity further to keep within the prescribed limit according to the IEEE-519 and IEEE-1541 standard.

The major focus of the proposed PV-ESD system is presented as follows:

  1. 1.

    Design of an improved control technique based on the HIT decoupled method to calculate an appropriate estimated current by an improved non-linearity cancellation technique.

  2. 2.

    The robust control method is used to separate the balanced and distorted current for eliminating the harmonic component.

  3. 3.

    Application of ECI to PV-ESD microgrid system for better PQ and voltage regulation.

  4. 4.

    Proper battery-based ESD management is suggested for an enhanced power regulation with OPP control.

2 Design of ECI topology

The circuit diagram of the proposed three-phase ECI approach is illustrated in figure 1. The MLI topology is developed by considering 5-capacitors (C1, C2, C3, C4, and C5), 10-operational switches (T1, T2, T3, T4, T5, T6, T7, T8, T9, and T10) and one traditional voltage source converter (TVSC) [27, 28]. In the developed ECI, the voltage levels and the TVSI switches (S1, S2, S3, S4, S5, and S6) are functioned through the operational switches. As illustrated in figure 1, eleven voltage levels are generated through 5 basic sub-MLI (MLIs1, MLIs2, MLIs3, MLIs4, and MLIs5) are linked through the antiparallel operational switches. To neglect the simultaneous short circuit conditions, the operational switches ‘T1 − T2’, ‘T3 − T4’, ‘T5 − T6’, ‘T7 − T8’, and ‘T9 − T10’ are not permitted to be concurrently turned ON state. The MLI is functioned for both +ve and −ve half conditions. In the +ve half condition, the MLI is functioned for 6-Cases (Case 1 to Case 6) of operation and in the −ve half condition, the MLI is functioned for another 6-Cases (Case 7 to Case 12) of operation, to produce a total of eleven-voltage levels.

Figure 1
figure 1

Circuit diagram of ECI.

  • Case 1: In this Case, figure 2(a) illustrates that the operational switches ‘T2, T4, T6, T8, and T10’, and the TVSC switches ‘S1, S2, and S6’ are at ON state. For providing a continuous current path, the current transmitted through the filter inductor -T2-T4- T6- T8-T10-S1- S2-S6- grid as indicated in figure 2(a). During this Case, the output voltage of the ECI is computed as zero, because the used capacitors are not in the discharging state.

    Figure 2
    figure 2

    Operational equivalent circuits of RSECI in the positive half cycle. *Red lines indicate the current flow direction.

  • Case 2: In this Case, figure 2(b) illustrates that the operational switches ‘T1, T4, T6, T8, and T10, and the TVSC switches ‘S1, S2, and S6’ are at ON state. For providing a continuous current path, the discharged current transmitted through C1-T1-S1-S2-S6 -T8-T6-T4- utility as indicated in figure 2(b). During this Case, the output voltage of the ECI is computed as Vdc, because ‘C1’ is at discharging state.

  • Case 3: In this Case, figure 2(c) illustrates that the operational switches ‘T1, T3, T6, T8, and T10’ and the TVSC switches ‘S1, S2, and S3’ are at ON state. For providing a continuous current path, the discharged current transmitted through C2-S3-C1-S1-T1-T2-T3-S10-S8-S6 utility as indicated in figure 2(c). Due to both the capacitors ‘C1 and C2’ are at the discharging state, the output voltage of the ECI is computed as 2 Vdc.

  • Case 4: In this Case, figure 2(d) illustrates that the operational switches ‘T1, T3, T5, T8, and T10’ and the TVSC switches ‘S1, S2, and S3’ are at ON state.

For providing a continuous current path, the discharged current transmitted through C3-T5-C2-T3-C1-T1-S1-S2-S3-T10-T8- utility as indicated in figure 2(d). The output voltage of the ECI is computed as 3 Vdc, as all the capacitors ‘C1, C2, and C3’ are at discharging state.

  • Case 5: In this Case, figure 2(d) illustrates that the operational switches ‘T1, T3, T5, T7, and T10’ and the TVSC switches ‘S2, S3, and S4’ are at ON state. For providing a continuous current path, the discharged current transmitted through C4-T7-C3-T5-C2- T3-C1- T1-S2-S3-S4-T10- utility as indicated in figure 2(e). The output voltage of the ECI is computed as 4 Vdc, because all the capacitors ‘C1, C2, C3, and C4’ are at discharging state.

  • Case 6: As shown in figure 2(f), the operational switches ‘T1, T3, T5, T7, and T9’, and the TVSC switches ‘S2, S3, and S4’ are at ON state. For providing a continuous current path, the discharged current transmits through C5- T9- C4- T7- C3- T5- C2- T3- C1- T1- S2-S3-S4- utility as indicated in figure 2(f). As all the capacitors ‘C1, C2, C3, C4 and C5’ are at discharging state, the output voltage of the ECI is computed as 5 Vdc.

The proposed ECI produces the voltage levels in the +ve half condition at 0, Vdc, 2 Vdc, 3 Vdc, 4 Vdc, and 5 Vdc respectively. Likewise, in the −ve half condition, the inverter produces the same voltage levels with the reverse sign. In −ve half condition, the ECI switching arrangements are inverted as compared to the +ve half condition.

As a result, the system is able to generate eleven voltage levels such as \( 0 , { } \pm {\text{V}}_{\text{dc}} , { } \pm 2 {\text{V}}_{\text{dc}} , { } \pm 3 {\text{V}}_{\text{dc}} , { } \pm 4 {\text{V}}_{\text{dc}} ,\,{\text{and}}\, \pm 5 {\text{V}}_{\text{dc}} \, \) respectively. The switching arrangements, as well as the voltage levels of the proposed ECI for both half-cycles, are illustrated in table 1.

Table 1 Switching conditions of the proposed ECI.

3 Control architecture

Figure 3 illustrates the complete test system diagram of PV-ESD based non-linear load system. By using a novel HIT method, the required real and reactive power is supplied to the grid through ECI. To produce optimum power ‘\( P_{s} \)’, the proposed system is designed through an IP&O tracking technique. By using the OPP algorithm, the required dc-voltage is obtained through the available solar power data. The detailed analysis of the generated reference voltage ‘\( V_{s}^{*} \)’ is presented in [7,8,9].

Figure 3
figure 3

PV-ESD based non-linear system.

3.1 HIT control architecture

As shown in figure 4, the main objective of the proposed HIT decoupled control approach is to regulate the non-linearity and harmonic contained for boosting the PQ level. The three-phase source/load corresponding voltage and current components are transformed to \( \alpha \beta \) components as shown below:

$$ V_{g,abc} = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} 1 & 0 & {\frac{1}{\sqrt 2 }} \\ { - \frac{1}{2}} & {\frac{\sqrt 3 }{2}} & {\frac{1}{\sqrt 2 }} \\ { - \frac{1}{2}} & { - \frac{\sqrt 3 }{2}} & {\frac{1}{\sqrt 2 }} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {V_{g,\alpha } } \\ {V_{g,\beta } } \\ {V_{g,0} } \\ \end{array} } \right] $$
(1)
Figure 4
figure 4

Proposed HIT control architecture diagram.

As per the 3-phase and 3-wire system, the zero-sequence voltage components (\( V_{g,0} \)) are removed and only (\( V_{g,\alpha } \) and \( V_{g,\beta } \)) components of the voltage are considered for the development of the controller.

$$ \left[ {\begin{array}{*{20}c} {V_{g,\alpha } } \\ {V_{g,\beta } } \\ \end{array} } \right] = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} 1 & { - \frac{1}{2}} & { - \frac{1}{2}} \\ \end{array} } \\ {\begin{array}{*{20}c} 0 & {\frac{\sqrt 3 }{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {V_{g,a} } \\ {V_{g,b} } \\ {V_{g,c} } \\ \end{array} } \right] $$
(2)

Likewise, the grid current (\( I_{g,\alpha } \) and \( I_{g,\beta } \)) and load current (\( I_{l,\alpha } \) and \( I_{l,\beta } \)) components of the grid current ‘\( I_{g,abc} \)’ and load current’ \( I_{L,abc} \)’ are computed. The instantaneous power (Pinst and Qinst) are computed as

$$ \begin{aligned} S_{PQ} & = V \times I^{*} = (V_{\alpha } + jV_{\beta } ) + (I_{\alpha } - jI_{\beta } ) \\ & = (V_{\alpha } I_{\alpha } + V_{\beta } I_{\beta } ) + j(V_{\beta } I_{\alpha } - V_{\alpha } I_{\beta } ) \\ \end{aligned} $$
(3)

From Eq. (3), the real ‘Pinst’ and reactive power ‘Qinst’ of the PV-ESD is computed as

$$ \left[ {\begin{array}{*{20}c} {P_{inst} } \\ {Q_{inst} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {I_{\alpha } } \\ {I_{\beta } } \\ \end{array} } \right] $$
(4)

By solving Eq. (4), \( I_{\alpha } \) and \( I_{\beta } \) can be determined as

$$ \begin{aligned} \left[ {\begin{array}{*{20}c} {I_{\alpha } } \\ {I_{\beta } } \\ \end{array} } \right] & = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {P_{inst} } \\ 0 \\ \end{array} } \right] \\ & \quad + \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} 0 \\ {Q_{inst} } \\ \end{array} } \right] \\ \end{aligned} $$
(5)

The real and reactive current components such as ‘\( I_{\alpha ,P} \), \( I_{\beta ,P} \), \( I_{\alpha ,Q} \)and \( I_{\beta ,Q} \)’ can be computed as.

$$ \left[ {\begin{array}{*{20}c} {I_{\alpha P} } \\ {I_{\beta P} } \\ \end{array} } \right] = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {P_{inst} } \\ 0 \\ \end{array} } \right] $$
(6)
$$ \left[ {\begin{array}{*{20}c} {I_{\alpha Q} } \\ {I_{\beta Q} } \\ \end{array} } \right] = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} 0 \\ {Q_{inst} } \\ \end{array} } \right] $$
(7)

In figure 4, the obtained optimum solar power ‘\( P_{s} \)’ is compared with the required grid power of the grid ‘\( P_{g} \)’, to generate the stable real power ‘\( P_{b} \)’. The required grid or stable reactive power ‘\( Q_{g} = Q_{b} \)’ is computed from the grid side measurement.

The real and reactive stable grid current components ‘\( I_{g\alpha ,P} \), \( I_{g\beta ,P} \), \( I_{g\alpha ,Q} \) and \( I_{g\beta ,Q} \)’ can be computed as

$$ \left[ {\begin{array}{*{20}c} {I_{g\alpha ,P} } \\ {I_{g\beta ,P} } \\ \end{array} } \right] = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {P_{b} } \\ 0 \\ \end{array} } \right] $$
(8)
$$ \left[ {\begin{array}{*{20}c} {I_{g\alpha ,Q} } \\ {I_{g\beta ,Q} } \\ \end{array} } \right] = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} 0 \\ {Q_{b} } \\ \end{array} } \right] $$
(9)

From Eq. (8) and Eq. (9), the components are transformed to compute stable real and reactive grid current components in abc reference frame such as (\( I_{ga,P} \), \( I_{gb,P} \), \( I_{gc,P} \), \( I_{ga,Q} \), \( I_{gb,Q} \), \( I_{gc,Q} \)) through an inverse transformation of Eq. (2). By using the grid voltage ‘\( V_{g,abc} \)’ and load current ‘\( I_{l,abc} \)’, the unstable real power ‘\( P_{l} \)’ and reactive power ‘\( Q_{l} \)’ are computed.

The real and reactive oscillating load current components ‘\( I_{l\alpha ,P} \), \( I_{l\beta ,P} \), \( I_{l\alpha ,Q} \)and \( I_{l\beta ,Q} \)’ are computed as

$$ \left[ {\begin{array}{*{20}c} {I_{l\alpha ,P} } \\ {I_{l\beta ,P} } \\ \end{array} } \right] = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {P_{l} } \\ 0 \\ \end{array} } \right] $$
(10)
$$ \left[ {\begin{array}{*{20}c} {I_{l\alpha ,Q} } \\ {I_{l\beta ,Q} } \\ \end{array} } \right] = \frac{1}{{V_{\alpha }^{2} + V_{\beta }^{2} }}\left[ {\begin{array}{*{20}c} {V_{\alpha } } & {V_{\beta } } \\ {V_{\beta } } & { - V_{\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} 0 \\ {Q_{l} } \\ \end{array} } \right] $$
(11)

From Eq. (10) and Eq. (11), the sinusoidal abc oscillating real and reactive load current components ‘\( I_{la,P} \), \( I_{lb,P} \), \( I_{lc,P} \), \( I_{la,Q} \), \( I_{lb,Q} \), and \( I_{lc,Q} \)’ are computed as

$$ \left[ {\begin{array}{*{20}c} {I_{la,P} } \\ {I_{lb,P} } \\ {I_{lc,P} } \\ \end{array} } \right] = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} 1 & 0 \\ \end{array} } \\ {\begin{array}{*{20}c} { - \frac{1}{2}} & {\frac{\sqrt 3 }{2}} \\ \end{array} } \\ {\begin{array}{*{20}c} { - \frac{1}{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {I_{l\alpha ,P} } \\ {I_{l\beta ,P} } \\ \end{array} } \right] $$
(12)
$$ \left[ {\begin{array}{*{20}c} {I_{la,Q} } \\ {I_{lb,Q} } \\ {I_{lc,Q} } \\ \end{array} } \right] = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} 1 & 0 \\ \end{array} } \\ {\begin{array}{*{20}c} { - \frac{1}{2}} & {\frac{\sqrt 3 }{2}} \\ \end{array} } \\ {\begin{array}{*{20}c} { - \frac{1}{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {I_{l\alpha ,Q} } \\ {I_{l\beta ,Q} } \\ \end{array} } \right] $$
(13)

The real and reactive oscillating load current components hold both distorted and unstable current components. The above two features are easily parted through a band-pass filter (BPF) at 50 Hz cut-off frequency. As illustrated in figure 4, the oscillating current is transmitted through the BPF, to produce the unstable real and reactive ‘\( I_{la,uP} \), \( I_{lb,uP} \), \( I_{lc,uP} \), \( I_{la,uQ} \), \( I_{lb,uQ} \), and \( I_{lc,uQ} \)’ current components respectively. After the unstable load current, the distorted real and reactive current ‘\( I_{ha,P} \), \( I_{hb,P} \), \( I_{hc,P} \), \( I_{ha,Q} \), \( I_{hb,Q} \), and \( I_{hc,Q} \)’ components are obtained as

$$ I_{ha,P} = I_{la,P} - I_{la,uP} $$
(14)
$$ I_{hb,P} = I_{lb,P} - I_{lb,uP} $$
(15)
$$ I_{hc,P} = I_{lc,P} - I_{lc,uP} $$
(16)
$$ I_{ha,Q} = I_{la,Q} - I_{la,uQ} $$
(17)
$$ I_{hb,Q} = I_{lb,Q} - I_{lb,uQ} $$
(18)
$$ I_{hc,Q} = I_{lc,Q} - I_{lc,uQ} $$
(19)

The real and reactive distorted current components are attained by comparing the oscillating real and reactive current components with unstable real and reactive current component. To produce the instantaneous real and reactive reference current (\( I_{ga,P}^{*} \), \( I_{gb,P}^{*} \), \( I_{gc,P}^{*} \), ‘\( I_{ga,Q}^{*} \), \( I_{gb,Q}^{*} \),and \( I_{gc,Q}^{*} \)’) for ECI conduction, the harmonic active and reactive current components are compared with the produced sinusoidal stable real and reactive current components (‘\( I_{ga,P} \), \( I_{gb,P} \), \( I_{gc,P} \)’, and ‘\( I_{ga,Q} \), \( I_{gb,Q} \), \( I_{gc,Q} \)’) as follows.

$$ I_{ga,P}^{*} = I_{ga,P} - I_{ha,P} $$
(20)
$$ I_{gb,P}^{*} = I_{gb,P} - I_{gb,P} $$
(21)
$$ I_{gc,P}^{*} = I_{gc,P} - I_{hc,P} $$
(22)
$$ I_{ga,Q}^{*} = I_{ga,Q} - I_{ha,Q} $$
(23)
$$ I_{gb,Q}^{*} = I_{gb,Q} - I_{hb,Q} $$
(24)
$$ I_{gc,Q}^{*} = I_{gc,Q} - I_{hc,Q} $$
(25)

As shown in figure 4, by using the inverse transform of Eq. (14) and Eq. (15), the sinusoidal reference active and reactive current ‘\( I_{ga,P}^{*} \), \( I_{gb,P}^{*} \), \( I_{gc,P}^{*} \)’, ‘\( I_{ga,Q}^{*} \), \( I_{gb,Q}^{*} \), and \( I_{gc,Q}^{*} \)’ are transformed to the reference \( \alpha \beta \) real and reactive current ‘\( I_{g\alpha ,P} * \), \( I_{g\beta ,P} * \), \( I_{g\alpha ,Q} * \), and \( I_{g\alpha ,Q} * \)’. After producing the reference real and reactive current, by using Eq. (6) and Eq. (7), the reference real and reactive power (P*and Q*) is computed. As shown in figure 4, the reference current for the ECI operation is obtained through inverse transform of Eq. (9).

The dq control architecture is demonstrated in figure 5. To produce the required reference voltage vector \( V^{*} \) for ECI action, the reference current \( I_{g,abc}^{*} \) is transmitted through decoupling architecture. The grid voltage \( V_{g,abc} \), grid current \( I_{g,abc} \) and reference current \( I_{g,abc}^{*} \) are converted from abc to dq reference frame as follows.

$$ \left[ {\begin{array}{*{20}c} {V_{d} } \\ {V_{q} } \\ \end{array} } \right] = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} 1 & { - \frac{1}{2}} & { - \frac{1}{2}} \\ \end{array} } \\ {\begin{array}{*{20}c} 0 & {\frac{\sqrt 3 }{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {V_{a} } \\ {V_{b} } \\ {V_{c} } \\ \end{array} } \right] $$
(26)
$$ \left[ {\begin{array}{*{20}c} {I_{S,d} } \\ {I_{S,q} } \\ \end{array} } \right] = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} 1 & { - \frac{1}{2}} & { - \frac{1}{2}} \\ \end{array} } \\ {\begin{array}{*{20}c} 0 & {\frac{\sqrt 3 }{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {I_{S,a} } \\ {I_{S,b} } \\ {I_{S,c} } \\ \end{array} } \right] $$
(27)
$$ \left[ {\begin{array}{*{20}c} {I_{S,d}^{*} } \\ {I_{S,q}^{*} } \\ \end{array} } \right] = \sqrt {\frac{2}{3}} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} 1 & { - \frac{1}{2}} & { - \frac{1}{2}} \\ \end{array} } \\ {\begin{array}{*{20}c} 0 & {\frac{\sqrt 3 }{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {I_{S,a}^{*} } \\ {I_{S,b}^{*} } \\ {I_{S,c}^{*} } \\ \end{array} } \right] $$
(28)
Figure 5
figure 5

Decoupled control architecture diagram.

After the transformation, the dq components are passed through PI regulator to produce the control signals (udc and uqc). The inverter output voltage is controlled by the control law as [29]:

$$ V_{td} = u_{dc} - L_{t} \omega I_{eq} + V_{d} $$
(29)
$$ V_{tq} = u_{qc} + L_{t} \omega I_{ed} + V_{q} $$
(30)

Where \( V_{td} \) and \( V_{tq} \) represent as the terminal ‘d’ and ‘q’ axis voltage of the inverter. The ‘\( L_{t} \)’ represents the terminal line parameter of the filter. From \( V_{td} \)and \( V_{tq} \), the reference voltage vector for ECI is computed. The switching signals for the suggested ECI are generated by using the space vector modulation methods (SVPWM). For SVPWM action, the reference voltage vector is used to choose an appropriate sector in the vector illustration.

3.2 Control architecture for ESD

The control method adopted for ESD operation is indicated in figure 4. The capacitor charging and discharging condition also depends upon the proper selection of the short vector applied to the SVPWM method. The proper selection of short vector is attained as per the relative voltage error of the capacitors \( V_{{Ce_{1} }} \) and \( V_{{Ce_{2} }} \).

$$ V_{{Ce_{1} }} = \frac{{V_{{_{{C_{1} }} }}^{r} - V_{{C_{1} }} }}{{V_{{C_{1} }} }} $$
(31)
$$ V_{{Ce_{2} }} = \frac{{V_{{_{{C_{2} }} }}^{r} - V_{{C_{2} }} }}{{V_{{C_{2} }} }} $$
(32)

where \( V_{{_{{C_{1} }} }}^{r} \) and \( V_{{_{{C_{2} }} }}^{r} \) are the essential capacitor voltages at C1 and C2 respectively. \( V_{{C_{1} }} \)and \( V_{{C_{2} }} \)symbolize the real capacitor voltages of C1 and C2. To select the suitable short vector by using the above components, an appropriate function ‘S’ is derived as

$$ S = T_{1} V_{{Ce_{1} }} - T_{2} V_{{Ce_{2} }} $$
(33)

where ‘T1 and T2’ are the gains linked with each of \( V_{{Ce_{1} }} \)and \( V_{{Ce_{2} }} \)respectively. \( V_{{C_{1} }} \) and \( V_{{C_{2} }} \) in a traditional neutral point clamped inverter is regulated by equalizing the gains at an equal constant value and also equal to the obtained reference voltage. However, for better regulation of the proposed PV-ESD system during unstable capacitor voltages, the ‘T1 and T2’ are chosen differently.

$$ V_{{_{{C_{1} }} }}^{r} = V_{ESD} $$
(34)
$$ V_{{_{{C_{2} }} }}^{r} = V_{s}^{*} - V_{{C_{1} }} $$
(35)

where \( V_{b} \) represents the ESD voltage and \( V_{s}^{*} \) represents the reference PV voltage obtained from the MPT block. From Eq. (33) , the gain T2 value is set much higher than T1 to operate the solar module at its MPP. The charging and discharging condition of the ESD is regulated by using \( V_{{C_{1} }} \). During the system operation, the polarity of ‘S’ decides the charging/discharging condition of ESD. When ‘S’ is +ve, the C1 is at charging state and C2 is at discharging state during that specific period. The inverted operation for C1 and C2 occurs during ‘S’ at negative polarity.

Figure 4 illustrates the suggested control architecture execution on the ac side based on HIT to control the required real and reactive power (Pg, and Qg) through the ECI operation. In addition, a new SVPWM based short vector selection technique is adopted. On the dc side, the MPT condition is achieved, by implementing a strict control for \( V_{{C_{2} }} \) (at T2>>T1) with the reference value of C2 \( \left( {V_{{_{{C_{2} }} }}^{r} = V_{s}^{*} - V_{{C_{1} }} } \right) \) and also to achieve flexible control for the C1 voltage \( \left( {V_{{C_{1} }} } \right) \) with the reference ESD voltage \( \left( {V_{{_{{C_{1} }} }}^{r} = V_{ESD} } \right) \). ‘S’ is used with the computed reference values, to generate an appropriate short vector for the ECI switching operation. On the ac side, by generating the suitable short vector the required real grid power Pg is transmitted to the grid. This, in turn, regulates the capacitor voltage \( V_{{C_{1} }} \) automatically such that the excess power (Ps − Pg) is charged the ESD or the shortage power (Pg − Ps) is discharged the ESD.

4 Result analysis

The complete test system comprises PV generating unit, ESD unit and ECI with the HIT decoupled control technique which is illustrated in figure 5. To validate the effectiveness of the proposed approach for micro-grid real-time application, it has been simulated through the MATLAB/Simulink environment. An LCL filter is applied to filter out the presence of non-linearity and also used to protect the PV-ESD during any transient condition. The undertaken system parameters of the proposed PV-ESD approach are shown in [29].

Three solar modules are connected in series to fulfil the load and grid demand. The undertaken mathematical equation for the PV unit is taken from Ref. to [4] as

$$ I_{pv} = I_{sc} - 10^{ - 7} \left( {e^{{\left( {\frac{{V_{pv} }}{{2574*10^{ - 3} }}} \right)}} - 1} \right) $$
(36)

where Ipv, Isc, and Vpv represent as the PV current, short-circuit current of the solar unit, and instantaneous PV output voltage respectively. Under standard testing condition (STC) at 1000 W/m2 irradiance, the short-circuit current Isc and the open-circuit voltage Voc of the PV unit is chosen as 6.04 A and 44 V respectively.

As discussed in the control architecture section, to attain the MPT condition and for the smooth transition of ESD, the value of ‘T2’ is chosen greater than ‘T1’. In the design process, it is concluded that any larger value above 100 is suitable for K2, to select the appropriate short vector. For offering an improved dc voltage (Vpv) regulation, the gain value T2 is chosen as 200.

By seeing the uncertainty, the design of battery inductor Lb plays a key role in smoothening the battery current regulation. A slight change in the inductor also rises the overshoot current of the ESD. In addition to that, the size of Lb depends upon the corresponding capacitor ratings and uncertainty in the voltage conditions. However, by considering the size and cost aspects of the system, 5 mH ratings of Lb is chosen in this study. For showing the variability of the HIT controller, a combined unbalanced and non-linear load is linked to the stable three-phase grid as illustrated in figure 4. The PV-ESD system is tested by changing the reference inputs under subsequent situations.

  1. 1.

    At persistent solar irradiance, PV-ESD system is verified for a step-change in the required real and reactive power.

  2. 2.

    By changing the solar irradiance in a stepwise method, the PV-ESD approach is verified for a constant real and reactive power.

  3. 3.

    At persistent solar irradiance, the PV-ESD system is verified by altering a slope controlled required real power.

Furthermore, to show the importance of the proposed HIT architecture, the undertaken PV-ESD outcomes are compared to the traditional control and inverter approach under the above conditions.

4.1 Traditional PI control-based NPC inverter without non-linear load applications

4.1a First test Case: In this test Case, the results of the traditional approach are investigated by using the fixed irradiance. In the traditional approach, a neutral point clamped inverter (NPC) is used with the PI control to generate the desired active and reactive power. To achieve the desired power, the inverter generates the desired voltage level by using more power electronic switches, diodes and capacitors. NPC inverter is used to generate three-level output voltage components by using 12 power electronic switches, six diodes, and two capacitors. As a result, the system is well capable of generating the desired voltage and current. The corresponding output voltage waveform of the NPC inverter is shown in figure 6.

Figure 6
figure 6

Simulated results: NPCI voltage levels.

Figure 7(a) clearly shows that the NPC inverter contains more harmonics in the output current Iinv due to the use of more power electronic switches with the traditional PI controller. The test system is investigated without any non-linear load. As shown in figure 7(b), the harmonic content of the inverter output current Iinv is calculated as 5.38% by using Fast Fourier Transform (FFT) analysis. As per the IEEE-1541 standard, the THD value is very high. For the real-time application, it is essential to see the effect of using the non-linear load condition which generally deteriorates the power quality condition. With the objective to restrict the harmonic under nonlinear load condition within the standard value, the proposed approach is suggested as an improvement of inverter capability with adequate control strategy integration specifically in a PV-ESD based microgrid system.

Figure 7
figure 7

Simulated results: (a) NPCI current, (b) THD of NPCI current.

4.1b Second test Case: In this test Case, the traditional approach is tested by changing the irradiance condition. By using the traditional NPC inverter approach with the PI controller under changing irradiance conditions, the test system generates the desired output voltage and current. As indicated in figure 8(a), due to the high-power electronic switches and fewer voltage levels in the inverter, the output current Iinv contains harmonics. Figure 8(b) shows the harmonic content of the inverter current. The harmonic analysis of the output current is analysed by using the FFT technique and the corresponding THD value is 5.68%. The calculated THD is much higher according to the IEEE-1541 standard. Due to the poor control strategy, the traditional multilevel inverter generates more harmonic currents. The above findings motivate to use an RSECI approach with an advanced control strategy to generate a reduced harmonic output current.

Figure 8
figure 8

Simulated results: (a) inverter current, (b) THD of inverter side current.

4.2 Proposed HIT control based ECI approach for non-linear load applications

4.2a First test Case: In this test Case, the proposed HIT decoupled control with the ECI approach is tested at the constant environmental condition and the corresponding results are presented in figures 9, 10, and 11 respectively. For this Case study, ‘Isc’ is chosen as 5.8 A with a fixed solar irradiance condition as calculated through Eq. 33. The required real power demand of the grid is initially set at 682 W and changed to 430 W at a time interval of 100 ms. Similarly, the required reactive power support to the grid is varied from zero to 255 VAR at a time interval of 200 ms.

Figure 9
figure 9

Simulated results: (a) active power, (b) reactive power, (c) PV voltage, (d) battery current.

Figure 10
figure 10

Simulated results: (a) load voltage, (b) load current, (c) inverter output voltage, (d) inverter output current, (e) grid current.

Figure 11
figure 11

FFT analysis results: (a) inverter current, (b) grid current.

As per the set condition, the IP&O technique is able to track the required solar module dc voltage ‘\( V_{pv}^{*} \)’ as 117.3 V to achieve the maximum power as 566 W. Figure 9(a, b) indicates that the proposed approach is able to generate the desired real and reactive power. The desired dc voltage of the test PV-ESD based system is controlled correctly to generate accurate desired power as shown in figure 9(c). When the PV power is more with respect to our utility power requirements, the surplus power is used to charge the storage device and when the PV power is less with respect to the desired power, the battery is used to start discharging. According to the purposed hybrid control approach as indicated in figure 9(d) at 0 ms to 1 ms time interval, the battery discharge at 2.1 A due to the PV generated power insufficient to fulfil the desired amount of grid power, and after 1 ms to 250 ms the battery is used to charge at −2.1 A due to the surplus power of the PV output.

Figure 10(a, b) clearly shows that due to the impact of the nonlinear load, the load voltage and current signal are non-linear and contains more harmonics. Figure 10(c) indicates that the proposed ECI is also able to generate eleven voltage levels by using a smaller number of power electronic switches. As the inverter generates more voltage levels, it is easier to eliminate the harmonics of the grid current and inverter current by using both HIT control architecture and inverter strategy. Figure 11(d, e) shows the results of the inverter side and grid side currents with lesser THD as compared to section 4.1 first Case results. Due to the higher power generation, the inverter current during the time duration 0 ms to 100 ms is 8.8 A. Similarly, for the reduced power generation, the inverter current decreases to 5.72 A during the time interval of 1 ms to 200 ms. At the time 200 ms onwards due to the reactive power injection, the inverter current is further increased to 6.8 A. It indicates that as per our requirements, the inverter current and the grid current are changed.

Compared to the traditional approach as presented in section 4.1 first Case, the inverter based on the proposed approach functions well and generates the current with fewer harmonics. The harmonic distortion factor is calculated by FFT analysis and the corresponding results of inverter current and grid are shown in figure 11(a, b) respectively. As per the FFT analysis, the THD of the inverter and grid current is 1.42% and 0.52%, respectively. In the proposed approach the inverter generates lesser harmonic current comparatively. An LCL filter is used for further reduction of harmonics, as well as to protect the system for the sudden change in voltage and current.

4.2b Second test Case: In this test Case, the test results of the proposed HIT decoupled control and RSECI approach are discussed for changing the irradiance condition. The corresponding test results of the proposed approach are shown in figures 12 and 13, respectively. It is assumed that the short circuit current ‘Isc’ is equal to 4.8 A, 4 A, and 5.4 A at a time interval of 0 ms, 40 ms, and 100 ms, respectively under the changing irradiance condition. The short circuit current of the PV unit is changed at a fixed desired real and reactive power of the system. The desired real power to be transmitted to the utility is set at 482 W and the reactive power as zero.

Figure 12
figure 12

Changing environmental condition simulated results: (a) active power, (b) PV voltage, (c) battery current, (d) inverter output voltage, (e) inverter output current, (f) grid current and (g) voltage and current.

Figure 13
figure 13

FFT analysis results: (a) inverter current, (b) grid current.

As per the above requirement, the IP&O algorithm is able to generate the desired solar module dc voltage ‘\( V_{pv}^{*} \)’ as 115.6 V, 114.1 V, and 117.3 V to attain the maximum power 485 W, 404 W, and 558 W from the test system respectively. Figure 12(a) shows the proposed RSECI able to produce the desired real power. Figure 12(b) shows that by changing the irradiance condition, the PV module produces the accurate dc voltage for the generation of maximum power. Figure 12(c) illustrates that the battery adopts a correctly charged and discharged mode of operation to meet the need. Figure 13(c) shows that at 0 ms to 40 ms, the PV power is equal to the desired power, by which the battery cannot be in charge or discharge mode of operation during that period. After that period from 40 ms to 100 ms, the battery is discharged at 1.3 A current to fulfil the grid demand and after 100 ms onwards due to the surplus power of the grid; the battery is charged at − 1.3 A current.

Figure 12(d) indicates that the proposed RSECI is able to generate eleven voltage levels at changing irradiance conditions. As the inverter generates more appropriate voltage levels, it is easier to eliminate the harmonics of the grid current and inverter current by using both HIT control and inverter strategy. Figure 13(e, f) shows the results of the inverter side and grid side currents with lesser THD as compared to the section 4.1 second Case results. The reactive power is zero at all the time. The linear relationship between the single-phase voltage and current is shown in figure 12(g). Compared to the traditional approach as presented in section 4.1 second Case, the proposed approach based inverter is able to offer a fast-transient response and generates the current with fewer harmonics. The harmonic distortion factor is calculated by FFT analysis and the corresponding results of inverter current and grid are shown in figure 13(a, b). As per the FFT analysis, the THD of the inverter and grid current is 1.55% and 0.21%, respectively. In the proposed approach the inverter generates a lesser harmonic current. However, the LCL filter is used to further reduction of harmonics, as well as protect the system for the sudden change in voltage and current.

4.2c Third test Case: In this Case, the results of the proposed HIT decoupled control and ECI approach are discussed by changing the real power. In this simulation, the desired real power is initially set at 295 W for 40 ms. After 40 ms, the desired real power starts to decrease as a slope-controlled change and finally constant at 165 W for a time 90 ms onwards. According to Eq. (33), it is assumed that the solar irradiation will generate the short circuit current ‘Isc’ equal to 2.89 A in the PV module. As per the above requirement, the MP&O algorithm is able to generate the desired solar module dc voltage ‘\( V_{pv}^{*} \)’ as 112.8 V to attain the maximum power from the test system, which can produce 305 W of electrical power.

Figure 14(a) shows that as per the grid requirement the real power transferred to the grid decreases gradually and achieves the desired real power at a certain time period. The generated PV output voltage of the solar system is shown in figure 14(b). Figure 14(c) indicates that the battery charging and discharging conditions of the test system. Initially, at a time interval of 0 ms to 40 ms, the battery current is 0.1 A. Due to the constant PV output power, the reduced amount of power is transferred to the grid, by which the battery charging current is gradually increased and finally set at 2.1 A. In this condition also the inverter is able to generate the desired voltage levels as shown in figure 14(d). Figure 14(e, f) shows the output current of the inverter and grid. As shown in figure 14(e) the inverter current is gradually reduced from 3.4 A at 40 ms and finally stable at 1.9 A at 90 ms. The grid current also follows the same path as per the inverter current.

Figure 14
figure 14

Third test Case results: (a) active power, (b) PV voltage, (c) battery current, (d) inverter output voltage, (e) inverter output current, (f) grid current.

5 Conclusion

This paper proposed a novel HIT control architecture based decoupled strategy for a PV-ESD system. Further, to enhance the system performance by increasing the power quality, an ECI based MLI is proposed. In this approach, a detailed mathematical control solution for the proposed ECI and ESD is presented in this paper. The results are clearly indicating that by using IP&O technique, the system is able to track maximum power. The PV-ESD system offers better power management, by availing appropriate charging and discharging condition through an improved control strategy. During any uncertainty and transient periods, to protect the system and maintain the improved power quality an LCL filter is integrated. It is able to mitigate the higher-order harmonics of the system. To show the necessity of the proposed controller, the generated proposed PV-ESD obtained results are compared with the traditional PV-ESD results at different operating conditions. The comparative results arrive with justification to the proposed approach as a novel method capable of bringing a better performance with better power quality and flexibility of operation.