Poster about Methodology for implementation of Synchronization Strategies for Wireless Sensor Networks

On the occasion of the II edition of the Symposium “Tell us your thesis” organized by the Universidad Politécnica de Madrid I created a poster summary of my thesis.

Both the thesis and the poster are entitled “Methodology for implementation of Synchronization Strategies for Wireless Sensor Networks“.

In the poster I intend to explain the process that every researcher and/or developer must carry out to add synchronization tasks to his Wireless Sensor Network.

180216 Methodology for implementation of Synchronizatoin WSN
Methodology for implementation of Synchronizatoin WSN

First of all it is needed to know what is the objective of the user application in which we want to add temporary synchronization.

Based on the application we will have some requirements to fulfill. That is, each application will have different requirements regarding timing, maximum permissible error regarding temporal precision or accuracy, network topology, message distribution method, battery consumption and life time objectives, hardware resources of different nature and different price, etc.

Since there are many options and possible ways, a methodology is needed that helps the researcher and/or developer to obtain a solution, in order to achieve a time synchronization in their wireless sensor networks, which is adapted to the needs of the application.

The development of this methodology is the objective of this doctoral thesis.

Download the poster with full resolution [PDF 18 MB]

LÁZARO: Development of an innovative ICT system for the detection of architectural barriers and monitoring based on augmented reality

 

LÁZARO is a project carried out alongside Valoriza Servicios a la Dependencia S.L.U., with the objective of developing a system to automatically detect architectural barriers making use of computer vision and augmented reality. It will integrate the detection provided by sensors and images and the display of an augmented reality layer, together with a warning and checking system for the barriers.

In addition to the first objective, the project pursues another important goal, the development of a wireless sensor network to monitor the living conditions of people with special needs, such as elderly or disabled people. Therefore, the system will result in an integral solution for assisted living facilities and residences, although it can be applied to several other environments.

_JFF3543

The project details are as follows:

Title: LÁZARO: Development of an innovative ICT system for the detection of architectural barriers and monitoring based on augmented reality
Duration: 2016-2017
Partners: Valoriza Servicios a la Dependencia S.L.U. and Universidad Politécnica de Madrid
Financing entity: Valoriza Servicios a la Dependencia S.L.U. via CDTI.

Logo CDTI-MINECO con Gill Sans

A WSN-Based Intrusion Alarm System to Improve Safety in Road Work Zones

Title: A WSN-Based Intrusion Alarm System to Improve Safety in Road Work Zones
Authors: Jose Martin, Alba Rozas, and Alvaro Araujo
Published in: Journal of Sensors
Date of Publication: Jun 2016
Digital Object Identifier : 10.1155/2016/7048141
Web: https://www.hindawi.com/journals/js/2016/7048141/

Road traffic accidents are one of the main causes of death and disability worldwide. Workers responsible for maintaining and repairing roadways are especially prone to suffer these events, given their exceptional exposure to traffic. Since these actuations usually coexist with regular traffic, an errant driver can easily intrude the work area and provoke a collision. Some authors have proposed mechanisms aimed at detecting breaches in the work zone perimeter and alerting workers, which are collectively called intrusion alarm systems. However, they have several limitations and have not yet fulfilled the necessities of these scenarios. In this paper, we propose a new intrusion alarm system based on a Wireless Sensor Network (WSN). Our system is comprised of two main elements: vehicle detectors that form a virtual barrier and detect perimeter breaches by means of an ultrasonic beam and individual warning devices that transmit alerts to the workers. All these elements have a wireless communication interface and form a network that covers the whole work area. This network is in charge of transmitting and routing the alarms and coordinates the behavior of the system. We have tested our solution under real conditions with satisfactory results.

TFG: Diseño, desarrollo e implementación de un sistema de adquisición, almacenamiento y presentación de los datos obtenidos de una red de sensores inalámbricos

El objetivo de este Trabajo Fin de Grado es el diseño e implementación un sistema que adquiera, procese y almacene los datos obtenidos de la WSN y los presente a través de un servidor Web que permita consultar datos en tiempo real y en un histórico, así como envío de parámetros de control, con los que configurar la WSN.

El proyecto se basará en una red de sensores inalámbricos desarrollada de forma simultanea en otro Trabajo Fin de Grado, compuesta por dos tipos de nodos, Prometheus y Boucherot. Los nodos Prometheus se encargarán de medir valores como presencia y temperatura, además de estado de sus baterías, mientras que los Boucherot monitorizarán el consumo de todo dispositivo conectado a ellos. Asimismo, los nodos Boucherot también implementan una serie de actuadores que permiten el encendido y apagado de los aparatos conectados a los mismos. Esta red presenta además una serie de comandos que permiten configurar ciertos parámetros de medida de la red y del estado de sus nodos.

Para la implementación del sistema se ha recurrido a distintas herramientas:

  • Desarrollo de script en Python para adquisición, procesado y almacenamiento en base de datos. Así como el envío de comandos de control a la red inalámbrica. Se han empleado los módulos serial, sqlite3 y pynotify.
  • Desarrollo del servidor Web en Node.js, que sirve paginas con información de la red, información de las medidas en tiempo real y en un histórico, con módulos: socket.io, sqlite3, http-auth entre otros.
  • Diseño de las paginas web que se muestran en el cliente basadas en distintos frameworks como: Bootstrap 3, graficas de HighCharts, y tablas con Datatables y jQuery.

A continuación se muestra una breve descripción de la interfaz del sistema con el usuario, que se realiza a través de una serie de paginas web:

DOMOLabo B105_TrealPágina que muestra dinámicamente las medidas en Tiempo Real tomadas por la WSN

DOMOLabo B105_Hist

Página que muestra Histórico de las medidas tomadas por la WSN

Ambas páginas, constan de una serie de gráficas que muestran las medidas tomadas por la WSN. Cada gráfica agrupa a todos los sensores de un tipo y permite seleccionar los nodos que se desean visualizar en la leyenda. Además permite hacer zoom en la gráfica, bien seleccionando sobre ella o bien pulsando alguno de los botones de la esquina superior izquierda de la gráfica. También es posible exportar datos en distintos formatos, .pdf, .png, .svg, etc. gracias al botón situado en la esquina superior derecha.

DOMOLabo B105_Sensores

Página que muestra información y permite el control de la WSN

Esta pagina consta de una tabla principal donde se muestra información de todos los nodos de la red (identificadores, tipos de sensores presentes, localización del sensor y estado de la batería y de sus actuadores). En la parte inferior de la tabla se encuentra un formulario que permite añadir nuevos sensores al sistema.

En la parte superior de la tabla se presenta un conjunto de botones que permiten el envío de una serie de comandos de control a la red (Relé, Configurar el tiempo que un nodo permanece dormido y en estado activo, actuar sobre el relé y/o los leds, etc.). Estos comandos se envían al nodo AP de la red que se encarga de enviarlos al nodo que corresponda.

También se ha implementado una autenticación de usuarios, para el control de acceso a funciones de configuración de la red y del sistema. Para los usuarios no administradores el aspecto es ligeramente diferente al presentado, ya que las funciones de control están desactivadas y no se permite la incorporación de nuevos sensores al sistema. Sin embargo la tabla es visible y se permite como en el caso anterior consultar e imprimir el estado de la red.

Se ha tenido especial interés en implementar un sistema modular, en el cual la caída de un modulo no imposibilite el normal funcionamiento del resto. Escalable, donde se puedan gestionar múltiples peticiones simultaneas de usuarios con distintos dispositivos y necesidades de consulta. Primando también la versatilidad del sistema respecto a la red de la que se adquieran los datos.

El sistema se ha dimensionado ampliamente para soportar una red con mas de 100 sensores y almacenar datos durante varias décadas, con tiempos de medida de 1 minuto para los sensores.

 

Thesis Proposal: Methodology for Implementation of Synchronization Strategies for Wireless Sensor Networks

 

Author: Francisco Tirado-Andrés

Advisor: Alvaro Araujo Pinto

Synopsis:
Wireless Sensor Networks (WSN) are networks composed of a large number of small devices that take measurements, process them, and communicate with other devices coordinating their operations. Time synchronization is necessary for that coordination of actions.

Multiple features characterized a WSN. Some of them are Power Consumption, Cost, Network type, Security, Data throughput, Scalability, etc.

WSNs bring us many benefits over traditional wired networks, but they also add difficulties to counteract its limitations.

The functionality of a WSN is very specific to the problem it solves. It is therefore that no single synchronization method is optimal along all axes. Unnecessary synchronization wastes resources; insufficient synchronization leads to poor application performance.

The requirements that are entailed to the various parameters that define the synchronization protocol will come imposed by the specific application to which it is oriented.

Because, it is not the same an application for a distributed humidity control in a natural park where each sample is collected every half hour and synchronization may deviate seconds without affecting the results, that the conditions required for an application of Wireless Surround Sound System where real-time operations and very small deviations are needed for a proper operation of the system.

But today there is no methodology that helps to design or configuration. Neither with the synchronization protocols nor the general system parameters.

There are many difficulties to be resolved because the synchronization protocol must meet not only the requirements of the application for which is designed, but also the intrinsic demands of WSNs.

One application where the results are very dependent on the accuracy of timing synchronization is Structural Health Monitoring (SHM). A configurable protocol which is able to adapt itself to the requirements of the application and the requirements of the system will be more useful and it will be ready for future applications and requirements.

My intention is to contribute, both during, and at the end of this thesis, with a methodology to guide and help implement synchronization protocols in Wireless Sensor Networks. Always keeping in mind that the synchronization protocol must meet requirements of accuracy and precision at the same time should not interfere with the performance of other tasks in the system. In that way the user will be able to adapt the configuration of the system and the parameters to get a productive WSN.

BackToTheFuture-Synchronization
Movie: Back To the Future. 23’17”