SNR Calculation and Spectral Estimation [S&T Appendix A]

Similar documents
INTRODUCTION TO DELTA-SIGMA ADCS

INTRODUCTION TO DELTA-SIGMA ADCS

1. Calculation of the DFT

LAB 6: FIR Filter Design Summer 2011

Experimental Fourier Transforms

EE482: Digital Signal Processing Applications

Topic 7. Convolution, Filters, Correlation, Representation. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

Discrete Fourier Transform

Chapter 2: The Fourier Transform

Fourier Analysis of Signals Using the DFT

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

Correlator I. Basics. Chapter Introduction. 8.2 Digitization Sampling. D. Anish Roshi

Discrete-Time Gaussian Fourier Transform Pair, and Generating a Random Process with Gaussian PDF and Power Spectrum Mark A.

Chirp Transform for FFT

E : Lecture 1 Introduction

In this Lecture. Frequency domain analysis

V(t) = Total Power = Calculating the Power Spectral Density (PSD) in IDL. Thomas Ferree, Ph.D. August 23, 1999

DFT and Matlab with some examples.

Information and Communications Security: Encryption and Information Hiding

Summary of lecture 1. E x = E x =T. X T (e i!t ) which motivates us to define the energy spectrum Φ xx (!) = jx (i!)j 2 Z 1 Z =T. 2 d!

Polyphase filter bank quantization error analysis

-Digital Signal Processing- FIR Filter Design. Lecture May-16

EEO 401 Digital Signal Processing Prof. Mark Fowler

Digital Speech Processing Lecture 10. Short-Time Fourier Analysis Methods - Filter Bank Design

Lecture 14: Windowing

Ch.11 The Discrete-Time Fourier Transform (DTFT)

II. Nonparametric Spectrum Estimation for Stationary Random Signals - Non-parametric Methods -

Introduction to Sparsity in Signal Processing

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

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

EDISP (NWL3) (English) Digital Signal Processing DFT Windowing, FFT. October 19, 2016

Chapter 12 Variable Phase Interpolation

Computational Data Analysis!

UNIVERSITY OF TRENTO IN-BAND POWER ESTIMATION OF WINDOWED DELTA-SIGMA SHAPED NOISE. Emilia Nunzi, Paolo Carbone, Dario Petri.

Contents. Digital Signal Processing, Part II: Power Spectrum Estimation

EE 230 Lecture 43. Data Converters

Discrete Fourier Transform

EEL3135: Homework #3 Solutions

The Discrete Fourier Transform

6.003: Signal Processing

ANALOG AND DIGITAL SIGNAL PROCESSING ADSP - Chapter 8

Distortion Analysis T

Introduction to Biomedical Engineering

Signal Processing Signal and System Classifications. Chapter 13

Continuous Fourier transform of a Gaussian Function

Lecture 4 - Spectral Estimation

Introduction to Sparsity in Signal Processing

ELEG 305: Digital Signal Processing

EEO 401 Digital Signal Processing Prof. Mark Fowler

Chapter 6: Applications of Fourier Representation Houshou Chen

L6: Short-time Fourier analysis and synthesis

Filter Analysis and Design

Fourier Methods in Digital Signal Processing Final Exam ME 579, Spring 2015 NAME

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

Fourier Analysis Overview (0B)

Higher-Order Σ Modulators and the Σ Toolbox

ESS Finite Impulse Response Filters and the Z-transform

9.4 Enhancing the SNR of Digitized Signals

Correlation, discrete Fourier transforms and the power spectral density

Radar Systems Engineering Lecture 3 Review of Signals, Systems and Digital Signal Processing

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

Time Series Analysis: 4. Digital Linear Filters. P. F. Góra

Class of waveform coders can be represented in this manner

Multirate Digital Signal Processing

Speech Signal Representations

Reference Text: The evolution of Applied harmonics analysis by Elena Prestini

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

Fast Fourier Transform Discrete-time windowing Discrete Fourier Transform Relationship to DTFT Relationship to DTFS Zero padding

Digital Signal Processing Course. Nathalie Thomas Master SATCOM

OSE801 Engineering System Identification. Lecture 09: Computing Impulse and Frequency Response Functions

SPECTRUM. Deterministic Signals with Finite Energy (l 2 ) Deterministic Signals with Infinite Energy N 1. n=0. N N X N(f) 2

A523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2011

Fast Fourier Transform Discrete-time windowing Discrete Fourier Transform Relationship to DTFT Relationship to DTFS Zero padding

SHOCK AND VIBRATION RESPONSE SPECTRA COURSE Unit 7A. Power Spectral Density Function

System Modeling and Identification CHBE 702 Korea University Prof. Dae Ryook Yang

ENGIN 100: Music Signal Processing. LAB #5: Spectrograms

EEM 409. Random Signals. Problem Set-2: (Power Spectral Density, LTI Systems with Random Inputs) Problem 1: Problem 2:

(Refer Slide Time: 01:28 03:51 min)

Lecture 10, Multirate Signal Processing Transforms as Filter Banks. Equivalent Analysis Filters of a DFT

Time Series Analysis: 4. Linear filters. P. F. Góra

Random signals II. ÚPGM FIT VUT Brno,

Oversampling Converters

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science : Discrete-Time Signal Processing

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

HST.582J / 6.555J / J Biomedical Signal and Image Processing Spring 2007

Filter Design Problem

Centre for Mathematical Sciences HT 2017 Mathematical Statistics

Lecture 11: Spectral Analysis

The Continuous-time Fourier

EE 505 Lecture 10. Spectral Characterization. Part 2 of 2

Second and Higher-Order Delta-Sigma Modulators

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

Laboratory Project 2: Spectral Analysis and Optimal Filtering

LAB 2: DTFT, DFT, and DFT Spectral Analysis Summer 2011

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Chapter 10 Applications in Communications

Lecture Notes on Fundamentals of Audio-Video Signal Processing

MEDE2500 Tutorial Nov-7

Sound & Vibration Magazine March, Fundamentals of the Discrete Fourier Transform

Transcription:

SR Calculation and Spectral Estimation [S&T Appendix A] or, How not to make a mess of an FFT Make sure the input is located in an FFT bin 1 Window the data! A Hann window works well. Compute the FFT 3 SR = power in signal bins / power in noise bins 4 If you want to make a spectral plot i. Apply sine-wave scaling ii. State the noise bandwidth (BW) iii. Smooth the FFT 1

Fourier Transform: xt () If is sampled FT and DFT (1) xt () X ( ) xnt ( ) xnt ( ) e j nt n Estimation of spectrum: DFT / FFT 1 j ntf ( ) ( ) k k ( ) k( ) n X f xnt e xnt h n where f k / ( T), k=, 1,,..., -1 k h ( n) k j kn /, e n,otherwise

FT and DFT () Generally, in Fourier Transformation, the rule is Sampled Periodic If x( nt ) is not periodic with period T, the DFT calculates the spectrum of a discontinuous signal -- bad estimate! 3

FT and DFT (3) Another problem: convolution introduces noise folding in windowed spectrum: (a) Convolution process implied by truncation of the ideal impulse response. (b) Typical approximation resulting from windowing the ideal impulse response. 4

Example: two two-tone tone signal Time domain input of the example before (a) and after windowing (b). Spectra with and without windowing. 5

Windowing i General window (T=1): 1 W ( f ) w ( n ) e n Common windows: j fn 6

Windowing Σ data is (usually) not periodic Just because the input repeats does not mean that the output does too! A finite-length data record = an infinite record multiplied by a rectangular window: wn ( ) = 1, n < Windowing is unavoidable. Multiplication in time is convolution in frequency W( f) --------------- W() (db) 1 3 4 5 6 7 8 9 Frequency response of a 3-point rectangular window Slow roll-off out-of-band Q. noise appears in-band 1.15.5.375.5 ormalized Frequency, f 7

4 Example Spectral Disaster Rectangular window, = 56 Out-of-band quantization noise obscures the notch! db 4 Windowed spectrum 6.5.5 ormalized Frequency, f 8 Actual Σ spectrum W( f) w

Window Comparison = 16 W( f) --------------- W() 1 (db) 3 Rectangular 4 5 6 7 8 9 Hann Hann 1.15.5.375.5 ormalized Frequency, f 9

Window Properties Window Rectangular Hann wn ( ), n = 1,,, 1 ( wn () = otherwise) umber of non-zero FFT bins w = wn ( ) W() = wn ( ) w 1 BW = ------------- 1/ 1.5/ 35/18 W(). MATLAB s hanning function causes spectral leakage of tones located in FFT bins unless you add the optional argument periodic. Use Σ Toolbox function ds_hann. 1 πn 1 cos--------- --------------------------- Hann πn 1 cos--------- --------------------------- 1 3 5 3/8 35/18 / 3/8

Window Length, eed to have enough in-band noise bins to 1 Make the number of signal bins a small fraction of the total number of in-band bins <% signal bins >15 in-band bins Make the SR repeatable = = = 3 OSR 64 OSR 56 OSR yields std. dev. ~1.4 db. yields std. dev. ~1. db. yields std. dev. ~.5 db. > 3 OSR = 64 OSR is recommended This is all you need to know to do SR calculations. If you want to make spectral plots, you need to know more 11

Spectrum of a Sine Wave plus oise Various ( dbfs ) Ŝ x () f 1 3 dbfs Sine Wave = 6 = 8 = 1 = 1 dbfs oise SR = db 3 db/ octave 4.5.5 ormalized Frequency, f 1

Scaling and oise Bandwidth FFT scaled such that a full-scale (FS) sine wave ( A = FS ) yields a -db spectral peak: Ŝ x ( f) = 1 n = wn ( ) xn ( ) e jπfn ---------------------------------------------------- ( FS 4)W() oise Floor depends on (!) A sine-wave-scaled FFT is fine for showing spectra, but is ill-suited for displaying spectral densities. Vertical axis is really dbfs/bw, where BW is the bandwidth over which the noise power has been integrated Think of the spectrum as representing the amount of power in a frequency band whose width is BW. BW = k, where k depends on the window type. 13 FFT sine-wave scale factor

An FFT is like a Filter Bank x The FFT can be interpreted as taking 1 sample from the outputs of complex FIR filters: h () n h 1 () n h k () n y ( ) = X( ) y 1 ( ) = X() 1 y k ( ) = X( k) h k () n e jπk -------- n =, n <, otherwise h 1 () n y 1 ( ) = X( 1) BW is the effective bandwidth of these filters 14

oise Bandwidth For a filter with frequency response W( f) BW W( f) f f BW = W( f) d f ---------------------------- W( f ) 15

oise Bandwidth of a Rectangular FFT W k f h k () n = exp j-------- πk n 1 ( f ) = h k () n exp( πfn j ) n = k = ---, W k ( f ) = 1 = W k BW ( f ) BW is the same for each FFT bin filter 16 1 n = = w k () n = W k ( f) d f = ------------------------------ = ----- = W k ( f ) 1 --- [Parseval]

oise Bandwidth of a Hann-Windowed FFT Use the filter associated with FFT bin wn ( ) = π 1 cos ----- n --------------------------------- 1 FFT -1 --- --- 4 +1 3 w = -------, W() 8 BW w = ------------- = W() = --- 1.5 ------ 17

Example Σ Spectrum 5 th -order TF, OSR=5, Hann window, no averaging (dbfs/bw) 4 6 Large PSD variance Ŝ x () f 8 1 Expected TF (scaled) BW = 9.x1 5 1.1..3.4.5 ormalized Frequency, f 18

Smoothed Spectrum and SR Calculation dbfs/bw 4 6 8 spectrum from logsmooth 4 He ( πif ) BW ----------------------------------------- 3( nlev 1) 6 dbfs signal 1 1 1 3 1 1 1 BW =.1, BW = 9.x1 5 f 15 dbfs/bw average in-band noise density BW/BW = 3.5 db Quantization oise Power = 15 + 3.5 = 74.5 dbfs SQR = 6 ( 74.5) = 68.5 db 19

Manual SQR Prediction The noise term is HE. The rms value of H in the band of interest, σ H, can be evaluated using rmsgain. Since = for all quantizers, σ 1 e = ----- = --. 1 3 σ The in-band noise power is therefore H σ e σ ------------ = -------------- H. OSR 3OSR The signal power is impossible to predict using the linear model, but is usually around 3 dbfs. This corresponds to a power of ( nlev 1) 4. 3( OSR) ( nlev 1) SQR peak 1log 1 ----------------------------------------------- db. 4σ H