Hi,
I know PICs aren't the best for this but they are what I'm set up for.
I'm thinking of trying an 8 tap averaging filter to reduce some noise on a PI.
I've gained some bits by a novel sampling method, so I don't mind loosing a few,
maybe I could even go to a 16 or 32 point average.
I need to know if my algorithm is correct before beginning.
Now with the 8 point model, would it work if I right shifted each new sample by 3 bits
(n/ eight) then added all 8 right shifted samples together for an output result?
I know dynamic loss will result as each new sample is summed with the previous 7,
but if the sample rate is high enough as is the PRR, target traces should emerge more
from the noise?
what do you think?
Cheers
Kev.
I know PICs aren't the best for this but they are what I'm set up for.
I'm thinking of trying an 8 tap averaging filter to reduce some noise on a PI.
I've gained some bits by a novel sampling method, so I don't mind loosing a few,
maybe I could even go to a 16 or 32 point average.
I need to know if my algorithm is correct before beginning.
Now with the 8 point model, would it work if I right shifted each new sample by 3 bits
(n/ eight) then added all 8 right shifted samples together for an output result?
I know dynamic loss will result as each new sample is summed with the previous 7,
but if the sample rate is high enough as is the PRR, target traces should emerge more
from the noise?
what do you think?
Cheers
Kev.
Comment