Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
An Easy Way To Roll Your Own Programmable Power Supply

Marc Davis-Marsh, Donald Schelle  |   ED Online ID #20515  |   January 29, 2009


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:

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 kΩ, R2 = 8.66 kΩ, and R3 = 9.1 kΩ.

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

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.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (180 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (168 views today)
    3) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (87 views today)
    4) GPS-Derived Grandmaster Clock Delivers Ultra-Precise Time And Frequency Sync
    (77 views today)
    5) Downconverting Mixers Lower Power Consumption While Improving Performance
    (62 views today)
    ALL TOP 20



    Reader Comments

    well written

    Anonymous -October 12, 2009

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    The Find Power Products monthly newsletter brings you the most important new developments within the world of power design. The newsletter includes exerpts from industry leader Sam Davis's exclusive blog, as well as overviews of the latest new products.

    Enter Email to Subscribe
      
    Web Seminar
    Sponsored By:
    Title: Exploring How Good GUIs Drive Adoption in the Digital Power Management Space
    Speakers: Don Tuite Deepak Savadaatt
    Date: 10/24/07
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources