64 positions OTP (one-time programmable)1 set-and-forget resistance setting—low cost alternative over EEMEM Unlimited adjustments prior to OTP activation 5 kΩ, 10 kΩ, 50 kΩ, 100 kΩ end-to-end resistance Low tempco 5 ppm/oC in potentiometer mode Low tempco 35 ppm/°C in rheostat mode Compact standard SOT-23-8 package Low power, IDD = 8 µA max Fast settling time, ts = 5 µs typ in power-up I2C compatible digital interface Computer software replaces µc in factory programming applications Full read/write of wiper register Extra I2C device address pin Power-on preset to midscale 6 V one-time programming voltage Low operating voltage, 2.7 V to 5.5 V OTP validation check function Automotive temperature range −40°C to +125°C APPLICATIONS a mechanical trimmer). When this permanent setting is achieved, the value will not change regardless of supply variations or environmental stresses under normal operating conditions. To verify the success of permanent programming, Analog Devices patterned the OTP validation such that the fuse status can be discerned from two validation bits in read mode. For applications that program AD5171 in the factories, Analog Devices offers a device programming software, which operates across Windows® 95 to XP® platforms including Windows NT®. This software application effectively replaces the need for external I2C controllers or host processors and therefore significantly reduces users’ development time. An AD5171 evaluation kit is available, which includes the software, connector, and cable that can be converted for the factory programming applications. The AD5171 is available in a compact SOT-23-8 package. All parts are guaranteed to operate over the automotive temperature range of −40°C to +125°C. Besides its unique OTP feature, the AD5171 lends itself well to other general-purpose digital potentiometer applications due to its temperature performance, small form factor, and low cost. Systems calibrations Electronics level settings Mechanical potentiometers and trimmers® replacements Automotive electronics adjustments Gain control and offset adjustments Transducer circuits adjustments Programmable filters up to 1.5 MHz BW SCL SDA W AD0 B WIPER REGISTER VDD GENERAL DESCRIPTION GND The AD5171 is a 64-position, one-time programmable (OTP) digital potentiometer2, which employs fuse link technology to achieve the memory retention of resistance setting function. OTP is a cost-effective alternative over the EEMEM approach for users who do not need to reprogram new memory setting in the digital potentiometer. This device performs the same electronic adjustment function like most mechanical trimmers and variable resistors do. The AD5171 is programmed using a 2-wire I2C compatible digital control. It allows unlimited adjustments before permanently setting the resistance value. During the OTP activation, a permanent fuse blown command is sent after the final value is determined; therefore freezing the wiper position at a given setting (analogous to placing epoxy on A I2C INTERFACE AND CONTROL LOGIC FUSE LINK AD5171 03437-0-001 FEATURES Figure 1. Functional Block Diagram W 1 VDD 2 AD5171 8 A 7 B TOP VIEW 6 AD0 (Not to Scale) 5 SDA SCL 4 GND 3 03437-0-002 Preliminary Technical Data 64-Position OTP Digital Potentiometer AD5171 Figure 2. Pin Configuration 1 One-time programmable (OTP) - Unlimited adjustments before permanent setting. 2 The terms digital potentiometer and RDAC are used interchangeably. Rev. PrC Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.326.8703 © 2003 Analog Devices, Inc. All rights reserved. Preliminary Technical Data AD5171 TABLE OF CONTENTS AD5171—Electrical Characteristics .............................................. 3 I2C Controller Programming................................................ 15 Absolute Maximum Ratings............................................................ 5 Controlling Two Devices on One Bus ..................................... 16 ESD Caution.................................................................................. 5 Applications..................................................................................... 17 Pin Configuration and Functional Descriptions.......................... 6 Programmable Voltage Reference (DAC) ............................... 17 Typical Performance Characteristics ............................................. 7 Gain Control Compensation .................................................... 17 Theory of Operation ...................................................................... 11 Programmable Voltage Source with Boosted Output............ 17 One-Time Programming (OTP) .............................................. 11 Level Shifting for Different Voltage Operation ...................... 17 Determining the Variable Resistance and Voltage ................. 11 Resistance Scaling ...................................................................... 17 Rheostat Mode Operation..................................................... 11 Resolution Enhancement .......................................................... 18 Potentiometer Mode Operation ........................................... 12 RDAC Circuit Simulation Model ............................................. 18 ESD Protection ........................................................................... 12 AD5171 Evaluation Board ........................................................ 19 Terminal Voltage Operating Range.......................................... 13 Outline Dimensions ....................................................................... 20 Power-Up/Power-Down Sequences......................................... 13 Ordering Guide .......................................................................... 20 Power Supply Considerations ................................................... 13 Controlling the AD5171 ............................................................ 14 Software Programming ......................................................... 14 REVISION HISTORY Revision 0: Initial Version Rev. PrC | Page 2 of 20 Preliminary Technical Data AD5171 ELECTRICAL CHARACTERISTICS Table 1. 5 kΩ, 10 kΩ, 50 kΩ, and 100 kΩ versions, VDD = 3 V to 5 V ± 10%, VA = VDD, VB = 0 V, −40°C < TA < +125°C, unless otherwise noted. Parameter DC CHARACTERISTICS RHEOSTAT MODE Resistor Differential Nonlinearity2 Resistor Integral Nonlinearity2 Nominal Resistor Tolerance3 Resistance Temperature Coefficient Wiper Resistance DC CHARACTERISTICS POTENTIOMETER DIVIDER MODE (Specifications apply to all RDACs) Resolution Differential Nonlinearity4 Integral Nonlinearity4 Voltage Divider Temperature Coefficient Full-Scale Error Zero-Scale Error RESISTOR TERMINALS Voltage Range5 Capacitance6 A, B Capacitance6 W Common-Mode Leakage DIGITAL INPUTS Input Logic High (SDA and SCL) Input Logic Low (SDA and SCL) Input Logic High (AD0) Input Logic Low (AD0) Input Current Input Capacitance6 DIGITAL OUTPUTS Output Logic Low (SDA) Three-State Leakage Current (SDA) Output Capacitance6 POWER SUPPLIES Power Supply Range OTP Power Supply7 Supply Current OTP Supply Current8 Power Dissipation9 Power Supply Sensitivity Symbol Conditions Min Typ1 Max Unit R-DNL RWB, VA = No Connect, RAB = 10 kΩ, 50 kΩ, and 100 kΩ RWB, VA = No Connect, RAB = 5 kΩ RWB, VA = No Connect, RAB = 10 kΩ, 50 kΩ, and 100 kΩ RWB, VA = No Connect, RAB = 5 kΩ –0.5 ±0.2 +0.5 LSB –1 ±0.25 +1 LSB –1 ±0.25 +1 LSB –1.5 ±0.5 +1.5 LSB +30 % ppm/°C Ω R-INL ∆RAB/RAB (∆RAB/RAB)/∆T RW N DNL INL (∆VW/VW)/∆T VWFSE VWZSE VA, B, W CA, B CW ICM VIH VIL VIH VIL IIL CIL VOL IOZ COZ VDD VDD_OTP IDD IDD_OTP PDISS PSSR –30 35 60 VDD = 5 V –0.5 –1 Code = 0x20 Code = 0x3F Code = 0x00, RAB=10 kΩ, 50 kΩ, and 100 kΩ Code = 0x00, RAB = 5 kΩ –1.5 0 VDD = 3 V VDD = 3 V VIN = 0 V or 5 V +0 1.5 Bits LSB LSB ppm/°C LSB LSB 2 LSB VDD 25 V pF 55 pF 1 nA ±0.1 ±0.2 5 -0.5 0.5 0 With respect to GND f = 1 MHz, measured to GND, Code = 0x20 f = 1 MHz, measured to GND, Code = 0x20 VA = VB = VDD/2 115 0.7 VDD –0.5 3.0 0 6 +0.5 +1 VDD+0.5 0.3VDD VDD 1.0 ±1 V V V V µA pF 0.4 ±1 V µA pF 4 5.5 6.5 8 0.02 +0.001 0.04 +0.025 V V µA mA mW %/% 3 IOL = 6 mA VIN = 0 V or 5 V 3 TA = 25°C VIH = 5 V or VIL = 0 V VDD_OTP = 6 V, TA = 25°C VIH = 5 V or VIL = 0 V, VDD = 5 V 2.7 6 100 −0.025 Rev. PrC | Page 3 of 20 Preliminary Technical Data AD5171 Parameter DYNAMIC CHARACTERISTICS 6, 10, 11 Bandwidth –3 dB Symbol Conditions Total Harmonic Distortion BW_5k BW_10k BW_50k BW_100k THD Adjustment Settling Time tS1 OTP Settling Time12 tS_OTP Power-up Settling Time—Post Fuses Blown tS2 Resistor Noise Voltage eN_WB RAB = 5 kΩ, Code = 0x20 RAB = 10 kΩ, Code = 0x20 RAB = 50 kΩ, Code = 0x20 RAB = 100 kΩ, Code = 0x20 VA =1 V rms, RAB = 10 kΩ, VB = 0 V DC, f = 1 kHz VA= 5 V ± 1 LSB error band, VB = 0, measured at VW VA = 5 V ± 1 LSB error band, VB = 0, measured at VW VA = 5 V ±1 LSB error band, VB = 0, measured at VW RAB = 5 kΩ, f = 1 kHz, Code = 0x20 RAB = 10 kΩ, f = 1 kHz, Code = 0x20 INTERFACE TIMING CHARACTERISTICS (Applies to all parts6,12) SCL Clock Frequency tBUF Bus Free Time between Start and Stop tHD;STA Hold Time (Repeated Start) fSCL t1 t2 tLOW Low Period of SCL Clock tHIGH High Period of SCL Clock tSU;STA Setup Time for Start Condition tHD;DAT Data Hold Time tSU;DAT Data Setup Time tF Fall Time of Both SDA and SCL Signals tR Rise Time of Both SDA and SCL signals tSU;STO Setup Time for Stop Condition t3 t4 t5 t6 t7 t8 t9 t10 Min Typ1 Max 1500 600 110 60 0.05 kHz kHz kHz kHz % 5 µs 400 ms 5 µs 8 nV/√Hz 12 nV/√Hz 400 After this period, the first clock pulse is generated 1.3 0.6 1.3 0.6 0.6 50 0.9 0.1 0.3 0.3 0.6 1 Unit kHz µs µs µs µs µs µs µs µs µs µs Typicals represent average readings at 25°C and VDD = 5 V. Resistor position nonlinearity error R-INL is the deviation from an ideal value measured between the maximum resistance and the minimum resistance wiper positions. R-DNL measures the relative step change from ideal between successive tap positions. Parts are guaranteed monotonic. 3 VAB = VDD, Wiper (VW) = No connect. 4 INL and DNL are measured at VW with the RDAC configured as a potentiometer divider similar to a voltage output DAC. VA = VDD and VB = 0 V. DNL specification limits of ±1 LSB maximum are guaranteed monotonic operating conditions. 5 Resistor terminals A, B, W have no limitations on polarity with respect to each other. 6 Guaranteed by design and not subject to production test. 7 Different from operating power supply, power supply for OTP is used one-time only. 8 Different from operating current, supply current for OTP lasts approximately 400 ms for one-time needed only. 9 PDISS is calculated from (IDD × VDD). CMOS logic level inputs result in minimum power dissipation. 10 Bandwidth, noise, and settling time are dependent on the terminal resistance value chosen. The lowest R value results in the fastest settling time and highest bandwidth. The highest R value result in the minimum overall power consumption. 11 All dynamic characteristics use VDD = 5 V. 12 Different from settling time after fuse is blown. The OTP settling time occurs once only. 2 t6 t9 t8 SCL t4 t2 t3 t5 t9 t10 t7 SDA t1 P S P Figure 3. Interface Timing Diagram Rev. PrC | Page 4 of 20 03437-0-024 t8 Preliminary Technical Data AD5171 ABSOLUTE MAXIMUM RATINGS Table 2. Parameter VDD to GND VA, VB, VW to GND Maximum Current IWB, IWA Pulsed IWB Continuous (RWB ≤ 1 kΩ, A open)1 IWA Continuous (RWA ≤ 1 kΩ, B open)1 Digital Inputs and Output Voltage to GND Operating Temperature Range Maximum Junction Temperature (TJ max) Storage Temperature Lead Temperature (Soldering, 10 sec) Vapor Phase (60 sec) Infrared (15 sec) Thermal Resistance2 θJA Rating –0.3, +7 V GND, VDD ±20 mA ±5 mA ±5 mA 0 V, VDD –40°C to +125°C 150°C –65°C to +150°C 300°C 215°C 220°C 230°C/W Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other condition s above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 1 Maximum terminal current is bounded by the maximum applied voltage across any two of the A, B, and W terminals at a given resistance, the maximum current handling of the switches, and the maximum power dissipation of the package. VDD = 5 V. 2 Package Power Dissipation = (TJ max – TA) / θJA ESD CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Rev. PrC | Page 5 of 20 Preliminary Technical Data AD5171 W 1 VDD 2 AD5171 8 A 7 B TOP VIEW 6 AD0 (Not to Scale) 5 SDA SCL 4 GND 3 03437-0-003 PIN CONFIGURATION AND FUNCTIONAL DESCRIPTIONS Figure 4. SOT-23-8 Table 3. Pin Function Descriptions Pin No. 1 2 Mnemonic W VDD 3 4 5 6 7 8 GND SCL SDA AD0 B A Description Wiper Terminal W. GND ≤ VW ≤ VDD. Positive Power Supply. Specified for operation from 2.7 V to 5.5 V. For OTP programming, VDD needs to be a minimum of 6 V and 100 mA driving capability. Common Ground. Serial Clock Input. Requires pull-up resistor. Serial Data Input/Output. Requires pull-up resistor. I2C Device Address Bit. Allows maximum of two AD5171s to be addressed. Resistor Terminal B. GND ≤ VB ≤ VDD. Resistor Terminal A. GND ≤ VA ≤ VDD. Rev. PrC | Page 6 of 20 Preliminary Technical Data AD5171 TYPICAL PERFORMANCE CHARACTERISTICS 0.10 0.10 VDD = 5V POTENTIOMETER MODE DNL (LSB) –40°C 0.04 0.02 0 –0.02 –0.04 +125°C –0.06 +25°C –0.08 0 8 16 24 32 0.06 0.04 +125°C 0.02 0 –0.02 –0.04 –0.08 40 48 56 64 CODE (DECIMAL) –0.10 0 8 32 40 48 56 64 0 VDD = 5V –0.1 +25°C 0.06 +125°C –0.2 0.04 FSE (LSB) 0.02 0 –0.02 VDD = 5V –0.3 –0.4 VDD = 3V –40°C –0.04 –0.5 –0.06 0 8 16 24 32 40 48 56 64 CODE (DECIMAL) 03437-0-005 –0.10 –0.7 –40 –20 0 20 40 60 80 100 120 140 100 120 140 TEMPERATURE (°C) Figure 6. R-DNL vs. Code vs. Temperature 03437-0-008 –0.6 –0.08 Figure 9. Full-Scale Error 0.10 0.6 VDD = 5V 0.08 0.5 0.06 0.04 +25°C 0.4 +125°C ZSE (LSB) 0.02 0 –0.02 –40°C VDD = 3V 0.3 VDD = 5V 0.2 –0.04 –0.06 0.1 –0.10 0 8 16 24 32 40 48 CODE (DECIMAL) 56 64 Figure 7. INL vs. Code vs. Temperature 0 –40 –20 0 20 40 60 80 TEMPERATURE (°C) Figure 10. Zero-Scale Error Rev. PrC | Page 7 of 20 03437-0-009 –0.08 03437-0-006 POTENTIOMETER MODE INL (LSB) 24 Figure 8. DNL vs. Code vs. Temperature 0.10 RHEOSTAT MODE DNL (LSB) 16 CODE (DECIMAL) Figure 5. R-INL vs. Code vs. Temperature 0.08 +25°C –40°C –0.06 03437-0-007 0.06 –0.10 VDD = 5V 0.08 03437-0-004 RHEOSTAT MODE INL (LSB) 0.08 Preliminary Technical Data AD5171 6 10 0 VDD = 5V 0x20 1 MAGNITUDE (dB) VDD = 3V 0x10 –12 0x08 –18 0x04 –24 0x02 –30 0x01 –36 0x00 03437-0-013 –42 –48 –20 0 20 40 60 80 100 120 140 TEMPERATURE (°C) –54 100 03437-0-010 0.1 –40 6 160 0 140 1M 10M 0x3F 0x20 –6 MAGNITUDE (dB) 120 100 80 60 40 0x10 –12 0x08 –18 0x04 –24 0x02 –30 0x01 –36 0 –42 –20 –48 0 8 16 24 32 40 48 56 64 0x00 –54 100 1k 10k 100k 1M FREQUENCY (Hz) Figure 12. Rheostat Mode Tempco (∆RAB/RAB)/ ∆T vs. Code 03437-0-001 20 03437-0-011 RHEOSTAT MODE TEMPCO (ppm/°C) 180 CODE (DECIMAL) Figure 15. Gain vs. Frequency vs. Code, RAB = 10 kΩ 6 25 0x3F 0 20 0x20 –6 MAGNITUDE (dB) 15 10 5 0x10 –12 0x08 –18 0x04 –24 0x02 –30 0x01 –36 –42 0 –48 –5 0 8 16 24 32 40 48 56 64 CODE (DECIMAL) 03437-0-012 RHEOSTAT MODE TEMPCO (ppm/°C) 10k 100k FREQUENCY (Hz) Figure 14. Gain vs. Frequency vs. Code, RAB = 5 kΩ Figure 11. Supply Current vs. Temperature –40 1k Figure 13. Potentiometer Mode Tempco (∆VW /VW)/ ∆T vs. Code –54 100 0x00 1k 10k 100k 1M FREQUENCY (Hz) Figure 16. Gain vs. Frequency vs. Code, RAB = 50 Ω Rev. PrC | Page 8 of 20 03437-0-015 IDD SUPPLY CURRENT (µA) –6 Preliminary Technical Data AD5171 6 0x20 –6 MAGNITUDE (dB) VDD = 5.5V VA = 5.5V VB = GND 0x3F 0 VW = 5V/DIV 0x08 –18 0x3F fCLK = 400kHz 0x10 –12 DATA 0x00 0x04 –24 0x02 –30 SCL = 5V/DIV 0x01 –36 –42 1k 10k 100k 03437-0-016 0x00 –54 100 1M FREQUENCY (Hz) 5V 5V 5µs 03437-0-019 –48 Figure 20. Settling Time Figure 17. Gain vs. Frequency vs. Code, RAB = 100 kΩ TA = 25°C CODE = 0x20 VA = 2.5V, VB = 0V VDD = 5.5V VA = 5.5V VB = GND 60 fCLK = 100kHz VDD = 5V DC ± 1.0V p-p AC VW = 50mV/DIV DATA 0x20 0x1F VDD = 3V DC ± 0.6V p-p AC 40 20 10k 100k 1M FREQUENCY (Hz) 50mV 03437-0-017 1k 200ns Figure 21. Midscale Glitch Energy Figure 18. PSRR vs. Frequency fCLK = 100kHz VDD = 5.5V VA = 5.5V VB = GND 5V 03437-0-020 SCL = 5V/DIV 0 100 OTP PROGRAMMED AT MS VDD = 5.5V VA = 5.5V RAB = 10kΩ VW = 10mV/DIV VW = 1V/DIV 10mV 5V 500ns 1V Figure 19. Digital Feedthrough vs. Time 5V 5µs Figure 22. Power-Up Settling Time, after Fuses Blown Rev. PrC | Page 9 of 20 03437-0-021 VDD = 5V/DIV SCL = 5V/DIV 03437-0-018 POWER SUPPLY REJECTION RATIO (–dB) 80 Preliminary Technical Data AD5171 10.00 RAB = 5kΩ 1.00 RAB = 10kΩ RAB = 50kΩ 0.10 0.01 RAB = 100kΩ 0 8 16 24 32 40 48 CODE (DECIMAL) 56 64 03437-0-022 THEORETICAL IWB_MAX (mA) VA = VB = OPEN TA = 25°C Figure 23. IWB_max vs. Code Rev. PrC | Page 10 of 20 Preliminary Technical Data AD5171 THEORY OF OPERATION A SCL B FUSES EN ONE-TIME PROGRAM/TEST CONTROL BLOCK DETERMINING THE VARIABLE RESISTANCE AND VOLTAGE Rheostat Mode Operation If only the W-to-B or W-to-A terminals are used as variable resistors, the unused terminal can be opened or shorted with W. This operation is called rheostat mode (Figure 25). Table 4. Validation Status 0 1 FUSE REG. Status Ready for Programming Test Fuse Not Blown Successfully. (For factory setup checking purpose only. Users should not see these combinations.) Error. Some fuses are not blown. Try again. Successful. No further programming is possible. When the OTP T bit is set, the internal clock is enabled. The program will attempt to blow a test fuse. The operation stops if this fuse is not blown properly. The validation Bits E1 and E0 show 01, and the users should check the setup. If the test fuse is blown successfully, the data fuses will be programmed next. The six data fuses will be programmed in six clock cycles. The output of the fuses is compared with the code stored in the DAC register. If they do not match, E1 and E0 = 10 is issued as a error and the operation stops. Users may retry with the same codes. If the output and stored code match, the programming lock fuse will be blown so that no further programming is possible. In the meantime, E1 and E0 will issue 11 indicating the lock fuse is blown successfully. All the fuse latches are enabled at power-on and therefore the output corresponds to the stored setting from this point on. Figure 24 shows a detailed functional block diagram. A A W B A W B W B 03437-0-050 The device control circuit has two validation bits, E1 and E0, that can be read back in the read mode for checking the programming status as shown in Table 4. 1 1 W Figure 24. Detailed Functional Block Diagram Prior to OTP activation, the AD5171 presets to midscale during power on. After the wiper is set at the desired position, the resistance can be permanently set by programming the T bit to high along with the proper coding (Table 7). E0 0 1 DECODER MUX COMPARATOR ONE-TIME PROGRAMMING (OTP) E1 0 0 DAC REG. I2C INTERFACE SDA 03437-0-025 The AD5171 allows unlimited 6-bit adjustments, except for onetime programmable, set-and-forget resistance setting. OTP technology is a proven cost-effective alternative over EEMEM in one-time memory programming applications. AD5171 employs fuse link technology to achieve the memory retention of the resistance setting function. It comprises six data fuses, which control the address decoder for programming the RDAC, one user mode test fuse for checking setup error, and one programming lock fuse for disabling any further programming once the data fuses are blown. Figure 25. Rheostat Mode Configuration The nominal resistance (RAB) of the RDAC has 64 contact points accessed by the wiper terminal, plus the B terminal contact if RWB is considered. The 6-bit data in the RDAC latch is decoded to select one of the 64 settings. Assuming that a 10 kΩ part is used, the wiper’s first connection starts at the B terminal for data 0x00. Such connection yields a minimum of 60 Ω resistance between terminals W and B because of the 60 Ω wiper contact resistance. The second connection is the first tap point, which corresponds to 219 Ω (RWB = (1) × RAB/63 + RW) for data 0x01, and so on. Each LSB data value increase moves the wiper up the resistor ladder until the last tap point is reached at 10060 Ω ((63) × RAB/63 + RW). Figure 26 shows a simplified diagram of the equivalent RDAC circuit. The general equation determining RWB is RWB (D) = D × RAB + RW 63 where: D is the decimal equivalent of the 6-bit binary code. RAB is the end-to-end resistance. RW is the wiper resistance contributed by the on-resistance of the internal switch. Rev. PrC | Page 11 of 20 (1) Preliminary Technical Data AD5171 Potentiometer Mode Operation Table 5. RWB vs. Codes; RAB = 10 kΩ and the A Terminal Is Opened RWB (Ω) 10060 5139 219 60 If all three terminals are used, the operation is called the potentiometer mode. The most common configuration is the voltage divider operation (Figure 27). Output State Full-Scale (RAB + RW) Midscale 1 LSB Zero-Scale (Wiper Contact Resistance) VI W Since a finite wiper resistance of 60 Ω is present in the zeroscale condition, care should be taken to limit the current flow between W and B in this state to a maximum pulse current of no more than 20 mA. Otherwise, degradation or possible destruction of the internal switch contact can occur. 63 − D × R AB + RW 63 Figure 27. Potentiometer Mode Configuration Ignoring the effect of the wiper resistance, the transfer function is simply VW (D) = RWA (Ω) 60 4980 9901 10060 (2) (3) D R AB + RW 63 VA VW (D ) = R AB + 2RW The typical distribution of the resistance tolerance from device to device is process lot dependent, and it is possible to have ±30% tolerance. cancelled. Although the thin film step resistor RS and CMOS switches resistance RW have very different temperature coefficients, the ratio-metric adjustment also reduces the overall temperature coefficient effect to 5 ppm/oC, except at low value codes where RW dominates. Potentiometer mode operations include others such as op amp input, feedback resistor networks, and other voltage scaling applications. A, W, and B terminals can in fact be input or output terminals provided that |VAB|, |VWA|, and |VWB| do not exceed VDD to GND. A RS RS ESD PROTECTION Digital inputs SDA and SCL are protected with a series input resistor and parallel Zener ESD structures (Figure 28). W LOGIC 03437-0-027 340Ω RS B Figure 28. ESD Protection of Digital Pins 03437-0-026 RDAC LATCH AND DECODER (4) Unlike in rheostat mode operation where the absolute tolerance is high, potentiometer mode operation yields an almost ratiometric function of D/63 with a relatively small error contributed by the RW terms, and therefore the tolerance effect is almost Output State Full-Scale Midscale 1 LSB Zero-Scale D5 D4 D3 D2 D1 D0 D VA 63 A more accurate calculation, which includes the wiper resistance effect, yields Table 6. RWA vs. Codes; RAB =10 kΩ and B Terminal Is Opened D (Dec) 63 32 1 0 VO B Similar to the mechanical potentiometer, the resistance of the RDAC between the wiper W and terminal A also produces a complementary resistance RWA. When these terminals are used, the B terminal can be opened or shorted to W. Setting the resistance value for RWA starts at a maximum value of resistance and decreases as the data loaded in the latch increases in value. The general equation for this operation is RWA (D ) = A 03437-0-051 D (Dec) 63 32 1 0 Figure 26. AD5171 Equivalent RDAC Circuit Rev. PrC | Page 12 of 20 Preliminary Technical Data AD5171 TERMINAL VOLTAGE OPERATING RANGE CONNECT J1 HERE FOR OTP 6V J1 R1 50kΩ R2 250kΩ C1 1µF 5V C2 0.1µF VDD AD5171 03437-0-030 There are also ESD protection diodes between VDD and the RDAC terminals. The VDD of AD5171 therefore defines their voltage boundary conditions, see Figure 29. Supply signals present on terminals A, B, and W that exceed VDD will be clamped by the internal forward-biased diodes and should be avoided. CONNECT J1 HERE AFTER OTP VDD Figure 30. Power Supply Requirement A W GND An alternate approach in 3.5 V to 5.5 V systems adds a signal diode between the system supply and the OPT supply for isolation, as shown in Figure 31. 03437-0-029 B APPLY FOR OTP ONLY 6V D1 Figure 29. Maximum Terminal Voltages Set by VDD 3.5V–5.5V C1 10µF C2 0.1µF VDD AD5171 Figure 31. Isolating the 6 V OPT Supply from the 3.5V to 5.5 V Normal Operating Supply. The 6 V supply must be removed once OPT is complete. 6V APPLY FOR OTP ONLY R1 10kΩ POWER SUPPLY CONSIDERATIONS 2.7V To minimize the package pin count, both the one-time programming and normal operating voltages are applied to the same VDD terminal of the AD5171. The AD5171 employs fuse link technology that requires 6 V to blow the internal fuses to achieve a given setting. On the other hand, it operates at 2.7 V to 5.5 V once the programming is complete. Such dual voltage requires isolation between supplies. The fuse programming supply (either an on-board regulator or rack-mount power supply) must be rated at 6 V and be able to handle 400 ms and 100 mA of transient current for one-time programming. Once programming is complete, the 6 V supply must be removed to allow normal operation of 2.7 V to 5.5 V. Figure 30 shows the simplest implementation using a jumper. This approach saves one voltage supply, but draws additional current and requires manual configuration. P1 P2 C1 10µF P1 = P2 = FDV302P, NDS0610 C2 0.1µF VDD AD5171 03437-0-052 Similarly, because of the ESD protection diodes, it is important to power VDD first before applying any voltages to terminals A, B, and W. Otherwise, the diode will be forward-biased such that VDD will be powered unintentionally and may affect the rest of the users’ circuits. The ideal power-up sequence is in the following order: GND, VDD, digital inputs, and VA/VB/VW. The order of powering VA, VB, VW, and digital inputs is not important as long as they are powered after VDD. Similarly, VDD should be powered down last. 03437-0-031 POWER-UP/POWER-DOWN SEQUENCES Figure 32. Isolating the 6 V OPT Supply from the 2.7 V Normal Operating Supply. The 6 V supply must be removed once OPT is complete. For users who operate their systems at 2.7 V, it is recommended to use the bi-directional low-threshold P-Ch MOSFETs for the supplies isolation. As shown in Figure 32 assumes the 2.7 V system voltage is applied first but not the 6 V. The gates of P1 are P2 are pulled to ground, which turns on P1 and subsequently P2. As a result, VDD of AD5171 becomes 2.7 V minus a few tenths of mV drop across P1 and P2. When the AD5171 setting is found, the factory tester applies the 6 V to VDD and also to the gates of P1 and P2 to turn them off. While the OTP command is executing at this time to program AD5171, the 2.7 V source is therefore protected. Once the OTP is complete, the tester withdraws the 6 V, and AD5171 setting is permanently fixed. Rev. PrC | Page 13 of 20 Preliminary Technical Data AD5171 CONTROLLING THE AD5171 Read There are two ways of controlling the AD5171. Users can either program the devices with computer software or external I2C controllers. To read the validation bits and data out from the device, the user may simply press the Read button. The user may also set the bit pattern in the upper screen and press the Run button. The format of reading data out from the device is shown in Table 8. To apply the device programming software in the factory, users need to modify a parallel port cable and configure Pins 2, 3, 15, and 25 for SDA_write, SCL, SDA_read, and DGND, respectively for the control signals (Figure 34). Users should also layout the PCB of the AD5171 with SCL and SDA pads, as shown in Figure 35, such that pogo pins can be inserted for the factory programming. Due to the advantage of the one-time programmable feature, users may consider programming the device in the factory before shipping to end users. ADI offers a device programming software, which can be implemented in the factory on PCs that run Windows 95 to XP platforms. As a result, external controllers are not required, which significantly reduces development time. The program is an executable file that does not require any programming languages or user programming skills. It is easy to set up and use. Figure 33 shows the software interface. The software can be downloaded from www.analog.com. 13 25 12 24 11 23 10 22 9 21 8 20 7 19 6 18 5 17 4 16 3 15 2 14 1 Figure 33. AD5171 Computer Software Interface R3 SCL 100Ω R2 READ SDA 100Ω R1 WRITE 100Ω 03437-0-033 Software Programming The AD5171 starts at midscale after power-up prior to the OPT programming. To increment or decrement the resistance, the user may simply move the scrollbar on the left. To write any specific values, the user should use the bit pattern control in the upper screen and press the Run button. The format of writing data to the device is shown in Table 7. Once the desirable setting is found, the user may press the Program Permanent button to blow the internal fuse links for permanent setting. The user may also set the programming bit pattern in the upper screen and press the Run button to achieve the same result. A B AD0 SDA W VDD DGND SCL 03437-0-034 Figure 34. Parallel Port Connection. Pin 2 = SDA_write, Pin 3 = SCL, Pin 15 = SDA_read, and Pin 25 = DGND Write Figure 35. Recommended AD5171 PCB Layout. The SCL and SDA pads allow pogo pins to be inserted so that signals can be communicated through the parallel port for programming (Figure 34). Table 7. SDA Write Mode Bit Format S 0 1 0 1 1 0 AD0 Slave Address Byte 0 A T X X X X X Instruction Byte X X A X X D5 D4 D3 D2 Data Byte D1 D0 D0 A A P Table 8. SDA Read Mode Bit Format S 0 1 0 1 1 0 Slave Address Byte AD0 1 A E1 E0 Rev. PrC | Page 14 of 20 D5 D4 D3 Data Byte D2 D1 P Preliminary Technical Data AD5171 Table 9. SDA Bits Definitions and Descriptions Bit S P A AD0 X T Description Start Condition. Stop Condition. Acknowledge. I2C Device Address Bit. Allows maximum of two AD5171s to be addressed. Don’t Care. OTP Programming Bit. Logic 1 programs wiper position permanently. Bit D5, D4, D3, D2, D1, D0 E1, E0 0, 0 0, 1 1, 0 1, 1 Description Data Bits. OTP Validation Bits. Ready to Program. Test Fuse Not Blown Successfully. (For Factory Setup Checking Purpose Only. Users should not see these combinations). Fatal Error. Try again. Programmed Successfully. No further adjustments possible. I2C Controller Programming Write Bit Pattern Illustrations 9 1 9 1 9 1 SDA 0 1 1 0 0 1 AD0 R/W 0 X X X X X X X ACK. BY AD5171 FRAME 1 SLAVE ADDRESS BYTE START BY MASTER X X D4 D5 D3 D2 D1 ACK. BY AD5171 03437-0-035 SCL D0 ACK. BY AD5171 FRAME 2 INSTRUCTION BYTE FRAME 1 DATA BYTE STOP BY MASTER Figure 36. Writing to the RDAC Register 9 9 1 9 1 SDA 0 1 0 1 0 1 1 AD0 R/W X X X X X X X ACK. BY AD5171 START BY MASTER X X D5 D4 D3 D2 D1 ACK. BY AD5171 FRAME 1 SLAVE ADDRESS BYTE D0 ACK. BY AD5171 FRAME 2 INSTRUCTION BYTE FRAME 1 DATA BYTE 03437-0-036 1 SCL STOP BY MASTER Figure 37. Activating One-Time Programming Read Bit Pattern Illustration 9 1 9 SDA 0 1 0 1 1 0 AD0 R/W E1 E0 D5 D4 D3 D2 ACK. BY AD5171 START BY MASTER D1 D0 NO ACK. BY MASTER FRAME 1 SLAVE ADDRESS BYTE FRAME 2 RDAC REGISTER 03437-0-037 1 SCL STOP BY MASTER Figure 38. Reading Data from RDAC Register For users who prefer to use external controllers, the AD5171 can be controlled via an I2C compatible serial bus and is connected to this bus as slave device. Referring to Figure 36, Figure 37, and Figure 38, the 2-wire I2C serial bus protocol operates as follows: 1. The master initiates data transfer by establishing a start condition, which is when SDA from high-to-low while SCL is high (Figure 36 and Figure 37). The following byte is the slave address byte, which consists of the 6 MSBs as a slave address defined as 010110. The next bit is AD0, which is an I2C device address bit. Depending on the states of their AD0 bits, two AD5171 can be addressed on the same bus (Figure 39). The last LSB is the R/W bit, which determines whether data will be read from or written to the slave device. The slave whose address corresponds to the transmitted address responds by pulling the SDA line goes low during the 9th clock pulse (this is termed the Acknowledge bit). At Rev. PrC | Page 15 of 20 Preliminary Technical Data AD5171 2. The write operation contains one more instruction byte than the read operation. The instruction byte in the write mode follows the slave address byte. The MSB of the instruction byte labeled T is the one-time programming bit. After acknowledging the instruction byte, the last byte in the write mode is the data byte. Data is transmitted over the serial bus in sequences of nine clock pulses (eight data bits followed by an Acknowledge bit). The transitions on the SDA line must occur during the low period of SCL and remain stable during the high period of SCL (Figure 36). 3. In the read mode, the data byte follows immediately after the acknowledgment of the slave address byte. Data is transmitted over the serial bus in sequences of nine clock pulses (slight difference with the write mode; there are eight data bits followed by a No Acknowledge bit). Similarly, the transitions on the SDA line must occur during the low period of SCL and remain stable during the high period of SCL (Figure 38). 4. A repeated write function gives the user flexibility to update the RDAC output a number of times, except after permanent programming, addressing, and instructing the part only once. During the write cycle, each data byte will update the RDAC output. For example, after the RDAC has acknowledged its slave address and instruction bytes, the RDAC output will update after these two bytes. If another byte is written to the RDAC while it is still addressed to a specific slave device with the same instruction, this byte will update the output of the selected slave device. If different instructions are needed, the write mode has to be started with a new slave address, instruction, and data bytes. Similarly, a repeated read function of the RDAC is also allowed. CONTROLLING TWO DEVICES ON ONE BUS Figure 39 shows two AD5171 devices on the same serial bus. Each has a different slave address since the state of each AD0 pin is different. This allows each device to be operated independently. The master device output bus line drivers are open-drain pull-downs in a fully I2C compatible interface. When all data bits have been read or written, a stop condition is established by the master. A stop condition is defined as a low-to-high transition on the SDA line while SCL is high. In the write mode, the master will pull the SDA line high during the 10th clock pulse to establish a stop condition (Figure 36 and Figure 37). In the read mode, the master will issue a No Acknowledge for the 9th clock pulse, i.e., the SDA line remains high. The master will then bring the SDA line low before the 10th clock pulse, which goes high to establish a stop condition (Figure 38). Rev. PrC | Page 16 of 20 5V Rp Rp SDA MASTER SCL SDA SCL AD0 AD5171 5V SDA SCL AD0 AD5171 Figure 39. Two AD5171 Devices on One Bus 03437-0-038 this stage, all other devices on the bus remain idle while the selected device waits for data to be written to or read from its serial register. Preliminary Technical Data AD5171 APPLICATIONS PROGRAMMABLE VOLTAGE REFERENCE (DAC) It is common to buffer the output of the digital potentiometer as a DAC unless the load is much larger than RWB. The buffer serves the purpose of impedance conversion as well as delivering higher current, which may be needed. AD5171 5V A AD1582 GND 2 B U2 AD8601 LEVEL SHIFTING FOR DIFFERENT VOLTAGE OPERATION V0 03437-0-039 W A1 Figure 40. Programmable Voltage Reference (DAC) GAIN CONTROL COMPENSATION The digital potentiometers are commonly used in gain controls (Figure 41) or sensor transimpedance amplifier signal conditioning applications. To avoid gain peaking or in worstcase oscillation due to step response, a compensation capacitor is needed. In general, C2 in the range of a few picofarads to no more than a few tenths of a picofarad is adequate for the compensation. When users need to interface a 2.5 V controller with AD5171, a proper voltage level shift must be employed so that the digital potentiometer can be read from or written to the controller; Figure 43 shows one of the implementations. M1 and M2 should be low threshold N-Ch power MOSFETs, such as FDV301N. VDD2 = 5V VDD1 = 2.5V Rp Rp Rp G D S SDA1 SCL1 SDA2 D SCL2 M2 4.7pF 2.7V–5.5V 2.5V CONTROLLER R2 100kΩ AD5171 A W Figure 43. Level Shifting for Different Voltage Operation R1 U1 VI VO RESISTANCE SCALING 03437-0-040 47kΩ G S M1 C2 B Rp 03437-0-042 5V 1 U1 VIN V OUT 3 ADR03 In this circuit, the inverting input of the op amp forces the VOUT to be equal to the wiper voltage set by the digital potentiometer. The load current is then delivered by the supply via the N-Ch FET N1. N1 power handling must be adequate to dissipate (VI − VO) × IL power. This circuit can source a maximum of 100 mA with a 5 V supply. For precision applications, a voltage reference such as ADR421, ADR03, or ADR370 can be applied at the A terminal of the digital potentiometer. PROGRAMMABLE VOLTAGE SOURCE WITH BOOSTED OUTPUT The AD5171 offers 5 kΩ, 10 kΩ, 50 kΩ, and 100 kΩ nominal resistances. For users who need to optimize the resolution with an arbitrary full-range resistance, the following techniques can be used. By paralleling a discrete resistor (Figure 44) a proportion tely lower voltage appears at terminal A to B, which is applicable to only the voltage divider mode. For applications that require high current adjustment, such as a laser diode driver or tunable laser, a boosted voltage source can be considered (Figure 42). This translates into a finer degree of precision because the step size at terminal W will be smaller. The voltage can be found as Figure 41. Typical Noninverting Gain Amplifier U3 2N7002 CC +V W U2 (RAB || R2) D × × VDD R3 + RAB || R2 64 RBIAS VDD IL AD8601 R3 B LD –V SIGNAL A R2 R1 B Figure 42. Programmable Booster Voltage Source W 03437-0-043 A 03437-0-041 U1 AD5171 VW (D ) = VOUT VIN Figure 44. Lowering the Nominal Resistance Rev. PrC | Page 17 of 20 (5) Preliminary Technical Data AD5171 For log taper adjustment, such as volume control, Figure 45 shows another way of resistance scaling to achieve the log taper function. In this circuit, the smaller the R2 with respect to RAB, the more like the pseudo log taper characteristic it behaves. The wiper voltage is simply (RWB || R2) × VI RWA + RWB || R2 (6) VI A The internal parasitic capacitances and the external capacitive loads dominate the ac characteristics of the digital potentiometers. Configured as a potentiometer divider, the –3 dB bandwidth of the AD5171 (5 kΩ resistor) measures 1.5 MHz at half scale. Figure 14 to Figure 17 provide the large signal BODE plot characteristics of the four available resistor versions 5 kΩ 10 kΩ, 50 kΩ, and 100 kΩ. A parasitic simulation model is shown in Figure 47. Listing 1 provides a macro model net list for the 10 kΩ device. VO R1 A W B RDAC 10kΩ CA 25pF R2 B CW 03437-0-044 55pF W Figure 45. Resistor Scaling with Log Adjustment Characteristics CB 25pF 03437-0-046 VW (D ) = RDAC CIRCUIT SIMULATION MODEL Figure 47. Circuit Simulation Model for RDAC = 10 kΩ RESOLUTION ENHANCEMENT Listing 1. Macro Model Net List for RDAC The resolution can be doubled in the potentiometer mode of operation by using three digital potentiometers. Borrowed from ADI’s patented RDAC segmentation technique, users can configure three AD5171 (Figure 46) to double the resolution. First, U3 must be parallel with a discrete resistor RP, which is chosen to be equal to a step resistance (RP = RAB/64). One can see that adjusting U1 and U2 together forms the coarse 6-bit adjustment and that adjusting U3 alone forms the finer 6-bit adjustment. As a result, the effective resolution becomes 12-bit. .PARAM D=64, RDAC=10E3 .SUBCKT DPOT (A,W,B) * CA A 0 25E-12 RWA A W {(1-D/64)*RDAC+60} CW W 0 55E-12 RWB W B {D/64*RDAC+60} CB B 0 25E-12 * A1 W1 U1 * .ENDS DPOT A3 B1 RP U3 W3 A2 B3 B2 COARSE FINE ADJUSTMENT ADJUSTMENT 03437-0-045 U2 W2 Figure 46. Doubling the Resolution Rev. PrC | Page 18 of 20 Preliminary Technical Data AD5171 AD5171 EVALUATION BOARD JP5 VCC JP3 VDD V+ C4 0.1µF ADR03 CP3 VREF C5 0.1µF –IN1 CP4 CP2 JP1 JP8 CP1 8 2 A W B VDD VDD C1 10µF R1 10kΩ J1 8 7 6 5 4 3 2 1 1 2 3 4 R2 10kΩ C2 0.1µF SCL U1 W VDD GND SCL 8 A 7 B AD0 6 SDA 5 1 2 3 4 C3 0.1µF U2 W VDD GND SCL 3 VIN 4 U3A CP6 V– CP5 +IN1 C8 0.1µF SDA JP6 –IN2 +IN2 5 OUT2 U3B The AD5171 evaluation board comes with a dual op amp AD822 and a 2.5 V reference ADR03. Users can configure many other building block circuits with minimum components needed. Figure 49 shows one of the examples. There is space available on the board that users can build additional circuits for further evaluations, see Figure 50. CP2 JP3 W VO B U3A V+ 1 JP7 U2 JP2 4 2 W 3 11 V– OUT1 AD822 JP4 03437-0-048 A A B VDD JP1 Figure 50. AD5171 Evaluation Board Figure 49. Programmable Voltage Reference Rev. PrC | Page 19 of 20 C9 10µF VEE Figure 48. AD5171 Evaluation Board Schematic VREF OUT1 6 7 VREF CP7 JP4 AGND AD5171/AD5273 AD5170 OUT1 1 JP7 JP2 8 A 7 B AD0 6 SDA 5 C7 10µF 03437-0-047 VDD C6 0.1µF –IN1 U4 5 1 TEMP TRIM 2 GND 4 3 VIN VOUT Preliminary Technical Data AD5171 OUTLINE DIMENSIONS 2.90 BSC 8 7 6 5 1 2 3 4 2.80 BSC 1.60 BSC PIN 1 0.65 BSC 1.30 1.15 0.90 1.95 BSC 1.45 MAX 0.15 MAX 0.38 0.22 0.22 0.08 SEATING PLANE 0.60 0.45 0.30 8° 4° 0° COMPLIANT TO JEDEC STANDARDS MO-178BA Figure 51. 8-Lead Small Outline Transistor Package [SOT-23] (RJ-8) Dimensions shown in millimeters ORDERING GUIDE Model AD5171BRJ5-RL7 AD5171BRJ10-RL7 AD5171BRJ50-RL7 AD5171BRJ100-REEL7 AD5171BRJ5-R2 AD5171BRJ10-R2 AD5171BRJ50-R2 AD5171BRJ100-R2 AD5171EVAL* RAB (kΩ) 5 10 50 100 5 10 50 100 10 Package Code RJ-8 RJ-8 RJ-8 RJ-8 RJ-8 RJ-8 RJ-8 RJ-8 Package Description SOT-23-8 SOT-23-8 SOT-23-8 SOT-23-8 SOT-23-8 SOT-23-8 SOT-23-8 SOT-23-8 Full Container Quantity 3000 3000 3000 3000 3000 3000 3000 3000 1 * The evaluation board is shipped with three pieces of 10 kΩ parts. Users should order extra samples or different resistance options if needed. Purchase of licensed I2C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. © 2003 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. C03437-0-9/03(PrC) Rev. PrC | Page 20 of 20 Branding D12 D13 D14 D15 D12 D13 D14 D15