AD5260/AD5262
that can deliver 20 mA at 2.048 V. The load current is simply the
voltage across terminals B-to-W of the digital pot divided by RS.
Programmable Low-Pass Filter
Digital potentiometer AD5262 can be used to construct a second
order Sallen Key Low-Pass Filter (see Figure 21). The design
equations are:
VREF ¥ D
IL
=
(7)
RS
2
VO
Vi
wO
w
Q
=
=
؉5V
2
(9)
S2 + O S + wO
2
V
U1
IN
1
REF191
3
wO
(10)
(11)
0 TO (2.048 ؉ V )
L
SLEEP
6
R1R2C1C2
V
OUT
B
W
C1
AD5260
GND
4
1F
1
1
A
+5V
Q =
+
R1C1 R2C2
Users can first select some convenient values for the capacitors.
To achieve maximally flat bandwidth where Q = 0.707, let C1 be
twice the size of C2 and let R1 = R2. As a result, users can adjust
R1 and R2 to the same settings to achieve the desirable bandwidth.
U2
–
R
S
OP1177
+
102⍀
–2.048V TO V
L
V
L
R
L
100⍀
I
L
–5V
C1
Figure 19. Programmable 4-to-20 mA Current Source
+2.5V
The circuit is simple, but be aware that dual-supply op amps are
ideal because the ground potential of REF191 can swing from
–2.048 V at zero scale to VL at full scale of the potentiometer
setting. Although the circuit works under single supply, the pro-
grammable resolution of the system will be reduced.
R1
R2
A
B
A
B
V
i
AD8601
–2.5V
V
O
W
W
R
R
C2
Programmable Bidirectional Current Source
ADJUSTED TO
SAME SETTINGS
For applications that require bidirectional current control or higher
voltage compliance, a Howland current pump can be a solution
(see Figure 20). If the resistors are matched, the load current is:
Figure 21. Sallen Key Low-Pass Filter
Programmable Oscillator
R2A + R2B /R1
(
)
(8)
IL
=
¥VW
In a classic Wien-bridge oscillator, Figure 22, the Wien network
(R, R’, C, C’) provides positive feedback, while R1 and R2
provide negative feedback. At the resonant frequency, fo, the
overall phase shift is zero, and the positive feedback causes the
circuit to oscillate. With R = R’, C = C’, and R2 = R2A//(R2B+
RDIODE), the oscillation frequency is:
R2B
R1
R2
150k⍀
15k⍀
C1
10pF
+15V
1
RC
1
wO
=
or fO
=
(12)
2pRC
C2
A2
10pF
AD8016
+5V
where R is equal to RWA such that:
+15V
R
L
256 – D
256
A
R =
RAB
50⍀
R1
(13)
(14)
–15V
R2A
150k⍀
AD5260
W
V
L
OP2177
B
At resonance, setting
14.95k⍀
R
500⍀
L
R2
= 2
R1
A1
–5V
–15V
I
L
balances the bridge. In practice, R2/R1 should be set slightly larger
than 2 to ensure the oscillation can start. On the other hand, the
alternate turn-on of the diodes D1 and D2 ensures R2/R1 to be
smaller than 2 momentarily and therefore stabilizes the oscillation.
Figure 20. Programmable Bidirectional Current Source
Once the frequency is set, the oscillation amplitude can be tuned
by R2B since:
2
3
VO = IDR2B +VD
(15)
–16–
REV. 0