SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
MQTT – 

Machine Data
Collection
With TICK-STACK
© 2021  InfluxData Inc. All Rights Reserved.
Who we are?
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Our Data Engineering Architecture
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Machine Data Collection with MQTT Architecture
The data obtained by the Robot Controller, such as Torque, Temperature & Current, are sent to the PLC
with the EtherCAT industrial communication protocol. This data is then sent to the MQTT Broker on the server
with the MQTT communication protocol. The sent data is instantly listened by the Telegraf through the MQTT
Broker
.

We have worked with many different types and brands of robots. In this presentation we wanted to share the
details of our work with KUKA Industrial Robots. We use OMRON brand as PLC.
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Details about Data Collection
KUKA Industrial Robots have 6 axes. Therefore, the data we receive is separated on an axis basis.
 

▶ Each data has two subtypes. Average and Peak Values.
 

The data (Torque, Temperature & Current) received from the Robot is sent to the PLC with the EtherCAT (Industrial Communication Protocol).
 

These data are made meaningful in PLC and transmitted to MQTT Broker in the form of JSON Data Format.
Axis No Torque Temperature Current
for (i=1; i<=6; i++)
Axis Average Value Axis Average Value Axis Average Value
Axis Peak Value Axis Peak Value Axis Peak Value
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
• On the PLC side, we process and combine the data (Torque, Temperature, Current) we receive from the robot and convert it to JSON format. We publish it to MQTT broker with
MQTT protocol
.

• Omron PLCs are used in our factory. That's why we made this project using Omron PLC’s
.

• In order to use the MQTT Protocol on the PLC side; First of all,
 

• It is necessary to have an Ethernet card on which the Socket Service Functions of the PLC can be used. Because when using MQTT, it has to open a socket according to the
TCP/IP standard and send the data to this socket with a topic
.

• Omron has created a library to PLC, which includes function blocks for MQTT Protocol and JSON Data Standard. ( A function block is a smart function with its own instances
and memories.)
Details about Data Collection
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Mosquitto, Open Source MQTT Broker, is used as MQTT Broker. By the way, to briefly explain the MQTT Broker
;

An MQTT broker is a server that receives all messages from the clients and then routes the messages to the appropriate destination clients.
 

PLC and Telegraf are connected to MQTT Broker as MQTT Client. Here, the Broker acts as a server, making it possible to transfer data between clients
.

This Broker is installed on a Windows operating system computer. With the installation of this program, that computer turns into a MQTT Broker
.

The Broker's configuration is set to activate 1 port for up to 5 Robots for optimum data usage (Default 1883)
.

PLC publishes the data from the determined topic to the Broker. Obtains the data by listening to the broker from the same topic in Telegraf.
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Predictive Maintenance Architecture
Details
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Telegraf: High Qualified Server
Agent
As a deamonset for collecting robot data from Broker(directed from PLC)
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
10
Telegraf: High Qualified
Server Agent
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
Configuration
# Configuration for telegraf agent


[agent]


interval = "1s"


metric_batch_size = 1000


metric_buffer_limit = 10000


collection_jitter = "0s"


flush_interval = "5s"


flush_jitter = "0s“


precision = ""


debug = true
# Configuration for sending metrics to
InfluxD
B

[[outputs.influxdb]]
urls = ["http://ourdomain:8086"]
database = "telegraf“
skip_database_creation = true
## HTTP User-Agent
user_agent = "telegraf"
[[inputs.mqtt_consumer]]
servers = ["tcp://ourIP:1883"]
# MQTT QoS, must be 0, 1, or 2
name_override = "rpmOvm1"
qos = 0
connection_timeout = "70s"
## Topics to subscribe to
topics = [ "SmartFactory0090/RPM" ]
#topic_tag="SmartFactory0090/
RPM"
persistent_session = false
client_id = ""
data_format = "json“
#[inputs.mqtt_consumer.tags]
# destinationdb ="telegraf"
tag_keys=[
"LineName",
"ModuleName",
"StationName",
"RobotName",
"RobotType",
"EditDate"
]
Telegraf as a deamonset for collecting robot data from Broker
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
The data we collect
EditDate LineName ModuleName RobotID RobotName RobotType StationName host topic
-------- -------- ---------- ------- --------- --------- ----------- ---- -----
2021-10-04T10:41:45.593Z OM1 Unload 2183201 PickMold KR10_R900_2 ST1_Mold ourHost.com.tr SmartFactory0090/RPM
2021-10-04T10:41:30.792Z OM1 Unload 2183205 CellUnload
KR10_R1100_SIX
X ST6_CellUnl ourHost.com.tr SmartFactory0090/RPM
2021-10-04T10:41:27.693Z OM1 Unload 2183204 Transfer G10_851SR ST4_Transfer ourHost.com.tr SmartFactory0090/RPM
Fields
Tags
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
The next steps
We have already configured these two
technologies in order to predict our Robot’s
breakdown times.


We have 1-Click ML Architecture with Kapacitor
on Chronograf and still trying to improve our
TICK-Stack knowledge for using the same stack
in other fields like sensor data.
© 2021  InfluxData Inc. All Rights Reserved.
© 2021  InfluxData Inc. All Rights Reserved.
References
• https://www.support-omron.fr/telechargements/documentations/2019-03-28%20-%2009-14-20%20-%201454888610/MQTT_library_revE.pdf
• https://www.support-omron.fr/telechargements/documentations/2019-03-28%20-%2009-14-20%20-%201422177077/JSON_library_revE.pdf
• https://assets.omron.eu/downloads/manual/en/w501_nx_nj-series_cpu_unit_software_users_manual_en.pdf
• https://www.kuka.com/tr-tr/%C3%BCr%C3%BCnler/robot-sistemleri/end%C3%BCstriyel-robot/kr-agilus
• https://www.ethercat.org/default.htm
• https://www.kuka.com/tr-tr/%C3%BCr%C3%BCnler/robot-sistemleri/robot-kontrol-%C3%BCniteleri/kr-c4
© 2021  InfluxData Inc. All Rights Reserved.
Questions?
© 2021  InfluxData Inc. All Rights Reserved.
Thank You
© 2021  InfluxData Inc. All Rights Reserved.

Más contenido relacionado

La actualidad más candente

Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...
Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...
Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...
InfluxData
 

La actualidad más candente (20)

How to Create a Modern IIoT Monitoring Solution On iOS Using Swift, MQTT and ...
How to Create a Modern IIoT Monitoring Solution On iOS Using Swift, MQTT and ...How to Create a Modern IIoT Monitoring Solution On iOS Using Swift, MQTT and ...
How to Create a Modern IIoT Monitoring Solution On iOS Using Swift, MQTT and ...
 
Andy Charlton [InfluxData] | Managing Your Dashboards, Tasks and Alerts Made ...
Andy Charlton [InfluxData] | Managing Your Dashboards, Tasks and Alerts Made ...Andy Charlton [InfluxData] | Managing Your Dashboards, Tasks and Alerts Made ...
Andy Charlton [InfluxData] | Managing Your Dashboards, Tasks and Alerts Made ...
 
Tobias Braun [Herrenknecht AG] | Going Underground with InfluxDB | InfluxDays...
Tobias Braun [Herrenknecht AG] | Going Underground with InfluxDB | InfluxDays...Tobias Braun [Herrenknecht AG] | Going Underground with InfluxDB | InfluxDays...
Tobias Braun [Herrenknecht AG] | Going Underground with InfluxDB | InfluxDays...
 
Russ Savage [Ngrok] | InfluxDB QuickStart | InfluxDays NA 2021
Russ Savage [Ngrok] | InfluxDB QuickStart | InfluxDays NA 2021Russ Savage [Ngrok] | InfluxDB QuickStart | InfluxDays NA 2021
Russ Savage [Ngrok] | InfluxDB QuickStart | InfluxDays NA 2021
 
InfluxDB + Telegraf Operator: Easy Kubernetes Monitoring
InfluxDB + Telegraf Operator: Easy Kubernetes MonitoringInfluxDB + Telegraf Operator: Easy Kubernetes Monitoring
InfluxDB + Telegraf Operator: Easy Kubernetes Monitoring
 
Brian Gilmore [InfluxData] | InfluxDB in an IoT Application Architecture | In...
Brian Gilmore [InfluxData] | InfluxDB in an IoT Application Architecture | In...Brian Gilmore [InfluxData] | InfluxDB in an IoT Application Architecture | In...
Brian Gilmore [InfluxData] | InfluxDB in an IoT Application Architecture | In...
 
Tim Hall and Ryan Betts [InfluxData] | InfluxDB Roadmap and Engineering Updat...
Tim Hall and Ryan Betts [InfluxData] | InfluxDB Roadmap and Engineering Updat...Tim Hall and Ryan Betts [InfluxData] | InfluxDB Roadmap and Engineering Updat...
Tim Hall and Ryan Betts [InfluxData] | InfluxDB Roadmap and Engineering Updat...
 
Scott Anderson [InfluxData] | Flux Alerts and Notifications | InfluxDays NA 2021
Scott Anderson [InfluxData] | Flux Alerts and Notifications | InfluxDays NA 2021Scott Anderson [InfluxData] | Flux Alerts and Notifications | InfluxDays NA 2021
Scott Anderson [InfluxData] | Flux Alerts and Notifications | InfluxDays NA 2021
 
Jess Ingrassellino [InfluxData] | How to Get Data Into InfluxDB | InfluxDays ...
Jess Ingrassellino [InfluxData] | How to Get Data Into InfluxDB | InfluxDays ...Jess Ingrassellino [InfluxData] | How to Get Data Into InfluxDB | InfluxDays ...
Jess Ingrassellino [InfluxData] | How to Get Data Into InfluxDB | InfluxDays ...
 
Timothy Spann [StreamNative] | Using FLaNK with InfluxDB for EdgeAI IoT at Sc...
Timothy Spann [StreamNative] | Using FLaNK with InfluxDB for EdgeAI IoT at Sc...Timothy Spann [StreamNative] | Using FLaNK with InfluxDB for EdgeAI IoT at Sc...
Timothy Spann [StreamNative] | Using FLaNK with InfluxDB for EdgeAI IoT at Sc...
 
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
 
Paul Dix [InfluxData] | InfluxDays Opening Keynote | InfluxDays EMEA 2021
Paul Dix [InfluxData] | InfluxDays Opening Keynote | InfluxDays EMEA 2021Paul Dix [InfluxData] | InfluxDays Opening Keynote | InfluxDays EMEA 2021
Paul Dix [InfluxData] | InfluxDays Opening Keynote | InfluxDays EMEA 2021
 
InfluxDB + Kepware: Start Monitoring Industrial Data Quickly
InfluxDB + Kepware: Start Monitoring Industrial Data QuicklyInfluxDB + Kepware: Start Monitoring Industrial Data Quickly
InfluxDB + Kepware: Start Monitoring Industrial Data Quickly
 
Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...
Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...
Three Ways InfluxDB Enables You to Use Time Series Data Across Your Entire En...
 
Monitor Kubernetes in Rancher using InfluxData
Monitor Kubernetes in Rancher using InfluxDataMonitor Kubernetes in Rancher using InfluxData
Monitor Kubernetes in Rancher using InfluxData
 
Virtual training intro to InfluxDB - June 2021
Virtual training  intro to InfluxDB  - June 2021Virtual training  intro to InfluxDB  - June 2021
Virtual training intro to InfluxDB - June 2021
 
Setting Up InfluxDB for IoT by David G Simmons
Setting Up InfluxDB for IoT by David G SimmonsSetting Up InfluxDB for IoT by David G Simmons
Setting Up InfluxDB for IoT by David G Simmons
 
Time Series Tech Stack for the IoT Edge
Time Series Tech Stack for the IoT EdgeTime Series Tech Stack for the IoT Edge
Time Series Tech Stack for the IoT Edge
 
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
 
Tim Hall [InfluxData] | InfluxDays Keynote: InfluxDB Roadmap | InfluxDays NA ...
Tim Hall [InfluxData] | InfluxDays Keynote: InfluxDB Roadmap | InfluxDays NA ...Tim Hall [InfluxData] | InfluxDays Keynote: InfluxDB Roadmap | InfluxDays NA ...
Tim Hall [InfluxData] | InfluxDays Keynote: InfluxDB Roadmap | InfluxDays NA ...
 

Similar a Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Machine Data Collection | InfluxDays NA 2021

PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...
PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...
PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...
SANTIAGO PABLO ALBERTO
 
MQQT nd COAP.pptx
MQQT nd COAP.pptxMQQT nd COAP.pptx
MQQT nd COAP.pptx
Rajkk5
 
Alu 9900 wng_nbi_v03
Alu 9900 wng_nbi_v03Alu 9900 wng_nbi_v03
Alu 9900 wng_nbi_v03
navaidkhan
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
Quantum Composers
 

Similar a Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Machine Data Collection | InfluxDays NA 2021 (20)

PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...
PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...
PLC: cómo usar el tia-portal para configurar un PLC siemens y el mgate-5103 t...
 
Himanth_Resume
Himanth_ResumeHimanth_Resume
Himanth_Resume
 
Pradeep_Embedded
Pradeep_EmbeddedPradeep_Embedded
Pradeep_Embedded
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
 
MQQT nd COAP.pptx
MQQT nd COAP.pptxMQQT nd COAP.pptx
MQQT nd COAP.pptx
 
Combitronic: Multi-axis Control with Animatics SmartMotors
Combitronic: Multi-axis Control with Animatics SmartMotorsCombitronic: Multi-axis Control with Animatics SmartMotors
Combitronic: Multi-axis Control with Animatics SmartMotors
 
Internet of things(iot)
Internet of things(iot)Internet of things(iot)
Internet of things(iot)
 
Built on Pulsar: A Commercial Consent Management System for 80 Million Citizens
Built on Pulsar: A Commercial Consent Management System for 80 Million CitizensBuilt on Pulsar: A Commercial Consent Management System for 80 Million Citizens
Built on Pulsar: A Commercial Consent Management System for 80 Million Citizens
 
Alu 9900 wng_nbi_v03
Alu 9900 wng_nbi_v03Alu 9900 wng_nbi_v03
Alu 9900 wng_nbi_v03
 
InduSoft Web Studio and MQTT for Internet of Things Applications
InduSoft Web Studio and MQTT for Internet of Things ApplicationsInduSoft Web Studio and MQTT for Internet of Things Applications
InduSoft Web Studio and MQTT for Internet of Things Applications
 
Android Control robot using 8051 microcontroler
Android Control robot using 8051 microcontrolerAndroid Control robot using 8051 microcontroler
Android Control robot using 8051 microcontroler
 
Measuring the Performance and Energy Cost of Cryptography in IoT Devices
Measuring the Performance and Energy Cost of Cryptography in IoT DevicesMeasuring the Performance and Energy Cost of Cryptography in IoT Devices
Measuring the Performance and Energy Cost of Cryptography in IoT Devices
 
CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
 
Claroty Support L1 - Architecture components and terms.pptx
Claroty Support L1 - Architecture components and terms.pptxClaroty Support L1 - Architecture components and terms.pptx
Claroty Support L1 - Architecture components and terms.pptx
 
IPlant_LEC
IPlant_LECIPlant_LEC
IPlant_LEC
 
TTN (The Things Network) Dallas - June 29, 2017
TTN (The Things Network) Dallas - June 29, 2017TTN (The Things Network) Dallas - June 29, 2017
TTN (The Things Network) Dallas - June 29, 2017
 
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
 
Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021
 

Más de InfluxData

How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
InfluxData
 
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...How Delft University's Engineering Students Make Their EV Formula-Style Race ...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
InfluxData
 
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
InfluxData
 
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
InfluxData
 

Más de InfluxData (20)

Announcing InfluxDB Clustered
Announcing InfluxDB ClusteredAnnouncing InfluxDB Clustered
Announcing InfluxDB Clustered
 
Best Practices for Leveraging the Apache Arrow Ecosystem
Best Practices for Leveraging the Apache Arrow EcosystemBest Practices for Leveraging the Apache Arrow Ecosystem
Best Practices for Leveraging the Apache Arrow Ecosystem
 
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
 
Power Your Predictive Analytics with InfluxDB
Power Your Predictive Analytics with InfluxDBPower Your Predictive Analytics with InfluxDB
Power Your Predictive Analytics with InfluxDB
 
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
 
Build an Edge-to-Cloud Solution with the MING Stack
Build an Edge-to-Cloud Solution with the MING StackBuild an Edge-to-Cloud Solution with the MING Stack
Build an Edge-to-Cloud Solution with the MING Stack
 
Meet the Founders: An Open Discussion About Rewriting Using Rust
Meet the Founders: An Open Discussion About Rewriting Using RustMeet the Founders: An Open Discussion About Rewriting Using Rust
Meet the Founders: An Open Discussion About Rewriting Using Rust
 
Introducing InfluxDB Cloud Dedicated
Introducing InfluxDB Cloud DedicatedIntroducing InfluxDB Cloud Dedicated
Introducing InfluxDB Cloud Dedicated
 
Gain Better Observability with OpenTelemetry and InfluxDB
Gain Better Observability with OpenTelemetry and InfluxDB Gain Better Observability with OpenTelemetry and InfluxDB
Gain Better Observability with OpenTelemetry and InfluxDB
 
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
 
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...How Delft University's Engineering Students Make Their EV Formula-Style Race ...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
 
Introducing InfluxDB’s New Time Series Database Storage Engine
Introducing InfluxDB’s New Time Series Database Storage EngineIntroducing InfluxDB’s New Time Series Database Storage Engine
Introducing InfluxDB’s New Time Series Database Storage Engine
 
Start Automating InfluxDB Deployments at the Edge with balena
Start Automating InfluxDB Deployments at the Edge with balena Start Automating InfluxDB Deployments at the Edge with balena
Start Automating InfluxDB Deployments at the Edge with balena
 
Understanding InfluxDB’s New Storage Engine
Understanding InfluxDB’s New Storage EngineUnderstanding InfluxDB’s New Storage Engine
Understanding InfluxDB’s New Storage Engine
 
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDBStreamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
 
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
 
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
 
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
 
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
 
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
 

Último

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 

Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Machine Data Collection | InfluxDays NA 2021

  • 1. MQTT – 
 Machine Data Collection With TICK-STACK
  • 2. © 2021  InfluxData Inc. All Rights Reserved. Who we are?
  • 3. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Our Data Engineering Architecture
  • 4. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Machine Data Collection with MQTT Architecture The data obtained by the Robot Controller, such as Torque, Temperature & Current, are sent to the PLC with the EtherCAT industrial communication protocol. This data is then sent to the MQTT Broker on the server with the MQTT communication protocol. The sent data is instantly listened by the Telegraf through the MQTT Broker . We have worked with many different types and brands of robots. In this presentation we wanted to share the details of our work with KUKA Industrial Robots. We use OMRON brand as PLC.
  • 5. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Details about Data Collection KUKA Industrial Robots have 6 axes. Therefore, the data we receive is separated on an axis basis. ▶ Each data has two subtypes. Average and Peak Values. The data (Torque, Temperature & Current) received from the Robot is sent to the PLC with the EtherCAT (Industrial Communication Protocol). These data are made meaningful in PLC and transmitted to MQTT Broker in the form of JSON Data Format. Axis No Torque Temperature Current for (i=1; i<=6; i++) Axis Average Value Axis Average Value Axis Average Value Axis Peak Value Axis Peak Value Axis Peak Value
  • 6. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. • On the PLC side, we process and combine the data (Torque, Temperature, Current) we receive from the robot and convert it to JSON format. We publish it to MQTT broker with MQTT protocol . • Omron PLCs are used in our factory. That's why we made this project using Omron PLC’s . • In order to use the MQTT Protocol on the PLC side; First of all, • It is necessary to have an Ethernet card on which the Socket Service Functions of the PLC can be used. Because when using MQTT, it has to open a socket according to the TCP/IP standard and send the data to this socket with a topic . • Omron has created a library to PLC, which includes function blocks for MQTT Protocol and JSON Data Standard. ( A function block is a smart function with its own instances and memories.) Details about Data Collection
  • 7. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Mosquitto, Open Source MQTT Broker, is used as MQTT Broker. By the way, to briefly explain the MQTT Broker ; An MQTT broker is a server that receives all messages from the clients and then routes the messages to the appropriate destination clients. PLC and Telegraf are connected to MQTT Broker as MQTT Client. Here, the Broker acts as a server, making it possible to transfer data between clients . This Broker is installed on a Windows operating system computer. With the installation of this program, that computer turns into a MQTT Broker . The Broker's configuration is set to activate 1 port for up to 5 Robots for optimum data usage (Default 1883) . PLC publishes the data from the determined topic to the Broker. Obtains the data by listening to the broker from the same topic in Telegraf.
  • 8. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Predictive Maintenance Architecture Details
  • 9. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Telegraf: High Qualified Server Agent As a deamonset for collecting robot data from Broker(directed from PLC)
  • 10. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. 10 Telegraf: High Qualified Server Agent
  • 11. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. Configuration # Configuration for telegraf agent [agent] interval = "1s" metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "5s" flush_jitter = "0s“ precision = "" debug = true # Configuration for sending metrics to InfluxD B [[outputs.influxdb]] urls = ["http://ourdomain:8086"] database = "telegraf“ skip_database_creation = true ## HTTP User-Agent user_agent = "telegraf" [[inputs.mqtt_consumer]] servers = ["tcp://ourIP:1883"] # MQTT QoS, must be 0, 1, or 2 name_override = "rpmOvm1" qos = 0 connection_timeout = "70s" ## Topics to subscribe to topics = [ "SmartFactory0090/RPM" ] #topic_tag="SmartFactory0090/ RPM" persistent_session = false client_id = "" data_format = "json“ #[inputs.mqtt_consumer.tags] # destinationdb ="telegraf" tag_keys=[ "LineName", "ModuleName", "StationName", "RobotName", "RobotType", "EditDate" ] Telegraf as a deamonset for collecting robot data from Broker
  • 12. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. The data we collect EditDate LineName ModuleName RobotID RobotName RobotType StationName host topic -------- -------- ---------- ------- --------- --------- ----------- ---- ----- 2021-10-04T10:41:45.593Z OM1 Unload 2183201 PickMold KR10_R900_2 ST1_Mold ourHost.com.tr SmartFactory0090/RPM 2021-10-04T10:41:30.792Z OM1 Unload 2183205 CellUnload KR10_R1100_SIX X ST6_CellUnl ourHost.com.tr SmartFactory0090/RPM 2021-10-04T10:41:27.693Z OM1 Unload 2183204 Transfer G10_851SR ST4_Transfer ourHost.com.tr SmartFactory0090/RPM Fields Tags
  • 13. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. The next steps We have already configured these two technologies in order to predict our Robot’s breakdown times. We have 1-Click ML Architecture with Kapacitor on Chronograf and still trying to improve our TICK-Stack knowledge for using the same stack in other fields like sensor data.
  • 14. © 2021  InfluxData Inc. All Rights Reserved. © 2021  InfluxData Inc. All Rights Reserved. References • https://www.support-omron.fr/telechargements/documentations/2019-03-28%20-%2009-14-20%20-%201454888610/MQTT_library_revE.pdf • https://www.support-omron.fr/telechargements/documentations/2019-03-28%20-%2009-14-20%20-%201422177077/JSON_library_revE.pdf • https://assets.omron.eu/downloads/manual/en/w501_nx_nj-series_cpu_unit_software_users_manual_en.pdf • https://www.kuka.com/tr-tr/%C3%BCr%C3%BCnler/robot-sistemleri/end%C3%BCstriyel-robot/kr-agilus • https://www.ethercat.org/default.htm • https://www.kuka.com/tr-tr/%C3%BCr%C3%BCnler/robot-sistemleri/robot-kontrol-%C3%BCniteleri/kr-c4
  • 15. © 2021  InfluxData Inc. All Rights Reserved. Questions?
  • 16. © 2021  InfluxData Inc. All Rights Reserved. Thank You
  • 17. © 2021  InfluxData Inc. All Rights Reserved.