PDA

View Full Version : 12bit Power Supply



ztoti
- 29th March 2011, 16:36
Hi,

I've uploaded to YouTube my new project - 12bit Power Supply with matrix display, PS2 keyboard ( I wrote the subrutine for it as well ). Please take a look, any comments are welcome.


http://www.youtube.com/watch?v=denryjAvtDA (http://www.youtube.com/watch?v=denryjAvtDA)

ScaleRobotics
- 29th March 2011, 17:38
That looks fantastic. Too bad it's Proton Basic though. Thanks for sharing.

ronsimpson
- 29th March 2011, 21:27
Very clever. What LCD did you use?
I have on my bench a Agilent N6705A that has many of he same functions. It only costs the price of a small car.

ztoti
- 30th March 2011, 16:10
Hi there,
Thanks for your comment. Anyway I used 128X64 Samsung KS0108 Graphic LCD and matrix keypad which I converted to PS2, or any PS2 numeric keypad.
Cheers

Ioannis
- 1st April 2011, 11:47
Interesting project.

Are you using PID to control the output voltage?

Ioannis

rmteo
- 20th April 2011, 19:17
I'm guessing from the thread title that OP is using an external DAC - so PID is not needed. The MCU's I use have a built-in (dual-channel) 12-bit DAC and I have done something similar. The DAC output is scaled to 2V full scale. An op-amp (rail-to-rail) buffer with 6x gain and a simple linear output stage gives 0-12V output with 3mV resolution.

Ioannis
- 20th April 2011, 23:03
If it is open loop, how is the output voltage regulated with the load?

Feedback is required, isn't it?

Ioannis

rmteo
- 21st April 2011, 02:18
That is the purpose of the op-amp/buffer as in the figure below - the DAC provides the Vin. The gain is changed by altering the values of the feedback resistor pair R1, R2. Gain = (R1+R2)/R2.
5366

Ioannis
- 21st April 2011, 11:18
OK, it is the Vref voltage of the loop that is controlled. So the PIC is not in the output voltage loop.

OK, it has some cons, but with a high resolution DAC it will work just fine.

In fact I ordered a couple of MAX5541, 16bit DACs to play with the idea and build a digital controled Power Supply. One for the voltage and the other for he current.

My dream I had from childhood...

Ioannis

rmteo
- 21st April 2011, 17:24
Using this method (MCU->Hi-Res DAC->Buffer/Amp), you can not only make the digitally controlled power supply of your childhood dreams but you can also turn it into a fully programmable unit that can generate all kinds of waveforms - very useful for test purposes. For example you can program it to generate stuff like sine, triangle, sawtooth, staircase and other custom waveforms. The trace below is a sine waveform generated by a 12-bit DAC. The timebase is 10uS/Div so the frequency is 40KHz.
5371

Ioannis
- 22nd April 2011, 23:58
Yeap, that is the main idea.

Not exactly to make a Power supply act like waveform generator but have it under some kind of profile control.

E.g. for test of regulators steping the input voltage or slow starting power to load and see if it resets normaly etc.

Ioannis

seifsaadaoui
- 22nd June 2012, 12:48
can some one send me the files please

Ioannis
- 22nd June 2012, 14:06
What files?

Ioannis

seifsaadaoui
- 22nd June 2012, 14:22
schematic for this power supply

seifsaadaoui
- 22nd June 2012, 14:23
there is a link in the start of video but it is a dead link :/

ScaleRobotics
- 22nd June 2012, 15:54
I never downloaded the "code". But it seems to just be a sales pitch, from reading the posts: http://www.protonbasic.co.uk/archive/index.php/t-54946.html

seifsaadaoui
- 22nd June 2012, 16:28
I never downloaded the "code". But it seems to just be a sales pitch, from reading the posts: http://www.protonbasic.co.uk/archive/index.php/t-54946.html
thanks for your help but i need schematic for this power supply and not the code i don't have problem with the code

chuck
- 22nd June 2012, 19:56
thanks for your help but i need schematic for this power supply and not the code i don't have problem with the code
If you go to that link scale posted and there is a link there where you can donwload the shcematic and PCB

Edit sorry just looked and it's and old version, I did have the schematic but would have to dig deep for it

shaman
- 23rd June 2012, 19:01
i am very interesting to this power supply? where I can download schematic of power supply

aswcenter
- 16th October 2014, 00:29
That looks fantastic. Too bad it's Proton Basic though. Thanks for sharing.