incremental learning approach for an industrial inspection system€¦ · real-time industrial...

26
Incremental Learning Approach for an Industrial Inspection System MATLAB Expo 2019, Bern Dr. Jianyong Wen & Ralph Stephan, Stäubli Sargans AG

Upload: others

Post on 23-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Incremental Learning Approach for an Industrial Inspection System

MATLAB Expo 2019, Bern Dr. Jianyong Wen & Ralph Stephan, Stäubli Sargans AG

Page 2: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Stäubli at a Glance

2019-05-23 Stäubli Sargans AG2

MATLAB Expo 2019, Bern

Page 3: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

2019-05-23 Stäubli Sargans AG3

MATLAB Expo 2019, Bern

Company Presentation

Page 4: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Three activities – four divisions

2019-05-23 Stäubli Sargans AG4

MATLAB Expo 2019, Bern

Page 5: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Stäubli Textile

2019-05-23 Stäubli Sargans AG5

MATLAB Expo 2019, Bern

Our Textile manufacturing products and services range from

▪ Shedding solutions for frame weaving and Jacquard weaving to

▪ Carpet weaving systems,

▪ Weaving systems for technical fabrics,

▪ Automation solutions for sock knitting machines,

▪ Automated weaving preparation systems.

Page 6: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Stäubli Weaving Preparation Systems

2019-05-23 Stäubli Sargans AG6

MATLAB Expo 2019, Bern

▪ Located in Sargans, SG, since 1994

▪ ~120 employees (~30 in R&D)

▪ Product lines

▪ Drawing-in

▪ Tying

▪ Leasing

▪ Inspection

Page 7: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Drawing-In

2019-05-23 Stäubli Sargans AG7

MATLAB Expo 2019, Bern

Page 8: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Tying

2019-05-23 Stäubli Sargans AG8

MATLAB Expo 2019, Bern

Page 9: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Leasing, Reading-in and other Equipment

2019-05-23 Stäubli Sargans AG9

MATLAB Expo 2019, Bern

Page 10: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Inspection

2019-05-23 Stäubli Sargans AG10

MATLAB Expo 2019, Bern

Page 11: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

From Idea to Product

2019-05-23 Stäubli Sargans AG11

MATLAB Expo 2019, Bern

Idea

Model Design

Model Verification

SoCIntegration

Integration Test

Field Application

Data Collection

Feedback

Page 12: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Challenges in Embedded Application

▪ Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast and easy training process.

▪ Strongly imbalanced datasets

▪ Limitation of hardware resources in embedded systems

2019-05-23 Stäubli Sargans AG12

MATLAB Expo 2019, Bern

Page 13: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Approach

▪ The incremental model developed at Stäubli Sargans AG consists of two process stages, combining machine learning and deep learning models.

2019-05-23 Stäubli Sargans AG13

MATLAB Expo 2019, Bern

Incremental Learning Sub-

model

Image Pre -processing

Initial Learning

Sub-model

Page 14: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Development Process

2019-05-23 Stäubli Sargans AG14

MATLAB Expo 2019, Bern

Developing

models

Optimization parameters

Functionality test

HDL Code generation

Verification

Efficiency

and

Speed Test

Page 15: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Preprocessing

2019-05-23 Stäubli Sargans AG15

MATLAB Expo 2019, Bern

Filtering

Segmentation

Feature

extraction

Debayer

Resizing

Page 16: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Initial Learning Sub-Model

▪ Classification based on extracted features from pre-processing

2019-05-23 Stäubli Sargans AG16

MATLAB Expo 2019, Bern

CornersStatistical

FeaturesEdges

Gray Level Co-

Occurrence MatrixLawmasks

Classifier

Page 17: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Incremental Sub-Model CNN with 15 Layers

2019-05-23 Stäubli Sargans AG17

MATLAB Expo 2019, Bern

Input Image

Conv.

Batch Norm

ReluClass

Output

Maxpool

FC

Soft-max

Page 18: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Incremental Learning Model in MATLAB

2019-05-23 Stäubli Sargans AG18

MATLAB Expo 2019, Bern

Page 19: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Simulink Design and Simulation

2019-05-23 Stäubli Sargans AG19

MATLAB Expo 2019, Bern

Page 20: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

HDL-Code Generation andResource Utilization Analysis

2019-05-23 Stäubli Sargans AG20

MATLAB Expo 2019, Bern

Page 21: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Advantages

▪ Applicability

❖ The CNN sub-model improves classification accuracy during production process (incremental learning).

▪ Efficiency

❖Based on the initial sub-model, the complexity of the CNN sub-model can be reduced (resource and speed efficiency).

2019-05-23 Stäubli Sargans AG21

MATLAB Expo 2019, Bern

Page 22: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Achievements and Outlook

2019-05-23 Stäubli Sargans AG22

MATLAB Expo 2019, Bern

Idea

Model Design

Model Verification

SoCIntegration

Integration Test

Field Application

Data Collection

Feedback

past

present

future

Page 23: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Benefits and Challenges

▪ Challenges

▪ matching of tools and data sets

▪ debugging with blackbox IP

▪ limited computing power

▪ large databases

2019-05-23 Stäubli Sargans AG23

MATLAB Expo 2019, Bern

Idea

Model Design

Model Verification

SoCIntegration

Integration Test

Field Application

Data Collection

Feedback

Page 24: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Benefits and Challenges

▪ Benefits

▪ fast and simple code generation

▪ step-by-step implementation and verification (controlled progress)

▪ consistent and comparable intermediate results

▪ validation of results together with customers

2019-05-23 Stäubli Sargans AG24

MATLAB Expo 2019, Bern

Idea

Model Design

Model Verification

SoCIntegration

Integration Test

Field Application

Data Collection

Feedback

Page 25: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Concluding Remarks

▪ There are no limit to imagination

▪ Limits are given by

▪ Our knowledge and implementation capacity

▪ The capabilities and limitations of our tools

2019-05-23 Stäubli Sargans AG25

MATLAB Expo 2019, Bern

Idea

Model Design

Model Verification

SoCIntegration

Integration Test

Field Application

Data Collection

Feedback

Page 26: Incremental Learning Approach for an Industrial Inspection System€¦ · Real-time industrial fabric inspection systems face challenges of a great number of pattern variations, fast

Thank You!www.staubli.com