RSSI Smoothing and Zone Classification

RSSI Smoothing and Zone Classification

animation
bluetooth-ble
python
Try Keep Movement Scenario on Approaching (far to near) and raise EMA Alpha (smoothing factor) from 0.3. Compare the smoothed curve with the raw samples.
Observe With the default alpha of 0.3, Effective Window is 5.7 samples and 95% Response Time is 8.4s (at 1Hz). Final Zone reads IMMEDIATE for the default approaching sequence.
Explain After the first sample, EMA Alpha (smoothing factor) weights each new reading and the remaining weight keeps the previous smoothed value. The smoothed signal sets the zone, while TX Power at 1m (dBm) and Path Loss Exponent (n) set the distance estimate.

Technical boundaries. Each scenario is a fixed sequence of 15 samples, and the response-time display assumes one sample per second. Distance uses 10 raised to ((TX power − smoothed RSSI) / (10 × n)); zone selection instead uses strict thresholds above -55 and -70 dBm.

NoteTry It: RSSI Smoothing and Zone Classification

Experiment with EMA smoothing parameters and see how they affect proximity zone detection. Adjust the alpha value and watch the smoothed RSSI converge, then observe zone classification in real time.

Back to the chapter