Reliable power supply for AC loads