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.

Estimating number of Multiplication with FIR filter

Status
Not open for further replies.

seeking_help

Newbie level 1
Joined
Jun 16, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Hi,

I am having some difficulties with working out the following question. Any help or guide to solve these questions are deeply appreciated. Thank You

Given a set of specification for an FIR Low Pass Filter:

Sampling Frequency = 18Khz
Passband Edge = 250 Hz
Stopband Edge = 350 Hz
Passband Ripple = 1 dB
Stopband Attenuation > 80 dB

1) What is the best estimate of the number of multiplications per second required to process this data with a standard transverse FIR filter ( Based on the harris forumale for filter length)?

2) What is the maximum downsampling factor which could be applied to the output of this filter without significant aliasing distortion?

3) What is the best estimate of the number of multiplications per second required to process this data with a polyphase downsampling filter?
 

1) What is the best estimate of the number of multiplications per second required to process this data with a standard transverse FIR filter ( Based on the harris forumale for filter length)?

I don't know what the harris formula is, but you have to design an LPF satisfying your criteria at first. The length of the designed filter will uniquely determine the number of MAC operations required to implement it.

2)What is the maximum downsampling factor which could be applied to the output of this filter without significant aliasing distortion?

As the low-pass filtering is applied before downsampling the part of the spectrum above 350 Hz will not contain spectral components that could deteriorate in-band performance after aliasing (assuming that 80 dB suppression of aliased components is acceptable). Therefore the upper limit of the (integer) downsampling factor is ceil(18000/(350*2)) = 25.

3) What is the best estimate of the number of multiplications per second required to process this data with a polyphase downsampling filter?
The polyphase implementation can be very effective if you design a hardwired filter (in FPGA or ASIC) since it allows reducing the number of multipliers, however the total number of multiplication operations stays the same. In can also give benefits when the filtering is performed in software, but i'm afraid i can't tell you more, cause i've designed polyphase filters in VHDL only.

PS: MACS (multiply-accumulate per second) is not a property of an algorithm, it is a property of a processor. I.e. if processor has processing speed of say X MACS and your input data have the sample rate of N Hz then the number of filter taps you can implement (ignoring overheads associated with interrupt management and so on) is X/N.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top