Electronic – Extremely low frequency filters

digital filter

I have a data acquisition board(A/D+Digital Signal Processor) and I want to check if a digital high-pass filter(implemented in DSP) at an extremely low cut-off frequency(0.05Hz) is actually working.

If this was a frequency I could generate with a signal generator it'd be easy to check, but 0.05Hz is too low and I can't generate it. How do engineers check this kind of filters?

Best Answer

I guess it depends on several factors, among others the order of the filter, but you have a few possibilities:

  1. Find a signal generator that gets there. These are rather inexpensive nowadays.
  2. Trust the math. This is a digital filter and as such it scales with sampling rate. If you can increase the sampling rate by two orders of magnitude you would have a filter with a 5Hz cutoff, much easier to measure. Likewise, if the limiting factor becomes the ADC you can isolate it from the filter and feed in some artificial digital data.
  3. Use a step response (many wideband signals would do). Calculate the step response of your desired filter and compare with the result. Or, alternatively, compute the frequency response by means of the FFT of the step response.

We use a variation of alternative 3 in some of our test setups, not because we cannot generate the slow waveforms required, but because the <0.01Hz cutoff of our analog filters would take way too long to characterize if we tried even a rough frequency sweep. This reduced the testing time from more than an hour to mere minutes.