A field team faces an unresolved physical question: Why does a small edge model still depend on sampling physics? They must answer it before changing firmware rate on the real device. Predict the direction first.
See the relationship before changing it
The figure reads from left to right. The blue card is firmware rate. The middle card applies this page's relationship. The green card is nyquist ceiling. Walk the arrows once: set the input, apply the rule, then read the result with its unit.
The retained audit below checks several chapter fixtures. This added model holds every other chapter fixture fixed, so the numeric fixture does not switch without explanation.
Derive the baseline in four named moves
- 1
Name the input. The chapter baseline for firmware rate is 2560.
- 2
Name the relationship. fs,min=2(1.00 kHz)=2.00 kHz; fs,practical=2.56(1.00)=2.56 kHz 2.56/(2x1.00)=1.28x Nyquist margin 2¹²=4,096; q=3.3/4,096=0.806 mV; qrms=0.233 mV; SNR=74.0 dB 100 MBx1,024/200 kB=512x
- 3
Substitute the chapter fixture. Set firmware rate to 2560. The page ledger gives nyquist ceiling as 1.3 kHz.
- 4
Read the result. Keep kHz beside the value. Use it only inside the technical boundary on this page.
Predict, then change firmware rate
Try Predict the direction of nyquist ceiling. Move one control, calculate, then check your prediction.
Observe The firmware rate changes the sensor evidence without changing one model weight. That is why sample rate belongs in the model release ledger. Reset the control to 2560 and compare nyquist ceiling.
Explain Only firmware rate moves here. The other chapter fixtures remain fixed.
Check yourself
What should you do before trusting a moved-control result?
What does this small model leave out?
1. Begin before the model
The model receives features made from samples. If the ADC folded a fast vibration or rounded away a small change, a smaller model cannot recover the original signal.
2. Name every algebra move
Double the signal bandNyquist minimum=2fmax.
Leave filter roomPractical rate=2.56fmax in this stated design convention.
Measure marginNyquist margin=fs/(2fmax).
Count ADC levelsLevels=2ᴺ; q=Vref/2ᴺ; qrms=q/√12.
Compare artifacts100 MB×1,024/200 kB=512× by binary units.
3. Reproduce the teaching case
2.56/(2×1.00)=1.28× Nyquist margin
2¹²=4,096; q=3.3/4,096=0.806 mV; qrms=0.233 mV; SNR=74.0 dB
100 MB×1,024/200 kB=512×
The practical factor leaves a transition band for a real anti-alias filter instead of placing useful signal on the exact Nyquist edge.
4. Try the firmware sample rate
TryMove the firmware rate below and above 2.56 kHz and watch the strict and practical margins separate.
ObserveAt 2.56 kHz the Nyquist margin is 1.28× and the practical-target share is 1.00×. At 2.00 kHz the strict rule is only just met, leaving no transition room in this model.
ExplainThe firmware rate changes the sensor evidence without changing one model weight. That is why sample rate belongs in the model release ledger.
This compact engine audits acquisition limits and artifact size, not classifier quality.
- Bandwidth
- The 1.00 kHz band and 2.56 factor are stated design assumptions, not a measured spectrum
- ADC
- Ideal resolution omits analogue noise, sensor sensitivity, range, and clipping
- Model
- File-size ratio says nothing about accuracy, latency, memory arena, power, or operator support
Validate the complete sensor-feature-model chain on the target board.
5. Set the release boundary
Treat sensor firmware, filter, rate, feature recipe, model artifact, runtime, threshold, and fallback as one versioned system. A change to any one can invalidate the test result.
6. Keep the deployment record
Record signal band, sensor range, ADC, filter and rate, feature code, dataset, model hash, operators, tensor arena, latency, power, threshold, fallback, owner, rollback, and retest trigger.
7. Check yourself
Why is 2.00 kHz the strict minimum?
Why use 2.56 kHz in the teaching design?
Does a 512× smaller artifact prove deployment parity?
Model sizes come from the chapter; acquisition figures are labelled typical or assumed.
- 100 MB, 5 MB, 200 kB
- The chapter's model-conversion path
- 1.00 kHz and 2.56×
- A stated condition-monitoring band and practical sampling convention
- 12-bit, 3.3 V
- A catalog-typical microcontroller ADC example
Correct, not complete: acquisition arithmetic does not qualify a TinyML release.
Data Dora guides