Professional Documents
Culture Documents
Introducing Predictive
Maintenance
Qt World Summit 2016
Predictive maintenance
The What
What is predictive maintenance?
Moving from devices to smart connected devices
Corrective maintenance
• Wait for something to go wrong (spoiler: it will !)
• Easiest, but no planning, bad perceived quality
Preventive maintenance
• Guess when it will go wrong
• Easy planning, extra cost, requires consistent behavior
Predictive maintenance
• Be alerted before it goes (too) wrong
• Easy planning, optimal interventions
3
Is it for me?
Requirements
? It depends!
4
Predictive maintenance
Condition based
+ Easy to implement
- Limited
5
Predictive maintenance
Model based condition monitoring
6
When to plan for it ?
Impact on design
7
Predictive maintenance
The How
The right tools
Existing and custom solutions
Web API
• ElasticStack (or NodeJS, PHP, …) DB Web API
11
On the device
(Qt) Application’s role
Monitor
void Device::pollSensors()
QTimer, QThread {
QFile file("/sys/class/mysensor/value");
QFileWatcher […]
int value = QString::number(file.readAll());
Serialize / Log QNetworkAccessManager manager;
QJson classes QJsonDocument jsonDoc; QJsonObject jsonObject;
jsonObject["mysensor"] = value;
QLoggingCategory, msg handler […]
qCDebug(sensorsLogCat) << jsonData;
manager.post(QUrl("http://monitor.domain.com"), jsonData);
Notify QTimer::singleshot(60*1000, pollSensor);
HTTPS, AMQP or MQTT }
12
On the Web server
Cloud business intelligence
"actions": {
Parse "send_email": {
"email": {
LogStash, NodeJS "to": "operator@customer.com",
"subject": "Please check me !",
"body": "You should probably check machine
Store {{ctx.payload.hits.0.fields.name}}, something seems wrong on
the espresso motor !",
ElasticSearch, MariaDB (MySQL)
"attachments": {
Essential to build a dataset "machine_report": {
"http": {
Alert
"content_type": "application/pdf" ,
"request": {"url": "http://localhost/report[...]}
Watcher, NodeJS }
}
Email, Jira, Redmine }
13
That’s it !
Wait …
14
Advanced Predictive maintenance
Model based Intelligence driven
ML
• Matlab, R
• Machine learning OpenSource frameworks Library
16
Advanced Predictive maintenance
Architecture
HTTPS
Web API
Machine Learning DB
• MS Machine Learning
Message Smart
MQTT
broker device
17
Advanced Predictive maintenance
Learning and testing
In 4 steps
• Choose your output metric Failure probability
• Remaining useful life, failure probability or maintenance
needed
• Build a complete dataset of values and failures (hard part !) Excel
18
Machine learning
Dataset & Learning (MS Machine Learning Studio)
• Visual overview
• Helps identify visually
trends & anomalies
21
Sum up: Added value
A real leverage for a better business
And …
• Know your users: Predict their preferences, actions
• Security: Alert potentially fraudulous actions, from unsual
behavior
22
Key points
• Plan to integrate sensors
• Define the machine learning output
• Make sure you can update the prediction
Automobile &
Navigation
Smart Object
Integration
Technical software Embedded system
expert expert
System software
integrator
Witekio helps customers to develop and integrate all the software layers
from the hardware to the cloud
24
Thank you
Witekio France Witekio USA Witekio Germany Witekio UK/EmbeddedBits Witekio Asia
4, chemin du ruisseau 3150 Richards Roads Suite 210 Bellevue, Am Wartfeld- 61169 Hollywood Mansion, Hollywood Lane, C/O 14F-3, No. 57, Fuxing Nth Rd,
69134, Ecully France WA, 98005, USA Friedberg, Germany Bristol BS10 7TW, UK Songshan District, Taipei, 10595, Taiwan
Phone : + 33 4 49 26 25 39 Phone : + 1 425 749 4335 Phone : + 49 6031 693 7070 Phone : + 44(0) 117 369 0930 Phone : +886 2 2740 0394
sales.emea@witekio.com sales.amer@witekio.com sales.dach@witekio.com sales.uk@witekio.com sales.asia@witekio.com