Diode power supply