Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 4 EE 345S Real-Time.

Slides:



Advertisements
Similar presentations
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
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.
EE445S Real-Time Digital Signal Processing Lab Spring 2014 Lecture 15 Quadrature Amplitude Modulation (QAM) Transmitter Prof. Brian L. Evans Dept. of Electrical.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Review on Fourier …. Slides edited from: Prof. Brian L. Evans and Mr. Dogu Arifler Dept. of Electrical and Computer Engineering The University of Texas.
CEN352, Dr. Ghulam Muhammad King Saud University
Sampling of continuous-Time Signal What is sampling? How to describe sampling mathematically? Is sampling arbitrary?
Continuous-time Signal Sampling Prof. Siripong Potisuk.
Continuous-Time Signal Analysis: The Fourier Transform
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.
Chapter 7 CT Signal Analysis : Fourier Transform Basil Hamed
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.
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.
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.
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.
… Representation of a CT Signal Using Impulse Functions
ECE 352 Systems II Manish K. Gupta, PhD Office: Caldwell Lab ece. osu. ece. osu. edu Home Page:
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.
Signals and Systems Lecture 20: Chapter 4 Sampling & Aliasing.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Spring.
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 Pulse Amplitude Modulation (PAM)
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Fall.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 382C-9 Embedded Software Systems Lecture 14 Communication.
Interpolation and Pulse Shaping
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
1 Chapter 5 Ideal Filters, Sampling, and Reconstruction Sections Wed. June 26, 2013.
Quadrature Amplitude Modulation (QAM) Transmitter
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.
ECE 4710: Lecture #6 1 Bandlimited Signals  Bandlimited waveforms have non-zero spectral components only within a finite frequency range  Waveform is.
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.
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.
Leo Lam © Signals and Systems EE235 Leo Lam.
Generating Sinusoidal Signals Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 445S Real-Time Digital.
ECE 352 Systems II Manish K. Gupta, PhD Office: Caldwell Lab Home Page:
EE445S Real-Time Digital Signal Processing Lab Spring 2014 Lecture 16 Quadrature Amplitude Modulation (QAM) Receiver Prof. Brian L. Evans Dept. of Electrical.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Fall.
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.
Digital Signal Processing
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
1 Digital Signal Processing (DSP) By: Prof. M.R.Asharif Department of Information Engineering University of the Ryukyus, Okinawa, Japan.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Sampling and Aliasing Prof. Brian L. Evans
Sampling and Aliasing Prof. Brian L. Evans
Module 3 Pulse Modulation.
Review on Fourier …. Slides edited from: Prof. Brian L. Evans and Mr. Dogu Arifler Dept. of Electrical and Computer Engineering The University of Texas.
Sampling and Quantization
Lecture Signals with limited frequency range
Sampling and Reconstruction
EE Audio Signals and Systems
Generating Sinusoidal Signals
Interpolation and Pulse Shaping
Rectangular Sampling.
Lesson Week 8 Fourier Transform of Time Functions (DC Signal, Periodic Signals, and Pulsed Cosine)
CEN352, Dr. Ghulam Muhammad King Saud University
Chapter 3 Sampling.
Sampling and Aliasing.
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
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 Lecture 4 EE 345S Real-Time Digital Signal Processing Lab Fall 2006 Sampling and Aliasing

4 - 2 Sampling: Time Domain Many signals originate as continuous-time signals, e.g. conventional music or voice By sampling a continuous-time signal at isolated, equally-spaced points in time, we obtain a sequence of numbers k  {…, -2, -1, 0, 1, 2,…} T s is the sampling period. Sampled analog waveform impulse train s(t)s(t) t TsTs TsTs Review

4 - 3 Sampling: Frequency Domain Sampling replicates spectrum of continuous-time signal at integer multiples of sampling frequency Fourier series of impulse train where  s = 2  f s  G()G() ss  s  s  s  F()F() 2  f max -2  f max Modulation by cos(2  s t) Modulation by cos(  s t) Review

4 - 4 Amplitude Modulation by Cosine Multiplication in time: convolution in Fourier domain Sifting property of Dirac delta functional Fourier transform property for modulation by a cosine Review

4 - 5 Amplitude Modulation by Cosine Example: y(t) = f(t) cos(  0 t) Assume f(t) is an ideal lowpass signal with bandwidth  1 Assume  1 <<  0 Y(  ) is real-valued if F(  ) is real-valued Demodulation: modulation then lowpass filtering Similar derivation for modulation with sin(  0 t) which is available on slides 9-7 and 9-8  0 1     F()F()  0 Y()Y() ½         +           +    ½F    ½F    Review

4 - 6 Shannon Sampling Theorem Continuous-time signal x(t) with frequencies no higher than f max can be reconstructed from its samples x(k T s ) if samples taken at rate f s > 2 f max Nyquist rate = 2 f max Nyquist frequency = f s / 2 Example: Sampling audio signals Human hearing is from about 20 Hz to 20 kHz Apply lowpass filter before sampling to pass frequencies up to 20 kHz and reject high frequencies Lowpass filter needs 10% of maximum passband frequency to roll off to zero (2 kHz rolloff in this case) What happens if f s = 2 f max ? Review

4 - 7 Sampling Theorem Assumption Continuous-time signal has no frequency content above f max Sampling time is exactly the same between any two samples Sequence of numbers obtained by sampling is represented in exact precision Conversion of sequence to continuous time is ideal In Practice

4 - 8 Bandwidth Bandwidth is defined as non-zero extent of spectrum in positive frequencies Lowpass spectrum on right: bandwidth is f max Bandpass spectrum on right: bandwidth is f 2 – f 1 Definition applies to both continuous-time and discrete-time signals Alternatives to “non-zero extent”? Bandpass Spectrum f1f1 f2f2 f –f2–f2 –f1–f1 Lowpass Spectrum f max -f max f

4 - 9 Bandpass Sampling Bandwidth: f 2 – f 1 Sampling rate f s must greater than analog bandwidth f s > f 2 – f 1 For replicas of bands to be centered at origin after sampling f center = ½ (f 1 + f 2 ) = k f s Lowpass filter to extract baseband Bandpass Spectrum f1f1 f2f2 f –f2–f2 –f1–f1 Sample at f s Sampled Bandpass Spectrum f1f1 f2f2 f –f2–f2 –f1–f1

Sampling and Oversampling As sampling rate increases, sampled waveform looks more like original In some applications, e.g. touchtone decoding, frequency content matters not waveform shape Zero crossings: frequency content of a sinusoid –Distance between two zero crossings: one half period. –With sampling theorem satisfied, a sampled sinusoid crosses zero the right number of times even though its waveform shape may be difficult to recognize DSP First, Ch. 4, Sampling & interpolation demo

Aliasing Analog sinusoid x(t) = A cos(2  f 0 t +  ) Sample at T s = 1/f s x[n] = x(T s n) = A cos(2  f 0 T s n +  ) Keeping the sampling period same, sample y(t) = A cos(2  (f 0 + l f s ) t +  ) where l is an integer y[n]= y(T s n) = A cos(2  (f 0 + lf s )T s n +  ) = A cos(2  f 0 T s n + 2  lf s T s n +  ) = A cos(2  f 0 T s n + 2  ln +  ) = A cos(2  f 0 T s n +  ) = x[n] Here, f s T s = 1 Since l is an integer, cos(x + 2  l) = cos(x) y[n] indistinguishable from x[n]

Aliasing Since l is any integer, a countable but infinite number of sinusoids will give same sequence of samples Frequencies f 0 + l f s for l  0 are called aliases of frequency f 0 with respect to f s All aliased frequencies appear to be the same as f 0 when sampled by f s

Folding Second source of aliasing frequencies From negative frequency component of a sinusoid, -f 0 + l f s, where l is any integer f s is the sampling rate f 0 is sinusoid frequency Sampling w(t) with a sampling period of T s = 1/f s So w[n] = x[n] = x(T s n) x(t) = A cos(2  f 0 t +  )

Aliasing and Folding Aliasing and folding of a sinusoid sin(2  f input t) sampled at f s = 2000 samples/s with f input varied Mirror image effect about f input = ½ f s gives rise to name of folding Apparent frequency (Hz) Input frequency, f input (Hz) f s = 2000 samples/s

DSP First Demonstrations Web site: Aliasing and folding (Chapter 4) Strobe demonstrations (Chapter 4) Disk attached to a shaft rotating at 750 rpm Keep strobe light flash rate F s the same Increase rotation rate F m (positive means counter-clockwise) Case I: Flash rate equal to rotation rate Vector appears to stand still When else does this phenomenon occur? F m = l F s For F m = 750 rpm, occurs at F s = {375, 250, 187.5, …} rpm

Strobe Demonstrations Tip of vector on wheel: r is radius of disk  is initial angle (phase) of vector F m is initial rotation rate in rotations per second t is time in seconds For F m = 720 rpm and r = 6 in, with vector initially vertical Sample at F s = 2 Hz (or 120 rpm), so T s = ½ s, vector stands still:

Strobe Demonstrations Sampling and aliasing –Sample p(t) at t = T s n = n / F s : –No aliasing will occur if F s > 2 | F m | –Consider F m = F s which could occur for any countably infinite number of F m and F s values: –Rotation will occur at rate of -1.9  rad/flash, which appears to go counterclockwise at rate of 0.1  rad/flash

Strobe Movies Fixes the strobe flash rate Increases rotation rate of shaft linearly with time Strobe initial keeps up with the increasing rotation rate until F m = ½ F s Then, disk appears to slow down (folding) Then, disk stops and appears to rotate in the other direction at an increasing rate (aliasing) Then, disk appears to slow down (folding) and stop And so forth