Control of Battery Charger for Electric Vehicles