Digital vs. Analog Filter

I need help deciding on whether to use a digital or analog filtering design. I have a 100 uV signal that I need to amplify 10,000x and bandpass filter for 500-5,000 Hz. I want to sample this signal with a SoC or microcontroller at a rate of at least 10 kHz and send the data to a PC. Power and size are of major concern in this design.

My thoughts are as follows, but may be incorrect:

If I use a digital filter, I could implement the bandpass filtering on the PC to conserve space and power. I would still need to amplify and perform anti-aliasing filtering on the circuit. Would this really conserve any space?

Any thoughts from the more experiences people here?
Who is Participating?
algorithConnect With a Mentor Commented:
As you mention, you need to perform anti-aliasing on the input signal to the D/A, which of course cannot be done digitally.

A second consideration is the dynamic range of the amplifier - if the out-of-band noise is substantially larger than your 100 uV signal, it will seriously reduce the useful gain the amplifier can provide. I.e. if the input noise is sufficient to pin the output of the G=10000 amplifier, it will not be possible to accurately filter the output and still recover a faithful reproduction of the input signal.  So I would say it is extremely useful to band-limit the signal on the input to the amplifier.

I have used a Sallen-Key filter for this (3d circuit here), with the filter also providing the first gain stage. It is possible to build this 2-pole filter with one op-amp and reasonable tolerances on the components.   This will go a long way toward mitigating the requirements for the amplifier stage. This opamp needs to be reasonably low-noise.

Also, some high-pass filtering is definitely called for on the input, for essentially the same reason. There are lots of sources of low-frequency noise, like 60 Hz line noise, or amplifier 1/f noise, or vibration causing piezo-electrically induced currents in the components. So because of the low input level, it is best to keep these out of the amplifier as well.

After this, depending on how sharp your target bandwidth cutoffs are, it may still be necessary to do digital filtering as well.
"Would this really conserve any space?"
whether you use analog or digital you will need to amplify. If you use digital elsewhere you will save space and power.
A lot depends on your specifications. rough filtering is easy with analog. Really good filtering is best done digitally.
I am most familiar with radio receivers which need good filtering. the modern (best) way is digital.
jramshurAuthor Commented:
I plan to AC couple the I could choose a capacitor size to take care of 60Hz noise (low frequency). The AC coupling combined with the anti-aliasing filter would somewhat band limit the signal.  Would it be acceptable to do the anti-aliasing and 10,000x gain in a single opamp stage?

My current test design has the following order of operations: buffer > multiple feedback HPF > multiple feedback LFP > Voltage offset adjustment > PGA (within SoC) > ADC (within SoC). The HPF and LPF filters each have a gain of 30.3 and the voltage adjustment stage has gain of 3. The PGA of coarse has variable gain. This design requires 4 opamps (or 1 quad). This is not very space conserving design.
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

This sounds about right. In my experience I would put the low-pass filter first - but without knowing the noise environment, it is hard to know if it should come before or after the high-pass.  Also, one more thing to worry about is that having high gain in these multiple feedback filters sometimes makes the response very sensitive to variation in component values.

Second, depending on the source impedance, I would tend to forego the input buffer if possible, since it will just be an extra noise source.

G=10000 is always fun and full of surprises :-) .  But unless you have a very controlled environment what you have described is about the minimum I would start with, having done this a few times.
jramshurAuthor Commented:
The input impedance will be between 0.4-0.6 MOhms. Would you still suggest not using the buffer?
I guess you have to.    This is usually a hard problem - good luck!  

Other thoughts, possibly obvious: a 50 pF capacitor to ground at the buffer input may help ?  (-> ~5 kHz cutoff)  And you can limit the buffer's frequency response, too.  And if it applies to your situation, keep in mind that coax has a capacitance of about 100 pF / meter.  Some of the Ph.D. physicists in our lab tend to forget this.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.