This document provides an overview of new media and communication technology topics including MQTT protocol, securing MQTT communication, Docker vs virtualization, LPWAN technologies like LoRaWAN protocol, and demo setups involving SmartSwarm, Unitronics PLC, and Grafana dashboard. It also discusses OPC UA, workshops on relevant topics, and provides a Q&A.
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Geef Industry 4.0 een boost
1. NEW MEDIA AND COMMUNICATION TECHNOLOGY
IoT Devices and Robotics
Geef Industry 4.0 een boost!
2. NEW MEDIA AND COMMUNICATION TECHNOLOGY
Inhoud
• Wie zijn we?
• MQTT protocol
• Securing MQTT communication
• Docker (containers) vs Virtualisation
• LPWAN technologies
• LoRaWAN Protocol
• Gerealiseerde opstellingen
• SmartSwarm
• Unitronics PLC
• Demo
3. MCT
Wie zijn we
• Tom Decavele (alias TDC) – tom.decavele@howest.be
• Praktijklector MCT
• Trajectverantwoordelijke IoT Infrastructure Engineer
• Henk Bostyn – henk.bostyn@howest.be
• Lector MCT & ENM
• Projectmedewerker VEG-i-TEC
4. MCT
VEG-i-TEC => Industry 4.0
• Oprichting van een proeftuin voor de
groente- en aardappelverwerkende
bedrijven.
• Doel : innoveren en optimaliseren van
processen
• Simuleren van proceslijnen op pilootniveau
• De focus zal liggen :
• Evalueren nieuwe technologie
• Watermanagement (+desinfectie)
• Hygiënisch ontwerp
• Industry 4.0 (Connectivity, AI, …)
11. MCT
MQTT protocol (Message Queuing Telemetry Transport)
• M2M data transfer protocol
• Lightweight
• Bidirectional
• Secure communication
• Payload in any format
• Lots of flexibility
• Popular MQTT brokers:
12. MCT
MQTT topics
• Topics have no begin and end slash
• Topics are case-sensitive
• Topics permits empty spaces
• Topics must contain at least 1 character
• Devices can have subscription to one or more topics
15. MCT
MQTT QoS (Quality of Service)
• Fire and forget : QoS 0
• Delivered at least once : QoS 1
• Delivered exactly one : QoS 2
16. MCT
Securing MQTT communication
• Default: cleartext communication – TCP 1883 = default port for a MQTT broker
• Security options:
• Username and password (TCP 1883) – messages are NOT encrypted! Credentials sent in
the clear …
(My suggestion: Don’t use it …)
• SSL/TLS Certificates (TCP 8883) – messages are encrypted!
• You can combine both, you can opt for:
• local communication: unencrypted, access to the LAN should be secured
(physical/firewall/…)
• remote communication: encrypted – secure bridge communication to central/main broker
17. MCT
Docker (containers) vs Virtualisation
Two big similarities:
• each is designed to provide an isolated environment in which to run an application
• that environment is represented as a binary artifact that can be moved between hosts
Containers virtualize the operating system instead of hardware
• making containers both more portable and more efficient than VMs
19. MCT
LPWAN Techologies: what is LPWAN?
• LPWAN stands for Low Power Wide Area Network
• Electromagnetic signals achieve a better reach when:
• More power
• Low frequency
• Repetition
• Other frequency then the rest of the signals
• Open space and reflections
• Absence of jamming signals
20. MCT
Criteria to choose a LPWAN technology
1. Coverage & range
2. Mobility (mobile or static use)
3. Performance
• Energy/battery usage
• Reaction speed & reliability
• Amount of data
• Connection frequency
4. Two-way communication
5. Battery life
6. Security
7. TCO
22. MCT
LPWAN Overview
Protocol Frequency Latency Duplex mode Downlink speed Network Security Engergy use
LoRa ISM 8 sec Half 290-5470 bit/s No PKE Low
Sigfox ISM High Half 100 bit/s No Simple Low
NB-IoT License 0,25 – 11 sec Half
200kbit/s down
20 kbit/s up Yes SIM Medium
LTE-M License 10 – 15 msec Half 50k-1Mbit/s yes SIM Medium
5G License < 1msec Full
20Gbit/s down
10Gbit/s up Yes SIM High
23. MCT
TTN = The Things Network – www.thethingsnetwork.org
LPWAN Operators
LPWAN operators LoRaWAN Sigfox NB-IoT LTE-M
Belgium Proximus
TTN
Engie M2M Proximus
Orange
Orange
The Netherlands KPN
TTN
Hyrde Networks T-Mobile
Vodafone
KPN
Vodafone
T-Mobile
Luxemburg Proximus
TTN
RMS
France Orange
Bouygues
TTN
Sigfox France Orange
Germany TTN Sigfox Germany T-Mobile
Vodafone
T-Mobile
United Kingdom TTN WND UK
24. MCT
Sub-AgendaLoRaWAN Network Protocol
Low Power Wide Area Network (LPWAN)
• Bidirectional
• Simple Star Network Topology
• Low data rate
• Low cost
• Long battery life
Ideal for:
• Internet of Things (IoT)
• Machine-to-Machine (M2M)
• Industrial Automation
• Low Power Applications
• Battery Operated Sensors
• Smart City
• Smart Meter
• Smart Agriculture
Enables simpler network
architecture:
•No repeaters
•No mesh routing complexity
26. MCT
LoRaWAN Network Protocol
• In Europe on 868MHz band
• Proprietary Spread Spectrum Technology by Semtech – Chirped-FM
• Payload from 59 to 230 bytes, dependant on
• data rate (DR) – DR0 - DR7 – 250bits/s to 50 000bits/s
• spread factor (SF) – SF7-8-9-10-11-12 or FSK
• bandwidth (BW) – 125kHz or 250kHz
27. MCT
LoRaWAN Network Protocol
• Type of end-devices
• Battery Powered – Class A
• Wakes up and sends its data
• Low Latency – Class B
• Periodic wakeup by the gateway
• No Latency – Class C
• Always on device – permanently powered
28. MCT
Sub-AgendaLoRaWAN Network Protocol
At Howest – campus Kortrijk-Weide
• We have our private LoRa Multitech gateway
• January 2020, we will integrate one of our LoRa gateways in TheThingsNetwork (TTN)
End-devices
• AllThingsTalk Rapid LoRa Development kits – Mbili board with a Microchip RN2483 LoRa
module
• Pycom – LoPy4 and FiPy with Pysense board
• Microchip RN-2483-MOTE Kit
• Multitech mDot modules
36. MCT
Unitronics
• Powerful multi-function PLC controller that provides
users with advanced communication support,
variety of built-in I/O configurations, and Virtual
HMI.
• Virtual HMI- the PLC stores and runs the program
logic as well as the HMI user application within the
PLC itself. This brings a unique advantage: you
can view and operate your machine, or access
your process via any mobile phone, PC, or remote
display device.
• Main
features: Ethernet/IP, MQTT, SNMP, SQL, Web
Server, FTP, SNMP, and more.
37. MCT
OPC UA (Unified Architecture)
• Platform independent
• Successor of OPC classic
• Leading communication protocol for Industry 4.0
• OPC UA specifications :
38. MCT
Security in OPC UA
• “firewallfriendly” i.e. it can be controlled and steered via standard network techniques.
• Several protocols have been made available
• Binary protocol
• SOAP (Simple Object Access Protocol) with HTTPS
• Encryptions are used to secure the data during transmission
• Use of certificates to authenticate the clients
39. MCT
OPC UA and Industry 4.0
• Leading communication protocol
• OPC UA over TSN
• Time Sensitive Network
• Between PLC’s
• TCP/IP and web protocols
40. MCT
Workshops en nascholing
• Een workshop op maat i.v.m. de volgende topics :
• MQTT (secure)
• Docker
• OPC UC
• LoRa/Sigfox
• Raspberry Pi /ESP32 (prototyping)
43. MCT
Demo
• Unitronics
• OPC UA tonen in Kepware met warmteregeling
• Webserver en setpoint
• Misschien nog met subscribe message.
• MQTT messages tonen in MQTT.fx
Editor's Notes
The end result was that at the end of June 2019 we delivered the 27 Smart Tech & AI bachelors, the very first AI bachelors in Flanders. We now have two choices: AI Engineer, which is a hardcore back-end developer and Smart Tech & AI, which focuses on AI in an Internet of Things environment, incl. industry 4.0.
Influxdb : timeseries database gebruik maken van retention policy en continuous queries.
Cosmos DB => multimodel, scalable, distributed, low latency