By uniform noise I mean a band of a fixed width, no spikes, etc. This has to be one of the simplest examples. I'm looking for the appropriate theoretical approach as much as something relatively computationally efficient.
The true signal changes slowly (slower than 1Hz, a battery voltage). The noise band remains fairly constant (~50mV noise on a ~4V signal).
Initial ideas:
- Long moving average (e.g. a 32-point moving average).
Leaky-integrator/low-pass filter/FIR filter: "Low-pass filter" in non-EE, software API contexts
Recursive arithmetic average:
y_new = (new_sample + y_last) / 2
I'd love to learn more about what I think is a geometric average. I'm not sure I can quantify the time-to-settle/time-to-seed for these options either.
If there are more standard approaches, I'd love to learn about those as well.