Professional Documents
Culture Documents
Reg Id 150072
MS-17 IAA
Fig: The continuous signal is represented with a green colored line while the discrete
samples are indicated by the blue vertical lines.
A sample is a value or set of values at a point in time and/or space. A sampler is a
subsystem or operation that extracts samples from a continuous signal. A theoretical
ideal sampler produces samples equivalent to the instantaneous value of the
continuous signal at the desired points.
In practice, the continuous signal is sampled using an analog-to-digital converter (ADC),
a device with various physical limitations. This results in deviations from the theoretically
perfect reconstruction, collectively referred to as distortion.
Various types of distortion can occur, including:
Aperture error results from the fact that the sample is obtained as a time
average within a sampling region, rather than just being equal to the signal value
at the sampling instant. In a capacitor-based sample and hold circuit, aperture
error is introduced because the capacitor cannot instantly change voltage thus
requiring the sample to have non-zero width.
Slew rate limit error, caused by the inability of the ADC input value to change
sufficiently rapidly.
Error due to other non-linear effects of the mapping of input voltage to converted
output value (in addition to the effects of quantization).
Although the use of oversampling can completely eliminate aperture error and aliasing
by shifting them out of the pass band, this technique cannot be practically used above a
few GHz, and may be prohibitively expensive at much lower frequencies. Furthermore,
while oversampling can reduce quantization error and non-linearity, it cannot eliminate
these entirely. Consequently, practical ADCs at audio frequencies typically do not exhibit
aliasing, aperture error, and are not limited by quantization error. Instead, analog noise
dominates. At RF and microwave frequencies where oversampling is impractical and
filters are expensive, aperture error, quantization error and aliasing can be significant
limitations. Jitter, noise, and quantization are often analyzed by modeling them as
random errors added to the sample values. Integration and zero-order hold effects can
be analyzed as a form of low-pass filtering. The non-linearities of either ADC or DAC are
analyzed by replacing the ideal linear function mapping with a proposed nonlinear
function.
Quantization
Quantization is the process of representing the analog voltage from the sample-andhold circuit by a fixed number of bits. The input analog voltage (or current) is compared
to a set of pre-defined voltage (or current) levels. Each of the levels is represented by a
unique binary number, and the binary number that corresponds to the level that is
closest to the analog voltage is chosen to represent that sample. This process rounds
the analog voltage to the nearest level, which means that the digital representation is an
approximation to the analog voltage. There are a few methods for quantizing samples.
The most commonly used ones are the dual slope method and the successive
approximation.
Reconstruction
Reconstruction is the process of creating an analog voltage (or current) from samples. A
digital-to-analog converter takes a series of binary numbers and recreates the voltage
(or current) levels that corresponds to that binary number. Then this signal is filtered by
a lowpass filter. This process is analogous to interpolating between points on a graph,
but it can be shown that under certain conditions the original analog signal can be
reconstructed exactly from its samples. Unfortunately, the conditions for exact
reconstruction cannot be achieved in practice, and so in practice the reconstruction is
an approximation to the original analog signal.
Aliasing
Aliasing is an effect of violating the Nyquist-Shannon sampling theory. During sampling
the base band spectrum of the sampled signal is mirrored to every multifold of the
sampling frequency. These mirrored spectra are called alias. If the signal spectrum
reaches farther than half the sampling frequency base band spectrum and aliases touch
each other and the base band spectrum gets superimposed by the first alias spectrum.
The easiest way to prevent aliasing is the application of a steep sloped low-pass filter
with half the sampling frequency before the conversion. Aliasing can be avoided by
keeping Fs>2Fmax.
Converter
A2D converters are the bread and butter of DSP systems. A2D converters change
analog electrical data into digital signals through a process called sampling.
D2A converters attempt to create an analog output waveform from a digital signal.
However, it is nearly impossible to create a smooth output curve in this manner, so the
output waveform is going to have a wide bandwidth, and will have jagged edges. Some
techniques, such as interpolation can be used to improve these output waveforms.
Undersampling
When a bandpass signal is sampled slower than its Nyquist rate, the samples are
indistinguishable from samples of a low-frequency alias of the high-frequency signal.
That is often done purposefully in such a way that the lowest-frequency alias satisfies
the Nyquist criterion, because the bandpass signal is still uniquely represented and
Impulse sampling.
Natural sampling.
Impulse Sampling
Impulse sampling can be performed by multiplying input signal x(t) with impulse train
n=(tnT) of period 'T'. Here, the amplitude of impulse changes with respect to
amplitude of input signal x(t). The output of sampler is given by
This is called ideal sampling or impulse sampling. You cannot use this practically
because pulse width cannot be zero and the generation of impulse train is not possible
practically.
Natural Sampling
Natural sampling is similar to impulse sampling, except the impulse train is replaced by
pulse train of period T. i.e. you multiply input signal x(t) to pulse train n=P(tnT) as
shown below
Nyquist Rate
It is the minimum sampling rate at which signal can be converted into samples and can
be recovered back without distortion.
Nyquist rate fN = 2fm hz
Nyquist interval = 1/fN = 1/2fm seconds.
Samplings of Band Pass Signals
In case of band pass signals, the spectrum of band pass signal X[] = 0 for the
frequencies outside the range f 1 f f2. The frequency f1 is always greater than zero.
Plus, there is no aliasing effect when fs > 2f2. But it has two disadvantages:
The sampling rate is large in proportion with f 2. This has practical limitations.
To overcome this, the band pass theorem states that the input signal x(t) can be
converted into its samples and can be recovered back without distortion when sampling
frequency fs < 2f2.
Sample and Hold
In electronics, a sample and hold circuit is an analog device that samples (captures,
grabs) the voltage of a continuously varying analog signal and holds (locks, freezes) its
value at a constant level for a specified minimum period of time. Sample and hold
circuits and related peak detectors are the elementary analog memory devices. They
are typically used in analog-to-digital converters to eliminate variations in input signal
that can corrupt the conversion process
ADC Types
A typical sample and hold circuit stores electric charge in a capacitor and contains at
least one fast FET (field effect transistor) switch and at least one operational amplifier.
To sample the input signal the switch connects the capacitor to the output of a buffer
amplifier. The buffer amplifier charges or discharges the capacitor so that the voltage
across the capacitor is practically equal, or proportional to, input voltage. In hold mode
the switch disconnects the capacitor from the buffer. The capacitor is invariably
discharged by its own leakage currents and useful load currents, which makes the
circuit inherently volatile, but the loss of voltage (voltage drop) within a specified hold
time remains within an acceptable error margin.
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 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.
voltage is greater than 6 volts, and search range becomes 68 V. The steps are
continued until the desired resolution is reached.
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 least number of 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 another register to store the voltage value. A very simple (non-linear)
ramp-converter can be implemented with a microcontroller and one resistor and
capacitor.[13] Vice versa, a filled capacitor can be taken from an integrator, time-toamplitude 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.
For many ADC applications, this variation in update frequency (sample time) would not
be acceptable. This, and the fact that the circuit's need to count all the way from 0 at the
beginning of each count cycle makes for relatively slow sampling of the analog signal,
places the digital-ramp ADC at a disadvantage to other counter strategies.
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.
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.
A pipeline ADC (also called subranging quantizer) uses two or more steps of
subranging. First, a coarse conversion is done. In a second step, the difference to the
input signal is determined with a digital to 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.
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).
A time-interleaved ADC uses M parallel ADCs where each ADC samples data every
Mth 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 SFDR.
However, technologies exist to correct for these time-interleaving mismatch errors.
Parameters of an ADC
The key parameters to test a SAR ADC are the following:
DC Offset Error
DC Gain Error
Power Dissipation
DAC Types
higher order topologies (such as MASH) are used to achieve higher degrees of noiseshaping with a stable topology.
The binary-weighted DAC, which contains individual electrical components for each bit
of the DAC connected to a summing point. These precise voltages or currents sum to
the correct output value. This is one of the fastest conversion methods but suffers from
poor accuracy because of the high precision required for each individual voltage or
current. Such high-precision components are expensive, so this type of converter is
usually limited to 8-bit resolution or less
Switched resistor DAC contains of a parallel resistor network. Individual resistors are
enabled or bypassed in the network based on the digital input.
Switched current source DAC, from which different current sources are selected
based on the digital input.
Switched capacitor DAC contains a parallel capacitor network. Individual capacitors
are connected or disconnected with switches based on the input.
The R-2R ladder DAC which is a binary-weighted DAC that uses a repeating cascaded
structure of resistor values R and 2R. This improves the precision due to the relative
ease of producing equal valued-matched resistors (or current sources). However, wide
converters perform slowly due to increasingly large RC-constants for each added R-2R
link.
Hybrid DACs, which use a combination of the above techniques in a single converter.
Most DAC integrated circuits are of this type due to the difficulty of getting low cost, high
speed and high precision in one device.
The Segmented DAC, which combines the thermometer-coded principle for the most
significant bits and the binary-weighted principle for the least significant bits. In this way,
a compromise is obtained between precision (by the use of the thermometer-coded
principle) and number of resistors or current sources (by the use of the binary-weighted
principle). The full binary-weighted design means 0% segmentation, the full
thermometer-coded design means 100% segmentation.
Most DACs, shown earlier in this list, rely on a constant reference voltage to create their
output value. Alternatively, a multiplying DAC takes a variable input voltage for their
conversion. This puts additional design constraints on the bandwidth of the conversion
circuit.
Performance
most important characteristics of these devices are:
Resolution
The number of possible output levels the DAC is designed to reproduce. This is usually
stated as the number of bits it uses, which is the base two logarithm of the number of
levels. For instance a 1 bit DAC is designed to reproduce 2 (21) levels while an 8 bit
DAC is designed for 256 (28) levels. Resolution is related to the effective number of bits
which is a measurement of the actual resolution attained by the DAC. Resolution
determines color depth in video applications and audio bit depth in audio applications.
ANALOG DEVICES
CIRRUS LOGIC
INTERSIL
LINEAR TECHNOLOGY
MICROCHIP
TEXAS INSTRUMENTS