Noise and filtering
A reading is a number plus a distribution. Measuring the distribution, averaging it down, filtering in real time, throwing out the readings that are wrong, and paying for all of it in lag.
Start in the simulator- U4.1 A reading is a distribution Mean, standard deviation, and what one number from a sensor is actually telling you.
- U4.2 Averaging The square root of n, why it stops paying, and what it costs in time.
- U4.3 The low pass filter A moving average, then the exponential filter that does the same job in one line and no memory.
- U4.4 Outliers Some readings are not noisy, they are wrong. The median, and gating on what you expected.
- U4.5 The price of filtering Every filter delays. Measuring the delay, and what it does to a loop closed around it.
- U4.6 Choosing the filter Matching the cut-off to the signal you care about, by measurement rather than by taste.
- U4.7 Project: hold the gap Sit 25 cm from a wall, steadily, on a depth sensor that is 3 cm noisy.