REV.
AD7226
–9–
DAC A
DAC B
DAC C
DAC D
MSB
V
REF
V
DD
DGND
AGND
V
SS
V
OUT
A
WR
A1
A0
LSB
V
OUT
B
V
OUT
C
V
OUT
D
DB7
DB0
Figure 8. AD7226 Unipolar Output Circuit
Table II. Unipolar Code Table
DAC Latch Contents
MSB LSB Analog Output
1 1 1 1 1 1 1 1
+
Ê
Ë
Á
ˆ
¯
˜
V
REF
255
256
1 0 0 0 0 0 0 1
+
Ê
Ë
Á
ˆ
¯
˜
V
REF
129
256
1 0 0 0 0 0 0 0
+
Ê
Ë
Á
ˆ
¯
˜
=+V
V
REF
REF
128
256 2
0 1 1 1 1 1 1 1
+
Ê
Ë
Á
ˆ
¯
˜
V
REF
127
256
0 0 0 0 0 0 0 1
+
Ê
Ë
Á
ˆ
¯
˜
V
REF
1
256
0 0 0 0 0 0 0 0 0 V
Note LSB V V
REF REF
:
=
()
()
=
Ê
Ë
Á
ˆ
¯
˜
2
1
256
8
(2)
Bipolar Output Operation
Each of the DACs of the AD7226 can be individually config-
ured to provide bipolar output operation. This is possible using
one external amplifier and two resistors per channel. Figure 9
shows a circuit used to implement offset binary coding (bipolar
operation) with DAC A of the AD7226. In this case
V
R
R
DV
R
R
V
OUT A REF REF
=+
Ê
Ë
Á
ˆ
¯
˜
¥
()
Ê
Ë
Á
ˆ
¯
˜
¥
()
1
2
1
2
1
(3)
With R1 = R2
VDV
OUT A REF
=
()
¥21
(4)
where D
A
is a fractional representation of the digital word in latch A.
Mismatch between R1 and R2 causes gain and offset errors and
therefore these resistors must match and track over tempera-
ture. Once again the AD7226 can be operated in single supply
or from positive/negative supplies. Table III shows the digital
code versus output voltage relationship for the circuit of Figure 9
with R1 = R2.
DAC A
V
REF
V
DD
DGND
AGND
V
SS
V
OUT
A
V
OUT
V
REF
AD7226
*
R2
R1
+15V
–15V
R1, R2 = 10k 0.1%
*
DIGITAL INPUTS OMITTED
FOR CLARITY
Figure 9. AD7226 Bipolar Output Circuit
Table III. Bipolar (Offset Binary) Code Table
DAC Latch Contents
MSB LSB Analog Output
1 1 1 1 1 1 1 1
+
Ê
Ë
Á
ˆ
¯
˜
V
REF
127
128
1 0 0 0 0 0 0 1
+
Ê
Ë
Á
ˆ
¯
˜
V
REF
1
128
1 0 0 0 0 0 0 0 0 V
0 1 1 1 1 1 1 1
–V
REF
1
128
Ê
Ë
Á
ˆ
¯
˜
0 0 0 0 0 0 0 1
–V
REF
127
128
Ê
Ë
Á
ˆ
¯
˜
0 0 0 0 0 0 0 0
––VV
REF REF
128
128
Ê
Ë
Á
ˆ
¯
˜
=
AGND BIAS
The AD7226 AGND pin can be biased above system GND
(AD7226 DGND) to provide an offset “zero” analog output
voltage level. Figure 10 shows a circuit configuration to achieve
this for channel A of the AD7226. The output voltage, V
OUT
A,
can be expressed as:
VAV DV
OUT BIAS A IN
=+
()
(5)
where D
A
is a fractional representation of the digital input word
(0 £ D £ 255/256).
D
REV. –10–
AD7226
DAC A
V
REF
V
DD
DGND
AGND
V
SS
V
OUT
A
AD7226
*
*
DIGITAL INPUTS OMITTED FOR CLARITY
5
V
BIAS
Figure 10. AGND Bias Circuit
For a given V
IN
, increasing AGND above system GND will
reduce the effective V
DD
–V
REF
which must be at least 4 V to
ensure specified operation. Note that because the AGND pin is
common to all four DACs, this method biases up the output
voltages of all the DACs in the AD7226. Note that V
DD
and V
SS
of the AD7226 should be referenced to DGND.
3-PHASE SINE WAVE
The circuit of Figure 11 shows an application of the AD7226 in
the generation of 3-phase sine waves which can be used to con-
trol small 3-phase motors. The proper codes for synthesizing a
full sine wave are stored in EPROM, with the required phase-
shift of 120 between the three D/A converter outputs being
generated in software.
Data is loaded into the three D/A converters from the sine
EPROM via the microprocessor or control logic. Three loops are
generated in software with each D/A converter being loaded
from a separate loop. The loops run through the look-up table
producing successive triads of sinusoidal values with 120
separation which are loaded to the D/A converters producing
three sine wave voltages 120 apart. A complete sine wave
cycle is generated by stepping through the full look-up table.
If a 256-element sine wave table is used then the resolution of
the circuit will be 1.4 (360/256). Figure 13 shows typical
resulting waveforms. The sine waves can be smoothed by filter-
ing the D/A converter outputs.
The fourth D/A converter of the AD7226, DAC D, may be
used in a feedback configuration to provide a programmable
reference voltage for itself and the other three converters. This
configuration is shown in Figure 11. The relationship of V
REF
to
V
IN
is dependent upon digital code and upon the ratio of R
F
to
R and is given by the formula.
V
G
GD
V
REF
D
IN
=
+
()
()
¥
1
1
(6)
where G = R
F
/R
and D
D
is a fractional representation of the digital word in latch D.
Alternatively, for a given V
IN
and resistance ratio, the required
value of D
D
for a given value of V
REF
can be determined from
the expression
DRR
V
V
R
R
DF
IN
REF F
=+
()
¥1 /–
(7)
Figure 12 shows typical plots of V
REF
versus digital code for
three different values of R
F
. With V
IN
= 2.5 V and R
F
= 3 R the
peak-to-peak sine wave voltage from the converter outputs will
vary between 2.5 V and 10 V over the digital input code range
of 0 to 255.
DIGITAL CODE (Decimal Equivalent)
4.0 V
IN
0
16
V
REF
32 48 64 80 96 112 128 144 160 176 192 208 224 240 256
3.5 V
IN
3.0 V
IN
2.5 V
IN
2.0 V
IN
1.5 V
IN
V
IN
R
F
= 3R
R
F
= 2R
R
F
= R
V
DD
= +15 V
V
SS
= –5 V
Figure 12. Variation of V
REF
with Feedback Configuration
V
REF
V
OUT
A
WR
A1
A0
V
OUT
B
V
OUT
C
V
OUT
D
AD7226
DATA
BUS
ADDRESS
BUS
MICROPROCESSOR
OR
CONTROL LOGIC
SINE
EPROM
ADDRESS
DECODE
V
IN
R
F
R
Figure 11. 3-Phase Sine Wave Generation Circuit
V
OUT
A
V
OUT
B
V
OUT
C
Figure 13. 3-Phase Sine Wave Output
D
REV.
AD7226
–11–
STAIRCASE WINDOW COMPARATOR
In many test systems, it is important to be able to determine
whether some parameter lies within defined limits. The staircase
window comparator of Figure 14a is a circuit that can be used,
for example, to measure the V
OH
and V
OL
thresholds of a TTL
device under test. Upper and lower limits on both V
OH
and V
OL
can be programmably set using the AD7226. Each adjacent pair
of comparators forms a window of programmable size. If V
TEST
lies within a window, then the output for that window will be
high. With a reference of 2.56 V applied to the V
REF
input, the
minimum window size is 10 mV.
V
REF
V
DD
AGND
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
V
OH
(HIGH)
V
OL
(HIGH)
V
OH
(LOW)
V
OL
(LOW)
V
TEST
FROM D.U.T.
1/4 CA339
10k
5V
10k
5V
5V
5V
10k
10k
5V
10k
WINDOW 5
WINDOW 4
WINDOW 3
WINDOW 2
WINDOW 1
AD7226
Figure 14a. Logic Level Measurement
V
REF
AGND
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
WINDOW 5
WINDOW 4
WINDOW 3
WINDOW 2
WINDOW 1
Figure 14b. Window Structure
The circuit can easily be adapted to allow for overlapping of
windows as shown in Figure 15a. If the three outputs from this
circuit are decoded then five different nonoverlapping program-
mable windows can again be defined.
V
REF
V
DD
AGND
5V
10k
WINDOW 3
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
V
TEST
FROM D.U.T.
10k
5V
10k
5V
WINDOW 2
WINDOW 1
AD7226
Figure 15a. Overlapping Windows
V
REF
AGND
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
WINDOW 3
WINDOW 2
WINDOW 1
Figure 15b. Window Structure
DAC A
V
REF
V
DD
DGND
AGND
V
SS
V
OUT
A
AD7226
*
*
DIGITAL INPUTS OMITTED
FOR CLARITY
+4V
–4V
+15V
15k
10k
Figure 16. Varying Reference Signal
VARYING REFERENCE SIGNAL
In some applications, it may be desirable to have a varying signal
applied to the reference input of the AD7226. The AD7226 has
multiplying capability within upper and lower limits of reference
voltage when operated with dual supplies. The upper and lower
limits are those required by the AD7226 to achieve its linearity
specification. Figure 16 shows a sine wave signal applied to the
reference input of the AD7226. For input signal frequencies up
to 50 kHz, the output distortion typically remains less than 0.1%.
Typical 3 dB bandwidth figure is 700 kHz.
D

AD7226TQ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC QUAD 8 BIT V-OUT IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union