Skip to content

Predictive maintenance: machine data and failure models

B2Bnetwork team · · 6 min

IT in manufacturing

In brief

Predictive maintenance schedules service on a machine based on its measured condition, meaning vibration, temperature, motor current or pressure, rather than on a calendar or after a breakdown. A model detects deviation from normal operation or estimates the time to failure, and the maintenance system turns the alert into a work order. You start with a few critical machines that have recurring failure modes and with a failure history recorded with root causes, because without that history the model has nothing to learn from.

Three maintenance strategies

Most plants use all three approaches at once, each for a different group of machines:

StrategyWhen service happensGood forWeak point
Reactiveafter a failurecheap, redundant equipmentunplanned downtime and secondary damage
Preventiveby calendar or run-hour counterparts that wear predictablyreplacing parts that could still run
Predictivewhen machine condition points to an approaching failurecritical machines that are expensive to stopneeds sensors, data and people to interpret it

Predictive maintenance does not replace the other two. It makes sense where an hour of downtime is expensive and the failure develops gradually and can be measured before the machine stops. A compressor whose vibration has been rising for weeks is a good candidate. A fuse that blows in a fraction of a second is not.

Which data to collect from machines

Start from the failure modes that actually occur and match a signal to each:

Typical failureSignal that announces itNotes
Bearing damage, imbalance, loosenessvibrationhigh sampling rate, spectrum analysis at the machine
Motor or gearbox overheatingtemperaturecheap sensor, slowly changing signal
Pump wear, clogged filtermotor current, pressure, flowoften already available in the controller
Compressed air system leakpressure, time under loadcompare with line demand
Lubrication degradationoil analysis resultsperiodic samples entered into the system

Data without context leads to false alarms. A pump vibrates differently at full load and at idle, so along with the signal you need to collect the operating mode, load, speed and the active order. A vibration signal sampled at a high rate is processed at the machine and only indicators are sent on, as we describe in the article on edge computing in manufacturing. Reading from controllers and gateways usually goes over OPC UA or MQTT, compared in the article OPC UA and MQTT.

Failure models: from thresholds to machine learning

Models fall into four maturity levels. Each one needs more data than the last:

  1. Thresholds and trends. An alert when bearing temperature exceeds a limit or rises faster than usual. Simple, understandable for a technician and often sufficient.
  2. Anomaly detection. The model learns the machine's normal behavior in its different modes and reports deviations. It needs no failure examples, only a few weeks of clean data from normal operation.
  3. Fault classification. The model recognizes whether a deviation looks like a bearing, imbalance or cavitation. It needs labeled examples of each fault.
  4. Remaining useful life prediction. The model estimates how many days until the machine needs intervention. It needs many complete degradation histories all the way to failure, which a mid-sized plant usually does not have.

In practice levels 1 and 2 deliver most of the benefit. A promise that “the model will predict the failure to the day” on a few machines with no failure history is unrealistic. An honest plan starts with anomaly detection and checks every quarter whether the collected cases allow moving up a level.

Failure history: the data that is usually missing

The model learns from sensor data, but it is judged against the failure history. In many plants that history is a set of maintenance work orders described as “repair” with a closing date. To be usable, every work order should have:

  • the machine and the component, not just the line;
  • a cause code from a closed list, not free text;
  • the time the symptom appeared, the downtime and the repair time recorded separately;
  • the replaced parts with their ERP number;
  • whether the work order was triggered by a model alert.

In the ISA-95 model, maintenance is one of the operations management areas at Level 3, alongside production, quality and inventory. That is why failure data should link to production and quality data through the same machine identifiers. How to keep such data complete and consistent is covered in the article on data quality.

From alert to maintenance work order

An alert that ends as an email in the maintenance team's inbox soon stops being read. The process should look like this:

  1. The model reports an anomaly with a description: machine, signal, deviation, since when.
  2. A technician assesses the alert from the chart and an inspection, then accepts it or rejects it with a reason.
  3. An accepted alert creates a work order in the maintenance system with a priority.
  4. The system checks spare part availability in ERP and proposes a service window that fits the production plan.
  5. After the repair the technician records the actual cause, which becomes a label for the model.

Step 5 closes the loop: without it the model never learns whether it was right. Two numbers are worth tracking: the share of alerts rejected by technicians and the number of failures the model did not report. The first tells you whether people will trust the system, the second whether the system is needed at all. An example of such a loop for compressors and pumps is the predictive maintenance case study. A machine model on which you can safely try out maintenance scenarios is the topic of the article on digital twins.

Questions and answers

What is the difference between predictive and preventive maintenance?

Preventive maintenance schedules service by calendar or run-hour counter, regardless of the machine's condition. Predictive maintenance schedules it when measurements show an approaching failure. Preventive is simpler and needs no sensors, but it replaces parts that could still run and misses failures that develop faster than the schedule assumes.

How much data does a predictive model need?

For anomaly detection, a few weeks of data from normal operation usually suffice, as long as they cover all the machine's typical modes and loads. Fault classification needs labeled examples of each fault, and remaining useful life prediction needs many complete degradation histories. Having several machines of the same type helps a lot, because the failures of one teach the model for the others.

Can you start without vibration sensors?

Yes. Many controllers already measure motor current, pressure, flow and temperature, and those signals are enough to detect clogged filters, pump wear or overheating. Vibration sensors are worth adding on machines with bearings and gearboxes, where mechanical faults are the most common cause of downtime.

How do you tell whether predictive maintenance is working?

Compare the period before and after the rollout on the same machines: the number and duration of unplanned stops, the share of alerts rejected by technicians and the number of failures with no prior alert. Add the cost of spare parts and maintenance overtime. The comparison only makes sense after several months, because failures are rare.

What it looks like in a project

Connecting the shop floor with your business systems? Talk to an engineer who has worked on MES and OT.

Let's talk

Read more: IT in manufacturing