Analog Digital Sampling & Discrete Time Discrete Values & Noise Digital-to-Analog Conversion Analog-to-Digital Conversion

Similar documents
EE 521: Instrumentation and Measurements

Oversampling Converters

ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals. 1. Sampling and Reconstruction 2. Quantization

Data Converter Fundamentals

EEO 401 Digital Signal Processing Prof. Mark Fowler

EE123 Digital Signal Processing

Analog to Digital Converters (ADCs)

Signals, Instruments, and Systems W5. Introduction to Signal Processing Sampling, Reconstruction, and Filters

Chapter 5 Frequency Domain Analysis of Systems

Slide Set Data Converters. Digital Enhancement Techniques

Chapter 5 Frequency Domain Analysis of Systems

Signals & Systems. Chapter 7: Sampling. Adapted from: Lecture notes from MIT, Binghamton University, and Purdue. Dr. Hamid R.

INTRODUCTION TO DELTA-SIGMA ADCS

ETSF15 Analog/Digital. Stefan Höst

6.003: Signals and Systems. Sampling and Quantization

EE 230 Lecture 40. Data Converters. Amplitude Quantization. Quantization Noise

CMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Analog to Digital Conversion

Sistemas de Aquisição de Dados. Mestrado Integrado em Eng. Física Tecnológica 2016/17 Aula 4, 10th October

EECE 2510 Circuits and Signals, Biomedical Applications Final Exam Section 3. Name:

Sistemas de Aquisição de Dados. Mestrado Integrado em Eng. Física Tecnológica 2016/17 Aula 3, 3rd September

Measurement and Instrumentation. Sampling, Digital Devices, and Data Acquisition

Second and Higher-Order Delta-Sigma Modulators

Grades will be determined by the correctness of your answers (explanations are not required).

FROM ANALOGUE TO DIGITAL

Homework 4. May An LTI system has an input, x(t) and output y(t) related through the equation y(t) = t e (t t ) x(t 2)dt

Principles of Communications

EE 435. Lecture 32. Spectral Performance Windowing

An Anti-Aliasing Multi-Rate Σ Modulator

INTRODUCTION TO DELTA-SIGMA ADCS

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling

Slide Set Data Converters. Background Elements

EXAMPLE DESIGN PART 1

Digital Signal 2 N Most Significant Bit (MSB) Least. Bit (LSB)

Introduction to digital systems. Juan P Bello

Chap 4. Sampling of Continuous-Time Signals

CITY UNIVERSITY LONDON. MSc in Information Engineering DIGITAL SIGNAL PROCESSING EPM746

EE 505. Lecture 29. ADC Design. Oversampled

Periodic (Uniform) Sampling ELEC364 & ELEC442

Homework: 4.50 & 4.51 of the attachment Tutorial Problems: 7.41, 7.44, 7.47, Signals & Systems Sampling P1

Chapter 12 Variable Phase Interpolation

System on a Chip. Prof. Dr. Michael Kraft

Chapter 2: Problem Solutions

EE123 Digital Signal Processing

Lecture 10, ATIK. Data converters 3

Overview of Sampling Topics

J. McNames Portland State University ECE 223 Sampling Ver

What does such a voltage signal look like? Signals are commonly observed and graphed as functions of time:

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

EXAMPLE DESIGN PART 1

EE 224 Signals and Systems I Review 1/10

EE100Su08 Lecture #9 (July 16 th 2008)

Bridge between continuous time and discrete time signals

ECE 301 Fall 2010 Division 2 Homework 10 Solutions. { 1, if 2n t < 2n + 1, for any integer n, x(t) = 0, if 2n 1 t < 2n, for any integer n.

Pipelined multi step A/D converters

Higher-Order Σ Modulators and the Σ Toolbox

Higher-Order Modulators: MOD2 and MODN

Sampling اهمتسیس و اهلانگیس یرهطم لضفلاوبا دیس فیرش یتعنص هاگشناد رتویپماک هدکشناد

ECE 301 Fall 2011 Division 1 Homework 10 Solutions. { 1, for 0.5 t 0.5 x(t) = 0, for 0.5 < t 1

THE clock driving a digital-to-analog converter (DAC)

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book

ECG782: Multidimensional Digital Signal Processing

Grades will be determined by the correctness of your answers (explanations are not required).

Slide Set Data Converters. High-Order, CT Σ Converters and Σ DAC

Modeling All-MOS Log-Domain Σ A/D Converters

IB Paper 6: Signal and Data Analysis

EE 5345 Biomedical Instrumentation Lecture 12: slides

Sensors. Chapter Signal Conditioning

A Nonuniform Quantization Scheme for High Speed SAR ADC Architecture

Digital Signal Processing

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

2A1H Time-Frequency Analysis II

VID3: Sampling and Quantization

EXAMPLE DESIGN PART 1

2A1H Time-Frequency Analysis II Bugs/queries to HT 2011 For hints and answers visit dwm/courses/2tf

Nyquist-Rate D/A Converters. D/A Converter Basics.

Design Engineering MEng EXAMINATIONS 2016

Lecture 340 Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-1

Switched Capacitor Circuits I. Prof. Paul Hasler Georgia Institute of Technology

Various signal sampling and reconstruction methods

Review: Continuous Fourier Transform

4.1 Introduction. 2πδ ω (4.2) Applications of Fourier Representations to Mixed Signal Classes = (4.1)

7.1 Sampling and Reconstruction

J.-M Friedt. FEMTO-ST/time & frequency department. slides and references at jmfriedt.free.fr.

Pulse-Code Modulation (PCM) :

Digital Signal Processing. Midterm 1 Solution

1 Understanding Sampling

Each problem is worth 25 points, and you may solve the problems in any order.

A novel Capacitor Array based Digital to Analog Converter

Roundoff Noise in Digital Feedback Control Systems

DSP Design Lecture 2. Fredrik Edman.

Vibration Testing. an excitation source a device to measure the response a digital signal processor to analyze the system response

SWITCHED CAPACITOR AMPLIFIERS

Digital Electronic Meters

ESE 531: Digital Signal Processing

ECE Unit 4. Realizable system used to approximate the ideal system is shown below: Figure 4.47 (b) Digital Processing of Analog Signals

Simulation, and Overload and Stability Analysis of Continuous Time Sigma Delta Modulator

Introduction to Digital Signal Processing

EE5713 : Advanced Digital Communications

Transcription:

Analog Digital Sampling & Discrete Time Discrete Values & Noise Digital-to-Analog Conversion Analog-to-Digital Conversion 6.082 Fall 2006 Analog Digital, Slide

Plan: Mixed Signal Architecture volts bits Digital Signal Processing bits volts Analog to Digital store xmit/rcv modify Digital to Analog ANALOG DIGITAL ANALOG Continuous time, Continuous values Discrete time, Discrete values 6.082 Fall 2006 Analog Digital, Slide 2

Discrete Time Let s use an impulse train to sample a continuoustime function at a regular interval T: δ(x) is a narrow impluse at x=0, where f ( t) δ ( t a) dt = f ( a) Time Domain n= p ( t) = δ ( t nt ) x (t) x p (t) x(t) p(t) T time time x p (t) time 6.082 Fall 2006 Analog Digital, Slide 3

Reconstruction Is it possible to reconstruct the original waveform using only the discrete time samples? x p (t) R p x(t) Frequency Domain Looks like modulation by ω s and its harmonics X ( jω) T X p ( jω) 2ω s ωs ω M 2π T ω M P( jω) s 0 ω = 2π T ωs 2ω s ω s ω M ω M ωs ω M So, if ω m < ω s -ω m, we can recover the original waveform with a low-pass filter! T R p ( jω) ω 6.082 Fall 2006 Analog Digital, Slide 4 ω c M ω c < ω < ω ω c s M

Sampling Theorem Let x(t) be a band-limited signal with X(jω)=0 for ω > ω M. Then x(t) is uniquely determined by its samples x(nt), n = 0, ±, ±2,, if ω s > 2ω M 2ω M is called the Nyquist rate and ω s /2 the Nyquist frequency where 2π ω s = T Given these samples, we can reconstruct x(t) by generating a periodic impluse train in which successive impulses have amplitudes that are successive sample values, then passing the train through an ideal LPF with gain T and a cutoff frequency greater than ω M and less than ω s -ω M. 6.082 Fall 2006 Analog Digital, Slide 5

Zero-Order Sample & Hold Impluses are hard to engineer, so a zero-order sample & hold is often used to produce the discrete time waveform. Sample Method x p (t) T time x sh (t) T time R p ( jω) Reconstruction Filter R sh ( jω) T ω ω c M c ω c < ω < ω ω ω = 2π s M s 6.082 Fall 2006 T Analog Digital, Slide 6 ω c ω c See Chapter 7 in Signals and Systems by Oppenheim & Willsky (6.003)

Undersampling Aliasing If ω s 2ω M there s an overlap of frequencies between one image and its neighbors and we discover that those overlaps introduce additional frequency content in the sampled signal, a phenomenon called aliasing. -5 ω M 5, ω = -2 = s X ( jω) P( jω) 6 2 5 There are now tones at (= 6 5) and 4 (= 6 2) in addition to the original tones at 2 and 5. -6 0 6 X p ( jω) -8-6 -5-4 -2-2 4 5 6 8 6.082 Fall 2006 Analog Digital, Slide 7

Antialias Filters If we wish to create samples at some fixed frequency ω s, then to avoid aliasing we need to use a low-pass filter on the original waveform to remove any frequency content ω s /2. This is the symbol for a low-pass filter see the little x marks on the middle and high frequecies? ω = C ωs 2 We need this antialiasing filter it has to have a reasonably sharp cutoff Discrete- Time sampler ω s The frequency response of human ears essentially drops to zero above 20kHz. So the Red Book standard for CD Audio chose a 44.kHz sampling rate, yielding a Nyquist frequency of 22.05kHz. The 2kHz of elbow room is needed because practical antialiasing filters have finite slope Why 44.kHz? See http://www.cs.columbia.edu/~hgs/audio/44..html 6.082 Fall 2006 Analog Digital, Slide 8

Discrete Values If we use N bits to encode the magnitude of one of the discrete-time samples, we can capture 2 N possible values. So we ll divide up the range of possible sample values into 2 N intervals and choose the index of the enclosing interval as the encoding for the sample value. sample voltage V MAX V MIN 0 3 2 0 7 6 5 4 3 2 0 5 4 3 2 0 9 8 7 6 5 4 3 2 0 quantized value -bit 3 2-bit 6 3-bit 3 4-bit 6.082 Fall 2006 Analog Digital, Slide 9

Quantization Error Note that when we quantize the scaled sample values we may be off by up to ±½ step from the true sampled values. 57 The red shaded region shows the error we ve introduced 56 55 54 53 54 55 56 55 55 6.082 Fall 2006 Analog Digital, Slide 0

Quantization Noise ω s N x(t) sample scale & quantize - Quantization Noise scale N 2 Time Domain Max signal Freq. Domain NOISE( jω) Noise Asignal SNR = 20log0 = 20log0(2 A noise = N 6. 02dB.76dB if x(t) is a sine wave N ) 6.082 Fall 2006 Analog Digital, Slide ω s 2 ω s 2 In most cases it s white noise with a uniform frequency distribution

Oversampling To avoid aliasing we know that ω s must be at least 2ω M. Is there any advantage to oversampling, i.e., ω s = K 2ω M? Suppose we look at the frequency spectrum of quantized samples of a sine wave: (sample freq. = ω s ) α ω s / 2 P SNR = ω s 0log0 P SIGNAL NOISE Let s double the sample frequency to 2ω s. Total signalnoise power remains the same, so SNR is unchanged. But noise is spread over twice the freq. range so it s relative level has dropped. Now let s use a low pass filter to eliminate half the noise! Note that we re not affecting the signal at all α / 2 α / 2 2( ωs / 2) OversamplingLPF reduces noise by 3dB/octave 6.082 Fall 2006 Analog Digital, Slide 2 ω s / 2 SNR s P SIGNAL 0log0 = SNR 3dB s PNOISE / 2 2 ω = ω

DAC: digital to analog converter How can we convert a N-bit binary number to a voltage? V i = 0 volts if B i = 0 V i = V volts if B i = R OPAMP will vary V OUT to maintain this node at 0V, i.e., the sum of the currents flowing into this node will be zero. B 3 B 2 B B 0 2R 4R 8R R F V OUT OKAY, this ll work, but the voltages produced by the drivers and various R s must be carefully matched in order to get equal steps. V R V OUT F OUT = B V R B2V 2R 3 = R R F V B 3 BV B0V 4R 8R B2 B B0 2 4 8 6.082 Fall 2006 Analog Digital, Slide 3 0

Successive-Approximation A/D D/A converters are typically compact and easier to design. Why not A/D convert using a D/A converter and a comparator? DAC generates analog voltage which is compared to the input voltage If DAC voltage > input voltage then set that bit; otherwise, reset that bit This type of ADC takes a fixed amount of time proportional to the bit length V in code D/A C Comparator out Example: 3-bit A/D conversion, 2 LSB < V in < 3 LSB 6.082 Fall 2006 Analog Digital, Slide 4

Successive-Approximation A/D Data D/A Converter N Successive Approximation Generator - Done v in Sample/ Hold Control Go Serial conversion takes a time equal to N (t D/A t comp ) 6.082 Fall 2006 Analog Digital, Slide 5

Flash A/D Converter Vref vin R R R R Comparators The rm ometer to binary b 0 b Brute-force A/D conversion Simultaneously compare the analog value with every possible reference value Fastest method of A/D conversion Size scales exponentially with precision (requires 2 N comparators) 6.082 Fall 2006 Analog Digital, Slide 6

Analog input V < V < V REF IN REF Sigma Delta ADC -bit ADC integrator - - Bit stream ±V REF -bit DAC 0: add V REF, : subtract V REF Bit stream Decimator samples Computes average, produces N-bit result Only need to keep enough samples to meet Nyquist rate Average of bit stream (=V REF, 0=-V REF ) gives voltage With V REF =V: V IN =0.5: 0, V IN =-0.25: 00000, V IN =0.6: 0 http://www.analog.com/analog_root/static/techsupport/designtools/interactivetools/sdtutorial/sdtutorial.html 6.082 Fall 2006 Analog Digital, Slide 7

So, what s the big deal? Can be run at high sampling rates, oversampling by, say, 8 or 9 octaves for audio applications; low power implementations Feedback path through the integrator changes how the noise is spread across the sampling spectrum. Power Signal Spectrum of modulator s output Noise ω s 2 kω s 2 Frequencies attenuated by LPF Pushing noise power to higher frequencies means more noise is eliminated by LPF: N th order ΣΔ SNR = (3N*6)dB/octave 6.082 Fall 2006 Analog Digital, Slide 8

Summary If we sample a band-limited signal x(t) to produce discrete-time samples x(nt), then if ω s > 2ω M, then we can reconstruct the original waveform by passing the impulse samples through a LPF. Undersampling (ω s 2ω M ) will result in aliasing. Usually an antialiasing filter is used before sampling to avoid this problem. Quantizing the sampled values into 2 N discrete levels introduces quantization noise (SNR ~ 6dB*N) Oversampling reduces noise by 3dB/octave DAC architectures: summing node ADC architectures: successive approx., flash, sigma delta (combines oversampling noise shaping) 6.082 Fall 2006 Analog Digital, Slide 9