Cross-recipe: Energy vs Quality Analysis

AI/ML
IoT
About the Task
The project integrated high-frequency PLC and sensor data to build predictive and recommendation models for real-time press optimization.
results
Energy consumption per ton decreased by 5–10% across press lines.
results
Batch-level rejects were reduced by 2–3% without compromising quality.
Services used
Build Product
Build Strategy

The table of content

BUSINESS CONTEXT

The client is a manufacturer of engineered wood products, operating multiple high-capacity veneer press lines. These lines process thousands of sheets per day, relying on precise control of heating elements, moisture levels, and press speed to achieve both energy efficiency and product quality. The company has a strong reputation for process optimization and sustainability within the wood processing sector and employs over 1,000 operational and technical staff across production, engineering, and quality assurance teams.

Before this project, operators relied primarily on experience and heuristics for press settings, resulting in energy inefficiencies and occasional batch-level quality issues. The client sought a data-driven approach to reduce energy consumption, minimize rejects, and provide actionable guidance for operators, all while integrating seamlessly with existing PLC, Edge, and historian systems.

Business Challenge 1: Reducing Energy Consumption Without Compromising Quality

Veneer pressing is an energy-intensive process, and each kWh saved directly impacts operational costs. However, reducing energy consumption can inadvertently affect product quality, as improper deck temperatures or feed rates can increase batch-level rejects. The business goal was to achieve measurable energy savings (5–10% per ton) while maintaining or improving quality, replacing generic heuristics with data-driven recommendations.

Technical Challenge 1: High-Frequency Data Integration and Feature Engineering

The technical challenge was integrating diverse, high-frequency sensor data from heater power meters, deck thermocouples, inline moisture sensors, and post-press quality scanners. Data arrived from multiple sources, including Siemens S7-1500 PLCs, ET 200SP temperature modules, moisture analyzers, and ROSI inline scanners. Transforming raw data into meaningful features for predictive modeling required careful aggregation, batch alignment, and context inclusion (RecipeID, operator ID, shift).

Delivery Challenge 1: Real-Time Inference and Operator Adoption

Deployment had to support real-time inference, feeding actionable alerts to operators during pressing. This required a robust data pipeline from PLC → Edge → PI Historian → Azure Databricks → PI AF → Grafana dashboards. Additionally, operators needed intuitive, trustworthy recommendations to adjust press settings without disrupting production. Balancing technical sophistication with operational usability was a major delivery challenge.

Solution 1: Data Collection and Historian Integration

To establish a solid data foundation, we connected all relevant sensors to the historian and Edge Gateway:

  • Heater Power: Collected via Siempelkamp ContiRoll S7-1500 PLC analog inputs, sampled at 1-second intervals, streamed through PROFINET to the Edge, then to PI System.
  • Deck Temperature: Thermocouples installed across the press decks, sampled at 1 Hz, aggregated per batch into temperature vectors.
  • Veneer Moisture: Inline moisture sensors with 0.5% accuracy provided per-sheet readings via OPC UA to the historian.
  • Post-Press Quality: ROSI inline scanners provided per-sheet defect metrics, aggregated to batch-level reject rates.

By centralizing all measurements in the PI System and aggregating them into batch-level snapshots, we ensured consistent, high-fidelity data for modeling and real-time decision-making.

A screenshot of a computerAI-generated content may be incorrect.
Screenshot 3 – Energy vs Quality Analysis UI Screen

Solution 2: Feature Engineering and Contextual Metrics

We transformed raw sensor signals into actionable metrics:

  • Energy per Ton: Calculated using the formula EnergyPerTon=∑(Heater.kW⋅Δt)Throughputt\text{EnergyPerTon} = \frac{\sum (\text{Heater.kW} \cdot \Delta t)}{\text{Throughput}_t}EnergyPerTon=Throughputt​∑(Heater.kW⋅Δt)​ at 1-second intervals.
  • Deck Temperature Profiles: For each batch, we computed mean, max, min, standard deviation, and gradients across zones.
  • Moisture Features: Average, deviation, min/max per batch, correlated to reject rates.
  • Contextual Variables: RecipeID, operator ID, shift, and throughput rate were included to capture batch-specific operating conditions.

This feature engineering enabled models to identify subtle relationships between energy consumption, press settings, and product quality across thousands of batches.

Solution 3: Predictive Modeling for Energy Optimization

We implemented machine learning regression models to predict energy consumption per ton while maintaining quality targets:

  • Primary Algorithm: Gradient Boosting Regression (XGBoost), trained on 12 months of historical batch data (~5,000 batches).
  • Benchmarking: Elastic Net Linear Regression provided baseline comparisons for model performance.
  • Validation: 80/20 train-test split with cross-validation by batch; performance metrics included RMSE (kWh/t) and R² against actual energy consumption.
  • Feature Importance: XGBoost SHAP values highlighted which deck zones or parameters most influenced energy consumption, enabling interpretable recommendations.

The models accurately predicted kWh/t for ongoing batches and were robust to variations in recipe, operator, and shift conditions.

Solution 4: Optimization Engine and Scenario Analysis

To translate predictions into actionable recommendations:

  • Scenario Analysis: For each recipe, predicted energy consumption was calculated under observed temperature and moisture conditions.
  • Cross-Recipe Comparisons: Energy efficiency and reject rates were overlaid to identify optimal press settings.
  • Recommendation Engine: Suggested adjustments to deck temperature zones and feed rates, highlighting batches with potential 5–10% energy savings without increasing rejects.

These recommendations were fed into the operator dashboards in near real-time, replacing heuristic-based decision-making with data-driven guidance.

Solution 5: Visualization and Operator Dashboards

We built intuitive Grafana dashboards to present complex analytics in an actionable format:

  • Batch-Level Insights: Energy consumption, predicted vs actual, and batch-level reject rates.
  • Deck Temperature Heatmaps: Visual correlation between zones and energy/quality metrics.
  • Alerting Mechanism: Actionable operator alerts, e.g., “Reduce Deck Temp by 2°C in zones 3–5 to save 3 kWh/t.”

By combining visualization, prediction, and recommendation, operators could respond quickly to sub-optimal conditions while understanding the reasoning behind each suggestion.

Solution 6: Real-Time Deployment

The full system supported real-time batch predictions via Azure Databricks:

  • Data Flow: PLC → Edge → OPC UA → PI Historian → Azure Data Lake → Databricks for scoring → PI AF → Grafana dashboards.
  • Integration: Operator alerts displayed directly on dashboards; model recommendations updated per batch in real-time.
  • Scalability: The architecture allowed easy extension to additional press lines or new recipes, ensuring long-term operational benefit.

Key Results and Business Value

  1. Energy Savings: Optimized settings reduced energy consumption per ton by 5–10% across press lines, translating to significant cost savings and improved sustainability.
  2. Reduced Rejects: Batch-level rejects decreased by 2–3% under sensitive moisture or temperature conditions, maintaining product quality while optimizing energy usage.
  3. Data-Driven Operator Guidance: Operators received recipe-specific, actionable insights, replacing generic heuristics with precise recommendations.
  4. Enhanced Operational Analytics: The dashboards provided real-time visibility into energy consumption, deck temperature profiles, and quality outcomes, enabling continuous process improvement.

Payback Period: Total Initial Investment / Net Annual Savings = $155,000 / $116,250 = approximately 1.2 years (or about 14 months)

Features Delivered

  1. Real-Time Data Integration: Aggregated heater power, deck temperature, moisture, and quality data from multiple PLCs and sensors.
  2. Feature Engineering Pipeline: Batch-level metrics including energy per ton, temperature profiles, and moisture statistics, correlated with reject rates.
  3. Predictive Modeling and Recommendation Engine: XGBoost regression for energy prediction and scenario-based batch recommendations.
  4. Operational Dashboards: Grafana visualizations with batch-level and fleet-level insights, heatmaps, and operator alerts.

The veneer press energy optimization project demonstrates the potential of advanced analytics and machine learning in industrial manufacturing. By integrating real-time data from heaters, thermocouples, moisture sensors, and quality scanners, transforming it into actionable batch-level features, and deploying predictive models with a recommendation engine, the client achieved:

  • 5–10% energy reduction per ton,
  • 2–3% reduction in batch-level rejects, and
  • actionable, recipe-specific guidance for operators.

This case illustrates how data-driven process optimization can deliver tangible business and operational benefits, transforming complex, heuristic-driven industrial workflows into measurable, repeatable, and sustainable performance improvements.

TECHNICAL DETAILS

Data Collection & Sources

Heater Power (Heater.kW) is collected directly from Siempelkamp ContiRoll S7-1500 PLC modules with SM 1234 analog input cards, sampled at 1-second intervals. The data is connected to the historian via PROFINET, then through the Edge Gateway to the PI System.

Deck Temperature (Deck.Temp[]) is measured using multiple thermocouples installed across the press decks. These are sampled via Siemens ET 200SP temperature modules at a 1-second frequency. The Edge Gateway aggregates these readings into array vectors per batch.

Veneer Moisture is monitored using inline moisture sensors (Siempelkamp Moisture Analyzer, contact brush type) with 0.5% accuracy. The output for each sheet is stored via a PLC tag, transferred through OPC UA, and recorded in the historian.  The ROSI Score / Reject Rate comes from a post-press quality scanner (ROSI inline scanner, 1–2 mm resolution). The scanner provides per-sheet defect metrics, which are aggregated to determine the batch-level reject rate. This information is logged directly into the historian via Siemens S7, OPC UA, and PI AF.

Feature Engineering

Feature engineering includes calculating Energy per Ton (kWh/t) as EnergyPerTon = Throughputₜ ∑ Heater.kW ⋅ Δt, where Δt represents 1-second intervals and Throughput is measured in tons.

Temperature profiles are derived by aggregating the mean, maximum, minimum, and standard deviation across all deck zones per batch. The gradient between deck zones (ΔTemp Deck[n] − Deck[n+1]) is also included as a feature.

Moisture features consist of the average moisture per sheet, deviation within the batch, and minimum/maximum values. These are correlated with the reject rate to detect sensitivity to moisture variations.

Batch and recipe context is captured using RecipeID as a categorical variable, along with operatorID and shift information.

Modeling Approach

The goal of the regression analysis is to predict energy consumption per ton while maintaining target quality. Gradient Boosting Regression (XGBoost) is used as the primary algorithm, with Elastic Net Linear Regression employed for benchmarking. The training dataset consists of approximately 12 months of historical batches, totaling over 5,000 batches. Input features include deck temperature metrics (Deck.Temp[]), heater power profiles (Heater.kW), veneer moisture (Veneer.Moisture), RecipeID, and throughput rate. The output is the predicted energy per ton.

For validation, an 80/20 train-test split is applied with cross-validation by batch. Performance metrics include RMSE (kWh/t), R², and comparison against actual kWh/t values. Feature importance from XGBoost highlights which deck zones or parameters most strongly influence energy consumption.

Optimization & Analytics

Scenario analysis and cross-recipe comparison involve calculating the predicted kWh/t for each recipe based on observed temperatures and moisture. These predictions are overlaid with reject rates to identify energy-efficient recipes that do not compromise quality.

The recommendation engine suggests adjustments to deck temperature profiles or feed rates and highlights batches with potential to reduce kWh/t by 5–10% without increasing the reject rate.

Visualizations are implemented using Grafana dashboards, showing batch-level energy versus predicted values with reject rates overlaid. Heatmaps display deck temperatures in relation to energy consumption and quality.

Deployment

Inference is performed with real-time batch predictions using Azure Databricks integrated with the PI System Connector. The output generates operator alerts, such as “Reduce Deck Temp by 2°C in zones 3–5 to save 3 kWh/t.” The data flow follows three main steps: PLC data is transmitted via PROFINET to the Edge, then through OPC UA into the PI Historian. From there, PI data is extracted, transformed, and loaded into Azure Data Lake for model scoring in Databricks. The results are sent back into PI AF and visualized on Grafana dashboards, with alerts delivered directly to operators.

Build Product
Build Strategy

Our success stories

Cross-recipe: Energy vs Quality Analysis

A data-driven system optimized veneer press energy usage while maintaining product quality.
AI/ML
IoT
Feedforward Press Correction

Feedforward Press Correction

A leading engineered wood manufacturer implemented a predictive press control system powered by data and machine learning.
AI/ML
IoT
Web Development
“Bad-Sheet” Routing

“Bad-Sheet” Routing

Automated system for detecting and routing defective veneer sheets using real-time sensor data and analytics.
AI/ML
IoT

Early Fan Failure Detection

Plant A deployed an on-prem predictive maintenance system for fans, reducing unplanned downtime by 38%.
AI/ML
Predictive Hydraulic Filter Change

Predictive Hydraulic Filter Change

Predictive maintenance system for hydraulic filters reduced downtime and optimized maintenance scheduling in a large industrial plant.
IoT
AI/ML

Infinity Technologies in PetTech

A smart genetic testing platform that helps pet owners and breeders easily access and understand their pets’ DNA insights through a single digital solution.
AI/ML
IoT
Mobile Development

Intelligent Budgeting: How AI-Powered Financial Planning Transforms Business Strategy

A case study on how intelligent budgeting transformed financial planning, decision-making, and organizational agility.
AI/ML
CRM/ERP
Smarter Product Management Through Interactive Constructors and Real-Time Analytics

Smarter Product Management Through Interactive Constructors and Real-Time Analytics

An interactive, analytics-powered product constructor enabled smarter pricing, faster product decisions, and improved profitability across a complex portfolio.
AI/ML
CRM/ERP
The Power of Precision: How One Company Achieved 99.1% Sales Forecast Accuracy

The Power of Precision: How One Company Achieved 99.1% Sales Forecast Accuracy

A large-scale sales forecasting system achieved 99.1% accuracy across hundreds of products using data-driven, automated models.
AI/ML
CRM/ERP
Smarter Energy Forecasting in Manufacturing

Smarter Energy Forecasting in Manufacturing: Turning Data Into Cost Savings

A real-world case study on how predictive energy forecasting helps manufacturers cut costs and improve efficiency.
IoT
AI/ML
CRM/ERP
Smarter Hatching: How Predictive Modeling Transforms Poultry Incubation

Smarter Hatching: How Predictive Modeling Transforms Poultry Incubation

A poultry farm used AI and real-time data to optimize incubation, improving chick quality and operational efficiency.
AI/ML
IoT
Web Development
Predictive Analytics in Healthcare: The Future of Cardiovascular Risk Detection

Predictive Analytics in Healthcare: The Future of Cardiovascular Risk Detection

Predictive analytics model for early cardiovascular risk detection using non-invasive population data.
AI/ML
CRM/ERP
Smart Fraud Detection: How Predictive Analytics is Reshaping Social Welfare Systems

Smart Fraud Detection: How Predictive Analytics is Reshaping Social Welfare Systems

A public agency used predictive analytics to overhaul fraud detection in social welfare distribution.
AI/ML
Risk-Based Oversight of Social Benefits: Catching Fraud Without Hiring More Staff

Risk-Based Oversight of Social Benefits: Catching Fraud Without Hiring More Staff

Case study: shifting from random checks to risk-based fraud detection in social benefits.
AI/ML
Predicting Employee Turnover: How Data Turns Retention into a Strategy

Predicting Employee Turnover: How Data Turns Retention into a Strategy

This article explores how predictive analytics is transforming employee retention from a reactive process into a strategic advantage.
AI/ML
IoT
CRM/ERP
How Predicting Customer Churn Helps Banks Grow: A Case Study with 1500% ROI

How Predicting Customer Churn Helps Banks Grow: A Case Study with 1500% ROI

A real-world case study showing how predictive analytics helped a bank cut churn by 71% and achieve 1500% ROI through targeted retention.
AI/ML
CRM/ERP
Smarter Compliance: How Automated Risk Assessment Transforms Contractor Fraud Detection in Banking

Smarter Compliance: How Automated Risk Assessment Transforms Contractor Fraud Detection in Banking

This article explores how automated risk classification enhanced fraud detection and compliance efficiency in banking.
AI/ML
Smarter Loan Campaigns with Predictive Models

Smarter Loan Campaigns with Predictive Models

How predictive analytics helps banks improve cross-selling by reducing risk, cutting waste, and targeting the right customers.
CRM/ERP
AI/ML
Predictive Modeling Cuts Marketing Costs by 93% in Banking Campaign

Predictive Modeling Cuts Marketing Costs by 93% in Banking Campaign

A bank applied predictive modeling to identify high-response customers, reducing campaign costs from full budget to just 7% while maintaining results.
AI/ML
Risk-Based Personalization Boosts SME Overdraft Lending

Risk-Based Personalization Boosts SME Overdraft Lending

A major European bank revamped its SME overdraft lending by introducing a data-driven model that adjusted loan limits based on individual risk profiles, boosting both portfolio size and profit.
AI/ML
CRM/ERP
From 4 Months to 30 Minutes: The New Speed of Credit Scoring
August 2025

From 4 Months to 30 Minutes: The New Speed of Credit Scoring

A bank cut credit model time from four months to 30 minutes by automating risk assessment for corporate clients.
AI/ML
Smarter Fields, Smarter Yields: Building a Telemetry Platform for Farm Machinery at Any Scale

Smarter Fields, Smarter Yields: Building a Telemetry Platform for Farm Machinery at Any Scale

Infinity Technologies delivers a cross-platform IoT solution that gives farmers real-time visibility and control over diverse agricultural fleets
IoT
CRM/ERP
Web Development
Harnessing the Sun Smarter: Building a Scalable IoT Platform for Solar System Monitoring

Harnessing the Sun Smarter: Building a Scalable IoT Platform for Solar System Monitoring

Infinity Technologies delivers an intelligent energy monitoring solution that increases solar system efficiency by up to 60%
IoT
Web Development
Mobile Development
Nova Poshta: AI-Powered Warehouse Monitoring for Conveyor Systems

Nova Poshta: AI-Powered Warehouse Monitoring for Conveyor Systems

Infinity Technologies Builds Real-Time Load Balancing and Bottleneck Detection for Ukraine’s Largest Logistics Operator
AI/ML
CRM/ERP
IoT
Web Development
Fitto: IoT Ecosystem That Powers Smart Supplement Consumption

Fitto: IoT Ecosystem That Powers Smart Supplement Consumption

Infinity Technologies Builds a Personalized Health-Tech Platform Combining Smart Hardware, AI, and Cloud
IoT
Mobile Development
Web Development