Signal Processing First

Slides:



Advertisements
Similar presentations
CEN352, Dr. Ghulam Muhammad King Saud University
Advertisements

Sampling of Continuous-Time Signals
1 Prof. Nizamettin AYDIN Digital Signal Processing.
8/27/2015 © 2003, JH McClellan & RW Schafer 1 Signal Processing First Lecture 8 Sampling & Aliasing.
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.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Signals and Systems Lecture 20: Chapter 4 Sampling & Aliasing.
Lecture 6: Aliasing Sections 1.6. Key Points Two continuous-time sinusoids having di ff erent frequencies f and f (Hz) may, when sampled at the same sampling.
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 4 EE 345S Real-Time.
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
Digital Signal Processing
Digital Signal Processing
Sampling and Aliasing.
Lecture 2 Analog to digital conversion & Basic discrete signals.
DSP First, 2/e Lecture 7 Fourier Series Analysis.
DSP First, 2/e Lecture 5 Spectrum Representation.
DSP First, 2/e Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids.
DSP First, 2/e Lecture 18 DFS: Discrete Fourier Series, and Windowing.
DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Digital Signal Processing (7KS01)
Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids
Time-Frequency Spectrum
Fourier Series Prof. Brian L. Evans
Sampling and Aliasing Prof. Brian L. Evans
Signal Processing First
Example 1: Voltage on a capacitor as a function of time.
Lecture 11 FIR Filtering Intro
Periodic Signals Prof. Brian L. Evans
LECTURE #3 Complex Exponentials & Complex Numbers
Sampling and Aliasing Prof. Brian L. Evans
Signal Processing First
Lecture 12 Linearity & Time-Invariance Convolution
Lecture 5 Spectrum Representation
SAMPLING & ALIASING.
Sampling and Reconstruction
EE Audio Signals and Systems
لجنة الهندسة الكهربائية
Lecture 14 Digital Filtering of Analog Signals
Lecture 10 Digital to Analog (D-to-A) Conversion
Lecture 9 Sampling & Aliasing
Lecture 4 Sampling & Aliasing
Lecture 8 Fourier Series & Spectrum
LECTURE #2 Phase & Time-Shift Delay & Attenuation
Digital Signal Processing
Lecture 16a FIR Filter Design via Windowing
Lecture 13 Frequency Response of FIR Filters
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Chapter 2 Ideal Sampling and Nyquist Theorem
Lecture 17 DFT: Discrete Fourier Transform
Lecture 15 DTFT: Discrete-Time Fourier Transform
LECTURE #4 Phasor Addition Theorem
Lecture 7C Fourier Series Examples: Common Periodic Signals
Lecture 20 Z Transforms: Introduction
Signal Processing First
CEN352, Dr. Ghulam Muhammad King Saud University
Lecture 22 IIR Filters: Feedback and H(z)
Lecture 5A: Operations on the Spectrum
Today's lecture System Implementation Discrete Time signals generation
Lecture 13: Sampling and Aliasing
Lecture 13: Sampling and Aliasing
Signal Processing First
Sampling and Aliasing.
State Space approach State Variables of a Dynamical System
Lecture 21 Zeros of H(z) and the Frequency Domain
Presentation transcript:

Signal Processing First Lecture 8 Sampling & Aliasing 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer READING ASSIGNMENTS This Lecture: Chap 4, Sections 4-1 and 4-2 Replaces Ch 4 in DSP First, pp. 83-94 Other Reading: Recitation: Strobe Demo (Sect 4-3) Next Lecture: Chap. 4 Sects. 4-4 and 4-5 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer LECTURE OBJECTIVES SAMPLING can cause ALIASING Nyquist/Shannon Sampling Theorem Sampling Rate (fs) > 2fmax(Signal bandwidth) Spectrum for digital signals, x[n] Normalized Frequency ALIASING 2/22/2019 © 2003, JH McClellan & RW Schafer

SYSTEMS Process Signals x(t) y(t) PROCESSING GOALS: We need to change x(t) into y(t) for many engineering applications: For example, more BASS, image deblurring, denoising, etc 2/22/2019 © 2003, JH McClellan & RW Schafer

System IMPLEMENTATION ANALOG/ELECTRONIC: Circuits: resistors, capacitors, op-amps ELECTRONICS x(t) y(t) DIGITAL/MICROPROCESSOR Convert x(t) to numbers stored in memory COMPUTER D-to-A A-to-D x(t) y(t) y[n] x[n] 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SAMPLING x(t) SAMPLING PROCESS Convert x(t) to numbers x[n] “n” is an integer; x[n] is a sequence of values Think of “n” as the storage address in memory UNIFORM SAMPLING at t = nTs IDEAL: x[n] = x(nTs) A-to-D x(t) x[n] 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SAMPLING RATE, fs SAMPLING RATE (fs) fs =1/Ts NUMBER of SAMPLES PER SECOND Ts = 125 microsec  fs = 8000 samples/sec UNITS ARE HERTZ: 8000 Hz UNIFORM SAMPLING at t = nTs = n/fs IDEAL: x[n] = x(nTs)=x(n/fs) x[n]=x(nTs) x(t) A-to-D 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SAMPLING THEOREM HOW OFTEN ? DEPENDS on FREQUENCY of SINUSOID ANSWERED by NYQUIST/SHANNON Theorem ALSO DEPENDS on “RECONSTRUCTION” 2/22/2019 © 2003, JH McClellan & RW Schafer

Reconstruction? Which One? Given the samples, draw a sinusoid through the values 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer STORING DIGITAL SOUND x[n] is a SAMPLED SINUSOID A list of numbers stored in memory EXAMPLE: audio CD CD rate is 44,100 samples per second 16-bit samples Stereo uses 2 channels Number of bytes for 1 minute is 2 X (16/8) X 60 X 44100 = 10.584 Mbytes 2/22/2019 © 2003, JH McClellan & RW Schafer

DISCRETE-TIME SINUSOID Change x(t) into x[n] DERIVATION DEFINE DIGITAL FREQUENCY 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer DIGITAL FREQUENCY VARIES from 0 to 2p, as f varies from 0 to the sampling frequency UNITS are radians, not rad/sec DIGITAL FREQUENCY is NORMALIZED 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SPECTRUM (DIGITAL) –2p(0.1) 2p(0.1) 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SPECTRUM (DIGITAL) ??? ? –2p (1) 2p(1) x[n] is zero frequency??? 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer The REST of the STORY Spectrum of x[n] has more than one line for each complex exponential Called ALIASING MANY SPECTRAL LINES SPECTRUM is PERIODIC with period = 2p Because 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer ALIASING DERIVATION Other Frequencies give the same 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer ALIASING DERIVATION–2 Other Frequencies give the same 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer ALIASING CONCLUSIONS ADDING fs or 2fs or –fs to the FREQ of x(t) gives exactly the same x[n] The samples, x[n] = x(n/ fs ) are EXACTLY THE SAME VALUES GIVEN x[n], WE CAN’T DISTINGUISH fo FROM (fo + fs ) or (fo + 2fs ) 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer NORMALIZED FREQUENCY DIGITAL FREQUENCY 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SPECTRUM for x[n] PLOT versus NORMALIZED FREQUENCY INCLUDE ALL SPECTRUM LINES ALIASES ADD MULTIPLES of 2p SUBTRACT MULTIPLES of 2p FOLDED ALIASES (to be discussed later) ALIASES of NEGATIVE FREQS 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SPECTRUM (MORE LINES) 2p(0.1) –0.2p –1.8p 1.8p 2/22/2019 © 2003, JH McClellan & RW Schafer

SPECTRUM (ALIASING CASE) 2/22/2019 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer SAMPLING GUI (con2dis) 2/22/2019 © 2003, JH McClellan & RW Schafer

SPECTRUM (FOLDING CASE) 2/22/2019 © 2003, JH McClellan & RW Schafer