Here i attach the circuit of voltage Regulator using LM317 IC. Here You can use max 3A current for this circuit.
You can use 12v battery, adapter, smps to power the circuit. And in the Output Terminal you get variable voltage nearly to your input voltage. Like by changing the Potentiometer Knob you can varry the voltage easily.
Here R1 is the Potentiometer Resistor.