FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-23-2007, 03:22 AM
Mr. Ken
Guest
 
Posts: n/a
Default How do I deal with final scaling factor in 8K FFT?

In the implement of dynamic scaling FFT(8k for DVB-T), a scaling factor is
incremented at the end of each stage if the maximum value of the stage is
large
enough to cause overflow in next stage and the data in the memory is scaled
down.

In the end of the FFT, I will have a final scaling factor SF.

That is to say,

y0 = fft(x); // SF = 2;
y1 = fft(x/2); // SF = 1;

y0 and y1 will be nearly identical, however scaling factor is different. How
would
I deal with this situation before feeding to ADC?

Thanks



Reply With Quote
  #2 (permalink)  
Old 01-24-2007, 03:20 AM
Ray Andraka
Guest
 
Posts: n/a
Default Re: How do I deal with final scaling factor in 8K FFT?

Mr. Ken wrote:
> In the implement of dynamic scaling FFT(8k for DVB-T), a scaling factor is
> incremented at the end of each stage if the maximum value of the stage is
> large
> enough to cause overflow in next stage and the data in the memory is scaled
> down.
>
> In the end of the FFT, I will have a final scaling factor SF.
>
> That is to say,
>
> y0 = fft(x); // SF = 2;
> y1 = fft(x/2); // SF = 1;
>
> y0 and y1 will be nearly identical, however scaling factor is different. How
> would
> I deal with this situation before feeding to ADC?
>
> Thanks
>
>
>


That sounds like it is basically block floating point. The scale factor
adjustments from each stage should be accumulated so that you have the
scale factor available at the end. The scale factor will be a power of
two that indicates how far the result has been right shifted. You will
need to figure out what an appropriate overall scale factor for all the
data sets pumped through, and shift the data appropriately so that it
all has the same scale.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The X factor [email protected] Verilog 0 09-13-2006 12:47 PM
Roll-off factor sridhargadda DSP 4 04-08-2005 03:18 PM
a question about image filtering: what should be the scaling factor after image filtering? lucy DSP 1 11-27-2004 05:52 PM
SOS! how to factor x^341 -1 in GF(3)? how to do GF(3) stuff in matlab? how to factor polynomial on GF(3)? walala DSP 3 12-23-2003 03:05 PM
correct scaling factor in Matlab cwt()? Christopher John Rozell DSP 0 07-25-2003 05:31 PM


All times are GMT +1. The time now is 02:49 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved