Data Sheet
AD5231
APPLICATIONS
V
DD
BIPOLAR OPERATION FROM DUAL SUPPLIES
U2
AD5231
A
V+
OP2177
V–
The AD5231 can be operated from dual supplies 2.5 V, which
enables control of ground referenced ac signals or bipolar
operation. AC signals as high as VDD/VSS can be applied directly
across Terminal A to Terminal B with output taken from
Terminal W. See Figure 46 for a typical circuit connection.
+2.5V
W
V
O
B
C
C
R2
R1
2.2pF
A2
B
A
V
SS
–KVi
Vi
W
V
DD
U1
AD5231
V+
OP2177
V–
SS
V
CS
V
DD
DD
µC
GND
CLK
SDI
SCLK
MOSI
A
A
V
SS
±2.5V p-p
±1.25V p-p
W
B
Figure 48. Bipolar Programmable Gain Amplifier
GND
In the simpler (and much more usual) case where K = 1,
a pair of matched resistors can replace U1. Equation 4 can be
simplified to
AD5231
V
SS
D = MIDSCALE
–2.5V
VO
VI
R2
R1
2D
2
= 1+
×
−1
(5)
Figure 46. Bipolar Operation from Dual Supplies
1024
HIGH VOLTAGE OPERATION
Table 20 shows the result of adjusting D with A2 configured as a
unity gain, a gain of 2, and a gain of 10. The result is a bipolar
amplifier with linearly programmable gain and 1024-step
resolution.
The digital potentiometer can be placed directly in the feedback
or input path of an op amp for gain control, provided that the
voltage across Terminals A–B, Terminals W–A, or Terminals
W–B does not exceed |5 V|. When high voltage gain is needed,
users should set a fixed gain in an op amp operated at a higher
voltage and let the digital potentiometer control the adjustable
input. Figure 47 shows a simple implementation.
Table 20. Result of Bipolar Gain Amplifier
D
R1 = ∞, R2 = 0
R1 = R2
R2 = 9 × R1
0
−1
−0.5
0
0.5
0.992
−2
−1
0
−10
−5
0
5
9.92
R
2R
256
512
768
1023
C
C
2.2pF
15V
V+
1
1.984
5V
–
+
10-BIT BIPOLAR DAC
A1
V
O
A
V–
W
AD5231
0VTO15V
If the circuit in Figure 48 is changed with the input taken from a
voltage reference and A2 configured as a buffer, a 10-bit bipolar
DAC can be realized. Compared to the conventional DAC, this
circuit offers comparable resolution but not the precision
because of the wiper resistance effects. Degradation of the
nonlinearity and temperature coefficient is prominent near
both ends of the adjustment range. On the other hand, this
circuit offers a unique nonvolatile memory feature that in some
cases outweighs any shortfall in precision.
B
Figure 47. 15 V Voltage Span Control
BIPOLAR PROGRAMMABLE GAIN AMPLIFIER
There are several ways to achieve bipolar gain. Figure 48 shows
one versatile implementation. Digital potentiometer U1 sets the
adjustment range; the wiper voltage VW2 can, therefore, be
programmed between Vi and −KVi at a given U2 setting. For
linear adjustment, configure A2 as a noninverting amplifier and
the transfer function becomes
The output of this circuit is
2D
1024
2
VO
=
−1 ×V
(6)
REF
VO
VI
R2
R1
D2
= 1 +
×
× (1 + K) − K
(4)
1024
where:
K is the ratio of RWB/RWA that is set by U1.
D is the decimal equivalent of the input code.
Rev. D | Page 23 of 28