EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization

Similar documents
Digital Processing of Continuous-Time Signals

Digital Processing of

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Chapter 2: Digitization of Sound

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

ESE 531: Digital Signal Processing

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

Digital Signal Processing

In The Name of Almighty. Lec. 2: Sampling

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

Spectrogram Review The Sampling Problem: 2π Ambiguity Fourier Series. Lecture 6: Sampling. ECE 401: Signal and Image Analysis. University of Illinois

Sampling and Signal Processing

Summary Last Lecture

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

! Multi-Rate Filter Banks (con t) ! Data Converters. " Anti-aliasing " ADC. " Practical DAC. ! Noise Shaping

Analyzing A/D and D/A converters

ESE 531: Digital Signal Processing

The Case for Oversampling

Multirate DSP, part 1: Upsampling and downsampling

F I R Filter (Finite Impulse Response)

Electronics A/D and D/A converters

Module 3 : Sampling and Reconstruction Problem Set 3

CS3291: Digital Signal Processing

Final Exam Solutions June 14, 2006

Interfacing a Microprocessor to the Analog World

Sampling and Reconstruction of Analog Signals

New Features of IEEE Std Digitizing Waveform Recorders

EKT 314/4 LABORATORIES SHEET

Choosing the Best ADC Architecture for Your Application Part 4:

EE482: Digital Signal Processing Applications

A Low-Cost Programmable Arbitrary Function Generator for Educational Environment

EE 230. Lecture 3. Background Materials Transfer Functions

Summary Last Lecture

The Sampling Theorem:

!"!#"#$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

Problems from the 3 rd edition

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

Lecture Outline. ESE 531: Digital Signal Processing. Anti-Aliasing Filter with ADC ADC. Oversampled ADC. Oversampled ADC

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

EE 435. Lecture 34. Spectral Performance Windowing Quantization Noise

Telecommunication Electronics

Digital Acquisition of Analog Signals A Practical Guide

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

2. TELECOMMUNICATIONS BASICS

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

Tones. EECS 247 Lecture 21: Oversampled ADC Implementation 2002 B. Boser 1. 1/512 1/16-1/64 b1. 1/10 1 1/4 1/4 1/8 k1z -1 1-z -1 I1. k2z -1.

Analog Lowpass Filter Specifications

Principles of Baseband Digital Data Transmission

SAMPLING AND RECONSTRUCTING SIGNALS

Data Conversion Techniques (DAT115)

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

Analog-to-Digital Converters

Direct Digital Synthesis Primer

Chapter-2 SAMPLING PROCESS

Multirate Digital Signal Processing

Aliasing in Fourier Analysis

Chapter 2 Direct-Sequence Systems

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No

NOVEMBER 13, 1996 EE 4773/6773: LECTURE NO. 37 PAGE 1 of 5

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

EE390 Final Exam Fall Term 2002 Friday, December 13, 2002

Review of Filter Types

Design IV. E232 Spring 07

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.

Analog and Telecommunication Electronics

Flatten DAC frequency response EQUALIZING TECHNIQUES CAN COPE WITH THE NONFLAT FREQUENCY RESPONSE OF A DAC.

Signals and Systems Lecture 6: Fourier Applications

Lecture #6: Analog-to-Digital Converter

CT111 Introduction to Communication Systems Lecture 9: Digital Communications

MITOCW MITRES_6-007S11lec18_300k.mp4

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Analog and Telecommunication Electronics

Microprocessors & Interfacing

Signal Sampling. Sampling. Sampling. Sampling. Sampling. Sampling

Lecture 10. Digital Modulation

Data Converter Topics. Suggested Reference Texts

Signals and Systems. Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI

DATA INTEGRATION MULTICARRIER REFLECTOMETRY SENSORS

EEE 309 Communication Theory

Lecture Schedule: Week Date Lecture Title

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication

Voice Transmission --Basic Concepts--

Brief Introduction to Signals & Systems. Phani Chavali

Signal Processing. Naureen Ghani. December 9, 2017

Spectrum Analysis - Elektronikpraktikum

EE123 Digital Signal Processing. Lecture 10 Practical ADC/DAC

ECE 6560 Multirate Signal Processing Chapter 13

System on a Chip. Prof. Dr. Michael Kraft

for amateur radio applications and beyond...

Multirate DSP, part 3: ADC oversampling

Communication Channels

Transcription:

EE 230 Lecture 39 Data Converters Time and Amplitude Quantization

Review from Last Time: Time Quantization How often must a signal be sampled so that enough information about the original signal is available in the samples so that the samples can be used to represent the original signal? The Sampling Theorem An exact reconstruction of a continuous-time signal from its samples can be obtained if the signal is band limited and the sampling frequency is greater than twice the signal bandwidth. This is a key theorem and many existing communication standards and communication systems depend heavily on this property This theorem often provides a lower bound for clock frequency of ADCs The theorem says nothing about how to reconstruct the signal

Review from Last Time: The Sampling Theorem Time Quantization An exact reconstruction of a continuous-time signal from its samples can be obtained if the signal is band limited and the sampling frequency is greater than twice the signal bandwidth. Alternatively An exact reconstruction of a continuous-time signal from its samples can be obtained if the signal is band limited and the sampling frequency exceeds the Nyquist Rate.

Review from Last Time: The Sampling Theorem Time Quantization An exact reconstruction of a continuous-time signal from its samples can be obtained if the signal is band limited and the sampling frequency exceeds the Nyquist Rate. Practically, signals are often sampled at frequency that is just a little bit higher than the Nyquist rate though there are some applications where the sampling is done at a much higher frequency (maybe with minimal benefit) The theorem as stated only indicates sufficient information is available in the samples if the criteria are met to reconstruct the original continuous-time signal, nothing is said about how this can be practically accomplished.

Review from Last Time: Time Quantization What happens if the requirements for the sampling theorem are not met? Aliasing will occur if signals are sampled with a clock of frequency less than the Nyquist Rate for the signal. If aliasing occurs, what is the aliasing frequency? This calculation is not difficult but a general expression will not be derived at this time. If can be shown that if f is a frequency above the Nyquist rate, then the aliased frequency will be given by the expression ( ) k + -1+ -1 + 2 4 2 2 k 1 k k k-1 k f = (-1) f (-1) + f for f < f < f ALIASED SAMP SAMP SAMP where k is an integer greater than 1 and where f SAMP is the sampling frequency

Review from Last Time: Time Quantization What happens if the requirements for the sampling theorem are not met? Aliasing will occur if signals are sampled with a clock of frequency less than the Nyquist Rate for the signal. ( ) k + -1+ -1 + 2 4 2 2 k 1 k k k-1 k f = (-1) f (-1) + f for f < f < f ALIASED SAMP SAMP SAMP f ALIASED f SAMP 2 f f SAMP 2 fsamp 2fSAMP 3fSAMP Note aliased signals can not be distinguished from desired signals!

Review from Last Time: Time Quantization The sampling theorem and aliasing, another perspective y t =A + m A sin kωt+θ ( ) ( ) 0 k k k=1 2π ω= = 2π f T Consider a single period T of the band-limited signal limited to mf (where T is the period of the fundamental) There are 2m+1 unknowns Thus, if 2m+1 samples must be taken in the interval of length T to determine all unknowns If these samples are uniformly spaced, the sampling rate must be 1 1 f SAMPLE = = = ( 2m+1) f T T SAMPLE 2m+1 Note this result was obtained without any reference to the sampling theorem! How does this compare to the Nyquist rate? NYQUIST ( ) f = 2 mf

Review from Last Time: Time Quantization The sampling theorem and aliasing, another perspective If a periodic signal is band-limited to mf, then the Nyquist Rate for the signal is f NYQ =2mf ( ) m 2π y t =A + ( ) ω= = 2π f 0 A sin kωt+θ k k k=1 T The Sampling Theorem (for periodic signals) An exact reconstruction of a continuous-time periodic signal of period T from its samples can be obtained if the signal is the sampled at a frequency that exceeds the Nyquist Rate of the signal. Furthermore, the signal can be reconstructed by taking 2m+1 consecutive samples and solving the resultant 2m+1 equations for the 2m+1 unknowns <A 0, A 1, A m > and <θ 1, θ 2, θ m > and then expressing the signal by y t =A + m A sin kωt+θ () ( ) 0 k k k=1 where 2π ω= = 2π f T

(continued) Sampling Theorem Aliasing Anti-aliasing Filters Analog Signal Reconstruction

How often must a signal be sampled so that enough information about the original signal is available in the samples so that the samples can be used to represent the original signal? If the signal is not band-limited, there will be insufficient information gathered in any sampled sequence to completely represent the signal by the sampled sequence If a signal is band-limited, the signal must be sampled at a rate that exceeds the Nyquist Rate for that signal The sampling theorem only states that sufficient information is present in the samples if the hypothesis of the theorem is satisfied but does not tell how to reconstruct the signal. If a signal is not band limited or if it is sampled at a frequency below the Nyquist Rate, higher-frequency components will be aliased into lower frequency regions If the energy in a signal at frequencies above the effective Nyquist Rate as determined by a sampling clock is small, the aliased high-frequency components will be small as well

How often must a signal be sampled so that enough information about the original signal is available in the samples so that the samples can be used to represent the original signal? Often the information of interest in a signal is band-limited even though the signal is not band limited. Can this information be extracted by sampling? (That is, can the signals of interest be reconstructed from an appropriate number of samples?)

Sampling Theorem Aliasing Anti-aliasing Filters Analog Signal Reconstruction

Anti-aliasing Filters From Laplace Transforms Y From Fourier Transforms From Fourier Series F F ( s ) =Y( s) T( s) ( ) ( ) ( ) Y ω =Y ω T jω () A sin( kωt+θ ) y t =A + 0 k k k=1 ( ) A =A T jkω kf k T( jω) What would an ideal lowpass filter do?

Anti-aliasing Filters If T(s)=0 for f > f BE then y F (t) is band-limited If T(s) is an ideal lowpass function with band edge f BE and y(t) is either not band-limited or band-limited with a signal bandwidth that is larger than f BE, then y F (t) is band-limited with signal bandwidth f BE. T( jω)

Anti-aliasing Filters Lowpass filters are widely used to limit the bandwidth of a signal y(t) to the band-edge of the filter before the signal is sampled. Lowpass filters that are used in this application are termed Anti-aliasing filters Although the ideal lowpass filter function can not be implemented, lowpass filters with varying degrees of sharpness in the transition are widely available and well-studied. Some filters that are used for anti-aliasing filters include Butterworth, Chebyschev and Elliptic filters of varying order depending upon how Steep of a transition form the passband to the stop band is required. But remember that if there is information of interest above the band edge of the filter, it will be lost

Anti-aliasing Filters Ideal anti-aliasing filter Typical anti-aliasing filter T( jω) T( jω)

Typical ADC Environment

Sampling Theorem Aliasing Anti-aliasing Filters Analog Signal Reconstruction

Analog Signal Reconstruction Boolean sequence represents samples at fixed instances in time

Analog Signal Reconstruction Zero-order Hold can be implemented rather easily with a DAC and other components Although Sampling Theorem states there is sufficient information in samples to reconstruct input waveform, does not provide simple way to do the reconstruction

Analog Signal Reconstruction Although Sampling Theorem states there is sufficient information in samples to reconstruct input waveform, does not provide simple way to do the reconstruction

Analog Signal Reconstruction Zero-order Hold is an approximation to the actual signal that is quite close if highly oversampled but that differs considerably when sampling at near the Nyquist rate

Analog Signal Reconstruction Smoothing filter removes some of the discontinuities in the output of the zero-order hold

Analog Signal Reconstruction Smoothing filter removes some of the discontinuities in the output of the zero-order hold

Analog Signal Reconstruction For many DACs, output only valid at some times e.g. when clock is high

Track and Hold Ф TH IN OUT SH

Track and Hold

Track and Hold Ф TH IN OUT

Analog Signal Reconstruction LK VALID TH Also useful for more general DAC applications T/H may be integrated into the DAC

Sampling Theorem Aliasing Anti-aliasing Filters Analog Signal Reconstruction

Engineering Issues for Using Data Converters Inherent with Data Conversion Process Time Quantization Amplitude Quantization How do these issues ultimately impact performance?

Amplitude Quantization Analog Signals at output of DAC are quantized Digital Signals at output of ADC are quantized t Desired Quantized

Amplitude Quantization Amplitude quantization introduces errors in the output About all that can be done about quantization errors is to increase the resolution and this is the dominant factor that determines the required resolution in most applications Quantization errors are present even in ideal data converters!

Noise and Distortion Unwanted signals in the output of a system are called noise. There are generally two types of unwanted signals in any output Distortion Signals coming from some other sources

Amplitude Quantization Unwanted signals in the output of a system are called noise. Distortion Smooth nonlinearities Frequency attenuation Large Abrupt Nonlinearities Signals coming from other sources Movement of carriers in devices Interference from radiating sources Interference from electrical coupling

Amplitude Quantization Any unwanted signal in the output of a system is called noise Amplitude quantization introduces errors in the output quantization error called noise

Amplitude Quantization Unwanted signals in the output of a system are called noise. Distortion Smooth nonlinearities Frequency attenuation Large Abrupt Nonlinearities Signals coming from other sources Movement of carriers in devices Interference from electrical coupling Interference from radiating sources Undesired outputs inherent in the data conversion process itself

Amplitude Quantization How big is the quantization noise characterized?

End of Lecture 39