Digital to analog converter 

8-channel digital-to-analog converter Cirrus Logic CS4382 placed on Sound Blaster X-Fi Fatal1ty

In electronics, a digital-to-analog converter (DAC or D-to-A) is a device for converting a digital (usually binary) code to an analog signal (current, voltage or electric charge).

An analog-to-digital converter (ADC) performs the reverse operation.

Contents

Basic ideal operation

Ideally sampled signal. Signal of a typical interpolating DAC output

The DAC fundamentally converts finite-precision numbers (usually fixed-point binary numbers) into a continuously varying physical quantity, usually an analogue electrical voltage.

In an ideal DAC, the numbers are output as a sequence of impulses, that are then filtered by a reconstruction filter. This would, in principle, reproduce a sampled signal precisely up to the Nyquist frequency, although a perfect reconstruction filter cannot be practically constructed as it has infinite phase delay; and there are errors due to quantisation.

Practical operation

Instead of impulses, usually the sequence of numbers update the analogue voltage at uniform sampling intervals.

These numbers are written to the DAC, typically with a clock signal that causes each number to be latched in sequence, at which time the DAC output voltage changes rapidly from the previous value to the value represented by the currently latched number. The effect of this is that the output voltage is held in time at the current value until the next input number is latched resulting in a piecewise constant or 'staircase' shaped output. This is equivalent to a zero-order hold operation and has an effect on the frequency response of the reconstructed signal.

Piecewise constant signal typical of a zero-order (non-interpolating) DAC output.

The fact that practical DACs output a sequence of piecewise constant values or rectangular pulses would cause multiple harmonics above the nyquist frequency. These are typically removed with a low pass filter acting as a reconstruction filter.

However, this filter means that there is an inherent effect of the zero-order hold on the effective frequency response of the DAC resulting in a mild roll-off of gain at the higher frequencies (often a 3.9224 dB loss at the Nyquist frequency) and depending on the filter, phase distortion. This high-frequency roll-off is the output characteristic of the DAC, and is not an inherent property of the sampled data.

Applications

Audio

Top-loading CD player and external digital-to-analog converter.

Most modern audio signals are stored in digital form (for example MP3s and CDs) and in order to be heard through speakers they must be converted into an analog signal. DACs are therefore found in CD players, digital music players, and PC sound cards.

Specialist stand-alone DACs can also be found in high-end hi-fi systems. These normally take the digital output of a CD player (or dedicated transport) and convert the signal into a line-level output that can then be fed into a pre-amplifier stage.

Similar digital-to-analog converters can be found in digital speakers such as USB speakers, and in sound cards.

Video

Video signals from a digital source, such as a computer, must be converted to analog form if they are to be displayed on an analog monitor. As of 2007, analog inputs are more commonly used than digital, but this may change as flat panel displays with DVI and/or HDMI connections become more widespread. A video DAC is, however, incorporated in any Digital Video Player with analog outputs. The DAC is usually integrated with some memory (RAM), which contains conversion tables for gamma correction, contrast and brightness, to make a device called a RAMDAC.

A device that is distantly related to the DAC is the digitally controlled potentiometer, used to control an analog signal digitally.

DAC types

The most common types of electronic DACs are:

DAC performance

DACs are at the beginning of the analog signal chain, which makes them very important to system performance. The most important characteristics of these devices are:

Other measurements, such as Phase distortion and Sampling Period Instability, can also be very important for some applications.

DAC figures of merit

However many monotonic converters may have a maximum DNL greater than 1 LSB.

See also

References

  1. ^ ADC and DAC Glossary - Maxim

Links and books