Design a simple DC power supply