Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.

Slides:



Advertisements
Similar presentations
| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
Advertisements

EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
EE381K-14 Multidimensional DSP Multidimensional Resampling Lecture by Prof. Brian L. Evans Scribe: Serene Banerjee Dept. of Electrical and Comp. Eng. The.
Discrete Fourier Transform(2) Prof. Siripong Potisuk.
Discrete-Time Convolution Linear Systems and Signals Lecture 8 Spring 2008.
Leo Lam © Signals and Systems EE235. Transformers Leo Lam ©
SAMPLING & ALIASING. OVERVIEW Periodic sampling, the process of representing a continuous signal with a sequence of discrete data values, pervades the.
Sampling of Continuous-Time Signals
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
First semester King Saud University College of Applied studies and Community Service 1301CT.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Chapter 4: Sampling of Continuous-Time Signals
1 Today's lecture −Concept of Aliasing −Spectrum for Discrete Time Domain −Over-Sampling and Under-Sampling −Aliasing −Folding −Ideal Reconstruction −D-to-A.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Echivalarea sistemelor analogice cu sisteme digitale Prof.dr.ing. Ioan NAFORNITA.
… Representation of a CT Signal Using Impulse Functions
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Fourier Analysis of Systems Ch.5 Kamen and Heck. 5.1 Fourier Analysis of Continuous- Time Systems Consider a linear time-invariant continuous-time system.
DTFT And Fourier Transform
Random signals. Histogram of the random signal Continuous Time Sinusoidal signals.
Digital Pulse Amplitude Modulation (PAM)
Digital Signal Processing
Interpolation and Pulse Shaping
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing.
Signals and Systems Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 382C-9 Embedded Software Systems.
Notice  HW problems for Z-transform at available on the course website  due this Friday (9/26/2014) 
Signals Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 313 Linear Systems and Signals Fall 2010.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 4 EE 345S Real-Time.
Leo Lam © Signals and Systems EE235 Leo Lam.
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
Generating Sinusoidal Signals Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 445S Real-Time Digital.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Fall.
Digital Signal Processing
Sampling of Continuous-Time Signals Quote of the Day Optimist: "The glass is half full." Pessimist: "The glass is half empty." Engineer: "That glass is.
Prof. Nizamettin AYDIN Advanced Digital Signal Processing 1.
Sampling and Aliasing.
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Continuous-time Signal Sampling
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 3
Finite Impulse Response Filters
Sampling and Aliasing Prof. Brian L. Evans
Echivalarea sistemelor analogice cu sisteme digitale
Sampling and Aliasing Prof. Brian L. Evans
Module 3 Pulse Modulation.
SAMPLING & ALIASING.
Sampling and Quantization
Sampling and Reconstruction
EE Audio Signals and Systems
Generating Sinusoidal Signals
لجنة الهندسة الكهربائية
Lecture 14 Digital Filtering of Analog Signals
Lecture 10 Digital to Analog (D-to-A) Conversion
The sampling of continuous-time signals is an important topic
Sampling and the Discrete Fourier Transform
Advanced Digital Signal Processing
Interpolation and Pulse Shaping
Rectangular Sampling.
Signals and Systems Revision Lecture 2
Chapter 7 Finite Impulse Response(FIR) Filter Design
Chapter 3 Sampling.
Digital Signal Processing
Sampling and Aliasing.
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
State Space approach State Variables of a Dynamical System
Presentation transcript:

Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring 2017 Lecture 7 Interpolation and Pulse Shaping

7 - 2 Outline Discrete-to-continuous conversion Interpolation Pulse shapes Rectangular Triangular Sinc Raised cosine Sampling and interpolation demonstration Conclusion

Data Conversion Analog-to-Digital Conversion Lowpass filter has stopband frequency less than ½ f s to reduce aliasing at sampler output (enforce sampling theorem) Digital-to-Analog Conversion Discrete-to-continuous conversion could be as simple as sample and hold Lowpass filter has stopband frequency less than ½ f s to reduce artificial high frequencies Analog Lowpass Filter Discrete to Continuous Conversion fsfs Lecture 7 Analog Lowpass Filter Quantizer Sampler at sampling rate of f s Lecture 8Lecture Data Conversion

7 - 4 Discrete-to-Continuous Conversion Input: sequence of samples y[n] Output: smooth continuous-time function obtained through interpolation (by “connecting the dots”) If f 0 < ½ f s, then would be converted to Otherwise, aliasing has occurred, and the converter would reconstruct a cosine wave whose frequency is equal to the aliased positive frequency that is less than ½ f s n

7 - 5 Discrete-to-Continuous Conversion General form of interpolation is sum of weighted pulses Sequence y[n] converted into continuous-time signal that is an approximation of y(t) Pulse function p(t) could be rectangular, triangular, parabolic, sinc, truncated sinc, raised cosine, etc. Pulses overlap in time domain when pulse duration is greater than or equal to sampling period T s Pulses generally have unit amplitude and/or unit area Above formula is related to discrete-time convolution

7 - 6 Interpolation From Tables Using mathematical tables of numeric values of functions to compute a value of the function Estimate f(1.5) from table Zero-order hold: take value to be f(1) to make f(1.5) = 1.0 (“stairsteps”) Linear interpolation: average values of nearest two neighbors to get f(1.5) = 2.5 Curve fitting: fit four points in table to polynomal a 0 + a 1 x + a 2 x 2 + a 3 x 3 which gives f(1.5) = x 2 = 2.25 xf(x)f(x) x

7 - 7 Rectangular Pulse Zero-order hold Easy to implement in hardware or software The Fourier transform is In time domain, no overlap between p(t) and adjacent pulses p(t - T s ) and p(t + T s ) In frequency domain, sinc has infinite two-sided extent; hence, the spectrum is not bandlimited t 1 p(t)p(t) -½ T s ½ T s

7 - 8 Sinc Function Even function (symmetric at origin) Zero crossings at Amplitude decreases proportionally to 1/x 0 1 x sinc(x) 

7 - 9 Triangular Pulse Linear interpolation It is relatively easy to implement in hardware or software, although not as easy as zero-order hold Overlap between p(t) and its adjacent pulses p(t - T s ) and p(t + T s ) but with no others Fourier transform is How to compute this? Hint: Triangular pulse is equal to 1 / T s times the convolution of rectangular pulse with itself In frequency domain, sinc 2 (f T s ) has infinite two-sided extent; hence, the spectrum is not bandlimited t 1 p(t)p(t) -Ts-Ts TsTs

Sinc Pulse Ideal bandlimited interpolation In time domain, infinite overlap between other pulses Fourier transform has extent f  [-W, W], where P(f) is ideal lowpass frequency response with bandwidth W In frequency domain, sinc pulse is bandlimited Interpolate with infinite extent pulse in time? Truncate sinc pulse by multiplying it by rectangular pulse Causes smearing in frequency domain (multiplication in time domain is convolution in frequency domain)

Raised Cosine Pulse: Time Domain Pulse shaping used in communication systems W is bandwidth of an ideal lowpass response   [0, 1] rolloff factor Zero crossings at t =  T s,  2 T s, … See handout G in reader on raised cosine pulse ideal lowpass filter impulse response Attenuation by 1/t 2 for large t to reduce tail Simon Haykin, Communication Systems, 3 rd ed.

Raised Cosine Pulse Spectra Pulse shaping used in communication systems Bandwidth increased by factor of (1 +  ): (1 +  ) W = 2 W – f 1 f 1 marks transition from passband to stopband Bandwidth generally scarce in communication systems Simon Haykin, Communication Systems, 3 rd ed.

Sampling and Interpolation Demo DSP First, 2 nd ed., ch. 4, Sampling/interpolation Sample sinusoid y(t) to form y[n] Reconstruct sinusoid using rectangular, triangular, or truncated sinc pulse p(t) Which pulse gives the best reconstruction? Sinc pulse is truncated to be four sampling periods long. Why is the sinc pulse truncated? What happens as the sampling rate is increased?

Increasing Sampling Rates Consider adding speech clip to an audio track Speech signal s[n] is sampled at 8 kHz Audio signal r[n] is sampled at 48 kHz Inefficient approach: Interpolate in continuous time Efficient approach: Interpolate in discrete time Digital to Analog Converte r Analog to Digital Converter 8000 Hz48000 Hz s[n]s[n] + r[n]r[n] FIR Filter 6 s[n]s[n] + r[n]r[n] Upsampling Interpolation

Increasing Sampling Rates Upsampling by L Copies input sample to output and appends L-1 zeros Output has L times as many samples as input samples Audio Demonstration Plots/plays x[n] which is a 600 Hz cosine sampled at 8000 Hz Plots/plays v[n]: spectrum is spectrum of x[n] plus L-1 replicas Interpolation filter fills in inserted zero values in time domain and attenuates replicas in frequency domain due to upsampling Rectangular, triangular and truncated sinc filters used FIR Filter 6 x[n]x[n] Upsampling Interpolation v[n]v[n] y[n]y[n]

Conclusion Discrete-to-continuous time conversion involves interpolating between known discrete-time samples y[n] using pulse shape p(t) Common pulse shapes Rectangular for same-and-hold interpolation Triangular for linear interpolation Sinc for optimal bandlimited linear interpolation but impractical Truncated sinc or raised cosine for practical interpolation Truncation in time causes smearing in frequency n