środa, 30 marca 2016

Digitally controlled power supply [2] - one does not simply make PSU

           I am ([Update 01-05-2016] rejuvenated and eager to find new opportunities! :) Finally The pcb arrived.) tried of chasing my desire to create the best, the cheapest, the smallest (and so one) power supply. Right now it's about 9 months since I've started thinking about it. There is no physical outcome for that work (except for valuable knowledge, of course). I have spent dozens of hours in LTspice, Kicad and Supplier's Website to have all worked out...

           I am not writing this, because I like to lament to others; rather I want that this entry will enforced me to make some progress.

I will update this every time I'll make something:

  • [30-03-2016] I'll create psu based on LB-28 ( http://www.ti.com/lit/an/snoa692/snoa692.pdf ) Some parts are obsolete, but I've found pin-to-pin replacements. Nevertheless I am little worried about compensation network...
  • [01-05-2016] PCB arrived. Waiting for components.


środa, 20 stycznia 2016

Digitally controlled power supply [1] - analog board

I've spent a huge amount of time making a PSU which satisfies my requirements:
  • voltage set and read resolution: ~1mV
  • current set and read resolution: ~1mA
  • set parameters controlled with ease by DAC.
  • easy readout by ADC
  • max current: ~ 2-3A 
  • max voltage: ~ 20-24V
  • possible to track outputs.
  • relatively cheap solution. (Linear Technology has an uber-sample program which allows you to send samples even if you have a commercial e-mail. (I've received samples while using Gmail).
I've focused the most onabsolute accuracy; other requirements were less important.

After gazillion of hours spending in LTspice I've managed to bring this monster alive:


The thing that drived me nuts the most was stabilizing feedback network. I don't know if it is property of high-side current measuring using LTspices macro-model, but every solution which utilized it, falls. So I've tried with low-side current sense. After some tweaking I released that this path doesn't make thing hairier - no addition OP amp I've used.

Program says about 0.2mV accuracy which is fairly optimistic prediction. I haven't done prototype already, but with my poor PCB routing skills; susceptibility to ground loops I don't except accuracy higher than 10mV.

There is link to file. If you wanna changed it or whatever, you are free to go:
my dropbox