A comprehensive overview of Digital to Analog Converters (DACs), their types, specifications, errors, pros and cons, and applications.

Introduction

  • A Digital to Analog Converter (DAC) converts digital signals into analog voltage or current outputs.
  • In electronic circuits, binary numbers are represented by combinations of high voltage (+5V) and low voltage (0V).

Types of DACs

  • Binary Weighted Resistor DAC:
    • Uses resistors weighted according to the binary number’s significance.
    • Contains switches, a weighted resistor ladder network, a reference voltage, and a summing amplifier.
    • Advantages: Simple construction, fast conversion.
    • Disadvantages: Requires a large range of high-precision resistors, can be expensive, usually limited to 8-bit resolution.
  • R-2R Ladder DAC:
    • Uses a repetitive arrangement of resistors in a ladder-like configuration.
    • Only requires two resistor values (R and 2R), improving precision.
    • Advantages: Simple and inexpensive, does not require high precision resistors.
    • Disadvantages: Lower conversion speed compared to binary weighted DAC.

Specifications of DACs

  • Resolution: Smallest analog increment corresponding to a 1 LSB change. An N-bit resolution can resolve ( 2^N ) distinct analog levels.
  • Speed: Rate of conversion of a digital input to its analog equivalent, dependent on clock speed and settling time.
  • Linearity: Difference between the desired and actual analog output over the full range of values.
  • Settling Time: Time required for the output signal to settle within ±½ LSB of its final value after a change in input.
  • Reference Voltages: Determines how each digital input is assigned to voltage divisions. Can be fixed (non-multiplier DAC) or provided by an external source (multiplier DAC).

Types of Errors in DACs

  • Gain Error: Deviation from the ideal slope of the DAC transfer function.
  • Offset Error: Deviation from the ideal zero output.
  • Full Scale Error: Deviation at the maximum output level.
  • Resolution Error: Inaccuracy in the smallest step size.
  • Non-Linearity Error: Deviation from a straight-line transfer function.
  • Non-Monotonic Error: Output decreases when it should increase.
  • Settling Time and Overshoot: Time and overshoot required for the output to stabilize.

Pros and Cons

  • Binary Weighted DAC:
    • Pros: Easily understood, faster response time.
    • Cons: Limited to 8 bits, susceptible to noise, expensive, greater error.
  • R-2R Ladder DAC:
    • Pros: Only two resistor values, easier implementation, easier to manufacture.
    • Cons: More confusing analysis, lower conversion speed.

Applications

  • Digital motor control
  • Computer printers
  • Sound equipment (e.g., CD/MP3 players)
  • Electronic cruise control
  • Digital thermostats

Example Problem

  • Calculate the output voltage range of a 4-bit DAC with an output voltage of +4.5V for an input of 0000 and +7.5V for an input of 1111.
  • Solution: Output voltage range = 7.5V – 4.5V = 3.0V

Digital to Analog Converter – Lesson 13

Engineering Institute of Technology