Professional Documents
Culture Documents
0
AI for Engineers. AI on PLCs
Engineers and domain specialists can achieve success with AI and Machine Learning and
download programs on PLCs without having to specialize in data science. What they need is the
right tools throughout the workflow.
1
IMA Active builds predictive maintenance algorithms for tablet press
production machine
Challenge
Minimize the risk of machine failure while avoiding unrequired
pre-emptive maintenance.
Solution
Analyzed data Predictive Maintenance Toolbox apps. Trained a
fault classification model that estimates the health of critical
moving parts.
Results
▪ Built a Machine Learning classification model that IMA’s tablet press machine series - Prexima. (Picture: IMA)
Learn more 2
The AI workflow for real-life engineering applications
Hardware
Human insight System simulation Enterprise systems
accelerated training
3
Poll 1: Why AI on PLCs? Why now? (multiple choices)
4
Why AI on PLCs? Why now?
5
Poll 2: What can you do with AI on PLCs? (multiple choices)
6
Poll 2: What can you do with AI on PLCs?
7
Preprocess and Label Data, Extract Features
MATLAB and MATLAB Apps facilitate the process of efficiently working with DATA
Data Preparation
Human insight
Diagnostic Feature Designer
App Image Labeler & Video Labeler
Simulation- Feature extraction and ranking Apps
generated data for different domains and Interactive labeling of ground
purposes truth data taking advantage of CV
MATLAB Live Editor Tasks algorithms for automation
Data filtering and cleansing with
easy-to-use interfaces, and
access to multiple algorithms and
tunable parameters
From MATLAB Apps it is possible to generate MATLAB code for repeating tasks completed within the Apps
8
Design, Choose and Train Algorithms and Models
MATLAB Apps make the training of Neural Networks, Classifiers, and Regression models easy.
AI Modeling
Hardware
accelerated training
System Design
Integration with
complex systems
Bonus: Synthetic failure data generated from a Simulink model can train an AI algorithm.
10
Deploy to any processor with best-in-class performance
AI models in MATLAB and Simulink can be deployed on different targets including Industrial Controllers.
Deployment
CPU
Embedded devices
FPGA
MATLAB Coder, Simulink Coder, Embedded Coder, Simulink PLC Coder and Other Code Generation Tools
11
Case Study: Condition Monitoring of a Packaging Machine
• Mechanical parts
• Electrical components
• Sensors
• Controllers
12
Case Study: Condition Monitoring of a Packaging Machine
Packaging machine
I need help.
13
Case Study: Condition Monitoring of a Packaging Machine
Packaging machine
14
Case Study: Condition Monitoring of a Packaging Machine
15
Case Study Demo
16
Case Study: Condition Monitoring of a Packaging Machine
• Synthetic data from
Simulink/Simscape.
Data • Data processing:
Preparation MATLAB and Diagnostic
Feature Designer App
17
Case Study: Condition Monitoring of a Packaging Machine
• Synthetic data from
Simulink/Simscape.
Data • Data processing:
Preparation MATLAB and Diagnostic
Feature Designer App
18
Case Study: Condition Monitoring of a Packaging Machine
• Synthetic data from
Simulink/Simscape.
Data • Data processing:
Preparation MATLAB and Diagnostic
Feature Designer App
19
Case Study: Condition Monitoring of a Packaging Machine
• Synthetic data from
Simulink/Simscape.
Data • Data processing:
Preparation MATLAB and Diagnostic
Feature Designer App
21
Poll 3: What do you think is the most challenging part of this
workflow?
Hardware
Human insight System simulation Enterprise systems
accelerated training
22
IEC
Hardware partners Vendor IDE 61131-3 C/C++
3S - Smart Software CODESYS™ ✓
Solutions
B&R Industrial Automation Automation ✓ ✓
Studio™
Bachmann Electronic SolutionCenter ✓ ✓
®
Beckhoff Automation TwinCAT ✓ ✓
Bosch Rexroth IndraWorks ✓ ✓
®
Mitsubishi Electric CW Workbench ✓
Ingeteam Ingesys IC3 ✓
® ®
Omron Sysmac Studio ✓
®
Phoenix Contact PC WORX™ ✓ ✓
®
Rockwell Automation RSLogix™/Studio ✓
5000
® ®
Siemens TIA Portal/STEP 7 ✓ ✓
23
Q&A
© 2021 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks
for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
24
Gianfranco Fiore
Application Engineer
gfiore@mathworks.com
Thank you Rareș Curatu
Industrial Automation and Machinery Industry Manager
rcuratu@mathworks.com
© 2021 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks
for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
25