DAC
Acronym of digital-to-analog converter.
DAC: the bridge from binary numbers to real voltages
A digital-to-analog converter is an electronic circuit that transforms discrete numerical values, typically expressed as binary words, into continuous analog voltage or current signals. A processor or memory chip outputs a code (for example, 8 bits, 12 bits, or 16 bits wide); the DAC reads that code and produces a proportional analog output. This single conversion task is fundamental: almost every signal that drives a motor, charges a battery, modulates a radio frequency carrier, or controls an audio speaker must first pass through a DAC.
The most common architecture is the weighted-resistor or R-2R network topology. Input bits control analog switches that connect precision resistors to a summing node; the resistor values are scaled so that each bit contributes its correct fraction of the full-scale output. An op-amp buffers and scales the result. A 10-bit DAC resolves the full output range into 1024 steps; a 16-bit DAC into 65536 steps. Resolution alone does not guarantee accuracy: linearity error, offset drift, and settling time all affect real performance. Successive-approximation and current-steering topologies are common in fast, high-resolution devices.
Selection and application
The choice of DAC depends on bandwidth, resolution, power consumption, and output impedance. An audio application might use a 24-bit device at 96 kHz sample rate with low noise floor around 100 dB. A motor control might use a 12-bit DAC running at 10 kHz with 10 mA output swing. Portable instruments demand low quiescent current, often in the microamp range; industrial control systems tolerate higher power but require temperature stability over 0 to 70 degrees C or wider. Output buffering (a dedicated op-amp or integrated output stage) is almost always necessary because the DAC core itself can only source or sink small currents, typically under 5 mA.
DACs fail most often from static discharge into unprotected inputs, input buffer saturation when overdriven, or loss of reference voltage stability. The reference voltage sets full-scale output; any ripple or temperature drift in the reference appears directly at the output. A 0.1% change in the 5 V reference causes a 0.1% error in the final analog signal. This is why precision DACs include on-chip reference buffers or are paired with external references of matched temperature coefficients.
Modern mixed-signal microcontrollers integrate DACs alongside analog-to-digital converters and digital logic to form compact measurement and control engines. Serial interfaces like SPI and I2C allow communication with external multiplexing or sequencing logic. The DAC remains invisible to most users, embedded deep in audio codecs, sensor interface chips, and power management integrated circuits, yet its precision and speed determine the fidelity of the entire system.