S243 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S2 · Lesson 43 · Delta-sigma modulators

Oversampling and noise shaping, trading speed for resolution

Your phone's audio codec gets 16 to 24 bits of resolution out of a quantizer with one bit. It does it by sampling far faster than the signal needs and putting the quantizer inside a feedback loop that pushes the quantization noise out of the signal band to high frequencies, where a digital filter throws it away. That's a delta-sigma modulator. Its resolution depends on the oversampling ratio and the order of the loop's filter, not on component matching, which is why it dominates audio, sensors and precision measurement, everywhere bandwidth is modest and resolution matters.

  • The noise transfer function of delta-sigma modulators of order 1, 2 and 3, in dB, against frequency as a fraction of the sampling rate (log scale). Quantization noise is multiplied by this shape.
  • At low frequencies the noise is pushed down steeply, 20 dB per decade per order; at half the sample rate it's amplified.
  • The marker is the signal band's edge for the chosen oversampling ratio. The readouts give the ideal SQNR of a one-bit modulator of each order there.

Predict

Plain oversampling (no noise shaping) improves SQNR by 3 dB every time the sample rate doubles. How much does doubling the sample rate gain a second-order delta-sigma modulator?

Name it

Oversampling

A quantizer's noise, Δ2/12, spreads evenly from 0 to fs/2. With a signal band of only fB, the oversampling ratio OSR=fs2fB leaves only 1/OSR of it in band: 10 log OSR dB better, 3 dB (half a bit) per doubling.

Noise shaping

Put the quantizer inside a loop with an integrator: the output is Y(z)=z−1X(z)+(1−z−1)E(z). The signal passes unchanged; the quantization error E is filtered by the noise transfer function

|NTF(f)|=|2sin⁡πffs|L

for an L-th order loop: tiny at low frequency, large near fs/2.

Resolution

Integrating the shaped noise over the band gives, for an N-bit quantizer,

SQNR=6.02N+1.76−10log⁡π2L2L+1+(2L+1)⋅10log⁡OSR

The penalty term is 5.2 dB for L = 1, 12.9 dB for L = 2, 21.4 dB for L = 3.

In practice

  • One-bit quantizers are perfectly linear (two levels always make a straight line), which is why delta-sigma DACs and ADCs reach very low distortion without trimming.
  • Stability: single-bit loops above second order can overload with large inputs, so their input range is restricted, or multibit quantizers are used.
  • Decimation: a digital low-pass filter removes the shaped noise and reduces the sample rate to the Nyquist rate.
  • Circuit limits: the first integrator's noise, thermal kT/C noise and clock jitter (for continuous-time loops) often set the real floor below the ideal SQNR.

Worked example

A one-bit, second-order modulator runs at an oversampling ratio of 64. What's its ideal SQNR and effective resolution?

Show the solution
  1. SQNR. SQNR=6.02+1.76−12.9+5×10log⁡64=7.78−12.9+90.3=85.2dB
  2. Effective resolution. ENOB=85.2−1.766.02=13.9bits from a one-bit quantizer.
  3. Clock for audio. At 48 kHz: 64×48kHz=3.07MHz
  4. Third order. At the same OSR it adds 20 log 64 = 36 dB of shaping and 8.5 dB more penalty, for about 113 dB.

Answer an ideal SQNR of 85.2 dB, or 13.9 bits.

Worked example

How much oversampling alone, with no noise shaping, does it take to gain 4 bits? And what does a first-order loop give at OSR = 128?

Show the solution
  1. Bits to decibels. 4 bits is 24 dB.
  2. Plain oversampling. OSR=102.4≈251 (256, since each 4× gives 6 dB).
  3. First-order loop at 128. SQNR=7.78−5.17+30log⁡128=65.8dB about 10.6 bits.
  4. What shaping buys. Noise shaping is what makes oversampling worth the clock speed.

Answer about 251 times oversampling without shaping (256, counting 6 dB per factor of 4); a first-order loop at OSR = 128 gives 65.8 dB, about 10.6 bits.

Worked example

What SQNR does a one-bit, first-order modulator reach at an oversampling ratio of 128?

Show the solution
  1. SQNR. SQNR=6.02+1.76−5.17+30log10⁡128=65.8dB about 10.6 bits.
  2. Per doubling. Each doubling of OSR adds 9 dB, against 15 dB for second order.
  3. Idle tones. First-order loops also produce idle tones on DC inputs, so second order is the usual minimum.

Answer 65.8 dB, about 10.6 bits.

Check

A converter samples at 3 MHz for a 100 kHz signal band. What's its oversampling ratio?

Check

Oversampling by 16 without noise shaping improves SQNR by how much?

Check

A one-bit delta-sigma modulator of order 2 runs at OSR = 16. What's its ideal SQNR?

Check

How much does doubling the oversampling ratio improve an order-2 modulator's SQNR?

Check

What's an order-2 noise transfer function's gain at 0.001 of the sample rate?

Check

A delta-sigma converter measures 90 dB of SNDR. What's its ENOB?

Check

A one-bit delta-sigma modulator of order 2 runs at oversampling ratio 32. Its ideal SQNR is 6.02+1.76−10log10⁡π2L2L+1+(2L+1)10log10⁡M.

(a)

What SQNR does it reach?

(b)

How much does each doubling of M add?

Check

A Nyquist-rate N-bit quantizer is oversampled by M with no noise shaping.

Step 1

What SQNR does filtering to the signal band give?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

How does a feedback loop around a one-bit quantizer push its noise out of the signal band?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.