Oversampling with Noise Shaping • Place the Quantizer in a Feedback Loop Xn() Yn() Un() Hz() – Quantizer

Oversampling with Noise Shaping • Place the Quantizer in a Feedback Loop Xn() Yn() Un() Hz() – Quantizer

Oversampling Converters David Johns and Ken Martin University of Toronto ([email protected]) ([email protected]) University of Toronto slide 1 of 57 © D.A. Johns, K. Martin, 1997 Motivation • Popular approach for medium-to-low speed A/D and D/A applications requiring high resolution Easier Analog • reduced matching tolerances • relaxed anti-aliasing specs • relaxed smoothing filters More Digital Signal Processing • Needs to perform strict anti-aliasing or smoothing filtering • Also removes shaped quantization noise and decimation (or interpolation) University of Toronto slide 2 of 57 © D.A. Johns, K. Martin, 1997 Quantization Noise en() xn() yn() xn() yn() en()= yn()– xn() Quantizer Model • Above model is exact — approx made when assumptions made about en() • Often assume en() is white, uniformily distributed number between ±∆ ⁄ 2 •∆ is difference between two quantization levels University of Toronto slide 3 of 57 © D.A. Johns, K. Martin, 1997 Quantization Noise T ∆ time • White noise assumption reasonable when: — fine quantization levels — signal crosses through many levels between samples — sampling rate not synchronized to signal frequency • Sample lands somewhere in quantization interval leading to random error of ±∆ ⁄ 2 University of Toronto slide 4 of 57 © D.A. Johns, K. Martin, 1997 Quantization Noise • Quantization noise power shown to be ∆2 ⁄ 12 and is independent of sampling frequency • If white, then spectral density of noise, Se()f , is constant. S f e() ∆ 1 Height k = ---------- ---- x f 12 s f f f s 0 s –---- ---- 2 2 University of Toronto slide 5 of 57 © D.A. Johns, K. Martin, 1997 Oversampling Advantage • Oversampling occurs when signal of interest is bandlimited to f0 but we sample higher than 2f0 • Define oversampling-rate OSR = fs ⁄ ()2f0 (1) • After quantizing input signal, pass it through a brickwall digital filter with passband up to f0 y ()n 1 un() Hf() y2()n N-bit quantizer Hf() 1 f f fs –f 0 f s –---- 0 0 ---- 2 2 University of Toronto slide 6 of 57 © D.A. Johns, K. Martin, 1997 Oversampling Advantage • Output quantization noise after filtering is: 2 f 2 f s ⁄ 2 2 0 2 ∆ 1 Pe ===∫ Se()f Hf() df ∫ kx df ------ ----------- (2) –fs ⁄ 2 –f0 12OSR • Doubling OSR reduces quantation noise power by 3dB (i.e. 0.5 bits/octave) • Assuming peak input is a sinusoidal wave with a peak value of 2N()∆ ⁄ 2 leading to N 2 Ps = ()()∆2 ⁄ ()22 • Can also find peak SNR as: Ps 3 2N SNR ==10 log----- 10 log---2 + 10 log()OSR (3) max Pe 2 University of Toronto slide 7 of 57 © D.A. Johns, K. Martin, 1997 Oversampling Advantage Example • A dc signal with 1V is combined with a noise signal uniformily distributed between ± 3 giving 0 dB SNR. — {0.94, –0.52, –0.73, 2.15, 1.91, 1.33, –0.31, 2.33}. • Average of 8 samples results in 0.8875 • Signal adds linearly while noise values add in a square-root fashion — noise filtered out. Example • 1-bit A/D gives 6dB SNR. • To obtain 96dB SNR requires 30 octaves of oversampling ( (96-6)/3 dB/octave ) 30 • If f0 = 25 kHz, fs ==2 × f0 54, 000 GHz ! University of Toronto slide 8 of 57 © D.A. Johns, K. Martin, 1997 Advantage of 1-bit D/A Converters • Oversampling improves SNR but not linearity • To acheive 16-bit linear converter using a 12-bit converter, 12-bit converter must be linear to 16 bits — i.e. integral nonlinearity better than 12⁄ 4 LSB • A 1-bit D/A is inherently linear — 1-bit D/A has only 2 output points — 2 points always lie on a straight line • Can acheive better than 20 bits linearity without trimming (will likely have gain and offset error) • Second-order effects (such as D/A memory or signal- dependent reference voltages) will limit linearity. University of Toronto slide 9 of 57 © D.A. Johns, K. Martin, 1997 Oversampling with Noise Shaping • Place the quantizer in a feedback loop xn() yn() un() Hz() – Quantizer Delta-Sigma Modulator en() xn() yn() un() Hz() – Linear model University of Toronto slide 10 of 57 © D.A. Johns, K. Martin, 1997 Oversampling with Noise Shaping • Shapes quantization noise away from signal band of interest Signal and Noise Transfer-Functions Yz() Hz() S ()z ≡ ---------- = -------------------- (4) TF Uz() 1 + Hz() Yz() 1 N ()z ≡ ---------- = -------------------- (5) TF Ez() 1 + Hz() Yz()= STF()z Uz()+ NTF()z Ez() (6) • Choose Hz() to be large over 0 to f0 • Resulting quantization noise near 0 where Hz() large • Signal transfer-function near 1 where Hz() large University of Toronto slide 11 of 57 © D.A. Johns, K. Martin, 1997 Oversampling with Noise Shaping • Input signal is limited to range of quantizer output when Hz() large • For 1-bit quantizers, input often limited to 1/4 quantizer outputs • Out-of-band signals can be larger when Hz() small • Stability of modulator can be an issue (particularily for higher-orders of Hz() • Stability defined as when input to quantizer becomes so large that quantization error greater than ±∆ ⁄ 2 — said to “overload the quantizer” University of Toronto slide 12 of 57 © D.A. Johns, K. Martin, 1997 First-Order Noise Shaping • Choose Hz() to be a discrete-time integrator 1 Hz()= ----------- (7) z – 1 xn() –1 yn() un() z – Quantizer • If stable, average input of integrator must be zero • Average value of un() must equal average of y()n University of Toronto slide 13 of 57 © D.A. Johns, K. Martin, 1997 Example • The output sequence and state values when a dc input, un(), of 1⁄ 3 is applied to a 1’st order modulator with a two-level quantizer of ±1.0. Initial state for xn() is 0.1. n x(n) x(n + 1) y(n) e(n) 0 –0.1000 –0.5667 –1.0 –0.9000 1 –0.5667 –0.7667 –1.0 –0.4333 2 –0.7667 –0.1000 –1.0 –0.2333 3 –0.1000 –0.5667 –1.0 –0.9000 4 –0.5667 –0.7667 –1.0 –0.4333 5 ………… • Average of y()n is 1⁄ 3 as expected • Periodic quantization noise in this case University of Toronto slide 14 of 57 © D.A. Johns, K. Martin, 1997 Transfer-Functions Signal and Noise Transfer-Functions Yz() 1 ⁄ ()z – 1 –1 S ()z ==---------- -------------------------------- =z (8) TF Uz() 11+ ⁄ ()z – 1 Yz() 1 –1 N ()z ==---------- -------------------------------- =() 1 – z (9) TF Ez() 11+ ⁄ ()z – 1 • Noise transfer-function is a discrete-time differentiator (i.e. a highpass filter) jπff⁄ s –jπf ⁄ fs –2j πff⁄ s e – e –jπf ⁄ fs N ()f == 1– e ------------------------------------× 2 je× TF 2j (10) πf –jπf ⁄ fs = sin----- × 2je× fs University of Toronto slide 15 of 57 © D.A. Johns, K. Martin, 1997 Signal to Noise Ratio Magnitude of noise transfer-function πf N ()f = 2sin----- (11) TF fs Quantization noise power 2 2 f0 2 2 f0 ∆ 1 πf P ==S ()f N ()f df ------ --- 2 sin----- df (12) e ∫–f e TF ∫–f 0 0 12 fs fs • Assuming f0 << fs (i.e., OSR >> 1) 2 2 3 2 2 3 ∆ π 2f0 ∆ π 1 P ≅ ------ ----- ------- = ----------------------- (13) e 12 3 fs 36 OSR University of Toronto slide 16 of 57 © D.A. Johns, K. Martin, 1997 Max SNR • Assuming peak input is a sinusoidal wave with a peak value of 2N()∆ ⁄ 2 leading to N 2 Ps = ()()∆2 ⁄ ()22 • Can find peak SNR as: P SNR = 10 log-----s max Pe 3 2N 3 3 = 10 log---2 + 10 log ----- ()OSR 2 2 π (14) or, equivalently, SNRmax = 6.02N ++1.76–30 5.17 log()OSR (15) • Doubling OSR gives an SNR improvement 9 dB or, University of Toronto slide 17 of 57 © D.A. Johns, K. Martin, 1997 equivalently, a benefit of 1.5 bits/octave University of Toronto slide 18 of 57 © D.A. Johns, K. Martin, 1997 SC Implementation Quantizer –1 yn() un() z – Hz() 1-bit D/A Analog Digital C φ C φ 1 2 Comparator Vin φ2 φ1 Vout φ , ()φ 2 1 C Latch on φ falling Vref ⁄ 2 2 φ1, ()φ2 φ1,Vφ2 ↔ out high ()φφ1 ,V()2 ↔ out low University of Toronto slide 19 of 57 © D.A. Johns, K. Martin, 1997 Second-Order Noise Shaping –1 un() z yn() – –1 – z Quantizer –1 STF()f = z (16) –1 2 NTF()f = () 1– z (17) SNRmax = 6.02N ++1.76–50 12.9 log()OSR (18) • Doubling OSR improves SNR by 15 dB (i.e., a benefit of 2.5 bits/octave) University of Toronto slide 20 of 57 © D.A. Johns, K. Martin, 1997 Noise Transfer-Function Curves Second-order NTF()f First-order No noise shaping f 0 f f 0 fs s ---- 2 • Out-of-band noise increases for high-order modulators • Out-of-band noise peak controlled by poles of noise transfer-function • Can also spread zeros over band-of-interest University of Toronto slide 21 of 57 © D.A. Johns, K. Martin, 1997 Example • 90 dB SNR improvement from A/D with f0 = 25 kHz Oversampling with no noise shaping • From before, straight oversampling requires a sampling rate of 54,000 GHz. First-Order Noise Shaping • Lose 5 dB (see (15)), require 95 dB divided by 9 dB/ 10.56 octave, or 10.56 octaves — fs = 2 × 2f0 ≅ 75 MHz Second-Order Noise Shaping • Lose 13 dB, required 103 dB divided by 15 dB/ octave, fs = 5.8 MHz (does not account for reduced input range needed for stability). University of Toronto slide 22 of 57 © D.A. Johns, K. Martin, 1997 Quantization Noise Power of 1-bit Modulators • If output of 1-bit mod is ±1, total power of output signal, y()n , is normalized power of 1 watt.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    29 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us