SlideShare a Scribd company logo
Algorithm to remove spectral leakage, close-
in noise and its’ application to converter test

                        Dr. Fang Xu, Teradyne, Inc.
                         Boston, MA 02466 U.S.A.
                          Fang.xu@teradyne.com


                              st techniques to face new challenges
           Developing n ew te




IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                         IM6310
Periodicity as Base of DFT
Uniformly sampled in first domain ⇔ Periodic in other domain

Periodic in first domain ⇔ Uniformly sampled in other domain


      Uniformly sampled and periodic in first domain
                           ⇔
      Uniformly sampled and periodic in other domain




                                                               IM6310
   IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006   2
Problem Statement
• Discrete Fourier Transform is based on periodic signal and assumed
  that the signal is repetitive outside the interval the DFT is performed
• If during that interval, the DFT is applied to a sine-wave with
  fractional period, huge artifacts around that tone can be observed.
  This is called leakage




                                                       FFT of 8192.5 periods sinewave



                                                       FFT of 8192 periods sinewave



                                                                                        IM6310
IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                     3
DFT Applied to Periodic Waveform




    Oscillation has integer number of periods




     1 Discrete Fourier Transform time interval

                                                      IM6310
   IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006   4
Root Cause of Spectrum Leakage
  Fraction period causes signal
  discontinuity, which in turn
  causes spectrum leakage



    Oscillation has fraction number of periods




     1 Discrete Fourier Transform time interval

                                                      IM6310
   IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006   5
Coherent Sampling
• Consider a single tone sinewave

     ~(t ) = A cos(2πft + Φ ) or            ~(t ) = A e j ( 2πft +Φ ) + e − j ( 2πft +Φ )
     x                                      x
                                                                      2
                                        1
   Uniformly sampled at              T=
                                        Fs

          M            N is total number of samples
      f =              M is total number of periods within NT
          NT


   If M is integer → coherent sampling → no leakage.
   Otherwise → leakage

                                                                                            IM6310
  IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                          6
Window Functions Reduce Leakage
                                    2π n                                                             2πn
  wHamming (n) = 0.54 − 0.46 cos(        )                           wHanning (n) = 0.5 − 0.5 cos(        )
                                    M −1                                                             M −1

 Hamming                                                                       Hanning
                                                                                                              FT
                                    Blackman
                                                         2πn               4πn
                       wBlaclman (n) = 0.42 − 0.5 cos(       ) + 0.08 cos(      )
                                                         M −1              M −1

                                                                                                                   `Window functions artificially make-
                                                                                                                   up a periodic signal in time domain to
                                                                                                                       reduce spectrum leakage. It is
                                                                                                                    equivalent to a convolution of FT of
                                                                                                                   window function in frequency domain




                                                                                                                                                      IM6310
       IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                                                                                   7
Window Function Effect
Reduced leakage, but peak is still larger than coherent sampling




                                       FFT of 8192.5 periods
                                       sinewave



                                              FFT of 8192.5 periods
                                                     sinewave with
                                                  Hanning window
                                 8192
                                 periods
                                 sinewave




                                                                          IM6310
  IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                        8
FXT Concept
                                  Im

 Initial signal space                     Re
                                                    Time/Space carrying the
                                               t    signal was initially straight



                                                            A j ( 2πft +Φ )
                                                    x (t ) = e
                                                            2
                                                                       Mt
                                                            A j ( 2π NT +Φ )
                                               or   x (t ) = e
                                                            2


     Number of periods M=M0+M1
        Integer portion                                     Fraction portion


                                                                                    IM6310
IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                       9
FXT Concept con’t
                                            Im

 Initial signal space                             Re
                                                           Time/Space carrying the
                                                       t   signal was initially straight



                                       Im
                                                 Re
                                  Mt                       Time/Space carrying the
 Twisted signal space       − j 2π 1
                        e         NT                       signal has been twisted to
                                                       t   accommodate fractional
                                                           period




                                                                                           IM6310
IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                              10
FXT Algorithm
Step 1: Perform Fourier Transform


                                   FT
                                                        0


 Time domain                                    Frequency domain




Step 2: Locate fundamental bin M 0


                                                                   IM6310
 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006               11
FXT Algorithm con’t
Step 3: Perform Inverse Fourier Transform


                                   FT-1
                                                               0


  Time domain                                          Frequency domain

                                                           M0
                                                    − j 2π    i
Step 4: Multiplication by                       e          N




                                                                          IM6310
 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                      12
FXT Algorithm con’t
    Step 5: Compute phase of each point
I                                               ϕ
         R
                                      tan-1




    Step 6: Compute phase difference ∆P=2πM1
                                                              M1
                                                     − j 2π      i
    Step 7: Multiplication by e                               N




                                                    Fractional period



                                                                          IM6310
     IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                    13
FXT Algorithm con’t
Step 8: Compute Fourier Transform




                                                 Time domain
  FFT of 8192 periods and
   FXT of 8192.5 periods




                                                       FT
                                                Frequency domain


                                                                   IM6310
 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006       14
Validation with ADC


                                                 Digital signal
       Synthesizer 2           ADC               capturing and
                                                  processing


                            Synthesizer 1




Deliberately changing synthesizers frequency during SNR measurement
          No difference observed – Conforming to simulation




                                                                       IM6310
  IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                    15
Application to ADC Test
                                                        Digital signal
        Oscillator               ADC                    capturing and
                                                         processing


                               Synthesizer



                                      With correction
                                      mean = 65.42dB
                                      σ = 0.24dB
                     Without correction
                     mean = 64.54dB
                     σ = 0.86dB




                                                                              IM6310
IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                             16
Comparison with Other Methods
                           Windowed Fourier Transform

                                                                    • Reduced spectral resolution
                     Window                                         • May not conserve SNR



                          Interpolated Fourier Transform

                                                                  Naturally limited to Nyquist band




                                            FXT                   • Automatic oscillator drift
                                                                    correction
                Im                                  Im
                                                         Re       • Identical spectral resolution
                                               Mt
                     Re              e
                                         − j 2π 1
                                               NT                   than coherent sampling
                      t                                       t   • Conservation of SNR
                                                                  • Ideal for sinewave
   Change the way we observe the signal                           • Small challenge for multi-tone


                                                                                                      IM6310
  IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006                                       17
Conclusion
• An algorithm to remove spectral leakage for none
  coherently sampled sinewave has been presented
• Both simulation and experiments on real hardware of this
  algorithm provide excellent results
   – Automatically correct frequency drift
   – Identical spectral resolution as coherent sampling
   – Conservation of Signal-to-Noise Ratio
• This algorithm allows the use of free running crystal
  oscillator to test ADC or waveform recorder
• Hope to see this algorithm been applied to other
  applications

                                                               IM6310
  IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006            18

More Related Content

Viewers also liked

Am radio and OTDR
Am radio and OTDRAm radio and OTDR
Am radio and OTDR
FangXuIEEE
 
Ladder for mixed signal test engineers
Ladder for mixed signal test engineersLadder for mixed signal test engineers
Ladder for mixed signal test engineers
FangXuIEEE
 
Elegant Solutions
Elegant SolutionsElegant Solutions
Elegant Solutions
FangXuIEEE
 
Polution in China
Polution in ChinaPolution in China
Polution in ChinaFangXuIEEE
 
Perfect data reconstruction algorithm of interleaved adc
Perfect data reconstruction algorithm of interleaved adcPerfect data reconstruction algorithm of interleaved adc
Perfect data reconstruction algorithm of interleaved adc
FangXuIEEE
 
Awg waveform compensation by maximum entropy method
Awg waveform compensation by maximum entropy methodAwg waveform compensation by maximum entropy method
Awg waveform compensation by maximum entropy method
FangXuIEEE
 
D thies+ignite presentation
D thies+ignite presentationD thies+ignite presentation
D thies+ignite presentationKate Beihl
 
The FFT And Spectral Analysis
The FFT And Spectral AnalysisThe FFT And Spectral Analysis
The FFT And Spectral Analysis
Athanasios Anastasiou
 
Benefits of enhanced event analysis in datacenter otdr testing
Benefits of enhanced event analysis in datacenter otdr testingBenefits of enhanced event analysis in datacenter otdr testing
Benefits of enhanced event analysis in datacenter otdr testing
FangXuIEEE
 
Signal cancellation techniques for testing high end digital-to-analog converters
Signal cancellation techniques for testing high end digital-to-analog convertersSignal cancellation techniques for testing high end digital-to-analog converters
Signal cancellation techniques for testing high end digital-to-analog convertersFangXuIEEE
 
RSA 2006 - Visual Security Event Analysis
RSA 2006 - Visual Security Event AnalysisRSA 2006 - Visual Security Event Analysis
RSA 2006 - Visual Security Event Analysis
Raffael Marty
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applicationsAgam Goel
 
Losses in fiber
Losses in fiberLosses in fiber
Losses in fiber
Sagar Adroja
 
Congelamiento de precios productos en wal mart
Congelamiento de precios   productos en wal martCongelamiento de precios   productos en wal mart
Congelamiento de precios productos en wal martDiario Elcomahueonline
 
Luka Birsa: Building A Buttonless Web Kit Thinclient Device Thingyyy
Luka Birsa: Building A Buttonless Web Kit Thinclient Device ThingyyyLuka Birsa: Building A Buttonless Web Kit Thinclient Device Thingyyy
Luka Birsa: Building A Buttonless Web Kit Thinclient Device ThingyyySlo-Tech
 
Kiss fewer frogs - BNI INSOMNIACS
Kiss fewer frogs - BNI INSOMNIACSKiss fewer frogs - BNI INSOMNIACS
Kiss fewer frogs - BNI INSOMNIACS
Muneer Samnani
 
Unidad iii mantencion_de_personal
Unidad iii mantencion_de_personalUnidad iii mantencion_de_personal
Unidad iii mantencion_de_personal
richard rivera
 
02 epidemio enf reum
02 epidemio enf reum02 epidemio enf reum
02 epidemio enf reumiloaeza_89
 

Viewers also liked (20)

Am radio and OTDR
Am radio and OTDRAm radio and OTDR
Am radio and OTDR
 
Ladder for mixed signal test engineers
Ladder for mixed signal test engineersLadder for mixed signal test engineers
Ladder for mixed signal test engineers
 
Elegant Solutions
Elegant SolutionsElegant Solutions
Elegant Solutions
 
Polution in China
Polution in ChinaPolution in China
Polution in China
 
Perfect data reconstruction algorithm of interleaved adc
Perfect data reconstruction algorithm of interleaved adcPerfect data reconstruction algorithm of interleaved adc
Perfect data reconstruction algorithm of interleaved adc
 
Awg waveform compensation by maximum entropy method
Awg waveform compensation by maximum entropy methodAwg waveform compensation by maximum entropy method
Awg waveform compensation by maximum entropy method
 
D thies+ignite presentation
D thies+ignite presentationD thies+ignite presentation
D thies+ignite presentation
 
The FFT And Spectral Analysis
The FFT And Spectral AnalysisThe FFT And Spectral Analysis
The FFT And Spectral Analysis
 
Benefits of enhanced event analysis in datacenter otdr testing
Benefits of enhanced event analysis in datacenter otdr testingBenefits of enhanced event analysis in datacenter otdr testing
Benefits of enhanced event analysis in datacenter otdr testing
 
Signal cancellation techniques for testing high end digital-to-analog converters
Signal cancellation techniques for testing high end digital-to-analog convertersSignal cancellation techniques for testing high end digital-to-analog converters
Signal cancellation techniques for testing high end digital-to-analog converters
 
RSA 2006 - Visual Security Event Analysis
RSA 2006 - Visual Security Event AnalysisRSA 2006 - Visual Security Event Analysis
RSA 2006 - Visual Security Event Analysis
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applications
 
Ppt
PptPpt
Ppt
 
Losses in fiber
Losses in fiberLosses in fiber
Losses in fiber
 
Losses in optical fiber
Losses in optical fiberLosses in optical fiber
Losses in optical fiber
 
Congelamiento de precios productos en wal mart
Congelamiento de precios   productos en wal martCongelamiento de precios   productos en wal mart
Congelamiento de precios productos en wal mart
 
Luka Birsa: Building A Buttonless Web Kit Thinclient Device Thingyyy
Luka Birsa: Building A Buttonless Web Kit Thinclient Device ThingyyyLuka Birsa: Building A Buttonless Web Kit Thinclient Device Thingyyy
Luka Birsa: Building A Buttonless Web Kit Thinclient Device Thingyyy
 
Kiss fewer frogs - BNI INSOMNIACS
Kiss fewer frogs - BNI INSOMNIACSKiss fewer frogs - BNI INSOMNIACS
Kiss fewer frogs - BNI INSOMNIACS
 
Unidad iii mantencion_de_personal
Unidad iii mantencion_de_personalUnidad iii mantencion_de_personal
Unidad iii mantencion_de_personal
 
02 epidemio enf reum
02 epidemio enf reum02 epidemio enf reum
02 epidemio enf reum
 

Similar to Algorithm to remove spectral leakage

Pulse Code Modulation
Pulse Code Modulation Pulse Code Modulation
Pulse Code Modulation
ZunAib Ali
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representationNikolay Karpov
 
2010 APS_ Broadband Characteristics of A Dome Dipole Antenna
2010 APS_ Broadband Characteristics of A Dome Dipole Antenna2010 APS_ Broadband Characteristics of A Dome Dipole Antenna
2010 APS_ Broadband Characteristics of A Dome Dipole AntennaJing Zhao
 
Short-time homomorphic wavelet estimation
Short-time homomorphic wavelet estimation Short-time homomorphic wavelet estimation
Short-time homomorphic wavelet estimation
UT Technology
 
Performances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéairePerformances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéaireRachidz
 
Tsinghua visit
Tsinghua visitTsinghua visit
Tsinghua visitwtyru1989
 
Atmospheric aberrations in coherent laser systems
Atmospheric aberrations in coherent laser systemsAtmospheric aberrations in coherent laser systems
Atmospheric aberrations in coherent laser systemswtyru1989
 
Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...Sourjya Dutta
 
Ee443 phase locked loop - presentation - schwappach and brandy
Ee443   phase locked loop - presentation - schwappach and brandyEe443   phase locked loop - presentation - schwappach and brandy
Ee443 phase locked loop - presentation - schwappach and brandyLoren Schwappach
 
Tele3113 wk3wed
Tele3113 wk3wedTele3113 wk3wed
Tele3113 wk3wedVin Voro
 
DSP-UNIT-V-PPT-1.pptx
DSP-UNIT-V-PPT-1.pptxDSP-UNIT-V-PPT-1.pptx
DSP-UNIT-V-PPT-1.pptx
praneethnatarajan
 
Pres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptxPres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptx
DonyMa
 
DONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptxDONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptx
DonyMa
 
Trends in Future CommunicationsInternational Workshop - Renato Rabelo
Trends in Future CommunicationsInternational Workshop - Renato RabeloTrends in Future CommunicationsInternational Workshop - Renato Rabelo
Trends in Future CommunicationsInternational Workshop - Renato RabeloCPqD
 
Angle modulation fm
Angle modulation fmAngle modulation fm
Angle modulation fm
The Hoa Nguyen
 
Second Order Perturbations During Inflation Beyond Slow-roll
Second Order Perturbations During Inflation Beyond Slow-rollSecond Order Perturbations During Inflation Beyond Slow-roll
Second Order Perturbations During Inflation Beyond Slow-roll
Ian Huston
 
Circuit Network Analysis - [Chapter3] Fourier Analysis
Circuit Network Analysis - [Chapter3] Fourier AnalysisCircuit Network Analysis - [Chapter3] Fourier Analysis
Circuit Network Analysis - [Chapter3] Fourier Analysis
Simen Li
 
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
Giacomo Verticale
 

Similar to Algorithm to remove spectral leakage (20)

Pulse Code Modulation
Pulse Code Modulation Pulse Code Modulation
Pulse Code Modulation
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representation
 
2010 APS_ Broadband Characteristics of A Dome Dipole Antenna
2010 APS_ Broadband Characteristics of A Dome Dipole Antenna2010 APS_ Broadband Characteristics of A Dome Dipole Antenna
2010 APS_ Broadband Characteristics of A Dome Dipole Antenna
 
Short-time homomorphic wavelet estimation
Short-time homomorphic wavelet estimation Short-time homomorphic wavelet estimation
Short-time homomorphic wavelet estimation
 
Performances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéairePerformances des turbo codes parallèles pour un canal satellite non linéaire
Performances des turbo codes parallèles pour un canal satellite non linéaire
 
Tsinghua visit
Tsinghua visitTsinghua visit
Tsinghua visit
 
Atmospheric aberrations in coherent laser systems
Atmospheric aberrations in coherent laser systemsAtmospheric aberrations in coherent laser systems
Atmospheric aberrations in coherent laser systems
 
Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...
 
Muri
MuriMuri
Muri
 
Ee443 phase locked loop - presentation - schwappach and brandy
Ee443   phase locked loop - presentation - schwappach and brandyEe443   phase locked loop - presentation - schwappach and brandy
Ee443 phase locked loop - presentation - schwappach and brandy
 
Tele3113 wk3wed
Tele3113 wk3wedTele3113 wk3wed
Tele3113 wk3wed
 
W4 physics 2003
W4 physics 2003W4 physics 2003
W4 physics 2003
 
DSP-UNIT-V-PPT-1.pptx
DSP-UNIT-V-PPT-1.pptxDSP-UNIT-V-PPT-1.pptx
DSP-UNIT-V-PPT-1.pptx
 
Pres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptxPres Simple and Practical Algorithm sft.pptx
Pres Simple and Practical Algorithm sft.pptx
 
DONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptxDONY Simple and Practical Algorithm sft.pptx
DONY Simple and Practical Algorithm sft.pptx
 
Trends in Future CommunicationsInternational Workshop - Renato Rabelo
Trends in Future CommunicationsInternational Workshop - Renato RabeloTrends in Future CommunicationsInternational Workshop - Renato Rabelo
Trends in Future CommunicationsInternational Workshop - Renato Rabelo
 
Angle modulation fm
Angle modulation fmAngle modulation fm
Angle modulation fm
 
Second Order Perturbations During Inflation Beyond Slow-roll
Second Order Perturbations During Inflation Beyond Slow-rollSecond Order Perturbations During Inflation Beyond Slow-roll
Second Order Perturbations During Inflation Beyond Slow-roll
 
Circuit Network Analysis - [Chapter3] Fourier Analysis
Circuit Network Analysis - [Chapter3] Fourier AnalysisCircuit Network Analysis - [Chapter3] Fourier Analysis
Circuit Network Analysis - [Chapter3] Fourier Analysis
 
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

Algorithm to remove spectral leakage

  • 1. Algorithm to remove spectral leakage, close- in noise and its’ application to converter test Dr. Fang Xu, Teradyne, Inc. Boston, MA 02466 U.S.A. Fang.xu@teradyne.com st techniques to face new challenges Developing n ew te IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 IM6310
  • 2. Periodicity as Base of DFT Uniformly sampled in first domain ⇔ Periodic in other domain Periodic in first domain ⇔ Uniformly sampled in other domain Uniformly sampled and periodic in first domain ⇔ Uniformly sampled and periodic in other domain IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 2
  • 3. Problem Statement • Discrete Fourier Transform is based on periodic signal and assumed that the signal is repetitive outside the interval the DFT is performed • If during that interval, the DFT is applied to a sine-wave with fractional period, huge artifacts around that tone can be observed. This is called leakage FFT of 8192.5 periods sinewave FFT of 8192 periods sinewave IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 3
  • 4. DFT Applied to Periodic Waveform Oscillation has integer number of periods 1 Discrete Fourier Transform time interval IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 4
  • 5. Root Cause of Spectrum Leakage Fraction period causes signal discontinuity, which in turn causes spectrum leakage Oscillation has fraction number of periods 1 Discrete Fourier Transform time interval IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 5
  • 6. Coherent Sampling • Consider a single tone sinewave ~(t ) = A cos(2πft + Φ ) or ~(t ) = A e j ( 2πft +Φ ) + e − j ( 2πft +Φ ) x x 2 1 Uniformly sampled at T= Fs M N is total number of samples f = M is total number of periods within NT NT If M is integer → coherent sampling → no leakage. Otherwise → leakage IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 6
  • 7. Window Functions Reduce Leakage 2π n 2πn wHamming (n) = 0.54 − 0.46 cos( ) wHanning (n) = 0.5 − 0.5 cos( ) M −1 M −1 Hamming Hanning FT Blackman 2πn 4πn wBlaclman (n) = 0.42 − 0.5 cos( ) + 0.08 cos( ) M −1 M −1 `Window functions artificially make- up a periodic signal in time domain to reduce spectrum leakage. It is equivalent to a convolution of FT of window function in frequency domain IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 7
  • 8. Window Function Effect Reduced leakage, but peak is still larger than coherent sampling FFT of 8192.5 periods sinewave FFT of 8192.5 periods sinewave with Hanning window 8192 periods sinewave IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 8
  • 9. FXT Concept Im Initial signal space Re Time/Space carrying the t signal was initially straight A j ( 2πft +Φ ) x (t ) = e 2 Mt A j ( 2π NT +Φ ) or x (t ) = e 2 Number of periods M=M0+M1 Integer portion Fraction portion IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 9
  • 10. FXT Concept con’t Im Initial signal space Re Time/Space carrying the t signal was initially straight Im Re Mt Time/Space carrying the Twisted signal space − j 2π 1 e NT signal has been twisted to t accommodate fractional period IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 10
  • 11. FXT Algorithm Step 1: Perform Fourier Transform FT 0 Time domain Frequency domain Step 2: Locate fundamental bin M 0 IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 11
  • 12. FXT Algorithm con’t Step 3: Perform Inverse Fourier Transform FT-1 0 Time domain Frequency domain M0 − j 2π i Step 4: Multiplication by e N IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 12
  • 13. FXT Algorithm con’t Step 5: Compute phase of each point I ϕ R tan-1 Step 6: Compute phase difference ∆P=2πM1 M1 − j 2π i Step 7: Multiplication by e N Fractional period IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 13
  • 14. FXT Algorithm con’t Step 8: Compute Fourier Transform Time domain FFT of 8192 periods and FXT of 8192.5 periods FT Frequency domain IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 14
  • 15. Validation with ADC Digital signal Synthesizer 2 ADC capturing and processing Synthesizer 1 Deliberately changing synthesizers frequency during SNR measurement No difference observed – Conforming to simulation IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 15
  • 16. Application to ADC Test Digital signal Oscillator ADC capturing and processing Synthesizer With correction mean = 65.42dB σ = 0.24dB Without correction mean = 64.54dB σ = 0.86dB IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 16
  • 17. Comparison with Other Methods Windowed Fourier Transform • Reduced spectral resolution Window • May not conserve SNR Interpolated Fourier Transform Naturally limited to Nyquist band FXT • Automatic oscillator drift correction Im Im Re • Identical spectral resolution Mt Re e − j 2π 1 NT than coherent sampling t t • Conservation of SNR • Ideal for sinewave Change the way we observe the signal • Small challenge for multi-tone IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 17
  • 18. Conclusion • An algorithm to remove spectral leakage for none coherently sampled sinewave has been presented • Both simulation and experiments on real hardware of this algorithm provide excellent results – Automatically correct frequency drift – Identical spectral resolution as coherent sampling – Conservation of Signal-to-Noise Ratio • This algorithm allows the use of free running crystal oscillator to test ADC or waveform recorder • Hope to see this algorithm been applied to other applications IM6310 IMTC2006 SORRENTO, ITALIA 24 - 27 APRIL 2006 18