Keywords

1 Introduction

The conflict in growing need of electricity and age old way of long distribution lines paves way for an economic alternative, namely the microgrids. A microgrid is a low-voltage network with small-scale power generation units, energy storage devices and loads [1]. The present trend in microgrid is the power generation from renewable energy sources. Microgrid with renewable resources can help to eradicate the environmental concerns due to fossil fuels. As the nature of renewable sources and the modern day load are predominantly DC, the need for a common DC interface arises. The integration of present AC utility grid and the DC sub-grids evolves a complex network of hybrid AC/DC microgrids [2]. The power conversion between the DC and AC interface is performed with the interlinking converters. These power converters act as a brain of the microgrids by controlling the voltage and current levels. The efficiency of power transfer in microgrid relies on the proper control strategy to control the operation of switching converters. Since the last decade, many researchers have suggested different control strategies for stable operation of microgrid [3, 4]. The conventional cascaded linear control and the droop control techniques are widely discussed for various configuration and operating scenarios of microgrid [5,6,7,8]. These techniques suffer from slow response, complex tuning of control parameters and inefficiency in accommodating multiple constraints. One of the main issues in employing renewable energy sources for generation is the intermittent nature of power output.

The linear controllers fail to dynamically adapt for the varying operating condition and the environment. Following the linear controllers, many works report the performance of the fuzzy [9] and neural network [10] controllers. These works majorly represents microgrid with single sources. Also, they emphasize on providing a clear knowledge about different operating scenarios to the controller. This makes the controller inefficient during uncertainties. As the renewable resources do not provide continuous power output, it is necessary to take care of reliability in power supply. The energy storage systems and other reliable energy sources can ensure the continuity of power supply in microgrid. The controller must promptly respond under all operating conditions, handling multiple sources and loads. In view of these necessities, the research studies have shifted the focus on nonlinear controllers. Certain nonlinear controllers, namely backstepping controller [11], sliding mode controllers, etc., have been widely discussed for both grid interfaced and standalone microgrids.

Among these controllers, the sliding mode control (SMC) strategy shows a fast dynamic response and ensures system stability. The SMC is featured by its robustness against any disturbances. In a previous research work [12], this controller is employed for power extraction in DC sources by tracking the parameters at device level of renewables. The control of power flow between the system and the battery is less reported. Though the SMC proves better when two wind energy conversion systems interact with the grid [13], both the machines will fail to supply the loads under less windy conditions. This can increase the burden on the grid. Also these works partly still rely on PI controllers for error tracking of parameters. This can deteriorate the performance of SMC. This controller is further reported for solar photovoltaic systems, and the performance is analyzed for standalone mode [14]. The power balance between the DG source and energy storage system with the help of SMC can prove to be a better solution in handling the uncertainties of the environment and other operating disturbances.

This paper aims to analyze the performance of SMC in a Wind PMSG-battery based standalone microgrid. The aim of our work is to employ the sliding mode control approach to obtain: (1) optimal power output from wind energy according to wind speed variations, (2) bidirectional power flow control between the battery storage system and the microgrid and (3) ensure stable operation of the microgrid under all operating conditions. Further sections present the description of components in microgrid, the modeling of each component with the corresponding power electronic converters, the application of sliding mode strategy and the discussion on results under a few operating scenarios.

2 Description of Proposed Wind-Battery Microgrid

In this paper, a standalone microgrid based on PMSG-battery system is presented, as shown in Fig. 1. The proposed system consists of PMSG-driven wind energy system, a switched mode rectifier, battery storage system with a bidirectional DC-DC converter, DC link capacitor, voltage source inverter, LC filters and AC-DC loads. A SMC-based controller is proposed to control the power electronics converters in the proposed system. Appendix I gives the detailed specifications of each component.

Fig. 1
figure 1

Proposed standalone microgrid

3 Modeling of Wind Energy Conversion Systems

A wind energy system as in Fig. 2 is modeled with a wind turbine driving the PMSG machine directly without any gear box. The output of the PMSG machine is controlled by employing a switched mode rectifier built with diode rectifier and DC-DC boost converter. A wind turbine system converts kinetic energy into mechanical energy to drive the electrical machine to generate power. The mechanical power extracted by the wind turbine is given by,

$$\begin{aligned} P_m = 0.5*\rho *C_p(\lambda ,\beta )*A*v_w^3 \end{aligned}$$
(1)

where \(C_{\text {p}}\) is the coefficient of performance, \(\lambda \) is the tip speed ratio (TSR), \(\beta \) is the pitch angle, A is the area of turbine blade (m\(^{2}\)), \(\rho \) is the air density (kg/m\(^{3}\)), and \(v_{\text {w}}\) is the wind velocity (m/s\(^{2}\)).

Fig. 2
figure 2

Wind energy system

To extract maximum power from the wind turbine, the optimum tip speed ratio required is,

$$\begin{aligned} \lambda _{\text {opt}} = \frac{\omega _w*r}{v_w} \end{aligned}$$
(2)

where \(\omega _{\text {w}}\) is the angular speed of the rotor (rad/s) and r is the turbine radius (m).

By substituting for wind speed \(v_{\text {w}}\) in (1), the optimum mechanical power from the turbine is obtained as,

$$\begin{aligned} P_m = 0.5\rho \pi r^5\frac{\omega _m^3}{\lambda _{\text {opt}}^3}C_{p\text {max}} \end{aligned}$$
(3)

where \(C_{p\text {max}}\) is the maximum power coefficient to achieve MPPT. Equation (3) can be written as,

$$\begin{aligned} P_{m-op} = K_{p-op}\omega _m^3 \end{aligned}$$
(4)

where

$$\begin{aligned} K_{p-op} = 0.5 \rho \pi r^5 \frac{C_{p\text {max}}}{\lambda _{op}^3} \end{aligned}$$

As per the torque power relationship, \( P_{m-op} = \omega _m T_{m-op} \), and from Eq. (4), the expression for optimum torque can be expressed as

$$\begin{aligned} T_{m-op} = K_{p-op} \omega _m^2 \end{aligned}$$
(5)

To extract the maximum power, by using optimum torque control (OTC) technique, a reference torque related to the reference current \(I_{w\text {ref}}\) is determined by the following equation:

$$\begin{aligned} I_{w\text {ref}} = \frac{T_{m-op} * \omega _m}{V_w} \end{aligned}$$
(6)

where \(V_{w}\) is the output DC voltage measured from the DC side of diode rectifier. The voltage and current equations for the DC-DC converter can be derived as follows:

$$\begin{aligned} \begin{bmatrix} \frac{\text {d}I_w}{\text {d}t}\\ \frac{\text {d}V_{\text {dc}}}{\text {d}t} \end{bmatrix} = \begin{bmatrix} -\frac{R_w}{L_W}&{} -(1 - d_1)\frac{1}{L_w}\\ (1-d_1)\frac{1}{C_{\text {dc}}} &{} 0 \end{bmatrix} \begin{bmatrix} I_w \\ V_{\text {dc}} \end{bmatrix}+\begin{bmatrix} \frac{1}{L_w}\\ 0 \end{bmatrix} V_w + \begin{bmatrix} 0\\ -\frac{1}{C_{\text {dc}}} \end{bmatrix}I_w^{\prime } \end{aligned}$$
(7)

where \(I_{\text {w}}\), \(V_{\text {dc}}\) and \(d_{1}\) are the wind current, DC link voltage and the pulse signal for boost converter switch \(S_{1}\), respectively.

4 Modeling of Battery Storage System

A lead acid battery is designed to balance the power in the microgrid system with proper discharging and charging using a bidirectional buck boost converter as shown in Fig. 3. The battery is coupled to the PMSG system at the DC link through the converter. The voltage and current equation of the converter can be written as:

(8)

where \(I_{\text {bat}}\), \(V_{\text {dc}}\) and \(d_{\text {23}}\) are the battery current, DC link voltage and the control signal for the switches \(S_{\text {2}}\) and \(S_{\text {3}}\) of the bidirectional converter.

Fig. 3
figure 3

Bidirectional battery converter

5 Sliding Mode Control of Wind and Battery Converters

Figure 4 shows the schematic implementation of sliding mode control. The main purpose of the controller discussed in this paper is:

  1. 1.

    DC bus voltage regulation at point of common coupling of wind and energy storage system.

  2. 2.

    Reliable supply to the AC loads in standalone mode.

Fig. 4
figure 4

Proposed controller structure

For proper control operation, the error tracking trajectories are given as:

$$\begin{aligned} \left\{ \begin{matrix} e_{1} \\ e_{2} \\ \end{matrix}\right\} = \left\{ \begin{matrix} x_{1} -x^{*}_{1} \\ x_{2} -x^{*}_{2} \\ \end{matrix}\right\} \end{aligned}$$
(9)

where \(x^{*}_{1}\) and \(x^{*}_{2}\) are the wind and battery reference currents. The basic necessity of a sliding mode controller is to define a sliding surface for each control parameter. The sliding surfaces are given by the error surfaces as:

$$\begin{aligned} S_{1} = e_{1} \end{aligned}$$
(10)
$$\begin{aligned} S_{2} = e_{2} \end{aligned}$$
(11)

Next, the derivative of the sliding surface is given as

$$\begin{aligned} \dot{S_{1}} = \dot{e_{1}} \end{aligned}$$
(12)
$$\begin{aligned} \dot{S_{2}} = \dot{e_{2}} \end{aligned}$$
(13)

Substituting for \(\dot{e_1}\) in (12) gives:

$$\begin{aligned} \dot{S_{1}} = \frac{V_w}{L_w} - \frac{R_w}{L_w}x_1 - (1-d_1)\frac{x_3}{L_w}-x_1^* \end{aligned}$$
(14)

To achieve stable operation, the derivative of surface must be selected as:

$$\begin{aligned} \dot{S_k} = -\rho _k \text {sgn}(S_k) \end{aligned}$$
(15)

where \(\rho _{\text {k}} > 0\) and \(k=1,2\). The sgn represents the signum function and can be written as:

$$\begin{aligned} \text {sgn}(x) = {\left\{ \begin{array}{ll} \frac{x}{|x|} &{} \text {x}\,\ne 0\\ 0 &{} \text {x=0} \end{array}\right. } \end{aligned}$$
(16)

By applying (15) in (14), the control law \(d_{1}\) can be obtained as

$$\begin{aligned} d_1 = \frac{L_w}{x_3}[-\rho _1\text {sgn}(S_1)-\frac{V_w}{L_w}+\frac{R_w}{L_w}x_1]+\frac{L_w}{x_3}[x_1^*]+1 \end{aligned}$$
(17)

The \(d_{1}\) is the duty cycle signal applied to the boost converter of wind energy system connected at the common DC bus. It is bounded by \(0< d_{1} < 1\). For a battery storage system, the derivative of sliding surface and the control law can be obatained as:

$$\begin{aligned} \dot{S_2} = \frac{V_{\text {bat}}}{L_{\text {bat}}} - \frac{R_{\text {bat}}}{L_{\text {bat}}}x_2 - x_3^* \end{aligned}$$
(18)
$$\begin{aligned} d_{23}=\frac{L_{\text {bat}}}{x_3} [\rho _2\text {sgn}(S_2) + \frac{V_{\text {bat}}}{L_{\text {bat}}} - \frac{R_{\text {bat}}}{L_{\text {bat}}}x_2]+\frac{L_{\text {bat}}}{x_3}{-x^*_2} \end{aligned}$$
(19)

where \(d_{23}\) is the duty cycle signal for the bidirectional converter between the battery and DC bus system. It is bounded between 0 and 1.

The control signals for the voltage source inverter are provided by the conventional DC control according to the implementation in [15].

6 Results and Discussion

The proposed control strategy was implemented in the MATLAB/SIMULINK platform, with detailed design of each system components in standalone microgrid. The wind speed and load disturbances are applied similar to the practical scenarios, in order to analyze the robustness of the sliding mode controller. Such variations are employed to show how effectively the proposed controller regulates the DC bus voltage. The controller performance is assessed under two conditions, namely (a) variable load and (b) fluctuating wind conditions. Combining these two scenarios, the stability of DC link, power balance by the energy storage system and optimal power extracted from wind were investigated. Figure 5 shows the variations in wind profile, and step changes in load are presented. The AC linear loads of 3, 2 and 2 kW are each stepped in at \(t =0\), 7 and 14s. The wind speed varies continuously withing the range of 11–13m/s.

Fig. 5
figure 5

Wind and load profile

Initially, the battery SOC is 65%. The constant load prevailing in the microgrid is 3 kW. The wind power generation is around 6 kW as per the PMSG machine rating. The excess power is employed to charge the battery. Figures 6a–b show the wind power generation and increase in battery SOC. At \(t = 7\) s, a load disturbance of 2kW is introduced. The battery still charges at a slower rate, while wind energy supplied to the change in load. Followed by this, another load of 2 kW is again introduced at \(t = 14\) s, where the load demand becomes higher than the generation. At this point, the battery starts to discharge and supports to maintain the power balance in the microgrid.

Fig. 6
figure 6

a Wind power. b Battery SOC. c DC link voltage. d PMSG torque. e Wind output current

During such continuous wind variations and step changes in load, the DC link voltage as shown in Fig. 6c is maintained constant. The stabilization of DC link voltage achieved by the sliding mode control strategy is compared with the conventional PI controller. From this comparison, it is seen that the overshoot due to proposed SMC controller is lower compared to the conventional controller. The table shows the time-domain specification comparison of the two controllers (Table 1).

Table 1 PI and SMC controller specifications

Figure 6d confirms the optimal torque control showing constant torque for the PMSG machine , which is achieved by tracking the diode rectifier output current (Fig. 6e) as per Eq. 6.

Under similar conditions of wind speed and load changes, the case of battery SOC of 95% is examined. In this scenario, during excess power generation, a dump load is introduced to balance the DC link voltage. Figure 7a shows that battery only discharges when there is a demand in power at \(t=14\) s with a 2 kW load disturbance. Until then, the battery remains ideal, diverting the power to the dump load. Figure 7b shows that the DC link voltage remains constant as balanced by the dump load. Figure 7c shows the dump load power support during excess generation duration of 0–14s. Figure 8 shows that the AC side load voltage is maintained with the load current variations according to the load profile.

Fig. 7
figure 7

a Battery SOC. b DC link voltage. c Dump load power

Fig. 8
figure 8

a Load voltage and b Load current

7 Conclusion

This paper presents the design and analysis of sliding mode controller for maintaining DC link voltage and power balance in the standalone hybrid AC/DC microgrid. The performance of the SMC is evaluated under certain scenarios in the SIMULINK environment. It is seen that the dynamics in wind profile and load changes are better addressed by the sliding mode controller in comparison to the PI controller. Also, the battery storage system effectively participates under excess and deficit power demands. The parameters of SMC can be tuned easier in comparison to the PI controllers. It is seen that though the SMC provides a better adaptation to disturbances, still further improvements are much necessary to tightly control the DC link voltage. To overcome such limitations, one or more reliable generation source could be further introduced for proper power balance. Also, the controller could be better designed to handle the higher order dynamics. Further, the control approach could be extended to the interaction of microgrid with utility grid and transition between islanded and grid-connected modes.