AD7891
–12–
REV. D
CIRCUIT DESCRIPTION
Reference
The AD7891 contains a single reference pin labeled REF OUT/
REF IN that either provides access to the parts own 2.5 V
internal reference or to which an external 2.5 V reference can be
connected to provide the reference source for the part. The part
is specified with a 2.5 V reference voltage. Errors in the reference
source result in gain errors in the transfer function of the AD7891
and add to the specified full-scale errors on the part. They also
result in an offset error injected into the attenuator stage.
The AD7891 contains an on-chip 2.5 V reference. To use this
reference as a reference source for the AD7891, simply connect
a 0.1 mF disc ceramic capacitor from the REF OUT/REF IN pin
to REFGND. REFGND should be connected to AGND or the
analog ground plane. The voltage that appears at the REF OUT/
REF IN pin is internally buffered before being applied to the
ADC. If this reference is required for use external to the AD7891,
it should be buffered since the part has a FET switch in series
with the reference, resulting in a source impedance for this
output of 2 kW nominal. The tolerance of the internal reference
is ± 10 mV at 25C with a typical temperature coefficient of
25 ppm/C and a maximum error over temperature of ± 20 mV.
If the application requires a reference with a tighter tolerance
or if the AD7891 needs to be used with a system reference, an
external reference can be connected to the REF OUT/REF IN
pin. The external reference overdrives the internal reference
and thus provides the reference source for the ADC. The refer-
ence input is buffered before being applied to the ADC and
the maximum input current is ± 100 mA. Suitable reference for
the AD7891 include the AD580, the AD680, the AD780, and
the REF43 precision 2.5 V references.
Analog Input Section
The AD7891 is offered as two part types: the AD7891-1 where
each input can be configured to have a ± 10 V or a ± 5 V input
range, and the AD7891-2 where each input can be configured
to have a 0 V to +2.5 V, 0 V to +5 V, and ± 2.5 V input range.
AD7891-1
Figure 5 shows the analog input section of the AD7891-1. Each
input can be configured for ± 5 V or ± 10 V operation. For 5 V
operation, the V
INXA
and V
INXB
inputs are tied together and the
input voltage is applied to both. For ± 10 V operation, the V
INXB
input is tied to AGND and the input voltage is applied to the
V
INXA
input. The V
INXA
and V
INXB
inputs are symmetrical and
fully interchangeable. Therefore, for ease of PCB layout on the
± 10 V range, the input voltage may be applied to the V
INXB
input while the V
INXA
input is tied to AGND.
30k
V
INXA
V
INXB
AGND
TO
MULTIPLEXER
AD7891-1
2k
REF OUT/REF IN
TO ADC
REFERENCE CIRCUITRY
7.5k
30k
15k
2.5V
REFERENCE
Figure 5. AD7891-1 Analog Input Structure
The input resistance for the ± 5 V range is typically 20 kW. For
the ± 10 V input range, the input resistance is typically 34.3 kW.
The resistor input stage is followed by the multiplexer, which is
followed by the high input impedance stage of the track/hold
amplifier.
The designed code transitions take place midway between suc-
cessive integer LSB values (i.e., 1/2 LSB, 3/2 LSBs, 5/2 LSBs).
LSB size is given by the formula 1 LSB = F
S
/4096. Therefore, for
the ± 5 V range, 1 LSB = 10 V/4096 = 2.44 mV. For the ± 10 V
range, 1 LSB = 20 V/4096 = 4.88 mV. Output coding is deter-
mined by the FORMAT bit of the control register. The ideal
input/output code transitions are shown in Table I.
AD7891-2
Figure 6 shows the analog input section of the AD7891-2. Each
input can be configured for input ranges of 0 V to +5 V, 0 V to +2.5 V,
or ± 2.5 V. For the 0 V to 5 V input range, the V
INXB
input is
tied to AGND and the input voltage is applied to the V
INXA
input.
For the 0 V to 2.5 V input range, the V
INXA
and V
INXB
inputs
are tied together and the input voltage is applied to both. For
the ± 2.5 V input range, the V
INXB
input is tied to 2.5 V and
the input voltage is applied to the V
INXA
input. The 2.5 V source
must have a low output impedance. If the internal reference on
the AD7891 is used, it must be buffered before being applied to
V
INXB
. The V
INXA
and V
INXB
inputs are symmetrical and fully
interchangeable. Therefore, for ease of PCB layout on the 0 V to +5 V
or ±2.5 V range, the input voltage may be applied to the V
INXB
input, while the V
INXA
input is tied to AGND or 2.5 V.
1.8k
V
INXA
V
INXB
AGND
TO
MULTIPLEXER
AD7891-2
2k
REF OUT/REF IN
TO ADC
REFERENCE
CIRCUITRY
1.8k
2.5V
REFERENCE
Figure 6. AD7891-2 Analog Input Structure
The input resistance for both the 0 V to +5 V and ± 2.5 V ranges
is typically 3.6 kW. When an input is configured for 0 V to 2.5 V
operation, the input is fed into the high impedance stage of the
track/hold amplifier via the multiplexer and the two 1.8 kW
resistors in parallel.
The designed code transitions occur midway between successive
integer LSB values (i.e., 1/2 LSB, 3/2 LSBs, 5/2 LSBs). LSB size
is given by the formula 1 LSB = F
S
/4096. Therefore, for the 0 V
to 5 V range, 1 LSB = 5 V/4096 = 1.22 mV, for the 0 V to 2.5 V
range, 1 LSB = 2.5 V/4096 = 0.61 mV, and for the ± 2.5 V range,
1 LSB = 5 V/4096 = 1.22 mV. Output coding is determined by
the FORMAT bit in the control register. The ideal input/output
code transitions for the ±2.5 V range are shown in Table I. The
ideal input/output code transitions for the 0 V to 5 V range and
the 0 V to 2.5 V range are shown in Table II.
AD7891
–13–
REV. D
Table I. Ideal Code Transition Table for the AD7891-1, 10 V and 5 V Ranges and the AD7891-2, 2.5 V Range
Digital Output Code Transition
1
Analog Input Input Voltage Twos Complement Straight Binary
+FSR
2
/2 3/2 LSB
3
(9.99268 V, 4.99634 V
or 2.49817 V)
4
011...110 to 011...111 111...110 to 111...111
+FSR/2 5/2 LSB (9.98779 V, 4.99390 V or 2.49695 V) 011...101 to 011...110 111...101 to 111...110
+FSR/2 7/2 LSB (9.99145 V, 4.99146 V or 2.49573 V) 011...100 to 011...101 111...100 to 111...101
AGND + 3/2 LSB (7.3242 mV, 3.6621 mV or 1.8310 mV) 000...001 to 000...010 100...001 to 100...010
AGND + 1/2 LSB (2.4414 mV, 1.2207 mV or 0.6103 mV) 000...000 to 000...001 100...000 to 100...001
AGND 1/2 LSB (2.4414 mV, 1.2207 mV or 0.6103 mV) 111...111 to 000...000 011...111 to 100...000
AGND 3/2 LSB (7.3242 mV, 3.6621 mV or 1.8310 mV) 111...110 to 111...111 011...110 to 011...111
FSR/2 + 5/2 LSB (9.98779 V, 4.99390 V or 2.49695 V) 100...010 to 100...011 000...010 to 000...011
FSR/2 + 3/2 LSB (9.99268 V, 4.99634 V or 2.49817 V) 100...001 to 100...010 000...001 to 000...010
FSR/2 + 1/2 LSB (9.99756 V, 4.99878 V or 2.49939 V) 100...000 to 100...001 000...000 to 000...001
NOTES
1
Output code format is determined by the FORMAT bit in the control register.
2
FSR is full-scale range and is +20 V for the ± 10 V range, +10 V for the ± 5 V range, and +5 V for the ± 2.5 V range, with REF IN = +2.5 V.
3
1 LSB = FSR/4096 = +4.88 mV (± 10 V range), +2.44 mV (± 5 V range), and +1.22 mV (± 2.5 V range), with REF IN = +2.5 V.
4
± 10 V range, ± 5 V range, or ± 2.5 V range.
Table II. Ideal Code Transition Table for the AD7891-2, 0 V to 5 V and 0 V to 2.5 V Ranges
Digital Output Code Transition
1
Analog Input Input Voltage Twos Complement Straight Binary
+FSR
2
3/2 LSB
3
(4.99817 V or 2.49908 V)
4
011...110 to 011...111 111...110 to 111...111
+FSR 5/2 LSB (4.99695 V or 2.49847 V) 011...101 to 011...110 111...101 to 111...110
+FSR 7/2 LSB (4.99573 V or 2.49786 V) 011...100 to 011...101 111...100 to 111...101
AGND + 5/2 LSB (3.0518 mV or 1.52588 mV) 100...010 to 000...011 000...010 to 000...011
AGND + 3/2 LSB (1.83105 mV or 0.9155 mV) 100...001 to 000...010 000...001 to 000...010
AGND + 1/2 LSB (0.6103 mV or 0.3052 mV) 100...000 to 000...001 000...000 to 000...001
NOTES
1
Output code format is determined by the FORMAT bit in the control register.
2
FSR is the full-scale range and is 5 V for the 0 to 5 V range and 2.5 V for the 0 to 2.5 V range, with REF IN = 2.5 V.
3
1 LSB = F
S
/4096 = 1.22 mV (0 to 5 V range) or 610 mV (0 to 2.5 V range), with REF IN = 2.5 V.
4
0 V to 5 V range or 0 V to 2.5 V range.
Table III. Transfer Function M and N Values
Range Output Data Format M N
AD7891-1
± 10 V Straight Binary 8 4
± 10 V Twos Complement 8 0
± 5 V Straight Binary 4 2
± 5 V Twos Complement 4 0
AD7891-2
0 V to +5 V Straight Binary 2 0
0 V to +5 V Twos Complement 2 1
0 V to +2.5 V Straight Binary 1 0
0 V to +2.5 V Twos Complement 1 0.5
± 2.5 V Straight Binary 2 1
± 2.5 V Twos Complement 2 0
Transfer Function of the AD7891-1 and AD7891-2
The transfer function of the AD7891-1 and AD7891-2 can be
expressed as
Input Voltage M REF IN D N REF IN ¥
()
()
/4096
D is the output data from the AD7891 and is in the range 0 to
4095 for straight binary encoding and from 2048 to +2047 for
twos complement encoding. Values for M depend upon the
input voltage range. Values for N depend upon the input voltage
range and the output data format. These values are given in
Table III. REF IN is the reference voltage applied to the AD7891.
AD7891
–14–
REV. D
Track/Hold Amplifier
The track/hold amplifier on the AD7891 allows the ADC to
accurately convert an input sine wave of full-scale amplitude
to 12-bit accuracy. The input bandwidth of the track/hold is
greater than the Nyquist rate of the ADC even when the ADC is
operated at its maximum throughput rate of 454 kHz (AD7891-1)
or 500 kHz (AD7891-2). In other words, the track/hold amplifier
can handle input frequencies in excess of 227 kHz (AD7891-1)
or 250 kHz (AD7891-2).
The track/hold amplifier acquires an input signal in 600 ns
(AD7891-1) or 400 ns (AD7891-2). The operation of the track/
hold is essentially transparent to the user. The track/hold amplifier
goes from its tracking mode to its hold mode on the rising edge
of CONVST. The aperture time for the track/hold (i.e., the
delay between the external CONVST signal and the track/hold
actually going into hold) is typically 15 ns. At the end of conversion,
the part returns to its tracking mode. The track/hold starts acquiring
the next signal at this point.
STANDBY Operation
The AD7891 can be put into power save or standby mode by
using the STANDBY pin or the SWSTBY bit of the control
register. Normal operation of the AD7891 takes place when the
STANDBY input is at a Logic 1 and the SWSTBY bit is at a
Logic 0. When the STANDBY pin is brought low or a 1 is writ-
ten to the SWSTBY bit, the part goes into its standby mode of
operation, reducing its power consumption to typically 75 mW.
The AD7891 is returned to normal operation when the
STANDBY input is at a Logic 1 and the SWSTBY bit is a
Logic 0. The wake-up time of the AD7891 is normally determined
by the amount of time required to charge the 0.1 mF capacitor
between the REF OUT/REF IN pin and REF GND. If the
internal reference is being used as the reference source, this
capacitor is charged via a nominal 2 kW resistor. Assuming 10
time constants to charge the capacitor to 12-bit accuracy, this
implies a wake-up time of 2 ms.
If an external reference is used, this must be taken into account
when working out how long it will take to charge the capacitor.
If the external reference has remained at 2.5 V during the time
the AD7891 was in standby mode, the capacitor will already be
charged when the part is taken out of standby mode. Therefore,
the wake-up time is now the time required for the internal
circuitry of the AD7891 to settle to 12-bit accuracy. This typi-
cally takes 5 ms. If the external reference was also put into
standby then the wake-up time of the reference, combined with
the amount of time taken to recharge the reference capacitor
from the external reference, determines how much time must
elapse before conversions can begin again.
MICROPROCESSOR INTERFACING
AD7891 to 8X51 Serial Interface
A serial interface between the AD7891 and the 8X51
microcontroller is shown in Figure 7. TXD of the 8X51 drives
SCLK of the AD7891, while RXD transmits data to and
receives data from the part. The serial clock speed of the 8X51 is
slow compared to the maximum serial clock speed of the
AD7891, so maximum throughput of the AD7891 is not
achieved with this interface.
8X51*
DATA OUT
AD7891
*ADDITIONAL PINS OMITTED FOR CLARITY
SCLK
DATA IN
RFS
TFS
P3.4
P3.3
TXD
RXD
*
Figure 7. AD7891 to 8X51 Interface
The 8X51 provides the LSB of its SBUF register as the first bit
in the serial data stream. The AD7891 expects the MSB of the
6-bit write first. Therefore, the data in the SBUF register must
be arranged correctly so that this is taken into account. When
data is to be transmitted to the part, P3.3 is taken low. The
8X51 transmits its data in 8-bit bytes with only eight falling
clock edges occurring in the transmit cycle. One 8-bit transfer
is needed to write data to the control register of the AD7891.
After the data has been transferred, the P3.3 line is taken high
to complete the transmission.
When reading data from the AD7891, P3.4 of the 8X51 is taken
low. Two 8-bit serial reads are performed by the 8X51, and
P3.4 is taken high to complete the transfer. Again, the 8X51
expects the LSB first, while the AD7891 transmits MSB first, so
this must be taken into account in the 8X51 software.
No provision has been made in the given interface to determine
when a conversion has ended. If the conversions are initiated by
software, the 8X51 can wait a predetermined amount of time
before reading back valid data. Alternately, the falling edge of
the EOC signal can be used to initiate an interrupt service
routine that reads the conversion result from part to part.
AD7891 to 68HC11 Serial Interface
Figure 8 shows a serial interface between the AD7891 and the
68HC11 microcontroller. SCK of the 68HC11 drives SCLK of
the AD7891, the MOSI output drives DATA IN of the
AD7891, and the MISO input receives data from DATA OUT
of the AD7891. Ports PC6 and PC7 of the 68HC11 drive the
TFS and RFS lines of the AD7891, respectively.
For correct operation of this interface, the 68HC11 should be
configured such that its CPOL bit is a 1 and its CPHA bit is a 0.
When data is to be transferred to the AD7891, PC7 is taken
low. When data is to be received from the AD7891, PC6 is
taken low. The 68HC11 transmits and receives its serial data in
8-bit bytes, MSB first. The AD7891 also transmits and receives
data MSB first. Eight falling clock edges occur in a read or write
cycle from the 68HC11. A single 8-bit write with PC7 low is
required to write to the control register. When data has been
written, PC7 is taken high. When reading from the AD7891,
PC6 is left low after the first eight bits have been read. A second
byte of data is then transmitted serially from the AD7891. When
this transfer is complete, the PC6 line is taken high.

AD7891BP-1REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
IC DAS 12BIT 8CH 44-PLCC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union