EE123 Digital Signal Processing

Similar documents
EE123 Digital Signal Processing

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

Performing the Spectrogram on the DSP Shield

Short-Time Fourier Transform and Its Inverse

Digital Signal Processing

Chapter 7. Frequency-Domain Representations 语音信号的频域表征

VU Signal and Image Processing. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

Fourier Methods of Spectral Estimation

EE216B: VLSI Signal Processing. Wavelets. Prof. Dejan Marković Shortcomings of the Fourier Transform (FT)

Signal Processing Summary

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

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

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

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

Speech Signal Analysis

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

FFT analysis in practice

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

Discrete Fourier Transform (DFT)

ADSP ADSP ADSP ADSP. Advanced Digital Signal Processing (18-792) Spring Fall Semester, Department of Electrical and Computer Engineering

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Digital Image Processing

CS3291: Digital Signal Processing

Moving from continuous- to discrete-time

Final Exam Practice Questions for Music 421, with Solutions

ENSC327 Communications Systems 14: Multiplexing. School of Engineering Science Simon Fraser University

4. Design of Discrete-Time Filters

Introduction to Wavelets. For sensor data processing

Final Exam Solutions June 7, 2004

Wavelet Transform. From C. Valens article, A Really Friendly Guide to Wavelets, 1999

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

Applications of Music Processing

Fourier and Wavelets

The Polyphase Filter Bank Technique

Lecture 3, Multirate Signal Processing

EE 438 Final Exam Spring 2000

Discrete Fourier Transform, DFT Input: N time samples

Singing Voice Detection. Applications of Music Processing. Singing Voice Detection. Singing Voice Detection. Singing Voice Detection

Digital Signal Processing

EECS 452 Practice Midterm Exam Solutions Fall 2014

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

EE123 Digital Signal Processing

ELT COMMUNICATION THEORY

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

speech signal S(n). This involves a transformation of S(n) into another signal or a set of signals

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

ENSC327 Communications Systems 14: Multiplexing. Jie Liang School of Engineering Science Simon Fraser University

Signal Processing Toolbox

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

Introduction to Wavelet Transform. A. Enis Çetin Visiting Professor Ryerson University

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

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

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

Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling)

Signal Processing. Introduction

Multirate Digital Signal Processing

6.02 Practice Problems: Modulation & Demodulation

E : Lecture 8 Source-Filter Processing. E : Lecture 8 Source-Filter Processing / 21

Automatic Speech Recognition handout (1)

WAVELET OFDM WAVELET OFDM

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.

F I R Filter (Finite Impulse Response)

Signal Analysis. Peak Detection. Envelope Follower (Amplitude detection) Music 270a: Signal Analysis

21/01/2014. Fundamentals of the analysis of neuronal oscillations. Separating sources

(Time )Frequency Analysis of EEG Waveforms

6.02 Fall 2012 Lecture #13

Final Exam Solutions June 14, 2006

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

DIGITAL COMMUNICATIONS SYSTEMS. MSc in Electronic Technologies and Communications

Representing Images and Sounds

6.02 Fall 2013 Lecture #14

Speech Production. Automatic Speech Recognition handout (1) Jan - Mar 2009 Revision : 1.1. Speech Communication. Spectrogram. Waveform.

Frequency Domain Representation of Signals

Aliasing in Fourier Analysis

IMPROVED CHANNEL ESTIMATION FOR OFDM BASED WLAN SYSTEMS. G.V.Rangaraj M.R.Raghavendra K.Giridhar

Laboratory Assignment 4. Fourier Sound Synthesis

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Signal processing preliminaries

Short Time Fourier Transform *

EE228 Applications of Course Concepts. DePiero

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Lecture 5: Sinusoidal Modeling

FFT-based Digital Receiver Architecture for Fast-scanning Application

Digital Signal Processing

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

Time-Frequency analysis of biophysical time series

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

STABLE32 FREQUENCY DOMAIN FUNCTIONS W.J. Riley, Hamilton Technical Services

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School

Estimation of Sinusoidally Modulated Signal Parameters Based on the Inverse Radon Transform

Lecture Schedule: Week Date Lecture Title

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

Spectrum Analysis - Elektronikpraktikum

Fourier transforms and series

Chapter 9. Chapter 9 275

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

Transcription:

EE123 Digital Signal Processing Lecture 5A Time-Frequency Tiling

Subtleties in filtering/processing with DFT x[n] H(e j! ) y[n] System is implemented by overlap-and-save Filtering using DFT H[k] π 2π

Subtleties in filtering/processing with DFT H[k] h[n] π 2π H(e jw ) -π π

Discrete Transforms (Finite) DFT is only one out of a LARGE class of transforms Used for: Analysis Compression Denoising Detection Recognition Approximation (Sparse) Sparse representation has been one of the hottest research topics in the last 15 years in sp

Example of spectral analysis Spectrum of a bird chirping Interesting,... but... Does not tell the whole story No temporal information! x[n] n 6 Spectrum of a bird chirp 5 4 3 2 1.5 1 1.5 2 2.5 Hz x 1 4

Time Dependent Fourier Transform To get temporal information, use part of the signal around every time point X[n,!) = 1X m= 1 x[n + m]w[m]e j!m *Also called Short-time Fourier Transform (STFT) Mapping from 1D 2D, n discrete, w cont.

Time Dependent Fourier Transform To get temporal information, use part of the signal around every time point X[n,!) = 1X m= 1 x[n + m]w[m]e j!m *Also called Short-time Fourier Transform (STFT)

Spectrogram 12 1 8 6 4 2 5 1 15 2 25 3 35 4 45 Frequency, Hz 3 25 2 15 1 5 5 1 15 2 25 3 35 4 45 Frequency, Hz 4 Frequency, Hz 3 2 1 2 4 6 8 1 12 14 16 18 Time, s

Discrete Time Dependent FT X r [k] = LX 1 m= L - Window length R - Jump of samples N - DFT length x[rr + m]w[m]e j2 km/n Tradeoff between time and frequency resolution

Heisenberg Boxes Time-Frequency uncertainty principle 1 t! 2! t http://www.jonasclaesson.com! t

DFT! = 2 N t = N! t =2 X[k] = N 1 X n=! x[n]e j2 kn/n one DFT coefficient t

DFT X[k] =! N 1 X n= x[n]e j2 kn/n! = 2 N t = N! t =2 Question: What is the effect of zero-padding? Answer: Overlapped Tiling! t

Discrete STFT X[r, k] =! = 2 L t = L LX 1 m= x[rr + m]w[m]e j2 km/n! optional one STFT coefficient t

Discrete STFT X[r, k] =! = 2 L t = L LX 1 m= x[rr + m]w[m]e j2 km/n! optional one STFT coefficient t

Discrete STFT X[r, k] = LX 1 m= optional x[rr + m]w[m]e j2 km/n!! = 2 L t = L Question: What is the effect of R on tiling? what effect of N? Answer: Overlapping in time or frequency or both! t

Applications Time Frequency Analysis Spectrogram of Orca whale 4 Frequency, Hz 3 2 1 1 2 3 4 5 6 7 8 Time, s

Spectrogram Frequency, Hz 4 3 2 1 (A) Frequency, Hz 4 3 2 1 2 4 6 8 1 12 14 16 18 Time, s (B) 2 4 6 8 1 12 14 16 18 Time, s What is the difference between the a) Window size B<A b) Window size B>A c) Window type is different d) (A) uses overlapping window

Sidelobes of Hann vs rectangular window DTFT of Hamming Window 4 DTFT of Rectangular Window 2 35 3 15 25 W(e j T ) 1 W(e j T ) 2 15 5 1 5-2 -1 1 2 /2 (Hz) -2-1 1 2 /2 (Hz)

Spectrogram Frequency, Hz 4 3 2 1 (A) Frequency, Hz 4 3 2 1 2 4 6 8 1 12 14 16 18 Time, s (B) 2 4 6 8 1 12 14 16 18 Time, s What is the difference between the a) Window size B<A b) Window size B>A c) Window type is different d) (A) uses overlapping window

Spectrogram Hamming Window, L = 32 Hamming Window, L = 32 DTFT of Hamming Window 1.2 2 1.8 15 w[n].6 W(e j T ) 1.4.2 5 5 1 15 2 25 3 n Hamming Window, L = 64-2 -1 1 2 /2 (Hz) Hamming Window, L = 64 DTFT of Hamming Window 1.2 4 1 35 w[n].8.6.4.2 W(e j T ) 3 25 2 15 1 5 1 2 3 4 5 6 n -2-1 1 2 /2 (Hz)

Spectrogram of FM y c (t) =A cos 2 f c t +2 y[n] =y(nt )=A exp j2 f Spectrogram of FM radio 88.6 f Z t x( )d Z nt x( )d! 88.5 88.4 t= t=2sec

Spectrogram of FM radio Baseband y[n] =y(nt )=A exp j2 f Z nt x( )d! x(t) =(L + R) {z } mono {z } {z } {z } {z +.1 cos(2 f p t) {z } pilot +(L R) cos(2 (2f p )t) {z } stereo +.5 RBDS(t) cos(2 (3f p )t). {z } digital RBDS Spectrogram of Demodulated FM radio (Adele on 96.5 MHz) 57KHz 38KHz 19KHz

Subcarrier FM radio (Hidden Radio Stations) 92KHz spelled wrong! 7KHz 7KHz 57KHz spelled wrong! 8KHz 9KHz

Applications Time Frequency Analysis Spectrogram of digital communications - Frequency Shift Keying JT65 https://gm7something.wordpress.com/212/12/9/nov-radio-days/ Signal Wiki: http://www.sigidwiki.com/wiki/category:active

STFT Reconstruction x[rr + m]w L [m] = 1 N NX 1 k= X[n, k]e j2 km/n For non-overlapping windows, R=L : x[n] = x[n rl] w L [n rl] rl apple n apple (r + 1)R 1 What is the problem?

STFT Reconstruction x[rr + m]w L [m] = 1 N NX 1 k= X[n, k]e j2 km/n For non-overlapping windows, R=L : x[n] = x[n rl] w L [n rl] rl apple n apple (r + 1)R 1 For stable reconstruction must overlap window 5% (at least)

STFT Reconstruction For stable reconstruction must overlap window 5% (at least) For Hann, Bartlett reconstruct with overlap and add. No division!

n Applications Noise removal Recall bird chirp x[n] 6 Spectrum of a bird chirp 5 4 3 2 1.5 1 1.5 2 2.5 Hz x 1 4

Application Denoising of Sparse spectrograms 4 Frequency, Hz 3 2 1 2 4 6 8 1 12 14 16 18 Time, s Spectrum is sparse! can implement adaptive filter, or just threshold!

Limitations of Discrete STFT Need overlapping Not orthogonal Computationally intensive O(MN log N) Same size Heisenberg boxes

From STFT to Wavelets Basic Idea: low-freq changes slowly - fast tracking unimportant Fast tracking of high-freq is important in many apps. Must adapt Heisenberg box to frequency Back to continuous time for a bit...

From STFT to Wavelets Continuous time t t!! t t! u t!! u