Predictive Maintenance with MATLAB
Predictive Maintenance with MATLAB
▪ MATLAB Examples
– Anomaly Detection
– Condition Monitoring
– Remaining Useful Life Estimation
▪ Useful Resources
▪ Q&A
2
Why Perform Predictive Maintenance?
3
Types of Maintenance
5
What Does a Predictive Maintenance Algorithm Do?
Helps make maintenance decisions based on large volumes of complex data
Is my machine
Anomaly
operating
Detection
normally?
Why is my
Condition
machine behaving
Data abnormally?
Monitoring Decision
6
Predictive Maintenance Algorithm Development Workflow
Machine Learning
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
7
Triplex Reciprocating Pump
Outlet
▪ Condition monitoring to detect:
– Seal leak
8 fault codes
– Inlet blockage
(1, 10, 111, etc.)
– Bearing degradation Crankshaft
Inlet
8
Triplex Reciprocating Pump
Outlet
▪ Condition monitoring to detect:
– Seal leak
8 fault codes
– Inlet blockage
(1, 10, 111, etc.)
– Bearing degradation Crankshaft
Inlet
▪ Analyze fault present in system using
only pressure and flow sensor data
9
Baker Hughes Develops Predictive Maintenance Software
for Gas and Oil Extraction Equipment Using Data Analytics
and Machine Learning
Challenge
Develop a predictive maintenance system to reduce
pump equipment costs and downtime
Solution
Use MATLAB to analyze nearly one terabyte of data
and create a neural network that can predict machine Truck with positive displacement pump.
failures before they occur
Results “MATLAB gave us the ability to convert previously unreadable
▪ Savings of more than $10 million projected data into a usable format; automate filtering, spectral analysis,
and transform steps for multiple trucks and regions; and
▪ Development time reduced tenfold
ultimately, apply machine learning techniques in real time to
▪ Multiple types of data easily accessed
predict the ideal time to perform maintenance.”
- Gulshan Singh, Baker Hughes
Why is my machine
Condition
Data behaving
Monitoring
Decision
abnormally?
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
11
Preprocess Data
12
Predictive Maintenance Algorithm Development Workflow
Why is my machine
Condition
Data behaving
Monitoring
Decision
abnormally?
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
13
Identify Condition Indicators
▪ Signal statistics
– Mean
– Signal-to-noise ratio
– Peak frequency
– … Condition Indicators/
Health Indicators/
▪ Data fusion and Features
transformation
– Principal component
analysis
– Regression
– Normalization
– …
14
Predictive Maintenance Algorithm Development Workflow
Why is my machine
Condition
Data behaving
Monitoring
Decision
abnormally?
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
15
Scenario 1: Fault Classification
Why is my machine
Condition
Data behaving
Monitoring
Decision
abnormally?
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
16
Scenario 1: Fault Classification
17
Scenario 2: Forecast Remaining Useful Life
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
18
RUL Methods and when to use them
Requirement: Need to know what constitutes failure data
H F Similarity models
Safety
threshold
H F Degradation models
H F Survival models
H: Healthy state
F: Failure Details on model selection in the documentation 19
RUL Methods and when to use them
Requirement: Need to know what constitutes failure data
Safety threshold
22
What if we also have domain experts of the equipment?
Leverage the engineering knowledge to enhance predictive maintenance
23
Predictive Maintenance Algorithm Development Workflow
Acquire
Data
Generate
d Data
Identify
Sensor Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
25
Scenario 3: Simulink for Fault Generation
26
What do your end users expect?
27
How do you deliver your analytics to different users?
MATLAB
Standalone Web Excel Hadoop/ Production
C, C++ HDL PLC CUDA App Add-in C/C++ Java ++ Python .NET
Application Spark Server
MATLAB
Runtime
28
Predictive Maintenance with MATLAB and Simulink
Is my machine Anomaly
operating normally? Detection
Why is my machine
Condition
Data behaving
Monitoring
Decision
abnormally?
Identify
Acquire Preprocess Condition Train Deploy &
Data Data Indicators Model Integrate
MATLAB
Runtime
30
How can MATLAB and Simulink help you with predictive
maintenance?
“MATLAB gave us the ability to convert
▪ End-to-end solution
previously unreadable data into a usable
– Access and preprocess data
format; automate filtering, spectral analysis,
– Develop predictive models interactively
and transform steps for multiple trucks and
– Deploy models in production
regions; and ultimately, apply machine
▪ Modeling with Simulink
learning techniques in real time to predict
– Generate training data in the absence of
real failure data the ideal time to perform maintenance.”
– Verify algorithm in new scenarios with a
digital twin Gulshan Singh, Baker Hughes
31
MathWorks Engineering Support
Technical Support
32
Training Course: Predictive Maintenance with MATLAB
35
© 2021 The MathWorks, Inc.
36