Anomaly detection in Lubella’s pasta drying process using an LSTM model

An LSTM-based anomaly detection system analysed pasta drying conditions at Lubella, identified unusual sensor patterns and alerted operators before process irregularities affected production quality.

What was the project about?

Lubella worked with Softwarehut and Siemens on a system for detecting anomalies during pasta drying. The model analysed production data and warned operators when it identified unusual process conditions.

Who was the client?

Lubella is a Polish food manufacturer producing pasta, cereals, groats, flour and snacks. Its history dates back to the late 19th century and the Krauze Mill in Lublin, which remains part of the company’s assets.

Lubella has belonged to the Maspex Group since 2003 and operates according to an international food safety standard recognised by the Global Food Safety Initiative.

What challenge did the client face?

Pasta production requires close control of drying conditions. Changes in temperature, humidity, ingredient dosing or processing time can affect the quality of an entire batch.

Lubella wanted to monitor the drying process continuously and identify unusual parameter patterns before they led to production problems. The company expected the system to help reduce production waste, electricity and water consumption, while giving operators more information for assessing process irregularities.

How was the solution delivered?

The project began in 2020. The first production data was collected at the end of May and the beginning of June. The project team analysed the data, created an initial anomaly detection model and adjusted it during the following months.

Sensors installed on the production line collected data on:

  • temperature,humidity,
  • egg and water dosing,
  • the time pasta spent in each section of the dryer.

The data was aggregated in the Siemens SCADA system and transferred to an analytical system running on a Linux server.

We developed an LSTM-based autoencoder that learned the normal behaviour of the production line and detected unusual sensor patterns. When an anomaly was identified, the system sent an email alert to the operator.

Fifteen minutes later, the operator received a report showing process data from before and after the alarm. Once the batch left the dryer, the system generated a summary of its drying conditions. Operators reviewed the alerts and decided whether further action was required

What changed after implementation?

The model achieved a reported 80% effectiveness in signalling probable anomalies based on unusual sensor patterns.

The system provided operators with:

  • automatic analysis of production data,
  • email alerts about detected anomalies,
  • reports showing conditions before and after an alarm,
  • summaries of drying conditions for individual batches,access to historical data and model settings.

The project required more than 900 hours of analytical and development work.

Do you have any questions or ideas?

Drop us a line and we’ll contact you about your project.

Discuss my project