1 Prof. Nizamettin AYDIN Digital Signal Processing.

Slides:



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

1.The Concept and Representation of Periodic Sampling of a CT Signal 2.Analysis of Sampling in the Frequency Domain 3.The Sampling Theorem — the Nyquist.
EECS 20 Chapter 10 Part 11 Sampling and Reconstruction Last time we Viewed aperiodic functions in terms of frequency components via Fourier transform Gained.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
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
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.
… Representation of a CT Signal Using Impulse Functions
Numerical Methods Discrete Fourier Transform Part: Discrete Fourier Transform
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.
Signals and Systems Prof. H. Sameti Chapter 7: The Concept and Representation of Periodic Sampling of a CT Signal Analysis of Sampling in the Frequency.
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Digital signal Processing
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.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing 30/09/14.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Digital Signal Processing
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN 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.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Digital Signal Processing Lecture 3 – 4 By Dileep kumar
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Digital Signal Processing
1 Prof. Nizamettin AYDIN Digital Signal Processing.
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.
Digital Signal Processing
DSP First, 2/e Lecture 11 FIR Filtering Intro. May 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released.
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 #3 Complex Exponentials and Complex Numbers.
DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer.
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Digital Signal Processing (7KS01)
Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids
Sampling and Aliasing Prof. Brian L. Evans
Digital Signal Processing
7.0 Sampling 7.1 The Sampling Theorem
Lecture 14 Digital Filtering of Analog Signals
Lecture 10 Digital to Analog (D-to-A) Conversion
Lecture 9 Sampling & Aliasing
Lecture 4 Sampling & Aliasing
Digital Signal Processing
Lecture 13 Frequency Response of FIR Filters
Signals and Systems Chapter 7: Sampling
Digital Signal Processing
Signal Processing First
Lecture 7C Fourier Series Examples: Common Periodic Signals
CEN352, Dr. Ghulam Muhammad King Saud University
Lecture 5A: Operations on the Spectrum
Digital Signal Processing
Today's lecture System Implementation Discrete Time signals generation
Lecture 13: Sampling and Aliasing
Lecture 13: Sampling and Aliasing
Sampling and Aliasing.
Presentation transcript:

1 Prof. Nizamettin AYDIN Digital Signal Processing

2 Lecture 8 Sampling & Aliasing Digital Signal Processing

3 License Info for SPFirst Slides This work released under a Creative Commons License with the following terms:Creative Commons License Attribution The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original authors credit. Non-Commercial The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes—unless they get the licensor's permission. Share Alike The licensor permits others to distribute derivative works only under a license identical to the one that governs the licensor's work. Full Text of the License This (hidden) page should be kept with the presentation

4 READING ASSIGNMENTS This Lecture: –Chap 4, Sections 4-1 and 4-2 Replaces Ch 4 in DSP First, pp Other Reading: –Recitation: Strobe Demo (Sect 4-3) –Next Lecture: Chap. 4 Sects. 4-4 and 4-5

5 LECTURE OBJECTIVES SAMPLING can cause ALIASING –Sampling Theorem –Sampling Rate > 2(Highest Frequency) Spectrum for digital signals, x[n] –Normalized Frequency ALIASING

6 SYSTEMS Process Signals PROCESSING GOALS: –Change x(t) into y(t) For example, more BASS –Improve x(t), e.g., image deblurring –Extract Information from x(t) SYSTEM x(t)y(t)

7 System IMPLEMENTATION DIGITAL/MICROPROCESSOR Convert x(t) to numbers stored in memory ELECTRONICS x(t)y(t) COMPUTERD-to-AA-to-D x(t)y(t)y[n]x[n] ANALOG/ELECTRONIC: Circuits: resistors, capacitors, op-amps

8 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 = nT s IDEAL: x[n] = x(nT s ) C-to-D x(t)x[n]

9 SAMPLING RATE, f s SAMPLING RATE (f s ) –f s =1/T s NUMBER of SAMPLES PER SECOND –T s = 125 microsec  f s = 8000 samples/sec –UNITS ARE HERTZ: 8000 Hz UNIFORM SAMPLING at t = nT s = n/f s –IDEAL: x[n] = x(nT s )=x(n/f s ) C-to-D x(t) x[n]=x(nT s )

10

11 SAMPLING THEOREM HOW OFTEN ? –DEPENDS on FREQUENCY of SINUSOID –ANSWERED by SHANNON/NYQUIST Theorem –ALSO DEPENDS on “RECONSTRUCTION”

12 Reconstruction? Which One? Given the samples, draw a sinusoid through the values

13 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 × (16/8) × 60 × = Mbytes

14 DISCRETE-TIME SINUSOID Change x(t) into x[n] DERIVATION DEFINE DIGITAL FREQUENCY

15 DIGITAL FREQUENCY VARIES from 0 to 2 , as f varies from 0 to the sampling frequency UNITS are radians, not rad/sec –DIGITAL FREQUENCY is NORMALIZED

16 SPECTRUM (DIGITAL) 2  –0.2 

17 SPECTRUM (DIGITAL) ??? 2  –2  ? x[n] is zero frequency???

18 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 = 2  –Because

19 ALIASING DERIVATION Other Frequencies give the same

20 ALIASING DERIVATION–2 Other Frequencies give the same

21 ALIASING CONCLUSIONS ADDING f s or 2f s or –f s to the FREQ of x(t) gives exactly the same x[n] –The samples, x[n] = x(n/ f s ) are EXACTLY THE SAME VALUES GIVEN x[n], WE CAN’T DISTINGUISH f o FROM (f o + f s ) or (f o + 2f s )

22 NORMALIZED FREQUENCY DIGITAL FREQUENCY

23 SPECTRUM for x[n] PLOT versus NORMALIZED FREQUENCY INCLUDE ALL SPECTRUM LINES –ALIASES ADD MULTIPLES of 2  SUBTRACT MULTIPLES of 2  –FOLDED ALIASES (to be discussed later) ALIASES of NEGATIVE FREQS

24 SPECTRUM (MORE LINES) 2  –0.2  1.8  –1.8 

25 SPECTRUM (ALIASING CASE) –0.5  –1.5  0.5  2.5  –2.5  1.5 

26 SAMPLING GUI (con2dis)

27 SPECTRUM (FOLDING CASE) 0.4  –0.4  1.6  –1.6 

28 SAMPLING DEMO (Chap. 4)

29 ALIASING DERIVATION Other Frequencies give the same

30 ALIASING DERIVATION–2 Other Frequencies give the same

31 FOLDING DERIVATION Negative Freqs can give the same SAME DIGITAL SIGNAL

32 FOLDING (a type of ALIASING) MANY x(t) give IDENTICAL x[n] CAN’T TELL f o FROM (f s -f o ) –Or, (2f s -f o ) or, (3f s -f o ) EXAMPLE: –y(t) has 1000 Hz component –SAMPLING FREQ = 1500 Hz –WHAT is the “FOLDED” ALIAS ?

33 DIGITAL FREQ AGAIN FOLDED ALIAS ALIASING

34 FOLDING DIAGRAM

35 FOLDING DIAGRAM

36 STROBE DEMO (Synthetic)

37 ALIASING DERIVATION Other Frequencies give the same