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.

Help with multi-taps delay

Status
Not open for further replies.

jetset

Full Member level 3
Joined
Jun 17, 2004
Messages
152
Helped
14
Reputation
28
Reaction score
3
Trophy points
1,298
Location
Panama
Activity points
1,256
I've designed a multi taps delay using a non-floating point DSProcessor.
My question is, can I implement feedback gain of the taps using just integers operations? You know feedback gains should be less than 1
(for example 0.5, 0.6, 0.7....) but I don't know how to do this just using integer operations.
 

Hi jetset,

I am not expert in the DSP implementation area but will share with you what i know.
The idea behind the integer representation is to not have floating point calculation which are very slow on the
fixed point DSP (done by software library). So you have to transfer the float calculation with integer. Solution
Multiply your filter coefficients by 2^n (it is left shift by n steps), scale your float input data also (lat say *2^m) to the
integer one. Then take the integer part.
Note that in the above conversion some round off error is introduced so n and m should be selected carefully. then perform
the calculation using int calculation and then rescale by the /2^(m+n) - right shift. Note that this shiftings sometimes should
be done on each input sample (for IIR filters) but can done only ones at the beginning and at the end of filter calculation for the
FIR filters.

Good luck!
dora
 

Hi,
In a fixed point processor you have enough instructions to calculate the FIR filter. You look at the the instruction set and architetcture carefully. If you are using ADSP PM me.
B R M
 

ok Dora you gave me an idea,,, thanks :D
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top