Randomly installed distributed generators (DGs) in households may cause unbalanced line current in a distribution network. This research presents a battery energy system for balancing of line current in a distribution network involving multi units of single phase photovoltaic (PV) distributed generators (DGs). In this paper, the PV generators were simulated consisting of a buck-boost DC/DC converter and single phase DC/AC inverter. It was connected to the distribution line through the low voltage 220 volt 50 Hz. The proposed phase balancing system uses battery energy storage and three single phase bidirectional inverters. The inverter is capable of injecting current or absorbing power from the line to the battery. This inverter operation is arranged to balance each distribution line separately, as well as to improve other power quality parameters, such as voltage and current harmonics. Simulation results show that the system was capable of improving the unbalanced line current from 15.59 % to 11, 48 % and unbalanced line voltage from 1.76 % to 0.58 %. The system was able for increasing current harmonics from 0.98 % to 1.03% and voltage harmonics from 38.96% to 39.08%.