Create a Time-Variable Dc Power Source

buckdcdc-transformerdc/dc converterswitch-mode-power-supply

For some reason, I need a Time-Variable DC power source that changes it's value according to time. I need this changing of value to be controllable.
I'll put it this way :
Say I have a 12 volt DC power source like a car battery.
In some point of time I need this value to be changed to 11 volts, then to 9 volts…etc to zero volts.
Then start the cycle backwards from zero to 1 volt, then it increases to reach 12 volts and this process is time-controlled and time-based.
I am somehow familiar with buck converters, and I know they step down the supplied voltage, but I want this step down and then backward cycle of reaching up the supplied voltage to be time-controlled. I need to be able to control the whole cycle of this time-variable DC source.

The question is:
Does such a circuit exist?
And if yes what are those circuits called?

Notice that I didn't specify any info about wattage or ampere for the circuit, but if this was a problem then I guess the example I presented gives some hints: 12 volts source power varying to zero then cycles backwards from zero to 12 volts.
Efficiency is needed as high as possible.

Thanks for contributing in any ideas that helps design or clarify the nature of the required circuit.

Best Answer

It sounds like you want a power supply that can be controlled externally. Fortunately, these exist, and they are called programmable power supplies. You can connect a laptop to them and send them commands using MATLAB or another scripting language through a GPIB interface. For example check out these power supplies, and this GPIB cable.

The company I work at uses a lot of programmable instruments combined with MATLAB to automate hardware tests.