Sampling and Reconstruction of Analog Signals

Similar documents
How To Understand The Nyquist Sampling Theorem

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

SGN-1158 Introduction to Signal Processing Test. Solutions

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

Frequency Response of FIR Filters

Analog Representations of Sound

Motorola Digital Signal Processors

Introduction to Digital Audio

Digital Transmission of Analog Data: PCM and Delta Modulation

The Calculation of G rms

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

Analysis/resynthesis with the short time Fourier transform

FFT Algorithms. Chapter 6. Contents 6.1

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

USB 3.0 CDR Model White Paper Revision 0.5

Basics of Digital Recording

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

Aliasing, Image Sampling and Reconstruction

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

The continuous and discrete Fourier transforms

Introduction to IQ-demodulation of RF-data

T = 10-' s. p(t)= ( (t-nt), T= 3. n=-oo. Figure P16.2

1995 Mixed-Signal Products SLAA013

1.4 Fast Fourier Transform (FFT) Algorithm

Sampling Theory For Digital Audio By Dan Lavry, Lavry Engineering, Inc.

Lecture 8 ELE 301: Signals and Systems

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

Analog and Digital Signals, Time and Frequency Representation of Signals

TCOM 370 NOTES 99-6 VOICE DIGITIZATION AND VOICE/DATA INTEGRATION

SIGNAL PROCESSING & SIMULATION NEWSLETTER

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

DIGITAL SIGNAL PROCESSING - APPLICATIONS IN MEDICINE

SECTION 6 DIGITAL FILTERS

Lab 5 Getting started with analog-digital conversion

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2010 Linear Systems Fundamentals

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

Time series analysis Matlab tutorial. Joachim Gross

SIGNAL PROCESSING FOR EFFECTIVE VIBRATION ANALYSIS

Auto-Tuning Using Fourier Coefficients

ADC and DAC. Quantization

Correlation and Convolution Class Notes for CMSC 426, Fall 2005 David Jacobs

1. (Ungraded) A noiseless 2-kHz channel is sampled every 5 ms. What is the maximum data rate?

The Algorithms of Speech Recognition, Programming and Simulating in MATLAB

Discrete-Time Signals and Systems

Multiplexing and Sampling Theory

Probability and Random Variables. Generation of random variables (r.v.)

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2009 Linear Systems Fundamentals

Lecture 1-6: Noise and Filters

Lock - in Amplifier and Applications

14: FM Radio Receiver

Improving A D Converter Performance Using Dither

Agilent Creating Multi-tone Signals With the N7509A Waveform Generation Toolbox. Application Note

A WEB BASED TRAINING MODULE FOR TEACHING DIGITAL COMMUNICATIONS

PYKC Jan Lecture 1 Slide 1

How to avoid typical pitfalls when measuring Variable Frequency Drives

Design of FIR Filters

Sampling: What Nyquist Didn t Say, and What to Do About It

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Real-Time Spectrum Analyzer Fundamentals

Matlab GUI for WFB spectral analysis

Understand the effects of clock jitter and phase noise on sampled systems A s higher resolution data converters that can

5 Signal Design for Bandlimited Channels

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Digital to Analog Converter. Raghu Tumati

Analog-to-Digital Voice Encoding

Chap#5 (Data communication)

Signal Processing First Lab 01: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.

Speech Signal Processing: An Overview

How To Understand The Discrete Fourier Transform

Linear Filtering Part II

A Sound Analysis and Synthesis System for Generating an Instrumental Piri Song

Implementation of the LMS Algorithm for Noise Cancellation on Speech Using the ARM LPC2378 Processor.

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY

Non-Data Aided Carrier Offset Compensation for SDR Implementation

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform


(2) (3) (4) (5) 3 J. M. Whittaker, Interpolatory Function Theory, Cambridge Tracts

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

CROSSING THE BRIDGE: TAKING AUDIO DSP FROM THE TEXTBOOK TO THE DSP DESIGN ENGINEER S BENCH. Robert C. Maher

Filter Comparison. Match #1: Analog vs. Digital Filters

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

What the Nyquist Criterion Means to Your Sampled Data System Design. by Walt Kester

Contents 1 Introduction 1 2 Background WWVB Time Code : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Friedman Interpolato

High Quality Integrated Data Reconstruction for Medical Applications

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek

Semester 2, Unit 4: Activity 21

6.025J Medical Device Design Lecture 3: Analog-to-Digital Conversion Prof. Joel L. Dawson

Time Series Analysis: Introduction to Signal Processing Concepts. Liam Kilmartin Discipline of Electrical & Electronic Engineering, NUI, Galway

Frequency Response of Filters

Lesson 16 Analog-to-Digital Converter (ADC)

FOURIER TRANSFORM BASED SIMPLE CHORD ANALYSIS. UIUC Physics 193 POM

Transcription:

Sampling and Reconstruction of Analog Signals Chapter Intended Learning Outcomes: (i) Ability to convert an analog signal to a discrete-time sequence via sampling (ii) Ability to construct an analog signal from a discrete-time sequence (iii) Understanding the conditions when a sampled signal can uniquely present its analog counterpart H. C. So Page 1 Semester B, 2011-2012

Sampling Process of converting a continuous-time signal discrete-time sequence into a is obtained by extracting every s where is known as the sampling period or interval sample at analog discrete-time signal signal Fig.4.1: Conversion of analog signal to discrete-time sequence Relationship between and is: (4.1) H. C. So Page 2 Semester B, 2011-2012

Conceptually, conversion of to is achieved by a continuous-time to discrete-time (CD) converter: CD converter impulse train to sequence conversion t n Fig.4.2: Block diagram of CD converter H. C. So Page 3 Semester B, 2011-2012

A fundamental question is whether can uniquely represent or if we can use to reconstruct t Fig.4.3: Different analog signals map to same sequence H. C. So Page 4 Semester B, 2011-2012

But, the answer is yes when: (1) is bandlimited such that its Fourier transform for where is called the bandwidth (2) Sampling period is sufficiently small Example 4.1 The continuous-time signal is used as the input for a CD converter with the sampling period s. Determine the resultant discrete-time signal. According to (4.1), is The frequency in is while that of is H. C. So Page 5 Semester B, 2011-2012

Frequency Domain Representation of Sampled Signal In the time domain, is obtained by multiplying by the impulse train : (4.2) with the use of the sifting property of (2.12) Let the sampling frequency in radian be in Hz). From Example 2.8: (or (4.3) H. C. So Page 6 Semester B, 2011-2012

Using multiplication property of Fourier transform: (4.4) where the convolution operation corresponds to continuoustime signals Using (4.2)-(4.4) and properties of, is: H. C. So Page 7 Semester B, 2011-2012

(4.5) which is the sum of infinite copies of scaled by H. C. So Page 8 Semester B, 2011-2012

When can get is chosen sufficiently large such that all copies of do not overlap, that is, or, we from............ Fig.4.4: for sufficiently large H. C. So Page 9 Semester B, 2011-2012

When is not chosen sufficiently large such that, copies of overlap, we cannot get from, which is referred to aliasing............ Fig.4.5: when is not large enough H. C. So Page 10 Semester B, 2011-2012

Nyquist Sampling Theorem (1928) Let be a bandlimited continuous-time signal with (4.6) Then is uniquely determined by its samples,, if (4.7) The bandwidth is also known as the Nyquist frequency while is called the Nyquist rate and must exceed it in order to avoid aliasing H. C. So Page 11 Semester B, 2011-2012

Application Biomedical Hz 1 khz Telephone speech khz 8 khz Music khz 44.1 khz Ultrasonic khz 250 khz Radar MHz 200 MHz Table 4.1: Typical bandwidths and sampling frequencies in signal processing applications Example 4.2 Determine the Nyquist frequency and Nyquist rate for the continuous-time signal which has the form of: The frequencies are 0, and. The Nyquist frequency is and the Nyquist rate is H. C. So Page 12 Semester B, 2011-2012

...... Fig.4.6: Multiplying and to recover In frequency domain, we multiply by with amplitude and bandwidth with, to obtain, and it corresponds to H. C. So Page 13 Semester B, 2011-2012

Reconstruction Process of transforming back to DC converter sequence to impulse train conversion Fig.4.7: Block diagram of DC converter From Fig.4.6, is (4.8) where H. C. So Page 14 Semester B, 2011-2012

For simplicity, we set as the average of and : (4.9) To get, we take inverse Fourier transform of and use Example 2.5: (4.10) where H. C. So Page 15 Semester B, 2011-2012

Using (2.23)-(2.24), (4.2) and (2.11)-(2.12), is: (4.11) which holds for all real values of H. C. So Page 16 Semester B, 2011-2012

The interpolation formula can be verified at : (4.12) It is easy to see that (4.13) For, we use s rule to obtain: (4.14) Substituting (4.13)-(4.14) into (4.12) yields: (4.15) which aligns with H. C. So Page 17 Semester B, 2011-2012

Example 4.3 Given a discrete-time sequence. Generate its time-delayed version which has the form of where and is a positive integer. Applying (4.11) with : By employing a change of variable of : Is it practical to get y[n]? H. C. So Page 18 Semester B, 2011-2012

Note that when, the time-shifted signal is simply obtained by shifting the sequence by samples: Sampling and Reconstruction in Digital Signal Processing CD converter digital signal processor DC converter Fig.4.8: Ideal digital processing of analog signal CD converter produces a sequence from is processed in discrete-time domain to give DC converter creates from according to (4.11): (4.16) H. C. So Page 19 Semester B, 2011-2012

anti-aliasing filter analog-to-digital converter digital signal processor digital-to-analog converter Fig.4.9: Practical digital processing of analog signal may not be precisely bandlimited a lowpass filter or anti-aliasing filter is needed to process Ideal CD converter is approximated by AD converter Not practical to generate AD converter introduces quantization error Ideal DC converter is approximated by DA converter because ideal reconstruction of (4.16) is impossible Not practical to perform infinite summation Not practical to have future data and are quantized signals H. C. So Page 20 Semester B, 2011-2012

Example 4.4 Suppose a continuous-time signal is sampled at a sampling frequency of 1000Hz to produce : Determine 2 possible positive values of, say, and. Discuss if or will be obtained when passing through the DC converter. According to (4.1) with s: is easily computed as: H. C. So Page 21 Semester B, 2011-2012

can be obtained by noting the periodicity of a sinusoid: As a result, we have: This is illustrated using the MATLAB code: O1=250*pi; %first frequency O2=2250*pi; %second frequency Ts=1/100000;%successive sample separation is 0.01T t=0:ts:0.02;%observation interval x1=cos(o1.*t); %tone from first frequency x2=cos(o2.*t); %tone from second frequency There are 2001 samples in 0.02s and interpolating the successive points based on plot yields good approximations H. C. So Page 22 Semester B, 2011-2012

1 0.8 0.6 0.4 0.2 0-0.2-0.4 x[n] -0.6-0.8-1 0 5 10 15 20 n Fig.4.10: Discrete-time sinusoid H. C. So Page 23 Semester B, 2011-2012

1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8 1 2-1 0 0.005 0.01 0.015 0.02 t Fig.4.11: Continuous-time sinusoids H. C. So Page 24 Semester B, 2011-2012

Passing but not through the DC converter only produces The Nyquist frequency of is and hence the sampling frequency without aliasing is Given Hz or, does not correspond to We can recover because the Nyquist frequency and Nyquist rate for are and Based on (4.11), is: with s H. C. So Page 25 Semester B, 2011-2012

The MATLAB code for reconstructing n=-10:30; %add 20 past and future samples x=cos(pi.*n./4); T=1/1000; %sampling interval is 1/1000 for l=1:2000 %observed interval is [0,0.02] t=(l-1)*t/100;%successive sample separation is 0.01T h=sinc((t-n.*t)./t); xr(l)=x*h.'; %approximate interpolation of (4.11) end is: We compute 2000 samples of in s The value of each at time t is approximated as x*h.' where the sinc vector is updated for each computation The MATLAB program is provided as ex4_4.m H. C. So Page 26 Semester B, 2011-2012

1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8 x r (t) -1 0 0.005 0.01 0.015 0.02 t Fig.4.12: Reconstructed continuous-time sinusoid H. C. So Page 27 Semester B, 2011-2012

Example 4.5 Play the sound for a discrete-time tone using MATLAB. The frequency of the corresponding analog signal is 440 Hz which corresponds to the A note in the American Standard pitch. The sampling frequency is 8000 Hz and the signal has a duration of 0.5 s. The MATLAB code is A=sin(2*pi*440*(0:1/8000:0.5));%discrete-time A sound(a,8000); %DA conversion and play Note that sampling frequency in Hz is assumed for sound H. C. So Page 28 Semester B, 2011-2012