SlideShare a Scribd company logo
1 of 19
EXPERT SYSTEMS AND SOLUTIONS
     Email: expertsyssol@gmail.com
        expertsyssol@yahoo.com
          Cell: 9952749533
     www.researchprojects.info
    PAIYANOOR, OMR, CHENNAI
 Call For Research Projects          Final
 year students of B.E in EEE, ECE,
    EI, M.E (Power Systems), M.E
  (Applied Electronics), M.E (Power
              Electronics)
  Ph.D Electrical and Electronics.
Students can assemble their hardware in our
 Research labs. Experts will be guiding the
                 projects.
Fast Fourier Transform
        (FFT)
Outline
   Purpose
   Background
       Fourier Transform
       Continuous Fourier Transform
       Discrete Fourier Transform (DFT)
   Fast Fourier Transform (FFT)
   FFTW
   Examples
Purpose
   Analyze the frequencies contained in a
    sampled signal
   Used in:
       Digital Signal Processing
       Optics
       Oceanography
       Acoustics
       Physics
       Number Theory
Fourier Transform
   Named after Jean Baptiste Joseph Fourier
   an integral transform that re-expresses a
    function in terms of sinusoidal basis functions
   transforms linear differential equations with
    constant coefficients into ordinary algebraic
    ones
   turns the complicated convolution operation
    into simple multiplication
Continuous Fourier Transform
   decomposes a function into a continuous
    spectrum of the frequencies that comprise that
    function
   Function:



   Inverse:
Discrete Fourier Transform
   Also called Finite Fourier Transform
   The n complex numbers x0, ..., xn-1 (ie. xi=xreal + i*ximag)
    are transformed into the n complex numbers f0, ..., fn-1
    according to the formula:



   Inverse (IDFT)
DFT cont.
Written in matrix form, the DFT is:




where
Fast Fourier Transform (FFT)
   An efficient algorithm to compute the DFT and its
    inverse
   Divide and conquer algorithm
   Reduces time from O(n2) to O(n log n)
   Seismic Data contains hundreds of thousands of
    samples and would take months to evaluate the DFT
   Cooley-Tukey is most popular implementation
       Developed in 1965
       Re-invented work done by Carl F. Gauss in 1805
FFT Definitions
   sinusoid
      the curve of y=sin x
   radix
      the size of an FFT decomposition.
   twiddle factors
      the coefficients used to combine results from a previous
      stage to form inputs to the next stage.
   “in place” FFT
      an FFT that is calculated entirely inside its original sample
      memory.
FFT Definitions cont.
   bit reversal
     0, 1, 2, 3, 4, 5, 6, 7 is reordered to 0, 4, 2, 6, 1, 5, 3, 7
    Decimal      Binary                Binary        Decimal
        0            000                   000            0
        1            001                   100            4
        2            010                   010            2
        3            011                   110            6
        4            100                   001            1
        5            101                   101            5
        6            110                   011            3
        7            111                   111            7
FFT Implementation
   Radix-2
       N, the sample size, must be a power of 2

   Mixed-radix
       Can use different powers at different stages
       Ex. 1000 = 2*2*2*5*5*5 (six stages) or
            1000 = 10 * 10 * 10 (three stages)
FFT Implementation (cont.)
1.   Pad input sequence, of N samples, with ZERO's until the
     number of samples is the nearest power of two.
        e.g. 500 samples are padded to 512 (2^9)
2.   Bit reverse the input sequence.
        e.g. 3 = 011 goes to 110 = 6
3.   Compute (N / 2) two sample DFT's from the shuffled inputs.
4.   Compute (N / 4) four sample DFT's from the two sample
     DFT's.
5.   Compute (N / 2) eight sample DFT's from the four sample
     DFT's.
     ...
6.   Combine back into one N-sample DFT
Fast Fourier Transform in the West
             (FFTW)
   Developed at MIT
   Free collection of fast C routines for
    computing the DFT in 1 or more dimensions
   Includes complex, real, symmetric, and
    parallel transforms
   MPI parallel transforms are only available in
    v. 2.1.5
FFTW cont.
   Serial/Parallel, Share/Distributed Memory

   Faster than most “non-free” implementations

   Portable, automatically adapt to machine
Two Phases of FFTW
   Hardware dependent algorithm
   Planner
       ‘Learn’ the fast way on your machine
       Produce a data structure --‘plan’
       Reusable
   Executor
       Compute the transform
   Apply to all FFTw operation modes
       1D/nD, complex/real, serial/parallel
MPI FFTW Routines
   fftwnd_mpi_plan fftwnd_create_plan(mpi_comm comm,
    int rank, const *int n, fftw_direction dir, int flags);

   void fftwnd_mpi_local_size(fftwnd_mpi_plan p,
    int *local_first, int *local_first_start,
    int *local_second_after_transpose,
    int *local_second_start_after_transpose,
    int *total_local_size);

   local_data = (fftw_complex*) malloc(sizeof(fftw_complex)
    * total_local_size);

   work = (fftw_complex*) malloc(sizeof(fftw_complex)
    * total_local_size);

   void fftwnd_mpi(fftwnd_mpi_plan p, int n_fields,
    fftw_complex *local_data, fftw_complex *work,
    fftw_mpi_output_order output_order);

   void fftw_mpi_destroy_plan(fftwnd_mpi_plan p
Examples
    View C source code
        fftw_mpi.c
        fftw_mpi_test.c
    To compile:
    cc -o ffmpi fftw_mpi_test.c –lmpi -lfftw_mpi -lfftw –lm
    Matlab Example
References
   http://en.wikipedia.org/wiki/Fourier_transform
   http://en.wikipedia.org/wiki/Continuous_Fourier_transform
   http://en.wikipedia.org/wiki/Discrete_Fourier_transform
   http://astonomy.swin.edu.au/~pbourke/analysis/dft
   http://www.dspguru.com/info/faqs/fftfaq.htm
   http://www.arc.unm.edu/~gbma/Workshop/FFTW/slides/outlinee.htm
   http://astron.berkeley.edu/~jrg/ngst/fft/fourier.html
   http://www.spd.eee.strath.ac.uk/~interact/fourier/fft/fftalgrm.html
   http://www.ni.com/swf/presentation/us/fft/
   http://www.fftw.org

More Related Content

What's hot

Matlab 2
Matlab 2Matlab 2
Matlab 2asguna
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationVarun Ojha
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidXavier Davias
 
Matlab code for comparing two microphone files
Matlab code for comparing two microphone filesMatlab code for comparing two microphone files
Matlab code for comparing two microphone filesMinh Anh Nguyen
 
Matlab implementation of fast fourier transform
Matlab implementation of  fast fourier transformMatlab implementation of  fast fourier transform
Matlab implementation of fast fourier transformRakesh kumar jha
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
Fourier transformation
Fourier transformationFourier transformation
Fourier transformationzertux
 
The method of comparing two audio files
The method of comparing two audio filesThe method of comparing two audio files
The method of comparing two audio filesMinh Anh Nguyen
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huangSagar Ahir
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and InterpolationFernando Ojeda
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFTtaha25
 

What's hot (20)

Dft,fft,windowing
Dft,fft,windowingDft,fft,windowing
Dft,fft,windowing
 
FFT
FFTFFT
FFT
 
Fft ppt
Fft pptFft ppt
Fft ppt
 
Matlab 2
Matlab 2Matlab 2
Matlab 2
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
 
Matlab code for comparing two microphone files
Matlab code for comparing two microphone filesMatlab code for comparing two microphone files
Matlab code for comparing two microphone files
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Fourier Transform
Fourier TransformFourier Transform
Fourier Transform
 
Matlab implementation of fast fourier transform
Matlab implementation of  fast fourier transformMatlab implementation of  fast fourier transform
Matlab implementation of fast fourier transform
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Fourier transformation
Fourier transformationFourier transformation
Fourier transformation
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Multirate sim
Multirate simMultirate sim
Multirate sim
 
Fft
FftFft
Fft
 
Fft analysis
Fft analysisFft analysis
Fft analysis
 
The method of comparing two audio files
The method of comparing two audio filesThe method of comparing two audio files
The method of comparing two audio files
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huang
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Dsp U Lec10 DFT And FFT
Dsp U   Lec10  DFT And  FFTDsp U   Lec10  DFT And  FFT
Dsp U Lec10 DFT And FFT
 

Viewers also liked

Leigh lillis Medical TW resume 8 2016
Leigh lillis Medical TW resume 8 2016Leigh lillis Medical TW resume 8 2016
Leigh lillis Medical TW resume 8 2016Leigh Ellen Lillis
 
Enhance WordPress Search Using Sphinx
Enhance WordPress Search Using SphinxEnhance WordPress Search Using Sphinx
Enhance WordPress Search Using SphinxRoshan Bhattarai
 
Android App performance - Europe 2015
Android App performance - Europe 2015Android App performance - Europe 2015
Android App performance - Europe 2015Doug Sillars
 
Mobile Web Performance using WebPageTest and HTTPArchive
Mobile Web Performance using WebPageTest and HTTPArchiveMobile Web Performance using WebPageTest and HTTPArchive
Mobile Web Performance using WebPageTest and HTTPArchiveDoug Sillars
 
Somnium Network журнал
Somnium Network журналSomnium Network журнал
Somnium Network журналonlinesarabotok
 

Viewers also liked (14)

Jeugd mar13
Jeugd mar13Jeugd mar13
Jeugd mar13
 
Mechanical projects
Mechanical projectsMechanical projects
Mechanical projects
 
Electronics
ElectronicsElectronics
Electronics
 
Leigh lillis Medical TW resume 8 2016
Leigh lillis Medical TW resume 8 2016Leigh lillis Medical TW resume 8 2016
Leigh lillis Medical TW resume 8 2016
 
Electricmotor3
Electricmotor3Electricmotor3
Electricmotor3
 
Enhance WordPress Search Using Sphinx
Enhance WordPress Search Using SphinxEnhance WordPress Search Using Sphinx
Enhance WordPress Search Using Sphinx
 
Android App performance - Europe 2015
Android App performance - Europe 2015Android App performance - Europe 2015
Android App performance - Europe 2015
 
Mobile Web Performance using WebPageTest and HTTPArchive
Mobile Web Performance using WebPageTest and HTTPArchiveMobile Web Performance using WebPageTest and HTTPArchive
Mobile Web Performance using WebPageTest and HTTPArchive
 
Somnium Network журнал
Somnium Network журналSomnium Network журнал
Somnium Network журнал
 
Power
PowerPower
Power
 
Tcdnug xamarin
Tcdnug xamarinTcdnug xamarin
Tcdnug xamarin
 
Electricmotors5
Electricmotors5Electricmotors5
Electricmotors5
 
Electronicdevices
ElectronicdevicesElectronicdevices
Electronicdevices
 
Gmics vslides120811
Gmics vslides120811Gmics vslides120811
Gmics vslides120811
 

Similar to Expert Systems FFT Research Projects

FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentationssuseracb8ba
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transformSimranjit Singh
 
3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transformWiw Miu
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transformvijayanand Kandaswamy
 
3. convolution fourier
3. convolution fourier3. convolution fourier
3. convolution fourierskysunilyadav
 
Fft analysis
Fft analysisFft analysis
Fft analysisSatrious
 
SP_SNS_C2.pptx
SP_SNS_C2.pptxSP_SNS_C2.pptx
SP_SNS_C2.pptxIffahSkmd
 
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisChandrashekhar Padole
 
imagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptximagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptxMrsSDivyaBME
 
Knoxville aug02-full
Knoxville aug02-fullKnoxville aug02-full
Knoxville aug02-fulldouglaslyon
 
Design of FFT Processor
Design of FFT ProcessorDesign of FFT Processor
Design of FFT ProcessorRohit Singh
 
Fast Fourier Transform Analysis
Fast Fourier Transform AnalysisFast Fourier Transform Analysis
Fast Fourier Transform Analysisdhikadixiana
 
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...ijma
 

Similar to Expert Systems FFT Research Projects (20)

FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
Res701 research methodology fft1
Res701 research methodology fft1Res701 research methodology fft1
Res701 research methodology fft1
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform3 f3 3_fast_ fourier_transform
3 f3 3_fast_ fourier_transform
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
 
Image transforms
Image transformsImage transforms
Image transforms
 
3. convolution fourier
3. convolution fourier3. convolution fourier
3. convolution fourier
 
FFT Analysis
FFT AnalysisFFT Analysis
FFT Analysis
 
Fft analysis
Fft analysisFft analysis
Fft analysis
 
SP_SNS_C2.pptx
SP_SNS_C2.pptxSP_SNS_C2.pptx
SP_SNS_C2.pptx
 
Fourier slide
Fourier slideFourier slide
Fourier slide
 
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
 
RES701 Research Methodology_FFT
RES701 Research Methodology_FFTRES701 Research Methodology_FFT
RES701 Research Methodology_FFT
 
imagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptximagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptx
 
Knoxville aug02-full
Knoxville aug02-fullKnoxville aug02-full
Knoxville aug02-full
 
Reconstruction
ReconstructionReconstruction
Reconstruction
 
DSP .pptx
DSP .pptxDSP .pptx
DSP .pptx
 
Design of FFT Processor
Design of FFT ProcessorDesign of FFT Processor
Design of FFT Processor
 
Fast Fourier Transform Analysis
Fast Fourier Transform AnalysisFast Fourier Transform Analysis
Fast Fourier Transform Analysis
 
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Expert Systems FFT Research Projects

  • 1. EXPERT SYSTEMS AND SOLUTIONS Email: expertsyssol@gmail.com expertsyssol@yahoo.com Cell: 9952749533 www.researchprojects.info PAIYANOOR, OMR, CHENNAI Call For Research Projects Final year students of B.E in EEE, ECE, EI, M.E (Power Systems), M.E (Applied Electronics), M.E (Power Electronics) Ph.D Electrical and Electronics. Students can assemble their hardware in our Research labs. Experts will be guiding the projects.
  • 3. Outline  Purpose  Background  Fourier Transform  Continuous Fourier Transform  Discrete Fourier Transform (DFT)  Fast Fourier Transform (FFT)  FFTW  Examples
  • 4. Purpose  Analyze the frequencies contained in a sampled signal  Used in:  Digital Signal Processing  Optics  Oceanography  Acoustics  Physics  Number Theory
  • 5. Fourier Transform  Named after Jean Baptiste Joseph Fourier  an integral transform that re-expresses a function in terms of sinusoidal basis functions  transforms linear differential equations with constant coefficients into ordinary algebraic ones  turns the complicated convolution operation into simple multiplication
  • 6. Continuous Fourier Transform  decomposes a function into a continuous spectrum of the frequencies that comprise that function  Function:  Inverse:
  • 7. Discrete Fourier Transform  Also called Finite Fourier Transform  The n complex numbers x0, ..., xn-1 (ie. xi=xreal + i*ximag) are transformed into the n complex numbers f0, ..., fn-1 according to the formula:  Inverse (IDFT)
  • 8. DFT cont. Written in matrix form, the DFT is: where
  • 9. Fast Fourier Transform (FFT)  An efficient algorithm to compute the DFT and its inverse  Divide and conquer algorithm  Reduces time from O(n2) to O(n log n)  Seismic Data contains hundreds of thousands of samples and would take months to evaluate the DFT  Cooley-Tukey is most popular implementation  Developed in 1965  Re-invented work done by Carl F. Gauss in 1805
  • 10. FFT Definitions  sinusoid the curve of y=sin x  radix the size of an FFT decomposition.  twiddle factors the coefficients used to combine results from a previous stage to form inputs to the next stage.  “in place” FFT an FFT that is calculated entirely inside its original sample memory.
  • 11. FFT Definitions cont.  bit reversal 0, 1, 2, 3, 4, 5, 6, 7 is reordered to 0, 4, 2, 6, 1, 5, 3, 7 Decimal Binary Binary Decimal 0 000 000 0 1 001 100 4 2 010 010 2 3 011 110 6 4 100 001 1 5 101 101 5 6 110 011 3 7 111 111 7
  • 12. FFT Implementation  Radix-2  N, the sample size, must be a power of 2  Mixed-radix  Can use different powers at different stages  Ex. 1000 = 2*2*2*5*5*5 (six stages) or 1000 = 10 * 10 * 10 (three stages)
  • 13. FFT Implementation (cont.) 1. Pad input sequence, of N samples, with ZERO's until the number of samples is the nearest power of two. e.g. 500 samples are padded to 512 (2^9) 2. Bit reverse the input sequence. e.g. 3 = 011 goes to 110 = 6 3. Compute (N / 2) two sample DFT's from the shuffled inputs. 4. Compute (N / 4) four sample DFT's from the two sample DFT's. 5. Compute (N / 2) eight sample DFT's from the four sample DFT's. ... 6. Combine back into one N-sample DFT
  • 14. Fast Fourier Transform in the West (FFTW)  Developed at MIT  Free collection of fast C routines for computing the DFT in 1 or more dimensions  Includes complex, real, symmetric, and parallel transforms  MPI parallel transforms are only available in v. 2.1.5
  • 15. FFTW cont.  Serial/Parallel, Share/Distributed Memory  Faster than most “non-free” implementations  Portable, automatically adapt to machine
  • 16. Two Phases of FFTW  Hardware dependent algorithm  Planner  ‘Learn’ the fast way on your machine  Produce a data structure --‘plan’  Reusable  Executor  Compute the transform  Apply to all FFTw operation modes  1D/nD, complex/real, serial/parallel
  • 17. MPI FFTW Routines  fftwnd_mpi_plan fftwnd_create_plan(mpi_comm comm, int rank, const *int n, fftw_direction dir, int flags);  void fftwnd_mpi_local_size(fftwnd_mpi_plan p, int *local_first, int *local_first_start, int *local_second_after_transpose, int *local_second_start_after_transpose, int *total_local_size);  local_data = (fftw_complex*) malloc(sizeof(fftw_complex) * total_local_size);  work = (fftw_complex*) malloc(sizeof(fftw_complex) * total_local_size);  void fftwnd_mpi(fftwnd_mpi_plan p, int n_fields, fftw_complex *local_data, fftw_complex *work, fftw_mpi_output_order output_order);  void fftw_mpi_destroy_plan(fftwnd_mpi_plan p
  • 18. Examples  View C source code fftw_mpi.c fftw_mpi_test.c  To compile: cc -o ffmpi fftw_mpi_test.c –lmpi -lfftw_mpi -lfftw –lm  Matlab Example
  • 19. References  http://en.wikipedia.org/wiki/Fourier_transform  http://en.wikipedia.org/wiki/Continuous_Fourier_transform  http://en.wikipedia.org/wiki/Discrete_Fourier_transform  http://astonomy.swin.edu.au/~pbourke/analysis/dft  http://www.dspguru.com/info/faqs/fftfaq.htm  http://www.arc.unm.edu/~gbma/Workshop/FFTW/slides/outlinee.htm  http://astron.berkeley.edu/~jrg/ngst/fft/fourier.html  http://www.spd.eee.strath.ac.uk/~interact/fourier/fft/fftalgrm.html  http://www.ni.com/swf/presentation/us/fft/  http://www.fftw.org

Editor's Notes

  1. convolution is a mathematical operator which takes two functions f and g and produces a third function that in a sense represents the amount of overlap between f and a reversed and translated version of g . ie polynomial multiplication and multiplying large numbers
  2. a linear transformation (also called linear operator or linear map ) is a function between two vector spaces that respects the arithmetical operations addition and scalar multiplication defined on vector spaces, or, in other words, it "preserves linear combinations f(x+y) = f(x) + f(y) and f(ax) = a*f(x)
  3. The idea behind the FFT is the divide and conquer approach, to break up the original N point sample into two (N / 2) sequences. This is because a series of smaller problems is easier to solve than one large one. The DFT requires (N-1)2 complex multiplications and N(N-1) complex additions as opposed to the FFT's approach of breaking it down into a series of 2 point samples which only require 1 multiplication and 2 additions and the recombination of the points which is minimal.