Case study · Manufacturing

Industrial IoT & Predictive Maintenance Platform

Connected 1,200 machines across four plants to a cloud analytics platform with predictive maintenance models, lifting OEE by 20%.

20%
OEE improvement
−45%
Unplanned downtime (critical lines)
1,200
Machines connected
4
Plants live
Client
Tier-1 automotive supplier (confidential)
Industry
Manufacturing
Year
2022
Duration
11 months
Team
10 engineers

Project overview

The supplier operated four plants with a mix of modern PLC-controlled lines and legacy equipment. Downtime was tracked on whiteboards and maintenance was reactive.

CodeQube built an edge-to-cloud IoT platform on Azure with real-time OEE dashboards, anomaly detection and predictive maintenance models integrated with the client’s SAP PM module.

Business problem

Where the client started.

01

No consolidated view of line performance; OEE calculated manually and inconsistently across plants.

02

Unplanned downtime on critical presses cost an estimated $40k per hour.

03

Legacy machines had no network connectivity or standard protocols.

04

Maintenance work orders were raised after failures, never before.

Proposed solution

What we proposed, and why.

  • Edge gateways running Azure IoT Edge to normalise OPC-UA, Modbus and retrofitted sensor data.

  • A streaming pipeline computing OEE, cycle-time and quality metrics in real time per line.

  • Anomaly detection and remaining-useful-life models for the twelve most critical asset types.

  • Automatic SAP PM work-order creation when models predicted failure within a maintenance window.

Architecture

How the system is put together.

Edge gateways buffer and normalise machine data, forwarding it to Azure IoT Hub. Stream Analytics computes live metrics into a time-series store; batch jobs train and score ML models, and results surface through a React dashboard and SAP integration.

manufacturing-iot-dashboard/architecture — layered view
L1Edge
Azure IoT Edge gatewaysOPC-UA / Modbus adaptersRetrofit vibration & temperature sensors
L2Ingestion
Azure IoT HubEvent HubsStream Analytics
L3Data
Azure Data Explorer (time-series)Data Lake Gen2Synapse
L4ML
Azure MLMLflowAnomaly & RUL models
L5Experience & integration
React OEE dashboardsPower BISAP PM connectorTeams alerts

Technology stack

Backend, frontend, data and cloud.

React
TypeScript
Recharts
Power BI

Challenges faced

What got in the way, and how we dealt with it.

Challenge

A third of the estate predated networked controllers.

Resolution

Retrofitted industrial sensors and current clamps feeding edge gateways; inferred machine states from power signatures where no PLC data existed.

Implementation details

How delivery was sequenced.

  1. 1

    Pilot line (months 1–3)

    Connected one press line end-to-end, validated OEE calculations with plant engineers and proved the edge architecture.

  2. 2

    Plant 1 rollout (months 4–6)

    Scaled to 300 machines, delivered dashboards to shop-floor displays and shift-handover reports.

  3. 3

    Predictive maintenance (months 5–9)

    Anomaly detection live on critical assets, SAP PM integration and maintenance feedback loop.

  4. 4

    Multi-plant scale (months 9–11)

    Remaining three plants onboarded using templated edge deployments and IaC.

Non-functional requirements

Security and scalability considerations.

Security

  • IEC 62443-aligned segmentation between OT and IT networks with brokered connectivity through a DMZ.
  • Device identity via X.509 certificates managed by Azure Device Provisioning Service.
  • Role-based dashboards; no write path from cloud to machine controllers.

Scalability

  • Templated gateway images and Terraform modules onboard a new plant in under two weeks.
  • Ingestion tested to 50,000 messages/second across the four-plant estate.
  • Time-series retention tiers keep hot query performance while archiving history to the data lake.

Results & business impact

What it delivered.

20%
OEE improvement
−45%
Unplanned downtime (critical lines)
1,200
Machines connected
4
Plants live

Business impact

  • Predictive maintenance paid back platform investment within the first year.
  • Shift-handover reporting eliminated manual OEE compilation across all plants.
  • Platform reused for energy monitoring, cutting electricity consumption by 9%.

More case studies

Related work.

Next step

Facing a similar problem?

We'll walk you through how this was built, what we'd do differently today, and what it would take for your organisation.