tabSutra

Case study · Manufacturing

Failure prediction for equipment

A machine that fails without warning stops a line, delays deliveries and often damages other parts. The signs are often in the data: in sensor readings, alarms and maintenance logs. This page shows how failures are predicted today, and how tabSutra reads these records together.

IndustryManufacturing, process plants, heavy vehicles and utilities
QuestionWill this machine fail in the next 7 or 30 days? How long until it fails?
DataSensor readings, alarms and error codes, maintenance logs, failures, machine details
OutputA probability of failure and a time to failure with a range, for each machine

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.

DataExampleWhen it is known
Sensor readingsTemperature, pressure, vibration, speed, currentEvery second to every hour
Alarms and error codesCodes raised by the controllerWhen they happen
Maintenance logsParts replaced, work done, technicians' notesWhen the work is logged
FailuresDate and type of each failureWhen they happen
Machine detailsModel, age, location, operating hoursFixed, with hours updated
Operating conditionsLoad, product being run, shiftPer 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.

  1. Fixed thresholds are set on single sensors, such as a vibration level that raises an alert.
  2. For a model, readings are cut into fixed windows, such as the last 24 hours, and summarised into averages, maxima and trends.
  3. Alarms are counted per window, and the days since the last maintenance are added.
  4. A classifier is trained to predict a failure in the next 7 or 30 days, often one for each machine type.
  5. 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

MachineTimeRecordValue
M-1430 Nov 09:00Vibration4.1 mm/s
M-1430 Nov 11:12AlarmE-27
M-1430 Nov 16:40MaintenanceBearing greased
M-141 Dec 09:00Vibration5.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

MachineFail in 7 daysTime to failure
M-140.319 days (4 to 21)
M-080.0674 days (38 to 120)
M-22 New0.0496 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.

window edgeSensorAlarmsMaintenanceE-12E-27E-27E-27E-31bearing greasedDay 1Day 2Day 3

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.

DatasetSourceWhat it tests
APS Failure at Scania TrucksTabArenaFailures of the air pressure system in trucks. Failures are rare, about one in sixty
C-MAPSS turbofan enginesNASARemaining life of engines, from many sensor readings per cycle
Azure Predictive MaintenanceMicrosoft, on KaggleTelemetry, 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 featurestabSutra
Signals usedSingle sensors, or summaries per fixed windowEvery reading, alarm and log, at its own time
Order of eventsLost inside a windowKept
Alarms and maintenanceCounts per windowRead with their timing
Technicians' notesRarely usedRead as text
Machine typesA model per typeOne model, with machine details as columns
New machinesNo failures to train onCompared with similar machines
OutputAn alert, or yes and noA 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.