👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Analog and Digital Circuits
Study mode

D-A and A-D converters types

Introduction

In modern electronics and communication systems, a fundamental challenge is to bridge the analog and digital worlds. Analog signals, such as sound, light intensity, or temperature, vary continuously over time. Digital systems, like computers and microcontrollers, process data in discrete binary form (0s and 1s). To interface these systems effectively, two types of converters are essential:

  • Digital-to-Analog Converters (DACs): Convert digital binary values into corresponding continuous analog voltages or currents.
  • Analog-to-Digital Converters (ADCs): Convert continuous analog signals into discrete digital binary numbers.

These converters are crucial in devices like mobile phones, audio players, medical instruments, and industrial automation, where signals must be digitized for processing or converted back to analog for real-world interfacing.

For example, in audio playback, DACs convert stored digital music files to analog signals that drive speakers. Conversely, microphones produce analog signals which ADCs convert to digital data for recording or transmission.

Understanding different types of DACs and ADCs, their operational principles, and performance metrics is vital for designing efficient electronic systems and excelling in competitive exams for electronics and communication engineering.

Digital-to-Analog Converter (DAC) Types

A DAC takes a binary number as input and produces a corresponding analog voltage or current output. The key is how this binary-weighted input is converted into an analog signal. Two popular DAC architectures are the Weighted Resistor DAC and the R-2R Ladder DAC.

Weighted Resistor DAC

This DAC uses resistors weighted according to the binary digit's place value. Each bit of the digital input controls a switch that connects the resistor network either to a reference voltage or ground. The resistors are sized so that the most significant bit (MSB) carries the highest weight, typically twice the weight of the next bit, and so on.

The output voltage is a sum of the weighted currents from each bit passed through an operational amplifier or resistor network. This setup produces an output voltage proportional to the digital input value.

Formula for output voltage, given n bits:

DAC Output Voltage (Weighted Resistor)

\[V_{out} = V_{ref} \times \sum_{i=0}^{n-1} b_i \times 2^{-i-1}\]

Output voltage as a weighted sum of bits

\(V_{ref}\) = Reference voltage
\(b_i\) = Binary digit (0 or 1) at bit i
n = Number of bits

R-2R Ladder DAC

The R-2R ladder DAC simplifies the design by using only two resistor values: R and 2R. The resistors form a ladder-like network where digital bits control switches that connect nodes to the reference voltage or ground.

This structure offers precise matching and easier manufacturing compared to weighted resistor DACs, especially for higher bit counts. Its binary nature ensures that each bit contributes appropriately to the output voltage, making it highly popular in modern DAC designs.

Digital Input Bits (MSB to LSB): b3 b2 b1 b0 2R 2R 2R 2R R R R R Vout Vref

How it works: Each bit controls a switch that either connects its corresponding node to V_{ref} (if bit = 1) or ground (if bit = 0). The unequal values of the resistor network cause the summed current or voltage to represent the binary-weighted analog value.

Binary-Weighted Resistor DAC

Another type is the binary-weighted resistor DAC. Here, resistors are directly weighted by powers of two (e.g., R, 2R, 4R, 8R). While simple in concept, it becomes impractical for large bit numbers due to the wide resistor value range needed, making it sensitive to resistor tolerances and costly to fabricate.

Applications of DACs

  • Audio signal generation in music systems
  • Video signal processing
  • Digital control of analog devices such as voltage regulators
  • Function generators and waveform synthesis

Analog-to-Digital Converter (ADC) Types

ADCs transform continuous analog signals into quantized digital outputs suitable for digital processing. Selection of ADC type depends on speed, accuracy, complexity, and cost.

1. Flash ADC (Parallel Comparator ADC)

This is the fastest ADC type, suitable for very high-speed applications such as digital oscilloscopes and radar systems.

The flash ADC uses \( 2^n - 1 \) comparators for an n-bit converter, each comparing the input voltage to a fixed reference voltage level. The comparator outputs form a thermometer code that is then encoded into a binary number.

Analog Input Comp 1 Comp 2 Comp 3 Thermometer to
Binary Encoder Digital Output (n-bits)

Advantages: Ultra-fast conversion (one step).

Disadvantages: High complexity and power consumption due to many comparators - exponentially grows with bit number.

2. Successive Approximation Register (SAR) ADC

This ADC achieves moderate speed and accuracy with balanced complexity, commonly used in applications like digital voltmeters and data acquisition systems.

The SAR ADC converts the analog input using a binary search algorithm implemented through a Successive Approximation Register and a DAC inside the ADC. The converter compares the input voltage with the DAC output and adjusts bits one by one from MSB to LSB to zero in on the closest digital representation.

graph LR    A(Analog Input) --> B[Sample & Hold]    B --> C[Successive Approximation Register (SAR)]    C --> D[DAC]    D --> E[Comparator]    E -- Indicates if Input > DAC Output --> C    C --> F[Digital Output Bits]

Advantages: Good trade-off between speed, accuracy, and component complexity.

Disadvantages: Slightly slower than flash ADC but much simpler and cheaper for high resolution.

3. Dual Slope ADC

The Dual Slope ADC is widely used in precision measurement instruments like digital voltmeters due to its high accuracy and noise rejection.

It integrates the input signal for a fixed period, then integrates a known reference voltage in the opposite direction until the output returns to zero. The duration of this second phase is proportional to the input voltage and measured digitally.

Integrator Comparator Counter & Timer Analog Input Reference Voltage (Vref) Digital Output

Advantages: High accuracy and noise averaging.

Disadvantages: Slow conversion time; not suited for high-speed applications.

4. Sigma-Delta ADC (Overview)

Though beyond the scope of simple converters, Sigma-Delta ADCs use oversampling and noise shaping to achieve very high resolution, useful in audio and instrumentation applications.

Performance Parameters of Converters

Several key parameters characterize ADC and DAC performance:

  • Resolution (n bits): Number of discrete levels an ADC/DAC can represent. Higher bits mean finer granularity.
  • Sampling Frequency (fs): Rate at which analog signal samples are taken (ADC) or output steps occur (DAC).
  • Quantization Error: The difference between actual analog input and nearest discrete output level, introducing noise.

Resolution affects the smallest distinguishable voltage increment, called the quantization step size \( \Delta \):

Quantization Step Size

\[\Delta = \frac{V_{FS}}{2^n}\]

Smallest voltage increment resolvable

\(V_{FS}\) = Full scale voltage range
n = Number of bits

Signal-to-Quantization-Noise Ratio (SQNR), measured in decibels (dB), is estimated as:

Signal-to-Quantization-Noise Ratio

\[SQNR_{dB} = 6.02n + 1.76\]

Approximates ADC quality

n = Number of bits

According to the Sampling Theorem, the sampling frequency must be at least twice the maximum frequency component \( f_{max} \) of the analog input to avoid aliasing:

Sampling Frequency Limit

\[f_s \geq 2 f_{max}\]

Minimum sampling rate to preserve signal integrity

\(f_s\) = Sampling frequency
\(f_{max}\) = Maximum input frequency
Comparison of DAC & ADC Types
Converter Type Resolution Speed Complexity Typical Application
Weighted Resistor DAC Moderate (up to ~8 bits) Fast High (resistor precision) Signal Generation
R-2R Ladder DAC Up to 12 bits or more Fast Moderate (resistor matching easier) Audio, Instrumentation
Flash ADC Low to Moderate (4-8 bits) Very High Very High (many comparators) Oscilloscopes, Radar
SAR ADC Up to 12 bits typical Moderate Moderate Data Acquisition, VMs
Dual Slope ADC High (12-16 bits) Slow Low Digital Voltmeters

Worked Examples

Example 1: Output Voltage of a 4-bit Weighted Resistor DAC Easy
Calculate the output voltage of a 4-bit weighted resistor DAC for the digital input 1011, given a reference voltage \( V_{ref} = 5\,V \).

Step 1: Assign bit weights (MSB is b3, LSB is b0):

b3 = 1, b2 = 0, b1 = 1, b0 = 1

Step 2: Use output voltage formula:

\[ V_{out} = V_{ref} \times \left( b_3 \times 2^{-1} + b_2 \times 2^{-2} + b_1 \times 2^{-3} + b_0 \times 2^{-4} \right) \]

Step 3: Calculate the sum:

\[ = 5 \times \left(1 \times \frac{1}{2} + 0 \times \frac{1}{4} + 1 \times \frac{1}{8} + 1 \times \frac{1}{16} \right) = 5 \times \left(0.5 + 0 + 0.125 + 0.0625 \right) = 5 \times 0.6875 = 3.4375\,V \]

Answer: Output voltage \( V_{out} = 3.44\,V \) (approx)

Example 2: Quantization Error Calculation for a 12-bit ADC Easy
Find the quantization step size and the maximum quantization error for a 12-bit ADC with a full-scale voltage range of 10 V.

Step 1: Calculate quantization step size \(\Delta\):

\[ \Delta = \frac{V_{FS}}{2^n} = \frac{10}{2^{12}} = \frac{10}{4096} \approx 0.00244\,V = 2.44\,mV \]

Step 2: Maximum quantization error is half of one LSB:

\[ E_{max} = \pm \frac{\Delta}{2} = \pm 1.22\,mV \]

Answer: Quantization step size = 2.44 mV, max error = ±1.22 mV

Example 3: Designing an R-2R Ladder DAC Using 10 kΩ Resistors Medium
An 8-bit R-2R ladder DAC is built using resistors of 10 kΩ (R) and 20 kΩ (2R). If the reference voltage \( V_{ref} = 5\,V \), calculate the output voltage for a digital input of 11001010.

Step 1: Convert input bits (MSB = bit 7 to LSB = bit 0):

Bits = 1 1 0 0 1 0 1 0

Step 2: Calculate the decimal equivalent to simplify:

\[ Decimal = 1 \times 2^7 + 1 \times 2^6 + 0 + 0 + 1 \times 2^4 + 0 + 1 \times 2^2 + 0 = 128 + 64 + 0 + 0 + 16 + 0 + 4 + 0 = 212 \]

Step 3: Calculate the output voltage using formula:

\[ V_{out} = V_{ref} \times \frac{Decimal}{2^{8}} = 5 \times \frac{212}{256} = 5 \times 0.828125 = 4.1406\,V \]

Answer: Output voltage \( V_{out} \approx 4.14\, V \)

Example 4: Resolving Speed Requirement Using SAR ADC Medium
A 10-bit SAR ADC takes 1 μs for each bit decision. Calculate the total conversion time and verify if it is suitable to sample a 1 kHz analog signal.

Step 1: Total conversion time for n bits:

\[ t_{conv} = n \times t_{bit} = 10 \times 1\,\mu s = 10\,\mu s \]

Step 2: Calculate minimum sampling period for 1 kHz signal:

\[ T_s = \frac{1}{f_s} \geq \frac{1}{2 f_{max}}; \quad f_{max} = 1\,kHz \]

According to Nyquist, \( f_s \geq 2 \times 1\,kHz = 2\,kHz \), so \( T_s \leq 0.5\,ms = 500\,\mu s \).

Step 3: Compare conversion time with sampling period:

\( t_{conv} = 10\,\mu s << 500\,\mu s \), so conversion is fast enough to sample 1 kHz signal without loss.

Answer: Conversion time = 10 μs; SAR ADC is suitable for 1 kHz sampling.

Example 5: Flash ADC Comparator Array Size Calculation Hard
Determine how many comparators are required in a flash ADC for an 8-bit resolution.

Step 1: Recall the comparator count formula for flash ADC:

\[ \text{Number of comparators} = 2^n - 1 \]

Step 2: Substitute \( n=8 \):

\[ 2^8 -1 = 256 -1 = 255 \]

Answer: 255 comparators are required for 8-bit flash ADC.

Tips & Tricks

Tip: Prefer R-2R ladder DACs over weighted resistor DACs for higher bit resolutions.

When to use: To simplify resistor matching and lower design complexity for bit-widths beyond 8 bits.

Tip: Always remember the Sampling Theorem: Minimum sampling frequency = 2 x max signal frequency.

When to use: Quickly verifying sampling frequency adequacy during ADC timing problems.

Tip: Approximate Signal-to-Quantization-Noise Ratio (SQNR) improves by about 6 dB for each extra bit.

When to use: To estimate quality difference between ADC resolutions without complex calculations.

Tip: Flash ADCs are fastest but highly complex; use SAR ADCs for medium speed and moderate complexity questions.

When to use: Selecting appropriate ADC type for design or exam problem analysis.

Tip: In calculations, assume ideal components unless stated, to save time.

When to use: During time-limited exam problems to avoid unnecessary complication.

Common Mistakes to Avoid

❌ Confusing MSB and LSB bit positions in DAC calculations.
✓ Always assign bit weights starting from MSB as the highest weight (2^{n-1}).
Why: Incorrect weighting leads to wrong analog output voltage calculation.
❌ Overlooking quantization error effects on ADC accuracy.
✓ Consider ± half LSB quantization error when assessing ADC precision.
Why: Ignoring quantization error leads to overestimating converter accuracy.
❌ Using sampling frequency below Nyquist rate.
✓ Confirm sampling frequency is at least twice the maximum input frequency.
Why: Prevents aliasing and inaccurate digital representation of signals.
❌ Mixing units (volts vs millivolts) without proper conversion.
✓ Standardize all voltages to the same unit-preferably volts-before calculations.
Why: Prevents calculation mistakes and incorrect result interpretation.
❌ Forgetting practical non-idealities like resistor tolerances and comparator offsets.
✓ Mention or consider practical limitations when asked or in design discussions.
Why: Essential for realistic understanding and application scenarios.

Formula Bank

DAC Output Voltage (Weighted Resistor)
\[ V_{out} = V_{ref} \times \sum_{i=0}^{n-1} b_i \times 2^{-i-1} \]
where: \( V_{ref} \) = reference voltage, \( b_i \) = ith bit (0 or 1), \( n \) = number of bits
Quantization Step Size
\[ \Delta = \frac{V_{FS}}{2^n} \]
where: \( V_{FS} \) = full scale voltage, \( n \) = number of bits
Signal-to-Quantization-Noise Ratio (SQNR)
\[ SQNR_{dB} = 6.02n + 1.76 \]
where: \( n \) = number of bits
Sampling Theorem Frequency
\[ f_s \geq 2 f_{max} \]
where: \( f_s \) = sampling frequency, \( f_{max} \) = maximum signal frequency
Converter TypeSpeedComplexityResolutionTypical Use
Weighted Resistor DACFastHigh (resistor matching)Up to 8 bitsAudio signal generation
R-2R Ladder DACFastModerateUp to 12+ bitsInstruments, audio
Flash ADCVery HighVery High (exponential comparators)Low to moderate (4-8 bits)Oscilloscopes, radar
SAR ADCModerateModerateUp to 12 bitsData acquisition
Dual Slope ADCSlowLowHigh (12-16 bits)Digital voltmeters
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
D-A and A-D converters types · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.