Engineered & Built in Breeding, Kentucky
RM
Rocky Mountain PLC & Automation
GET QUOTE
Case Study

Zero-Defect Quality
Control Implementation

How automated vision inspection eliminated production defects and improved quality metrics by 99.7% in a pharmaceutical manufacturing facility.

Case Study 2025 10 min read Pharmaceutical Manufacturing
99.7%

Defect Detection Rate

85%

Reduction in Scrap

6 Month

ROI Timeline

24/7

Automated Operation

Client Overview

A mid-sized pharmaceutical contract manufacturer specializing in liquid formulations, syrups, and injectable medications. With annual revenues of $45 million and 180 employees, they produce over 50 different pharmaceutical products across multiple therapeutic categories.

The Challenge

They did experience significant quality control issues that were impacting their profitability and regulatory compliance:

  • High defect rates: 2.3% of finished products were being rejected due to visible defects
  • Labor-intensive inspection: 12 quality inspectors working 16 hours/day, 6 days/week
  • Inconsistent quality: Human inspectors achieved only 87% defect detection rate
  • Regulatory pressure: FDA warning letters regarding product quality
  • Production bottlenecks: Inspection process limited throughput to 45,000 units/day

Solution Implementation

Phase 1: Assessment & Planning (Weeks 1-4)

Rocky Mountain PLC conducted a comprehensive quality audit, analyzing defect types, frequencies, and root causes. We identified that 68% of defects were cosmetic (particles, discoloration, fill level variations) that could be detected by automated vision systems.

  • • Analyzed 3 months of production data
  • • Identified 12 critical defect types
  • • Mapped current inspection workflow
  • • Selected optimal inspection points

Phase 2: System Design & Integration (Weeks 5-12)

Designed a comprehensive vision inspection system integrating Cognex In-Sight cameras, Keyence LJ-X8000 laser profilers, and custom lighting solutions. The system was integrated with their existing Siemens S7-1500 PLC control system.

  • • 8 Cognex In-Sight 7800 cameras for 2D inspection
  • • 3 Keyence LJ-X8000 profilers for 3D measurement
  • • Custom LED lighting optimized for different products
  • • Integration with existing PLC and SCADA systems

Phase 3: Testing & Validation (Weeks 13-16)

Conducted extensive testing with production samples to validate detection accuracy and minimize false positives. The system achieved 99.7% defect detection rate during validation testing.

  • • Tested 50,000 units across all product lines
  • • Validated against human inspection standards
  • • Optimized algorithms for each product type
  • • Trained operators on system operation

Phase 4: Full Production Deployment (Week 17)

Implemented the complete system across all production lines. The automated inspection system replaced manual inspection stations and integrated seamlessly with existing production workflow.

  • • Replaced 12 manual inspection stations
  • • Integrated with production management software
  • • Established automated reject handling
  • • Implemented real-time quality monitoring

Technical Implementation Details

Vision System Architecture

The implemented solution featured a distributed architecture with multiple inspection stations:

Primary Inspection Station (Fill Level & Particles)

  • Cognex In-Sight 7800: High-resolution linescan camera (8K resolution)
  • Telecentric lighting: Eliminates perspective distortion
  • Inspection criteria: Fill level accuracy (±0.5%), particle detection (>50μm)
  • Throughput: 300 bottles/minute

Secondary Inspection Station (Label & Cap Inspection)

  • Cognex In-Sight 2800: Color camera with AI deep learning
  • Dome lighting: Diffuse illumination for consistent results
  • Inspection criteria: Label placement, cap presence, seal integrity
  • Throughput: 250 bottles/minute

Dimensional Inspection Station

  • Keyence LJ-X8000: Ultra-high-speed 3D laser profiling
  • Blue laser technology: High accuracy on various surfaces
  • Inspection criteria: Bottle height, diameter, cap torque
  • Throughput: 200 bottles/minute

Integration with Existing Systems

The vision system was fully integrated with BioPharm's existing infrastructure:

PLC Integration

// Vision system integration example: IF Vision_Station_1.Ready AND Conveyor_Bottle_Present THEN Vision_Station_1.Inspect.Execute := TRUE; IF Vision_Station_1.Inspect.Done THEN IF Vision_Station_1.Result.Good THEN Conveyor_Advance := TRUE; ELSE Reject_Bottle := TRUE; Alarm_Quality_Fault := TRUE; END_IF; END_IF; END_IF;

Data Collection & Analytics

  • Real-time monitoring: Live dashboard showing defect rates and trends
  • Historical data: 2 years of quality data storage
  • Automated reporting: Daily quality reports emailed to management
  • Predictive analytics: Early warning for potential quality issues

Results & Impact

Quality Improvements

Before Implementation

  • • 2.3% defect rate
  • • 87% detection accuracy
  • • 12 manual inspectors
  • • 45,000 units/day capacity

After Implementation

  • • 0.3% defect rate (87% reduction)
  • • 99.7% detection accuracy
  • • 3 quality technicians
  • • 75,000 units/day capacity

Financial Impact

  • Cost savings: $480,000 annually in reduced scrap and rework
  • Labor reduction: $220,000 annual savings (9 inspectors reassigned)
  • Increased capacity: 67% throughput improvement
  • ROI timeline: 6 months (vs. projected 18 months)
  • Quality improvement: Zero FDA observations in subsequent audits

Operational Benefits

  • 24/7 operation: Consistent quality control without shift limitations
  • Real-time feedback: Immediate defect identification and correction
  • Data-driven decisions: Comprehensive quality analytics
  • Scalability: Easy addition of new inspection criteria
  • Compliance: Automated documentation for regulatory requirements

Lessons Learned & Best Practices

Implementation Success Factors

  1. Comprehensive assessment: Thorough analysis of defect types and frequencies
  2. Phased approach: Gradual implementation allowed for optimization
  3. Operator training: Extensive training ensured smooth adoption
  4. Change management: Clear communication about benefits and process changes
  5. Continuous improvement: Ongoing algorithm refinement based on production data

Technical Considerations

  • Lighting consistency: Critical for reliable inspection results
  • Environmental control: Temperature and humidity affect camera performance
  • Maintenance access: Design systems for easy cleaning and adjustment
  • Network reliability: Redundant communication paths for critical systems
  • Software updates: Regular updates to maintain peak performance

Quality System Integration

The vision system became an integral part of BioPharm's quality management system:

  • Automated batch records: Every inspection result logged automatically
  • Electronic signatures: Compliant with 21 CFR Part 11 requirements
  • Audit trails: Complete traceability of quality decisions
  • Change control: Formal process for algorithm modifications

Future Expansion

Based on the success of this implementation, They are planning to expand automated inspection to additional facilities and product lines. The modular design of the system allows for easy replication and scaling.

The vision inspection system has become a competitive advantage, enabling BioPharm to offer higher quality guarantees and win larger contracts with more demanding quality requirements.

Ready to Achieve Zero-Defect Quality?

Learn how automated vision inspection can transform your quality control process. Contact Rocky Mountain PLC for a free quality assessment and custom solution design.