The business problem
Unplanned downtime stops production and often causes more damage than the first fault. Maintenance on a fixed schedule replaces parts that still had life left.
Predictive maintenance aims between the two: service a machine shortly before it would fail.
What makes it hard
- Failures are rare. A machine may fail once or twice a year. Most of the data shows machines working normally.
- Records arrive at uneven times. Sensors report every second or every minute. Alarms come when they come. Maintenance is logged by hand, sometimes days later.
- The data sits in several tables. Readings, alarms, maintenance work and failures are kept in different systems, keyed by machine and time.
- Machines differ. Models, ages, loads and operating conditions differ from machine to machine.
- New machines have no failures yet. A machine type new to the plant has no failure history of its own.
The data a plant usually has
It comes from the control system, the historian and the maintenance management system.
| Data | Example | When it is known |
|---|---|---|
| Sensor readings | Temperature, pressure, vibration, speed, current | Every second to every hour |
| Alarms and error codes | Codes raised by the controller | When they happen |
| Maintenance logs | Parts replaced, work done, technicians' notes | When the work is logged |
| Failures | Date and type of each failure | When they happen |
| Machine details | Model, age, location, operating hours | Fixed, with hours updated |
| Operating conditions | Load, product being run, shift | Per run or shift |
How it is solved today
Most plants start with thresholds, and some add a machine learning model built on fixed time windows.
- Fixed thresholds are set on single sensors, such as a vibration level that raises an alert.
- For a model, readings are cut into fixed windows, such as the last 24 hours, and summarised into averages, maxima and trends.
- Alarms are counted per window, and the days since the last maintenance are added.
- A classifier is trained to predict a failure in the next 7 or 30 days, often one for each machine type.
- When machines, sensors or operating patterns change, the thresholds are re-tuned and the models retrained.
Where it falls short
- A threshold on one sensor misses failures that show up as small changes across several sensors.
- Fixed windows cut events apart. An alarm just before a window's edge is counted in one window, and its effect shows in the next.
- The order of events is lost. An alarm followed by a repair is not the same as a repair followed by an alarm.
- Technicians' notes are rarely used.
- A new machine type has no failures to train on.
How tabSutra solves it
Readings, alarms and logs read together
You send the readings, alarms, maintenance work and failures as they are, keyed by machine and time. You name what to predict, such as a failure in the next 7 days, and the date to stand at.
Machine records
| Machine | Time | Record | Value |
|---|---|---|---|
| M-14 | 30 Nov 09:00 | Vibration | 4.1 mm/s |
| M-14 | 30 Nov 11:12 | Alarm | E-27 |
| M-14 | 30 Nov 16:40 | Maintenance | Bearing greased |
| M-14 | 1 Dec 09:00 | Vibration | 5.6 mm/s |
Readings, alarms and maintenance, at the times they happened.
tabSutra
- Reads each machine's records in time order, whatever the spacing
- Follows the keys between readings, alarms, maintenance and failures
- Uses only what was known at each prediction time
- Compares each machine with others of its kind
Risk as of 1 December
| Machine | Fail in 7 days | Time to failure |
|---|---|---|
| M-14 | 0.31 | 9 days (4 to 21) |
| M-08 | 0.06 | 74 days (38 to 120) |
| M-22 New | 0.04 | 96 days (52 to 160) |
A probability, and a time to failure with a range, for each machine.
Events at uneven times
Sensor readings arrive on a clock. Alarms and maintenance do not. A classic model has to cut everything into fixed windows first.
One machine over three days. Vibration rises slowly. Alarm E-27 fires just before and just after the first window edge, so a daily window splits it in two. The bearing is greased between the alarms and the rise in vibration.
tabSutra reads each record at the time it happened, in order. Nothing is cut at a window's edge, and the order of alarms, repairs and readings is kept.
Several tables, one machine
Readings, alarms, maintenance and failures come from different systems. tabSutra reads them as separate tables joined by machine and time. They are not first flattened into one row per machine and day.
Technicians' notes are read as text, next to the work they describe.
Rare failures and new machines
With one or two failures a year, each machine on its own has too few failures to learn from. tabSutra reads many machines together, so failures on one machine inform the others of its kind.
A new machine type is compared with similar machines from its first week of data.
Public data with the same shape
These public datasets have the same shape as the problem. They are listed so that the approach can be checked on open data.
| Dataset | Source | What it tests |
|---|---|---|
| APS Failure at Scania Trucks | TabArena | Failures of the air pressure system in trucks. Failures are rare, about one in sixty |
| C-MAPSS turbofan engines | NASA | Remaining life of engines, from many sensor readings per cycle |
| Azure Predictive Maintenance | Microsoft, on Kaggle | Telemetry, error, maintenance, failure and machine tables for 100 machines |
C-MAPSS tests remaining-life prediction from sequences. The Azure data tests reading several tables at once, with events at uneven times.
Side by side
Thresholds and windowed features compared with tabSutra
| Thresholds and windowed features | tabSutra | |
|---|---|---|
| Signals used | Single sensors, or summaries per fixed window | Every reading, alarm and log, at its own time |
| Order of events | Lost inside a window | Kept |
| Alarms and maintenance | Counts per window | Read with their timing |
| Technicians' notes | Rarely used | Read as text |
| Machine types | A model per type | One model, with machine details as columns |
| New machines | No failures to train on | Compared with similar machines |
| Output | An alert, or yes and no | A probability, and a time to failure with a range |
Benefits
What the business gets
Fewer unplanned stops
Machines likely to fail soon are flagged before they stop the line.
Service when it is needed
Maintenance is planned from each machine's predicted time to failure, not a fixed calendar.
Spare parts planned
Ranges on time to failure show which parts will be needed, and when.
New machines covered
A machine type new to the plant gets predictions from similar machines.
All the records used
Readings, alarms, logs and notes are read together, at their own times.
Reasons for each alert
Each prediction shows which readings or events moved it.
Questions
How much failure history do we need?
There is no fixed minimum per machine. Machines of a kind are read together, so a few failures across the fleet are used for all of them.
Can it read high-frequency sensor data?
Readings can be sent at their own rate. Very fast signals, such as vibration spectra, are usually summarised per minute or per hour first.
Can it use technicians' notes?
Yes. They are sent as a text column next to the maintenance record they belong to.
How is our data handled?
Your rows are used only to answer your request. They are not used to train the model. A context you send is kept for a limited time, so that you can predict again without sending it, and you can delete it at any time.
Predict failures from the data you already keep
API access is open to teams on request. The documentation explains how to send records with a history.