AD AD7821KR Lc2mos high speed, mp-compatible 8-bit adc with track/hold function Datasheet

a
LC2MOS High Speed, mP-Compatible
8-Bit ADC with Track/Hold Function
AD7821
FEATURES
Fast Conversion Time: 660 ns max
100 kHz Track-and-Hold Function
1 MHz Sample Rate
Unipolar and Bipolar Input Ranges
Ratiometric Reference Inputs
No External Clock
Extended Temperature Range Operation
Skinny 20-Pin DlPs, SOIC and 20-Terminal
Surface Mount Packages
FUNCTIONAL BLOCK DIAGRAM
GENERAL DESCRIPTION
PRODUCT HIGHLIGHTS
The AD7821 is a high speed, 8-bit, sampling, analog-to-digital
converter that offers improved performance over the popular
AD7820. It offers a conversion time of 660 ns (vs. 1.36 µs for
the AD7820) and 100 kHz signal bandwidth (vs. 6.4 kHz). The
sampling instant is better defined and occurs on the falling edge
of WR or RD. The provision of a VSS pin (Pin 19) allows the
part to operate from ± 5 V supplies and to digitize bipolar input
signals. Alternatively, for unipolar inputs, the VSS pin can be
grounded and the AD7821 will operate from a single +5 V supply, like the AD7820.
1. Fast Conversion Time
The half-flash conversion technique, coupled with fabrication
on Analog Devices’ LC2MOS process, enables a very fast conversion time. The conversion time for the WR-RD mode is
660 ns, with 700 ns for the RD mode.
The AD7821 has a built-in track-and-hold function capable of
digitizing full-scale signals up to 100 kHz max. It also uses a
half-flash conversion technique that eliminates the need to generate a CLK signal for the ADC.
2. Built-In Track-and-Hold
This allows input signals with slew rates up to 1.6 V/µs to be
converted to 8-bits without an external track-and-hold. This
corresponds to a 5 V peak-to-peak, 100 kHz sine wave signal.
3. Total Unadjusted Error
The AD7821 features an excellent total unadjusted error figure of less than ± 1 LSB over the full operating temperature
range.
The AD7821 is designed with standard microprocessor control
signals (CS, RD, WR, RDY, INT) and latched, three-state data
outputs capable of interfacing to high speed data buses. An
overflow output (OFL) is also provided for cascading devices to
achieve higher resolution.
4. Unipolar/Bipolar Input Ranges
The AD7821 is specified for single supply (+5 V) operation
with a unipolar full-scale range of 0 to +5 V, and for dual supply (± 5 V) operation with a bipolar input range of ± 2.5 V.
Typical performance characteristics are given for other input
ranges.
The AD7821 is fabricated in Linear-Compatible CMOS
(LC2MOS), an advanced, mixed technology process combining
precision bipolar circuits with low power CMOS logic. The part
features a low power dissipation of 50 mW.
5. Dynamic Specifications for DSP Users
In addition to the traditional ADC specifications, the
AD7821 is specified for ac parameters, including signal-tonoise ratio, distortion and slew rate.
REV. A
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 617/329-4700
Fax: 617/326-8703
VDD = +5 V 6 5%, GND = 0 V. Unipolar Input Range: VSS = GND, VREF(+) = 5 V,
AD7821–SPECIFICATIONS V (–) = GND. Bipolar Input Range: V = –5 V 6 5%, V (+) = 2.5 V,
V (–) = –2.5 V. These test conditions apply unless otherwise stated. All specifications T to T unless otherwise noted. Specifications
REF
SS
REF
MIN
REF
MAX
apply for RD Mode (Pin 7 = 0 V).
K Version1
B, T Versions
Units
8
±1
8
±1
Bits
LSB max
8
8
Bits
8
±1
±1
45
–50
–50
8
±1
±1
45
–50
–50
Bits
LSB max
LSB max
dB min
dB max
dB max
–50
–50
1.6
2.36
–50
–50
1.6
2.36
dB max
dB max
V/µs max
V/µs typ
REFERENCE INPUT
Input Resistance
VREF(+) Input Voltage Range
VREF(–) Input Voltage Range
1.0/4.0
VREF(–)/VDD
VSS/VREF(+)
1.0/4.0
VREF(–)/VDD
VSS/VREF(+)
kΩ min/kΩ max
V min/V max
V min/V max
ANALOG INPUT
Input Voltage Range
Input Leakage Current
Input Capacitance
VREF(–)/VREF(+)
±3
55
VREF(–)/VREF(+)
±3
55
V min/ max
µA max
pF typ
2.4
0.8
1
3
–1
8
2.4
0.8
1
3
–1
8
V min
V max
µA max
µA max
µA max
pF max
3.5
1.5
200
–1
8
3.5
1.5
200
–1
8
V min
V max
µA max
µA max
pF max
Typically 5 pF
4.0
0.4
±3
8
4.0
0.4
±3
8
V min
V max
µA max
pF max
ISOURCE = 360 µA
ISINK = 1.6 mA
Floating State Leakage
Typically 5 pF
0.4
±3
8
0.4
±3
8
V max
µA max
pF max
ISINK = 2.6 mA
Floating State Leakage
Typically 5 pF
15
100
50
± 1/4
20
100
50
± 1/4
mA max
µA max
mW typ
LSB max
CS = RD = 0 V
CS = RD = 0 V
Parameter
UNIPOLAR INPUT RANGE
Resolution2
Total Unadjusted Error 3
Minimum Resolution for which
No Missing Codes are Guaranteed
BIPOLAR INPUT RANGE
Resolution2
Zero Code Error
Full Scale Error
Signal-to-Noise Ratio (SNR) 3
Total Harmonic Distortion (THD) 3
Peak Harmonic or Spurious Noise 3
Intermodulation Distortion (IMD) 3
Slew Rate, Tracking 3
LOGIC INPUTS
CS, WR, RD
VINH
VINL
IINH (CS, RD)
IINH (WR)
IINL
Input Capacitance 4
MODE
VINH
VINL
IINH
IINL
Input Capacitance 4
LOGIC OUTPUTS
DB0–DB7, OFL, INT
VOH
VOL
IOUT (DB0–DB7)
Output Capacitance 4 (DB0–DB7)
RDY
VOL
IOUT
Output Capacitance 4
POWER SUPPLY
IDD5
ISS
Power Dissipation
Power Supply Sensitivity
Comments
VIN = 99.85 kHz Full-Scale Sine Wave with f SAMPLING = 500 kHz
VIN = 99.85 kHz Full-Scale Sine Wave with f SAMPLING = 500 kHz
VIN = 99.85 kHz Full-Scale Sine Wave with f SAMPLING = 500 kHz
fa (84.72 kHz) and fb (94.97 kHz) Full-Scale Sine Waves
with fSAMPLING = 500 kHz
Second Order Terms
Third Order Terms
–5 V ≤ VIN ≤ +5 V
Typically 5 pF
50 µA typ
± 1/16 LSB typ, VDD = 4.75 V to 5.25 V,
(VREF(+) = 4.75 V max for Unipolar Mode)
NOTES
1
Temperature Ranges are as follows: K Version = –40°C to +85°C; B Version = –40°C to +85°C; T Version = –55°C to +125°C.
2
1 LSB = 19.53 mV for both the unipolar (0 V to +5 V) and bipolar (–2.5 V to +2.5 V) input ranges.
3
See Terminology.
4
Sample tested at +25°C to ensure compliance.
5
See Typical Performance Characteristics.
Specifications subject to change without notice.
–2–
REV. A
AD7821
TIMING CHARACTERISTICS1
(VDD = +5 V ± 5%, VSS = 0 V or –5 V ± 5%; Unipolar or Bipolar Input Range)
Parameter
Limit at +258C
(All Versions)
Limit at
TMIN, TMAX
(K, B Versions)
Limit at
TMIN, TMAX
(T Version)
Units
Conditions/Comments
tCSS
tCSH
tRDY2
0
0
70
0
0
85
0
0
100
ns min
ns min
ns max
tCRD
tACC03
700
875
975
ns max
tCRD + 25
tCRD + 50
50
80
15
60
350
250
10
250
160
tCRD + 30
tCRD + 65
–
85
15
70
425
325
10
350
205
tCRD + 35
tCRD + 75
–
90
15
80
500
400
10
450
240
ns max
ns max
ns typ
ns max
ns min
ns max
ns min
ns min
µs max
ns min
ns min
CS to RD/WR Setup Time
CS to RD/WR Hold Time
CS to RDY Delay. Pull-Up
Resistor 5 k1.
Conversion Time (RD Mode)
Data Access Time (RD Mode)
CL = 20 pF
CL = 100 pF
RD to INT Delay (RD Mode)
160
185
150
380
500
65
205
235
185
–
610
75
240
275
220
–
700
85
ns max
ns max
ns max
ns typ
ns max
ns min
65
90
80
75
110
100
85
130
120
ns max
ns max
ns max
30
45
35
60
40
70
ns max
ns max
tINTH2
tDH4
tP
tWR
tRD
tREAD1
tACC13
tRI
tINTL2
tREAD2
tACC23
tIHWR2
tID3
Data Hold Time
Delay Time Between Conversions
Write Pulse Width
Delay Time between WR and RD Pulses
RD Pulse Width (WR-RD Mode, see Figure 12b)
Determined by tACC1
Data Access Time (WR-RD Mode, see Figure 12b)
CL = 20 pF
CL = 100 pF
RD to INT Delay
WR to INT Delay
RD Pulse Width (WR-RD Mode, see Figure 12a)
Determined by tACC2
Data Access Time (WR-RD Mode, see Figure 12a)
CL = 20 pF
CL = 100 pF
WR to INT Delay (Stand-Alone Operation)
Data Access Time after INT
(Stand-Alone Operation)
CL = 20 pF
CL = 100 pF
NOTES
1
Sample tested at +25°C to ensure compliance. All input control signals are specified with tr = tf = 5 ns (10% to 90% of +5 V) and timed from a voltage level of 1.6 V.
2
CL = 50 pF.
3
Measured with load circuits of Figure 1 and defined as the time required for an output to cross 0.8 V or 2.4 V.
4
Defined as the time required for the data lines to change 0.5 V when loaded with the circuits of Figure 2.
Specifications subject to change without notice.
ORDERING GUIDE
Test Circuits
a. High Z to VOH
b. High Z to VOL
Figure 1. Load Circuits for Data Access Time Test
Model1
Temperature
Range
Total
Unadjusted Package
Error (LSB) Option2
AD7821KN
AD7821KP
AD7821KR
AD7821BQ
AD7821TQ
AD7821TE
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
–55°C to +125°C
–55°C to +125°C
± 1 max
± 1 max
± 1 max
± 1 max
± 1 max
± 1 max
N-20
P-20A
R-20
Q-20
Q-20
E-20A
NOTES
1
To order MIL-STD-883, Class B processed parts, add /883B to part
number. Contact local sales office for military data sheet.
2
E = Leadless Ceramic Chip Carrier; N = Plastic DIP; P = Plastic Leaded
Chip Carrier; Q = Cerdip; R = SOIC.
a. VOH to High Z
b. VOL to High Z
Figure 2. Load Circuits for Data Hold Time Test
REV. A
–3–
AD7821
Industrial (B Version) . . . . . . . . . . . . . . . . –40°C to +85°C
Extended (T Version) . . . . . . . . . . . . . . . –55°C to +125°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C
Lead Temperature (Soldering, 10 secs) . . . . . . . . . . . +300°C
Power Dissipation (Any Package) to +75°C . . . . . . . . 450 mW
Derates above +75°C by . . . . . . . . . . . . . . . . . . . . . 6 mW/°C
ABSOLUTE MAXIMUM RATINGS*
VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V, + 7 V
VSS to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . +0.3 V, + 7 V
Digital Input Voltage to GND
(Pins 6–8, 13) . . . . . . . . . . . . . . . . . . . –0.3 V, VDD + 0.3 V
Digital Output Voltage to GND
(Pins 2–5, 9, 14–18) . . . . . . . . . . . . . . . –0.3 V, VDD + 0.3 V
VREF(+) to GND . . . . . . . . . . . . . . . VSS – 0.3 V, VDD + 0.3 V
VREF(–) to GND . . . . . . . . . . . . . . . VSS – 0.3 V, VDD + 0.3 V
VIN to GND . . . . . . . . . . . . . . . . . . . VSS – 0.3 V, VDD + 0.3 V
Operating Temperature Range
Commercial (K Version) . . . . . . . . . . . . . . –40°C to +85°C
*Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only and functional
operation of the device at these or any other conditions above those indicated in the
operational sections of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the AD7821 features proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
PIN CONFIGURATIONS
LCCC
DIP AND SOIC
TERMINOLOGY
LEAST SIGNIFICANT BIT (LSB)
ESD SENSITIVE DEVICE
PLCC
INTERMODULATION DISTORTION
With inputs consisting of sine waves at two frequencies, fa and
fb, any active device with nonlinearities will create distortion
products, of order (m+n), at sum and difference frequencies of
mfa+nfb, where m, n = 0, 1, 2, 3,- - - -. Intermodulation terms
are those for which m or n is not equal to zero. For example, the
second order terms include (fa + fb) and (fa – fb), and the third
order terms include (2fa + fb), (2fa – fb), (fa + 2fb) and
(fa – 2fb). For the AD7821 intermodulation distortion is calculated separately for both the second and third order terms.
An ADC with 8-bit resolution can resolve one part in 28 (1/256
of full scale). For the AD7821 operating in either the unipolar
or bipolar input range with 5 V full scale, one LSB is 19.53 mV.
TOTAL UNADJUSTED ERROR
This is a comprehensive specification which includes relative
accuracy, offset error and full-scale error.
SLEW RATE
Slew Rate is the maximum allowable rate of change of input
signal such that the digital sample values are not in error.
SIGNAL-TO-NOISE RATIO
Signal-to-noise ratio (SNR) is measured signal-to-noise at the
output of the ADC. The signal is the rms magnitude of the fundamental. Noise is the rms sum of all nonfundamental signals
(excluding dc) up to half the sampling frequency. SNR is dependent on the number of quantization levels used in the digitization process. The theoretical SNR for a sine wave input is
given by:
TOTAL HARMONIC DISTORTION
Total harmonic distortion is the ratio of the square root of the
sum of the squares of the rms value of the harmonics to the rms
value of the fundamental. For the AD7821, total harmonic distortion (THD) is defined as
(
WARNING!
)
SNR = (6.02 N + 1.76) dB

2
2
2
2 
 V 2 +V 3 +V 5 +V 6 
20 log 
dB
V1




where V1 is the rms amplitude of the fundamental and V2, V3,
V4, V5, V6, are the rms amplitudes of the individual harmonics.
where N is the number of bits in the ADC. Thus, for an ideal
8-bit ADC, SNR = 50 dB.
PEAK HARMONIC OR SPURIOUS NOISE
Peak harmonic or spurious noise is the rms value of the largest
nonfundamental frequency (excluding dc) up to half the sampling frequency to the rms value of the fundamental.
–4–
REV. A
Typical Performance Curves– AD7821
Conversion Time (RD Mode) vs.
Temperature
Power Supply Current vs. Temperature (Not Including Reference Ladder)
Accuracy vs. tRD
Accuracy vs. tP
Effective Number of Bits vs. Input
Signal (± 2.5 V) Frequency
tINTL, Internal Time Delay vs.
Temperature
REV. A
–5–
Accuracy vs. tWR
Accuracy vs. VREF
[VREF = VREF(+) – VREF(–)]
Output Current vs. Temperature
AD7821
PIN FUNCTION DESCRIPTION
Pin
Mnemonic Description
1
VIN
2
3–5
6
DB0
DB1–DB3
WR/RDY
7
MODE
8
RD
9
INT
10
11
GND
VREF(–)
12
VREF(+)
13
CS
14–16
17
18
DB4–DB6
DB7
OFL
19
VSS
20
VDD
OPERATING SEQUENCE
The AD7821 has two operating modes. The RD mode allows a
conversion to be started and data to be read with a single, extended, READ operation (i.e., CS and RD are taken low). The
conversion process is timed out by internal one-shots. The WRRD mode uses WR to start a conversion and RD to read the
data and allows the conversion timing to be externally controlled. The operating sequence for the WR-RD mode is shown
in Figure 3.
Analog Input: Range VREF(–) ≤ VIN ≤
VREF(+)
Three-State Data Output (LSB).
Three-State Data Outputs.
WRITE control input/READY status
output. See Digital Interface section.
Mode Selection Input. It determines
whether the device operates in the
WR-RD or RD mode. This input is internally pulled low through a 50 µA
current source. See Digital Interface
section.
READ Input. RD must be low to access
data from the part. See Digital Interface
section.
INTERRUPT Output. INT going low
indicates that the conversion is complete.
INT returns high on the rising edge of
CS or RD. See Digital Interface section.
Ground.
Lower limit of reference span.
Range: VSS ≤ VREF(–) ≤ VREF(+).
Upper limit of reference span.
Range: VREF(–) < VREF(+) ≤ VDD.
Chip Select Input. The device is selected
when this input is low.
Three-State Data Outputs.
Three-State Data Output (MSB).
Overflow Output. If the analog input is
higher than (VREF(+) – 1/2 LSB), OFL
will be low at the end of conversion. It is
a non-three-state output which can be
used to cascade 2 or more devices to
increase resolution.
Negative supply voltage.
VSS = 0 V; Unipolar Operation.
VSS = –5 V; Bipolar Operation.
Positive supply voltage, +5 V.
Figure 3. Operating Sequence (WR-RD Mode)
A conversion is initiated and the analog input signal (VIN)
sampled on the falling edge of WR (falling edge of RD, RD
mode). A setup time (tP, delay time between conversions) of
350 ns is required prior to this falling edge. See Digital Interface
section for more details. When WR is low, the internal MS
(most significant) ADC compares the sampled analog input with
the reference ladder to provide the 4 MS data bits. A minimum
of 250 ns is required for this comparison. On the rising edge of
WR, the MS data result is latched internally and the LS (least
significant) conversion begins, to yield the 4 LS data bits. INT
goes low typically 380 ns after the rising edge of WR. This indicates the LS conversion is complete and that both the LS and
MS data results are latched into the output buffer. RD going
low then enables the output data. If a faster conversion time is
required, the RD line can be brought low 250 ns after WR goes
high. This latches both the LS and MS data bits and outputs the
conversion result on DB0–DB7.
REFERENCE AND INPUT
The VREF(–) and VREF(+) reference inputs on the AD7821 are
fully differential and define the zero and full-scale input range of
the ADC. The transfer characteristic of the part is defined by
the integer value of the following expression:
 V IN − V REF (−) 
Data (LSBs ) = 256 
 + 0.5
 V REF (+) − V REF (−) 
CIRCUIT INFORMATION
As a result, the analog input (VIN) Of the device can easily be set
up to provide both unipolar and bipolar operation. The data
output code for unipolar and bipolar operation is Natural Binary
and Offset Binary, respectively.
BASIC DESCRIPTION
The AD7821 uses a half flash conversion technique (see Functional Block Diagram), whereby two 4-bit flash ADCs are used
to achieve an 8-bit result. Each 4-bit flash ADC contains 15
comparators, which compare an unknown input voltage to the
reference ladder, to achieve a 4-bit result. The MS (most significant) flash ADC converts an unknown analog input voltage
(VIN) to provide the 4 MS data bits. An internal DAC, driven by
the 4 MS data bits, then recreates an analog approximation of
the input voltage. The DAC output voltage is subtracted from
the analog input, and the difference is converted by the LS
(least significant) ADC to provide the 4 LS data bits. The MS
flash ADC also has one additional comparator to detect overrange on the analog input.
The span of the analog input voltage can easily be varied.
By reducing the reference span, VREF(+) – VREF(–), to less than
5 V the sensitivity of the converter can be increased (i.e., if
VREF = 2 V then 1 LSB = 7.8 mV). The reference flexibility also
allows the input span for unipolar operation to be offset from
zero (VREF(–) > GND). Additionally, the input/reference arrangement facilitates ratiometric operation.
Figures 4 and 5 show some configurations which are possible.
For minimum noise a 47 µF capacitor in parallel with a 0.1 µF
capacitor should be connected between the reference inputs and
GND.
–6–
REV. A
AD7821
The input capacitors must charge to the input voltage through
the on resistance of the analog switches (about 2 kΩ to 5 kΩ).
In addition, about 12 pF of input stray capacitance must be
charged.
The analog input can be modeled as an equivalent RC network
as shown in Figure 7. As RS (source impedance) increases, the
input capacitance takes longer to charge.
Figure 4. Power Supply as Reference.
Unipolar Operation (0 to + 5 V)
The comparators track the analog input between conversions. A
minimum delay time (tP) of 350 ns is required between conversions to allow for voltage source settling and comparator tracking time. This allows input time constants of 50 ns without
settling time problems. Typical total input capacitance values of
55 pF allow RS to be 0.9 kΩ without lengthening tP to give VIN
more time to settle.
Figure 7. RC Network Model
INPUT TRANSIENTS
Figure 5. External Reference.
Bipolar Operation (–2.5 V to +2.5 V)
INPUT CURRENT
The analog input of the AD7821 behaves somewhat differently
to conventional A/D converters. This is due to the ADC’s
sampled data comparators, which take varying amounts of input
current depending on the cycle of the converter.
The equivalent input circuit of the AD7821 is shown in Figure
6. When a conversion ends (e.g., falling edge of INT, WR-RD
mode, tRD > tINTL) all the input switches are closed and VIN is
connected to the comparators of the internal LS and MS ADCs.
Therefore, VIN is connected to 31 one-pF input capacitors
simultaneously .
Transients on the analog input signal caused by charging
current flowing into VIN will not normally degrade the ADC’s
performance. In effect, the AD7821 does not “look” at the input when these transients occur. The comparators’ inputs track
VIN and are not sampled until the falling edge of WR (WR-RD
Mode) or RD (RD Mode), so at least 350 ns (tP) is provided to
charge the ADC’s input capacitance. It is, therefore, not necessary to filter out these transients with an external capacitor at
the VIN terminal.
INHERENT TRACK-AND-HOLD
A major benefit of the AD7821’s input structure is its ability to
measure a variety of high-speed signals without the help of an
external track-and-hold. Any ADC which does not have a builtin track-and-hold, regardless of its speed, requires the analog input to remain stable to at least 1/2 LSB for the duration of the
conversion to maintain full accuracy. This requires the use of a
track-and-hold whenever the input is a high-speed signal. The
AD7821’s sampled-data comparators, by nature of their input
switching, inherently accomplish this track-and-hold function.
Although the conversion time for the AD7821 is 660 ns
(WR-RD mode, tWR + tRD + tACC1), the time for which VIN must
be stable to 1/2 LSB is much smaller. The AD7821 tracks VIN
between conversions only, and its value on the falling edge of
WR or RD in the WR-RD or RD modes, respectively, is the
measured value.
SINUSOIDAL INPUTS
Figure 6. AD7821 Equivalent Input Circuit
REV. A
The bandwidth of the built-in track-and-hold is 100 kHz max
(150 kHz typ, 5 V p-p). This is limited by the analog bandwidth
of the comparators and timing skew between the comparator
switches. This means that the analog input frequency can be up
to 100 kHz without the aid of an external track-and-hold. The
Nyquist criterion requires that the sampling rate be at least
twice the input frequency (i.e., ≥2 3 100 kHz). This requires an
ideal antialiasing filter with an infinite roll-off. To ease the prob–7–
AD7821
lem of antialiasing filter design, the sampling rate is usually set
much greater than the Nyquist criterion. The maximum sampling rate (fMAX) for the AD7821 in the WR-RD mode,
(tRD < tINTL) can be calculated as follows:
f MAX =
1
tWR + t RD + t RI + t P
f MAX =
1
0.25E − 6 + 0.25E − 6 + 0.15E − 6 + 0.35E − 6
INTERMODULATION DISTORTION
For intermodulation distortion (IMD), an FFT plot consisting
of very low distortion sine waves at two frequencies is generated
by sampling an analog input applied to the ADC. Figure 9
shows a 2048 point plot for IMD.
tWR = Write Pulse Width
tRD = Delay Time between WR and RD Pulses
tRI = RD to INT Delay
tP = Delay Time between Conversions
This permits a maximum sampling rate for the AD7821 of
1 MHz, which is much greater than the Nyquist criterion for
sampling a 100 kHz analog input signal.
DIGITAL SIGNAL PROCESSING APPLICATIONS
In Digital Signal Processing (DSP) application areas like voice
recognition, echo cancellation and adaptive filtering, the dynamic characteristics (Signal-to-Noise Ratio, Harmonic Distortion, Intermodulation Distortion) of an ADC are critical. Since
the AD7821 is a very fast ADC with a built-in track-and-hold
function, it is specified dynamically as well as with standard dc
specifications (Total Unadjusted Error, etc.).
Figure 9. FFT Plot for IMD
HISTOGRAM PLOT
When a sine wave of specified frequency is applied to the VIN input of the AD7821 and several thousand samples are taken, it is
possible to plot a histogram showing the frequency of occurrence of each of the 256 ADC codes. A perfect ADC produces a
probability density function described by the equation:
SIGNAL-TO-NOISE RATIO AND DISTORTION
The dynamic performance of the AD7821 is evaluated by applying a very low distortion sine wave signal to the analog input
(VIN) which is then sampled at a 512 kHz sampling rate. A Fast
Fourier Transform (FFT) plot is then generated from which
Signal-to-Noise Ratio (SNR) and harmonic distortion data are
obtained.
P(V ) =
1
π( A2 − V 2 )1/2
where A is the peak amplitude of the sine wave and P(V) is the
probability of occurrence at a voltage V.
If a particular step is wider than the ideal 1 LSB width, then the
code associated with that step will accumulate more counts than
for the code for an ideal step. Likewise, a step narrower than the
ideal width will have fewer counts. Missing codes are easily seen
because a missing code means zero counts for a particular code.
The absence of large spikes in the plot indicates small differential nonlinearity.
Figure 8 shows a 2048 point FFT plot of the AD7821 with an
input signal of 100.25 kHz. The SNR is 49.1 dB. It should be
noted that the harmonics are taken into account when calculating the SNR. The theoretical relationship between SNR and
resolution (N) is expressed by the following equation:
SNR = (6.02 N + 1.76) dB . . . . . . . . . . . . . . . . . . . . . (1)
Figure 10 shows a histogram plot for the AD7821, which corresponds very well with the ideal shape. The plot indicates very
small differential nonlinearity and no missing codes for an input
frequency of 100.25 kHz.
Figure 8. AD7821 FFT Plot
EFFECTIVE NUMBER OF BITS
By working backwards from Equation (1) it is possible to get a
measure of ADC performance expressed in effective number of
bits (N). A plot of the effective number of bits versus input frequency is given in the Typical Performance Characteristics section. The effective number of bits typically falls between 7.7 and
7.9, corresponding to SNR figures of 48.1 and 49.7 dB.
Figure 10. AD7821 Histogram Plot
–8–
REV. A
AD7821
In digital signal processing applications, where the AD7821 is
used to sample ac signals, it is essential that the signal sampling
occurs at exactly equal intervals. This minimizes errors due to
sampling uncertainty or jitter. A precise timer or clock source,
to start the ADC conversion process, is the best method of generating equidistant sampling intervals.
INT typically goes low within 380 ns after the rising edge of
WR. It indicates that conversion is complete and that the data
result is in the output latch. With CS low, the data outputs
(DB0–DB7) are activated when RD goes low. INT is reset by
the rising edge of RD or CS.
The two modes of operation given in the data sheet are suitable
for DSP applications because the sampling instant of the
AD7821 is well defined. VIN is sampled on the falling edge of
WR or RD in the WR-RD or RD modes, respectively.
DIGITAL INTERFACE
The AD7821 has two basic interface modes which are determined by the status of the MODE pin. When this pin is low, the
converter is in the RD mode, with this pin high, the AD7821 is
set up for the WR-RD mode.
The RD mode is designed for microprocessors that can be
driven into a WAIT state. A READ operation (i.e., CS and RD
are taken low) starts a conversion and data is read when the
conversion is complete. The WR-RD mode does not require microprocessor WAIT states. A WRITE operation (i.e., CS and
WR are taken low) initiates a conversion, and a READ operation reads the result when the conversion is complete.
RD Mode (MODE = 0)
The timing diagram for the RD mode is shown in Figure 11.
This mode is intended for use with microprocessors which have
a WAIT state facility, whereby a READ instruction cycle can be
extended to accommodate slow memory devices. A conversion
is started by taking CS and RD low (READ operation). Both
CS and RD are then kept low until output data appears.
Figure 12a. WR-RD Mode (tRD > tINTL)
The alternative option can be used to shorten the conversion
time. This is a method for bypassing the internal time-out
circuit. The INT line is ignored and RD can be brought low
250 ns after the rising edge of WR. In this case RD going low
transfers the data result into the output latch and activates the
data output (DB0–DB7). INT is driven low on the falling edge
of RD and is reset on the rising edge of RD or CS. The timing
for this interface is shown in Figure 12b.
Figure 12b. WR-RD Mode (tRD < tINTL)
Figure 11. RD Mode
In this mode, Pin 6 of the AD7821 is configured as a status output, RDY. This RDY output can be used to drive the processor
READY or WAIT input. It is an open drain output (no internal
pull-up device) which goes low after the falling edge of CS and
goes high impedance at the end of conversion. An INT line is
also provided which goes low when a conversion is complete.
INT returns high on the rising edge of CS or RD.
The AD7821 can also be used in stand-alone operation in the
WR-RD mode. CS and RD are tied low, and a conversion is initiated by bringing WR low. Output data is valid 530 ns (tINTL +
tID) after the rising edge of WR. The timing diagram for this
mode is shown in Figure 13.
WR-RD Mode (MODE = 1)
In the WR-RD mode, Pin 6 is configured as a WRITE (WR) input for the AD7821. With CS low, conversion is initiated on the
falling edge of WR. Two options exist for reading data from the
converter.
In the first of these options the processor waits for the INT status line to go low before reading the data (see Figure 12a).
REV. A
Figure 13. WR-RD Mode Stand-Alone Operation,
CS = RD = 0
–9–
AD7821
MICROPROCESSOR INTERFACING
AD7821 – TMS32010 INTERFACE
The AD7821 is designed for easy interfacing to microprocessors
as a memory mapped peripheral or an I/O device. This reduces
to a minimum the amount of external logic required for
interfacing.
A typical interface to the TMS32010 is shown in Figure 16. The
AD7821 is mapped at a port address and the interface is designed
for the maximum TMS32010 clock frequency of 20 MHz. In this
case, the AD7821 is configured in the WR-RD interface mode.
This means that a write instruction starts a conversion and a
read instruction reads the result when the conversion is completed. A precise timer or clock source is used to start a conversion in applications requiring equidistant sampling intervals.
The scheme used, whereby the AD7821 generates an interrupt
to the TMS32010, is limited in that it does not allow the
AD7821 to be sampled at its maximum rate. This is because the
time between samples has to be long enough to allow the
TMS32010 to service its interrupt and read data from the
AD7821. Constant interruption of the TMS32010 by the
AD7821, every time the ADC completes a conversion, is not a
very efficient use of the processor time. To overcome these
problems, some buffer memory or FIFO could be placed between the AD7821 and the TMS32010. The INT line of the
AD7821 could be used to trigger a pulse which drives its CS
and RD lines and places the AD7821 data into a FIFO or buffer
memory. The microprocessor can then read a batch of data
from the FIFO or buffer memory at some convenient time.
Reading data from the AD7821, after an INT has been received, consists of <IN A, PA> instruction (PA is the decoded
ADC address).
AD7821 – 68008 INTERFACE
Figure 14 shows an AD7821 interface to the 68008 microprocessor. The ADC is configured for the RD interface mode. This
means that one read instruction starts a conversion and reads
the result when the conversion is completed. The read cycle is
stretched out over the entire conversion period by taking the
INT line back to the DTACK input of the 68008. Starting a
conversion and reading the relevant data consists of a <MOVE
B Dn, addr> instruction, where addr is the decoded ADC address and Dn is the data register into which the result is placed.
Figure 14. AD7821 to 68008 Interface
AD7821 – 8088 INTERFACE
A typical interface to the 8088 is shown in Figure 15. The
AD7821 is configured for the RD interface mode. One read instruction starts a conversion and reads the result. The read cycle
is stretched out over the entire conversion period by taking the
RDY line back to the READY input of the 8088. Starting a conversion and reading the result consists of a <MOV AX, (addr)>
instruction, where addr is the decoded ADC address and AX is
the 8088 data register into which the conversion result is placed.
Figure 16. AD7821 to TMS32010 Interface
AD7821 – 8051 INTERFACE
Figure 17 shows the AD7821 interface to the 8051 microcomputer. The AD7821 is configured in the WR-RD interface mode
and is connected to the 8051 ports. The processor starts conversion and then polls INT, until it goes low, before reading the
conversion result. Data is read from the AD7821 by using the
<MOV A, 90H> instruction (90H is the address for Port 1).
Figure 15. AD7821 to 8088 Interface
Figure 17. AD7821 to 8051 Interface
–10–
REV. A
AD7821
APPLYING THE AD7821
BIPOLAR OPERATION
The AD7821 is specified for a unipolar input range of 0 to +5 V
and a bipolar input range of –2.5 V to +2.5 V. The VREF(–) and
VREF(+) voltages required for these input ranges are outlined below. See the Typical Performance Characteristics section for operation with unspecified input voltage ranges.
Figure 18 gives the configuration and reference voltages
required for –2.5 V to +2.5 V operation. The nominal transfer
characteristic for this input range is shown in Figure 20.
The output code is Offset Binary with 1 LSB = ([+2.5 –
(–2.5)]/256) V = 19.5 mV.
UNIPOLAR OPERATION
Figure 18 gives the configuration and reference voltages required for 0 V to +5 V operation. The nominal transfer characteristic for this input range is shown in Figure 19. The output
code is Natural Binary with 1 LSB = (5/256) V = 19.5 mV.
Figure 20. Nominal Transfer Characteristic for Bipolar
(–2.5 V to +2.5 V) Operation
16-CHANNEL TELECOM A/D CONVERTER
Figure 18. AD7821 Unipolar/Bipolar Operation
The fast sampling rate (1 MHz) and bipolar operation of the
AD7821 makes it useful in Telecom applications for sampling a
number of input channels using a multiplexer. Figure 21 shows
a circuit for such an application.
The maximum signal frequency required for acceptable quality
in Telecom applications is 3 kHz. The circuit given in Figure 21
permits each of the 16-input channels to be sampled at a rate of
16 kHz maximum. The sampling rate takes account of such
multiplexer parameters as tON, settling time etc. The circuit also
eases the problem of the antialiasing filter design by sampling at
a rate much greater than that required by the Nyquist criterion.
Figure 19. Nominal Transfer Characteristic for Unipolar
(0 V to +5 V) Operation
Figure 21. 16-Channel Telecom A/D Converter System
REV. A
–11–
AD7821
SIMULTANEOUS SAMPLING A/D CONVERTERS
OUTLINE DIMENSIONS
The AD7821’s inherent track-and-hold and well-defined sampling instant makes it useful, in such applications as sonar,
where a number of input channels are required to be sampled
simultaneously. Figure 22 shows a circuit for such an application.
Dimensions shown in inches and (mm).
C1186–10–4/88
20-Pin Plastic DIP (N-20)
20-Pin Cerdip (Q-20)
20-Terminal Plastic Leaded Chip Carrier
(P-20A)
Figure 22. Simultaneous Sampling A/D Converters
PRINTED IN U.S.A.
The actual sampling instant, which is the instant at which VIN is
measured, occurs approximately 50 ns after the falling edge of
WR or RD in the WR-RD or RD modes, respectively, due to internal logic delays. However, the internal logic delay and, therefore, the sampling instant can vary from device to device, but is
typically within ± 5 ns. This means that a maximum common input sine wave of ± 2.5 V at 32 kHz, applied to any number of
AD7821s in the circuit of Figure 22, will yield a maximum difference between the converter outputs of typically ± 1/4 LSB.
20-Terminal Leadless Ceramic Chip Carrier
(E-20A)
–12–
REV. A
Similar pages