Journal / Predictive maintenance
Predictive maintenance without the cloud: on-device vibration AI for real plants
Streaming every sensor to a server is expensive and fragile. How on-device models on low-power microcontrollers catch failing machines early and send only what matters.
Most factories already know which machines they can't afford to lose. What they rarely have is warning. A bearing starts to wear, vibration creeps up for weeks, and the first anyone hears of it is the noise just before the line stops.
Predictive maintenance promises to fix that. The usual pitch, though, is a cloud platform: put sensors on every machine, stream the raw data to a server, and let a model there decide what's wrong. For a lot of plants in India and elsewhere, that model breaks down quickly.
Why streaming everything to the cloud struggles
Bandwidth adds up. A single accelerometer sampled fast enough to catch bearing faults produces a steady stream of data. Multiply that by hundreds of motors and you are paying to move gigabytes that are almost entirely "everything is fine".
Connectivity isn't guaranteed. Pump houses, basements, rotating equipment and metal enclosures are hostile to wireless signals. A system that only works when the link is up will miss exactly the moments that matter.
Latency and cost grow with the fleet. Every inference in the cloud is a recurring cost, and every decision waits on a round-trip.
Plant data is sensitive. Production rates and machine behaviour are commercially valuable. Many operators would rather it never left the site.
The edge alternative: decide on the sensor
Edge AI flips the architecture. A small, low-power microcontroller sits with the sensor, runs the model locally and sends only what matters: healthy, or bearing wear detected on motor M3, confidence 0.87.
A typical node looks like this:
- A vibration sensor (a MEMS accelerometer) mounted close to the bearing, sometimes alongside current or temperature sensing.
- Signal processing on the microcontroller. Windowing and an FFT turn raw vibration into a spectrum where faults show up as energy at characteristic frequencies.
- A compact model. Either a classifier trained on known fault types, or an anomaly detector that learns what "normal" looks like for this specific machine and flags anything that drifts away from it.
- An event, not a stream. The node sends a heartbeat and alerts. Raw data is captured only when it's needed for diagnosis.
On STM32 parts this runs in milliseconds and at very low power, which makes battery-powered retrofit sensors practical.
Classifier or anomaly detector?
This is the first real design decision, and it depends on your data.
If you have labelled examples of failures, a classifier can tell you what is wrong (imbalance, misalignment, looseness, bearing wear) and is easier to act on.
If failures are rare or every machine is different, which is the common case, an anomaly detector is the better start. It needs only healthy data, adapts to each machine and still tells you something has changed. Tools such as ST's NanoEdge AI Studio are built for exactly this, including libraries that keep learning on the device after installation.
Many successful deployments start with anomaly detection and add classification once enough real fault data has been collected.
What a sensible pilot looks like
You don't need to instrument the whole plant to find out whether this works.
- Pick five to ten critical assets where an unplanned stop is expensive and the failure modes are mechanical.
- Record healthy data first, across loads, speeds and shifts, so the model learns real "normal", not bench "normal".
- Run the model in shadow mode for a few weeks. It raises alerts, but nobody acts on them yet; you compare them against what maintenance actually finds.
- Tune thresholds with the maintenance team. An alert nobody trusts is worse than no alert. False alarms are a design problem, not a user problem.
- Then connect alerts to the workflow your team already uses, whether that's a dashboard, a ticket or a phone notification.
What it changes
Done well, edge predictive maintenance moves a plant from fixing machines after they fail to planning repairs before they do. Spare parts get ordered on time, shutdowns get scheduled around production, and the data bill stays flat as the number of sensors grows, because the sensors are only reporting what matters.
How Saola helps
We design the full node: sensor front end, STM32 firmware, the model and the secure update path, plus the dashboard that turns alerts into decisions. If you have machines you'd like to stop worrying about, let's talk.
Weighing up edge AI for a product? Let’s run the numbers.
Book a feasibility call →Keep reading
