SCAM & SpectralizeR

AI-driven quality monitoring

in fertilizer production

A major fertilizer producer faces a complex production environment, characterized by large batches and long processes, with a highly diversified product range.

Context

The manufacturing sector is one of the main application areas of Artificial Intelligence, delivering tangible benefits in day-to-day operations. Quality control–oriented applications are among the key growth drivers: they help minimize defects, ensure long-term consistency, and raise the overall quality level of production.

SCAM, a leading manufacturer of organo-mineral fertilizers with a certified Environmental Product Declaration (EPD) and at the forefront of biostimulant and specialty fertilizer formulation, decided to deploy NIR sensors to enable a real-time monitoring system across the entire production process. Here’s how.

Challenge

SCAM products are the result of a careful calibration of ingredients with high agronomic and environmental value. To guarantee quality at the level of each individual bag placed on the market, it is essential to keep moisture content within a very narrow range— with a maximum acceptable error of 0.3%—throughout the entire production process.

Production is complex: large batches, long processes, and a diversified SKU portfolio make final product quality sensitive to numerous variables. The main challenges were:

  • Detecting production drifts early, before they generate out-of-spec product
  • Enabling rapid corrective actions by operators and laboratory chemists
  • Optimizing quality control in terms of cost and analytical accuracy

The BCN plant digitalization platform is designed to simplify the collection and consultation of machinery data across the company’s various tanning facilities, supporting operators in maintenance tasks and ensuring a more accurate and efficient process.

The Solution

Kode developed a custom version of SpectralizeR, its AI-based chemometric software, with NIR probes installed at two critical points of the plant: during granulation and just before packaging.

Applicability Domain

For each product type, an Applicability Domain model was developed that assigns a validity score to every acquired spectrum, distinguishing correct measurements from anomalous ones and generating automatic alerts for operators. 

Calibration Model

On the validated data, the data science team developed a predictive chemometric model, trained over multiple iterations to ensure robustness against external factors (dust, temperature, lighting). The model converts the spectral fingerprint into a moisture value that can be viewed on the dashboard, either in graphical or tabular form.

Decision Support System

A custom web application, accessible from any workstation, with role-specific interfaces:


  • For line operators: real-time monitoring with threshold-exceeding alerts, visualization of temporal trends, and drift prevention through predictive models and Statistical Process Control (MSPC) rules.
     
  • For laboratory chemists: a dedicated section to manage existing models, apply preprocessing pipelines, calculate the Applicability Domain, and create new calibrations independently—without relying on external support.

Results

Thanks to the integration of SpectralizeR, SCAM has achieved:

  • Reduction of drifts and anomalies through early detection and real-time alerts
  • Assurance of quality for every single unit produced and marketed
  • Process optimization via continuous monitoring and historical analysis by SKU
  • Independence for laboratory staff to recalibrate chemometric models autonomously

SCAM has operationally integrated the solution into production and can now certify the quality of every product released to the market.

Conclusions

The SpectralizeR project demonstrates how chemometric AI, when properly engineered for an industrial context, goes far beyond mere data collection: it becomes an active system that safeguards quality, reduces waste, and empowers operators to act autonomously and in real time. This approach is fully aligned with the principles of Smart Manufacturing and Industry 5.0.

Want to know more about this project?

Drop us a line!

Contact form

Thank you for your message