top of page

Letting Data Speak, AI Act!

Case Study

Automated PCB Defect Detection Using Advanced Computer Vision

A leading electronics manufacturing company specializing in high-volume printed circuit board production for industrial automation equipment. The client operated multiple production facilities with stringent quality requirements and faced increasing pressure to maintain zero-defect manufacturing standards while scaling production capacity to meet growing market demand.

About the Client

A leading electronics manufacturing company specializing in high-volume printed circuit board production for industrial automation equipment. The client operated multiple production facilities with stringent quality requirements and faced increasing pressure to maintain zero-defect manufacturing standards while scaling production capacity to meet growing market demand.

Untitled design - 2024-09-27T104509.589.png

Challenge

The client's traditional manual quality inspection process created significant operational bottlenecks and quality control issues that threatened their competitive position in the electronics manufacturing sector.


• Inconsistent Detection Performance: Human inspectors struggled to consistently identify defects across complex PCB layouts, particularly missing components, soldering faults, and placement errors that could lead to device failures in the field.

• Manual Process Limitations: Inspector fatigue led to inconsistent detection rates, while the complexity of modern PCB designs with dense component arrangements made visual inspection increasingly unreliable.

• Production Impact: The labor-intensive process required specialized training and created production delays that impacted delivery schedules.

• Business Risk: Continued reliance on manual inspection threatened both profitability and customer satisfaction through mounting pressure to improve quality control while reducing inspection costs and cycle times.

Untitled design - 2024-09-27T105551.128.png

Key Results

  • Reduced inspection time per PCB by over 80%, enabling faster production throughput and shorter delivery cycles


  • Established robust detection capability across diverse lighting conditions and complex PCB layouts, eliminating previous system limitations


  • Achieved 74% precision and 72% recall in automated defect classification, significantly improving detection consistency compared to manual inspection

Solution

JashDS implemented a sophisticated automated visual inspection system leveraging advanced computer vision technology to transform the client's quality control process.


• YOLO-V8-Large Architecture: The solution employed the YOLO-V8-Large deep learning architecture, specifically fine-tuned for PCB defect detection, utilizing a comprehensive patch-based comparison methodology that analyzed test PCBs against master reference images.


ree

• Training and Dataset Development: The technical implementation centered on training the model using a carefully curated dataset of high-definition PCB images standardized, enabling precise component-level analysis across entire board surfaces. 5008 training images andĀ  1252 validation images were used.


• Algorithmic Approach: The core algorithm performed component detection on both master and test image patches using the trained YOLO model, then executed location-based matching to identify discrepancies and automatically flag missing components with precise bounding box annotations.


ree

• Multi-Scenario Handling: The deployment architecture addressed multiple challenging inspection scenarios, including edge defects, lighting variations, small component detection, and multi-angle inspection requirements while maintaining consistent accuracy under varying production conditions.


Test Results:


Defect Detection Example

The model predicts PCB defects, highlighting issues with bounding boxes.
The model predicts PCB defects, highlighting issues with bounding boxes.

Defect Localization

ree

Accurate defect pinpointing

The model identifies and marks defects precisely.

High confidence scores

Reliable predictions for PCB defects

Clear visualization

Bounding boxes assist inspection understanding.

Complex PCB Analysis

ree

Multiple defect types

Detects soldering and component faults

Handling dense board

Maintains accuracy on cluttered PCB designs

Lighting Variation Handling

ree

Unaffected by lighting variations

Handles reflective surfaces

Fast inference times

Small Defect Detection

ree

The model was able to detect the missing LED based on the master image.


Multi-Angle Inspection

The model was able to detect the missing capacitor based on the test image.
The model was able to detect the missing capacitor based on the test image.

Final Validation


ree

Summary of Model Performance

High precision and recall in real-world testing

Robustness Effective on diverse PCB defects and conditions


Untitled design - 2024-09-27T104509.589.png

Technologies Used

  • YOLO-V8-large (YOLOv8l) object detection framework

  • Python computer vision libraries (OpenCV, PIL)

  • PyTorch deep learning framework

  • CUDA GPU acceleration for real-time inference

  • Docker containerization for production deployment

  • REST API integration for manufacturing execution systems

Other Case Study Items

Smart Connected Warehouse Management System for Edible Oil Manufacturer

Smart Connected Warehouse Management System for Edible Oil Manufacturer

JashDS implemented a Smart Connected Warehouse Management System for a leading edible oil manufacturer, addressing challenges in real-time visibility, inventory management, and operational efficiency. The solution incorporated 2D layout visualization, live reporting dashboards, and comprehensive analytics, resulting in improved warehouse efficiency, reduced stock aging, and enhanced decision-making capabilities across the client's operations.

IoT-based Cloud Platform for Medical Device Management

IoT-based Cloud Platform for Medical Device Management

JashDS developed a comprehensive IoT-based cloud platform for a medical device management company, enabling efficient monitoring and control of anti-microbial devices across multiple facilities. The solution incorporated real-time telemetry handling, advanced analytics, and a user-friendly mobile application, resulting in 50% improved operational efficiency and better forecasting accuracy.

AWS Cloud-based Data Pipeline for Industry 4.0 Insights

AWS Cloud-based Data Pipeline for Industry 4.0 Insights

An Industry 4.0 solution provider faced the challenge of processing vast amounts of machine-generated data for manufacturing insights. JashDS developed an AWS cloud-based data pipeline that ingested data from multiple devices, calculated fact tables, and provided API access, enabling real-time business insights and future data science applications.

bottom of page