setting—low cost alternative over EEMEM
Unlimited adjustments prior to OTP activation
5 kΩ, 10 kΩ, 50 kΩ, 100 kΩ end-to-end resistance
o
Low tempco 5 ppm/
C in potentiometer mode
Low tempco 35 ppm/°C in rheostat mode
Compact standard SOT-23-8 package
Low power, I
Fast settling time, t
2
I
C compatible digital interface
= 8 µA max
DD
= 5 µs typ in power-up
s
Computer software replaces µc in factory programming
applications
Full read/write of wiper register
2
C device address pin
Extra I
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
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
GENERAL DESCRIPTION
The AD5171 is a 64-position, one-time programmable (OTP)
2
digital potentiometer
, 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
2-wire I
C 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
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.
1
set-and-forget resistance
AD5171
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 I
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.
1
One-time programmable (OTP) - Unlimited adjustments before permanent
setting.
2
The terms digital potentiometer and RDAC are used interchangeably.
Input Logic High (SDA and SCL) VIH 0.7 VDD VDD+0.5 V
Input Logic Low (SDA and SCL) VIL –0.5 0.3VDD V
Input Logic High (AD0) VIH V
Input Logic Low (AD0) VIL V
Input Current IIL V
Input Capacitance6 C
3 pF
IL
= 3 V 3.0 VDD V
DD
= 3 V 0 1.0 V
DD
= 0 V or 5 V ±1 µA
IN
DIGITAL OUTPUTS
Output Logic Low (SDA) VOL I
Three-State Leakage Current (SDA) IOZ V
Output Capacitance6 C
3 pF
OZ
= 6 mA 0.4 V
OL
= 0 V or 5 V ±1 µA
IN
POWER SUPPLIES
Power Supply Range VDD 2.7 5.5 V
OTP Power Supply7 V
DD_OTP
Supply Current IDD V
OTP Supply Current8 I
Power Dissipation9 P
V
DD_OTP
V
DISS
TA = 25°C 6 6.5 V
= 5 V or VIL = 0 V 4 8 µA
IH
= 6 V, TA = 25°C 100 mA
DD_OTP
= 5 V or VIL = 0 V, VDD = 5 V 0.02 0.04 mW
IH
Power Supply Sensitivity PSSR −0.025 +0.001 +0.025 %/%
INTERFACE TIMING CHARACTERISTICS
(Applies to all parts
6,12
SCL Clock Frequency f
t
Bus Free Time between Start and Stop t1 1.3 µs
BUF
t
Hold Time (Repeated Start) t2
HD;STA
t
Low Period of SCL Clock t3 1.3 µs
LOW
t
High Period of SCL Clock t4 0.6 50 µs
HIGH
t
Setup Time for Start Condition t5 0.6 µs
SU;STA
t
Data Hold Time t6 0.9 µs
HD;DAT
t
Data Setup Time t7 0.1 µs
SU;DAT
tF Fall Time of Both SDA and SCL Signals t8 0.3 µs
tR Rise Time of Both SDA and SCL signals t9 0.3 µs
t
Setup Time for Stop Condition t10 0.6 µs
SU;STO
1
Typicals represent average readings at 25°C and VDD = 5 V.
2
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
P
is calculated from (IDD × VDD). CMOS logic level inputs result in minimum power dissipation.
DISS
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.
6, 10, 11
0.05 %
5 µs
400 ms
5 µs
8 nV/√Hz
S_OTP
N_WB
=1 V rms, RAB = 10 kΩ,
V
A
= 0 V DC, f = 1 kHz
V
B
= 5 V ± 1 LSB error band,
V
A
V
= 0, measured at VW
B
= 5 V ± 1 LSB error band,
V
A
= 0, measured at VW
V
B
= 5 V ±1 LSB error band,
V
A
= 0, measured at VW
V
B
= 5 kΩ, f = 1 kHz,
R
AB
Code = 0x20
= 10 kΩ, f = 1 kHz,
R
AB
12 nV/√Hz
Code = 0x20
)
400 kHz
SCL
After this period, the first
0.6 µs
clock pulse is generated
t
8
t
9
t
6
SCL
t
2
t
3
t
8
DA
t
1
t
t
4
5
t
9
t
7
t
10
03437-0-024
PPS
Figure 3. Interface Timing Diagram
Rev. PrC | Page 4 of 20
AD5171
ABSOLUTE MAXIMUM RATINGS
Table 2.
Parameter Rating
VDD to GND –0.3, +7 V
VA, VB, VW to GND GND, VDD
Maximum Current
I
, IWA Pulsed
WB
I
Continuous (RWB ≤ 1 kΩ, A open)
WB
IWA Continuous (R
≤ 1 kΩ, B open)1
WA
±20 mA
1
±5 mA
±5 mA
Digital Inputs and Output Voltage to GND 0 V, VDD
Operating Temperature Range –40°C to +125°C
Maximum Junction Temperature (TJ max) 150°C
Storage Temperature –65°C to +150°C
Lead Temperature (Soldering, 10 sec)
Vapor Phase (60 sec)
Infrared (15 sec)
Thermal Resistance2 θJA 230°C/W
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. V
2
Package Power Dissipation = (TJ max – TA) / θ
DD
= 5 V.
300°C
215°C
220°C
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.
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.
Rev. PrC | Page 5 of 20
AD5171
PIN CONFIGURATION AND FUNCTIONAL DESCRIPTIONS
8
A
7
B
6
AD0
5
SDA
03437-0-003
V
DD
GND
SCL
W
1
2
AD5171
TOP VIEW
3
(Not to Scale)
4
Figure 4. SOT-23-8
Table 3. Pin Function Descriptions
Pin No. Mnemonic Description
1 W Wiper Terminal W. GND ≤VW ≤VDD.
2 VDD
Positive Power Supply. Specified for operation from 2.7 V to 5.5 V. For OTP programming, V
minimum of 6 V and 100 mA driving capability.
3 GND Common Ground.
4 SCL Serial Clock Input. Requires pull-up resistor.
5 SDA Serial Data Input/Output. Requires pull-up resistor.
6 AD0 I2C Device Address Bit. Allows maximum of two AD5171s to be addressed.
7 B Resistor Terminal B. GND ≤ VB ≤ VDD.
8 A Resistor Terminal A. GND ≤ VA ≤ VDD.
needs to be a
DD
Rev. PrC | Page 6 of 20
AD5171
TYPICAL PERFORMANCE CHARACTERISTICS
0.10
VDD = 5V
0.08
0.06
0.04
0.02
0
–0.02
–0.04
RHEOSTAT MODE INL (LSB)
–0.06
–0.08
–0.10
–40°C
Figure 5. R-INL vs. Code vs. Temperature
+25°C
3224816040485664
CODE (DECIMAL)
+125°C
03437-0-004
–0.02
–0.04
–0.06
POTENTIOMETER MODE DNL (LSB)
–0.08
–0.10
0.10
0.08
0.06
0.04
0.02
0
VDD = 5V
–40°C
3224816040485664
CODE (DECIMAL)
Figure 8. DNL vs. Code vs. Temperature
+125°C
+25°C
03437-0-007
–0.02
–0.04
RHEOSTAT MODE DNL (LSB)
–0.06
–0.08
–0.10
–0.02
–0.04
–0.06
POTENTIOMETER MODE INL (LSB)
–0.08
–0.10
0.10
0.08
0.06
0.04
0.02
0.10
0.08
0.06
0.04
0.02
0
0
VDD = 5V
+25°C
–40°C
3224816040485664
CODE (DECIMAL)
Figure 6. R-DNL vs. Code vs. Temperature
VDD = 5V
+25°C
–40°C
3224816040485664
CODE (DECIMAL)
Figure 7. INL vs. Code vs. Temperature
+125°C
+125°C
03437-0-005
03437-0-006
0
–0.1
–0.2
–0.3
–0.4
FSE (LSB)
–0.5
–0.6
–0.7
–40 –20020406080100 120140
VDD = 5V
VDD = 3V
TEMPERATURE (°C)
Figure 9. Full-Scale Error
0.6
0.5
0.4
0.3
ZSE (LSB)
0.2
0.1
0
–40 –20020406080100 120140
VDD = 3V
VDD = 5V
TEMPERATURE (°C)
Figure 10. Zero-Scale Error
03437-0-008
03437-0-009
Rev. PrC | Page 7 of 20
AD5171
10
VDD = 5V
1
SUPPLY CURRENT (µA)
DD
I
0.1
–40–20020406080100120140
VDD = 3V
TEMPERATURE (°C)
Figure 11. Supply Current vs. Temperature
6
0
–6
–12
–18
–24
–30
MAGNITUDE (dB)
–36
–42
–48
–54
1001M1k10k100k
03437-0-010
Figure 14. Gain vs. Frequency vs. Code, R
0x20
0x10
0x08
0x04
0x02
0x01
0x00
FREQUENCY (Hz)
= 5 kΩ
AB
03437-0-013
10M
180
160
140
120
100
80
60
40
20
0
RHEOSTAT MODE TEMPCO (ppm/°C)
–20
–40
3224816040485664
CODE (DECIMAL)
Figure 12. Rheostat Mode Tempco (∆RAB/RAB)/ ∆T vs. Code
25
20
15
10
5
0
RHEOSTAT MODE TEMPCO (ppm/°C)
–5
Figure 13. Potentiometer Mode Tempco (∆V
3224816040485664
CODE (DECIMAL)
W /VW
)/ ∆T vs. Code
6
0
–6
–12
–18
–24
–30
MAGNITUDE (dB)
–36
–42
–48
–54
1001M1k10k100k
03437-0-011
Figure 15. Gain vs. Frequency vs. Code, R
6
0
–6
–12
–18
–24
–30
MAGNITUDE (dB)
–36
–42
–48
–54
1001M1k10k100k
03437-0-012
Figure 16.
0x3F
0x20
0x10
0x08
0x04
0x02
0x01
0x00
FREQUENCY (Hz)
= 10 kΩ
AB
0x3F
0x20
0x10
0x08
0x04
0x02
0x01
0x00
FREQUENCY (Hz)
Gain vs. Frequency vs. Code, RAB = 50 Ω
03437-0-001
03437-0-015
Rev. PrC | Page 8 of 20
AD5171
6
0
–6
–12
–18
–24
–30
MAGNITUDE (dB)
–36
–42
–48
–54
1001k
0x3F
0x20
0x10
0x08
0x04
0x02
0x01
0x00
FREQUENCY (Hz)
Figure 17. Gain vs. Frequency vs. Code, R
80
TA = 25°C
CODE = 0x20
= 2.5V, VB = 0V
V
A
60
VDD = 3V DC ± 0.6V p-p AC
40
= 100 kΩ
AB
VDD = 5V DC ± 1.0V p-p AC
1M10k100k
03437-0-016
VDD= 5.5V
= 5.5V
V
A
= GND
V
B
f
= 400kHz
CLK
DATA 0x000x3F
5V5V5µ s
Figure 20. Settling Time
VDD= 5.5V
V
A
V
B
f
CLK
VW = 50mV/DIV
DATA 0x20
V
= 5V/DIV
W
SCL = 5V/DIV
= 5.5V
= GND
= 100kHz
0x1F
03437-0-019
20
POWER SUPPLY REJECTION RATIO (–dB)
0
1001M1k10k100k
FREQUENCY (Hz)
Figure 18. PSRR v s. Frequency
V
= 5.5V
DD
V
= 5.5V
A
V
= GND
B
10mV5V500ns
Figure 19. Digital Feedthrough vs. Time
f
= 100kHz
CLK
V
= 10mV/DIV
W
SCL = 5V/DIV
03437-0-018
03437-0-017
SCL = 5V/DIV
5V50mV200ns
Figure 21. Midscale Glitch Energy
OTP PROGRAMMED AT MS
VDD= 5.5V
V
= 5.5V
A
= 10kΩ
R
AB
= 1V/DIV
V
W
VDD = 5V/DIV
5V1V
Figure 22. Power-Up Settling Time, after Fuses Blown
5µs
03437-0-020
03437-0-021
Rev. PrC | Page 9 of 20
AD5171
10.00
VA = VB = OPEN
T
A
(mA)
1.00
WB_MAX
0.10
THEORETICAL I
= 25°C
RAB = 5k
RAB = 10k
RAB = 50k
RAB = 100k
Ω
Ω
Ω
Ω
0.01
Figure 23. I
3224816040485664
CODE (DECIMAL)
_max vs. Code
WB
03437-0-022
Rev. PrC | Page 10 of 20
AD5171
THEORY OF OPERATION
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.
ONE-TIME PROGRAMMING (OTP)
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).
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.
Table 4. Validation Status
E1 E0 Status
0 0 Ready for Programming
0 1
1 0 Error. Some fuses are not blown. Try again.
1 1 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.
Test Fuse Not Blown Successfully. (For factory
setup checking purpose only. Users should not
see these combinations.)
SCL
SDA
2
I
C INTERFACE
COMPARATOR
ONE-TIME
PROGRAM/TEST
CONTROL BLOCK
Figure 24. Detailed Functional Block Diagram
DAC
REG.
FUSES
MUX
EN
FUSE
REG.
DECODER
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).
A
W
B
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 R
is considered. The 6-bit data in the RDAC latch is
WB
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 Ω (R
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) × R
simplified diagram of the equivalent RDAC circuit. The general
equation determining R
D
DR+×=63)( (1)
WB
where:
D is the decimal equivalent of the 6-bit binary code.
is the end-to-end resistance.
R
AB
R
is the wiper resistance contributed by the on-resistance of
W
the internal switch.
AB
A
W
B
/63 + RW). Figure 26 shows a
AB
is
WB
RR
W
A
B
= (1) × RAB/63 + RW)
WB
W
03437-0-050
A
W
B
03437-0-025
Rev. PrC | Page 11 of 20
AD5171
W
Ω
Table 5. RWB vs. Codes; RAB = 10 kΩ and
the A Terminal Is Opened
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.
Potentiometer Mode Operation
If all three terminals are used, the operation is called the
potentiometer mode. The most common configuration is the
voltage divider operation (Figure 27).
V
I
A
W
V
O
B
03437-0-051
Figure 27. Potentiometer Mode Configuration
Similar to the mechanical potentiometer, the resistance of the
RDAC between the wiper W and terminal A also produces a
complementary resistance R
. When these terminals are used,
WA
the B terminal can be opened or shorted to W. Setting the
resistance value for R
starts at a maximum value of resistance
WA
and decreases as the data loaded in the latch increases in value.
The general equation for this operation is
The typical distribution of the resistance tolerance from device
to device is process lot dependent, and it is possible to have
±30% tolerance.
A
D5
D4
D3
D2
D1
D0
R
S
R
S
W
Ignoring the effect of the wiper resistance, the transfer function
is simply
W
A
D
V
DV63)(= (3)
A more accurate calculation, which includes the wiper
resistance effect, yields
D
+
RR
W
AB
63
=
DV
)(
W
+
2R
AB
(4)
V
A
R
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 R
cancelled. Although the thin film step resistor R
terms, and therefore the tolerance effect is almost
W
and CMOS
S
switches resistance RW have very different temperature coefficients,
the ratio-metric adjustment also reduces the overall temperature
coefficient effect to 5 ppm/
dominates.
o
C, except at low value codes where RW
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 |V
|, |VWA|, and |VWB| do not exceed
AB
VDD to GND.
ESD PROTECTION
Digital inputs SDA and SCL are protected with a series input
resistor and parallel Zener ESD structures (Figure 28).
340
LOGIC
RDAC
LATCH
AND
DECODER
Figure 26. AD5171 Equivalent RDAC Circuit
R
S
03437-0-027
B
Figure 28. ESD Protection of Digital Pins
03437-0-026
Rev. PrC | Page 12 of 20
AD5171
TERMINAL VOLTAGE OPERATING RANGE
There are also ESD protection diodes between VDD and the
RDAC terminals. The V
of AD5171 therefore defines their
DD
voltage boundary conditions, see Figure 29. Supply signals
present on terminals A, B, and W that exceed V
will be
DD
clamped by the internal forward-biased diodes and should be
avoided.
V
DD
A
W
B
GND
03437-0-029
Figure 29. Maximum Terminal Voltages Set by V
DD
POWER-UP/POWER-DOWN SEQUENCES
Similarly, because of the ESD protection diodes, it is important
to power V
first before applying any voltages to terminals A,
DD
B, and W. Otherwise, the diode will be forward-biased such that
will be powered unintentionally and may affect the rest of
V
DD
the users’ circuits. The ideal power-up sequence is in the
following order: GND, V
order of powering V
important as long as they are powered after V
, digital inputs, and VA/VB/VW. The
DD
, VB, VW, and digital inputs is not
A
. Similarly, VDD
DD
should be powered down last.
POWER SUPPLY CONSIDERATIONS
To minimize the package pin count, both the one-time
programming and normal operating voltages are applied to the
same V
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.
terminal of the AD5171. The AD5171 employs fuse
DD
6V
R1
50kΩ
R2
250kΩ
Figure 30. Power Supply Requirement
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.
6V
3.5V–5.5V
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
R1
10kΩ
2.7V
P1
P1 = P2 = FDV302P, NDS0610
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, V
few tenths of mV drop across P1 and P2. When the AD5171
setting is found, the factory tester applies the 6 V to V
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.
CONNECT J1
HERE FOR OTP
J1
C1
5V
1µF
CONNECT J1
HERE AFTER OTP
C2
0.1µF
V
DD
AD5171
APPLY FOR OTP ONLY
D1
C1
10µF
C2
0.1µF
V
DD
AD5171
APPLY FOR OTP ONLY
V
C2
0.1µF
DD
AD5171
C1
10µF
P2
of AD5171 becomes 2.7 V minus a
DD
03437-0-030
03437-0-031
03437-0-052
DD
and
Rev. PrC | Page 13 of 20
AD5171
CONTROLLING THE AD5171
There are two ways of controlling the AD5171. Users can either
program the devices with computer software or external I
controllers.
Software 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.
Figure 33. AD5171 Computer Software Interface
Write
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.
Table 7. SDA Write Mode Bit Format
S 0 1 0 1 1 0 AD0 0 A T X X X X X X X A X X D5 D4 D3 D2 D1 D0 A P
Slave Address Byte Instruction Byte Data Byte
Table 8. SDA Read Mode Bit Format
S 0 1 0 1 1 0 AD0 1 A E1 E0 D5 D4 D3 D2 D1 D0 A P
Slave Address Byte Data Byte
2
C
Read
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
Tabl e 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.
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).
R3
100Ω
R2
100Ω
R1
100Ω
READ
WRITE
A
B
AD0
SDA
SCL
SDA
03437-0-034
03437-0-033
Rev. PrC | Page 14 of 20
AD5171
S
Y
S
Y
Table 9. SDA Bits Definitions and Descriptions
Bit Description Bit Description
S P Start Condition.
Stop Condition.
A Acknowledge.
2
AD0
C Device Address Bit. Allows maximum of
I
two AD5171s to be addressed.
X Don’t Care.
T
OTP Programming Bit. Logic 1 programs wiper
position permanently.
I2C Controller Programming
Write Bit Pattern Illustrations
D5, D4, D3,
D2, D1, D0
E1, E0
0, 0
0, 1
1, 0
1, 1
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.
9
ACK. BY
AD5171
1
0
X
SCL
SDA
TART B
MASTER
011
0
FRAME 1
SLAVE ADDRESS BYTE
11
0
R/W
AD0
Figure 36. Writing to the RDAC Register
9
ACK. BY
AD5171
1
1X
SCL
SDA
START BY
MASTER
0
011
FRAME 1
SLAVE ADDRESS BYTE
11
0
AD0
R/W
Figure 37. Activating One-Time Programming
Read Bit Pattern Illustration
SCL
0
TART B
MASTER
SDA
011
11
0
FRAME 1
SLAVE ADDRESS BYTE
Figure 38. Reading Data from RDAC Register
For users who prefer to use external controllers, the AD5171
2
can be controlled via an I
C compatible serial bus and is
connected to this bus as slave device. Referring to Figure 36,
2
Figure 37, and Figure 38, the 2-wire I
C 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
X
X
FRAME 2
INSTRUCTION BYTE
XX
FRAME 2
INSTRUCTION BYTE
919
AD0
R/W
ACK. BY
AD5171
9
X
X
X
X
X
ACK. BY
AD5171
9
X
ACK. BY
AD5171
FRAME 2
RDAC REGISTER
X
X
E1 E0 D5 D4 D3 D2
address defined as 010110. The next bit is AD0, which is an
2
C device address bit. Depending on the states of their
I
AD0 bits, two AD5171 can be addressed on the same bus
(Figure 39). The last LSB is the R/
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
th
clock pulse (this is termed the Acknowledge bit). At
the 9
1
D4 D3 D2 D1
XD5
X
FRAME 1
DATA BYTE
1
X D5D4D3D2D1
X
FRAME 1
DATA BYTE
D1 D0
NO ACK. BY
MASTER
STOP BY
MASTER
9
D0
ACK. BY
AD5171
STOP BY
MASTER
9
D0
ACK. BY
AD5171
STOP BY
MASTER
03437-0-037
W
bit, which determines
03437-0-035
03437-0-036
Rev. PrC | Page 15 of 20
AD5171
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.
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).
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 I
2
C compatible interface.
5V
Rp
Rp
4. 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
th
SDA line high during the 10
clock pulse to establish a stop
condition (Figure 36 and Figure 37). In the read mode, the
th
master will issue a No Acknowledge for the 9
clock pulse,
i.e., the SDA line remains high. The master will then bring
th
the SDA line low before the 10
clock pulse, which goes
high to establish a stop condition (Figure 38).
MASTER
SCL
SDA
AD0
AD5171
Figure 39. Two AD5171 Devices on One Bus
5V
SDA
AD0
AD5171
SCL
SDA
SCL
03437-0-038
Rev. PrC | Page 16 of 20
AD5171
A
A
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.
5V
1U1
V
IN
ADR03
AD1582
GND
2
Figure 40. Programmable Voltage Reference (DAC)
AD5171
V
OUT
A
3
B
W
AD8601
A1
5V
U2
V
0
03437-0-039
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.
C2
4.7pF
R2 100kΩ
B
R1
47kΩ
V
I
Figure 41. Typical Noninverting Gain Amplifier
A
W
U1
V
O
03437-0-040
PROGRAMMABLE VOLTAGE SOURCE WITH
BOOSTED OUTPUT
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).
AD8601
U3 2N7002
+V
U2
–V
SIGNAL
V
U1
D5171
IN
A
W
B
Figure 42. Programmable Booster Voltage Source
V
OUT
R
C
BIAS
C
I
L
LD
03437-0-041
In this circuit, the inverting input of the op amp forces the V
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
. N1 power handling must be adequate to dissipate
FET N
1
(V
− VO) × IL power. This circuit can source a maximum of
I
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.
LEVEL SHIFTING FOR DIFFERENT VOLTAGE
OPERATION
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.
V
= 2.5V
DD1
SDA1
SCL1
2.5V
CONTROLLER
Rp
Rp
G
D
S
M1
Figure 43. Level Shifting for Different Voltage Operation
Rp
G
D
S
M2
Rp
2.7V–5.5V
AD5171
RESISTANCE SCALING
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.
This translates into a finer degree of precision because the step
size at terminal W will be smaller. The voltage can be found as
RR
)2||(
DV××
W
AB
=
)( (5)
+
B
Figure 44. Lowering the Nominal Resistance
D
V
RRR
DD
642||3
V
DD
R3
A
R2
W
R1
B
03437-0-043
OUT
V
= 5V
DD2
SDA2
SCL2
03437-0-042
Rev. PrC | Page 17 of 20
AD5171
A
T
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 R
the more like the pseudo log taper characteristic it behaves. The
wiper voltage is simply
RR
)2||(
DV×
W
WB
=
)( (6)
WA
+
WB
Figure 45. Resistor Scaling with Log Adjustment Characteristics
V
I
RRR
2||
V
I
A
R1
B
V
W
O
R2
03437-0-044
,
AB
RDAC CIRCUIT SIMULATION MODEL
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.
RDAC
A
10kΩ
C
25pF
C
A
55pF
W
Figure 47. Circuit Simulation Model for RDAC = 10 kΩ
B
C
W
B
25pF
03437-0-046
RESOLUTION ENHANCEMENT
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,
must be parallel with a discrete resistor RP, which is chosen
U
3
to be equal to a step resistance (R
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.
A1
U1
B1
A2
U2
B2
COARSE
DJUSTMEN
Figure 46. Doubling the Resolution
= RAB/64). One can see that
P
W1
A3
U3
FINE
W3
B3
03437-0-045
R
P
W2
ADJUSTMENT
Listing 1. Macro Model Net List for RDAC
.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
*
.ENDS DPOT
Rev. PrC | Page 18 of 20
AD5171
V
AD5171 EVALUATION BOARD
JP5
JP3
V
CC
V
DD
1
TEMP
2
GND
C3
0.1µF
3
V
IN
ADR03
1
2
3
4
AD5171/AD5273
V
DD
C4
0.1µF
V
V
J1
8
7
6
5
4
3
2
1
DD
DD
10µF
C1
SCL
10kΩ
SDA
R2
R1
10kΩ
C2
0.1µF
1
W
2
V
3
GND
4
SCL
U1
DD
AD0
SDA
AD5170
8
A
7
B
6
5
Figure 48. AD5171 Evaluation Board Schematic
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
V
REF
REF
A
W
B
JP1
A
V
O
U2
W
B
JP2
Figure 49. Programmable Voltage Reference
JP7
JP3
2
3
JP4
4
11
V+
V–
U3A
1
AD822
V
DD
OUT1
03437-0-048
U4
W
V
DD
GND
SCL
TRIM
V
OUT
U2
AD0
SDA
V+
C6
5
4
C5
0.1µF
8
A
7
B
6
5
JP1
JP2
V
REF
A
W
B
AGND
CP3
JP8
CP1
V
IN
JP7
+IN1
–IN2
+IN2
–IN1
2
3
6
5
CP5
–IN1
U3B
CP4
CP2
8
U3A
4
JP4
0.1µF
JP6
7
0.1µF
1
CP6
V–
C8
OUT2
CP7
C7
10µF
OUT1
OUT1
C9
10µF
V
EE
03437-0-047
Figure 50. AD5171 Evaluation Board
Rev. PrC | Page 19 of 20
AD5171
OUTLINE DIMENSIONS
2.90 BSC
2
1.95
BSC
5 6
0.65 BSC
2.80 BSC
1.45 MAX
SEATING
PLANE
0.22
0.08
8°
4°
0°
0.60
0.45
0.30
1.60 BSC
PIN 1
1.30
1.15
0.90
0.15 MAX
84 7
13
0.38
0.22
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 RAB (kΩ) Package Code Package Description Full Container Quantity Branding
* 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 I
sublicensed Associated Companies conveys a license for the purchaser under
the Philips I
provided that the system conforms to the I2C Standard Specification as
defined by Philips.
2
2
C components of Analog Devices or one of its
C Patent Rights to use these components in an I2C system,