Recent from talks
Contribute something
Nothing was collected or created yet.
Digital potentiometer
View on Wikipedia
A digital potentiometer (also called a resistive digital-to-analog converter,[1] or informally a digipot) is a digitally-controlled electronic component that mimics the analog functions of a potentiometer. It is often used for trimming and scaling analog signals by microcontrollers.
Design
[edit]
A digital potentiometer is built either from a resistor ladder integrated circuit or a digital-to-analog converter although a resistor ladder construction is the more common.[citation needed] Every step on the resistor ladder has its own switch which can connect this step to the output terminal of the potentiometer. The selected step on the ladder determines the resistance ratio of the digital potentiometer. The number of steps is normally indicated with a bit value e.g. 8 bits equals 256 steps; 8 bits is the most common, but resolutions between 5 and 10 bits (32 to 1024 steps) are available.[2] A digital potentiometer uses protocols like I²C or a Serial Peripheral Interface bus for signalling; some use simpler up/down protocols. Typical uses of digital potentiometers are in circuits requiring gain control of amplifiers (frequently instrumentation amplifiers), small-signal audio-balancing, and offset adjustment.
The resistor material is usually polysilicon or thin-film .[3]
Most digital potentiometers use only volatile memory, which means they forget their position when they are powered down (on power up they will report a default value, often their midpoint value) - when these are used, their last position may be stored by the microcontroller or FPGA to which they are interfaced. Some digipots do include their own non-volatile storage,[4] so their default reading on power up will be the same as they showed before they were powered down.[5]
Limitations
[edit]While quite similar to normal potentiometers, digital potentiometers are constrained by current limit in the range of tens of milliamperes. Also, most digital potentiometers limit the voltage range on the two input terminals (of the resistor) to the digital supply range (e.g. 0–5 VDC), so additional circuitry may be required to replace a conventional potentiometer, (although digital potentiometers with separate dual supply analog voltages are also available.)[6] Further, instead of the seemingly continuous control that can be obtained from a multiturn resistive potentiometer, digital potentiometers have discrete steps in resistance.
Another constraint is that special logic is often required to check for zero crossing of an analog AC signal to allow the resistance value to be changed without causing an audible click in the output for audio amplifiers. (Schematic needed)
Volatile digital potentiometers also differ from electro-mechanical ones in that on power up, the resistance will default to (possibly) a different value after a power cycle. Similarly, their resistance is only valid when the correct DC supply voltage is present. When voltage is removed, the resistance between the two end points and the (nominal) wiper are undefined. In an operational amplifier circuit, the off-state impedance of a real potentiometer can help stabilize the DC operating point of the circuit during the power-up stage. This may not be the case when a digital potentiometer is used.
Both electro-mechanical and digital potentiometers generally have poor tolerances (typically ±20%),[7] poor temperature coefficients[8] (up to many hundreds of ppm per degree C),[8] and a stop resistance that is typically about 0.5-1% of the full scale resistance. Note that stop resistance is the residual resistance when the terminal to wiper resistance is set to the minimum value.[citation needed]
With a digital potentiometer, the resistance might be depended on supply voltage.[7]
Digital potentiometer have a limited band width due to parasitic capacitance in device. Parts with lower end-to-end resistance typically have a greater band width.
The transmission gate/switching element in the digital potentiometer cause harmonic distortions.
A multiplying DAC used as a digital potentiometer can eliminate most of these limitations.[9] Typically a signal span of +15V to -15V is possible, with 16 bit control, i.e. 65535 discrete set points, and drift and non-linearity are negligible. However a DAC has to be initialised each time the system is powered on, which is typically done by software in an embedded microcontroller. A multiplying DAC can not be directly used as a rheostat (2 wire connection), but in that mode a digipot performs badly anyway, due to its temperature coefficient and resistance tolerance.[citation needed]
Applications
[edit]- LCD-contrast/brightness
- Sensor calibration
- Digital volume control
- Programmable comparators
- Programmable low/high-pass filters
Alternatives
[edit]See also
[edit]References
[edit]- ^ "Digital potentiometers - frequently asked questions". Analog Devices. Archived from the original on 2011-09-07.
- ^ "Digital Potentiometer Family Selection Guide". AD5207 - 2-channel 256-position digital potentiometer - datasheet (PDF) (Technical report). Analog Devices.
- ^ "Digital Potentiometers - Where and How to Use - Education". Analog Devices. 3 October 2014. Retrieved 14 May 2023.
- ^ "DS1855 Dual Nonvolatile Digital Potentiometer and Secure Memory". Analog Devices. 5 October 2001. Retrieved 14 May 2023.
- ^ "Dual Nonvolatile Digital Potentiometer and Secure Memory" (PDF). analog.com. Retrieved 14 May 2023.
- ^ "7/8-Bit Single, +36V (±18V) Digital POT with SPI Serial Interface and Volatile Memory" (PDF). Microchip. Retrieved 14 May 2023.
- ^ a b "Understanding Digital Potentiometer Resistor Variations" (PDF). Microchip. Retrieved 14 May 2023.
- ^ a b "DS1845/DS1855 Temperature Coefficient Analysis". Analog Devices. 7 June 2002. Retrieved 14 May 2023.
- ^ "Multiplying DAC makes programmable resistor". EDN. 24 June 1999. Retrieved 14 May 2023.
External links
[edit]Digital potentiometer
View on GrokipediaIntroduction
Definition and Basic Principles
A digital potentiometer, also known as a digipot, is a three-terminal electronic device that functions as a programmable variable resistor, adjusting resistance electronically through digital control signals rather than mechanical movement. It emulates the behavior of traditional analog potentiometers by serving as a voltage divider or rheostat, allowing precise control over electrical signals in circuits. Unlike mechanical potentiometers, which rely on a physical wiper sliding along a resistive element, digital potentiometers use integrated circuit (IC) technology to achieve this functionality without moving parts, thereby eliminating issues like wear, noise, and limited lifespan.[2][3][4] At its core, a digital potentiometer operates on the principle of resistance division, where a fixed total resistance is divided into discrete steps that can be selected via digital inputs to set the effective resistance between terminals. It typically provides programmable resistance values ranging from 0 Ω to several hundred kΩ, with the exact range depending on the device (common end-to-end resistances include 5 kΩ, 10 kΩ, 50 kΩ, and 100 kΩ). The digital input, often in the form of a binary code, determines the position of an electronic "wiper" along the internal resistive path, scaling or trimming analog signals such as voltages or currents in applications requiring fine adjustments. This discrete-step adjustment enables high-resolution control, with resolutions commonly at 256 or 1024 steps, allowing for accurate emulation of continuous analog variation while maintaining digital precision.[2][3][4] The device features three primary terminals: the high terminal (A), connected to one end of the resistive element; the low terminal (B), connected to the opposite end; and the wiper terminal (W), which provides the variable output tap point. In a basic schematic, the total resistance spans between A and B, with the wiper W electronically positioned to divide this resistance into a ratio set by the digital control, effectively creating a voltage divider where the output at W is proportional to the input across A and B. This setup allows the digital potentiometer to handle analog signals by attenuating or scaling them through the selected resistance steps, bridging digital control systems with analog circuitry in a reliable, non-mechanical manner. For instance, in voltage division, applying a voltage across A and B yields an output at W based on the wiper's position, without the need for equations here as they pertain to deeper technical analysis.[2][3][4]Historical Development
The concept of the potentiometer originated in the 19th century as a mechanical device for measuring electrical potential differences. In 1841, German physicist Johann Christian Poggendorff developed the first such instrument, which used a sliding contact along a resistive wire to compare voltages, laying the foundation for variable resistance applications.[5] Throughout the late 19th and early 20th centuries, improvements by figures like Latimer Clark and John Ambrose Fleming refined mechanical potentiometers into practical tools for instrumentation and control, but their reliance on physical contacts introduced issues like wear, noise, and limited lifespan in increasingly automated electronic systems by the mid-20th century.[5] Early efforts toward digital alternatives emerged in the 1960s, driven by the need for reliable, non-mechanical resistance adjustment in complex controls. A pivotal patent filed in 1966 by Westinghouse Electric Corporation described a digital potentiometer system using counters and switches to generate analog signals for applications like steam turbine regulation, marking an initial shift from manual rheostats to digitally controlled resistance.[6] The true commercialization of integrated circuit (IC)-based digital potentiometers arrived in the late 1970s and 1980s, coinciding with advances in complementary metal-oxide-semiconductor (CMOS) technology, which enabled low-power, precise resistor arrays controllable via digital inputs. Xicor Inc. introduced its E2POT line of nonvolatile digital potentiometers in 1985, featuring EEPROM-based memory for persistent settings and up/down increment controls, positioning them as solid-state replacements for mechanical trimmers in battery-powered and industrial devices.[7] Analog Devices followed with its first CMOS DigiPOTs in 1995, expanding the technology's accessibility through serial interfaces.[8] The 1990s saw widespread proliferation of digital potentiometers, particularly with integrated EEPROM for nonvolatility, allowing settings to be retained without power and facilitating calibration in automated systems.[7] By the 2000s, enhancements in resolution (up to 256 taps or more) and interfaces like I²C and SPI improved integration into microcontrollers, reducing size and power consumption while boosting precision for consumer electronics.[4] Post-2010 developments aligned with the rise of Internet of Things (IoT) devices, where compact, remotely adjustable digital potentiometers enabled smart sensors and adaptive controls in connected environments.[2] This evolution was propelled by the limitations of mechanical potentiometers, such as contact wear and susceptibility to vibration, versus the durability, repeatability, and automation compatibility of digital versions in precision applications like automation and telecommunications.[9] The market transitioned from niche industrial use to broad adoption, growing to USD 1.37 billion by 2024, reflecting demand for reliable electronic tuning in modern systems.[10]Technical Design
Internal Structure
The primary architecture of a digital potentiometer consists of a resistor ladder formed by a series of fixed resistors connected end-to-end between two terminals, typically labeled A and B, with CMOS analog switches that select specific tap points along the ladder to simulate the wiper position.[11][12] This resistor string design, akin to a string DAC configuration, allows for linear resistance adjustment by connecting the wiper terminal to one of the intermediate nodes via the switches, enabling precise division of the total resistance without mechanical components.[13] Alternative designs incorporate DAC-based structures, such as integrated R-2R ladders, to achieve resistance variation through current steering or voltage scaling, though these are less common in standalone digital potentiometers.[14] The resistor elements in the ladder are typically constructed from polysilicon or thin-film materials like nickel-chromium (NiCr) to ensure stability, low temperature coefficients (around 35-500 ppm/°C), and minimal noise.[15][16] These materials form uniform step resistors, with the end-to-end resistance between terminals A and B commonly ranging from 5 kΩ to 100 kΩ, such as 10 kΩ in many devices, though tolerances can reach ±20% across units.[11][12] The number of steps in the ladder varies, often providing 256 positions for 8-bit resolution, achieved through 255 or 256 individual resistors depending on the implementation.[17] The wiper mechanism is electronically simulated using a multiplexer of CMOS switches that connect the wiper terminal (W) to selected tap points on the resistor ladder, eliminating mechanical wear and contact issues inherent in analog potentiometers.[11][13] This switching array ensures monotonic resistance changes, with the inherent wiper resistance typically between 50 Ω and 100 Ω, varying with supply voltage and temperature (e.g., 60 Ω nominal at standard conditions, rising to 200 Ω at lower voltages).[12][17] Memory integration for position storage is usually implemented with volatile static RAM registers that hold the digital code for the wiper setting during operation, allowing up to 256 steps in standard 8-bit devices.[12] Non-volatile options, such as EEPROM, are available in select variants to retain the wiper position across power cycles, with automatic recall on startup and write endurance up to 50,000 cycles.[17][18] Schematic representations of the internal structure commonly depict a linear resistor array as a chain of equal-value resistors between A and B, with parallel CMOS switch branches at each tap connecting to the wiper, controlled by decoded digital inputs from the memory register.[11][13] Binary-weighted configurations use resistors scaled in powers of two to approximate logarithmic or non-linear responses, while R-2R ladder variants employ a repeating network of R and 2R elements with switches to balance currents for precise output, often integrated in more complex devices.[14]Control Interfaces and Operation
Digital potentiometers are controlled through various digital interfaces that enable precise adjustment of the wiper position. Common serial interfaces include the Inter-Integrated Circuit (I²C) protocol, which uses a 2-wire bus (SDA for data and SCL for clock) and supports addressable multi-device configurations, allowing up to 4 or more devices on the same bus depending on address pins.[19] The Serial Peripheral Interface (SPI) employs a 3- or 4-wire setup (MOSI for master-out-slave-in, MISO for master-in-slave-out, SCK for clock, and optional SS for slave select), offering faster data rates suitable for single-device or daisy-chained applications.[20] For simpler implementations, up/down pulse protocols utilize two pins: one to set the direction (up or down) and another to increment or decrement the wiper position incrementally, ideal for basic control without full serial overhead.[20] The operational sequence begins with power-up initialization, where the device undergoes a power-on reset (POR) lasting approximately 30 ms, after which non-volatile models load the last stored wiper position from EEPROM or non-volatile memory (NVM) to ensure consistent startup behavior.[21] Volatile types default to midscale (wiper at 50% of total resistance).[19] Command transmission follows via the selected interface: for serial protocols, the controller sends a device address byte, an instruction byte (specifying the register or action, such as RDAC select for wiper channel), and a data byte containing the 8-bit wiper code (0-255 for 256 steps).[19] The wiper updates immediately upon receipt of the data, with confirmation available through status bits in read-back operations or acknowledge signals during writes.[21] Resolution is typically implemented with 5 to 10 bits of control, corresponding to 32 to 1024 discrete steps along the resistor array, though 8-bit (256 steps) is most prevalent for balancing precision and complexity.[20] The wiper resistance is calculated as , where is the digital code (0 to ), is the number of bits, and is the end-to-end resistance; a small fixed wiper contact resistance (often 50-100 Ω) may add to this value for accuracy.[19] Power management features support supply voltages from 2.7 V to 5.5 V, enabling compatibility with common logic levels while maintaining low power operation.[19] Quiescent current is typically under 50 µA in active mode but drops below 1 µA in shutdown, where the device enters a low-power state by opening the A terminal and connecting the wiper to B, preserving settings in non-volatile types.[20] Shutdown can be triggered via a dedicated pin or software command in the control register.[19] A programming example for setting 50% resistance (wiper at midscale, code 128 for 8-bit resolution) via I²C on a device like the AD5241 involves the following pseudocode:Start [I²C](/page/I²C) transmission
Send target address byte (e.g., 0x2C for write, including device address)
Acknowledge from device
Send instruction byte (e.g., 0x00: select RDAC1, no shutdown or reset)
Acknowledge from device
Send data byte (0x80 for 128/256 = 50%)
Acknowledge from device
Stop [I²C](/page/I²C) transmission
Start [I²C](/page/I²C) transmission
Send target address byte (e.g., 0x2C for write, including device address)
Acknowledge from device
Send instruction byte (e.g., 0x00: select RDAC1, no shutdown or reset)
Acknowledge from device
Send data byte (0x80 for 128/256 = 50%)
Acknowledge from device
Stop [I²C](/page/I²C) transmission