Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

FFT signal output waveform FPGA

Status
Not open for further replies.

SharpWeapon

Member level 5
Joined
Mar 18, 2014
Messages
89
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
705
Hello,

A design of FFT processor on FPGA has a bit strange output, at first It was a smooth curve with two picks at the frequency of the input signal and image frequency. But once I added a few more modules to the design, all went wrong. The matlab plot looks like this. output.jpg

What could potentially cause this oscillation kinda signal?

Thanks!
 

Hi,

Did you add a window function module?

Klaus
 

The FFT processor takes the input from the FPGA memory which is a sin wave. There is no window function module, I just gave the sin wave saved in the memory to the FFT processor.
 

Hi,

it seems to me like a 64 point FFT.
Usually an FFT has two input arrays:
* one for the ADCsamples (real part. Your sine table)
* one for an imaginary part. Either your FFT processor fills it with zeroes or you have to do this. Check this.

As far as i can see you have 7 full waves of sine in your table. Be sure it is an integer value (not: 7 fullwaves plus a little bit of the 8th)

... but somehow the graph reminds me on a window function.


Klaus
 
Thank you. That is right, I have real and Imaginary parts. And I put the Imaginary part to zero. But the thing you mentioned about full sin waves, I think that will just make the signal to spread rather than having a pick. I don't think that will make the signal oscillate like the one I have. Don't you think?

The spreading is not as such a problem for me right now, I want the reason why I have a signal oscillating at its ends.
 

Hi,

your signal is not oscillating. The FFT result show the frequencies.

But you must have an integer number of sinewaves in your array to get sharp peak in FFT result (frequency) and low flat noise floor.


Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top