tance. Eliminating this capacitor will result in excessive ringing
and an increase in glitch energy, therefore, this capacitor must
be as small as possible to minimize settling time.
APPLICATIONS
UNIPOLAR OPERATION
Figure 2 shows the DAC7545 connected for unipolar opera-
tion. The high-grade DAC7545 is specified for a 1LSB gain
error, so gain adjust is typically not needed; however, the
resistors shown are for adjusting full-scale errors. The value
of R1 should be minimized to reduce the effects of mismatch-
ing temperature coefficients between the internal and exter-
nal resistors. A range of adjustment of 1.5 times the desired
range will be adequate. For example, for a DAC7545JP, the
gain error is specified to be ±25LSB, therefore, a range of
adjustment of ±37LSB will be adequate. Equation 1 results in
a value of 458W for the potentiometer (use 500Ω).
The circuit of Figure 2 can be used with input voltages up to
±20V as long as the output amplifier is biased to handle the
excursions. Table I represents the analog output for four
codes into the DAC for Figure 2.
BIPOLAR OPERATION
Figure 3 and Table II illustrate the recommended circuit and
code relationship for bipolar operation. The DAC function uses
offset binary code. The inverter, U1, on the MSB line converts
binary two’s complement input code to offset binary code. If the
inversion is done in software, U1 can be omitted.
RLADDER
R1 =
3 • GainError
(
)
(1)
4096
BINARY CODE
MSB LSB
ANALOG OUTPUT
1111 1111 1111
1000 0000 0000
0000 0000 0001
0000 0000 0000
–VIN (4095/4096)
–VIN (2048/4096) = –1/2VIN
–VIN (1/4096)
R2
+5V
C1
33pF
0V
VIN
VDD RFB
VREF
DAC7545
TABLE I. Unipolar Codes.
VOUT
OUT 1
AGND
DGND
OPA604
R1
DATA INPUT
ANALOG OUTPUT
MSB
LSB
0111 1111 1111
+VIN (2047/2048)
+VIN (1/2048)
0V
–VIN (1/2048)
–VIN (2048/2048)
0000 0000 0001
0000 0000 0000
1111 1111 1111
1000 0000 0000
DB0-DB11
FIGURE 2. Unipolar Binary Operation.
TABLE II. Binary Two’s Complement Code Table for Circuit
of Figure 3.
The addition of R1 will cause a negative gain error. To
compensate for this error, R2 must be added. The value of R2
should be one-third the value of R1.
R3, R4, and R5 must match within 0.01% and must be the
same type of resistors (preferably wire-wound or metal foil),
so that the temperature coefficients match; mismatch of R3
value to R4 causes both offset and full-scale error. Mismatch
of R5 to R4 and R3 causes full-scale error.
The capacitor across the feedback resistor is used to compen-
sate for the phase shift due to stray capacitances of the circuit
board, the DAC output capacitance, and op amp input capaci-
R2
R4
+5V
20kΩ
OPA604
C1
33pF
or
1/2 OPA2604
18
VDD
20
RFB
R5
R3
10kΩ
1
20kΩ
VIN
OUT 1
AGND
19
VREF
DAC7545
DB10-DB0
VOUT
R1
R6
5kΩ 10%
DB11
4
2
OPA604
or
1/2 OPA2604
11
U1
(see text)
Analog Common
12
Data Input
FIGURE 3. Bipolar Operation (binary two’s complement code).
DAC7545
SBAS150A
5
www.ti.com