Electronic – Anti Aliasing Filter and the bandwidth selection

filter

I am currently analyzing the raw measurements of a sensor with the sampling frequency of 400[hz]. According to Nyquist theorem, the bandwidth must be less than a half of the sampling frequency, which means less than 200 [Hz]. What will happen if I select the bandwidth as 50 [Hz] or 100 [Hz]?

(I have already tried to design two low pass FIR filters with the same characteristics, but different bandwidths, one 200 [Hz] and the other one 50 [Hz]; I noticed that for the bandwidth of 50 [hz], the pass band gain is not 1 anymore).

Thank you

Best Answer

The FIR filter can only be applied to the signal after it has been digitized, which is too late. You have to apply the anti-aliasing filter before the ADC. That is to say, you need an analog filter.

As far as bandwidth, that depends on your other requirements. If you know that there's only noise above 50Hz, then you could use a 50Hz lowpass as your antialiasing filter, and reduce the noise at the same time.

Using a lower cutoff also makes the analog filter easier to build. A filter that is sharp enough to remove everything above 200Hz but not mess with lower frequencies (much) would need several carefully calculated stages, and might be difficult to build correctly (oddball part values and what have you.) If you use a cutoff of, say, 100 Hz you could get by with a simpler analog filter than if you really, really need frequencies up to 200Hz.