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
Posts: 13
Joined: Tue Dec 11, 2001 1:01 am
Location: U.S.

PIC controlled power supply

Post by DRCT » Thu Nov 03, 2005 10:28 am

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>

Posts: 1044
Joined: Tue Dec 04, 2001 1:01 am
Location: Australia

Re: PIC controlled power supply

Post by bodgy » Sat Nov 05, 2005 5:49 pm

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

On a clear disk you can seek forever.

User avatar
Posts: 3093
Joined: Thu Aug 01, 2002 1:01 am
Location: San Jose CA

Re: PIC controlled power supply

Post by haklesup » Mon Nov 07, 2005 12:10 pm

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
Posts: 2050
Joined: Tue Nov 30, 2004 1:01 am
Location: Seattle

Re: PIC controlled power supply

Post by philba » Mon Nov 07, 2005 3:12 pm

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 22 guests