Pure Sine Wave Inverter with Battery Charger and Overload Protection