Electronic Design

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


[Ideas For Design]
Digital Potentiometers Convert Voltage To Resistance

Ken Yang  |   ED Online ID #8055  |   June 7, 2004


Industrial controls and variable-bias circuits sometimes require the services of voltage-to-resistance converters. But they can be difficult to implement. The simple approach shown in the figure builds such a converter with two identical digital potentiometers.

Digital potentiometer U1 and comparator U3 form a digital track-and-hold circuit, in which U1 adjusts its internal voltage divider to make VWIPER track VIN. Therefore, wiper resistance is proportional to VIN. Because the digital inputs of U1 and U2 are connected together, U2 and U1 have the same wiper positions and the same resistances between corresponding terminals. Thus, the output resistance is proportional to VIN, as required for voltage-to-resistance conversion.

Operation of the digital track-and-hold is as follows: To track VIN, the wiper (center tap) of digital potentiometer U1 moves up or down as each clock pulse arrives. Comparator U3 compares the analog input (VIN) with the wiper voltage (VWIPER).

If VIN > VWIPER, the comparator asserts logic high, causing the wiper position to move up and increase the value of VWIPER. VWIPER keeps increasing until it's greater than VIN. Then the comparator toggles and drives the wiper position downward. On each clock cycle, the wiper moves up or down as required to track VIN. Reference inputs for the voltage divider (VH and VL) set the input voltage range: If the VIN range is 0 to 5 V dc, set VL = GND and VH = 5 V dc.

Because U1 and U2 are identical and their digital inputs are connected together, their wiper positions are the same. Applying a logic Low to the LOCK input allows the output resistance to change with VIN, while applying a logic High holds the resistance value indefinitely.

LOCK may be connected permanently to ground. In that case, though, the output resistance toggles continually between two consecutive states, even if VIN is constant. For example, if the potentiometer is 10 kΩ and you set the wiper to 5 kΩ, the output resistance will toggle between 5.0 and 5.3125 kΩ on every clock cycle. If necessary, you can filter that effect by connecting a capacitor to the output wiper. A clock frequency between 100 Hz and 10 kHz is acceptable.

Output resistance doesn't change instantly with VIN, but it takes a number of clock cycles to reach its final value. The number of cycles (32 max) depends on the initial wiper position and the input voltage.

If higher resolution is needed, substitute a 6- or 8-bit digital potentiometer for the 5-bit model shown. Choose a digital pot that has a known state at power-up. Note that the MAX5160 has a power-up reset that sets the wiper position to mid-scale, enabling the two digital pots to synchronize to the same resistance.


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


  • A New Design Inflection Point
  • Forecasting Industry Growth For 2009 And Beyond
  • EDA Retools To Exploit Multicore Architectures
  • Design And Verification Move Up In Abstraction
  • EDA Retools To Exploit Multicore Architectures
  • A New Design Inflection Point
  • Design And Verification Move Up In Abstraction
  • Challenges Lurk For 22-nm Physical Implementation
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (257 views today)
    2) 2008 BEST Electronic Design Winners
    (103 views today)
    3) 1-A Switching Regulators Operate With 96% Efficiency To Replace Linear Regulators
    (103 views today)
    4) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (89 views today)
    5) Microcontroller-Based Sine-Wave Generator Has Crystal Accuracy
    (88 views today)
    ALL TOP 20



    Reader Comments

    i want more information

    Anonymous -November 24, 2007

    Good

    Anonymous -September 15, 2005

    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