Analog To Digital Converter
Analog To Digital Converter
Analog To Digital Converter
1
Sampling rate
The analog signal is continuous in time and it is necessary to convert
this to a flow of digital values. It is therefore required to define the rate
at which new digital values are sampled from the analog signal. The
rate of new values is called the sampling rate or sampling frequency of
the converter. A continuously varying bandlimited signal can be
sampled and then the original signal can be reproduced from the
discrete-time values by a reconstruction filter. The Nyquist–Shannon
sampling theorem implies that a faithful reproduction of the original
signal is only possible if the sampling rate is higher than twice the
highest frequency of the signal.
2
Since a practical ADC cannot make an instantaneous conversion, the
input value must necessarily be held constant during the time that the
converter performs a conversion (called the conversion time). An input
circuit called a sample and hold performs this task—in most cases by
using a capacitor to store the analog voltage at the input, and using an
electronic switch or gate to disconnect the capacitor from the input.
Many ADC integrated circuits include the sample and hold subsystem
internally.
Types
These are the most common ways of implementing an electronic ADC:
Direct-conversion
A direct-conversion ADC or flash ADC has a bank of comparators
sampling the input signal in parallel, each firing for their decoded
voltage range. The comparator bank feeds a logic circuit that generates
a code for each voltage range. Direct conversion is very fast, capable
3
of gigahertz sampling rates, but usually has only 8 bits of resolution or
fewer, since the number of comparators needed, 2N – 1, doubles with
each additional bit, requiring a large, expensive circuit. ADCs of this
type have a large die size, a high input capacitance, high power
dissipation, and are prone to produce glitches at the output (by
outputting an out-of-sequence code). Scaling to newer submicrometre
technologies does not help as the device mismatch is the dominant
design limitation. They are often used for video, wideband
communications or other fast signals in optical storage. There are four
different types of direct ADCs.
Ramp-compare
A ramp-compare ADC produces a saw-tooth signal that ramps up or
down then quickly returns to zero. When the ramp starts, a timer starts
counting. When the ramp voltage matches the input, a comparator
fires, and the timer's value is recorded. Timed ramp converters require
the fewest transistors. The ramp time is sensitive to temperature
because the circuit generating the ramp is often a simple oscillator.
There are two solutions: use a clocked counter driving a DAC and then
use the comparator to preserve the counter's value, or calibrate the
timed ramp. A special advantage of the ramp-compare system is that
comparing a second signal just requires another comparator, and
6
another register to store the voltage value. A very simple (nonlinear)
ramp converter can be implemented with a microcontroller and one
resistor and capacitor.[12] Vice versa, a filled capacitor can be taken
from an integrator, time-to-amplitude converter, phase detector,
sample and hold circuit, or peak and hold circuit and discharged. This
has the advantage that a slow comparator cannot be disturbed by fast
input changes.
Wilkinson
The Wilkinson ADC was designed by D. H. Wilkinson in 1950. The
Wilkinson ADC is based on the comparison of an input voltage with
that produced by a charging capacitor. The capacitor is allowed to
charge until its voltage is equal to the amplitude of the input pulse (a
comparator determines when this condition has been reached). Then,
the capacitor is allowed to discharge linearly, which produces a ramp
voltage. At the point when the capacitor begins to discharge, a gate
pulse is initiated. The gate pulse remains on until the capacitor is
completely discharged. Thus, the duration of the gate pulse is directly
proportional to the amplitude of the input pulse. This gate pulse
operates a linear gate which receives pulses from a high-frequency
oscillator clock. While the gate is open, a discrete number of clock
pulses pass through the linear gate and are counted by the address
register. The time the linear gate is open is proportional to the
amplitude of the input pulse, thus the number of clock pulses recorded
in the address register is proportional also. Alternatively, the charging
of the capacitor could be monitored, rather than the discharge.[13][14]
7
Integrating
An integrating ADC (also dual-slope or multi-slope ADC) applies the
unknown input voltage to the input of an integrator and allows the
voltage to ramp for a fixed time period (the run-up period). Then a
known reference voltage of opposite polarity is applied to the
integrator and is allowed to ramp until the integrator output returns to
zero (the run-down period). The input voltage is computed as a
function of the reference voltage, the constant run-up time period, and
the measured run-down time period. The run-down time measurement
is usually made in units of the converter's clock, so longer integration
times allow for higher resolutions. Likewise, the speed of the converter
can be improved by sacrificing resolution. Converters of this type (or
variations on the concept) are used in most digital voltmeters for their
linearity and flexibility.
9
analog converter (DAC). This difference is then converted finer, and
the results are combined in a last step. This can be considered a
refinement of the successive-approximation ADC wherein the
feedback reference signal consists of the interim conversion of a whole
range of bits (for example, four bits) rather than just the next-most-
significant bit. By combining the merits of the successive
approximation and flash ADCs this type is fast, has a high resolution,
and only requires a small die size.
Sigma-delta
A sigma-delta ADC (also known as a delta-sigma ADC) oversamples
the desired signal by a large factor and filters the desired signal band.
Generally, a smaller number of bits than required are converted using a
Flash ADC after the filter. The resulting signal, along with the error
generated by the discrete levels of the Flash, is fed back and subtracted
from the input to the filter. This negative feedback has the effect of
noise shaping the error due to the Flash so that it does not appear in the
desired signal frequencies. A digital filter (decimation filter) follows
the ADC which reduces the sampling rate, filters off unwanted noise
signal and increases the resolution of the output (sigma-delta
modulation, also called delta-sigma modulation).
Time-interleaved
A time-interleaved ADC uses M parallel ADCs where each ADC
samples data every M:th cycle of the effective sample clock. The result
is that the sample rate is increased M times compared to what each
individual ADC can manage. In practice, the individual differences
between the M ADCs degrade the overall performance reducing the
10
spurious-free dynamic range (SFDR).[15] However, technologies exist
to correct for these time-interleaving mismatch errors.
Intermediate FM stage
An ADC with intermediate FM stage first uses a voltage-to-frequency
converter to convert the desired signal into an oscillating signal with a
frequency proportional to the voltage of the desired signal, and then
uses a frequency counter to convert that frequency into a digital count
proportional to the desired signal voltage. Longer integration times
allow for higher resolutions. Likewise, the speed of the converter can
be improved by sacrificing resolution. The two parts of the ADC may
be widely separated, with the frequency signal passed through an opto-
isolator or transmitted wirelessly. Some such ADCs use sine wave or
square wave frequency modulation; others use pulse-frequency
modulation. Such ADCs were once the most popular way to show a
digital display of the status of a remote analog sensor.
References
11