FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6359 Discussions

how to design a low pass digital filter with smallest delay

Altera_Forum
Honored Contributor II
9,775 Views

Hello, All 

 

I want to design a digital filter with the cutoff frequency 20Hz. The sampling frequency of my acquiring system is very high, up to 8192 Hz.  

 

The important requirement is the delay introduced by the filter should be as small as possible.  

 

The filter will be used online, and therefore I don't want to use the inverse model of the filter to cancel the delay. 

 

I tried the elliptic filter, and the delay is about 20 to 30 ms. Too large for me. 

 

What type of filters can I use? 

 

Thank you for your help
0 Kudos
26 Replies
Altera_Forum
Honored Contributor II
428 Views

In my last post, I wrote the transition band is 8Hz, from 20Hz to 28Hz

0 Kudos
Altera_Forum
Honored Contributor II
429 Views

i understand, this is why i said designing a filter with a transition band of 1/1000 of the sample rate is not a simple task

0 Kudos
Altera_Forum
Honored Contributor II
429 Views

It simply involves a considerable filter order. To reduce the resource consumption, one would prefer a multi-rate design usually

0 Kudos
Altera_Forum
Honored Contributor II
429 Views

in this case you can do a down sample by 256 (try a whole series of half band filters too). i designed a filter with a transition band of 1/1000 of the sample rate (1 dB in band ripple, 100 dB stop band attenuation) and couldn't decimate (the passband was just over the quarter sample rate). it was a challenge

0 Kudos
Altera_Forum
Honored Contributor II
429 Views

If you indeed wanted to go for decimation then a decimation polyphase structure will reduce multipliers by decimation factor. Using cascaded halfband is an overkill. 

 

However, I feel an IIR filter is best option provided phase linearity is not a problem and provided the maximum delay in the band of interest is kept minimum.
0 Kudos
Altera_Forum
Honored Contributor II
429 Views

Many thanks to everyone! 

 

Now I am using two filters in parallel. It is not so bad and I have to accept the delay. 

 

Thank you again.
0 Kudos
Reply