EC-20.7 Sensor Fusion, and Machine Learning on the Device
You can combine several imperfect sensors into one estimate and say why the combination is better than either input, and decide for a given problem whether inference belongs on the device, at the edge or on a server.
Before:EC-11. Data Communications and Computer NetworksEC-16. Ethics, Safety, Sustainability and Standards
Two cheap sensors that fail differently can beat one expensive sensor, and the mathematics for saying so is the same complementary and Kalman filtering that turns up in control and navigation. The second half of the topic is the newer question: a model quantised to eight bits can now run on a part with a few hundred kilobytes of memory, so where the computing happens has become a design decision rather than a given.
Work through these
Why one sensor is never enough: bias, drift, noise and dropout
Each sensing technology fails in its own characteristic way, and the failures are usually uncorrelated. Combining two whose errors are independent produces an estimate better than either, which is the whole argument for fusion.
NPTEL: Introduction to Internet of Things (IIT Kharagpur) · CourseThe complementary filter, and when it is all you need
Trusting one sensor at low frequency and another at high frequency is a two-line calculation that solves a surprising number of real problems. Reaching for something heavier before trying it is a common waste of effort.
The Kalman filter as a prediction corrected by a measurement
The filter keeps a model of the state, predicts forward, and blends the prediction with the next measurement in proportion to how much each is trusted. Reading it that way makes the equations follow from the idea rather than the reverse.
NPTEL: Introduction to Internet of Things (IIT Kharagpur) · CourseFitting a model into a few hundred kilobytes: quantisation and pruning
Cutting weights to eight-bit integers and removing the ones that contribute little can shrink a model by an order of magnitude for a small loss of accuracy. Whether that loss is acceptable is a question about the application, not the model.
NPTEL: Embedded System Design with ARM (IIT Kharagpur) · CourseDeciding where inference runs, and what each choice costs
Running on the device costs memory and energy, running on a server costs a radio transmission and a round trip, and running nearby costs a second box to maintain. The energy budget from the previous topic usually settles it.
NPTEL: Design for Internet of Things (IISc Bangalore) · CourseCollecting the data honestly, and knowing when the model has gone stale
A model trained on data from one installation often fails at the next, and nothing on the device will announce it. Deciding in advance what evidence would show the model has drifted is part of shipping one.
Sign in to keep your progress.
Free resources
We haven't checked most of these for screen reader use yet.
Links last checked 4 Sept 2026.
Stuck here?
Ask a mentor. A real person answers, and they can see exactly which topic you're on. Usually within a couple of working days.
Checking your session…
Topics shown in module order.