1 Introduction

The proliferation on the market of small-scale renewable energy sources that generate electricity in DC form has more and more facilitated the development of off-grid solution for non-electrified rural regions in the world. In this sense, numerous DC home appliances are available on the market [1], greatly promoting residences with DC distribution system [2,3,4,5]. Coupled to this, the growing trend toward the use of all-electric vehicles will make the battery storage system more affordable with a better storage capacity. This will greatly contribute to the adoption of LVDC microgrid for residential application as presented in Fig. 1. This field is actually gathering the intention of many researchers, covering the branch of standardization [6, 7], control strategy [8, 9], power flow management [10, 11], operation stability [12,13,14], storage technologies and control [15, 16], and renewable source efficiency [17].

Fig. 1
figure 1

Residential DC microgrid

Regarding the control strategy, the first layer of hierarchical control concerns the current load sharing among the paralleled converters [8]. Often, error load sharing occurs when there is a mismatch of voltage values provided by the sources at the bus level. If the output voltage of each converter is well regulated, then this mismatch comes from the difference in cable impedance connecting the converters to the DC bus [18].

To overcome the error in current load sharing, some types of controls, such as active load sharing [19,20,21,22] and droop control [4, 5, 8, 23] have been proposed in the literature. If the active load sharing method presents the advantages of being simple to implement with a good performance, its major drawbacks consist on the need of a large bandwidth communication link and its low flexibility and modularity. In fact, a higher bandwidth communication link is needed with the increasing number of distributed generators present in the microgrid. Droop control, on the other hand, presents a poorer current load sharing capacity compared to the active load sharing method, but it does not need a communication link for its implementation and the modularity of the system elements is not affected in the case of an add or removal of distributed generators. Eventually, a low-bandwidth communication link is enough in case of a droop control with voltage restoration.

Hence in this paper, droop control is chosen as load sharing method. The implementation of droop control consists in controlling each converter in parallel individually first, and then adding an external loop which ensure the load sharing among the paralleled converters. Generally, the internal control of the converters in the droop control method found in the literature use PI controllers [4, 5, 8, 23,24,25], though the converters are nonlinear system. Moreover, for a renewable-based DC microgrid, the intermittency of the sources will lead to the variability of the energy production. The same goes for the load variation that depends on the user’s needs, in a residential application. In this case, the use of PI controller may not be robust when a large range of operating points is considered. Therefore, this paper proposes to compare the performance of the implementation of a basic droop control when the internal control of the converter is performed via PI controllers or nonlinear controllers.

The paper is structured as follows: a presentation of the studied system, detailing the power stage modeling, the controller synthesis, and droop control application, is presented in Sect. 2. Section 3 discusses the simulation results while Sect. 4 gives a conclusion of the paper.

2 Studied system presentation

2.1 Power stage model

As the interest is laid on the parallel operating of distributed generators, we consider the system presented in Fig. 2. The studied system is composed of two distributed generators with their interfacing converter and a resistive load. Non-isolated boost converter is taken as interfacing converter. The DC bus level chosen for application is 48 V, while the input voltages of the sources are inferior to this value. This choice of voltage level has been discussed in [1]. The resistances rc1 and rc2 represent the cable resistance connecting each converter to the bus.

Fig. 2
figure 2

Case-study system

The power loss in the inductor of the converters is taken into account since it presents a great impact on the converter output voltage. This loss is portrayed by the resistances rL1 and rL2. The large signal average model system of equations governing each converter is given by (1), where the subscript k is related to each converter.

$$\left[ {\begin{array}{*{20}c} {\frac{{di_{{L{\kern 1pt} k}} }}{dt}} \\ {\frac{{dv_{{o{\kern 1pt} k}} }}{dt}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} { - \frac{{r_{{L{\kern 1pt} k}} }}{{L_{k} }}} & { - \frac{{1 - d_{k} }}{{L_{k} }}} \\ {\frac{{1 - d_{k} }}{{C_{k} }}} & { - \frac{1}{{R_{k} C_{k} }}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {i_{{L{\kern 1pt} k}} } \\ {v_{{o{\kern 1pt} k}} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {\frac{1}{{L_{k} }}} \\ 0 \\ \end{array} } \right]v_{{i{\kern 1pt} k}}$$
(1)

In (1), dk represents the duty cycle associated with the kth converter and Rk represents the load resistance for a given power consumed P by the converter and is expressed by

$$R_{k} = \frac{{v_{{o{\kern 1pt} k}}^{2} }}{{P_{ok} }}$$
(2)

Since linear controller will be considered later, the small signal average model describing the boost converter is given by (3)

$$\left[ {\begin{array}{*{20}c} {\frac{{d\widetilde{{i_{{L{\kern 1pt} k}} }}}}{dt}} \\ {\frac{{d\widetilde{{v_{{o{\kern 1pt} k}} }}}}{dt}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} { - \frac{{r_{{L{\kern 1pt} k}} }}{{L_{k} }}} & { - \frac{{1 - D_{k} }}{{L_{k} }}} \\ {\frac{{1 - D_{k} }}{{C_{k} }}} & { - \frac{1}{{R_{k} C_{k} }}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\widetilde{{i_{{L{\kern 1pt} k}} }}} \\ {\widetilde{{v_{{o{\kern 1pt} k}} }}} \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {\frac{{V_{{o{\kern 1pt} k}} }}{{L_{k} }}} \\ { - \frac{{I_{{L{\kern 1pt} k}} }}{{C_{k} }}} \\ \end{array} } \right]\widetilde{{d_{k} }} + \left[ {\begin{array}{*{20}c} {\frac{1}{{L_{k} }}} \\ 0 \\ \end{array} } \right]\widetilde{{v_{{i{\kern 1pt} k}} }}$$
(3)

This small signal average model is obtained by a linearization of (1) around an operating point of the converter. Each variable of (1) is defined as a sum of an average value and a small variation around this average value, as expressed in (4).

$$\begin{aligned} & i_{{L{\kern 1pt} k}} = I_{{L{\kern 1pt} k}} + \widetilde{{i_{{L{\kern 1pt} k}} }} \\ & v_{{o{\kern 1pt} k}} = V_{{o{\kern 1pt} k}} + \widetilde{{v_{{o{\kern 1pt} k}} }} \\ & d_{k} = D_{k} + \widetilde{{d_{k} }} \\ & v_{{i{\kern 1pt} k}} = V_{{i{\kern 1pt} k}} + \widetilde{{v_{{i{\kern 1pt} k}} }} \\ \end{aligned}$$
(4)

Equations governing the power stage being defined, the synthesis of each controller type is then detailed in the following subsection B.

2.2 Controller synthesis

For the controller synthesis of the converter intern variable, Proportional–Integral regulator is first considered

2.2.1 Linear PI controller synthesis

The PI controller synthesis goes through the description of the transfer function of the variable to be controlled. Since in our case, the inductor current and the output voltage of the converter are both controlled, a cascaded control loop is adopted. The block diagram illustration the control is presented in Fig. 3.

Fig. 3
figure 3

Linear control block diagram

Since cascaded loop is used, the inner current loop dynamic must be faster than the outer voltage loop.

By using the Laplace transform of (3), and by considering \(\widetilde{{v_{ik} }}\) as a perturbation, the control-to-current transfer function Gid is expressed by (5).

$$G_{id} \left( s \right) = \frac{{\widetilde{{i_{Lk} }}}}{{\widetilde{{d_{k} }}}} = \frac{{V_{ok} }}{{sL_{k} + r{}_{Lk}}}$$
(5)

This expression is obtained while neglecting the term in \(\widetilde{{v_{ok} }}\) of the Laplace transform of (3), since the dynamic of the outer loop is considered slow compared to inner loop one.

Current-to-output voltage transfer function case is obtained by assuming the inductor current equal to its reference after a transient in the current loop. Since the inner loop is much faster than the outer loop, the perturbation in the duty cycle can be neglected. Therefore, the current-to-output voltage transfer function expression is given by (6).

$$G_{vi} \left( s \right) = \frac{{\widetilde{{v_{ok} }}}}{{\widetilde{{i_{Lk} }}}} = \frac{{\left( {1 - D_{k} } \right)}}{{sC_{k} + \frac{1}{{R_{k} }}}}$$
(6)

The expression of the PI controller associated to each loop is then given by (7) and (9) respectively for the current and voltage controllers.

$$C_{ik} (s) = K_{pik} + \frac{{K_{iik} }}{s}$$
(7)
$$C_{vk} (s) = K_{pvk} + \frac{{K_{ivk} }}{s}$$
(8)

As the voltage and current loop transfer functions are 1st order ones, the controller synthesis is done using pole compensation method.

2.2.2 Nonlinear controller synthesis

Similar to the synthesis of the linear controller, a cascaded controller as in [12] is also adopted. The control of the inductor current, the inner loop control, is realized by sliding mode control while the outer loop voltage control is done by flatness-based control. The schematic block diagram depicting the control is presented in Fig. 4.

Fig. 4
figure 4

Nonlinear control block diagram

The sliding surface Sk of the sliding mode controller and the condition on its derivative is given in (9).

$$\begin{aligned} & S_{k} = i_{Lk} - i_{Lkref} + K_{ik} \int {\left( {i_{Lk} - i_{Lkref} } \right)} d\tau \\ & \dot{S}_{k} = - \lambda_{k} S_{k} \\ \end{aligned}$$
(9)

From (9), one can draw the duty cycle’s expression that is given by (10).

$$\begin{aligned} & d_{k} = \frac{1}{{v_{ok} }}\left( {a_{k} + b_{k} } \right) \\ & a_{k} = v_{ok} + r_{Lk} i_{Lk} - v_{ik} \\ & b_{k} = L_{k} \left[ {\left( {K_{ik} + \lambda_{k} } \right)\left( {i_{Lkref} - i_{Lk} } \right) + K_{ik} \lambda_{k} \int {\left( {i_{Lkref} - i_{Lk} } \right)} } \right] \\ \end{aligned}$$
(10)

For the flatness-based control of the outer loop, the energy of the output voltage capacitor is taken as flat output candidate y. its expression is given by (11):

$$y = \frac{1}{2}C_{k} v_{ok}^{2}$$
(11)

A power balance of the converter is then realized in order to establish the relation between the control variable iLk and the flat output candidate y. we assume that the power induced by the variation of the magnetic energy is negligible and the current loop dynamic is much faster than the outer loop.

$$\dot{y} = P_{in} - r_{Lk} \,i_{Lk}^{2} - P_{ok} = P_{in} - r_{Lk} \,\left( {\frac{{P_{in} }}{{v_{ik} }}} \right)^{2} - P_{ok}$$
(12)

The current control is then obtained by resolving (12) and is expressed by (13).

$$i_{{L{\kern 1pt} k}} = \frac{{P_{in} }}{{v_{{i{\kern 1pt} k}} }} = \frac{{2P_{{i{\kern 1pt} \hbox{max} }} }}{{v_{{i{\kern 1pt} k}} }}\left( {1 - \sqrt {1 - \frac{{\dot{y} + P_{{o{\kern 1pt} k}} }}{{P_{{i{\kern 1pt} \hbox{max} }} }}} } \right)$$
(13)

With \(P_{{i{\kern 1pt} \hbox{max} }} = \frac{{v_{ik}^{2} }}{{4r_{Lk} }}\): maximum transmissible power

$$P_{ok} = v_{ok} i_{ok} :\,{\text{output}}\,{\text{power}}$$

The control law adopted for the energy of the output capacitor is given by

$$\left( {\dot{y} - \dot{y}_{ref} } \right) + K_{py} \left( {y - y_{ref} } \right) + K_{iy} \int {\left( {y - y_{ref} } \right)d\tau = 0}$$
(14)

Thus, the expression of \(\dot{y}\) in (13) is deduced from (14) and expressed as follows:

$$\dot{y} = \dot{y}_{ref} + K_{py} \left( {y_{ref} - y} \right) + K_{iy} \int {\left( {y_{ref} - y} \right)}$$
(15)

The nonlinear controller block diagram is thus illustrated in Fig. 5.

Fig. 5
figure 5

Nonlinear controller block diagram

2.3 Droop control with voltage restoration

In order to simplify the comprehension of the droop control principle, let us consider the output voltage vok of each converter well-regulated and assimilated to a voltage source as shown in Fig. 6. The droop control consists on emulating virtual impedance RDk in each branch containing a source, so that having the same voltage value on the bus. This feat is performed by using an outer loop with a droop gain, that is subtracted to the control loop of the converter.

Fig. 6
figure 6

Droop control principle

The reference Vo kref of the output voltage of the converter then becomes as expressed in (16), Vref k being the fixed value of the desired bus voltage, RDk the virtual droop resistance and iok the output current of the converter.

$$V_{{ok{\kern 1pt} ref}} = V_{{ref{\kern 1pt} k}} - R_{Dk} i_{ok}$$
(16)

Considering the maximum output voltage deviation εv and the maximum output current Iok max of the converter, the virtual resistance RDk is calculated as in (17).

$$R_{Dk} = \frac{{\varepsilon_{v} }}{{I_{{ok{\kern 1pt} \hbox{max} }} }}$$
(17)

From (16), one can deduce that the output voltage of the converter will be lower than the desired reference, due to the virtual resistance. Hence, another outer loop that allows restoring the bus voltage, according to the drop occasioned by the virtual resistance, is added to the overall control. Finally, the output voltage reference of the converter is given by (18), where δvok represents the processed voltage deviation.

$$V_{{ok{\kern 1pt} ref}} = V_{{ref{\kern 1pt} k}} - R_{Dk} {\kern 1pt} i_{ok} + \delta v_{ok}$$
(18)

The processed voltage deviation δvok results from the compensation through PI regulator of the sensed bus voltage Vbus and the desired bus voltage Vbus ref.

The outer loop control to be added to the control of the internal variable of the converter is then depicted in Fig. 7.

Fig. 7
figure 7

Droop control with voltage restoration

3 Simulations and discussions

In order to compare the performance of the droop control combined with the two types of control for the internal variable of the converters, three scenarios will be considered. Given that each converter is sized to operate within a maximum power of 400 W, the load power range during the operating of two converters will then be within 800 W.

For the first two scenarios, the purpose is to compare the load sharing capabilities of the system depending on the type of the internal control adopted. A resistance of 3.84 Ω is taken as load, that corresponds to a consumed power of 600 W. The cable resistance linking the first converter to the bus is the double of the one linking the second converter. And both converters have the same characteristics. In the first scenario (scenario 1), the input voltages of both converters are the same while in the second scenario (scenario 2) the input voltages of the converters are different. For each scenario, the evolution of the voltage and current with and without droop control is shown.

For the third scenario (scenario 3), the purpose is to compare the plug and play capability of the system. A load resistance of 7.68 Ω is considered, it corresponds to a consumed power of 300 W. The first converter’s cable resistance is still the double of the second converter’s one. The input voltages of both converters are identic. Both converters are first initially connected. The second converter is then disconnected at t = 0.2 s and reconnected at t = 0.4 s by the means of the switch K in Fig. 2.

Figures 8 and 9 show the simulation results of the first scenario when adopting linear and nonlinear controllers respectively, while Fig. 10 highlights the behavior of the droop controlled-system in steady-state.

Fig. 8
figure 8

Scenario 1 with PI controllers

Fig. 9
figure 9

Scenario 1 with nonlinear controllers

Fig. 10
figure 10

Zoom scenario 1 for droop control in steady-state

As can be seen in Figs. 8a and 9a, despite the converters having the same characteristics and the same operating point the one connected to the bus through a lower cable resistance, here the converter 2, have to produce more current to the load.

The error in current load sharing is slightly worse for the nonlinear controlled-system compared to the one linear-controlled. However, after applying the droop control as presented in Figs. 8b and 9b, the error load sharing is minimized. The transient of the nonlinear-controlled system is faster than the one of the linear-controlled one, but it has a high inrush current.

One the other hand, during the steady-state operation as shown in Fig. 10, the current load sharing is almost identical whether the system is internally controlled in a linear or nonlinear way. Nonetheless, the bus regulation of the nonlinear-controlled system is better.

The second scenario simulation results are given in Figs. 11 and 12, respectively, when adopting linear and nonlinear controllers. Likewise in the first scenario, the zoom operation in steady-state while droop control is applied is presented in Fig. 12.

Fig. 11
figure 11

Scenario 2 with PI controllers

Fig. 12
figure 12

Scenario 2 with nonlinear controllers

Despite the input voltage of converter 2 is greater than the one of converter 1, the error load sharing remains, as can be seen in Figs. 11a and 12a. The converter with the lower cable resistance is still overworked. The application of droop control minimizes the error load sharing among the converters as shown in Figs. 11b and 12b. The system controlled non-linearly is still faster with high inrush current. However, the zoom in steady-state operation presented in Fig. 12 shows an almost identical current sharing and voltage regulation for both linear and nonlinear controlled system (Fig. 13).

Fig. 13
figure 13

Zoom scenario 2 for droop control in steady state

The third scenario simulation results are depicted in Figs. 14 and 15. The results when PI controllers are adopted are presented in Figs. 14a and 15a while the ones with nonlinear controllers are presented in Figs. 14b and 15b. During the disconnection and reconnection of the second converter, the transient of the nonlinear controlled system is faster and more stable than the one of the linear controlled system. The difference in rapidity is especially significant during the reconnection. As can be seen in Fig. 14, the PI controlled system needs 325 ms to attain stable operation while the nonlinear controlled one needs only 50 ms. The latency time during the reconnection is equally much slower for the PI controlled system, compared to the nonlinear one, with a latency time of 13 ms against 1.3 ms respectively.

Fig. 14
figure 14

Disconnection and reconnection of source 2

Fig. 15
figure 15

Zoom during reconnection of one source

On the other hand, during the disconnection of the second converter, the nonlinear controlled system almost instantaneously regains stable operation while the PI controlled one needs 80 ms to regain stable operation.

Furthermore, the overshoot in the output voltage and inductor current during the disconnection and reconnection are equally important on the PI controlled system, while it is negligible on the nonlinear controlled system.

4 Conclusion

Droop control method is largely adopted to enhance load sharing among paralleled converters in DC microgrid, thanks to its flexibility and modularity. This control is generally associated with PI controllers for the internal control of the output voltage and inductor current of the converter. However, for a renewable source based residential DC microgrid, energy production and load variability are unavoidable. Hence, with a system operating within a wide range operating points, PI controllers may not be robust enough.

Thus, in this paper, the parallel operation of two boost converters feeding a resistive load is investigated and compared considering a linear and nonlinear control of the internal variables of these converters. The cable resistances linking the converters to the DC bus are taken different and it has been shown that a non-negligible error load sharing occurs among the converters, whether the input voltages of the converters are identical or different in the case that the converters are paralleled without load sharing scheme. The load sharing capability of the system is compared through the first two scenarios. It has been shown that the application of droop control on the system gives almost identical results in steady-state operation, though the nonlinear-controlled system is faster with a higher inrush current at the initial time, compared to the linear-controlled one. The plug-and-play capability has been investigated through the third scenario. The results show that the nonlinear controlled system offers a faster and more stable performance during the transient compared to the linear controlled system.

In perspective, the application of droop control with the same system while considering a constant power load type will be investigated later.