Design and Implementation of the Battery Energy Storage System in DC Micro-Grid Systems

: The design and implementation of the battery energy storage system in DC micro-grid systems is demonstrated in this paper. The battery energy storage system (BESS) is an important part of a DC micro-grid because renewable energy generation sources are ﬂuctuating. The BESS can provide energy while the renewable energy is absent in the DC micro-grid. The circuit topology of the proposed BESS will be introduced. The design of the voltage controller and the current controller for the battery charger/discharger are also illustrated. Finally, experimental results are provided to validate the performance of the BESS.


Introduction
Reducing carbon emissions and mitigating the global warming are the main advantages of using renewable energy [1][2][3]. However, renewable energy fluctuates with its environmental parameters. Therefore, an AC microgrid [4][5][6] and a DC microgrid [7][8][9] are implemented to treat this issue. Renewable energy in a microgrid can be solar or wind power. Extra electricity can be stored in an energy storage system [10][11][12][13]. If the renewable energy sources are absent, the micro-grid will be stabilized via the energy storage system. In this paper, the battery energy storage system (BESS) is designed and implemented in a DC micro-grid.
Takagi-Sugeno Fuzzy [14], proposed by Takagi and Sugeno, is a control system based on fuzzy-logic. In T-S Fuzzy systems, a nonlinear system can be resembled by linear sub-systems. The controllers of the T-S Fuzzy system are designed on the concept of parallel-distributed compensation (PDC) [15]. Lyapunov theorem [16] can be applied to prove the stability of a T-S Fuzzy control system. The stability specifications are displayed in the form of linear matrix inequality (LMI). The T-S Fuzzy control applied to the DC-DC converter can be classified as buck [17] and boost [18] converters. Nevertheless, the non-ideal characteristics of the circuit elements are not treated in the literature. The non-ideal circuit elements are treated in this research to increase control precision and performance.
A battery energy storage system in DC micro-grid systems is designed and implemented. A BESS consists of the battery and the charger/discharger. A buck converter, combined with a boost converter, is implemented as the charger/discharger. If the battery needs to be charged, the buck converter is operated as a charger. Furthermore, the boost converter is operated as a discharger to release electric energy. In this paper, the BESS in the DC micro-grid system is first illustrated. Next, the circuit topology, considering non-ideal circuit models, is demonstrated. After that, the state equations of the BESS are obtained through the state-space average scheme. Then, the voltage and current controllers of the BESS are designed via T-S Fuzzy controls. The system stability of the BESS is proved and is proved and verified. The control performances of the voltage controller and current controller are validated by experimental results.

System Configuration
The system configuration of the DC micro-grid is shown in Figure 1. The developed battery energy storage system consists of the battery and the bidirectional DC/DC converter. Figure 2 shows the circuit configuration of the battery charger/discharger. The buck converter and boost converter is combined to form the bidirectional converter. In charging mode, the buck converter is operated with (M1, D2), while in discharging mode, the boost converter is operated with (M2, D1). The non-ideal circuit elements are included in the circuit configuration. The non-ideal elements include the equivalent series resistance (ESR) of the power switch ( ), the ESR of the inductor ( ), the ESR of the capacitor (     is proved and verified. The control performances of the voltage controller and current controller are validated by experimental results.

System Configuration
The system configuration of the DC micro-grid is shown in Figure 1. The developed battery energy storage system consists of the battery and the bidirectional DC/DC converter. Figure 2 shows the circuit configuration of the battery charger/discharger. The buck converter and boost converter is combined to form the bidirectional converter. In charging mode, the buck converter is operated with (M1, D2), while in discharging mode, the boost converter is operated with (M2, D1). The non-ideal circuit elements are included in the circuit configuration. The non-ideal elements include the equivalent series resistance (ESR) of the power switch ( ), the ESR of the inductor ( ), the ESR of the capacitor (

Charging Mode
At charging mode, the power switch M 2 is kept off. The duty ratio of the power switch M 1 is controlled to regulate the inductance current. When M 1 is turned on, the inductance will be magnetized and the inductance current rises. When M 1 is turned off, the diode D 2 will be forced to turn on. Then the inductance is de-magnetized and the inductance current will fall.
The state space average scheme can be used to find the state equations of charging mode: where R is the load resistance and D is the duty ratio of M 1 . The output is the inductance current:

Discharging Mode
At discharging mode, the power switch M 1 is kept off. The duty ratio of the power switch M 2 is controlled to regulate the output voltage. When M 2 is turned on, the inductance current rises. When M 2 is turned off, the diode D 1 will be forced to turn on. Then, the inductance current falls.
The state space average scheme is also used to find the state equations of discharging mode: where D is the duty ratio of M 1 . The output is the DC-link voltage:

Design of Current Controller and Voltage Controller
In charging/discharging mode, the current/voltage tracking error will converge to zero by defining a new state variable: where r is desired value of inductance current for charger and output voltage for discharger. By combining Equations (1), (2) and (5), the expanded state equations of the charger can be obtained as: Furthermore, by combining Equations (3)-(5), the expanded state equations of the discharger can be obtained as: For convenience, Equations (6) and (8) are represented in general state-equation form: .
where v(t) are the disturbances of the system. In the T-S fuzzy models, the nonlinear BESS are represented by linear sub-systems according to the model rules: Model rules i: If z 1 (t) is M i1 and . . . and z p (t) is M ip , then .
where u(t) are the control inputs, x(t) are the state variables, A i , B i are the state matrices of the sub-systems, M ip is the fuzzy set. In charging mode, i L is chosen as z p (t). In discharging mode, i L , V CDC are chosen as z p (t). The T-S fuzzy system of the BESS can be expressed after defuzzification: . where: and M ij (z j (t)) is the grad of membership. The PDC controllers of the BESS are expressed as: Control rules i: If Z 1 (t) is M i1 and . . . and z p (t) is M ip , then By substituting (14) into (12), the close-loop system are obtained: . According to state Equation (10), the BESS T-S fuzzy system with disturbances is found: .
To suppress the disturbances, the H ∞ performance index is defined: where γ is the disturbance suppression ability index.
To analyze the stability of the designed current and voltage controller, Lyapunov theorem [19] is applied to find the following LMI condition: where X is a positive definite matrix and X = P −1 , M j = F j X. Table 1 lists the specifications of the BESS. For buck mode, the H ∞ performance index is selected as γ = 0.7. For boost mode, the H ∞ performance index is selected as γ = 0.8. The controller gains F i are obtained by using the LMI toolbox in MATLAB.

Charging Mode
The load resistance is constant and the input voltage V DC is 380 V. The current commands are 5 A and 20 A. The inductance current and battery voltage at current command 5 A, load = 20 Ù (500 W), and current command 20 A, load = 5 Ù (2 kW) are shown in Figure 3a,b, respectively. It can be found that the inductance current can accurately track the command.
Next, the load is constant (10 Ù) and the input voltage V DC is also 380 V. The current command is variable 5 A → 10 A → 5 A. Figure 4 shows the inductance current and battery voltage with current command variation. It is clear that the inductance current tracks the command accurately.

Discharging Mode
The load resistance is constant and the input battery voltage VB is 100 V. Figure 5a,b shows the inductance current and DC-link voltage at load = 250 Ù (577.6 W) and 135.7 Ù (1.06 kW), respectively. It is obvious that the DC-link voltage can exactly track the command 380 V.
Next, the input voltage VB is 100 V, and the load is variable 250 Ù → 135.7 Ù → 250 Ù . Figure  6a,b shows the inductance current and DC-link voltage under load variation 300 Ù → 150 Ù and 150 Ù → 300 Ù . It can be seen that the DC-link voltage is well regulated under load variation.

Discharging Mode
The load resistance is constant and the input battery voltage VB is 100 V. Figure 5a,b shows the inductance current and DC-link voltage at load = 250 Ù (577.6 W) and 135.7 Ù (1.06 kW), respectively. It is obvious that the DC-link voltage can exactly track the command 380 V.
Next, the input voltage VB is 100 V, and the load is variable 250 Ù → 135.7 Ù → 250 Ù . Figure  6a,b shows the inductance current and DC-link voltage under load variation 300 Ù → 150 Ù and 150 Ù → 300 Ù . It can be seen that the DC-link voltage is well regulated under load variation.

Discharging Mode
The load resistance is constant and the input battery voltage V B is 100 V. Figure 5a,b shows the inductance current and DC-link voltage at load = 250 Ù (577.6 W) and 135.7 Ù (1.06 kW), respectively. It is obvious that the DC-link voltage can exactly track the command 380 V.
Next, the input voltage V B is 100 V, and the load is variable 250 Ù → 135.7 Ù → 250 Ù. Figure 6a,b shows the inductance current and DC-link voltage under load variation 300 Ù → 150 Ù and 150 Ù → 300 Ù. It can be seen that the DC-link voltage is well regulated under load variation.

Conclusions
A battery energy storage system in DC micro-grid systems is designed and implemented. T-S Fuzzy current control and voltage control of the BESS is introduced. The system stability with disturbance suppression ability is analyzed and shown. The performance of the current controller and voltage controller is verified via experimental results.
Author Contributions: The authors contributed equally to this work.

Conclusions
A battery energy storage system in DC micro-grid systems is designed and implemented. T-S Fuzzy current control and voltage control of the BESS is introduced. The system stability with disturbance suppression ability is analyzed and shown. The performance of the current controller and voltage controller is verified via experimental results.
Author Contributions: The authors contributed equally to this work.

Conclusions
A battery energy storage system in DC micro-grid systems is designed and implemented. T-S Fuzzy current control and voltage control of the BESS is introduced. The system stability with disturbance suppression ability is analyzed and shown. The performance of the current controller and voltage controller is verified via experimental results.