Spectrogram Review The Sampling Problem: 2π Ambiguity Fourier Series. Lecture 6: Sampling. ECE 401: Signal and Image Analysis. University of Illinois

Similar documents
Syllabus Cosines Sampled Signals. Lecture 1: Cosines. ECE 401: Signal and Image Analysis. University of Illinois 1/19/2017

Digital Signal Processing

Final Exam Solutions June 7, 2004

Final Exam Solutions June 14, 2006

EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

( ) = V s ( jω ) = 2 kω, a = 4, R s. = 500 nf Draw a Bode diagram of the magnitude and phase of the frequency. Let R p. response H jω. V in.

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.

Lecture 7 Frequency Modulation

Data Acquisition Systems. Signal DAQ System The Answer?

Discrete-time Signals & Systems

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Intuitive Guide to Fourier Analysis. Charan Langton Victor Levin

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

Sampling and Reconstruction of Analog Signals

Module 3 : Sampling and Reconstruction Problem Set 3

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

Basic Signals and Systems

Solution to Chapter 4 Problems

Laboratory Assignment 4. Fourier Sound Synthesis

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Fourier Methods of Spectral Estimation

Aliasing in Fourier Analysis

Signals and Systems Lecture 6: Fourier Applications

DIGITAL SIGNAL PROCESSING. Chapter 1 Introduction to Discrete-Time Signals & Sampling

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

Signals and Systems. Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI

Chapter 6 CONTINUOUS-TIME, IMPULSE-MODULATED, AND DISCRETE-TIME SIGNALS. 6.6 Sampling Theorem 6.7 Aliasing 6.8 Interrelations

ECE 201: Introduction to Signal Analysis

Signals and Systems Lecture 6: Fourier Applications

Chapter 1. Electronics and Semiconductors

Final Exam Practice Questions for Music 421, with Solutions

READING ASSIGNMENTS. Signal Processing First. SYSTEMS Process Signals LECTURE OBJECTIVES. This Lecture: Lecture 8 Sampling & Aliasing.

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

6.02 Fall 2013 Lecture #14

Digital Signal Processing Lecture 1 - Introduction

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu

Discrete-time Signals & Systems

Sinusoids. Lecture #2 Chapter 2. BME 310 Biomedical Computing - J.Schesser

Midterm 1. Total. Name of Student on Your Left: Name of Student on Your Right: EE 20N: Structure and Interpretation of Signals and Systems

Multirate Digital Signal Processing

Chapter 4 Applications of the Fourier Series. Raja M. Taufika R. Ismail. September 29, 2017

URBANA-CHAMPAIGN. CS 498PS Audio Computing Lab. Audio DSP basics. Paris Smaragdis. paris.cs.illinois.

Lecture Schedule: Week Date Lecture Title

Frequency-Domain Sharing and Fourier Series

Laboratory Assignment 5 Amplitude Modulation

Recall. Sampling. Why discrete time? Why discrete time? Many signals are continuous-time signals Light Object wave CCD

FFT analysis in practice

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

PROBLEM SET 5. Reminder: Quiz 1will be on March 6, during the regular class hour. Details to follow. z = e jω h[n] H(e jω ) H(z) DTFT.

OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE. EEE 403 Digital Signal Processing 10 Periodic Sampling

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Interfacing a Microprocessor to the Analog World

PYKC 27 Feb 2017 EA2.3 Electronics 2 Lecture PYKC 27 Feb 2017 EA2.3 Electronics 2 Lecture 11-2

LECTURER NOTE SMJE3163 DSP

ANALOGUE AND DIGITAL COMMUNICATION

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

Spectrum Analysis - Elektronikpraktikum

Distortion Analysis T S. 2 N for all k not defined above. THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then

6.02 Fall 2012 Lecture #13

E40M Sound and Music. M. Horowitz, J. Plummer, R. Howe 1

Spring 2018 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #1 Sinusoids, Transforms and Transfer Functions

HW 6 Due: November 3, 10:39 AM (in class)

CS3291: Digital Signal Processing

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No

From Fourier Series to Analysis of Non-stationary Signals - VII

F I R Filter (Finite Impulse Response)

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

Problem Set 1 (Solutions are due Mon )

Lecture 25: The Theorem of (Dyadic) MRA

Chapter-2 SAMPLING PROCESS

zt ( ) = Ae find f(t)=re( zt ( )), g(t)= Im( zt ( )), and r(t), and θ ( t) if z(t)=r(t) e

Multirate DSP, part 1: Upsampling and downsampling

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

ECE 201: Introduction to Signal Analysis. Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University

Introduction to Discrete-Time Control Systems

Wireless Communication

Aliasing. Consider an analog sinusoid, representing perhaps a carrier in a radio communications system,

ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130,

ECE 201: Introduction to Signal Analysis

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

ECE 429 / 529 Digital Signal Processing

E40M Sound and Music. M. Horowitz, J. Plummer, R. Howe 1

Signals and Systems EE235. Leo Lam

ME scope Application Note 01 The FFT, Leakage, and Windowing

Lecture notes on Waves/Spectra Noise, Correlations and.

Suggested Solutions to Examination SSY130 Applied Signal Processing

1. page xviii, line 23:... conventional. Part of the reason for this...

Digital Processing of Continuous-Time Signals

HW 1 is due on tuesday. PPI is due on Thurs ( to hero by 5PM) Lab starts next week.

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

Digital Processing of

Experiment 8: Sampling

ECE 484 Digital Image Processing Lec 09 - Image Resampling

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Moving from continuous- to discrete-time

Transcription:

Lecture 6: Sampling ECE 401: Signal and Image Analysis University of Illinois 2/7/2017

1 Spectrogram Review 2 The Sampling Problem: 2π Ambiguity 3 Fourier Series

Outline 1 Spectrogram Review 2 The Sampling Problem: 2π Ambiguity 3 Fourier Series

On-Board Practice Eastern Illinois is famous for two types of frogs. The Monotonal Illinois Frog (MIF) has a sinusoidal call at 50Hz: b(t) = sin (100πt) The Bitonal Illinois Frog (BIF) has a call which is two sinusoids, at 49Hz and 51Hz: m(t) = 0.5 sin (98πt) + 0.5 sin (102πt) You have a signal; in order to determine if it s b(t) or m(t), you compute its spectrogram. How long does the spectrogram window need to be?

Outline 1 Spectrogram Review 2 The Sampling Problem: 2π Ambiguity 3 Fourier Series

Definition of Sampling Sampling means that you measure the signal (sound pressure, voltage, or whatever) once per T = 1 F s seconds, and store the value in a computer. x[n] = x(nt ) = x(n/f s )

2π Ambiguity in Phase The problem with sampling is that cos(2π) = cos(0). More generally, e jθ+2πk = e jθ e j2πk = e jθ for any integer k

2π Ambiguity in Frequency The 2π-ambiguity means that cos (ωn) = cos ((ω + 2πk)n) for any integer k Every sample of the signal on the left is exactly the same as every sample of the signal on the right. The only way to tell them apart would be if you knew the function in the spaces between the samples, e.g., at n = 1 2. But you don t. The integer values of n are all you get. So in this sense, the frequencies ω and ω ± 2π are exactly the same frequency.

2π Ambiguity in Frequency The 2π-ambiguity means that cos (ωn) = cos ((ω + 2πk)n) for any integer k Every sample of the signal on the left is exactly the same as every sample of the signal on the right. The only way to tell them apart would be if you knew the function in the spaces between the samples, e.g., at n = 1 2. But you don t. The integer values of n are all you get. So in this sense, the frequencies ω and ω ± 2π are exactly the same frequency.

Spectrum of a Discrete-Time Signal is Periodic In order to represent the fact that ω and ω + 2π are actually the same angle, we usually say that the spectrum of every discrete-time signal is periodic with period 2π: X (ω) = X (ω + 2π)

Spectrum of a Discrete-Time Signal is Periodic For example, x[n] = sin(0.137πn) = (exp(0.137jπn) + exp( 0.137jπn))/2j has the Fourier-series based power spectrum 1 X ω 2 4 ω = 0.137π + 2πk for any integer k 1 = 4 ω = 0.137π + 2πk for any integer k 0 otherwise Often we will leave off the 2πk, and assume that you understand it s still there. For example, the following equation has exactly the same meaning as the one above, because X (ω) is periodic: 1 X ω 2 4 ω = 0.137π 1 = 4 ω = 0.137π 0 otherwise

Principal Phase: Example It usually makes most sense to define ω in the range [ π, π]. Thus, for example, an 875Hz tone x(t) = sin (1750πt) when sampled at F s = 1000samples/second produces ( ) 1750πn x[n] = sin = sin (1.75πn) 1000 = sin ( 0.25πn) = sin (0.25πn)

Principal Phase in Principle So if the continuous-time frequency of a sine wave is Ω radians/second, then its discrete-time frequency can be defined in a few different ways: Ambiguous definition: ω = Ω F s ± 2πk for any integer k ( ) Ω Unambiguous definition: ω = mod, 2π F s where the modulo operator is usually defined so that π < ω π, but sometimes we ll wrap it around and define it so that 0 ω < 2π.

Outline 1 Spectrogram Review 2 The Sampling Problem: 2π Ambiguity 3 Fourier Series

Fourier Series Remember that any periodic signal can be written as x(t) = So when sampled, it would be x[n] = k= k= X k e jkω 0t X k e jkω 0n, ω 0 = Ω 0 F s Except that formula is INCORRECT in the sense that, for large values of k, kω 0 > π! (I hate to call it incorrect; DECEPTIVE would be a better term. The signal really is e jkω 0n, but the signal is ALSO e j(kω 0 2π)n ).

Aliasing Problem: the modulo operator wraps around all of the high-frequency components, back into the principal phase range: x[n] = k= X k e jmod(kω 0,2π)n Since the summation is infinite, that means we have an infinite number of high-frequency harmonics wrapped around into the principal phase area. This means the signal is distorted.

Solution: Lowpass Filtering The solution is to lowpass filter x(t) (i.e., smooth it) before sampling it. We lowpass filter it in order to zero-out any harmonics with frequency kω 0 > πf s, equivalent to kf 0 > 0.5F S. Thus y(t) = LPF(x(t)) = where k max = F s /2F 0. Then y[n] = y(n/f s ) = k max k max X k e jkω0t k max where we now have the guarantee that k max X k e jkω0n π k max ω 0 and k max ω 0 π

Nyquist Theorem It is possible to reconstruct a signal from its samples as long as its highest frequency component has a frequency F < 0.5F s.