A DAC converts a digital value to a proportional analog output voltage.
Here:
- : output voltage
- : digital input value
- : resolution in bits
- : reference voltage
Applications: motor speed control, audio signals, variable voltage references.
Types
Binary-Weighted Resistor DAC
Each bit drives a resistor of value . Currents from all bits sum at a virtual ground. Output voltage is proportional to total current.
- Simple circuit
- Requires resistors spanning a wide range ( to for 8 bits)
- Precision difficult at high resolutions
R-2R Ladder DAC
Uses only 2 resistor values ( and ) in a ladder network. Each rung adds the contribution of 1 bit. Both ends terminated with so every node sees the same impedance.
- Only 2 resistor values regardless of bit depth
- Scales to high resolutions with good fabrication accuracy
- Most common DAC in MCUs and audio hardware
PWM DAC
A PWM signal passed through a low-pass RC filter. The filter averages the square wave. Output DC voltage equals .
- No dedicated DAC hardware required
- Ripple depends on filter cutoff vs PWM frequency
- Suitable for motor control and LED dimming. Not suitable for audio or precision output.