PIC controlled power supply

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
Post Reply
DRCT
Posts: 13
Joined: Tue Dec 11, 2001 1:01 am
Location: U.S.
Contact:

PIC controlled power supply

Post by DRCT »

Anyone have a schematic for a PIC controlled power supply? I would like to build a power supply that could output a 0-20v, 0-10A and be varied via a PIC such as having the PIC output a 0-5v signal to vary the 0-20v P.S. output.
Any help appreciated!

<small>[ November 03, 2005, 10:30 AM: Message edited by: DRCT ]</small>
bodgy
Posts: 1044
Joined: Tue Dec 04, 2001 1:01 am
Location: Australia
Contact:

Re: PIC controlled power supply

Post by bodgy »

If you can get hold of a 2002 copy of Elektor electronics they had a Pic controlled power supply project.


Colin
On a clear disk you can seek forever.
User avatar
haklesup
Posts: 3136
Joined: Thu Aug 01, 2002 1:01 am
Location: San Jose CA
Contact:

Re: PIC controlled power supply

Post by haklesup »

I don't have a schematic but if I were to do this I would start with any variable PS with a potentiometer adjustment and then replace that with a digital pot like these from Maxim and drive that with the PIC. Add complexity by doing the same to the current limit and/or add a display.

If the PIC you choose has a D/A analog output, you can use that to drive a voltage reference instead of a digital pot. Naturally you need a PS circuit that adjusts using a low current refence voltage (tracking).You might be able to apply this to a LM317 type adjustable PS IC and drive the Adj pin directly.

(A schematic for a PIC circuit is incomplete without the PIC code anyway)
User avatar
philba
Posts: 2050
Joined: Tue Nov 30, 2004 1:01 am
Location: Seattle
Contact:

Re: PIC controlled power supply

Post by philba »

I don't believe there are PICs with DACs. However, you can use PWM to generate a variable voltage output. A low pass filter which has a very low F3db (10s of Hz) can eliminate the vast majority of the PWM induced ripple. You would want to use the highest possible PWM frequency as well.

It can be made to work suprisingly well for low frequency signals.
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests