This circuit variable power supply with adjustable current limit using three terminal adjustable regulator LM117 which is used to regulate current and the voltage limits. Variable power supply input range is between 32 V to 40 VDC and can provide outputs up to 25 VDC and provide currents up to 1.2 A
Dioda D2 and D3 and Q2 are added to allow adjustment of output voltage to 0 volts. D1 protect both LM117 during an input short circuit
Parts list : R1 : 240 VR1 : 1K VR 2 : 5K C1 : 0.1uF C2 : 1uF Tantalum D1 : 1N4002 D2..D6 : 1N4001 Q1 : 2N3822 Q2 : 2N5640 IC1, IC2 : LM117