Adaptive Sampling Power Savings
Adaptive Sampling Power Savings
animation
sensing
power-management
Try Start with Stable interval (seconds) at 60, Active interval (seconds) at 10 and Time stable (%) at 70; toggle Transmit only on threshold changes.
Observe The opening comparison gives 8640 fixed readings versus 3600 adaptive readings, with 1080 filtered transmissions for the adaptive case.
Explain The reading count combines 70% of the day sampled every 60 seconds with 30% sampled every 10 seconds; filtering rounds transmissions to 30% of adaptive readings.
Technical boundaries. The budget assumes 30 mA sensing for 3 seconds, 170 mA radio use for 2 seconds, 0.010 mA sleep current and a 2000 mAh battery. Change threshold (deg C) only changes the summary text; it does not alter sampling or transmission counts, and sleep charge is added for a full day.
Try It: Adaptive Sampling Power Savings
Variance-Based Adaptive Sampling
Goal: Sample faster when sensor values change rapidly, slower when stable.
Algorithm:
Start by calculate rolling standard deviation of last 10 readings. Then if stddev > threshold: sample every 10s. Next if stddev < threshold: sample every 60s. Finally transmit only when value changes by >5%.
Challenge: Implement this for temperature sensor with automatic adaptation