Mestrični logotip

Delimo znanje

Razširi svoje znanje. Na enostaven način vam želimo približati proizvodne procese in optimicacijo le teh.
Razdelilnik oddelkovRazdelilnik oddelkov
Technician checking a component beside running machinery
november 20, 2026

Predictive Quality Analytics: Catch Defects Before They Happen

Predictive quality analytics uses the data your machines and processes already produce to estimate whether a product will meet specification, before it reaches final inspection. For a plant manager, the practical meaning is simple: you see the drift that leads to scrap while the batch is still running, not after it has been counted. The method only works as well as the data feeding it, which is why a Manufacturing Execution System (MES) that captures machine and quality data automatically is the natural foundation. Mestric™ MES connects directly with your equipment and brings performance, downtime and quality parameters into one live view, so the data a predictive model needs is collected in the first place.

Mestric
Bring Quality Data Into View
Mestric™ connects with manufacturing equipment to bring quality parameters, performance, and downtime into one real-time view.

TL;DR

  • Predictive quality estimates product quality from process and product data, so you can adjust parameters before rejects occur.
  • It rests on four steps: define the target quality, collect process and quality data, train a model, and use its estimates in decisions.
  • In Slovenia, 43% of manufacturers use specialised quality-control software, and only 12% of those use AI functions, so there is room to get ahead.
  • Clean, connected, time-stamped machine data matters more than the choice of algorithm.
  • Start with one line and one recurring defect, and link the prediction to a clear action on the shop floor.

Vsebina

What predictive quality analytics means on the shop floor

A 2022 systematic review in the Journal of Intelligent Manufacturing defines predictive quality as the use of machine learning and deep learning in production to estimate product-related quality from process and product data. The model looks for recurring patterns in what happened during manufacturing and relates them to quality measurements taken later.

The difference from classic quality control is the timing. Inspection at the end of a line tells you what went wrong after the product already exists. Root-cause analysis then starts late, and the material, machine time and labour are already spent. A predictive approach works during production. It flags a rising risk while there is still time to change a setting, replace a tool or stop and check.

The same review is careful about scope. The word “prediction” covers estimating quality that has not yet been measured. Machine-learning inspection that finds faults which have already occurred, such as a camera spotting a scratch, is a related but separate use. In practice plants combine both: inspection results feed the models, and the models decide where inspection effort goes.

If you are searching for “AI for quality control”, this is the same family of methods. The most common technique is supervised machine learning: you show the model past production runs together with their measured outcomes, and it learns which combinations of process values tend to end in a defect.

How the prediction works, step by step

The review describes a common four-step approach. Here it is in plant terms.

  1. Define the process and the target quality. Choose one product, one process step and one quality characteristic, for example a dimension, a surface finish or a pass or fail result.
  2. Select and collect the data. Gather process values (temperatures, pressures, speeds, forces, cycle times) and the quality results that belong to the same part or batch.
  3. Train a model. The model learns the link between process values and outcomes.
  4. Use the estimates to decide. The output informs actions, such as adjusting process parameters to avoid rejects.

The review also names three kinds of task a model can perform:

Task What it answers Typical shop-floor use
Quality description What patterns relate process to quality? Finding which parameters matter
Numerical quality prediction What value will the characteristic have? Predicting a dimension or a measured property
Quality classification Which defect type, if any, will occur? Flagging parts for checking or removal

The weak point is step 2, not step 3. A model cannot learn from values nobody recorded, or from quality results that cannot be matched to the production run that made them. Traceability is the quiet requirement behind every successful project.

What data and systems you need

A 2024 survey in the journal Electronics reports that sensors on Industry 4.0 production lines record data during the production cycle which can train defect-detection models. Defect-prediction work typically combines numerical sensor data with quality-inspection outcomes. The applications the survey covers include porosity in aluminium wheels, geometrical defects in extruded tubes and plastic injection moulding.

The data volume can be large. A 2022 Scientific Data paper on pharmaceutical manufacturing in Slovenia describes how a batch generates data from incoming raw materials through to process time series, such as press speed, compaction force and fill depth, recorded every second and stored in SQL databases.

A useful data foundation has five parts:

  • Machine signals read automatically from the equipment, not typed in at the end of a shift.
  • Production context: order, product, shift, tool and material batch for every record.
  • Quality results: inspection outcomes, scrap quantities and reasons, linked to the same order or part.
  • Stoppages and cycle times, because slowdowns and micro-stops often come before defects.
  • A shared time base, so a temperature spike can be matched to the parts made at that moment.

The Jožef Stefan Institute’s GOSTOP programme describes the same architecture for Slovenian factories: links to production and business systems (ERP, MES, PLC, IoT) give insight into the current state of the factory. Its listed effects include identifying trends and anomalies in planned and unplanned stops, cycle speed and scrap, which makes predictions and early reactions to incidents possible.

This is the role of the MES. It sits between the machine controllers and your business systems, collecting the data and attaching the production context to it. Our guide to integrating a digital MES with equipment covers that layer, and the article on real-time production data explains why it should be captured automatically.

Where Slovenian manufacturers stand

A University of Maribor publication on AI in Slovenian manufacturing reports that 43% of companies use specialised software for quality control, and 12% of those use AI functions. For production-process management the figures are 62% and 8%. The same publication lists the most important AI application areas as process optimisation, quality control and predictive maintenance. Quality-control examples include automatic visual inspection, multi-stage quality prediction and online quality prediction.

In plain terms, most plants already have software around quality, but very few use it to look ahead. That gap is where the gain is.

Research in Slovenia is moving in the same direction. A University of Ljubljana Faculty of Mechanical Engineering project, running 2024 to 2027, is investigating AI-based predictive models for surface quality when machining hard-to-cut materials. It uses accelerometers, force sensors and thermal imaging, and aims to predict remaining tool life so that tool changes can be timed well.

Sensors monitoring a metal machining process

What results manufacturers have reported

Three examples show the range, from a Slovenian plant to laboratory-grade studies.

Iskraemeco, Slovenia. The company completed a Digital Twin for Digital Lean project in March 2024. According to its own announcement, the system captures production-line data through IoT feeds and can predict in real time which products on the line are problematic and need checking or removal as soon as a defect is identified. The company reports fewer rejects, lower raw-material consumption, fewer errors and unforeseen stoppages, and much better traceability.

Automated visual inspection at Philips. A Jožef Stefan Institute study on shaver inspection found that active learning reduces the effort of labelling data without hurting model performance, and that automated visual inspection could speed up manual inspection by more than 40%.

Injection moulding, Austria. A data-driven study on bottle-cap production predicted three quality criteria with correlations of 0.7, 0.89 and 0.98 between predicted and observed trends and a mean absolute error below 5%. It detected real anomalies across 7,162 production cycles using only data recorded during regular production, with no manual annotation.

The last point matters for a plant with few defects. You do not need a large catalogue of bad parts to begin, as long as normal production is recorded consistently.

How to introduce it in your plant

The research does not give one standard rollout, so the sequence below combines the four-step method with practical production sense. Keep the scope small.

Six steps for introducing predictive quality analytics

1. Pick one line and one costly defect

Choose the defect with the highest scrap or complaint cost. Our article on scrap by cause shows how to start with a short list of scrap codes, so that every rejected part has a reason attached. Without that, you cannot tell the model what “bad” means.

2. Assess what you already record

List which signals the machines produce, which are logged, and which still live on paper or in spreadsheets. The first step of our workflow and data assessment is built for exactly this inventory.

3. Connect the equipment and automate collection

Manual entry introduces delays and errors, and a model trained on them inherits both. With Mestric™ MES, machines are connected directly and data is collected automatically, so performance, downtime and quality parameters arrive already linked to the production run. Reducing manual errors is part of what the platform is designed to do.

4. Watch the KPIs before you predict

Before any model runs, a live view of KPIs shows where the process already drifts. Our guide to automating monitoring and tracking real-time KPIs and the article on quality monitoring workflow describe how to set that up. Many plants find their first savings here, because bottlenecks and recurring stoppages become visible.

5. Build or adopt the model, then agree the action

A prediction is useful only if someone knows what to do with it. Decide in advance: which value triggers a check, who adjusts which parameter, when a part is held back. The Slovenian study on anomaly detection, Ship Production Anomaly Detection, shows how edge models can be tied to an MES for this purpose.

6. Keep inspection in the loop

Predictions do not replace measurement. Inspection and test results are the labels that keep the model honest, so they should flow back into the data. Retrain the model when the product, material or tooling changes.

Realistic obstacles

Two pieces of Slovenian research are worth knowing before you start.

A 2022 Informatica study by researchers from UNIOR, the Jožef Stefan Institute, SMM proizvodni sistemi and Gorenje tested machine-learning approaches for autonomous quality control at two of Slovenia’s largest manufacturers. The key challenge was that tests had to use only a small number of defective products, as in real production. This is why methods trained on normal production data, like the injection-moulding study above, suit well-run plants.

A 2026 study by Kunecová, Prester, Šebo and Palčič used 2022 European Manufacturing Survey data from 472 firms in Spain, Slovenia, Slovakia and Croatia. It found that lack of resources, meaning capital, infrastructure and skilled people, directly blocks industrial AI adoption. Leadership support helps with wider ecosystem challenges. The advice for managers is to close basic resource gaps first.

In practice that means three decisions from management: name an owner for the pilot, give engineers time to work with the data, and choose a platform that does not need a large in-house data team to collect and display it.

Mestric™ MES for predictive quality

Mestric™ is a Manufacturing Execution System that connects directly with your machines and shows production managers KPIs such as performance, downtime, quality parameters and cost analysis, with AI-powered optimisation tools on top. It is designed to identify bottlenecks, reduce manual errors and support decisions with real-time data. That live, structured production record is what predictive quality analytics builds on.

Mestric

You can see the system working in a real production environment through an onsite presentation at our demo centre. Read about the Mestric™ MES solution, or look at the examples in quality monitoring examples to boost efficiency and cut waste. For wider context, our article on predictive analytics in manufacturing covers the cost side.

Our perspective

Most predictive quality projects we hear about fail at the data stage, not the modelling stage. A model that learns from hand-typed shift reports and unmatched inspection sheets learns noise.

That is why we start with the shop floor. When machines are connected, downtime and quality parameters are collected automatically and every record carries its order and time, you already see most of what hurts quality. Bottlenecks, repeated stoppages and parameter drift show up in live KPIs before any algorithm is involved.

Our AI-powered optimisation tools are designed to build on that foundation. We think the right sequence for a plant is visibility first, then recommendations, then deeper prediction, each step proving its value on one line before the next one begins.

Quality managers should keep their inspection routines. The best results come when inspection feeds the data and the data directs inspection.

Andraž

Pogosto zastavljena vprašanja

What is the difference between predictive quality and predictive maintenance?

Predictive maintenance estimates when a machine or tool will fail. Predictive quality estimates whether the product will meet specification. They often share the same data, and a tool-life prediction, as in the Ljubljana machining project, can serve both goals.

Do I need a lot of defect data to start?

Not necessarily. Real production has few defects, and the Slovenian Informatica study named this as the main challenge. The Austrian injection-moulding study detected anomalies using only data from regular production. What you do need is consistent, matched process and quality records.

Is AI for quality control the same as visual inspection?

No. Automated visual inspection finds defects that already exist, while predictive quality estimates quality from process data before the defect appears. Both are used in manufacturing, and the Maribor publication lists both among key AI applications.

Which systems feed a predictive quality model?

Machine controllers and sensors supply process values. The MES adds order, product and shift context, and quality or ERP systems supply inspection results and scrap reasons. The Jožef Stefan Institute’s GOSTOP programme describes this link between ERP, MES, PLC and IoT systems.

Where should a plant start?

With one line and one recurring defect. Connect the machines, record scrap reasons, watch live KPIs, and only then add prediction. This keeps the pilot small and the benefit measurable.

Sources


križmeni