• Channels
Part Inventory
Go
 
powered by:

 
  • Quick Poll
What Social Networking site do you use the most?



VOTE VIEW RESULTS
Previous Polls

Premium Content

New Signal Chain Technical Papers from Texas Instruments:

 

 

 

An Easy Way To Roll Your Own Programmable Power Supply


Print
Reprints Comment Subscribe

Adjusting the output voltage of a power supply is a feature typically reserved for highly integrated handheld power-management units (PMUs) with multiple integrated power supplies. You can implement this feature, however, with any power supply by adding a single resistor and an inexpensive digital-to-analog converter (DAC) (Fig. 1). While this technique isn’t new, the equations to select appropriate resistor values are rarely published.

Using nodal analysis on the circuit in Figure 1 provides the fundamental equations:

eq_02A.gif

You can easily derive the equations for the three resistors using these fundamental equations and the knowledge that the DAC voltage is inversely proportional to the output voltage. For example, when VOUT = VOL, then VDAC = VDACH, where VOL = the power supply's lowest output voltage and VDACH = full-scale DAC voltage.

Then, using Eq. 1 and Eq. 2:

So, when VOUT = VOH, then VDAC = VDACL, where VOH = highest output voltage and VDACL = zero-scale DAC voltage.

Again, using Eq. 1 and Eq. 2:

Substituting and solving for R1, R2, and R3 yields:

The circuit in Figure 2 uses the LM5116 power-supply controller, which has a threshold voltage of 1.215 V, to generate an arbitrary dynamic output voltage ranging between 0.6 V and 5.1 V. The output voltage is adjusted by the DAC081S101, which swings between 0 V and a reference of 5 V. The calculated resistor values for this example are R1 = 3.73 kO, R2 = 8.66 kO, and R3 = 9.1 kO.

Returning to the fundamental equations, you can calculate VO as a function of the DAC voltage, VDAC:

eq_08A.gif

The format of Eq. 8 is y = mx + b, which proves that the output voltage is a linear function of the DAC voltage. Figure 3 plots the measured output voltage versus the DAC voltage for the example resistor values calculated above.

When using this method to control your output voltage, ensure that the DAC can drive the chosen resistor values. A unity-gain operational amplifier may be needed to buffer the DAC output. Alternatively, choosing resistor values in excess of 10 k allows just about any DAC to meet this requirement. If you plan to program the output voltage to a value below that of the controller threshold voltage, the DAC must be able to drive a voltage higher than the threshold voltage.

Average (0 Ratings):

Subscribe
Subscribe to Electronic Design and start receiving more articles like this one
Filed Under:

Check for price and availability on Source ESB:

Go
powered by  
  • RPLaJeunesse
    2 years ago
    Jan 19, 2010

    Gee, if the DAC powers up at zero the supply starts at its maximum output. I bet that'll let some smoke out somewhere. Not good. Better to put an inverting amplifier between DAC and R3 so as to start at minimum output. Might also want to preload the supply a bit, lest the supply see too light a load to regulate well.

  • RPLaJeunesse
    2 years ago
    Jan 19, 2010

    Gee, if the DAC powers up at zero the supply starts at its maximum output. I bet that'll let some smoke out somewhere. Not good. Better to put an inverting amplifier between DAC and R3 so as to start at minimum output. Might also want to preload the supply a bit, lest the supply see too light a load to regulate well.

  • RPLaJeunesse
    2 years ago
    Jan 19, 2010

    Gee, if the DAC powers up at zero the supply starts at its maximum output. I bet that'll let some smoke out somewhere. Not good. Better to put an inverting amplifier between DAC and R3 so as to start at minimum output. Might also want to preload the supply a bit, lest the supply see too light a load to regulate well.

  • RPLaJeunesse
    2 years ago
    Jan 19, 2010

    Gee, if the DAC powers up at zero the supply starts at its maximum output. I bet that'll let some smoke out somewhere. Not good. Better to put an inverting amplifier between DAC and R3 so as to start at minimum output. Might also want to preload the supply a bit, lest the supply see too light a load to regulate well.

  • RPLaJeunesse
    2 years ago
    Jan 19, 2010

    Gee, if the DAC powers up at zero the supply starts at its maximum output. I bet that'll let some smoke out somewhere. Not good. Better to put an inverting amplifier between DAC and R3 so as to start at minimum output. Might also want to preload the supply a bit, lest the supply see too light a load to regulate well.

  • RPLaJeunesse
    2 years ago
    Jan 19, 2010

    Gee, if the DAC powers up at zero the supply starts at its maximum output. I bet that'll let some smoke out somewhere. Not good. Better to put an inverting amplifier between DAC and R3 so as to start at minimum output. Might also want to preload the supply a bit, lest the supply see too light a load to regulate well.

  • dschelle
    3 years ago
    Dec 30, 2009

    There are two typos listed in this article. They are:

    1. Equation #2 should read: I1 = I2 + I3
    2. Equation #8 should read: Vo = R2[(1/R1 + 1/R2 + 1/R3) * VTH - 1/R3 * VDAC]

  • dschelle
    3 years ago
    Dec 30, 2009

    There are two typos listed in this article. They are:

    1. Equation #2 should read: I1 = I2 + I3
    2. Equation #8 should read: Vo = R2[(1/R1 + 1/R2 + 1/R3) * VTH - 1/R3 * VDAC]

  • dschelle
    3 years ago
    Dec 30, 2009

    There are two typos listed in this article. They are:

    1. Equation #2 should read: I1 = I2 + I3
    2. Equation #8 should read: Vo = R2[(1/R1 + 1/R2 + 1/R3) * VTH - 1/R3 * VDAC]

  • dschelle
    3 years ago
    Dec 30, 2009

    There are two typos listed in this article. They are:

    1. Equation #2 should read: I1 = I2 + I3
    2. Equation #8 should read: Vo = R2[(1/R1 + 1/R2 + 1/R3) * VTH - 1/R3 * VDAC]

You must log on before posting a comment.

Are you a new visitor? Register Here
Acceptable Use Policy

Sponsored Links