1 / 39

Data Converter Basics

Data Converter Basics. A/D and D/A Conversion. A/D Conversion. D/A Conversion. Quantization. Quantization = division + normalization + truncation Full-scale range (V FS ) is determined by V ref. Quantization Error. N = 3. “Random” quantization error is usually regarded as noise.

rafael
Download Presentation

Data Converter Basics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Converter Basics

  2. A/D and D/A Conversion A/D Conversion D/A Conversion

  3. Quantization • Quantization = division + normalization + truncation • Full-scale range (VFS) is determined by Vref

  4. Quantization Error N = 3 “Random” quantization error is usually regarded as noise

  5. Quantization Noise Assumptions: • N is large • 0 ≤ Vin≤ VFS and Vin >> Δ • Vinis active • ε is Uniformly distributed • Spectrum of εis white Ref: W. R. Bennett, “Spectra of quantized signals,” Bell Syst. Tech. J., vol. 27, pp. 446-472, July 1948.

  6. Signal-to-Quantization Noise Ratio (SQNR) Assume Vinis sinusoidal with Vp-p = VFS, • SQNR depicts the theoretical performance of an ideal ADC • In reality, ADC performance is limited by many other factors: • Electronic noise (thermal, 1/f, coupling/substrate, etc.) • Distortion (measured by THD, SFDR, IM3, etc.)

  7. FFT Spectrum of Quantized Signal • N = 10 bits • 8192 samples, only f= [0, fs/2] shown • Normalized to Vin • fs = 8192, fin = 779 • finand fs must be incommensurate SQNR = 61.93 dB ENOB = 9.995 bits Ref: W. R. Bennett, “Spectra of quantized signals,” Bell Syst. Tech. J., vol. 27, pp. 446-472, July 1948.

  8. Commensuratefs and fin fs = 8192 fin = 256 fs = 8192 fin = 2048 • Periodic sampling points result in periodic quantization errors • Periodic quantization errors result in harmonic distortion

  9. Spectrum Leakage fs = 8192 fin = 779.3 fs = 8192 fin = 779.3 w/ Blackman window • TD samples must include integer number of cycles of input signal • Windowing can be applied to eliminate spectrum leakage • Trade-off b/t main-lobe width and sideband rejection for different windows

  10. FFT Spectrum with Distortion HD3 HD9 • High-order harmonics are aliased back, visible in [0, fs/2] band • E.g., HD3 @ 779x3+1=2338, HD9 @ 8192-9x779+1=1182

  11. Dynamic Performance • Peak SNDR limited by large-signal distortion of the converter • Dynamic range implies the “theoretical” SNR of the converter

  12. Dynamic Performance Metrics • Signal-to-noise ratio (SNR) • Total harmonic distortion (THD) • Signal-to-noise and distortion ratio (SNDR or SINAD) • Spurious-free dynamic range (SFDR) • Two-tone intermodulation product (IM3) • Aperture uncertainty (related to the frontend S/H and clock) • Dynamic range (DR) – misleading (avoid it if possible!) • Idle channel noise or pattern noise in oversampled converters

  13. Evaluating Dynamic Performance • Signal-to-noise plus distortion ratio (SNDR) • Total harmonic distortion (THD) • Spurious-free dynamic range (SFDR) SNDR = 59.16 dB THD = 63.09 dB SFDR = 64.02 dB ENOB = 9.535 bits HD3 HD9

  14. Static Performance Metrics • Offset (OS) • Gain error (GE) • Monotonicity • Linearity • Differential nonlinearity (DNL) • Integral nonlinearity (INL)

  15. Static Performanceof DAC

  16. DAC Transfer Characteristic • N = # of bits • VFS = Full-scale input • Δ = VFS/2N = 1LSB • bi = 0 or 1 • Multiplication Note: Vout (bi = 1, for all i) = VFS - Δ = VFS(1-2-N) ≠ VFS

  17. Ideal DAC Transfer Curve

  18. Offset Vos

  19. Gain Error

  20. Monotonicity

  21. Differential and Integral Nonlinearities DNL < -1 ? • DNL = deviation of an output step from 1 LSB (= Δ = VFS/2N) • INL = deviation of the output from the ideal transfer curve

  22. DNL and INL INL = cumulative sum of DNL

  23. DNL and INL Smooth Noisy • DNL measures the uniformity of quantization steps, or incremental (local) nonlinearity; small input signals are sensitive to DNL. • INL measures the overall, or cumulative (global) nonlinearity; large input signals are often sensitive to both INL (HD) and DNL (QE).

  24. Measure DNL and INL (Method I) Endpoint stretch Endpoints of the transfer characteristic are always at 0 and VFS-Δ

  25. Measure DNL and INL (Method II) Least-square fit and stretch (“detrend”) Endpoints of the transfer characteristic may not be at 0 and VFS-Δ

  26. Measure DNL and INL Method I (endpoint stretch) Σ(INL) ≠ 0 Method II (LS fit & stretch) Σ(INL) = 0

  27. Static Performanceof ADC

  28. Ideal ADC Transfer Characteristic Note the systematic offset! (floor, ceiling, and round)

  29. DNL and Missing Code • DNL = ? • Can DNL < -1? DNL = deviation of an input step width from 1 LSB (= VFS/2N = Δ)

  30. DNL and Nonmonotonicity • DNL = ? • How can we even measure this? DNL = deviation of an input step width from 1 LSB (= VFS/2N = Δ)

  31. INL • Any code • Missing? • Nonmonotonic? INL = deviation of the step midpoint from the ideal step midpoint (method I and II …)

  32. 10-bit ADC Example • 1024 codes • No missing code! • Plotted against the digital code, not Vin • Code density test (CDT) DNL must always be greater or equal to -1 LSB!

  33. Code Density Test Ball casting problem: # of balls collected by each bin (ni) is proportional to the bin size (converter step size)

  34. CDT and Nonmonotonicity • Two transition steps for one code?! How to plot INL/DNL? • CDT can be misleading in determining the static nonlinearity

  35. Nyquist-Rate ADC

  36. Nyquist-Rate ADC • Digitizes input signal up to Nyquist frequency (fN=fs/2) • Minimum sample rate (fs) for a given input bandwidth • Each sample is digitized to the maximum resolution of converter • Often referred to as the “black box” version of digitization

  37. Nyquist-Rate ADC (N-Bit, Binary) • Word-at-a-time (1 step)† ← fast • Flash • Level-at-a-time (2N steps) ← slowest • Integrating (Serial) • Bit-at-a-time (N steps) ← slow • Successive approximation • Algorithmic (Cyclic) • Partial word-at-a-time (1 < M ≤ N steps) ← medium • Subranging • Pipeline • Others (1 ≤ M ≤ N step) • Folding ← relatively fast • Interleaving (of flash, pipeline, or SA) ← fastest † the number in the parentheses is the “latency” of conversion, not “throughput”

  38. Accuracy-Speed Tradeoff

  39. Building Blocks for Data Converters • Sample-and-Hold (Track-and-Hold) Amplifier • Switched-Capacitor Amplifiers, Integrators, and Filters • Operational Amplifier • Comparators (Preamplifier and Latch) • Voltage and Current DAC’s • Current Sources • Voltage/Current/Bandgap References

More Related