What Is Anomaly Detection in Manufacturing?

What Is Anomaly Detection in Manufacturing?

Anomaly detection in manufacturing is a method that learns the normal behaviour pattern of data collected from machines and processes, and automatically flags situations that fall outside that pattern. Instead of waiting for a fixed threshold to be exceeded, it makes unusual deviations in indicators such as cycle time, current, temperature, vibration or scrap rate visible at an early stage.

In brief
  • Anomaly = a statistically significant deviation from the machine's own normal pattern.
  • The difference from a fixed threshold alarm is that the reference is learned from the data.
  • Typical methods: z-score, moving average and standard deviation, control charts, multivariate models.
  • It is the core input for predictive maintenance; it is also used for quality and energy deviations.
  • Success is measured not by the number of deviations caught, but by a low false alarm rate.

Why Isn't a Fixed Threshold Enough?

Classic alarm logic is simple: warn if the value exceeds the limit. This approach has two weak points. First, the limit is usually set close to the point at which the machine is already damaged; by the time the warning arrives, there is no time left to intervene. Second, the same limit is meaningless for a machine running a different product, mould or speed; it either produces constant false alarms or never triggers at all.

Anomaly detection does not fix the reference. It derives the machine's normal behaviour for that product and those conditions from historical data and evaluates deviations against that context.

Common Methods

MethodWhere it works
Z-score / standard deviationDeviation of a single indicator from the mean (cycle time, current)
Moving average and bandSlow drifting degradation
Control charts (I-MR, X̄-R)Process stability in quality measurements
Pattern / rule basedKnown failure signatures, consecutive series of deviations
Multivariate modelsCases where several variables change together

Use Cases in Manufacturing

  • Predictive maintenance: catching gradual deviation in motor current, vibration or temperature before a failure.
  • Cycle time: the machine slowing down continuously but by an amount too small to notice (speed loss).
  • Micro stops: treating short stops that are becoming more frequent as a sign of degradation.
  • Quality: measurement values drifting from the centre even while remaining within specification.
  • Energy: consumption rising at the same production volume; a sign of a leak, a clogged filter or an incorrect setting.

How Do You Reduce False Alarms?

  1. Separate the context. Normal changes when the product, mould, shift and speed change; calculate the reference with these breakdowns.
  2. Look at a series, not a single point. A single deviation may be noise; several consecutive deviations are a more reliable signal.
  3. Make sensitivity adjustable. Use a tight threshold on a critical machine and a tolerant one on a secondary machine.
  4. Prioritise alarms. The ISA-18.2 alarm management approach aims to ensure the operator faces a manageable number of meaningful alerts at any one time.
  5. Tie an action to every alert. An alert with no defined response is an alert that gets dismissed.

How to Get Started

  1. Choose one machine and one indicator. For example the cycle time of the bottleneck machine. Trying to monitor ten indicators at once creates alarm fatigue in the first week.
  2. Define the normal period. Exclude known failure and trial periods from the reference data.
  3. Run it in observation mode first. Record the alerts for a while without sending them to anyone and compare them with past events.
  4. Adjust the sensitivity. Find the balance between the number of real events caught and the number of false alarms.
  5. Define the action. When an alert arrives, who does what, and within what time? If this is not written down, do not put the system live.
  6. Establish feedback. Every alert should be marked as correct or incorrect, and the model and thresholds should be updated with this feedback.

Frequently Asked Questions

What is the difference between anomaly detection and a threshold alarm?
A threshold alarm reports that a fixed limit has been exceeded, for example when the temperature goes above 80 degrees. Anomaly detection, instead of a fixed limit, learns the machine's own normal behaviour pattern and reports deviations from it. This way, slow degradations that never cross a fixed limit can also be caught.
How much data is needed for anomaly detection?
Whatever the method, enough historical data is needed to represent the machine's normal operating behaviour. In practice, a few weeks of data covering different products and shifts is a good start. If the data only covers periods with faults, the normal reference is distorted.
Does anomaly detection definitively prevent breakdowns?
No, anomaly detection is a probability signal, not a definitive failure prediction. It derives its value from linking the detected deviation to an inspection or maintenance action. An anomaly alert that is not tied to an action is eventually ignored, and the system stops serving its purpose.

Anomaly Detection in EFFIX MES

EFFIX MES handles anomaly detection within the Proactive Alerting System (PAS). Built on the ISA-18.2 alarm management approach, the structure includes more than 20 detectors under headings such as downtime, efficiency, quality, checklist and predictive maintenance anomalies. With the rule wizard, you can define which detector runs on which machine, at what sensitivity and who is notified, without writing code. A detected deviation is not only sent by e-mail or notification but can also be tied to an action such as opening a maintenance work order. For more, see the EFFIX MES page or submit a demo request.