AD7878
–9–
REV. A
Figure 11 shows a typical plot of effective number of bits versus
frequency for an AD7878KN with a sampling frequency of
100 kHz. The effective number of bits typically falls between
11.7 and 11.85 corresponding to SNR figures of 72.2 and
73.1 dB.
Figure 11. Effective Number of Bits vs. Frequency
Harmonic Distortion
Harmonic Distortion is the ratio of the rms sum of harmonics to
the fundamental. For the AD7878, Total Harmonic Distortion
(THD) is defined as:
THD =20 log
(
V
2
2
+V
3
2
+V
4
2
+V
5
2
+V
6
2
)
V
1
where V
1
is the rms amplitude of the fundamental and V
2
, V
3
,
V
4
, V
5
and V
6
are the rms amplitudes of the second to the sixth
harmonic. The THD is also derived from the FFT plot of the
ADC output spectrum.
Intermodulation Distortion
With inputs consisting of sine waves at two frequencies, fa and
fb, any active device with nonlinearities will create distortion
products at sum and difference frequencies of mfa + nfb where
m, n = 0, 1, 2, 3 . . . . , etc. Intermodulation terms are those for
which neither m nor n is equal to zero. For example, the second
order terms include (fa + fb) and (fa – fb) while the third order
terms include (2fa + fb), (2fa – fb), (fa + 2fb) and (fa – 2fb).
Using the CCIF standard, where two input frequencies near the
top end of the input bandwidth are used, the second and third
order terms are of different significance. The second order terms
are usually distanced in frequency from the original sine waves,
while the third order terms are usually at a frequency close to the
input frequencies. As a result, the second and third order terms
are specified separately. The calculation of the intermodulation
distortion is as per the THD specification where it is the ratio of
the rms sum of the individual distortion products to the rms am-
plitude of the fundamental expressed in dBs.
Intermodulation distortion is calculated using an FFT algorithm
but, in this case, the input consists of two equal amplitude, low
distortion sine waves. Figure 12 shows a typical IMD plot for
the AD7878.
Peak Harmonic or Spurious Noise
Peak harmonic or spurious noise is defined as the ratio of the
rms value of the next largest component in the ADC output
spectrum (up to FS/2 and excluding dc) to the rms value of the
fundamental. Normally, the value of this specification will be
determined by the largest harmonic in the spectrum, but for
parts where the harmonics are buried in the noise floor the
largest peak will be a noise peak.
Figure 12. AD7878 IMD Plot
Histogram Plot
When a sine wave of a specified frequency is applied to the V
IN
input of the AD7878 and several million samples are taken, it is
possible to plot a histogram showing the frequency of occur-
rence of each of the 4096 ADC codes. 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 ideal will have fewer
counts. Missing codes are easily seen in the histogram plot because
a missing code means zero counts for a particular code. Large
spikes in the plot indicate large differential nonlinearity.
Figure 13 shows a histogram plot for the AD7878KN with a
sampling frequency of 100 kHz and an input frequency of
25 kHz. For a sine-wave input, a perfect ADC would produce a
cusp probability density function described by the equation:
p (V )=
1
π ( A
2
V
2
)
where A is the peak amplitude of the sine wave and p (V) is the
probability of occurrence at a voltage V. The histogram plot of
Figure 13 corresponds very well with this cusp shape. The ab-
sence of large spikes in this plot indicates small dynamic differ-
ential nonlinearity (the largest spike in the plot represents less
than 1/4 LSB of DNL error). The AD7878 has no missing
codes under these conditions since no code records zero counts.
Figure 13. AD7878 Histogram Plot
AD7878
–10–
REV. A
CONVERSION TIMING
The track-and-hold on the AD7878 goes from track-to-hold
mode on the rising edge of CONVST, and the value of V
IN
at
this point is the value which will be converted. However, the
conversion actually sorts on the next rising edge of CLK IN
after CONVST goes high. If CONVST goes high within ap-
proximately 30 ns prior to a rising edge of CLK IN, that CLK
IN edge will not be seen as the first CLK IN edge of the con-
version process, and conversion will not actually start until one
CLK IN cycle later. As a result, the conversion time (from
CONVST to FIFO update) will vary by one clock cycle de-
pending on the relationship between CONVST and CLK IN.
A conversion cycle normally consists of 56 CLK IN cycles
(assuming no read/write operations) which corresponds to a 7
As conversion time. If CONVST goes high within 30 ns prior
to a rising edge of CLK IN, the conversion time will consist of
57 CLK IN cycles, i.e., 7.125 µs. This effect does not cause
track/hold jitter.
INTERNAL REFERENCE
The AD7878 has an on-chip temperature compensated buried
Zener reference (see Figure 14) that is factory trimmed to 3 V
± 1%. Internally, it provides both the DAC reference and the
dc bias required for bipolar operation. The reference output is
available (REF OUT) and is capable of providing up to 500 µA
to an external load.
Figure 14. AD7878 Reference Circuit
The maximum recommended capacitance on REF OUT for
normal operation is 50 pF. If the reference is required for use
external to the AD7878, it should be decoupled with a
200 resistor in series with a parallel combination of a 10 µF
tantalum capacitor and a 0.1 µF ceramic capacitor. These
decoupling components are required to remove voltage spikes
caused by the internal operation of the AD7878.
TRACK-AND-HOLD AMPLIFIER
The track-and-hold amplifier on the analog input of the
AD7878 allows the ADC to accurately convert an input sine
wave of 6 V peak-peak amplitude to 12-bit accuracy. The input
bandwidth of the track/hold amplifier is much greater than the
Nyquist rate of the ADC even when operated at its minimum
conversion time. The 0.1 dB cutoff frequency occurs typically
at 500 kHz. The track/hold amplifier acquires an input signal to
12-bit accuracy in less than 2 µs.
The operation of the track/hold amplifier is transparent to the
user. The track/hold amplifier goes from its tracking mode to
its hold mode at the start of conversion on the rising edge of
CONVST and returns to track mode at the end of conversion.
ANALOG INPUT
Figure 15 shows the AD7878 analog input. The analog input
range is ±3 V into an input resistance of typically 15 k. The
designed code transitions occur midway between successive
integer LSB values (i.e., 1/2 LSB, 3/2 LSBs, 5/2 LSBs . . . .
FS–3/2 LSBs). The output code is 2s complement binary with
1 LSB = FS/4096 = 6 V/4096 = 1.46 mV. The ideal input/
output transfer function is shown in Figure 16.
Figure 15. AD7878 Analog Input
Figure 16. Input/Output Transfer Function
OFFSET AND FULL-SCALE ADJUSTMENT
In most Digital Signal Processing (DSP) applications offset and
full-scale error have little or no effect on system performance.
Offset error can always be eliminated in the analog domain by
ac coupling. Full-scale error effect is linear and does not cause
problems as long as the input signal is within the full dynamic
range of the ADC. Some applications may require that the input
signal span the full analog input dynamic range and, accord-
ingly, offset and full-scale error will have to be adjusted to zero.
Where adjustment is required, offset must be adjusted before
full-scale error. This is achieved by trimming the offset of the
op amp driving the analog input of the AD7878 while the input
voltage is 1/2 LSB below ground. The trim procedure is as
follows: apply a voltage of –0.73 mV (–1/2 LSB) at V
1
and
adjust the op amp offset voltage until the ADC output code
flickers between 1111 1111 1111 and 0000 0000 0000.
Gain error can be adjusted at either the first code transition
(ADC negative full scale) or the last code transition (ADC
positive full scale). The trim procedures for both cases are as
follows:
AD7878
–11–
REV. A
Positive Full-Scale Adjust
Apply a voltage of 2.9978 V (FS/2 – 3/2 LSBs) at V
1
. Adjust R2
until the ADC output code flickers between 0111 1111 1110
and 0111 1111 1111.
Negative Full-Scale Adjust
Apply a voltage of –2.9993 V (–FS/2 + 1/2 LSB) at V
l
and ad-
just R2 until the ADC output code flickers between 1000 0000
0000 and 1000 0000 0001.
Figure 17. AD7878 Full-Scale Adjust Circuit
MICROPROCESSOR INTERFACING
The AD7878 high speed bus timing allows direct interfacing to
DSP processors. Due to the complexity of the AD7878 internal
logic, only synchronous interfacing is allowed. This means that
the ADC clock must be the same as, or a derivative of, the pro-
cessor clock. Suitable processor interfaces are shown in Figures
18 to 21.
AD7878–ADSP-2100/TMS32010/TMS32020
All three interfaces use an external timer for conversion control,
allowing the ADC to sample the analog input asynchronously to
the microprocessor. The AD7878 ALFL output interrupts the
processor when the FIFO preprogrammed word count is
reached. The processor then reads the conversion results from
the AD7878 internal FIFO memory.
Figure 18. AD7878–ADSP-2700 Interface
Figure 19. AD7878–TMS32020 Interface
The interfaces to the ADSP-2100 and the TMS32020 gate the
AD7878 CS and the BUSY to provide a signal which drives the
processor into a wait state if a read/write operation to the ADC
is attempted while the ADC track/hold amplifier is going from
the track to the hold mode. This avoids digital feedthrough to
the analog circuitry. The TMS32020 does not have separate
RD and WR outputs to drive the AD7878 DMWR and
DMRD inputs. These are generated from the processor STRB
and R/W outputs with the addition of some logic gates.
Figure 20. AD7878–TMS32020 Interface
AD7878–M CC8000
This interface also uses an external timer for conversion control
as described for the previous three interfaces. It is discussed
separately because it needs extra logic due to the nature of its
interrupts. The MC68000 has eight levels of external interrupt.
When interrupting this processor one of these levels (0 to 7)
has to be encoded onto the IPL2IPL0 inputs. This is achieved
with a 74148 encoder in Figure 21, (interrupt Level 1 is taken
for example purposes only). The MC68000 places this inter-
rupt level on address bits A3 to A1 at the start of the interrupt
service routine. Additional logic is used to decode this interrupt
level on the address bus and the FC2–FC0 outputs to generate
a VPA signal for the MC68000. This results in an autovectored
interrupt, the start address for the service routine must be
loaded into the appropriate auto vector location during initial-
ization. For further information on the 68000 interrupts con-
sult the 68000 User’s Manual.

AD7878BQ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC CMOS Complete 12-Bit 100kHz Sampling
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union