51
Industrial AI Deep Learning for Predictive Maintenance, Predictive Quality & Visual Inspection

Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

  • Upload
    others

  • View
    21

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial AI

Deep Learning for Predictive Maintenance, Predictive Quality &

Visual Inspection

Page 2: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

We develop prize-winningIndustrial AI

Simon Stiebellehner

Head of AI @ craftworksLecturer @ WU Wien & FH Wien

[email protected]

craftworks.AI

Daniel Ressi

Data Scientist @ craftworks

[email protected]

Page 3: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Who is ?

16 Team membersBiomedical Engineering

User

Experience

Software

Engineering

Physics

Machine Learning

Page 4: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

craftworks.AI

We develop prize-winningIndustrial AI

Page 5: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

craftworks.at

Selection of our Clients

Predictive Quality

Predictive Analytics Predictive Analytics

Predictive Maintenance

Predictive Quality

Predictive Quality

Computer Vision Big Data InfrastructureSoftware Solution

Predictive Maintenance

Page 6: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

A Special Set of Challenges

The Industry

Research & Design

Process Optimization & Automatization

Quality Control

Maintenance

Consumption

Logistics

Customer Engagement

Resource Management

Security

Page 7: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Special Challenges require a Special Set of Methods

Industrial AI

Industrial Challenges

Artificial Intelligence

“Application of machine and deep learning methods to solve industrial challenges”

Page 8: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Characteristics

Industrial AI

● Data○ High-frequency○ Big Data○ Lack of Standardization○ Imbalanced Classes

● Algorithms○ No off-the-shelf solutions○ Reliability Requirements○ Interpretability

Page 9: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial AI

Deep Learning for Predictive Maintenance, Predictive Quality & Visual Inspection

Predictive Maintenance

Visual Inspection

Predictive Quality

Page 10: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive MaintenanceWhat is it?

“Predict and forecast the condition of machines to plan maintenance ahead of time”

Predictive Maintenance

Page 11: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Why?

Predictive Maintenance

● Machine Faults ○ Can stop whole production○ High repair costs○ Safety risk

● Predictive Maintenance1. Machine health forecast2. Planned maintenance schedules3. Cost and time efficient work

Predictive Maintenance

Proactive

Page 12: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Data

Predictive Maintenance

Ground Truth Issue● Start of faults● Unnoticed faults● Few instances of

breakdowns

Maintenance

Records

time time

sen

sor

valu

e

sen

sor

valu

e

Predictive Maintenance

● Time series● Machine centric○ Temperature○ Pressure○ Vibration○ Acoustic, ....

Sensors

Page 13: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predicting Faults in the District Heating System of Vienna

Page 14: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

District Heating Vienna

Predictive Maintenance

Vienna has one of the largest district heating systems in EU

Several thousand converter stations

Checks and maintenance on a daily basis

Every warning has to be investigated

Interrupts schedules

Predictive Maintenance

Page 15: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Goal

Predictive Maintenance

● Predict faults in advanceBonus: determine exact type of fault

Why?Enable more targeted maintenance schedulesReduce interruption of work caused bylow-impact faults & issues

Predictive Maintenance

Page 16: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Maintenance

2-Stage-Solution

Predictive Maintenance

Recurrent Neural Network (RNN)

Predict fault typeGradient BoostedDecision Trees

Fault probability > threshold

Predicts probability of fault in the next X days (binary classification)

No Fault Fault Type

1

2

Page 17: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive MaintenanceRecurrent Neural Network (RNN)

Stacked LSTM

Input(sensor data of last Y hours)

0

1

No Fault

Fault

Output(fault probability in the next X days)

Predictive Maintenance

Page 18: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

91% of Faults can be detected 7 days in advance

Predictive Maintenance

Predictive Maintenance

Stat

us

Predicted Faults

Actual Faults

Time

Status: 0 = normal, 1 = Fault

Page 19: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Can the exact fault types be determined?

Predictive Maintenance

Predictive Maintenance ● several thousands unique fault types

○ Each fault type consists of 3 keywords○ High priority types form clusters

● Fault types were clustered into coherent groups● Selected 2 most high priority groups for classification

task

98% AccuracyFault Type Group

High Prio. Group 1

High Prio. Group 2

Low Priority Group

Labels

Page 20: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial AI

Deep Learning for Predictive Maintenance, Predictive Quality & Visual Inspection

Predictive Maintenance

Visual Inspection

Predictive Quality

Page 21: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Visual Inspection

VisualInspection

What is it?

“Method of quality control using human vision”

Page 22: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Visual Inspection

VisualInspection

Automation is Wide-Spread

Page 23: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Visual Inspection

VisualInspection

Automated Visual Inspection is a Multi-Step Process

Page 24: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Visual Inspection:Detecting and Explaining Defects in Industrial

Parts

Page 25: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial PartGlued PatchesVisual

Inspection

Visual InspectionDetecting and Explaining Defects in Industrial Parts

Page 26: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Defect A

Defect B

Defect C

VisualInspection

Visual InspectionDetecting and Explaining Defects in Industrial Parts

Page 27: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

● Self-Learning System

● Perfect Classification in OK / Defect● Best Possible Classification of Type of Defect

GoalsVisual

Inspection

Visual InspectionDetecting and Explaining Defects in Industrial Parts

● Inspection Capabilities

● Explanation of Model Output

● Feedback to ensure Continuous Learning

Page 28: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Depth

Brightness

VisualInspection

Visual InspectionImaging Device captures two Types of Images

Page 29: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

12,000

51918

22

327 152

Unlabelled Labelled

OK

Defect C

Defect B

Defect A

Vast majority of unlabelled data is

OK

VisualInspection

Visual InspectionHighly Imbalanced Class Frequencies

Page 30: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

12,000

519

Unlabelled Labelled

ChallengeVery Few Labelled Images

VisualInspection

Visual InspectionData contains very few Labelled Images

Page 31: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Minimize Difference between Input and Output

VisualInspection

Visual InspectionDeep Convolutional Autoencoder

Page 32: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Reconstruction ErrorVisualInspection

Visual InspectionVisualizing Anomalies using Reconstruction Error

Page 33: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

VisualInspection

Visual InspectionVisualizing Anomalies using Reconstruction Error

Page 34: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

OK

Defect A

Defect B

Defect C

Latent SpaceRepresentation

ReconstructionError

Classifier

519

Labelled

VisualInspection

Visual InspectionVisualizing Anomalies using Reconstruction Error

Page 35: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial Augmented IntelligenceAugmented Intelligence in Action

Page 36: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial AI

Deep Learning for Predictive Maintenance, Predictive Quality & Visual Inspection

Predictive Maintenance

Visual Inspection

Predictive Quality

Page 37: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

What is it?

“Estimating the output quality of a manufacturing process from start to finish”

Predictive Quality

Page 38: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

What? Why?

Predictive Quality

● Automatic, Continuous, Proactive○ Predict (future) quality at every process stage○ Identify potential influences on quality

● Saves time, costs and resources○ Prevent quality issues

■ Reduce scrap → minimize resource consumption■ Know when a bad quality output is produced

BEFORE it is produced

Predictive Quality

Page 39: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Data Sources

● Vibration● Temperatu

re● Pressure● ...

Sensors

● RGB● Laser

scans● Infrared

images

Images ● Quality checks (ground truth)

● Shift schedules

● Maintenance records

● Fault logs

Meta-data

Predictive Quality

Predictive Quality

Page 40: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualityProduction Line

Process A

Process B

Material

Material

FinishedProduct

Product Defects:● Defect 1● Defect 2● Defect 3

...

Process Parameters

Material

Meta-data F

Data source

ImagingE

Page 41: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualityTypical Problem

● Production line: ○ Sequence of processes / stages○ Each process is sequence of steps itself ○ High volume of process data

● Random Quality checks○ Small number of labelled data

● Goal:○ Predict quality accurately

Miss-match

Page 42: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predicting Quality in Industrial Production Lines

Page 43: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualitySolution

1. Train LSTM Autoencoder for each process○ Feature generator (Latent Space Representations)○ Aggregate processes on (super-)process-level

2. Train Convolutional Autoencoder for image data3. Concatenate features4. Train supervised Gradient Boosting Model on

labelled data5. Use SHAP to explain influence of different stages on

product quality

Page 44: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualitySolution

Process A

Process B

ProcessC

Process D

ImagingE

Meta-data F

Gradient Boosting Model

Con

cat

Labels

Prediction

Deep LSTM Autoencoder

Deep Convolutional Autoencoder

Latent Space Representation

Page 45: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualityResult

1. Good performance (depending on data quality)

2. Overcomes problem of small labelled data size

3. Overcomes black-box problem○ Explainable on process level○ Analysis of autoencoder reconstruction errors for fine

grained insights within process

Page 46: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualitySHAP Feature Importances

Page 47: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Predictive Quality

Predictive QualitySHAP Single Prediction

Fault 1 Fault 2 Fault 3

Prediction 0.14 0.71 0.14

SHAP Force Plot for Fault 2

SHAP Force Plot for Fault 3

Page 48: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Industrial AI

Deep Learning for Predictive Maintenance, Predictive Quality & Visual Inspection

Predictive Maintenance

Visual Inspection

Predictive Quality

Page 49: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Learnings

Start simple & don’t over-engineer details

Implement complete workflow asap (REST API, ...)

Ensembling & combination of methods wins

Keep business metrics in mind

Industrial AI requires ML all-arounders

Page 50: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

We develop prize-winningIndustrial AI

Simon Stiebellehner

Head of AI @ craftworksLecturer @ WU Wien & FH Wien

[email protected]

craftworks.AI

Daniel Ressi

Data Scientist @ craftworks

[email protected]

Page 51: Vienna Data Science Group - Deep Learning for Predictive Maintenance, Predictive ... · 2019-03-29 · Predictive Maintenance Predictive Maintenance several thousands unique fault

Join us!

craftworks.at/working-at-craftworks/

Research with us!

Computer Vision Engineer / Data Scientist

(Senior) Web Developer

Marketeer/Growth Hacker

Agile Project Manager

No fit for you? Send us your application anyway - we are always looking for talent.

[email protected]

Are you a student?

We offer exciting research internships and thesis topics!

Currently, topics are available in the areas ...

Reinforcement Learning

UnsupervisedDeep Learning

[email protected]