Skip to content
Biotech / Life Sciences ManufacturingPseudonymized

ML-Powered Failure Detection for a Diagnostics Manufacturer

CorrDyn designed data pipeline and ML model-serving infrastructure for a diagnostics manufacturer to catch cartridge failures before quality control.

Editorial photograph evoking ml-powered failure detection for a diagnostics manufacturer

ML models identify defective cartridges before lot-level quality control

Failure detection

Dual pipeline: offline training data warehouse + real-time model serving

Architecture scope

Designed to scale from one machine to dozens across multiple facilities

Scalability

The situation

A diagnostics manufacturer produces cartridges used in medical testing equipment. Quality control is governed by regulatory requirements: if too many cartridges in a sampled lot fail testing, the entire lot must be discarded. Failures stem from defects in ultrasonic welding and film sealing processes, both of which produce rich sensor data and infrared imagery during production. But that data was not being used for early failure detection. Engineers discovered defective cartridges only during lot-level quality control, after the cartridges had already been incorporated into lots subject to regulatory sampling.

The company’s data science team had developed prototype ML models that showed promise for predicting weld and seal failures from production telemetry. What they lacked was the infrastructure to train those models on integrated datasets, deploy them to production, and serve predictions back to the manufacturing line at the latencies required for in-line quarantine decisions.

What we built

CorrDyn conducted an assessment that included 8+ stakeholder interviews, architecture and code review, infrastructure alternatives research, and a working proof of concept. The output was a data infrastructure roadmap and the initial implementation of two parallel systems.

Training data pipeline. Manufacturing machines send sensor data through PLC and OPC connections to Ignition, the plant’s supervisory control system. CorrDyn added a streaming path from Ignition to AWS Kinesis Data Firehose, which lands data in S3 and loads it into Snowflake via Snowpipe. This gives the data science team a warehouse with integrated relational data (weld events, sensor time series, seal test results) and references to infrared camera imagery stored in S3. Data quality checks validate PLC identifiers, serial number uniqueness, image counts, and label integrity before data enters the training pipeline.

Model serving architecture. We designed a containerized model serving system with three layers. Manufacturing machines trigger prediction requests through Ignition. A business logic layer (middleware) receives the request, preprocesses the data, selects the appropriate model based on the event type, and routes the request to the correct model inference endpoint. Each model runs as a containerized FastAPI application deployed on AWS ECS. The middleware returns predictions to Ignition, which can trigger automated cartridge quarantine on the production line.

The architecture supports multiple models per machine (weld failure, seal failure) and is designed to scale from one production line to dozens across multiple facilities. A CI/CD pipeline through GitLab handles model versioning, testing, and deployment.

What changed

The manufacturer gained the ability to flag potentially defective cartridges during production rather than discovering them during lot-level quality control. Quarantining suspect cartridges before lot assembly reduces the probability of regulatory lot failures, saving both materials and production time. The data science team can now develop models against integrated datasets in Snowflake and deploy them through a standardized process rather than ad hoc handoffs. The infrastructure was designed for expansion: bringing a new machine or model type online follows the same pipeline pattern without requiring new architecture.

Frequently Asked
Questions

We are losing production lots to quality failures that a few defective units cause. Can ML catch them earlier in the process?
Yes. ML models trained on sensor data, infrared images, and process telemetry can flag suspect units during production, before they are incorporated into a lot. CorrDyn designed the infrastructure for this diagnostics manufacturer to serve predictions in under 90 seconds per event, enabling in-line quarantine decisions that prevent a single defective unit from triggering a regulatory lot failure.
How do you build ML infrastructure for a manufacturing floor that already runs on PLCs and Ignition?
CorrDyn built integration layers that read PLC and OPC signals through Ignition, stream them via AWS Kinesis into Snowflake for training data, and route real-time prediction requests to containerized FastAPI model endpoints on ECS. The architecture separates training and serving pipelines so the data science team can iterate on models without affecting production. New models deploy through a CI/CD pipeline without modifying the machine integration layer.
Why bring in CorrDyn instead of having our data science team build the infrastructure themselves?
Data scientists build models. CorrDyn builds the infrastructure that gets those models into production — streaming pipelines, containerized serving, middleware routing, and CI/CD for model deployment. This engagement started with an assessment including 8+ stakeholder interviews and delivered a working proof of concept. Your data science team stays focused on model accuracy while CorrDyn handles the engineering that makes those models operational.

Get your free
proposal.

Tell us about your challenges. We will be honest about whether we can help.

  • No pitch decks. We start by listening.
  • Discovery calls are free.
  • We respond within one business day.

Or email us directly at [email protected]

No sales scripts. No commitments.