请输入您要查询的百科知识:

 

词条 Digital-to-analog converter
释义

  1. Overview

  2. Applications

     Audio  Video  Mechanical 

  3. Types

  4. Performance

  5. Figures of merit

  6. See also

  7. References

  8. Further reading

  9. External links

{{For|digital television converter boxes|digital television adapter}}{{Redirect|D2A|the D2A dive bomber|Aichi D1A}}{{refimprove|date=August 2016}}

In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function.

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.

DACs are commonly used in music players to convert digital data streams into analog audio signals. They are also used in televisions and mobile phones to convert digital video data into analog video signals which connect to the screen drivers to display monochrome or color images. 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.

Due to the complexity and the need for precisely matched components, all but the most specialized DACs are implemented as integrated circuits (ICs). Discrete DACs would typically be extremely high speed low resolution power hungry types, as used in military radar systems. Very high speed test equipment, especially sampling oscilloscopes, may also use discrete DACs.

Overview

A DAC converts an abstract finite-precision number (usually a fixed-point binary number) into a physical quantity (e.g., a voltage or a pressure). In particular, DACs are often used to convert finite-precision time series data to a continually varying physical signal.

An ideal DAC converts the abstract numbers into a conceptual sequence of impulses that are then processed by a reconstruction filter using some form of interpolation to fill in data between the impulses. A conventional practical DAC converts the numbers into a piecewise constant function made up of a sequence of rectangular functions that is modeled with the zero-order hold. Other DAC methods (such as those based on delta-sigma modulation) produce a pulse-density modulated output that can be similarly filtered to produce a smoothly varying signal.

As per the Nyquist–Shannon sampling theorem, a DAC can reconstruct the original signal from the sampled data provided that its bandwidth meets certain requirements (e.g., a baseband signal with bandwidth less than the Nyquist frequency). Digital sampling introduces quantization error that manifests as low-level noise in the reconstructed signal.

Applications

DACs and ADCs are part of an enabling technology that has contributed greatly to the digital revolution. To illustrate, consider a typical long-distance telephone call. The caller's voice is converted into an analog electrical signal by a microphone, then the analog signal is converted to a digital stream by an ADC. The digital stream is then divided into network packets where it may be sent along with other digital data, 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, which in turn drives a loudspeaker, 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 players, digital music players, and PC sound cards.

Specialist standalone DACs can also be found in high-end hi-fi systems. These normally take the digital output of a compatible CD player or dedicated transport (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 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 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 colour 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 connections became more widespread.{{Citation needed|date=October 2011}} 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.

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 typewriter uses such a system.[1]

Types

The most common types of electronic DACs are:[2]

  • The pulse-width modulator where a stable current or voltage is switched into a low-pass analog filter 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. Speeds of greater than 100 thousand samples per second (for example, 192 kHz) and resolutions of 24 bits are attainable with delta-sigma DACs.
  • The binary-weighted DAC, which contains individual electrical components for each bit of the DAC connected to a summing point, typically an operational amplifier. Each input in the summing has powers-of-two values with most current or voltage at the most-significant bit. 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.[3] This type of converter is usually limited to 8-bit resolution or less.{{Citation needed|date=February 2012}}
    • 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 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).
  • The successive approximation or cyclic DAC,{{sfn|"Data Converter Architectures"|p=3.29}} 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 perhaps the fastest and highest precision DAC architecture but at the expense of high cost. Conversion speeds of >1 billion samples per second have been reached with this type of DAC.{{citation needed|date=December 2018}}
  • 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 to create their output value. Alternatively, a multiplying DAC[4] takes a variable input voltage for their conversion. This puts additional design constraints on the bandwidth of the conversion circuit.

Performance

DACs are very important to system performance. The most important characteristics of these devices are:{{cn|date=August 2016}}

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.
Maximum
//sampling rate">sampling rate: A measurement of the maximum speed at which the DACs circuitry can operate and still produce the correct output. As stated above, the Nyquist–Shannon sampling theorem defines a relationship between this and the bandwidth of the sampled signal.
//monotonic function">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">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 accompany the desired signal. This is a very important DAC characteristic for dynamic and small signal DAC applications.
//Dynamic range">Dynamic range: A measurement of the difference between the largest and smallest signals the DAC can reproduce expressed in decibels. This is usually related to resolution and noise floor.

Other measurements, such as phase distortion and jitter, 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.

Linear PCM audio sampling usually works on the basis of each bit of resolution being equivalent to 6 decibels of amplitude (a 2x increase in volume or precision).

Non-linear PCM encodings (A-law / μ-law, ADPCM, NICAM) attempt to improve their effective dynamic ranges by a variety of methods - logarithmic step sizes between the output signal strengths represented by each data bit (trading greater quantisation 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.[5]
    • 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
    • Offset
    • Noise is ultimately limited by the thermal noise 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 limits performance 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 ratio (SNDR) 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 HDi
    • If the maximum DNL error is less than 1 LSB, then the {{nowrap|D/A}} 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)
    • Response uncertainty
    • Time nonlinearity (TNL)

See also

  • Integral linearity
  • I²S
  • Modem
  • RAMDAC

References

1. ^{{cite web |author=Brian Brumfield |url=https://www.youtube.com/watch?v=uTjxwVfx8GA |title=Selectric Repair 10-3A Input: Keyboard |date=Sep 2, 2014 |via=YouTube |df=ymd-all}}
2. ^{{cite web |url=http://www.analog.com/media/en/training-seminars/design-handbooks/Data-Conversion-Handbook/Chapter3.pdf |title=Data Converter Architectures |work=Analog-Digital Conversion |publisher=Analog Devices |accessdate=2017-08-30 |df=ymd-all |ref={{sfnref|"Data Converter Architectures"}}|deadurl=no |archiveurl=https://web.archive.org/web/20170830032212/http://www.analog.com/media/en/training-seminars/design-handbooks/Data-Conversion-Handbook/Chapter3.pdf |archivedate=2017-08-30}}
3. ^{{Cite web |url=https://www.electronics-tutorial.net/analog-integrated-circuits/data-converters/binary-weighted-resistor-dac/index.html |title=Binary Weighted Resistor DAC |website=Electronics Tutorial |language=en-US |access-date=2018-09-25 |df=ymd-all}}
4. ^{{cite web |url=http://www.analog.com/static/imported-files/overviews/AnalogMultiplyingDACs.pdf |title=Multiplying DACs: Flexible Building Blocks |format=PDF |year=2010 |publisher=Analog Devices |accessdate=29 March 2012 |df=ymd-all}}
5. ^{{cite web |url=http://www.maxim-ic.com/appnotes.cfm/appnote_number/641/ |title=ADC and DAC Glossary |publisher=Maxim |df=ymd-all |dead-url=no |archive-url=https://web.archive.org/web/20070308223113/http://www.maxim-ic.com/appnotes.cfm/appnote_number/641 |archive-date=2007-03-08}}

Further reading

{{Refbegin}}
  • {{Citation

| title = The Data Conversion Handbook
| last = Kester
| first = Walt
| isbn = 0-7506-7841-0
| url = http://www.analog.com/library/analogDialogue/archives/39-06/data_conversion_handbook.html
}}
  • S. Norsworthy, Richard Schreier, Gabor C. Temes, Delta-Sigma Data Converters. {{ISBN|0-7803-1045-4}}.
  • Mingliang Liu, Demystifying Switched-Capacitor Circuits. {{ISBN|0-7506-7907-7}}.
  • Behzad Razavi, Principles of Data Conversion System Design. {{ISBN|0-7803-1093-4}}.
  • Phillip E. Allen, Douglas R. Holberg, CMOS Analog Circuit Design. {{ISBN|0-19-511644-5}}.
  • Robert F. Coughlin, Frederick F. Driscoll, Operational Amplifiers and Linear Integrated Circuits. {{ISBN|0-13-014991-8}}.
  • A Anand Kumar, Fundamentals of Digital Circuits. {{ISBN|81-203-1745-9}}, {{ISBN|978-81-203-1745-1}}.
  • Ndjountche Tertulien, "CMOS Analog Integrated Circuits: High-Speed and Power-Efficient Design". {{ISBN|978-1-4398-5491-4}}.
{{Refend}}

External links

  • ADC and DAC Glossary
{{Authority control}}{{DEFAULTSORT:Digital-To-Analog Converter}}

2 : Digital signal processing|Electronic circuits

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 23:18:44