AC and DC power supply circuit diagram