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

Similar documents
EE 435. Lecture 34. Spectral Performance Windowing Quantization Noise

Discrete Fourier Transform (DFT)

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

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

EE 422G - Signals and Systems Laboratory

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

Digital Signal Processing

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

When and How to Use FFT

Laboratory Experiment #1 Introduction to Spectral Analysis

Analyzing A/D and D/A converters

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual.

Spectrum Analysis - Elektronikpraktikum

Electrical & Computer Engineering Technology

How to Utilize a Windowing Technique for Accurate DFT

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Frequency Domain Representation of Signals

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Multirate Digital Signal Processing

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

The Fundamentals of FFT-Based Signal Analysis and Measurement Michael Cerna and Audrey F. Harvey

Characterization of Conducted Emissions in Time Domain

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

Fourier Signal Analysis

Measurement of RMS values of non-coherently sampled signals. Martin Novotny 1, Milos Sedlacek 2

Real-Time FFT Analyser - Functional Specification

Frequency Domain Analysis

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

Laboratory Assignment 4. Fourier Sound Synthesis

Multirate DSP, part 1: Upsampling and downsampling

New Features of IEEE Std Digitizing Waveform Recorders

Signal Processing for Digitizers

Final Exam Practice Questions for Music 421, with Solutions

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Discrete Fourier Transform

A Faster Method for Accurate Spectral Testing without Requiring Coherent Sampling

SAMPLING THEORY. Representing continuous signals with discrete numbers

National Instruments Flex II ADC Technology The Flexible Resolution Technology inside the NI PXI-5922 Digitizer

Digital Signal Processing

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

Laboratory Assignment 5 Amplitude Modulation

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

Experiment 2 Effects of Filtering

L A B 3 : G E N E R A T I N G S I N U S O I D S

Fourier Theory & Practice, Part I: Theory (HP Product Note )

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

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

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

Transfer Function (TRF)

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

EE247 Lecture 14. To avoid having EE247 & EE 142 or EE290C midterms on the same day, EE247 midterm moved from Oct. 20 th to Thurs. Oct.

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

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 6 Spectrum Analysis -- FFT

FFT Analyzer. Gianfranco Miele, Ph.D

Solution to Harmonics Interference on Track Circuit Based on ZFFT Algorithm with Multiple Modulation

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

System Identification & Parameter Estimation

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

Chapter Three. The Discrete Fourier Transform

Module 3 : Sampling and Reconstruction Problem Set 3

2) How fast can we implement these in a system

Fourier Analysis. Chapter Introduction Distortion Harmonic Distortion

Discrete Fourier Transform, DFT Input: N time samples

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

Reference Sources. Prelab. Proakis chapter 7.4.1, equations to as attached

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

Design of FIR Filters

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

C.11 Sampling and Aliasing Solution

Discrete-Time Signal Processing (DTSP) v14

DFT: Discrete Fourier Transform & Linear Signal Processing

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

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

Introduction to Simulink

Noise estimation and power spectrum analysis using different window techniques

Theoretical 1 Bit A/D Converter

ENOB calculation for ADC's. Prepared by:m Moyal and Aviv Marks. For: nd semester 09 Advanced Topics in Analog and Mixed Signal Design

MAE143A Signals & Systems - Homework 9, Winter 2015 due by the end of class Friday March 13, 2015.

Direct Digital Synthesis Primer

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Figure Derive the transient response of RLC series circuit with sinusoidal input. [15]

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.

The Fundamentals of Mixed Signal Testing

EE 791 EEG-5 Measures of EEG Dynamic Properties

P a g e 1 ST985. TDR Cable Analyzer Instruction Manual. Analog Arts Inc.

Almost Perfect Reconstruction Filter Bank for Non-redundant, Approximately Shift-Invariant, Complex Wavelet Transforms

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Digital Filters FIR and IIR Systems

Michael F. Toner, et. al.. "Distortion Measurement." Copyright 2000 CRC Press LLC. <

Discrete-time Signals & Systems

Fourier Methods of Spectral Estimation

3D Distortion Measurement (DIS)

Brief Introduction to Signals & Systems. Phani Chavali

= knd 1/ 2 m 2 / 3 t 1/ 6 c

IMAC 27 - Orlando, FL Shaker Excitation

Sinusoidal signal. Arbitrary signal. Periodic rectangular pulse. Sampling function. Sampled sinusoidal signal. Sampled arbitrary signal

Digital Signal Processing

Spectrum. The basic idea of measurement. Instrumentation for spectral measurements Ján Šaliga 2017

F I R Filter (Finite Impulse Response)

Transcription:

EE 505 Lecture 6 Spectral Analysis in Spectre - Standard transient analysis - Strobe period transient analysis Addressing Spectral Analysis Challenges Problem Awareness Windowing Post-processing

. Review from last lecture. Distortion Analysis T 0 T S THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then 2 Am Χ mnp 1 0 m h N and Χ k for all k not defined above where f = 1/T, Χ k N k 1 is the DFT of the sequence x kt S 0 f N f MAX = 2 N P, and h = Int f MAX f N 1 k 0

. Review from last lecture. Spectral Response (expressed in db) (Actually Stem plots but points connected in plotting program) Note Magnitude is Symmetric wrt f SAMPLE f AXIS f SIGNAL n 1 N P

. Review from last lecture. Spectral Response with Non-coherent Sampling (zoomed in around fundamental)

. Review from last lecture. Observations Modest change in sampling window of 0.001 out of 20 periods (.0005%) results in a small error in both fundamental and harmonic More importantly, substantial raise in the computational noise floor!!! (from over - 300dB to only -80dB) Errors at about the 13-bit level!

. Review from last lecture. Effects of High-Frequency Spectral Components

. Review from last lecture. Observations Aliasing will occur if the band-limited part of the hypothesis for using the DFT is not satisfied Modest aliasing will cause high frequency components that may or may not appear at a harmonic frequency More egregious aliasing can introduce components near or on top of fundamental and lower-order harmonics Important to avoid aliasing if the DFT is used for spectral characterization

Spectre Limitations in Spectral Analysis Thanks to Xilu Wang for simulation results Normal Transient Analysis Strobe Period Timing Coherent Sampling

Simulation Conditions V(t)=sin(2*π*50t) 11 periods Coherent Sampling Number of Samples: 512 4096 Type of Samples: Standard Sweep Strobe Period Sweep

512 Samples with Standard Sweep V(t)=sin(2*π*50t) 11 periods Coherent Sampling

For reference: Results obtained with MatLab for N=512

Mag (volts) 512 Samples with Standard Sweep Time (index)

Mag (volts) 512 Samples with Standard Sweep Time (index)

512 Samples with Standard Sweep

512 Samples with Standard Sweep

512 Samples with Standard Sweep Note dramatic increase in noise floor Note what appear to be some harmonic terms extending above noise floor

MatLab comparison: 512 Samples with Standard Sweep Spectre Results MatLab Results

512 Samples with Standard Sweep

512 Samples with Standard Sweep Note presence of odd harmonics in spectrum

512 Samples with Standard Sweep

512 Samples with Strobe Period Sweep V(t)=sin(2*π*50t) 11 periods Coherent Sampling

Mag (volts) 512 Samples with Strobe Period Time (index)

Mag (volts) 512 Samples with Strobe Period Time (index)

512 Samples with Strobe Period

512 Samples with Strobe Period

MatLab comparison: 512 Samples with Strobe Period Sweep Spectre Results MatLab Results

512 Samples with Strobe Period

512 Samples with Strobe Period

4096 Samples with Standard Sweep V(t)=sin(2*π*50t) 11 periods Coherent Sampling

For reference: Results obtained with MatLab for N=4096

Mag (volts) 4096 Samples with Standard Sweep Time (index)

Mag (volts) 4096 Samples with Standard Sweep Time (index)

4096 Samples with Standard Sweep

4096 Samples with Standard Sweep

Comparison 4096 Samples with Standard Sweep Spectre MatLab

4096 Samples with Standard Sweep

4096 Samples with Standard Sweep Note presence of odd harmonics in spectrum

4096 Samples with Standard Sweep

4096 Samples with Strobe Period Sweep V(t)=sin(2*π*50t) 11 periods Coherent Sampling

Mag (volts) 4096 Samples with Strobe Period Time (index)

Mag (volts) 4096 Samples with Strobe Period Time (index)

4096 Samples with Strobe Period

4096 Samples with Strobe Period

Comparison 4096 Samples with Strobe Period Sweep Spectre MatLab

4096 Samples with Strobe Period

4096 Samples with Strobe Period

Mag (volts) Superimposed Standard/Strobe Sweep Time (index)

Mag (volts) Superimposed Standard/Strobe Sweep Time (index)

Mag (volts) Difference Standard/Strobe Sweep Time (index)

Mag (volts) Difference Standard/Strobe Sweep Time (index)

Difference Standard/Strobe Sweep Mag (volts)

Mag (volts) Difference Standard/Strobe Sweep Time (index)

Addressing Spectral Analysis Challenges Problem Awareness Windowing and Filtering Post-processing

Problem Awareness T THEOREM If N P is an integer and x(t) is band limited to f MAX, then f = 1/T, T S 2 Am Χ mnp 1 0 m h-1 and Χ k 0 for all k not defined N N 1 N 1 above where Χ k is the DFT of the sequence x kt k 0 S k 0 f N f MAX = 2 N P, and h = Int Hypothesis is critical Even minor violation of the premise can have dramatic effects Validation of all tools is essential Learn what to expect f MAX f

Filtering - a strategy to address the aliasing problem A lowpass filter is often used to enforce the band-limited requirement if not naturally band limited Lowpass filter often passive Lowpass filter design often not too difficult Minimum sampling frequency often termed the Nyquist rage.

Considerations for Spectral Characterization Tool Validation FFT Length Importance of Satisfying Hypothesis - NP is an integer - Band-limited excitation Windowing

Windowing - a strategy to address the problem of requiring precisely an integral number of periods to use the DFT for Spectral analysis? Windowing is sometimes used Windowing is sometimes misused

Windowing Windowing is the weighting of the time domain function to maintain continuity at the end points of the sample window Well-studied window functions: Rectangular (also with appended zeros) Triangular Hamming Hanning Blackman

Rectangular Window Sometimes termed a boxcar window Uniform weight Can append zeros Without appending zeros equivalent to no window

Rectangular Window Assume f SIG =50Hz V IN sin( t) 0. 5sin( 2 t) ω 2πf SIG Consider N P =20.1 N=512

Rectangular Window

Spectral Response with Non-coherent sampling (zoomed in around fundamental)

Rectangular Window Columns 1 through 7-48.8444-48.7188-48.3569-47.7963-47.0835-46.2613-45.3620 Columns 8 through 14-44.4065-43.4052-42.3602-41.2670-40.1146-38.8851-37.5520 Columns 15 through 21-36.0756-34.3940-32.4043-29.9158-26.5087-20.9064-0.1352 Columns 22 through 28-19.3242-25.9731-29.8688-32.7423-35.1205-37.2500-39.2831 Columns 29 through 35-41.3375-43.5152-45.8626-48.0945-48.8606-46.9417-43.7344

Rectangular Window Columns 1 through 7-48.8444-48.7188-48.3569-47.7963-47.0835-46.2613-45.3620 Columns 8 through 14-44.4065-43.4052-42.3602-41.2670-40.1146-38.8851-37.5520 Columns 15 through 21-36.0756-34.3940-32.4043-29.9158-26.5087-20.9064-0.1352 Columns 22 through 28-19.3242-25.9731-29.8688-32.7423-35.1205-37.2500-39.2831 Columns 29 through 35-41.3375-43.5152-45.8626-48.0945-48.8606-46.9417-43.7344 Energy spread over several frequency components

Rectangular Window (with appended zeros)

Triangular Window

Triangular Window

Spectral Response with Non-Coherent Sampling and Windowing (zoomed in around fundamental)

Triangular Window

Triangular Window Columns 1 through 7-100.8530-72.0528-99.1401-68.0110-95.8741-63.9944-92.5170 Columns 8 through 14-60.3216-88.7000-56.7717-85.8679-52.8256-82.1689-48.3134 Columns 15 through 21-77.0594-42.4247-70.3128-33.7318-58.8762-15.7333-6.0918 Columns 22 through 28-12.2463-57.0917-32.5077-68.9492-41.3993-74.6234-46.8037 Columns 29 through 35-77.0686-50.1054-77.0980-51.5317-75.1218-50.8522-71.2410

Hamming Window

Hamming Window

Spectral Response with Non-Coherent Sampling and Windowing (zoomed in around fundamental)

Comparison with Rectangular Window

Hamming Window Columns 1 through 7-70.8278-70.6955-70.3703-69.8555-69.1502-68.3632-67.5133 Columns 8 through 14-66.5945-65.6321-64.6276-63.6635-62.6204-61.5590-60.4199 Columns 15 through 21-59.3204-58.3582-57.8735-60.2994-52.6273-14.4702-5.4343 Columns 22 through 28-11.2659-45.2190-67.9926-60.1662-60.1710-61.2796-62.7277 Columns 29 through 35-64.3642-66.2048-68.2460-70.1835-71.1529-70.2800-68.1145

Hanning Window

Hanning Window

Spectral Response with Non-Coherent Sampling and Windowing (zoomed in around fundamental)

Comparison with Rectangular Window

Hanning Window Columns 1 through 7-107.3123-106.7939-105.3421-101.9488-98.3043-96.6522-93.0343 Columns 8 through 14-92.4519-90.4372-87.7977-84.9554-81.8956-79.3520-75.8944 Columns 15 through 21-72.0479-67.4602-61.7543-54.2042-42.9597-13.4511-6.0601 Columns 22 through 28-10.8267-40.4480-53.3906-61.8561-68.3601-73.9966-79.0757 Columns 29 through 35-84.4318-92.7280-99.4046-89.0799-83.4211-78.5955-73.9788

Comparison of 4 windows

Comparison of 4 windows

Preliminary Observations about Windows Provide separation of spectral components Energy can be accumulated around spectral components Simple to apply Some windows work much better than others But windows do not provide dramatic improvement and

Comparison of 4 windows when sampling hypothesis are satisfied

Comparison of 4 windows

Preliminary Observations about Windows Provide separation of spectral components Energy can be accumulated around spectral components Simple to apply Some windows work much better than others But windows do not provide dramatic improvement and can significantly degrade performance if sampling hypothesis are met

Addressing Spectral Analysis Challenges Problem Awareness Windowing and Filtering Post-processing

Post-processing Method of circumventing the coherent sampling problem Can also be used for addressing spectral purity problem for test signal generation x kt S N 1 k 0 Post-Processor Χ k N 1 k 0 Non-coherent Easily implemented in MATLAB Will be considered in the laboratory Removes fundamental from samples and replaces with coherent fundamental before taking DFT

Post-processing x kt S N 1 k 0 Post-Processor Χ k N 1 k 0 Non-coherent Χ SG N k 1 k 0 Easily implemented in MATLAB Will be considered in the laboratory Removes fundamental from samples and replaces with coherent fundamental before taking DFT Removes spectral impurity of input test signal generator when testing data converters

Issues of Concern for Spectral Analysis An integral number of periods is critical for spectral analysis Not easy to satisfy this requirement in the laboratory Windowing can help but can hurt as well Out of band energy can be reflected back into bands of interest Characterization of CAD tool environment is essential Spectral Characterization of high-resolution data converters requires particularly critical consideration to avoid simulations or measurements from masking real performance

End of Lecture 6