Digital-to-analog Converter
   HOME

TheInfoList



OR:

In
electronics Electronics is a scientific and engineering discipline that studies and applies the principles of physics to design, create, and operate devices that manipulate electrons and other Electric charge, electrically charged particles. It is a subfield ...
, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a
digital signal A digital signal is a signal that represents data as a sequence of discrete values; at any given time it can only take on, at most, one of a finite number of values. This contrasts with an analog signal, which represents continuous values; ...
into an analog signal. An
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a Digital signal (signal processing), digi ...
(ADC) performs the reverse function. DACs are commonly used in music players to convert digital data streams into analog
audio signal An audio signal is a representation of sound, typically using either a changing level of electrical voltage for analog signals or a series of binary numbers for Digital signal (signal processing), digital signals. Audio signals have frequencies i ...
s. They are also used in
television Television (TV) is a telecommunication medium for transmitting moving images and sound. Additionally, the term can refer to a physical television set rather than the medium of transmission. Television is a mass medium for advertising, ...
s and
mobile phone A mobile phone or cell phone is a portable telephone that allows users to make and receive calls over a radio frequency link while moving within a designated telephone service area, unlike fixed-location phones ( landline phones). This rad ...
s to convert digital video data into analog video signals. These two applications use DACs at opposite ends of the frequency/resolution trade-off. The audio DAC is a low-frequency, high-resolution type while the video DAC is a high-frequency low- to medium-resolution type. There are several DAC architectures; the suitability of a DAC for a particular application is determined by figures of merit including: resolution, maximum sampling frequency and others. Digital-to-analog conversion can degrade a signal, so a DAC should be specified that has insignificant errors in terms of the application. Due to the complexity and the need for precisely matched
components Component may refer to: In engineering, science, and technology Generic systems *System components, an entity with discrete structure, such as an assembly or software module, within a system considered at a particular level of analysis * Lumped e ...
, all but the most specialized DACs are implemented as integrated circuits (ICs). These typically take the form of metal–oxide–semiconductor (MOS) mixed-signal integrated circuit chips that integrate both analog and digital circuits. Discrete DACs (circuits constructed from multiple discrete electronic components instead of a packaged IC) would typically be extremely high-speed low-resolution power-hungry types, as used in military
radar Radar is a system that uses radio waves to determine the distance ('' ranging''), direction ( azimuth and elevation angles), and radial velocity of objects relative to the site. It is a radiodetermination method used to detect and track ...
systems. Very high-speed test equipment, especially sampling
oscilloscope An oscilloscope (formerly known as an oscillograph, informally scope or O-scope) is a type of electronic test instrument that graphically displays varying voltages of one or more signals as a function of time. Their main purpose is capturing i ...
s, may also use discrete DACs.


Overview

A DAC converts an abstract finite-precision number (usually a fixed-point
binary number A binary number is a number expressed in the Radix, base-2 numeral system or binary numeral system, a method for representing numbers that uses only two symbols for the natural numbers: typically "0" (zero) and "1" (one). A ''binary number'' may ...
) into a physical quantity (e.g., a
voltage Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
or a
pressure Pressure (symbol: ''p'' or ''P'') is the force applied perpendicular to the surface of an object per unit area over which that force is distributed. Gauge pressure (also spelled ''gage'' pressure)The preferred spelling varies by country and eve ...
). In particular, DACs are often used to convert finite-precision
time series In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. ...
data to a continually varying physical
signal A signal is both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology. In ...
. Provided that a signal's bandwidth meets the requirements of the Nyquist–Shannon sampling theorem (i.e., a baseband signal with bandwidth less than the Nyquist frequency) and was sampled with infinite resolution, the original signal can theoretically be reconstructed from the sampled data. However, an ADC's filtering can't ''entirely'' eliminate all frequencies above the Nyquist frequency, which will alias into the baseband frequency range. And the ADC's digital sampling process introduces some quantization error (rounding error), which manifests as low-level noise. These errors can be kept within the requirements of the targeted application (e.g. under the limited dynamic range of human hearing for audio applications).


Applications

DACs and ADCs are part of an enabling technology that has contributed greatly to the
digital revolution The Information Age is a History by period, historical period that began in the mid-20th century. It is characterized by a rapid shift from traditional industries, as established during the Industrial Revolution, to an economy centered on info ...
. To illustrate, consider a typical long-distance telephone call. The caller's voice is converted into an analog electrical signal by a
microphone A microphone, colloquially called a mic (), or mike, is a transducer that converts sound into an electrical signal. Microphones are used in many applications such as telephones, hearing aids, public address systems for concert halls and publi ...
, then the analog signal is converted to a digital stream by an ADC. The digital stream is then divided into
network packet In telecommunications and computer networking, a network packet is a formatted unit of Data (computing), data carried by a packet-switched network. A packet consists of control information and user data; the latter is also known as the ''Payload ...
s where it may be sent along with other
digital data Digital data, in information theory and information systems, is information represented as a string of Discrete mathematics, discrete symbols, each of which can take on one of only a finite number of values from some alphabet (formal languages ...
, not necessarily audio. The packets are then received at the destination, but each packet may take a completely different route and may not even arrive at the destination in the correct time order. The digital voice data is then extracted from the packets and assembled into a digital data stream. A DAC converts this back into an analog electrical signal, which drives an
audio amplifier An audio power amplifier (or power amp) electronic amplifier, amplifies low-power electronic audio signals, such as the signal from a radio receiver or an electric guitar pickup (music technology), pickup, to a level that is high enough for dr ...
, which in turn drives a speaker, which finally produces sound.


Audio

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 player A CD player is an electronic device that plays audio compact discs, which are a digital audio, digital optical disc data storage format. CD players were first sold to consumers in 1982. CDs typically contain recordings of audio material such a ...
s, digital music players, and PC sound cards. Specialist standalone DACs can also be found in high-end
hi-fi High fidelity (hi-fi or, rarely, HiFi) is the high-quality reproduction of sound. It is popular with audiophiles and home audio enthusiasts. Ideally, high-fidelity equipment has inaudible noise and distortion, and a flat (neutral, uncolored) ...
systems. These normally take the digital output of a compatible CD player or dedicated
transport Transport (in British English) or transportation (in American English) is the intentional Motion, movement of humans, animals, and cargo, goods from one location to another. Mode of transport, Modes of transport include aviation, air, land tr ...
(which is basically a CD player with no internal DAC) and convert the signal into an analog line-level output that can then be fed into an
amplifier An amplifier, electronic amplifier or (informally) amp is an electronic device that can increase the magnitude of a signal (a time-varying voltage or current). It is a two-port electronic circuit that uses electric power from a power su ...
to drive speakers. Similar digital-to-analog converters can be found in digital speakers such as USB speakers and in sound cards. In
voice over IP Voice over Internet Protocol (VoIP), also known as IP telephony, is a set of technologies used primarily for voice communication sessions over Internet Protocol (IP) networks, such as the Internet. VoIP enables voice calls to be transmitted as ...
applications, the source must first be digitized for transmission, so it undergoes conversion via an ADC and is then reconstructed into analog using a DAC on the receiving party's end.


Video

Video sampling tends to work on a completely different scale altogether thanks to the highly nonlinear response both of cathode ray tubes (for which the vast majority of digital video foundation work was targeted) and the human eye, using a "gamma curve" to provide an appearance of evenly distributed brightness steps across the display's full dynamic range - hence the need to use RAMDACs in computer video applications with deep enough color resolution to make engineering a hardcoded value into the DAC for each output level of each channel impractical (e.g. an Atari ST or Sega Genesis would require 24 such values; a 24-bit video card would need 768...). Given this inherent distortion, it is not unusual for a television or video projector to truthfully claim a linear contrast ratio (difference between darkest and brightest output levels) of 1000:1 or greater, equivalent to 10 bits of audio precision even though it may only accept signals with 8-bit precision and use an LCD panel that only represents 6 or 7 bits per channel. 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 were more commonly used than digital, but this changed as flat-panel displays with DVI and/or
HDMI High-Definition Multimedia Interface (HDMI) is a proprietary digital interface used to transmit high-quality video and audio signals between devices. It is commonly used to connect devices such as televisions, computer monitors, projectors, gam ...
connections became more widespread. A video DAC is, however, incorporated in any digital video player with analog outputs. The DAC is usually integrated with some
memory Memory is the faculty of the mind by which data or information is encoded, stored, and retrieved when needed. It is the retention of information over time for the purpose of influencing future action. If past events could not be remembe ...
( RAM), which contains conversion tables for
gamma correction Gamma correction or gamma is a Nonlinearity, nonlinear operation used to encode and decode Relative luminance, luminance or CIE 1931 color space#Tristimulus values, tristimulus values in video or still image systems. Gamma correction is, in the s ...
, contrast and brightness, to make a device called a RAMDAC.


Digital potentiometer

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


Mechanical

A one-bit mechanical actuator assumes two positions: one when on, another when off. The motion of several one-bit actuators can be combined and weighted with a whiffletree mechanism to produce finer steps. The
IBM Selectric The IBM Selectric (a portmanteau of "selective" and "electric") was a highly successful line of electric typewriters introduced by IBM on 31 July 1961. Instead of the "basket" of individual typebars that swung up to strike the ribbon and page ...
typewriter uses such a system.


Communications

DACs are widely used in modern communication systems enabling the generation of digitally-defined transmission signals. High-speed DACs are used for mobile communications and ultra-high-speed DACs are employed in optical communications systems.


Types

The most common types of electronic DACs are: * The pulse-width modulator where a stable current or
voltage Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
is switched into a low-pass
analog filter Analogue Filter (signal processing), filters are a basic building block of signal processing much used in electronics. Amongst their many applications are the separation of an audio signal before application to bass (music), bass, mid-range sp ...
with a duration determined by the digital input code. This technique is often used for electric motor speed control and dimming LED lamps. * Oversampling DACs or interpolating DACs such as those employing delta-sigma modulation, use a pulse density conversion technique with oversampling. Audio delta-sigma DACs are sold with 384 kHz sampling rate and quoted 24-bit resolution, though quality is lower due to inherent noise (see ). Some consumer electronics use a type of oversampling DAC referred to as a 1-bit DAC. * The binary-weighted DAC, which contains individual electrical components for each bit of the DAC connected to a summing point, typically an
operational amplifier An operational amplifier (often op amp or opamp) is a direct coupling, DC-coupled Electronic component, electronic voltage amplifier with a differential input, a (usually) Single-ended signaling, single-ended output, and an extremely high gain ( ...
. Each input in the summing has powers-of-two weighting with the most current or voltage at the most-significant bit. 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. ** Switched resistor DAC contains 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 In electrical engineering, a capacitor is a device that stores electrical energy by accumulating electric charges on two closely spaced surfaces that are insulated from each other. The capacitor was originally known as the condenser, a term st ...
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. * The successive approximation or cyclic DAC, which successively constructs the output during each cycle. Individual bits of the digital input are processed each cycle until the entire input is accounted for. * The thermometer-coded DAC, which contains an equal resistor or current-source segment for each possible value of DAC output. An 8-bit thermometer DAC would have 255 segments, and a 16-bit thermometer DAC would have 65,535 segments. This is a fast and highest precision DAC architecture but at the expense of requiring many components which, for practical implementations, fabrication requires high-density IC processes. * 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 in this list rely on a constant reference voltage or current to create their output value. Alternatively, a ''multiplying DAC'' takes a variable input voltage or current as a conversion reference. This puts additional design constraints on the bandwidth of the conversion circuit. * Modern high-speed DACs have an interleaved architecture, in which multiple DAC cores are used in parallel. Their output signals are combined in the analog domain to enhance the performance of the combined DAC. The combination of the signals can be performed either in the time domain or in the frequency domain.


Performance

The most important characteristics of a DAC 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 binary 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. ;Maximum sampling rate: The maximum speed at which the DACs circuitry can operate and still produce correct output. The Nyquist–Shannon sampling theorem defines a relationship between this and the bandwidth of the sampled signal. ; Monotonicity: The ability of a DAC's analog output to move only in the direction that the digital input moves (i.e., if the input increases, the output doesn't dip before asserting the correct output.) This characteristic is very important for DACs used as a low-frequency signal source or as a digitally programmable trim element. ; Total harmonic distortion and noise (THD+N): A measurement of the distortion and noise introduced to the signal by the DAC. It is expressed as a percentage of the total power of unwanted harmonic distortion and noise that accompanies the desired signal. ; Dynamic range: A measurement of the difference between the largest and smallest signals the DAC can reproduce expressed in
decibel The decibel (symbol: dB) is a relative unit of measurement equal to one tenth of a bel (B). It expresses the ratio of two values of a Power, root-power, and field quantities, power or root-power quantity on a logarithmic scale. Two signals whos ...
s. This is usually related to resolution and
noise floor In signal theory, the noise floor is the measure of the signal created from the sum of all the noise sources and unwanted signals within a measurement system, where noise is defined as any signal other than the one being monitored. In radio com ...
. Other measurements, such as phase distortion and
jitter In electronics and telecommunications, jitter is the deviation from true periodicity of a presumably periodic signal, often in relation to a reference clock signal. In clock recovery applications it is called timing jitter. Jitter is a signifi ...
, can also be very important for some applications, some of which (e.g. wireless data transmission, composite video) may even ''rely'' on accurate production of phase-adjusted signals. Non-linear PCM encodings (A-law / μ-law, ADPCM, NICAM) attempt to improve their effective dynamic ranges by using logarithmic step sizes between the output signal strengths represented by each data bit. This trades greater quantization distortion of loud signals for better performance of quiet signals.


Figures of merit

* Static performance: ** Differential nonlinearity (DNL) shows how much two adjacent code analog values deviate from the ideal 1 LSB step. ** Integral nonlinearity (INL) shows how much the DAC transfer characteristic deviates from an ideal one. That is, the ideal characteristic is usually a straight line; INL shows how much the actual voltage at a given code value differs from that line, in LSBs (1 LSB steps). ** Gain error ** Offset error ** Noise is ultimately limited by the
thermal noise A thermal column (or thermal) is a rising mass of buoyant air, a convective current in the atmosphere, that transfers heat energy vertically. Thermals are created by the uneven heating of Earth's surface from solar radiation, and are an example ...
generated by passive components such as resistors. For audio applications and in room temperatures, such noise is usually a little less than 1 μV (microvolt) of white noise. This practically limits resolution to less than 20~21 bits, even in 24-bit DACs. * Frequency domain performance ** Spurious-free dynamic range (SFDR) indicates in dB the ratio between the powers of the converted main signal and the greatest undesired spur. ** Signal-to-noise and distortion ( SINAD) indicates in dB the ratio between the powers of the converted main signal and the sum of the noise and the generated harmonic spurs ** i-th harmonic distortion (HDi) indicates the power of the i-th harmonic of the converted main signal ** Total harmonic distortion (THD) is the sum of the powers of all the harmonics of the input signal ** If the maximum DNL is less than 1 LSB, then the converter is guaranteed to be monotonic. However, many monotonic converters may have a maximum DNL greater than 1 LSB. * Time domain performance: ** Glitch impulse area (glitch energy)


See also

*


References


Further reading

* * S. Norsworthy, Richard Schreier, Gabor C. Temes, ''Delta-Sigma Data Converters''. . * Mingliang Liu, ''Demystifying Switched-Capacitor Circuits''. . * Behzad Razavi, ''Principles of Data Conversion System Design''. . * Phillip E. Allen, Douglas R. Holberg, ''CMOS Analog Circuit Design''. . * Robert F. Coughlin, Frederick F. Driscoll, ''Operational Amplifiers and Linear Integrated Circuits''. . * A Anand Kumar, ''Fundamentals of Digital Circuits''. , . * Ndjountche Tertulien, "CMOS Analog Integrated Circuits: High-Speed and Power-Efficient Design". .


External links

*
High-Resolution Multiplying DACs Handle AC Signals
with circuit diagrams.
Dynamic Evaluation of High-Speed, High Resolution D/A Converters
Outlines HD, IMD and NPR measurements, also includes a derivation of quantization noise {{DEFAULTSORT:Digital-To-Analog Converter Digital signal processing Electronic circuits Analog computers