justDIY
Active Member
Has anyone experimented with using a PIC (or other mcu) as the brains behind a dc/dc converter?
Right now I'm working on a boost converter, using the pic's pwm generator to drive the switch and the a2d converter to measure current.
I just picked more or less random parts off my workbench to build the boost converter. Currently I am turning 5v into 30v, driving a string of 10 white LEDs at up to 20mA.
the problem I'm having is ripple in the output current is corrupting my A2D readings ... I measure about around 70mV peak to peak ripple. I have tried various combinations of capacitors on the input and the output. I've also found too much capacitance on the output makes the regulation unreliable, since it is slow to respond to changes in the switch duty cycle.
**broken link removed**
output ripple - this is an old picture before I started trying different capacitors
Here are some links to what I've done so far - feedback would be appericated.
Pic Based Boost Converter
Pic Based Boost Regulator
**broken link removed** #2 (different link)
Right now I'm working on a boost converter, using the pic's pwm generator to drive the switch and the a2d converter to measure current.
I just picked more or less random parts off my workbench to build the boost converter. Currently I am turning 5v into 30v, driving a string of 10 white LEDs at up to 20mA.
the problem I'm having is ripple in the output current is corrupting my A2D readings ... I measure about around 70mV peak to peak ripple. I have tried various combinations of capacitors on the input and the output. I've also found too much capacitance on the output makes the regulation unreliable, since it is slow to respond to changes in the switch duty cycle.
**broken link removed**
output ripple - this is an old picture before I started trying different capacitors
Here are some links to what I've done so far - feedback would be appericated.
Pic Based Boost Converter
Pic Based Boost Regulator
**broken link removed** #2 (different link)