AD5227
Rev. B | Page 9 of 16
6
–54
–48
–42
–36
–30
–24
–18
–12
–6
0
1k 10k 1M
START 1 000.000Hz STOP 1 000 000.000Hz
REF LEVEL
0dB
/DIV
6.0dB
MARKER
MAG (A/R)
100 885.289Hz
–9.060dB
100k
04419-0-043
dB
T
A
= 25°C
V
DD
= 5.5V
V
A
= 50mV rms
32 STEPS
16 STEPS
8 STEPS
4 STEPS
2 STEPS
1 STEP
Figure 18. Gain vs. Frequency vs. Code, R
AB
= 50 kΩ
6
–54
–48
–42
–36
–30
–24
–18
–12
–6
0
1k 10k 1M
START 1 000.000Hz STOP 1 000 000.000Hz
REF LEVEL
0dB
/DIV
6.0dB
MARKER
MAG (A/R)
52 246.435Hz
–9.139dB
100k
04419-0-044
dB
T
A
= 25°C
V
DD
= 5.5V
V
A
= 50mV rms
32 STEPS
16 STEPS
8 STEPS
4 STEPS
2 STEPS
1 STEP
Figure 19. Gain vs. Frequency vs. Code, R
AB
= 100 kΩ
0
–60
–40
–20
100 1k 10k 100k 1M
04419-0-023
FREQUENCY (Hz)
PSRR (dB)
V
DD
= 5V DC ±10% p-p AC
V
DD
= 3V DC ±10% p-p AC
STEP = MIDSCALE, V
A
= V
DD
, V
B
= 0V
Figure 20. PSRR
200
0
100
150
50
10k 100k 10M1M
04419-0-024
FREQUENCY (Hz)
I
DD
(
μ
A)
V
DD
= 5V
V
DD
= 3V
Figure 21. I
DD
vs. CLK Frequency
1.2
0
0.2
0.4
0.6
0.8
1.0
0 8 16 24 32 40 48 56 64
04419-0-025
CODE (Decimal)
THEORETICAL I
WB_MAX
(mA)
R
AB
= 10kΩ
R
AB
= 50kΩ
R
AB
= 100kΩ
A = OPEN
T
A
= 25°C
Figure 22. Maximum I
WB
vs. Code
04419-0-022
CH1 2.00V CH2 50.0mV M 400ns A CH2 60.0mV
V
W
1
2
VA
T 0.00000s
V
DD
= 5V
V
A
= 5V
V
B
= 0V
VB = 0V
STEP N+1
STEP N
Figure 23. Step Change Settling Time
AD5227
Rev. B | Page 10 of 16
THEORY OF OPERATION
The AD5227 is a 64-position 3-terminal digitally controlled
potentiometer device. It presets to a midscale at system power-
on. When
CS
is enabled, changing the resistance settings is
achieved by clocking the CLK pin. It is negative-edge triggered,
and the direction of stepping is determined by the state of the
U/
D
input. When the wiper reaches the maximum or the
minimum setting, additional CLK pulses do not change the
wiper setting.
04419-0-026
CS
U/D
CLK
GND
V
DD
6-BIT UP/DOWN
CONTROL
LOGIC
POR
MIDSCALE
WIPER
REGISTER
A
W
B
AD5227
Figure 24. Functional Block Diagram
04419-0-027
B
W
A
D0
D2
D1
D4
D5
D3
R
S
R
S
=
R
AB
/64
R
W
R
S
R
S
R
S
RDAC
UP/DOWN
CTRL AND
DECODE
Figure 25. AD5227 Equivalent RDAC Circuit
PROGRAMMING THE DIGITAL POTENTIOMETERS
Rheostat 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 and is shown in Figure 26.
04419-0-028
A
W
B
A
W
B
A
W
B
Figure 26. Rheostat Mode Configuration
The end-to-end resistance, R
AB
, has 64 contact points accessed
by the wiper terminal, plus the B terminal contact, assuming
that R
WB
is used (see Figure 25). Clocking the CLK input steps,
R
WB
by one step. The direction is determined by the state of
U/
D
pin. The change of R
WB
can be determined by the number
of clock pulses, provided that the AD5227 has not reached its
maximum or minimum scale. ΔR
WB
can, therefore, be
approximated as
+×±=Δ
W
AB
WB
R
R
CPR
64
(1)
where:
CP is the number of clock pulses.
R
AB
is the end-to-end resistance.
R
W
is the wiper resistance contributed by the on-resistance of
the internal switch.
Since in the lowest end of the resistor string a finite wiper
resistance is present, 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 switches can occur.
Similar to the mechanical potentiometer, the resistance of the
RDAC between the Wiper W and Terminal A also produces a
digitally controlled complementary resistance, R
WA
. When these
terminals are used, the B terminal can be opened or shorted to
W. S i m i l a r l y, Δ R
WA
can be approximated as
()
+±=Δ
W
AB
WA
R
R
CPR
64
64 (2)
Equations 1 and 2 do not apply when CP = 0.
The typical distribution of the resistance tolerance from device
to device is process lot dependent. It is possible to have ±20%
tolerance.
Potentiometer Mode Operation
If all three terminals are used, the operation is called
potentiometer mode. The most common configuration is the
voltage divider operation as shown in Figure 27.
04419-0-029
A
W
B
V
I
V
C
Figure 27. Potentiometer Mode Configuration
AD5227
Rev. B | Page 11 of 16
The change of V
WB
is known provided that the AD5227 has not
reached the maximum or minimum scale. If one ignores the
effect of the wiper resistance, the transfer functions can be
simplified as
AWB
V
CP
V
64
+=Δ
U/
D
= 1 (3)
AWB
V
CP
V
64
=Δ
U/
D
= 0 (4)
Unlike rheostat mode operation where the absolute tolerance is
high, potentiometer mode operation yields an almost ratiometric
function of CP/64 with a relatively small error contributed by
the R
W
term. The tolerance effect is, therefore, almost canceled.
Although the thin film step resistor, R
S
, and CMOS switches
resistance, R
W
, have very different temperature coefficients, the
ratiometric adjustment also reduces the overall temperature
coefficient to 5 ppm/°C except at low value codes where R
W
dominates.
Potentiometer mode operation includes an op amp gain
configuration among others. The A, W, and B terminals can be
input or output terminals and have no polarity constraint
provided that |V
AB
|, |V
WA
|, and |V
WB
| do not exceed V
DD
-to-GND.
DIGITAL INTERFACE
The AD5227 contains a 3-wire serial input interface. The three
inputs are clock (CLK), chip select (
CS
), and up/down control
(U/
D
). These inputs can be controlled digitally for optimum
speed and flexibility
When
CS
is pulled low, a clock pulse increments or decrements
the up/down counter. The direction is determined by the state
of the U/
D
pin. When a specific state of the U/
D
remains, the
device continues to change in the same direction under con-
secutive clocks until it comes to the end of the resistance
setting. All digital inputs,
CS
, CLK, and U/
D
pins, are protected
with a series input resistor and a parallel Zener ESD structure as
shown in . Figure 28
04419-0-030
1kΩ
LOGIC
Figure 28. Equivalent ESD Protection Digital Pins
TERMINAL VOLTAGE OPERATION RANGE
The AD5227 is designed with internal ESD protection diodes
(Figure 29), but the diodes also set the boundary of the terminal
operating voltages. Voltage present on Terminal A, B, or W that
exceeds V
DD
by more than 0.5 V is clamped by the diode and,
therefore, elevates V
DD
. There is no polarity constraint between
V
AB
, V
WA
, and V
WB
, but they cannot be higher than V
DD
-to-
GND.
POWER-UP AND POWER-DOWN SEQUENCES
Because of the ESD protection diodes, it is important to power
on V
DD
before applying any voltage to Terminals A, B, and W.
Otherwise, the diodes are forward-biased such that V
DD
can be
powered unintentionally and can affect the rest of the system
circuit. Similarly, V
DD
should be powered down last. The ideal
power-on sequence is in the following order: GND, V
DD
, V
A/B/W
,
and digital inputs.
04419-0-031
V
DD
GND
A
W
B
Figure 29. Maximum Terminal Voltages Set by V
DD
and GND
LAYOUT AND POWER SUPPLY BIASING
It is a good practice to use compact, minimum lead length
layout design. The leads to the input should be as direct as
possible with a minimum conductor length. Ground paths
should have low resistance and low inductance. It is also good
practice to bypass the power supplies with quality capacitors.
Low ESR (equivalent series resistance) 1 μF to 10 μF tantalum
or electrolytic capacitors should be applied at the supplies to
minimize any transient disturbance and filter low frequency
ripple.
Figure 30 illustrates the basic supply bypassing configuration
for the AD5227. The ground pin of the AD5227 is a digital
ground reference that should be joined to the common ground
at a single point to minimize the digital ground bounce.
04419-0-032
V
DD
V
DD
+
GND
AD5227
C2
10μF
C1
0.1μF
Figure 30. Power Supply Bypassing

AD5227BUJZ100-RL7

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital Potentiometer ICs IC 6-Bit Up/Down
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union