Next Article in Journal
Collagenase Biosensor Based on the Degradation of Peptide Cross-Linked Poly(Ethylene Glycol) Hydrogel Films
Previous Article in Journal
Enabling Citizen Science with A Crowdfunded and Field Validated Smart Air Quality Monitor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

An Open-Source Smart Sensor Architecture for Edge Computing in IoT Applications †

1
Unit of Computational Systems and Bioinformatics, Department of Engineering, Campus Bio-Medico University of Rome, Via Álvaro del Portillo, 21, 00128 Rome, Italy
2
Unit of Electronics for Sensor Systems, Department of Engineering, Campus Bio-Medico University of Rome, Via Álvaro del Portillo, 21, 00128 Rome, Italy
3
Department of Engineering, Campus Bio-Medico University of Rome, Via Álvaro del Portillo, 21, 00128 Rome, Italy
*
Author to whom correspondence should be addressed.
Presented at the Eurosensors 2018 Conference, Graz, Austria, 9–12 September 2018.
Proceedings 2018, 2(13), 955; https://doi.org/10.3390/proceedings2130955
Published: 30 November 2018
(This article belongs to the Proceedings of EUROSENSORS 2018)

Abstract

:
Smart sensors are sensing devices that include computational and communication functionalities. In this work we present a reference model aimed at simplifying the implementation of smart sensors and their integration in IoT applications. The proposed model is micro-controller agnostic and it is viable in different scenarios ranging from the management of a single analog sensor to the orchestration of a heterogeneous array of sensors. The model is open-source and the implementation is available online as reference for the development of custom smart sensors. The evaluation of our framework shows that it can be implemented with limited overhead.

1. Introduction

Sensors, communication and computational technologies are boosting the development and diffusion of new and innovative services. The automotive, smart-homes, smart-wearables industries are the sectors where the impact and exploitation of such technologies is particular evident. Smart sensors are sensing devices that include computational and communication functionalities. Computation functionalities are exploited in the management of simple or complex measurement strategies on top of the sensing technologies, usually analog transducers or trivial digital sensors wrapping an analog transducer. In addition to computation functionalities, the communication functionalities that a growing number of sensors implement, allow to remotely configure and collected data from the sensors in the context, for instance, of IoT applications [1]. The architecture of COTS sensors is manufacturer specific and, although usually built on top of reprogrammable logic, the provided systems are static and seldom upgradable.
In this work we propose a flexible software-based smart sensor architecture that supports a wide variety of smart sensor devices. The proposed architecture supports both analog and digital sensors, single and array of even synchronized sensors, passive and active sensors. The model is upgradable by-design, enabling to change the behavior of the sensor on the basis of application requirements. An implementation of the proposed model is presented [2] with a performance assessment. The work organization is the following. Section 2 reports the state of the art on smart sensors implementing a model closely related to the one proposed in this paper, whereas Section 3 presents the model and its modules. Section 4 focuses on a specific implementation of the architecture that covers a typical scenario of interest and analyzes obtained performance. Eventually, Section 5 ends the paper summarizing obtained results and future directions.

2. Related Work

The literature is full of examples showing the application of smart sensor technologies in a wide variety of scenarios. Home automation, [3], is probably the field with the majority of examples. Smart refrigerators [4], intelligent ovens [5] and smart thermostats [6] are just few of them. But the agriculture and the food [7], the automotive [8] and the wearable [9] industries are other sectors showing a similar trend, with the growing application of smart sensors and the development of new application paradigms based on them.
The availability of programmable COTS systems is helping the diffusion of smart sensing technologies, enabling developers to easily move from ideas to prototypes, from lab experiments to the production of commercial products. Examples are [10], that presents a smart voltage and current monitoring system based on ATMEG328 micro-controller, and [11] that proposes and analyzes the implementation of a compact smart resistive sensor based on a ATxmega32A4. In [12], Nhivekar and Mudholker present an embedded system for data logging and remote monitoring, whereas in [13] Mallick and Patro present a smart sensor for photoplethysmography monitoring. In all the considered cases the ATmega328 micro-controller is used. Other examples based on a different micro-controller technology, such as the STMicroelectronics STM32 or the Nordic nRF51822, are also present into the literature.
All the literature examples implement devices that deal with the sensing process exploiting the computational and communication capabilities of a programmable logic. What differentiate our work from the literature is that the proposed architecture aims at being general enough to be applicable in almost all the scenarios in which a smart sensor has to be developed. Moreover, the proposed model decouples completely the internal logic of the smart sensor from the transducer and the system controlling the smart sensor. For systems adopting our model, this simplifies the introduction of updates in the measuring algorithm or in the transducer. A thorough description of the proposed model in the specific context of eHealth applications can be found in [14].

3. Smart Sensor Architecture

The considered architecture targets programmable hardware systems equipped with GPIO ports, serial and wireless communication interfaces. Examples of system that fit the target architecture are the AVR ATmega328, the Broadcom BCM2835, the ST STM32, and Nordic nRF51822. The architecture consists of three modules: (i) the Sensor Interface Module (SIM), (ii) the Communication Module (CM) and (iii) the Measuring Engine Module (MEM). Each module provides specific functionalities and interacts with the other modules following the model presented in Figure 1. The SIM is sensor/transducer specific and provides a general interface for the management of both analog and digital sensors. The MEM is the subsystem that implements the measurement logic of the sensor system. The functionalities provided by the MEM vary on the basis of the desired behavior of the sensor and may range from simple measurement scaling to the storage of several measurements and the computation of a summary of them or the application of complex models on the time series of stored values (edge computing model). Eventually, the CM is the module that manages the communication between the Smart Sensor system and external devices.

4. Smart Sensor with Analog Probing Transducer

In this paper we consider a smart sensor that uses a probe technology for sensing a liquid substance. In particular we consider a system using cyclic voltammetry liquid sensors as those considered in [15]. In this case, the data expected by the Smart Sensor is an array of couples, each representing an applied voltage and the corresponding measured current. The evolution in time of applied voltages is a design choice that we do not consider here.
Figure 2 shows how the proposed architecture can be configured to support this typology of sensors. In the considered implementation, the MEM is in charge of performing a given number of cyclic measurements, store the collected data and, as soon as the number of desired cycles is completed, inform an external driving device that the data is ready. The external device can issue then a read message to ask for the collected vector. It is worth noting that the proposed model is just one of the possible implementations. Indeed, another interesting implementation can include in the MEM the functionalities that are usually applied on the collected vectors such as the extraction of features and the identification of a proper classification outcome.
The proposed model has been implemented and we performed an evaluation based on code profiling [16], in order to assess the time spent in each module of the architecture and compare the performance with those of a monolithic implementation. The evaluation aimed at quantifying the overhead of the proposed architecture. We ran 100 measurement trials, and, in each trial, we performed a complete cycle of measurements. The measured software overhead was negligible with a growth of the CPU busy time not greater than 1%.

5. Conclusions

In the paper we present a general framework for the implementation of Smart Sensors and we show its application on a scenario of interest. An implementation is presented too along with a performance assessment showing that our model can be implemented with a negligible impact on the performance of the smart sensor system.

Author Contributions

L.V., G.P. and M.S. (Marco Santonico) conceived and designed the model of the smart sensor; E.C. and M.S. (Marco Sabatini) implemented the prototype and performed validation and the performance evaluation tests. M.S. (Marco Sabatini) is responsible for the open-source implementation maintenance. L.V. and M.S. (Marco Sabatini) wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Vollero, L.; Sabatini, M. Performance Assessment of BLE Nano BAN Micro-Infrastructures. In Proceedings of the 2017 IEEE 41st Annual Computer Software and Applications Conference (COMPSAC), Turin, Italy, 4–8 July 2017; Volume 2, pp. 300–303. [Google Scholar]
  2. Sabatini, M.; Vollero, L. Available online: https://github.com/MarcoSaba/ArduinoSmartSensor (accessed on January 2018).
  3. Gunge, V.S.; Yalagi, P.S. Smart Home Automation: A Literature Review. Int. J. Comput. Appl. 2016, 6–10. [Google Scholar]
  4. Rouillard, J. The Pervasive Fridge. A smart computer system against uneaten food loss. In Proceedings of the Seventh International Conference on Systems (ICONS2012), Saint-Gilles, Réunion, 29 February–5 March 2012; pp. 135–140. [Google Scholar]
  5. Li, B.; Hathaipontaluk, P.; Luo, S. Intelligent oven in smart home environment. In Proceedings of the International Conference on Research Challenges in Computer Science, ICRCCS’09, Shanghai, China, 28–29 December 2009; pp. 247–250. [Google Scholar]
  6. Lu, J.; Sookoor, T.; Srinivasan, V.; Gao, G.; Holben, B.; Stankovic, J.; Field, E.; Whitehouse, K. The smart thermostat: Using occupancy sensors to save energy in homes. In Proceedings of the 8th ACM Conference on Embedded Networked Sensor Systems, Zürich, Switzerland, 3–5 November 2010; pp. 211–224. [Google Scholar]
  7. Ruiz-Garcia, L.; Lunadei, L.; Barreiro, P.; Robla, I. A review of wireless sensor technologies and applications in agriculture and food industry: State of the art and current trends. Sensors 2009, 9, 4728–4750. [Google Scholar] [CrossRef] [PubMed]
  8. Drean, E.; Schacher, L.; Bauer, F.; Adolphe, D. A smart sensor for induced stress measurement in automotive textiles. J. Text. Inst. 2007, 98, 523–531. [Google Scholar] [CrossRef]
  9. Pantelopoulos, A.; Bourbakis, N.G. A survey on wearable sensor-based systems for health monitoring and prognosis. IEEE Trans. Syst. Man Cybern. Part C (Appl. Rev.) 2010, 40, 1–12. [Google Scholar] [CrossRef]
  10. Mnati, M.J.; Van den Bossche, A.; Chisab, R.F. A smart voltage and current monitoring system for three phase inverters using an android smartphone application. Sensors 2017, 17, 872. [Google Scholar] [CrossRef] [PubMed]
  11. Czaja, Z. An Implementation of a Compact Smart Resistive Sensor Based on a Microcontroller with an Internal ADC. Metrol. Meas. Syst. 2016, 23, 225–238. [Google Scholar] [CrossRef]
  12. Nhivekar, G.; Mudholker, R. Data logger and remote monitoring system for multiple parameter measurement applications. e-J. Sci. Technol. 2011, 6, 55–62. [Google Scholar]
  13. Mallick, B.; Patro, A.K. Heart rate monitoring system using fingertip through Arduino and processing software. Int. J. Sci. Eng. Technol. Res. (IJSETR) 2016, 5, 84–89. [Google Scholar]
  14. Cordelli, E.; Pennazza, G.; Sabatini, M.; Santonico, M.; Vollero, L. A Smart Sensor Architecture for eHealth Applications. In Proceedings of the 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC), Tokyo, Japan, 23–27 July 2018; pp. 800–804. [Google Scholar]
  15. Santonico, M.; Frezzotti, E.; Incalzi, R.A.; Pedone, C.; Lelli, D.; Zompanti, A.; Grasso, S.; Pennazza, G. Non-invasive monitoring of lower-limb ulcers via exudate fingerprinting using BIONOTE. Sens. Actuators B Chem. 2016, 232, 68–74. [Google Scholar] [CrossRef]
  16. Profiling Arduino Code. Available online: https://www.dudley.nu/arduino_profiling/ (accessed on 5 January 2018).
Figure 1. Simple Smart Sensor Architecture.
Figure 1. Simple Smart Sensor Architecture.
Proceedings 02 00955 g001
Figure 2. Smart Sensor for Cyclic Voltammetry.
Figure 2. Smart Sensor for Cyclic Voltammetry.
Proceedings 02 00955 g002
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Cordelli, E.; Pennazza, G.; Sabatini, M.; Santonico, M.; Vollero, L. An Open-Source Smart Sensor Architecture for Edge Computing in IoT Applications. Proceedings 2018, 2, 955. https://doi.org/10.3390/proceedings2130955

AMA Style

Cordelli E, Pennazza G, Sabatini M, Santonico M, Vollero L. An Open-Source Smart Sensor Architecture for Edge Computing in IoT Applications. Proceedings. 2018; 2(13):955. https://doi.org/10.3390/proceedings2130955

Chicago/Turabian Style

Cordelli, Ermanno, Giorgio Pennazza, Marco Sabatini, Marco Santonico, and Luca Vollero. 2018. "An Open-Source Smart Sensor Architecture for Edge Computing in IoT Applications" Proceedings 2, no. 13: 955. https://doi.org/10.3390/proceedings2130955

APA Style

Cordelli, E., Pennazza, G., Sabatini, M., Santonico, M., & Vollero, L. (2018). An Open-Source Smart Sensor Architecture for Edge Computing in IoT Applications. Proceedings, 2(13), 955. https://doi.org/10.3390/proceedings2130955

Article Metrics

Back to TopTop