Low cost, high reliability electric bicycle charger design