AD7837AR-REEL

AD7837/AD7847
REV. C
–7–
CIRCUIT INFORMATION
D/A SECTION
A simplified circuit diagram for one of the D/A converters and
output amplifier is shown in Figure 10.
A segmented scheme is used whereby the 2 MSBs of the 12-bit
data word are decoded to drive the three switches A-C. The
remaining 10 bits drive the switches (S0–S9) in a standard R-2R
ladder configuration.
Each of the switches A–C steers 1/4 of the total reference cur-
rent with the remaining 1/4 passing through the R-2R section.
The output amplifier and feedback resistor perform the current
to voltage conversion giving
V
OUT
= – D × V
REF
where D is the fractional representation of the digital word. (D
can be set from 0 to 4095/4096.)
The output amplifier can maintain ±10 V across a 2 k load. It
is internally compensated and settles to 0.01% FSR (1/2 LSB)
in less than 5 µs. Note that on the AD7837, V
OUT
must be con-
nected externally to R
FB
.
V
OUT
R/2
R
V
REF
2R 2R
S0
AGND
R
2R
R
2R2R2R2R
S8S9ABC
SHOWN FOR ALL 1s ON DAC
Figure 10. D/A Simplified Circuit Diagram
INTERFACE LOGIC INFORMATION—AD7847
The input control logic for the AD7847 is shown in Figure 11.
The part contains a 12-bit latch for each DAC. It can be treated
as two independent DACs, each with its own CS input and a com-
mon WR input. CSA and WR control the loading of data to the
DAC A latch, while CSB and WR control the loading of the
DAC B latch. The latches are edge triggered so that input data
is latched to the respective latch on the rising edge of WR. If CSA
and CSB are both low and WR is taken high, the same data will
be latched to both DAC latches. The control logic truth table is
shown in Table I, while the write cycle timing diagram for the
part is shown in Figure 12.
CSA
WR
CSB
DAC A LATCH
DAC B LATCH
Figure 11. AD7847 Input Control Logic
Table I. AD7847 Truth Table
CC
CC
CSA CSB WR Function
X X 1 No Data Transfer
1 1 X No Data Transfer
01 g Data Latched to DAC A
10 g Data Latched to DAC B
00 g Data Latched to Both DACs
g 1 0 Data Latched to DAC A
1 g 0 Data Latched to DAC B
gg 0 Data Latched to Both DACs
X = Don’t Care. g = Rising Edge Triggered.
VALID
DATA
t
1
t
2
t
3
t
5
t
4
CSA, CSB
WR
DATA
Figure 12. AD7847 Write Cycle Timing Diagram
INTERFACE LOGIC INFORMATION—AD7837
The input loading structure on the AD7837 is configured for
interfacing to microprocessors with an 8-bit-wide data bus. The
part contains two 12-bit latches per DAC—an input latch and
a DAC latch. Each input latch is further subdivided into a least-
significant 8-bit latch and a most-significant 4-bit latch. Only the
data held in the DAC latches determines the outputs from the part.
The input control logic for the AD7837 is shown in Figure 13,
while the write cycle timing diagram is shown in Figure 14.
DAC A MS
INPUT
LATCH
12
DAC A LS
INPUT
LATCH
4
8
DAC B LS
INPUT
LATCH
DAC B LS
INPUT
LATCH
12
4
8
8
CS
WR
DAC A
LATCH
LDAC
A0
A1
DB7 DB0
DAC B
LATCH
Figure 13. AD7837 Input Control Logic
AD7837/AD7847
REV. C
–8–
VALID
DATA
t
6
t
3
t
8
WR
DATA
ADDRESS DATA
t
7
t
1
t
2
t
5
t
4
CS
A0/A1
LDAC
Figure 14. AD7837 Write Cycle Timing Diagram
CS, WR, A0 and A1 control the loading of data to the input
latches. The eight data inputs accept right-justified data. Data
can be loaded to the input latches in any sequence. Provided that
LDAC is held high, there is no analog output change as a result
of loading data to the input latches. Address lines A0 and A1
determine which latch data is loaded to when CS and WR are low.
The control logic truth table for the part is shown in Table II.
Table II. AD7837 Truth Table
CS WR A1 A0 LDAC Function
1 X X X 1 No Data Transfer
X 1 X X 1 No Data Transfer
0 0 0 0 1 DAC A LS Input Latch Transparent
0 0 0 1 1 DAC A MS Input Latch Transparent
0 0 1 0 1 DAC B LS Input Latch Transparent
0 0 1 1 1 DAC B MS Input Latch Transparent
1 1 X X 0 DAC A and DAC B DAC Latches
Updated Simultaneously from the
Respective Input Latches
X = Don’t Care.
The LDAC input controls the transfer of 12-bit data from the
input latches to the DAC latches. When LDAC is taken low, both
DAC latches, and hence both analog outputs, are updated at
the same time. The data in the DAC latches is held on the rising
edge of LDAC. The LDAC input is asynchronous and indepen-
dent of WR. This is useful in many applications especially in the
simultaneous updating of multiple AD7837s. However, care must
be taken while exercising LDAC during a write cycle. If an LDAC
operation overlaps a CS and WR operation, there is a possibility
of invalid data being latched to the output. To avoid this, LDAC
must remain low after CS or WR return high for a period equal
to or greater than t
8
, the minimum LDAC pulsewidth.
UNIPOLAR BINARY OPERATION
Figure 15 shows DAC A on the AD7837/AD7847 connected
for unipolar binary operation. Similar connections apply for
DAC B. When V
IN
is an ac signal, the circuit performs 2-quad-
rant multiplication. The code table for this circuit is shown in
Table III. Note that on the AD7847 the feedback resistor R
FB
is
internally connected to V
OUT
.
DAC A
AGNDA
V
OUTA
V
REFA
V
IN
DGND
V
SS
R
FBA
*
V
SS
V
DD
V
DD
AD7837
AD7847
V
OUT
*INTERNALLY
CONNECTED
ON AD7847
Figure 15. Unipolar Binary Operation
Table III. Unipolar Code Table
DAC Latch Contents
MSB LSB Analog Output, V
OUT
1111 1111 1111
V
IN
×
4095
4096
1000 0000 0000
V
IN
×
2048
4096
= 1/2 V
IN
0000 0000 0001
V
IN
×
1
4096
0000 0000 0000 0 V
Note 1 LSB =
V
IN
4096
.
AD7837/AD7847
REV. C
–9–
APPLICATIONS
PROGRAMMABLE GAIN AMPLIFIER (PGA)
The dual DAC/amplifier combination along with access to R
FB
make the AD7837 ideal as a programmable gain amplifier. In this
application, the DAC functions as a programmable resistor in the
amplifier feedback loop. This type of configuration is shown
in Figure 17 and is suitable for ac gain control. The circuit con-
sists of two PGAs in series. Use of a dual configuration provides
greater accuracy over a wider dynamic range than a single PGA
solution. The overall system gain is the product of the individual
gain stages. The effective gains for each stage are controlled by
the DAC codes. As the code decreases, the effective DAC
resistance increases, and so the gain also increases.
DAC B
AGNDA
V
OUTB
V
REFB
V
IN
R
FBB
AD7837
V
OUT
R
FBA
AGNDB
DAC A
V
OUTA
V
REFA
Figure 17. Dual PGA Circuit
The transfer function is given by
V
OUT
V
IN
=
R
EQA
R
FBA
×
R
EQB
R
FBB
(1)
where R
EQA
, R
EQB
are the effective DAC resistances controlled
by the digital input code:
R
EQ
=
2
12
R
IN
N
(2)
where R
IN
is the DAC input resistance and is equal to R
FB
and
N = DAC input code in decimal.
The transfer function in (1) thus simplifies to
V
OUT
V
IN
=
2
12
N
A
×
2
12
N
B
(3)
where N
A
= DAC A input code in decimal and N
B
= DAC B
input code in decimal.
N
A
, N
B
may be programmed between 1 and (2
12
1). The zero
code is not allowed as it results in an open loop amplifier
response. To minimize errors, the digital codes N
A
and N
B
should be chosen to be equal to or as close as possible to each
other to achieve the required gain.
BIPOLAR OPERATION
(4-QUADRANT MULTIPLICATION)
Figure 16 shows the AD7837/AD7847 connected for bipolar
operation. The coding is offset binary as shown in Table IV.
When V
IN
is an ac signal, the circuit performs 4-quadrant multi-
plication. To maintain the gain error specifications, resistors R1,
R2 and R3 should be ratio matched to 0.01%. Note that on the
AD7847 the feedback resistor R
FB
is internally connected to
V
OUT
.
DAC A
AGNDA
V
OUTA
V
REFA
V
IN
DGND
V
SS
R
FBA
*
V
DD
V
DD
AD7837
AD7847
*INTERNALLY
CONNECTED
ON AD7847
R3
10k
R1
20k
AD711
R2
20k
V
OUT
V
SS
Figure 16. Bipolar Offset Binary Operation
Table IV. Bipolar Code Table
DAC Latch Contents
MSB LSB Analog Output, V
OUT
1111 1111 1111
+V
IN
×
2047
2048
1000 0000 0001
+V
IN
×
1
2048
1000 0000 0000 0 V
0111 1111 1111
V
IN
×
1
2048
0000 0000 0000
V
IN
×
2048
2048
= V
IN
Note 1 LSB =
V
IN
2048
.

AD7837AR-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC LC2MOS Dual 12-Bit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union