RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
Propuesta de Diseño de Red IoT para sensado
de espectro de radiofrecuencia
IoT network design proposal for radio
frequency spectrum sensing
6to Foro de Televisión Digital
LACETEL
MSc. Ing. Yosmany Hernández Sánchez
MSc. Ing. Dreyelian Morejón Betancourt
Noviembre 2018
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
• Development of DTMB monitoring tool based on the
use of a commercial set-top box (STB)
• Monitoring of selected signal parameters at multiple
locations (including isolated places)
• Source of data for analysis of broadcasting network
status and proper actuation
Precedents
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
• Independent and isolated data collection (per site)
• The collected data has a scattered nature, dependent
on operator’s actuation
• Lack of unified and systemic data analysis
Limitations of current approach
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
• Integrate all STB sensors into a monitoring network,
properly centralizing management, data collection,
analysis and actuation
Goal
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
• Connection: The network platform used for STB
connection should be ubiquitous enough to provide
connectivity to every device, every time, no matter its
location
Requirements
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
• Management: control and awareness of network
configuration at any time, propagating up and down
device configuration changes
• Data: collection, analysis and actuation from a systemic
perspective
• Scalability: seamless add new sensors to the network
Requirements
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
What is Internet of Things?
IoT is the concept of connecting any device to the
Internet. Is a massive Machine to Machine (M2M)
network, where are connected sensors, systems and
actuators and uses the Internet as its communication
channel. It is also known as Internet of Everything.
IoT : Introduction
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
• As a network, it requires a protocol to allow the
communication and data interchange among the
different connected devices
• Protocol simplicity is a key factor
IoT : Introduction
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
Message Queue Telemetry Transport (MQTT)
• Based on TCP/IP networks
• Uses a Publish/Subscribe model
• Lightweight protocol, suitable for small devices
• Open protocol specifications with open source
libraries
IoT : MQTT Protocol
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
IoT : MQTT Protocol
Sensor de
temperatura/
Temperature
sensor
Distribuidor/
Broker
Sensor de
humedad/
Humidity sensor
Aplicación/
Application
2
Publica en el
tema (Publish)
house/env
Publica en el
tema (Publish)
house/env
Subscrita al tema
(Subscribed)
house/env
Aplicación/
Application
1
Subscrita al tema
(Subscribed)
house/security
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
IoT : MQTT Protocol Broker
• Central communication point of MQTT network
• Uses topics as the message routing paths
• Dispatches all messages between senders and
rightful receivers
• Provides buffering of messages for temporary
disconnected clients
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
IoT : MQTT Protocol Broker
• Globally available service providers
Amazon, Azure (Microsoft), Baidu, Eclipse, Google
• Locally implemented service providers
Eclipse Mosquitto MQTT Broker, available for main
operating system platforms (Windows, Linux,
MacOS)
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
IoT : MQTT Protocol Topics
• Simple text string than can have hierarchical levels
through the use of slash (/) separators. Examples:
house/environment
• Allows the use of wildcards to cover a group of topics
based on patterns, e.g. house/+/temp which includes
house/kitchen/temp and house/bathroom/temp
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
IoT : MQTT Protocol Clients
• Also known as “things”
• Publish information to the broker through specific
topics (e.g. temperature sensors, object trackers, etc.)
• Simplest element inside the IoT network
• Open source MQTT libraries available in main
programming languages (C/C++/Java/LUA/…)
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
IoT : MQTT Protocol Clients
• Eclipse PAHO MQTT client library
Available in C/C++/Java/JavaScript/LUA/Python/…
Suitable for devices from microcontrollers through
high performance computers
Open source (available at http://eclipse.org/paho)
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
Network Proposal
RF sensor (STB)
Location 1
(Eclipse PAHO)
Mosquitto
MQTT Broker
(Server)
RF sensor (STB)
Location 2
(Eclipse PAHO)
Connects through
Cellphone
network
Web
Analysis
Tool
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
Current development status
• Adaptation of the RF sensor according to the project
requirements (IoT)
• Inclusion of 2G/3G cellular modem
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
Current development status
• Development of the web management system (UI,
DB, Statistic processing)
• Implementation of Mosquitto broker into OpenWRT
enabled router (testing)
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
www.lacetel.cu
RESEARCH AND DEVELOPMENT TELECOMMUNICATIONS INSTITUTEOrder “Carlos J. Finlay”
Propuesta de Diseño de Red IoT para sensado
de espectro de radiofrecuencia
IoT network design proposal for radio
frequency spectrum sensing
6to Foro de Televisión Digital
LACETEL
MSc. Ing. Yosmany Hernández Sánchez
MSc. Ing. Dreyelian Morejón Betancourt
Noviembre 2018