Documente Academic
Documente Profesional
Documente Cultură
Name:Roll No:Subject:-Advanced Digital Signal Processing Class:- M.E.(Signal Processing) Date of Conduction:Date of Completion:Signature of Staff Incharge:_____________________________________________________________________________ Aim:- To implement the 16-point FFT using the DIF-FFT algorithm. Theory:INTRODUCTION TO CODE COMPOSER STUDIO Code composer is the DSP industry`s first fully integrated development environment(IDE) with DSP-specific functionality. With a familiar environment like MS-based C++TM, Code Composer lets you edit, build, debug, profile and manage projects from a single unified environment. Other unique features include graphical signal analysis, injection/extraction of data signals via file I/O, multi-processor debugging, automated testing and customization via a Cinterpretive scripting language and much more. CODE COMPOSER FEATURES INCLUDE: IDE Debug IDE Advanced watch windows Integrated Editor File I/O, Probe Points and graphical algorithm scope probes Advanced graphical signal analysis Interactive profiling Automated testing and customization via scripting Visual Project management system Compile in the background while editing and debugging Multi-processor debugging Help on target DSP
8. Compile the program using the project-compile pull down menu or by clicking the shortcut icon on the left side of program window. 9. Build the program using the project-build pull down menu or by clicking the shortcut icon on the left side of program window. 10. Load the program(lconv.out) in program memory of DSP chip using the file-load program pull down menu. 11. To view output graphically Select view - graph- time and frequency Configure the graphical window values Start address -- y DSP data type - 32- bit signed integer.
Theory:Fast Fourier Transform:FFT algorithms are based on the fundamental principle of decomposing the computation of discrete Fourier transform of a sequence of length N into successively smaller discrete Fourier transforms. There are basically two classes of FFT algorithms:1. DIT-FFT [Decimation-in-Time] 2. DIF-FFT[Decimation-in-Frequency] DIT-FFT AlgorithmIn the decimation-in-frequency algorithm approach, the frequency samples of the DFT are decomposed into smaller and smaller subsequences and final sequence is obtained. The basic computational diagram as a Butterfly structure is given as:-
Steps for Radix- 2 DIF-FFT Algorithm1. The number of input samples , where, M is number of stages. 2. The input sequence is in natural sequence.
3. The number of stages in the flow graph is given by . 4. Each stage consists of butterflies. 5. Inputs/outputs for each butterfly are separated by samples, where represents the stage index, i.e. for the 1st stage and for second stage and so on. 6. The number of complex multiplications is given by . 7. The number of complex additions is given by . 8. The twiddle factor exponents are a function of the stage index and is given by
9. The number of sets or sections of butterflies in each stage is given by the formula . 10. The Exponent Repeat Factor (ERF), which is the number of times the exponent sequence associated with is repeated is given by . Conclusion:-