Battery Energy Storage System for PV Output Power Leveling

Fluctuating photovoltaic (PV) output power reduces the reliability in power system when there is a massive penetration of PV generators. Energy storage systems that are connected to the PV generators using bidirectional isolated dc-dc converter can be utilized for compensating the fluctuating PV power. This paper presents a grid connected energy storage system based on a 2kW full-bridge bidirectional isolated dc-dc converter and a PWM converter for PV output power leveling. This paper proposes two controllers: a current controller using the d-q synchronous reference and a phase-shift controller. The main function of the current controller is to regulate the voltage at the high-side dc, so that the voltage ratio of the high-voltage side (HVS) with low-voltage side (LVS) is equal to the transformer turns ratio. The phase-shift controller is employed to manage the charging and discharging modes of the battery based on PV output power and battery voltage. With the proposed system, unity power factor and efficient active power injection are achieved. The feasibility of the proposed control system is investigated using PSCAD simulation.


Introduction
Many countries are implementing PV solar panels as they are a clean and sustainable source to meet their power demands.However, the grid connected PV unit without energy storage unit can affect the utility grid in a negative manner due to the intermittent nature of PV.In order to solve this problem, integration of energy storage system to level the output power of PV is necessary [1][2][3][4].
There are many types of energy storage systems such as superconducting magnetic energy storage, flywheel, capacitor, battery, and pump hydrostorage.The battery energy storage device is modular, making it easy to be connected close to the point of load and the PV generators.Li-ion batteries have high energy density and are being increasingly used in battery connected PV systems [5].However, as long as it is employed for PV application, an efficient bidirectional system is required to perform the charging and discharging of the batteries.
Various configuration of a bidirectional isolated dc-dc converter has been investigated in [6].Bidirectional dc-dc converter can be categorized as isolated and nonisolated topologies.Although an isolated converter is more complicated and expensive than a nonisolated converter, it benefits the system safety, reliability, and flexibility.In addition, the full-bridge topology has a high efficiency, while providing minimum switching loss, improved EMI, and galvanic isolation for energy storage systems.It is also preferred due to its minimal voltage and current stress in high-power applications [7][8][9].The bidirectional full-bridge isolated dcdc converter is a reliable system with high efficiency for PV applications in order to remove probable fluctuations and stabilize the PV output.
As Figure 1 shows, typically, a battery energy storage system (BESS) consists of a battery bank, a bidirectional fullbridge isolated dc-dc converter, and a grid connected PWM converter.In addition to the power circuit of the converters, a reliable control system is required for two main purposes.Firstly, it is to manage the power flow in both directions, achieving charging and discharging modes of the battery.Secondly, it is to adjust the voltage of HVS with respect to the voltage of LVS of the converter so that the voltage ratio of the HVS with LVS is close to the transformer turns ratio [10].The voltage adjustment is necessary to decrease the peak switching current and the turn-off overvoltage across the semiconductor switches.
A 6 kW bidirectional isolated dc-dc converter connecting a Li-ion battery bank to the utility grid via a PWM converter PCC has been presented in [10,11].The paper in [11] mitigated the effects of the dc-bias currents in the high frequency transformer through the design of an air gap in the transformer.
The control method employed is feed-forward phase-shift modulation with no online voltage regulation of the HVS.Hence, the voltage ratio of the HVS with LVS was manually controlled so that it is close to the transformer turns ratio.This paper focuses on the overall control of the BESS which includes the controls of the bidirectional isolated dcdc converter and the PWM converter.This paper proposes two controllers for the BESS.The first part is a feedback controller that regulates the voltage of HVS DC capacitor based on the battery bank voltage and the second part determines the direction and the amount of the required BESS power based on the PV output power and battery bank voltage.Accordingly, while the 2 kW bidirectional isolated dc-dc converter operates to regulate the power at the PCC, the proposed control system continuously adjusts the voltages of HVS so that the voltage ratio of the HVS with LVS is close to the transformer turns ratio, resulting in increasing the converter efficiency.This paper verifies the proposed BESS for the application of PV output power leveling via simulation in PSCAD.interfaces the high-voltage side (HVS) of the dc-dc converter with the utility grid at the PCC via the switching ripple filters and AC inductors.A 20 kHz high frequency transformer with a turns ratio of 6 : 1 is utilized as it is small in size and light in weight.It also provides galvanic isolation to ensure system safety and reliability.The circuit configuration is similar to that in [10].However, this paper investigates the feasibility of the system in PV output power leveling via the proposed control system.Table 1 summarizes the parameters of the circuit in Figure 2. The operating voltage of the battery,   , is set between 50 V and 60 V and at the high-voltage side,  1 is   regulated between 300 V and 360 V to maintain the ratio of HVS and LVS close to the transformer turns ratio.The rated voltage of 60 V is selected taking into consideration user safety.The minimum voltage of 60 V is based on the specification of Li-ion battery available.The BESS is sized for active power injection at the PCC of up to 2 kW.The power transfer,   , of the bidirectional isolated dc-dc converter can easily be controlled by adjusting the phase-shift angle  between two AC voltages  1 and  2 as expressed as [12]

Power Circuit Configuration
where  1 is the high-side voltage,   is the battery voltage at the low-voltage side,  is the angular switching frequency, and  is the sum of the transformer leakage and auxiliary inductance referred to as the high-voltage side.In a practical system, the leakage inductance of the high-frequency transformer should be minimized to prevent the so-called spot heating on the transformer.In the simulation system, the leakage inductance of the transformer is neglected.
A start-up circuit, consisting of four circuit breakers, is employed to prevent a large inrush current flow into the dc capacitors, which will result in saturating the AC inductors in a practical system.Therefore, the start-up procedure is employed to charge capacitors  1 and  2 through 5 Ω and 20 Ω resistors connected on the utility and battery sides, respectively.

Overall Control System
Figure 3 presents the proposed overall control system.The proposed control system regulates the injected power at the PCC to be at 2 kW.The current control technique has been employed to regulate the voltage across dc-link capacitor  1 .Three-phase - axis transformation control strategy is employed to regulate the capacitor voltage of the PWM converter,  1 , based on the battery voltage   .In fact, this system monitors   and keeps  1 at a level where the voltage ratio between  1 and   is close to the transformer turns ratio.On the other hand, the phase shift controller considers output power of PV,  PV , to determine the desired output power from the BESS such that where in this paper  PCC = 2kW.The controller also considers the battery voltage,   , and the HVS capacitor voltage,  1 .Then it calculates the new phase shift angle, , needed to level the PV output power through battery charging or discharging.Note that for the purpose of simulation, the PV output power is assumed and the modelling of PV generation system is outside the scope of this paper.Figure 4 shows the verification flow chart of the power management system of the phase-shift controller in the battery energy storage system.The amount of active power required to compensate the PV output power is calculated by the phase-shift controller.Three PV output power conditions are considered during the operation of the proposed control system.In the first condition, the output power of PV is less than 2 kW.The controller checks the battery voltage to be between 50 V and 60 V (50 V <   ≤ 60V).Then the BESS operates in the discharging mode to compensate for the reduced PV output power.In the second condition, the output power of PV is 2 kW.In this case BESS goes to standby mode by changing the phase shift to zero.In the third condition, the output power of PV is more than 2 kW.The controller checks the battery voltage to be less than 60 V (  < 60 V).Then the BESS is charged to absorb the surplus power of PV.As shown in Figure 4, there are two other conditions where the BESS goes on standby mode: (i) when the battery voltage is less than 50 V and the  PV is less than 2 kW, (ii) when the battery voltage is more than 60 V and the  PV is more than 2 kW.This is to protect the Li-ion battery bank from being overcharged and over discharged [13].Apart from putting the BESS on standby, the excess power of PV can be discharged through a dump load [14].

Advances in Power Electronics
Starting sequence Check PV output power 3.1.Control Algorithm of PWM Converter.Figure 5 illustrates the equivalent circuit of PWM converter and grid.The proposed control system regulates the three phase currents,   ,   , and   to achieve unity power factor and to regulate the dc-link voltage at the PWM converter.A PLL has been employed for providing the grid phase angle information, .The PLL provides fast and accurate synchronization information with a high degree of immunity and insensitivity to disturbances, harmonics, unbalances, sags/swells, notches, and other types of distortions in the input signal.An accurate estimation of utility phase angle is critical for maintaining the power quality at the PCC.The Kirchhoff voltage law (KVL) can be applied to Figure 5, and the three-phase KVL equation is expressed as where V  is the three-phase voltage at the PCC,  sys ( AC +   +   ) is the total per phase series inductance, and V PWM is the three-phase output voltage of the PWM converter.The supply voltage can be defined as where V is the magnitude of the voltage at the PCC,  is the phase angle, and  is 2/3 for a balanced three-phase system.The proposed control system is based on the - transformation method.The  and  components of the three-phase current   ,   , and   are obtained using Park's transformation through the transformation matrix, The inverse of the Park's transformation matrix is defined as Using ( 5) and ( 6), equation ( 3) can be rewritten as

Phase-shift controller and gate signal generator
Gate driver  In a balance system, the zero sequence component is equivalent to zero and can be omitted, resulting in Equation ( 8) can be divided into The steady-state condition is achieved when the derivative terms of   / and   / are equal to zero.Then  PWM and  PWM can be obtained as Equations ( 10) are implemented as part of the control in Figure 6.The goal of the control system is to regulate the voltage of HVS dc-link capacitor,  1 , by controlling the line currents,   ,   , and   .To generate the reference direct component of current,  ref , the instantaneous battery voltage   is multiplied by the transformer turns ratio and is compared with the HVS capacitor voltage  1 .Then the error is passed through a proportional-integral controller, PI 1 .Therefore, the reference direct component of current is calculated as The quadrature reference current,  ref is set at zero to avoid any reactive power transfer.These two references are compared with the actual values of   and   and the differences are passed through two PI controllers, PI  the errors from the comparisons of - components of current into voltage value as where   is the measured magnitude of the grid voltage and   is almost zero.The gain from  sys is considered to provide the decoupling terms.The parameters   and   are tuned by trial and error method.Table 2 presents the parameter of each PI controller.Finally, the dq reference voltages are transformed to V ref , V ref , and V ref which are the sinusoidal reference voltages of the PWM generator.

Control Algorithm of the Bidirectional Isolated dc-dc Converter.
Figure 7 shows the control system of the bidirectional isolated dc-dc converter.The battery is charged or discharged through the bidirectional isolated dc-dc converter connected to the PWM converter.Based on this concept, the control system determines the desired BESS power as in (2) in order to regulate the injected power at the PCC at 2 kW as the PV output power varies.The battery power is assumed to be equal to the power transfer   .The measured values of  PV ,  1 , and   are employed to compute the phase-shift angle  for the required battery charging power as and the phase-shift angle for the required battery discharging power as In the phase-shift controller block, it generates 8 gate signals for the gate driver.The gate driver amplifies the signals and sends it to the full bridge converter.

Simulation Method.
A simulation model with the control system is built using PSCAD based on Figures 2 and 3.The circuit parameters and gains in Tables 1 and 2 are used, respectively.The rated output power of the BESS is 2 kW, for a PV generation system rated at 2 kW.The rms voltage of the grid is 200 V and its rated frequency is 50 Hz.The switching frequency of the PWM converter is 10 kHz and for the bidirectional isolated dc-dc converter it is 20 kHz.The simulation duration is 3.5 s and the time step is 0.3 s.
Table 3 shows the operating sequence of the circuit breakers during startup.When the charging or discharging mode begins, the startup control circuit closes circuit breakers 1 and 4. The voltage across the high-voltage capacitor,  1 , increases and stabilizes at 270 V causing circuit breaker 2 to operate.Then, the control system starts to regulate  1 to 360 V, provided that the battery voltage is 60 V.As soon as  1 is adjusted at 360 V, circuit breaker 3 will be closed and the BESS will operate as per the requirement of the system.

Simulation Waveforms
Figure 8 illustrates the battery voltage at 60 V, 55 V, and 50 V. Figure 9 shows that the capacitor voltage  1 is regulated to 360 V, 330 V, and 300 V to correspond to the change in the battery voltage.The initial voltage of  1 is 270 V because of the start-up sequence.The total duration for the start-up sequence to charge  1 from 0 to 270 V is 1.17 s.The start-up sequence only occurs once at the beginning.When the BESS is in the standby mode, no start-up sequence is required.
Figure 10 illustrates the operation of the BESS with varying PV output power.The simulation assumes that the battery voltage is constant at 60 V and subsequently voltage  1 is regulated at 360 V by operation of the control system.
The output power of  PV is 2 kW at  = 0 s.The BESS start-up circuit operates and the voltage of HVS capacitor is regulated to 360 V in 1.17 s.Therefore, the output power from the BESS is equal to zero in this period.At  = 1.17 s  PV = 1 kW, phase-shift angle  is increased from 0 to 0.214 rad, so that   = 1 kW to mitigate the power at the  PCC to 2 kW.At  = 2 s, the PV is not injecting any power and phase-shift angle is increased to 0.469 rad.Therefore, the BESS transfers 2 kW to the PCC.
Figure 11 illustrates the operation of the BESS during changes of the solar output power.Four step changes have been employed.The battery voltage is assumed to be constant at 55 V.The BESS provides 1 kW from  = 0 s to  = 1 s.The BESS transfers 2 kW from  = 1 s to  = 2 s, between  = 2 s and  = 3 s, it transfers 1.5 kW, and between  = 3 s and  = 4 s it provides 1 kW to level the PV output power at the PCC.
Figure 12 presents the operation of the BESS during both charging and discharging modes.The simulation assumes  that the battery voltage is constant at 55 V. Between  = 0 s and  = 1.5 s, the PV is producing  PV = 1 kW.The controller of the BESS detects the power which is less than 2 kW.Therefore, the BESS operates to discharge the battery by changing  from 0 to 0.259 rad, so that the BESS discharges power of 1 kW and mitigates the power at the  PCC to 2 kW.Between  = 1.5 s and  = 3 s, the output of PV increases to 3 kW.In this mode, the control system detects the output of PV that exceeded 2 kW and battery voltage which is less than 60 V. Therefore, it changes the direction of power and charges the battery bank.So that   = −1 kW to mitigate the power at the  PCC to 2 kW.When the battery voltage is 60 V, the BESS will go on standby mode.Figure 13(a) presents the three phase AC current during the operation of the control system.Figure 13(b) shows the transient of the AC current.The transient lasted for 110 ms and the peak of the transient current is 10 A. Figure 13(c) shows the AC output voltage of the BESS.The THD of voltage during charging of the  1 is around 0.7% and during the discharging operation of the dc-dc converter the THD it is negligible.
Figure 14 shows the AC voltage and AC current during the operation of the BESS at the rated power 2 kW and battery voltage 60 V.The synchronized voltage and current waveforms show that the power factor is unity.As explained in Section 3, the control system converges   to zero.Therefore, the system works with unity power factor.
Figure 15 shows the AC voltage and current waveforms at the HVS and LVS of the transformer when the power transfer is changed from 1 kW to 2 kW.There are changes to the phase-shift angles from 0.214 rad to 0.504 rad during the change in power transfer requirement.The input and output voltages of transformer are close to the transformer turns ratio.

2 AdvancesFigure 1 :
Figure 1: Battery energy storage and PV systems connected to the utility grid.

Figure 2
Figure 2 shows the battery bank connected at the low-voltage side (LVS) of the 2 kW dc-dc converter.The PWM converter

Figure 3 :
Figure 3: Configuration of the proposed control system.

Figure 4 :Figure 5 :
Figure 4: The verification flow chart to ascertain the BESS to be in standby, charging, or discharging mode.

Figure 6 :
Figure 6: Current control of the PWM converter.

Figure 7 :
Figure 7: Phase shift angle control of the bidirectional isolated dc-dc.

Figure 10 :
Figure 10: Simulation waveforms of the step PV output change from 2 kW to 0 kW.(a) Battery voltage.(b) High-voltage-side capacitor voltage.(c) Phase-shift angle.(d) High-side dc current.(e) BESS DC power.(f) PV output power.(g) BESS AC output power.

Figure 12 :
Figure 12: Simulation waveforms of the step PV output change from 1 kW to 3 kW.(a) Battery voltage.(b) High voltage side capacitor voltage.(c) Phase shift angle.(d) High-side dc current.(e) Battery current.(f) BESS DC power.(g) PV output power.(h) BESS AC output power.

Figure 13 :
Figure 13: (a) Three-phase AC current.(b) Enlarged waveform of the three-phase AC current during a transient condition.(c) Three-phase AC voltage.

Figure 14 :
Figure 14: AC voltage and current of phase A during the operation of the BESS.
Figure 15(c) shows flat top current.It reduces the rate of change of currents  1 and  2 over the time interval

Table 1 :
Circuit parameters of the bidirectional isolated dc-dc converter.

Table 2 :
The gains of the three PI controllers.