All Topics  
Analog-to-digital converter

 

   Email Print
   Bookmark   Link






 

Analog-to-digital converter



 
 
An analog-to-digital converter (abbreviated ADC, A/D or A to D) is a device which converts continuous signals to discrete
Discrete signal

A discrete signal or discrete-time signal is a time series, perhaps a signal that has been sampling from a continuous signal.Unlike a continuous-time signal, a discrete-time signal is not a function of a continuous-time argument, but is a sequence of quantities; that is, a function over a Domain of discrete integers....
 digital
Digital

A digital system uses discrete values, usually but not always symbolized numerically to represent information for input, processing, transmission, storage, etc....
 numbers. The reverse operation is performed by a digital-to-analog converter
Digital-to-analog converter

In electronics, a digital-to-analog converter is a device for converting a digital code to an analog signal .An analog-to-digital converter performs the reverse operation....
 (DAC).

Typically, an ADC is an electronic
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
 device that converts an input analog voltage
Voltage

Electrical tension is the potential difference between two points of an electrical or electronic circuit, expressed in volts. It is the measurement of the potential for an electric field to cause an electric current in an electrical conductor....
 (or current
Electric current

Electric current is the flow of electric charge. The electric charge may be either electrons or ions.The International System of Units unit of electric current intensity is the ampere....
) to a digital
Digital

A digital system uses discrete values, usually but not always symbolized numerically to represent information for input, processing, transmission, storage, etc....
 number. However, some non-electronic or only partially electronic devices, such as rotary encoder
Rotary encoder

A rotary encoder, also called a shaft encoder, is an electro-mechanical device used to convert the angle position of a shaft or axle to an analog or digital code, making it an angle transducer....
s, can also be considered ADCs.






Discussion
Ask a question about 'Analog-to-digital converter'
Start a new discussion about 'Analog-to-digital converter'
Answer questions from other users
Full Discussion Forum



Encyclopedia


An analog-to-digital converter (abbreviated ADC, A/D or A to D) is a device which converts continuous signals to discrete
Discrete signal

A discrete signal or discrete-time signal is a time series, perhaps a signal that has been sampling from a continuous signal.Unlike a continuous-time signal, a discrete-time signal is not a function of a continuous-time argument, but is a sequence of quantities; that is, a function over a Domain of discrete integers....
 digital
Digital

A digital system uses discrete values, usually but not always symbolized numerically to represent information for input, processing, transmission, storage, etc....
 numbers. The reverse operation is performed by a digital-to-analog converter
Digital-to-analog converter

In electronics, a digital-to-analog converter is a device for converting a digital code to an analog signal .An analog-to-digital converter performs the reverse operation....
 (DAC).

Typically, an ADC is an electronic
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
 device that converts an input analog voltage
Voltage

Electrical tension is the potential difference between two points of an electrical or electronic circuit, expressed in volts. It is the measurement of the potential for an electric field to cause an electric current in an electrical conductor....
 (or current
Electric current

Electric current is the flow of electric charge. The electric charge may be either electrons or ions.The International System of Units unit of electric current intensity is the ampere....
) to a digital
Digital

A digital system uses discrete values, usually but not always symbolized numerically to represent information for input, processing, transmission, storage, etc....
 number. However, some non-electronic or only partially electronic devices, such as rotary encoder
Rotary encoder

A rotary encoder, also called a shaft encoder, is an electro-mechanical device used to convert the angle position of a shaft or axle to an analog or digital code, making it an angle transducer....
s, can also be considered ADCs. The digital output may use different coding schemes, such as binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
, Gray code
Gray code

|}The reflected binary code, also known as Gray code after Frank Gray , is a binary numeral system where two successive values differ in only one bit....
 or two's complement
Two's complement

The two's complement of a binary number is defined as the value obtained by subtracting the number from a large power of two .A two's-complement system or two's-complement arithmetic is a system in which negative numbers are represented by the two's complement of the absolute value; this system is the most common Signed number r...
 binary.

Concepts


Resolution

The resolution of the converter indicates the number of discrete values it can produce over the range of analog values. The values are usually stored electronically in binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
 form, so the resolution is usually expressed in bit
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
s. In consequence, the number of discrete values available, or "levels", is usually a power of two. For example, an ADC with a resolution of 8 bits can encode an analog input to one in 256 different levels, since . The values can represent the ranges from 0 to 255 (i.e. unsigned integer) or from -128 to 127 (i.e. signed integer), depending on the application.

Resolution can also be defined electrically, and expressed in volt
Volt

The volt is the SI SI derived unit of electric potential difference or electromotive force, commonly known as voltage. It is named in honor of the Lombard physicist Alessandro Volta , who invented the voltaic pile, possibly the first chemical battery ....
s. The voltage resolution of an ADC is equal to its overall voltage measurement range divided by the number of discrete intervals as in the formula:

Where:
Q is resolution in volts per step (volts per output code),


EFSR is the full scale voltage range = ,


M is the ADC's resolution in bits, and


N is the number of intervals, given by the number of available levels (output codes), which is:


Some examples may help:

  • Example 1
    • Full scale
      Full scale

      In electronics and signal processing, full scale or full code represents the maximum amplitude a system can present....
       measurement range = 0 to 10 volts
    • ADC resolution is 12 bits: 212 = 4096 quantization levels (codes)
    • ADC voltage resolution is: (10V - 0V) / 4096 codes = 10V / 4096 codes 0.00244 volts/code 2.44 mV/code


  • Example 2
    • Full scale
      Full scale

      In electronics and signal processing, full scale or full code represents the maximum amplitude a system can present....
       measurement range = -10 to +10 volts
    • ADC resolution is 14 bits: 214 = 16384 quantization levels (codes)
    • ADC voltage resolution is: (10V - (-10V)) / 16384 codes = 20V / 16384 codes 0.00122 volts/code 1.22 mV/code


  • Example 3
    • Full scale
      Full scale

      In electronics and signal processing, full scale or full code represents the maximum amplitude a system can present....
       measurement range = 0 to 8 volts
    • ADC resolution is 3 bits: 23 = 8 quantization levels (codes)
    • ADC voltage resolution is: (8 V - 0 V)/8 codes = 8 V/8 codes = 1 volts/code = 1000 mV/code


In practice, the smallest output code ("0" in an unsigned system) represents a voltage range which is 0.5X of the ADC voltage resolution (Q)(meaning half-wide of the ADC voltage Q ) while the largest output code represents a voltage range which is 1.5X of the ADC voltage resolution (meaning 50% wider than the ADC voltage resolution). The other N - 2 codes are all equal in width and represent the ADC voltage resolution (Q) calculated above. Doing this centers the code on an input voltage that represents the Mth division of the input voltage range. For example, in Example 3, with the 3-bit ADC spanning an 8 V range, each of the N divisions would represent 1 V, except the 1st ("0" code) which is 0.5 V wide, and the last ("7" code) which is 1.5 V wide. Doing this the "1" code spans a voltage range from 0.5 to 1.5 V, the "2" code spans a voltage range from 1.5 to 2.5 V, etc. Thus, if the input signal is at 3/8ths of the full-scale voltage, then the ADC outputs the "3" code, and will do so as long as the voltage stays within the range of 2.5/8ths and 3.5/8ths. This practice is called "Mid-Tread" operation. This type of ADC can be modeled mathematically as:

The exception to this convention seems to be the Microchip PIC processor, where all M steps are equal width. This practice is called "Mid-Rise with Offset" operation.

In practice, the useful resolution of a converter is limited by the best signal-to-noise ratio
Signal-to-noise ratio

Signal-to-noise ratio is an electrical engineering measurement, also used in other fields , defined as the ratio of a signal power to the noise power corrupting the signal....
 that can be achieved for a digitized signal. An ADC can resolve a signal to only a certain number of bits of resolution, called the "effective number of bits" (ENOB). One effective bit of resolution changes the signal-to-noise ratio
Signal-to-noise ratio

Signal-to-noise ratio is an electrical engineering measurement, also used in other fields , defined as the ratio of a signal power to the noise power corrupting the signal....
 of the digitized signal by 6 dB, if the resolution is limited by the ADC. If a preamplifier
Preamplifier

A preamplifier , or control amp in some parts of the world, is an electronic amplifier which precedes another amplifier to prepare an electronic Signalling for further amplification or processing....
 has been used prior to A/D conversion, the noise introduced by the amplifier can be an important contributing factor towards the overall SNR.

Response type


Linear ADCs
Most ADCs are of a type known as linear
Linear

The word linear comes from the Latin word linearis, which means created by lines.In mathematics, a linear map or function f is a function which satisfies the following two properties......
, although analog-to-digital conversion is an inherently non-linear process (since the mapping of a continuous space to a discrete space is a piecewise-constant and therefore non-linear operation). The term linear as used here means that the range of the input values that map to each output value has a linear relationship with the output value, i.e., that the output value k is used for the range of input values from

m(k + b)


to

m(k + 1 + b),


where m and b are constants. Here b is typically 0 or -0.5. When b = 0, the ADC is referred to as mid-rise, and when b = -0.5 it is referred to as mid-tread.

Non-linear ADCs
If the probability density function
Probability density function

In mathematics, a probability density function is a function that represents a probability distribution in terms of integrals.Formally, a probability distribution has density ƒ, if ƒ is a non-negative Lebesgue integration function such that the probability of the interval [ab] is given by...
 of a signal being digitized is uniform
Uniform distribution

Uniform distribution can refer to:...
, then the signal-to-noise ratio relative to the quantization noise is the best possible. Because this is often not the case, it's usual to pass the signal through its cumulative distribution function
Cumulative distribution function

In probability theory and statistics, the cumulative distribution function or just distribution function, completely describes the probability distribution of a real-valued random variable X....
 (CDF) before the quantization. This is good because the regions that are more important get quantized with a better resolution. In the dequantization process, the inverse CDF is needed.

This is the same principle behind the companders used in some tape-recorders and other communication systems, and is related to entropy
Information entropy

In information theory, entropy is a measure of the uncertainty associated with a random variable. The term by itself in this context usually refers to the Shannon entropy, which quantifies, in the sense of an expected value, the self-information contained in a message, usually in units such as bits....
 maximization. (Never confuse companders with compressors
Audio level compression

Dynamic range compression, also called DRC or simply compression, is a process that reduces the dynamic range of an audio signal. Compression is used during sound recording, live sound reinforcement, and broadcasting to control the level of audio....
!)

For example, a voice signal has a Laplacian distribution. This means that the region around the lowest levels, near 0, carries more information than the regions with higher amplitudes. Because of this, logarithmic ADCs are very common in voice communication systems to increase the dynamic range
Dynamic range

Dynamic range is a term used frequently in numerous fields to describe the ratio between the smallest and largest possible values of a changeable quantity, such as in sound and light....
 of the representable values while retaining fine-granular fidelity in the low-amplitude region.

An eight-bit a-law or the ΅-law logarithmic ADC covers the wide dynamic range
Dynamic range

Dynamic range is a term used frequently in numerous fields to describe the ratio between the smallest and largest possible values of a changeable quantity, such as in sound and light....
 and has a high resolution in the critical low-amplitude region, that would otherwise require a 12-bit linear ADC.

Accuracy

An ADC has several sources of errors. Quantization
Quantization

Quantization is the procedure of constraining something from a continuous set of values to a discrete set . Quantization in specific domains is discussed in:...
 error and (assuming the ADC is intended to be linear) non-linearity is intrinsic to any analog-to-digital conversion. There is also a so-called aperture error which is due to a clock jitter
Jitter

Jitter is an unwanted variation of one or more characteristics of a periodic Signalling in electronics and telecommunications. Jitter may be seen in characteristics such as the interval between successive pulses, or the amplitude, frequency, or phase of successive cycles....
 and is revealed when digitizing a time-variant signal (not a constant value).

These errors are measured in a unit called the LSB, which is an abbreviation for least significant bit
Least significant bit

In computing, the least significant bit is the bit position in a Binary numeral system integer giving the units value, that is, determining whether the number is even or odd....
. In the above example of an eight-bit ADC, an error of one LSB is 1/256 of the full signal range, or about 0.4%.

Quantization error

Quantization error is due to the finite resolution of the ADC, and is an unavoidable imperfection in all types of ADC. The magnitude
Magnitude (mathematics)

The magnitude of a mathematical object is its size: a property by which it can be larger or smaller than other objects of the same kind; in technical terms, an ordering of the class of objects to which it belongs....
 of the quantization error at the sampling instant is between zero and half of one LSB.

In the general case, the original signal is much larger than one LSB. When this happens, the quantization error
Quantization error

The difference between the actual analog value and quantized digital value due is called quantization error. This error is due either to rounding or truncation....
 is not correlated with the signal, and has a uniform distribution
Uniform distribution (continuous)

In probability theory and statistics, the continuous uniform distribution is a family of probability distributions such that for each member of the family, all interval s of the same length on the distribution's support are equally probable....
. Its RMS
Root mean square

In mathematics, the root mean square , also known as the quadratic mean, is a statistics measure of the magnitude of a varying quantity. It is especially useful when variates are positive and negative, e.g., sinusoids....
 value is the standard deviation
Standard deviation

In statistics, standard deviation is a simple measure of the variability or statistical dispersion of a data set. A low standard deviation indicates that all of the data points are very close to the same value , while high standard deviation indicates that the data are ?spread out? over a large range of values....
 of this distribution, given by . In the eight-bit ADC example, this represents 0.113% of the full signal range.

At lower levels the quantizing error becomes dependent of the input signal, resulting in distortion. This distortion is created after the anti-aliasing filter, and if these distortions are above 1/2 the sample rate they will alias back into the audio band. In order to make the quantizing error independent of the input signal, noise with an amplitude of 1 quantization step is added to the signal. This slightly reduces signal to noise ratio, but completely eliminates the distortion. It is known as dither.

Non-linearity

All ADCs suffer from non-linearity errors caused by their physical imperfections, resulting in their output to deviate from a linear function (or some other function, in the case of a deliberately non-linear ADC) of their input. These errors can sometimes be mitigated by calibration
Calibration

Calibration is the validation of specific measurement techniques and equipment. At the simplest level, calibration is a comparison between measurements-one of known magnitude or correctness made or set with one device and another measurement made in as similar a way as possible with a second device....
, or prevented by testing.

Important parameters for linearity are integral non-linearity
Integral nonlinearity

Integral non-linearity is a term describing the maximum deviation between the ideal output of a DAC and the actual output level. The term is often used as an important specification for measuring error in a digital-to-analog converter ....
 (INL) and differential non-linearity
Differential nonlinearity

A differential Nonlinearity or differential Non-linearity is a term describing the deviation between two adjacent points. The term often used as an important specification for measuring error in a Digital-to-analog converter ; the accuracy of a DAC is mainly determined by this specification....
 (DNL). These non-linearities reduce the dynamic range of the signals that can be digitized by the ADC, also reducing the effective resolution of the ADC.

Aperture error
Imagine that we are digitizing a sine wave . Provided that the actual sampling time uncertainty due to the clock jitter is , the error caused by this phenomenon can be estimated as .

One can see that the error is relatively small at low frequencies, but can become significant at high frequencies.

This effect can be ignored if it is relatively small as compared with quantizing error. Jitter requirements can be calculated using the following formula: , where q is a number of ADC bits.
ADC
resolution
in bit
input frequency
1 Hz44.1 kHz 192 kHz 1 MHz 10 MHz 100 MHz 1 GHz
8 1243 ΅s 28.2 ns 6.48 ns 1.24 ns 124 ps 12.4 ps 1.24 ps
10 311 ΅s 7.05 ns 1.62 ns 311 ps 31.1 ps 3.11 ps 0.31 ps
12 77.7 ΅s 1.76 ns 405 ps 77.7 ps 7.77 ps 0.78 ps 0.08 ps
14 19.4 ΅s 441 ps 101 ps 19.4 ps 1.94 ps 0.19 ps 0.02 ps
16 4.86 ΅s 110 ps 25.3 ps 4.86 ps 0.49 ps 0.05 ps –
18 1.21 ΅s 27.5 ps 6.32 ps 1.21 ps 0.12 ps – –
20 304 ns 6.88 ps 1.58 ps 0.16 ps – – –
24 19.0 ns 0.43 ps 0.10 ps – – – –
32 74.1 ps – – – – – –
This table shows, for example, that it is not worth using a precise 24-bit ADC for sound recording if we don't have an ultra low jitter clock. One should consider taking this phenomenon into account before choosing an ADC.

Sampling rate

The analog signal is continuous
Continuous function

In mathematics, a continuous function is a function for which, intuitively, small changes in the input result in small changes in the output. Otherwise, a function is said to be discontinuous....
 in time
Time

Time is a component of the measurement used to sequence events, to compare the durations of events and the intervals between them, and to quantify the motions of objects....
 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 (that is, the signal values at intervals of time T, the sampling time, are measured and stored) and then the original signal can be exactly reproduced from the discrete-time values by an interpolation
Interpolation

In the mathematics subfield of numerical analysis, interpolation is a method of constructing new data points within the range of a discrete set of known data points....
 formula. The accuracy is limited by quantization error. However, this faithful reproduction is only possible if the sampling rate is higher than twice the highest frequency of the signal. This is essentially what is embodied in the Shannon-Nyquist sampling theorem.

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
Sample and hold

In electronics, a sample and hold circuit is used to interface real-world signals, by changing analog signal signals to a subsequent system such as an analog-to-digital converter....
 performs this task—in most cases by using a capacitor
Capacitor

A capacitor or condenser is a Passive component electronic component consisting of a pair of electrical conductor separated by a dielectric....
 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 circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
s include the sample and hold subsystem internally.

Aliasing

All ADCs work by sampling their input at discrete intervals of time. Their output is therefore an incomplete picture of the behaviour of the input. There is no way of knowing, by looking at the output, what the input was doing between one sampling instant and the next. If the input is known to be changing slowly compared to the sampling rate, then it can be assumed that the value of the signal between two sample instants was somewhere between the two sampled values. If, however, the input signal is changing fast compared to the sample rate, then this assumption is not valid.

If the digital values produced by the ADC are, at some later stage in the system, converted back to analog values by a digital to analog converter or DAC
Digital-to-analog converter

In electronics, a digital-to-analog converter is a device for converting a digital code to an analog signal .An analog-to-digital converter performs the reverse operation....
, it is desirable that the output of the DAC be a faithful representation of the original signal. If the input signal is changing much faster than the sample rate, then this will not be the case, and spurious signals called aliases will be produced at the output of the DAC. The frequency of the aliased signal is the difference between the signal frequency and the sampling rate. For example, a 2 kHz sinewave being sampled at 1.5 kHz would be reconstructed as a 500 Hz sinewave. This problem is called aliasing
Aliasing

In statistics, signal processing, computer graphics and related disciplines, aliasing refers to an effect that causes different continuous signals to become indistinguishable when sampling ....
.

To avoid aliasing, the input to an ADC must be low-pass filter
Electronic filter

Electronic filters are electronic circuits which perform signal processing functions, specifically to remove unwanted frequency components from the signal and/or to enhance wanted ones....
ed to remove frequencies above half the sampling rate. This filter is called an anti-aliasing
Anti-aliasing

In digital signal processing, anti-aliasing is the technique of minimizing the distortion artifacts known as aliasing when representing a high-resolution signal at a lower resolution....
 filter, and is essential for a practical ADC system that is applied to analog signals with higher frequency content.

Although aliasing in most systems is unwanted, it should also be noted that it can be exploited to provide simultaneous down-mixing of a band-limited high frequency signal (see frequency mixer
Frequency mixer

In telecommunications, a mixer is a nonlinear or time-varying electrical network or device that accepts as its input two different frequencies and presents at its output a mixture of signal s at several frequency:...
).

Dither

In A to D converters, performance can usually be improved using dither
Dither

Dither is an intentionally applied form of noise, used to randomize quantization error, thereby preventing large-scale patterns such as contouring that are more objectionable than uncorrelated noise....
. This is a very small amount of random noise (white noise
White noise

White noise is a random signal with a flat power spectral density. In other words, the signal contains equal power within a fixed bandwidth at any center frequency....
) which is added to the input before conversion. Its amplitude is set to be about half of the least significant bit. Its effect is to cause the state of the LSB to randomly oscillate between 0 and 1 in the presence of very low levels of input, rather than sticking at a fixed value. Rather than the signal simply getting cut off altogether at this low level (which is only being quantized to a resolution of 1 bit), it extends the effective range of signals that the A to D converter can convert, at the expense of a slight increase in noise - effectively the quantization error is diffused across a series of noise values which is far less objectionable than a hard cutoff. The result is an accurate representation of the signal over time. A suitable filter at the output of the system can thus recover this small signal variation.

An audio signal of very low level (with respect to the bit depth of the ADC) sampled without dither sounds extremely distorted and unpleasant. Without dither the low level always yields a '1' from the A to D. With dithering, the true level of the audio is still recorded as a series of values over time, rather than a series of separate bits at one instant in time.

A virtually identical process, also called dither or dithering, is often used when quantizing photographic images to a fewer number of bits per pixel—the image becomes noisier but to the eye looks far more realistic than the quantized image, which otherwise becomes banded. This analogous process may help to visualize the effect of dither on an analogue audio signal that is converted to digital.

Dithering is also used in integrating systems such as electricity meter
Electricity meter

An electric meter or energy meter is a device that measures the amount of electricity energy supplied to or produced by a House, business or machine....
s. Since the values are added together, the dithering produces results that are more exact than the LSB of the analog-to-digital converter.

Note that dither can only increase the resolution of a sampler, it cannot improve the linearity, and thus accuracy does not necessarily improve.

Oversampling

Usually, signals are sampled at the minimum rate required, for economy, with the result that the quantization noise introduced is white noise
White noise

White noise is a random signal with a flat power spectral density. In other words, the signal contains equal power within a fixed bandwidth at any center frequency....
 spread over the whole pass band of the converter. If a signal is sampled at a rate much higher than the Nyquist frequency
Nyquist frequency

The Nyquist frequency, named after the Swedish-American engineer Harry Nyquist or the Nyquist?Shannon sampling theorem, is half the sampling frequency of a discrete signal processing system....
 and then digitally filtered to limit it to the signal bandwidth then there are 3 main advantages:
  • digital filters can have better properties (sharper rolloff, phase) than analogue filters, so a sharper anti-aliasing filter can be realised and then the signal can be downsampled giving a better result
  • a 20 bit ADC can be made to act as a 24 bit ADC with 256x oversampling
  • the signal-to-noise ratio
    Signal-to-noise ratio

    Signal-to-noise ratio is an electrical engineering measurement, also used in other fields , defined as the ratio of a signal power to the noise power corrupting the signal....
     due to quantization noise will be higher than if the whole available band had been used. With this technique, it is possible to obtain an effective resolution larger than that provided by the converter alone


ADC structures

These are the most common ways of implementing an electronic ADC:

  • A direct conversion ADC or flash ADC
    Flash ADC

    A Flash ADC is a type of analog-to-digital converter that uses a linear voltage ladder with a comparator at each "rung" of the ladder to compare the input voltage to successive reference voltages....
     has a bank of comparator
    Comparator

    In electronics, a comparator is a device which compares two voltages or Electric currents and switches its output to indicate which is larger....
    s, 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, but usually has only 8 bits of resolution (255 comparators - since the number of comparators required is 2n - 1) or fewer, as it needs a large, expensive circuit. ADCs of this type have a large die
    Die (integrated circuit)

    A die in the context of integrated circuits is a small block of semiconducting material, on which a given functional circuit is fabricated.Typically, integrated circuits are produced in large batches on a single wafer of electronic-grade silicon through processes such as photolithography....
     size, a high input capacitance
    Capacitance

    In electromagnetism and electronics, capacitance is the ability of a body to hold an electrical charge.Capacitance is also a measure of the amount of electric charge stored for a given electric potential....
    , and are prone to produce glitch
    Glitch

    A glitch is a short-lived fault in a system. The term is particularly common in the computing and electronics industries, and in circuit bending, as well as among players of video games, although it is applied to all types of systems including human organizations and nature....
    es on 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
    Video

    Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
    , wideband communications or other fast signals in optical storage
    Optical storage

    Optical storage is a term from engineering referring to the storage of data on an optically readable medium. Data is recorded by making marks in a pattern that can be read back with the aid of light....
    .


  • A successive-approximation ADC
    Successive Approximation ADC

    A successive approximation ADC is a type of analog-to-digital converter that converts a continuous Analog signal waveform into a discrete digital representation via a binary search through all possible Quantization levels before finally converging upon a digital output for each conversion....
     uses a comparator to reject ranges of voltages, eventually settling on a final voltage range. Successive approximation works by constantly comparing the input voltage to the output of an internal digital to analog converter (DAC, fed by the current value of the approximation) until the best approximation is achieved. At each step in this process, a binary value of the approximation is stored in a successive approximation register (SAR). The SAR uses a reference voltage (which is the largest signal the ADC is to convert) for comparisons. For example if the input voltage is 60 V and the reference voltage is 100 V, in the 1st clock cycle, 60 V is compared to 50 V (the reference, divided by two. This is the voltage at the output of the internal DAC when the input is a '1' followed by zeros), and the voltage from the comparator is positive (or '1') (because 60 V is greater than 50 V). At this point the first binary digit (MSB
    Most significant bit

    In computing, the most significant bit is the bit position in a Binary numeral system having the greatest value. The msb is sometimes referred to as the left-most bit on big-endian architectures, due to the convention in positional notation of writing more significant digits further to the left....
    ) is set to a '1'. In the 2nd clock cycle the input voltage is compared to 75 V (being halfway between 100 and 50 V: This is the output of the internal DAC when its input is '11' followed by zeros) because 60 V is less than 75 V, the comparator output is now negative (or '0'). The second binary digit is therefore set to a '0'. In the 3rd clock cycle, the input voltage is compared with 62.5 V (halfway between 50 V and 75 V: This is the output of the internal DAC when its input is '101' followed by zeros). The output of the comparator is negative or '0' (because 60 V is less than 62.5 V) so the third binary digit is set to a 0. The fourth clock cycle similarly results in the fourth digit being a '1' (60 V is greater than 56.25 V, the DAC output for '1001' followed by zeros). The result of this would be in the binary form 1001. This is also called bit-weighting conversion, and is similar to a binary search. The analogue value is rounded to the nearest binary value below, meaning this converter type is mid-rise (see above). Because the approximations are successive (not simultaneous), the conversion takes one clock-cycle for each bit of resolution desired. The clock frequency must be equal to the sampling frequency multiplied by the number of bits of resolution desired. For example, to sample audio at 44.1 kHz with 32 bit resolution, a clock frequency of over 1.4 MHz would be required. ADCs of this type have good resolutions and quite wide ranges. They are more complex than some other designs.


  • A ramp-compare ADC (also called integrating, dual-slope or multi-slope ADC) produces a saw-tooth signal
    Sawtooth wave

    The sawtooth wave is a kind of non-sinusoidal waveform. It is named a sawtooth based on its resemblance to the teeth on the blade of a saw.The convention is that a sawtooth wave ramps upward and then sharply drops....
     that ramps up, then quickly falls 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 transistor
    Transistor

    In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
    s. The ramp time is sensitive to temperature because the circuit generating the ramp is often just some simple oscillator
    Electronic oscillator

    An electronic oscillator is an electronic circuit that produces a repetitive electronic signal, often a sine wave or a square wave.A low frequency oscillation is an electronic oscillator that generates an alternating current waveform at a frequency below ?200 Hz....
    . There are two solutions: use a clocked counter driving a DAC
    Digital-to-analog converter

    In electronics, a digital-to-analog converter is a device for converting a digital code to an analog signal .An analog-to-digital converter performs the reverse operation....
     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. Vice versa a filled capacitor can be taken from an integrator
    Operational amplifier applications

    This article illustrates some typical applications of operational amplifiers. A simplified schematic notation is used, and the reader is reminded that many details such as device selection and power supply connections are not shown....
    , time-to-amplitude converter, phase detector
    Phase detector

    A phase detector is a frequency mixer or analog multiplier circuit that generates a voltage signal which represents the difference in phase between two signal inputs....
    , sample and hold
    Sample and hold

    In electronics, a sample and hold circuit is used to interface real-world signals, by changing analog signal signals to a subsequent system such as an analog-to-digital converter....
     circuit, or peak and hold circuit and discharged. This has the advantage that a slow comparator
    Comparator

    In electronics, a comparator is a device which compares two voltages or Electric currents and switches its output to indicate which is larger....
     cannot be disturbed by fast input changes.


  • A delta-encoded ADC has an up-down counter
    Counter

    In digital logic and computing, a counter is a device which stores the number of times a particular event or Process has occurred, often in relationship to a clock signal....
     that feeds a digital to analog converter (DAC). The input signal and the DAC both go to a comparator. The comparator controls the counter. The circuit uses negative feedback
    Feedback

    Feedback describes the situation when output from an event or phenomenon in the past will influence the same event/phenomenon in the present or future....
     from the comparator to adjust the counter until the DAC's output is close enough to the input signal. The number is read from the counter. Delta converters have very wide ranges, and high resolution, but the conversion time is dependent on the input signal level, though it will always have a guaranteed worst-case. Delta converters are often very good choices to read real-world signals. Most signals from physical systems do not change abruptly. Some converters combine the delta and successive approximation approaches; this works especially well when high frequencies are known to be small in magnitude.


  • 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
    Noise shaping

    Noise shaping is a technique typically used in digital audio, image, and video processing, usually in combination with dithering, as part of the process of quantization or bit-depth reduction of a digital signal....
     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
    Delta-sigma modulation

    The Delta-Sigma modulation is a method for encoding high resolution signals into lower resolution signals using pulse-density modulation. This technique has found increasing use in a range of modern electronic components, such as analog-to-digital converter and digital-to-analog converters, frequency synthesizers, Switched-mode power supply...
    )


There can be other ADCs that use a combination of electronics and other technologies
Technology

Technology is a broad concept that deals with an animal species' usage and knowledge of tools and crafts, and how it affects an animal species' ability to control and adapt to its Natural environment....
:

  • A Time-stretch analog-to-digital converter (TS-ADC)
    Time stretch analog-to-digital converter

    Time-stretch analog-to-digital converter is an analog-to-digital converter system that has the capability of digitizing very high Bandwidth Signal that cannot be captured by conventional Electronics ADCs....
     digitizes a very wide bandwidth analog signal, that cannot be digitized by a conventional electronic ADC, by time-stretching the signal prior to digitization. It commonly uses a photonic
    Photonics

    Photonics is the science of generating, controlling, and detecting photons. This is particularly done in the visible spectrum and near-infrared spectrums of the electromagnetic spectrum but may also extend to the ultraviolet , long-wave infrared , and far-infrared/THz portions of the spectrum....
     preprocessor
    Preprocessor

    In computer science, a preprocessor is a Computer program that processes its input data to produce output that is used as input to another program....
     frontend
    Front-end and back-end

    Front-end and back-end are generalized terms that refer to the initial and the end stages of a process. The front-end is responsible for collecting input in various forms from the user and processing it to conform to a specification the back-end can use....
     to time-stretch the signal, which effectively slows the signal down in time and compresses its bandwidth. As a result, an electronic backend
    Front-end and back-end

    Front-end and back-end are generalized terms that refer to the initial and the end stages of a process. The front-end is responsible for collecting input in various forms from the user and processing it to conform to a specification the back-end can use....
     ADC, that would have been too slow to capture the original signal, can now capture this slowed down signal. For continuous capture of the signal, the frontend also divides the signal into multiple segments in addition to time-stretching. Each segment is individually digitized by a separate electronic ADC. Finally, a digital signal processor
    Digital signal processor

    A digital signal processor is a specialized microprocessor designed specifically for digital signal processing, generally in real-time computing....
     rearranges the samples and removes any distortions added by the frontend to yield the binary data that is the digital representation of the original analog signal.

Commercial analog-to-digital converters

These are usually integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
s.

Most converters sample with 6 to 24 bit
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
s of resolution, and produce fewer than 1 megasample per second. Thermal noise generated by passive components such as resistors masks the measurement when higher resolution is desired. For audio applications and in room temperatures, such noise is usually a little less than 1 ΅V (microvolt) of white noise
White noise

White noise is a random signal with a flat power spectral density. In other words, the signal contains equal power within a fixed bandwidth at any center frequency....
. If the Most Significant Bit corresponds to a standard 2 volts of output signal, this translates to a noise-limited performance that is less than 20~21 bits, and obviates the need for any dither
Dither

Dither is an intentionally applied form of noise, used to randomize quantization error, thereby preventing large-scale patterns such as contouring that are more objectionable than uncorrelated noise....
ing. Mega- and gigasample per second converters are available, though (Feb 2002). Megasample converters are required in digital video camera
Video camera

File:Sonyhdrfx1.jpgA video camera is a camera used for electronic motion picture acquisition, initially developed by the television industry but now common in other applications as well....
s, video capture cards, and TV tuner card
TV tuner card

A TV tuner card is a computer electronic component that allows television signals to be received by a computer. Most TV tuners also function as video processing expansion card, allowing them to record television programs onto a hard disk....
s to convert full-speed analog video to digital video files. Commercial converters usually have ±0.5 to ±1.5 LSB
Least significant bit

In computing, the least significant bit is the bit position in a Binary numeral system integer giving the units value, that is, determining whether the number is even or odd....
 error in their output.

In many cases the most expensive part of an integrated circuit is the pins, because they make the package larger, and each pin has to be connected to the integrated circuit's silicon. To save pins, it's common for slow ADCs to send their data one bit at a time over a serial interface to the computer, with the next bit coming out when a clock signal changes state, say from zero to 5V. This saves quite a few pins on the ADC package, and in many cases, does not make the overall design any more complex. (Even microprocessor
Microprocessor

A microprocessor incorporates most or all of the functions of a central processing unit on a single integrated circuit . The first microprocessors emerged in the early 1970s and were used for electronic calculators, using Binary-coded decimal arithmetic on 4-bit Word ....
s which use memory-mapped IO only need a few bits of a port to implement a serial bus to an ADC.)

Commercial ADCs often have several inputs that feed the same converter, usually through an analog multiplexer
Multiplexer

In electronics, a multiplexer or mux is a device that performs multiplexing; it selects one of many analog or digital input signals and outputs that into a single line....
. Different models of ADC may include sample and hold
Sample and hold

In electronics, a sample and hold circuit is used to interface real-world signals, by changing analog signal signals to a subsequent system such as an analog-to-digital converter....
 circuits, instrumentation amplifier
Amplifier

Generally, an amplifier or simply amp, is any machine that changes, usually increases, the amplitude of a Signal . The "signal" is usually voltage or current....
s or differential inputs, where the quantity measured is the difference between two voltages.

Applications


Application to music recording


ADCs are integral to current music reproduction technology. Since much music production is done on computers, when an analog recording is used, an ADC is needed to create the PCM data stream that goes onto a compact disc
Compact Disc

A Compact Disc is an optical disc used to store Data , originally developed for storing digital audio. The CD, available on the market since October 1982, remains the standard physical medium for sale of commercial Sound recording and reproduction to the present day....
.

The current crop of AD converters utilized in music can sample at rates up to 192 kilohertz. Many people in the business consider this an overkill and pure marketing hype, due to the Nyquist-Shannon sampling theorem. Simply put, they say the analog waveform does not have enough information in it to necessitate such high sampling rates, and typical recording techniques for high-fidelity audio are usually sampled at either 44.1 kHz (the standard for CD) or 48 kHz (commonly used for radio/TV broadcast applications). However, this kind of bandwidth headroom allows the use of cheaper or faster anti-aliasing
Anti-aliasing

In digital signal processing, anti-aliasing is the technique of minimizing the distortion artifacts known as aliasing when representing a high-resolution signal at a lower resolution....
 filters of less severe filtering slopes. The proponents of oversampling assert that such shallower anti-aliasing filters produce less deleterious effects on sound quality, exactly because of their gentler slopes. Others prefer entirely filterless AD conversion, arguing that aliasing is less detrimental to sound perception than pre-conversion brickwall filtering. Considerable literature exists on these matters, but commercial considerations often play a significant role. Most high-profile recording studios record in 24-bit/192-176.4 kHz PCM or in DSD
Direct Stream Digital

Direct-Stream Digital is the trademark name used by Sony and Philips for their system of recreating audible signals which uses pulse-density modulation encoder, a technology to store sound Signal processings on digital storage media which is used for the Super Audio CD ....
 formats, and then downsample or decimate the signal for Red-Book CD production.

Other applications

AD converters are used virtually everywhere where an analog signal has to be processed, stored, or transported in digital form. Fast video ADCs are used, for example, in TV tuner card
TV tuner card

A TV tuner card is a computer electronic component that allows television signals to be received by a computer. Most TV tuners also function as video processing expansion card, allowing them to record television programs onto a hard disk....
s. Slow on-chip 8, 10, 12, or 16 bit ADCs are common in microcontroller
Microcontroller

A microcontroller is a small computer on a single integrated circuit consisting of a relatively simple CPU combined with support functions such as a crystal oscillator, timers, watchdog, serial and analog I/O etc....
s. Very fast ADCs are needed in digital oscilloscopes
Oscilloscope

An oscilloscope is a type of electronic test instrument that allows signal voltages to be viewed, usually as a two-dimensional graph of one or more electrical potential differences plotted as a function of time or of some other voltage ....
, and are crucial for new applications like software defined radio..

Electrical Symbol


See also

  • Digital signal processing
    Digital signal processing

    Digital signal processing is concerned with the representation of the signal s by a sequence of numbers or symbols and the processing of these signals....
  • Digital-to-analog converter
    Digital-to-analog converter

    In electronics, a digital-to-analog converter is a device for converting a digital code to an analog signal .An analog-to-digital converter performs the reverse operation....
  • Digital-to-digital converter
    Digital-to-digital converter

    A digital-to-digital converter is a device to convert from one type of digital data to another type of digital data. For example, a Digital-to-Digital Converter may consist of a sample rate or bit depth converter....
  • quantization (signal processing)
    Quantization (signal processing)

    In digital signal processing, quantization is the process of approximating a continuous range of values by a relatively small set of discrete symbols or integer values....
  • quantization noise
  • Modem
    Modem

    Modem is a peripheral device that modulation an analog carrier wave Signal to encode digital information, and also demodulation such a carrier signal to decode the transmitted information....
  • Differential linearity
    Differential linearity

    In measurement systems differential linearity refers to a constant relation between the change in the output and input. For transducers if a change in the input produces a uniform step change in the output the tranducer possess differential linearity....


External links

  • A simulation showing the effects of sampling frequency and ADC resolution.
  • A simple tutorial showing how to build your first ADC.
  • A very nice overview of Delta-Sigma converter theory.
  • article by National Instruments
  • AppNote by MicroChip Semi
  • RF Expo East, 1987
  • article by Walt Kester