Next Article in Journal
A Novel Feature Extraction and Fault Detection Technique for the Intelligent Fault Identification of Water Pump Bearings
Previous Article in Journal
Hybrid Fiber-Optic Sensing Integrating Brillouin Optical Time-Domain Analysis and Fiber Bragg Grating for Long-Range Two-Parameter Measurement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Standard-Based Internet of Things Platform and Data Flow Modeling for Smart Environmental Monitoring

1
Institute of Biotechnology (IBiotec), Federal University of Catalão (UFCAT), Catalão 75705-220, Brazil
2
Graduate Program in Science and Technology (PPGCET), Federal University of Catalão (UFCAT), Catalão 75705-220, Brazil
3
Campus Palmas, Federal Institute of Education, Science and Technology of Tocantins (IFTO), Palmas 77021-090, Brazil
4
Institute for Systems and Computer Engineering, Technology and Science (INESC-TEC), 4200-465 Porto, Portugal
5
Department of Electronic and Computer Engineering, Faculty of Science and Engineering, University of Limerick, V94 T9PX Limerick, Ireland
6
Fraunhofer Portugal AICOS, 4200-135 Porto, Portugal
7
Institute of Informatics (INF), Federal University of Goiás (UFG), Goiânia 74690-900, Brazil
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(12), 4228; https://doi.org/10.3390/s21124228
Submission received: 19 May 2021 / Revised: 8 June 2021 / Accepted: 16 June 2021 / Published: 20 June 2021
(This article belongs to the Section Internet of Things)

Abstract

:
The environment consists of the interaction between the physical, biotic, and anthropic means. As this interaction is dynamic, environmental characteristics tend to change naturally over time, requiring continuous monitoring. In this scenario, the internet of things (IoT), together with traditional sensor networks, allows for the monitoring of various environmental aspects such as air, water, atmospheric, and soil conditions, and sending data to different users and remote applications. This paper proposes a Standard-based Internet of Things Platform and Data Flow Modeling for Smart Environmental Monitoring. The platform consists of an IoT network based on the IEEE 1451 standard which has the network capable application processor (NCAP) node (coordinator) and multiple wireless transducers interface module (WTIM) nodes. A WTIM node consists of one or more transducers, a data transfer interface and a processing unit. Thus, with the developed network, it is possible to collect environmental data at different points within a city landscape, to perform analysis of the communication distance between the WTIM nodes, and monitor the number of bytes transferred according to each network node. In addition, a dynamic model of data flow is proposed where the performance of the NCAP and WTIM nodes are described through state variables, relating directly to the information exchange dynamics between the communicating nodes in the mesh network. The modeling results showed stability in the network. Such stability means that the network has capacity of preserve its flow of information, for a long period of time, without loss frames or packets due to congestion.

1. Introduction

The use of technology for environmental monitoring has become an important tool for the management of public health and the inspection of flora. In addition, such a tool allows studies focusing on climate and micro-climate analyses, and weather forecasting. These studies can provide essential knowledge for a better management of resources and planning in a specific region. Possible areas that can benefit of such knowledge include agriculture, livestock, fish farming, apiculture, among others [1].
Atmospheric processes and factors have been studied by meteorologists and climatologists, respectively, with the focus on weather forecasting and characterization of the climate in macro- and micro-regions [2,3]. The factors of the weather in a region, also called meteorological variables, such as humidity, temperature, precipitation, and wind direction that have been analyzed over decades allow characterization of the climate according to the seasons of the year. This knowledge can be used in the management of resources and for planning in activities such as civil construction and crop growth. This knowledge also becomes important for the analysis of air pollution, its dispersion, concentration and possible interactions of the environment with living beings present in a given place. However, it is difficult to monitor the weather of a specific region for a long period of time to conduct a climate analysis without fully automating the data acquisition process. To narrow this gap, wireless sensors networks have been developed.
A wireless sensor network (WSN) can be defined as a network of devices, capable of measuring aspects of the environment and propagate the information collected through the network. The data are transmitted through the network nodes, possibly via multiple jumps until a master node, using a wireless interfaces. The data collected by a sensor network can be heterogeneous and distributed. In addition, the data are collected for a long time and are stored on a server automatically, which can form large data repositories. In a WSN project, specific factors must be taken into account: fault tolerance, scalability, low cost, low power consumption, programmability, and security. In this case, security regarding aspects such as access control, message integrity, confidentiality and protection against reproduction [4,5].
For the integration of networked devices, the internet of things (IoT) emerged as a new paradigm making objects connected via the Internet. The concept becomes increasingly possible due to the miniaturization of devices and transducers, in addition to the increased data transmission rate over the network. Such features result in a significant increase in the number of objects connected in a network, making them indispensable in people’s lives. The most used technologies for the development of networks based on IoT are radio frequency identification (RFID), WSN, middleware, cloud computing, and IoT application software [6]. IoT-based systems are applied in several areas: smart homes, smart cities, health care, energy management, environmental monitoring, and agriculture. Each application can use a specific protocol for IoT systems, such as hypertext transfer protocol (HTTP), transmission control protocol/user datagram protocol (TCP/UDP), extensible messaging and presence protocol (XMPP), message queuing telemetry transport (MQTT), and message queuing telemetry transport-sensor network (MQTT-SN). A standard that has been adapted to the IoT is the IEEE 1451 standard.
The IEEE 1451 standard provides functionalities, protocols, communication interfaces, and plug-and-play features through transducers electronic data sheet (TEDS). Basically, the IEEE 1451 standard specifies three entities: network capable application processor (NCAP), transducer interface module (TIM), and Client. NCAP is a network gateway that receives data from the external network, processes the data, and forwards the processed data to the internal network based on one of the subcommittees of the IEEE 1451 standard. TIM, is a network module that contains a communication interface with NCAP, sensors/actuators, processing unit, signal conditioning circuit and TEDS. TEDS are the TIM module information stored in a non-volatile memory. The client is the network user or an end device. With the advent of transducer networks, the client entity is defined according to: IEEE 1451.1.1 (TCP/UDP), IEEE 1451.1.2 (HTTP), IEEE 1451.1.3 (web interface), IEEE 1451.1.4 (XML extensible markup language (XMPP)), IEEE 1451.1.5 (simple network management protocol (SMNP)), IEEE 1451.1.6 (MQTT), and IEEE 1451.1.7 (MQTT-SN) [7]. In this context, it is possible to apply the IEEE 1451 standard and the IoT concept to smart transducer networks, increasing the flexibility of devices to access data, performance, insertion of new devices accessing data and decreasing costs [8]. Figure 1 shows the model define by IEEE 1451 for development of transducers network.
This paper proposes a standard-based IoT platform and data flow modeling for smart environmental monitoring employing ZigBee interfaces with the MQTT protocol (IEEE 1451.1.6). Thus, an NCAP/Broker was developed for the integration of the two network models and the collection of data from the WTIM modules over the Internet. The NCAP network node converts the data to the Internet using the publish/subscribe standard. The network was applied in the field for the tests of communication and reading of the data at two weather stations developed with ZigBee transmitters. Thus, it was possible to carry out the network analysis in practice through data collection using the MQTT protocol and the IEEE 1451 standard according to Figure 1.
To validate the proposed network model, it is possible to use theoretical/computational models that analyze the degree of parity between the theoretical model and the experimental model. One of the central issues is the control of network congestion and the study of techniques that are able to prevent its emergence. In general, the control mechanisms take into account techniques that manipulate the data flow between the nodes of the [9] network. One way to model the flow is to consider the network as a dynamic system [10]. Among the various topics that can be addressed, the control of flow congestion has aroused interest. This is due to the fact that congestion control strategies are built through dynamic models whose complexity is not yet fully understood [10,11,12]. Thus, concepts such as phase portrait, stability, fixed point, and bifurcations, widely used in classical dynamic systems, can be applied to analyze the behavior of the data flow in the network [12]. In addition to the development of the NCAP/Broker network node, the contributions of this work are as follows:
  • development of a mesh sensor network based on the IEEE 1451 standard for IoT;
  • data flow analysis of the internal network;
  • analysis of network communication based on the RSSI signal;
  • analysis of packet loss between communication networks; and
  • modeling the network data flow for congestion analysis.
The remainder of this paper is organized as follows. Section 2 discusses related works and highlights the contributions presented in this research. Section 3 shows the network developed, the NCAP, wireless transducer interface module (WTIM), and commands. Section 4 details the wireless sensor network implemented in the field, and Section 5 presents the network data flow modeling for analysis. The last section, Section 6, provides conclusions to the paper.

2. Related Work

The application of IoT networks [13] is increasingly becoming part of the people lives, carrying out the control of complex systems [14], environmental monitoring [15], precision agriculture [16,17], digital farming [18], digital health [19], and smart homes. Several researches have employed IoT networks to collect big data for analysis and complex decision making. In [20], the authors use a multidimensional spatial scan technique to discover household movement patterns, in order to help in the development and planning of public policies. The research in [21] reviews studies of IoT applied to smart cities and sustainable cities, including research aimed at conceptual, analytical, and overarching levels, as well as research on specific technologies and applications. In [22], the big data of of supply chains in manufacturing industries and artificial neural networks are used to identify predictors of sustainable business in emerging economies. In [23], a social-ecological model is developed to understand how ecosystems services drive urban growth. The research in [24] links IoT to Industry 4.0, deriving an empirical formulation to establish a mapping between Industry 4.0 attributes and sustainability goals. For a more detailed overview of smart environmental monitoring IoT-based solutions and platforms, we direct the reader to the work in [25].
In addition to the importance of IoT in providing high-value applications in various areas of knowledge, it is essential that the IoT infrastructure uses open standards in a way that is easily replicable, maintainable, and scalable. Currently, an open standard that complies with these characteristics is IEEE 1451. Several studies have been carried out using the IEEE 1451 standard and IoT systems, as, for example, in [26], where the authors presented a TIM using two communication interfaces. The highway addressable remote transducer (HART)-based module and TIM modules are based on the IEEE 1451 standard. The HART is a hybrid analog/digital industrial automation protocol. The HART-based module was coded using very high speed integrated circuit (VHSIC) hardware description language (VHDL) and implemented using the field programmable gate array (FPGA) to communicate with devices through the use of the universal asynchronous receiver/transmitter (UART) protocol.
In [8], the combination of IoT concepts and the active subcommittees of the IEEE 1451 standard are considered. They also presented an integration of the IEEE 1451 standard using IoT concepts and a new proposal for how the transducer electronic data sheet (TEDS) is referred to as the health electronic data sheet (HEDS). HEDS is an adaptation of TEDS for a health area, making it possible to distribute health assessment data at all levels of a system hierarchy.
The authors of [27] presented the IoT architecture in intelligent environments and a comparison between the technologies used for environmental monitoring. The authors presented technologies and sensors, such as the Arduino UNO, DHT11 sensor, and the ESP8266 wireless transmitter. The study carried out by the authors on intelligent monitoring using IoT facilitates the development of future work by other researchers.
In another work [28], the authors presented a new concept for services critical to IoT defined as critical IoT (CIoT). In more critical services, IoT protocols become vulnerable having to work with a communication prioritization scheme. Thus, a new criticality level (CL) and a security level (SL) are proposed to categorize and prioritize various types of relevant transmission. The authors also describe the use of the NCAP-IEEE 1451 standard, WTIM and TEDS for a mobile cloud computing (MCC) connection solution. In this way, it was possible to present a prioritization scheme involving the indices of CL and SL proposed to solve the problem related to latency tolerant.
In [14,29,30], the authors developed a wireless sensor network based on the Zigbee standard to different environments and performed analyses of performance. For example, the authors of [29] introduced an open-source wireless mesh network (WMN) module that integrated the functions of network discovery, automatic routing control, and transmission scheduling. In [14], a smart grid architecture-based system was developed that used a low-power Zigbee mesh network in response to adaptive traffic on the road. The sensor network was implemented and tested in a real environment. The system demonstrated that is capable of energy savings depending on the variations in daylight hours between summer and winter. In [30], the authors proposed a linear sensor network to deployment at oil and gas pipeline using a custom sensor board accompanied with algorithms to solve network creation, leak interrupt detection, and routing of high-priority messages with reliability while keeping network active. The authors consider the development of the network to be low energy consumption, latency, access to sensors/actuators, and data reliability.
Projects have been developed in the area of IoT using the IEEE 1451 standard, carrying out the monitoring of the sequence of painting and washing tubs [31]. In [32], TIMs were developed using an MSP430F5529 board and a Raspberry Pi as the NCAP. Another Raspberry Pi was used as an MQTT broker based on IEEE 1451.1.6. The author’s analysis was realized based on three transducers: temperature sensor, voltage sensor, and light-emitting diode (LED). The work also presents the description of TEDS and the common characteristics: identification, representation, communication, life cycle, function, and interoperability.
In [33], the development of a semantic sensor web (SSW) as a combination of sensor networks, web services, database, and semantic web technologies for monitoring environmental conditions is shown. The data were collected in the environment, stored in a database, and made available to the software through an application programming interface (API). In order to provide the data obtained by the API, a semantic web was used which created the data interoperability in a system such as resource description framework (RDF), a language used to process metadata, the SPARQL protocol, and RDF query language (SPARQL) which is an integration class between RDF and hypertext preprocessor (PHP).
Several models have been presented in the literature to deal with network congestion. In [10], results on flow stability are presented through the design of congestion controllers, using models of dynamic systems to describe the network. Due to the number of parameters involved in network models, it is common for bifurcations to appear at equilibrium points. In [34], Hopf bifurcation problems are studied in the context of congestion controller design.
In [10], a general multi-link/multi-source model for TCP/random early detection (RED) transfer protocols was proposed and it was demonstrated that the dynamic behavior of the packet flow is strongly influenced by the stability of the TCP/RED protocol. Ensuring a relationship between the stability of the system and the communication delay time between processes, allowing us to conclude that the increase in the delay time generates instability in the protocol.
In the aforementioned presented works, different types of wireless networks were identified and studies were carried out. However, they did not define a new description model for the external network based on the IEEE 1451 standard. Our work has used two models—the HTTP and MQTT protocols—according to Figure 1. In addition to the external network, the developed network presents the signal level between the nodes and the request and response time for each command, storing the data so that the network analysis can be performed. Our proposal also presents the formulation and analysis of the data flow of the developed network, differentiating it from the state of the art.

3. Our Proposal: IEEE 1451 Standard-Based IoT Platform

The IEEE 1451 standard defines two network modules, called NCAP and WTIM, and a set of subcommittees for the definition of the communication interface, protocols, and TEDS [35,36]. The IEEE P1451.1.6 subcommittee specifies the characteristics of the NCAP and the communication with the external network using the MQTT communication protocol. The IEEE 1451.0-2007 standard describes common functions, communication protocols and TEDS, that is, descriptions of the transducers stored in a non-volatile memory in WTIM. The IEEE 1451.5-2007 standard specifies wireless network communication, whether WiFi, ZigBee, or Bluetooth. In this project, the ZigBee interface was used to communicate between NCAP and WTIM for internal network, and to external network MQTT-IEEE 1451.1.6. Figure 2 shows the network model developed for the collection of environmental data and analysis.

3.1. Network Capable Application Processor—NCAP (IEEE 1451.1.6)

The NCAP is a node with local processing capacity, capable of receiving data from an external network and converting the data to the internal network based on the IEEE 1451 standard, thus performing the reading/control of the transducers connected to TIM. For this, the NCAP node has the characteristic of identifying the type of network to which it is connected, thus giving the concept of interoperability, in addition to abstracting information of the type of connected transducer, facilitating the introduction of the plug-and-play operation mode [37].
NCAP was developed with the objective of creating an autonomous and expandable network that can carry out data collection for a long period of time. It has the functionality of discovering WTIM nodes in a plug-and-play way, reading sensors through WTIM nodes at predefined time intervals, storing data, and transmitting to an external network using the MQTT protocol.
The WTIM’s have a logical functionality in which the objective is to receive frames from the NCAP network node, verify that the frame corresponds to the WTIM and, if so, the frame is decoded and the command is carried out. If the command is not for the given WTIM, the frame is forwarded to the next WTIM. For the external network, the MQTT protocol was defined and the Mosquitto server was installed and configured on the NCAP network node. The NCAP protocol manager was developed in Python, making the requests for WTIM’s modules on the internal wireless ZigBee network and forwarding it to the MQTT broker. Thus, in turn, it makes a publication on the external network for forwarding to customers. Thus, the development of NCAP was divided into two levels: hardware and software. Section 3.1.1 presents a hardware and interface configuration, and Section 3.1.2 describes the software.

3.1.1. Hardware and Interfaces

The NCAP was developed using the Raspberry Pi B+ made by the Raspberry Pi Foundation that has a Broadcom BCM2837 64bit ARMv8 Cortex-A53 Quad-Core 1.4 GHz, 1 GB of random access memory (RAM), and the following interfaces: Ethernet, Bluetooth, high-definition multimedia interface (HDMI) output, 4 universal serial bus (USB) ports, a graphics processing unit (GPU) and 40 pins, configured as 28 general purpose input/output (GPIO) pins (shared with serial peripheral interface (SPI), inter-integrated circuit (I2C). The transceiver module used was the XBee Pro S2C, manufactured by Digi International, having 2.4 GHz of frequency band, transmission rate of 250 Kb/s and can reaches a range up to 3200 m of communication distance according to the proprietary specification. The Raspberry and XBee Pro S2C communicate through connecting directly using the receive (Rx), transmission (Tx) from UART, and to turn on the X Bee Pro S2C, were used the pins 3.3 V and GND from the Raspberry Pi [38]. In this work, the security of the transmitted data is performed through the ZigBee standard using the XBee Pro S2C module. ZigBee security in the media access control (MAC) layer uses Encrypted Communication using Symmetric Keys, Frame Integrity through CRC Redundancy Checks and Frame Sequentiality. In addition to MAC layer security, ZigBee has Cryptographic Key Establishment, Key Transport, Frame Protection and Device Management. ZigBee uses 128-bit keys working with 3 types of keys, Network Key (used by all nodes in the network), Link Key (secret session keys, between connected devices) and Master Key (used to generate the key Link) [39].
The XBee Pro S2C modules were configured using the X-CTU software defined as coordinator and router. For the coordinator, the following parameters were changed: “PAN-ID” (definition of PAN ID); “CE”—Coordinator Enable (activated); “DL”—Destination Address Low (0 × FFFF) and “NI”—Node Indetification (Coordinator). For the router: “PAN-ID” (same as the coordinator); “CE”—Coordinator Enable (disabled); “DL” Destination Address Low (zero-(0)) and “NI”—Node-Indetification (WTIM). Thus, the commands are sent to the network nodes with the destination MAC, if the MAC is not from the node that received the command, it forwards to the next node. When the command has the same address as the network node, then is executed and returns with the response command to the coordinator using the coordinator node address or default address: “0 × 0000000000000000”.

3.1.2. NCAP/MQTT Software

For the development of the logical part of the NCAP, the following tools were installed: Maria DB, Mosquitto, and Apache servers. The NCAP manager was developed in the Python language, using a digi.xbee.models package library to make the logical part of the communication between the Raspberry and the X Bee Pro S2C module. For sending data using the MQTT protocol, the paho.mqtt library was used.
When the NCAP module is started, it sends a command on the network to add the WTIM modules. Upon receiving, each the WTIM modules returns the X Bee Pro S2C module ID, storing it in the database. New WTIM modules can be added at any time (plug and play) and, when the NCAP command occurs again, the new WTIMs will also have their IDs added to the database. If the ID is stored in the database, the NCAP sends a TEDS request command using the X Bee Pro S2C module ID; thus, it is possible to identify the WTIM module and perform the recognition of the transducers on the network. Figure 3 shows the flowchart of the NCAP network node and the recognition part of the WTIMs modules.
When the recognition of the WTIMs modules is complete, the NCAP automatically enters the data reading mode according to a predetermined time configured on the network coordinator. When the time is up, the NCAP sends a command to the first WTIM to request the data for each sensor. After that, the next module is verified in the database and forwards the request command. Upon receiving data from the internal network by the broker, the publication is made to customers. In the external network, the sender and the receiver are independent and can receive and send data simultaneously. The broker receives the data according to the predetermined time by the NCAP protocol manager and forwards it via MQTT using the publish according to Figure 2. An important characteristic of the broker is the filtering of messages, which is possible in 3 ways: topic, content, or type. In filtering by topic, the messages are sent in a hierarchical structure using the 8-bit unicode transformation format (UTF8) string in general. In content filtering, the messages are based on a filter language, and by type, messages are sent according to the type or class of the message. In this project, messages were sent using topics according to the following structure: Station _1/ Sensor/Temperature/Minimum, being divided into 4 levels, thus it was possible to define the sensors of each station. Figure 3 shows the flowchart of the NCAP protocol manager.

3.2. Wireless Transducer Interface Module—WTIM

The WTIM has characteristics similar to the NCAP, Raspbian operating system, and communication with the X Bee Pro S2C module is through the UART interface. However, the WTIM has sensors, signal conditioning circuits, and TEDS stored in files. Storage of TEDS files was specified by the name of each TEDS, such as Meta_TEDS.txt, TransducerChannel_TEDS.txt, UserTransducer_TEDS.txt, and Phy_TEDS.txt. The sensor module used was the BME280 that measures pressure, temperature and humidity. The characteristics of the BMP280 sensor are supply voltage of 1.8 V and 5V DC, I2C interface (up to 3.4 MHz), SPI (up to 10 MHz). In addition to the BMP280, the wind direction, wind speed, and rain sensor were used. Since the Raspberry Pi B + does not have an internal analog-to-digital converter (ADC), an external 16-bit ADC was used that communicates with the module using the I2C protocol. Figure 4 shows the WTIM node and Figure 5 presents the schematic of the developed electronic circuit.
The WTIM software is illustrated by the flowchart in Figure 6. The WTIM was developed using the Python language, using the same library for the development of NCAP, and communication with X Bee Pro S2C: digi.xbee.models package. When the WTIM is initialized, the UART interface, the interrupts and communications with sensor using the I2C are initialized. Then, the WTIM waits for an NCAP request. When it receives it, the frame is decapsulated and, then, is checked the command class based on the IEEE 1451 standard. If the class is 0 × 02, the command is for the manipulation of TEDS, if the class is 0 × 03, it checks the function of the command of access to transducers. The TEDS or sensor data is placed into the reply command based on IEEE 1451 standard, encapsulated in a ZigBee frame and devolved to the NCAP.

3.3. Request and Response Commands

The ZigBee and IEEE 1451.5 standards establish rules for communication between the devices envolved. In the ZigBee application layer, more specifically, in the application framework, the data transfer unit, called the API frame, is implemented.
The API frame is the basis of the communication between the devices of the ZigBee mesh network, once all devices communicate through frames. In the IEEE 1451.5 standard, communication between devices is done through IEEE 1451.5 frames. Thus, request and reply frames were implemented, referring to the sensor readings and the TEDS.
For the development of the mesh network using the ZigBee standard and IEEE 1451.5, the frames of both standards were joined. Thus, frames based on the IEEE 1451 standard are encapsulated in ZigBee frames and transmitted over the network. The API frame can contain several structures defined through the Type field. Each type of API frame contains a unique identifier, called the API Identifier ID (API). Through this identifier that the network and application layers recognize the characteristics of a frame sent or received. Two types of API frames were used to management and communication between the devices of the developed mesh network: AT command (0 × 08) and ZigBee transmission request (0 × 10). The “AT Command” frame was used to recognize the MAC ID of the X Bee Pro S2C connected to the Raspberry. The command is implemented on the main node of the network, that is, on the NCAP/Coordinator ZigBee node as shown in the Figure 7. The frame is used, generally, to configure or “read” parameters related to the XBee S2C module connected locally or remotely in the ZigBee mesh network. The generic structure of an “AT Command” frame is illustrated in Figure 7.
The frame request performs the exchange of messages between the devices of the ZigBee mesh network. The objective is to forward the IEEE 1451.5 frames through the data encapsulation regarding the acquisition and response in its data payload.
In the transmission request frame shown in Figure 8, the byte that indicates the type of frame will be equal to 0 × 10 (request). Thus, according to type 0 × 10, bytes 6–13 are assigned to the MAC ID of the target device. Bytes 14–15 represent the short 16-bit address of the target device. Byte 16 corresponds to the broadcast radius of the message. Byte 17 is the transmission option field. Bytes 18–n corresponds to the data load of the frame. This is the field where the IEEE 1451.5 request frame will be stored. Figure 8 illustrates the encapsulation of a response frame. The difference in the structure of the response frame in relation to the allocation of a request frame is in the data payload field (18–n), where the IEEE 1451.5 response frame is stored. The IEEE 1451 command for accessing the transducers has the following structure: ID Channel (2 Bytes), Class (1 Byte), Function (1 Byte), Length (2 Bytes), and Data (N Bytes). The ID Channel defines the transducer channel; the Command Class specifies whether the command function is for access to the transducers, TEDS or, other configuration parameters; the Function specifies the task to be performed and, Length, the field size of data. Class 0 × 03 was used for access to transducers and 0 × 01 for access to TEDS. For Function, parameter 0 × 01 was used to read the transducers and 0 × 02 to read the TEDS. The TEDS tables are specified in the data field, being: 0 × 01-Meta TEDS, 0 × 03-Transducer TEDS, 0 × 0C-User TEDS and 0 × 0D-PHY TEDS.
The WTIM response is made by entering the coordinator’s MAC ID or the standard frame return value, being: “x00 × 00 × 00 × 00 × 00 × 00 × 00 × 00”. The response command defined by the IEEE 1451.0 standard is encapsulated in the ZigBee frame according to Figure 9 and forwarded to NCAP. The first Byte identifies whether the command was successful/failed, where different 0 × 00 means success. The next two Bytes, represents the size of the data field and the remaining Bytes, represents the data field with the command response.
To read the TEDS, the command follows the same model as the request and response for reading the sensors, inserting the IEEE 1451.0 command to read the TEDS in the data field of the ZigBee frame.

4. Mesh Network and System Description

The WTIMs nodes were distributed in different points of the city. Figure 10 shows the map with the distribution of this sensor network nodes and the distance between them. For WTIM_1, an intermediate router was inserted to communicate with NCAP due to the elevation of the soil and the woods. On WTIM_2, the communication was made directly with the NCAP coordinator, however, to improve the communication a 10 meter tower was buid and an X Bee S2C module installed at the top.
The coordinator makes the data available to the external network in two ways: using the HTTP protocol based on the IEEE 1451.1.2 standard and the MQTT, IEEE 1451.1.6 standard. The NCAP node sends reading requests once every 30 minutes through the ZigBee mesh network, receives the readings from WTIM nodes, and stores it in the database. Then, it sends to the client through the MQTT protocol. Thus, the data are visualized at the moment of reading through an MQTT client or through the web pages provided by the Apache server at the coordinator. Figure 11 shows the data received by coordinator to each sensor through to MQTT EXPLORER software.
The reading of the data can be achieved through a web page, in this case, the information is consulted in the database. In addition to the sensor data, received signal strength indication (RSSI) was collected before each request was sent to read the sensor and the time (Request/Response) to read data in the WTIM module. Table 1 shows the results obtained. To obtain the signal level, an AT command was used according to Figure 7. In the data field, the parameter “DB” was assigned.

5. Validation: Network Data Flow Modeling

This section presents an abstract modeling of the developed network. The justification that underlies this methodology lies in the fact that such models are efficient for measuring the flow of data between the components of the communication network. When approaching such a methodology, a central issue is the time delay that arises between us through the communication links. To deal with delay in the data flow, whether it is b i t / s or p a c k e t s / s , several strategies have been reported in the literature, among them, we mention control techniques, routing being one of the most used [9,40]. For these reasons, a better understanding of the nature and mechanisms that are responsible for the delay and how these mechanisms relate to the parameters of the network is important for a safe analysis of the stability of the network.
To proceed with the modeling, we consider the communication links as flow in networks where the bits are transmitted with a certain rate per second. This number is called the link’s transmission capacity. Generally, the link capacity is related to physical parameters of the communication channels, as well as to the interfaces related to it, that is, the data rate that the interface accepts to transmit. Thus, the management of the data flow in the network communication links has relevant effects on packet delay [9].
One of the established ways in the literature [9], to model data flow in the network is through transmission in a single row (multiplexing) with a first-come/first-served policy. In the language of queuing systems, customers arrive, with a random time, to be served by the processor. In the present work, NCAP is the service processor, while WTIMs are customers who arrive in line to be served. The probability distribution of time between successive arrivals and the probability of time in task processing are known.
In the context of the data network, clients represent the data packets transmitted through the communication links by WTIM’S while the server is represented by the data transmission carried out by NCAP. The service time corresponds to the packet transmission time made by NCAP is equal to L C , where L is the length of the packet to be transmitted and C represents the communication capacity of the channel, presented in Figure 12.
The analysis of networks by queuing theory has the disadvantage of knowing in advance the probability distribution associated with the stochastic process that represents the dynamics of the random variables that describe the system. Another approach is to view the flow in the network as a dynamic system. In this direction, the network nodes can be seen as varying states in time that interact with each other through communication links [12,40]. The advantage of using the dynamic systems methodology is that all the concepts, tools and properties of the theory can be applied in the context of network flow. In this sense, a topic of extreme importance is the concept of stability that allows measuring the characteristic of the system in maintaining its operability, that is, maintaining the flow of communication between network nodes even with disturbances in the input signals.
In the literature, the contributions of dynamic systems in the analysis of stability and bifurcations have been shown to be quite intense. In what follows some contributions from recent research will be shown in order to contextualize the present work. Challenges in network research of underwater wireless sensors, reliability problems in transport flow in networks, routing protocols in networks, analysis of the dynamics of underwater sensor network congestion control models can be found at [12,41,42,43,44]. Themes involving stability analysis and bifurcation control can be found at [11,34,45,46,47]. The influence of the delay in network flow stability is found in [12,45,48]. Stability in impulse systems can be found at [49].
As previously mentioned, bifurcation stability issues are important issues to be considered in the data flow in the network, as branches of bifurcations can generate unstable equilibrium points and are responsible for the emergence of limit cycles and overflow, [50]. On the other hand, the presence of delay times can be a source of instability, [12,45,48,51]. To analyze the influence of the delay on the network stability, generally two approaches are considered, namely, the delay time can be known or not. Systems where the delay time is known are very rare to happen. Thus, to determine the delay, analytical methods are applied or sampling based on numerical algorithms based on models is performed. In the present work, the method of numerical algorithms will be applied, which will be done in the next subsection.

5.1. Model Description

In this section, we modeled the network, Figure 10, in an abstract way based on the Figure 12. In this model, WTIM’s and NCAP are represented, respectively, by s i and i = 1 , 2 , 3 ; m 1 , n 1 represent, respectively, the density of information flow given in b i t s / m 3 or p a c k e t s / m 3 ; the communication links with the transfer rate r i , i = 1 , 2 represent the transfer rate given in b i t s / s or p a c k e t s / s ; K , L represent the communication capacity of the links l i , i = 1 , 2 ; the bit loss rate due to proximity penalty between s i , i = 1 , 2 , sensors are denoted by α , β , respectively; θ i , i = 1 , 2 , represent the bit rate sent by the s i sensors, i = 1 , 2 ; from the control point of view, the parameters m , n , μ are considered, representing respectively the loss of bits due to the stack overflow between nodes s 1 and s 3 , the loss of bits between nodes s 2 and s 3 due to stack overflow, μ represents the bit loss rate due to stack overflow at node s 3 . The control of network congestion is given by the following system of differential equations.
x ˙ 1 ( t ) = r 1 x 1 ( 1 x 1 K ) α x 1 x 2 m x 1 x 3 x ˙ 2 ( t ) = r 2 x 2 ( 1 x 2 L ) β x 1 x 2 n x 2 x 3 x ˙ 3 ( t ) = ( m 1 x 1 + n 1 x 2 ) x 3 μ x 3 θ 1 f ( x 1 ( t τ ) ) x 3 θ 2 g ( x 2 ( t τ ) ) x 3 .
It is important to highlight that in the differential equation system, Equation (1), α , β , μ , m , n , θ 1 and θ 2 together with the functions f , g are control parameters being, in the case of f , g used to manage the bit distribution of the s 1 and s 2 sensors.

5.2. Stability Analysis and Hopf Bifurcations

Important properties related to the solutions of Equation (1) can be obtained through the stability analysis of the linearized equations around the equilibrium points. Thus, proceeding to the linearization of Equation (1) we have
x ˙ = Ax + B x ( t τ ) ,
where τ represents the delay time in sending packages from both s 1 and s 2 to s 3 ; in this work, it is assumed that τ is common for both nodes s i , i = 1 , 2 ; A , B R 3 × 3 are arrays given by
A = r 1 x 1 K α x 1 m x 1 β x 2 r 2 x 2 L n x 2 m 1 x 3 + n 1 x 3 0 . ,
B = 0 0 0 0 0 0 θ 1 f ( x 1 ) x 3 θ 2 g ( x 2 ) x 3 0 ,
where the vector x = ( x 1 , x 2 , x 3 ) are the equilibrium points satisfying the following condition:
r 1 K x 1 + α x 2 + m x 3 = r 1 n r 1 K m β x 1 + ( n α m r 2 L ) x 2 = n r 1 m r 2 m 1 x 1 + n 1 x 2 θ 1 f ( x 1 ) θ 2 g ( x 2 ) = μ
Equation (5) can be rewritten as follows:
x 2 = L ( γ 1 x 1 + γ 2 )
m 1 x 1 + n 1 L ( γ 1 x 1 + γ 2 ) μ θ 1 f ( x 1 ) θ 2 g ( L ( γ 1 x 1 + γ 2 ) ) = 0
x 3 = r 1 m 1 x 1 K α m L ( γ 1 x 1 + γ 2 )
where γ 1 and γ 2 are constants given by
γ 1 = ( n r 1 K m β ) K ( m r 2 n α L ) γ 2 = ( m r 2 n r 1 ) ( m r 2 n α L ) .
In Equations (6)–(8), just study the solutions to the Equation (7), as the equilibrium point x = ( x 1 , x 2 , x 3 ) is parameterized in x 1 . The characteristic of Equation (3) is given by
p ( λ , τ ) = λ 3 + b 1 λ 2 + b 2 λ + b 3 + ( b 4 λ + b 5 ) e λ τ
where
b 1 = r 1 x 1 k + r 2 x 2 l b 2 = r 1 r 2 x 1 x 2 k l α β x 1 x 2 + m m 1 x 1 x 3 + n n 1 x 2 x 3 b 3 = m m 1 r 2 x 1 x 2 x 3 L + n n 1 r 1 x 1 x 2 x 3 K α m 1 n x 1 x 2 x 3 β m n 1 x 1 x 2 x 3 b 4 = m θ 1 f ( x 1 ) x 1 x 3 n θ 2 g ( x 2 ) x 2 x 3 b 5 = n r 1 θ 2 g ( x 2 ) x 1 x 2 x 3 k m r 2 θ 1 f ( x 1 ) x 1 x 2 x 3 l + m β θ 2 g ( x 2 ) x 1 x 2 x 3 + n α θ 1 f ( x 1 ) x 1 x 2 x 3 .
In the presented work, the characteristic equation method will be used which, according to the work in [52], consists of the study of the stability of Equation (1) investigating the root distribution region of p ( λ , τ ) = 0 in the complex plane. Note that the introduction of the delay parameter in the Equation (1) makes the stability analysis more complex. While in systems without delay, the number of roots of p ( λ , τ ) | τ = 0 is finite, for the case with τ 0 , the roots of p ( λ , τ ) = 0 , are infinite in number.
However, according to the work in [52], the roots of p ( λ , τ ) = 0 with a positive real part, that is, R e λ ( τ ) such that p ( λ ( τ ) , τ ) = 0 are upper bound and isolated. Furthermore, the roots of the characteristic equation are isolated on the complex plane. We can then say that the quasi-polynomial p ( λ , τ ) given in Equation (9) has a finite number of roots with a positive real part. In particular, the roots of p ( λ , τ ) in any set of the form
λ = x + i y , a x b ,
with a , b R arbitrary real numbers are finite.
In what follows, we will use the Pontryakin theorem to obtain estimates of the network parameters that guarantee the asymptotic stability of Equation (1). For this we consider the following polynomials:
R ( ω , τ ) = R e p ( i ω , τ ) , S ( ω , τ ) = I m p ( i ω , τ ) ,
what according to Equation (9) gives us
R ( ω , τ ) = b 1 ω 2 b 4 ω sin ( ω τ ) + b 5 cos ( ω τ ) , S ( ω , τ ) = ω 3 + b 2 ω + b 4 ω cos ( ω τ ) b 5 sin ( ω τ ) .
According to the Pontryakin criterion the system, Equation (1), is asymptotically stable, if R ( ω ) and S ( ω ) have real, simple, intertwined roots, and the following condition is true for every real ω :
T ( ω , τ ) = R ( ω , τ ) d S d ω ( ω , τ ) d R d ω ( ω , τ ) S ( ω , τ ) > 0 ,
for more details on the concepts covered in the Pontryakin criterion see in [52]. From Equation (13) there are some highlighted points:
  • the function T ( ω , τ ) establishes a relationship between the characteristic roots of the quasi-polynomial, Equation (9), and the system parameters, given by the coefficients b i , i = 1 , , 5 ;
  • from the inequality T ( ω , τ ) > 0 it is possible to define regions of stability according to the equilibrium points, the system parameters and the delay time;
  • the equilibrium points, and consequently the functional relationship T ( ω , τ ) depend on the sampling functions f , g ;
Table 2 shows the equilibrium point convergence for the parameters, m 1 , n 1 , μ , θ i , r i , K, l, α , β , m, n, i = 1 , 2 and sample distribution functions f = sin ( x ) , g = cos ( x ) .
The numerical values of the reference parameters contained in the Table 2 were taken from [40]. The negative equilibrium values shows the system instability, meaning an amount of data above the processing capacity of the devices, in the case of WTIM’s and NCAP. Continuing with the analysis, the next step is determine the parameters b i , i = 1 , , 5 . This is done by replacing the parameters given in the Table 2 in Equation (10), to obtain the Table 3.
Figure 13 represents the profile from T ( ω , τ ) to ω [ 10 , 10 ] and τ [ 0 , 5 ] and the parameter vector b i , i = 1 , , 5 given by the first line of the Table 3. As can be seen, T ( ω , τ ) has positive values which, according to the Pontryagin criterion, assure the stability of the equilibria. Based on this analysis, the Figure 14 shows the performance of nodes s 1 and s 2 (WTIM nodes), with respect to the number of bits per sample unit. The profiles presented show a stabilization of the number of bits per sample unit around 2.2 and 2.3 bits/sample unit for nodes s 1 and s 2 , respectively, while Figure 15 shows a stabilization of the node s 3 (NCAP node) around 15.2 and 15.3 bits/sample unit. Figure 16 shows the performance of the three nodes with respect to the phase plane, in which presents a stable behavior converging to an equilibrium point, compatible with the values found, referring to the equilibrium points shown in the Table 2.

6. Conclusions

In this paper, we presented a mesh sensor network based on the IEEE 1451 standard, where the NCAP node in a plug-and-play manner detects the WTIM nodes, send requests to read the WTIM’s sensors, and routes the sensor data back in the network to the NCAP node that then stores the data. The nodes developed can communicate over long distances, without packet losses. Based on these characteristics, a mesh network can be easily expanded to perform a data acquisition in large areas without modifications in the network. The tests performed proved that the network is feasible for data collection purposes. In a future development, the plan is to insert a range of meteorological sensors in the WTIM’s, analyze power consumption, and to analyze the influence of meteorological conditions and external sign interference on communication. There are similar studies in the literature related to our proposal. However, in this paper the NCAP was implemented using a structured programming in a Raspberry pi B+ to be autonomous, extensible, in which the mesh network was evaluated in a real scenario, analyzing aspects of communication between the nodes. The work developed based on the IEEE 1451.1.2 and IEEE 1451.1.6 standard demonstrated the increased accessibility to the system from the external network side, being possible to be accessed through a web based system and IoT with a Bocker on the NCAP network node.
A dynamic model was also presented to describe the flow of communication between the NCAP and WTIMs. The numerical results confirm the existence of an equilibrium configuration with respect to the shared data flow between the NCAP and the WTIM.

Author Contributions

The research was conducted with different professionals specialized in different areas: (T.F.), professor coordinating the research project, fundraising, methodology, supervision, data collection and sensor network developer. (L.F.), doctoral student, contextualization of the text and part of the development of the sensor network. (A.O.-J.), contextualization of the text, support in the development of the network, data collection and analysis of the sensor network. (W.M.), conceptualization, review the entire manuscript and funding acquisition. (S.S.), development of the network, assistance in the implementation of the network in the field, analysis of the data collected, writing and revision of the text. (M.R. (Marcos Rabelo)), Data curation, formal analysis and revision of the text. (M.R. (Maria Ribeiro)) and (C.S.), responsible for the contextualization of the mathematical part of the text, equating and generating the graphics through the captured data. (I.A.G.), contextualized the text and revised it. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by National Council for Scientific and Technological Development-CNPq, process: 431552/2016-9 and partially funded by Fraunhofer Portugal AICOS. M.R. (Maria Ribeiro) acknowledges Fundação para a Ciência e a Tecnologia (FCT) under scholarship SFRH/BD/138302/2018.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors are grateful to the Digital Systems Laboratory at the Federal University of Catalão—UFCAT, Biotechnology Institute—IBiotec, Computer Science Course and National Council for Scientific and Technological Development—CNPq.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
APIApplication Programming Interface
CIoTCritical IoT
CLCriticality Level
FPGAField Programmable Gate Array
GPIOGeneral Purpose Input/Output
GPUGraphics Processing Unit
HARTHighway Addressable Remote Transducer
HDMIHigh-Definition Multimedia Interface
HTTPHypertext Transfer Protocol
I2CInter-Integrated Circuit
IEEEInstitute of Electrical and Electronic Engineers
IoTInternet of Things
LEDLight Emitting Diode
MACMedia Access Control
MCCMobile Cloud Computing
MQTTMessage Queuing Telemetry Transport
MQTT-SNMessage Queuing Telemetry Transport-Sensor Network
NCAPNetwork Capable Application Processor
PHPHypertext Preprocessor
RAMRandom Access Memory
RDFResource Description Framework
REDRandom Early Detection
RFIDRadio-Frequency Identification
RSSIReceived Signal Strength Indication
SLSecurity Level
SMNPSimple Network Management Protocol
SPARQLSPARQL Protocol and RDF Query Language
SPISerial Peripheral Interface
SSWSemantic Sensor Web
TCP/UDPTransmission Control Protocol/User Datagram Protocol
TEDSTransducers Electronic Data Sheet
UARTUniversal Asynchronous Receiver/Transmitter
USBUniversal Serial Bus
UTF88-bit Unicode Transformation Format
VHDLVHSIC Hardware Description Language
VHSICVery-High-Speed Integrated Circuit
WMNWireless Mesh Network
WSNWireless Sensor Network
WTIMWireless Transducer Interface Module
XMLExtensible Markup Language
XMPPExtensible Messaging and Presence Protocol

References

  1. Moiş, G.D.; Sanislav, T.; Folea, S.C.; Zeadally, S. Performance Evaluation of Energy-Autonomous Sensors Using Power-Harvesting Beacons for Environmental Monitoring in Internet of Things (IoT). Sensors 2018, 18, 1709. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Gupta, G.S.; Quan, V.M. Multi-sensor integrated system for wireless monitoring of greenhouse environment. In Proceedings of the 2018 IEEE Sensors Applications Symposium (SAS), Seoul, Korea, 12–14 March 2018; pp. 1–6. [Google Scholar] [CrossRef]
  3. Gore, R.W.; Deshpande, D.S. An approach for classification of health risks based on air quality levels. In Proceedings of the 2017 1st International Conference on Intelligent Systems and Information Management (ICISIM), Aurangabad, India, 5–6 October 2017; pp. 58–61. [Google Scholar] [CrossRef]
  4. Essa, A.A.; Zhang, X.; Wu, P.; Abuzneid, A. ZigBee network using low power techniques and modified LEACH protocol. In Proceedings of the 2017 IEEE Long Island Systems, Applications and Technology Conference (LISAT), New York, NY, USA, 5 May 2017; pp. 1–5. [Google Scholar] [CrossRef]
  5. Hsueh, C.; Wen, C.; Ouyang, Y. A Secure Scheme Against Power Exhausting Attacks in Hierarchical Wireless Sensor Networks. IEEE Sens. J. 2015, 15, 3590–3602. [Google Scholar] [CrossRef]
  6. Lee, I.; Lee, K. The Internet of Things (IoT): Applications, investments, and challenges for enterprises. Bus. Horiz. 2015, 58, 431–440. [Google Scholar] [CrossRef]
  7. Velez, J.; Trafford, R.; Pierce, M.; Thomson, B.; Jastrzebski, E.; Lau, B. IEEE 1451-1-6: Providing common network services over MQTT. In Proceedings of the 2018 IEEE Sensors Applications Symposium (SAS), Seoul, Korea, 12–14 March 2018; pp. 1–6. [Google Scholar]
  8. Trafford, R.; Shin, S.; Schmalzel, J.L. Provisioning IEEE Smart Transducer Standards (P21451.1) to Include Health Metrics via HEDS. In Proceedings of the 2020 IEEE Sensors Applications Symposium (SAS), Kuala Lumpur, Malaysia, 9–11 March 2020; pp. 1–5. [Google Scholar] [CrossRef]
  9. Bertsekas, D.; Gallager, R. Data Networks; Prentice-Hall International, Ed.; Prentice-Hall International: Hoboken, NJ, USA, 1992. [Google Scholar]
  10. Low, S.H.; Paganini, F.; Wang, J.; Doyle, J.C. Linear stability of TCP/RED and a scalable control. Comput. Netw. 2003, 43, 633–647. [Google Scholar] [CrossRef]
  11. Wang, X.F. Controlling bifurcation and chaos in internet congestion control system. In Proceedings of the IEEE 4th World Congress on Intelligent Control and Automation (Cat. No. 02EX527), Shanghai, China, 10–14 June 2002; Volume 1, pp. 573–576. [Google Scholar]
  12. Dong, T.; Liao, X.; Huang, T. Dynamics of a congestion control model in a wireless access network. Nonlinear Anal. Real World Appl. 2013, 14, 671–683. [Google Scholar] [CrossRef]
  13. Oliveira-Jr, A.; Cardoso, K.; Sousa, F.; Moreira, W. A Lightweight Slice-Based Quality of Service Manager for IoT. IoT 2020, 1, 49–75. [Google Scholar] [CrossRef]
  14. Shahzad, G.; Yang, H.; Ahmad, A.W.; Lee, C. Energy-Efficient Intelligent Street Lighting System Using Traffic-Adaptive Control. IEEE Sens. J. 2016, 16, 5397–5405. [Google Scholar] [CrossRef]
  15. Mois, G.; Folea, S.; Sanislav, T. Analysis of Three IoT-Based Wireless Sensors for Environmental Monitoring. IEEE Trans. Instrum. Meas. 2017, 66, 2056–2064. [Google Scholar] [CrossRef]
  16. García, L.; Parra, L.; Jimenez, J.M.; Lloret, J.; Lorenz, P. IoT-Based Smart Irrigation Systems: An Overview on the Recent Trends on Sensors and IoT Systems for Irrigation in Precision Agriculture. Sensors 2020, 20, 1042. [Google Scholar] [CrossRef] [Green Version]
  17. Deepika, G.; Rajapirian, P. Wireless sensor network in precision agriculture: A survey. In Proceedings of the 2016 International Conference on Emerging Trends in Engineering, Technology and Science (ICETETS), Pudukkottai, India, 24–26 February 2016; pp. 1–4. [Google Scholar]
  18. Oliveira-Jr, A.; Resende, C.; Pereira, A.; Madureira, P.; Gonçalves, J.; Moutinho, R.; Soares, F.; Moreira, W. IoT Sensing Platform as a Driver for Digital Farming in Rural Africa. Sensors 2020, 20, 3511. [Google Scholar] [CrossRef]
  19. Sali, S.; Parvathi, C.S. Integrated wireless instrument for heart rate and body temperature measurement. In Proceedings of the 2nd International Conference for Convergence in Technology (I2CT), Mumbai, India, 7–9 April 2017; pp. 457–463. [Google Scholar]
  20. Pan, H.; Chen, S.; Gao, Y.; Deal, B.; Liu, J. An urban informatics approach to understanding residential mobility in Metro Chicago. Environ. Plan. B Urban Anal. City Sci. 2020, 47, 1456–1473. [Google Scholar] [CrossRef]
  21. Bibri, S.E. The IoT for smart sustainable cities of the future: An analytical framework for sensor-based big data applications for environmental sustainability. Sustain. Cities Soc. 2018, 38, 230–253. [Google Scholar] [CrossRef]
  22. Raut, R.D.; Mangla, S.K.; Narwane, V.S.; Gardas, B.B.; Priyadarshinee, P.; Narkhede, B.E. Linking big data analytics and operational sustainability practices for sustainable business management. J. Clean. Prod. 2019, 224, 10–24. [Google Scholar] [CrossRef]
  23. Pan, H.; Page, J.; Cong, C.; Barthel, S.; Kalantari, Z. How ecosystems services drive urban growth: Integrating nature-based solutions. Anthropocene 2021, 35, 100297. [Google Scholar] [CrossRef]
  24. Tiwari, K.; Khan, M.S. Sustainability accounting and reporting in the industry 4.0. J. Clean. Prod. 2020, 258, 120783. [Google Scholar] [CrossRef]
  25. Srivastava, M.; Kumar, R. Smart Environmental Monitoring Based on IoT: Architecture, Issues, and Challenges. In Advances in Computational Intelligence and Communication Technology; Gao, X.Z., Tiwari, S., Trivedi, M.C., Mishra, K.K., Eds.; Springer: Singapore, 2021; pp. 349–358. [Google Scholar]
  26. Gaşparesc, G.; Papazian, P.; Babata, M. IEEE 1451 compliant smart HART modem. In Proceedings of the 38th International Conference on Telecommunications and Signal Processing (TSP), Prague, Czech Republic, 9–11 July 2015; pp. 294–298. [Google Scholar]
  27. Singh, A.K.; Raj, M.; Sharma, V. Architecture, Issues and Challenges in Monitoring based on IoT for Smarter Environment. In Proceedings of the 2020 Fourth International Conference on Computing Methodologies and Communication (ICCMC), Erode, India, 11–13 March 2020; pp. 142–146. [Google Scholar] [CrossRef]
  28. Wu, C.K.; Tsang, K.F.; Liu, Y.; Zhu, H.; Wang, H.; Wei, Y. Critical Internet of Things: An Interworking Solution to Improve Service Reliability. IEEE Commun. Mag. 2020, 58, 74–79. [Google Scholar] [CrossRef]
  29. Lee, H.; Lin, H. Design and Evaluation of an Open-Source Wireless Mesh Networking Module for Environmental Monitoring. IEEE Sens. J. 2016, 16, 2162–2171. [Google Scholar] [CrossRef]
  30. Ali, S.; Ashraf, A.; Qaisar, S.B.; Afridi, M.K.; Saeed, H.; Rashid, S.; Felemban, E.A.; Sheikh, A.A. SimpliMote: A Wireless Sensor Network Monitoring Platform for Oil and Gas Pipelines. IEEE Syst. J. 2018, 12, 778–789. [Google Scholar] [CrossRef]
  31. Pinto, R.; Pereira, J.; da Rocha, H.; Martin, R.I.; Espírito-Santo, A. A Discussion about the Implementation of a WSN to Industry 4.0 based on the IEEE 1451 Standard. In Proceedings of the 2019 IEEE 17th International Conference on Industrial Informatics (INDIN), Helsinki, Finland, 22–25 July 2019; Volume 1, pp. 1573–1578. [Google Scholar]
  32. Pereira, J.L.D.; da Rocha, H.; Santo, A.E. A Platform for IEEE 1451 Standard’s Education, Development and Validation for Industry 4.0. In Proceedings of the 2020 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Dubrovnik, Croatia, 25–28 May 2020; pp. 1–6. [Google Scholar]
  33. Rasyid, M.U.H.A.; Sayfudin, A.; Basofi, A.; Sudarsono, A. Development of semantic sensor web for monitoring environment conditions. In Proceedings of the 2016 International Seminar on Intelligent Technology and Its Applications (ISITIA), Lombok, Indonesia, 28–30 July 2016; pp. 607–612. [Google Scholar] [CrossRef]
  34. Ding, D.; Qin, X.; Wu, T.; Wang, N.; Liang, D. Hopf bifurcation control of congestion control model in a wireless access network. Neurocomputing 2014, 144, 159–168. [Google Scholar] [CrossRef]
  35. Kumar, A.; Hancke, G. Energy Efficient Environment Monitoring System Based on the IEEE 802.15.4 Standard for Low Cost Requirements. IEEE Sens. J. 2014, 14, 2557–2566. [Google Scholar] [CrossRef] [Green Version]
  36. Kumar, A.; Srivastava, V.; Singh, M.K.; Hancke, G.P. Current Status of the IEEE 1451 Standard-Based Sensor Applications. IEEE Sens. J. 2015, 15, 2505–2513. [Google Scholar] [CrossRef] [Green Version]
  37. IEEE Standards Association. IEEE Standard for a Smart Transducer Interface for Sensors and Actuators—Network Capable Application Processor Information Model; IEEE: Piscataway, NJ, USA, 2000; pp. 1–480. [Google Scholar] [CrossRef]
  38. Li, Y.; Cheng, J.; Wang, X. An Optophone Based on Raspberry Pi and Android Wireless Communication. In Proceedings of the 2020 IEEE International Conference on Advances in Electrical Engineering and Computer Applications (AEECA), Dalian, China, 25–27 August 2020; pp. 952–956. [Google Scholar] [CrossRef]
  39. Romashchenko, V.; Brutscheck, M.; Chmielewski, I. Investigation and Implementation of Robust Wireless Zigbee Based Security System. In Proceedings of the 2018 29th Irish Signals and Systems Conference (ISSC), Belfast, UK, 21–22 June 2018; pp. 1–6. [Google Scholar] [CrossRef]
  40. Dong, T.; Hu, W.; Liao, X. Dynamics of the congestion control model in underwater wireless sensor networks with time delay. Chaos Solitons Fractals 2016, 92, 130–136. [Google Scholar] [CrossRef]
  41. Akyildiz, I.F.; Pompili, D.; Melodia, T. Underwater acoustic sensor networks: Research challenges. Ad Hoc Netw. 2005, 3, 257–279. [Google Scholar] [CrossRef]
  42. Akan, O.; Akyildizi, I. Event-to-sink reliable transport in wireless sensor networks. IEEE/ACM Trans. Netw. 2005, 13, 1003–1016. [Google Scholar] [CrossRef] [Green Version]
  43. Akkaya, K.; Younis, M. A survey on routing protocols for wireless sensor networks. Ad Hoc Netw. 2005, 3, 325–349. [Google Scholar] [CrossRef] [Green Version]
  44. Jiang, J.; Han, G.; Guo, H.; Shu, L.; Rodrigues, J.J. Geographic multipath routing based on geospatial division in duty-cycled underwater wireless sensor networks. J. Netw. Comput. Appl. 2016, 59, 4–13. [Google Scholar] [CrossRef]
  45. Rezaie, B.; Motlagh, M.R.J.; Analoui, M.; Khorsandi, S. Stabilizing fixed points of time-delay systems close to the Hopf bifurcation using a dynamic delayed feedback control method. J. Phys. A Math. Theor. 2009, 42, 395102. [Google Scholar] [CrossRef]
  46. Hong, K.S. Hopf bifurcation control via a dynamic state-feedback control. Phys. Lett. A 2012, 376, 442–446. [Google Scholar] [CrossRef]
  47. Liu, F.; Wang, H.O.; Guan, Z.H. Stability analysis and control of bifurcation in a TCP fluid flow model of wireless networks. In Proceedings of the 10th WCICA, Beijing, China, 6–8 July 2012; pp. 1026–1030. [Google Scholar]
  48. Zhang, S.; Xu, J.; Chung, K.W. On the stability and multi-stability of a TCP/RED congestion control model with state-dependent delay and discontinuous marking function. Commun. Nonlinear Sci. Numer. Simul. 2015, 22, 269–284. [Google Scholar] [CrossRef]
  49. Ruan, S.; Wei, J. On the zeros of transcendental functions with applications to stability of delay differential equations with two delays. Dyn. Contin. Discret. Impuls. Syst. Ser. A 2003, 10, 863–874. [Google Scholar]
  50. Diniz, P.; da Silva, E.; Netto, S. Digital Signal Processing: System Analysis and Design; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  51. Huang, C.; Cao, J.; Alsaedi, M.X.A.; Alsaadi, F.E. Controlling bifurcation in a delayed fractional predator-prey system with incommensurate orders. Appl. Math. Comput. 2017, 293, 293–310. [Google Scholar] [CrossRef]
  52. Hu, H.; Wu, Z. Stability and Hopf bifurcation of four-wheel-steering vehicles involving driver’s delay. Nonlinear Dyn. 2000, 22, 361–374. [Google Scholar] [CrossRef]
Figure 1. Network topology developed.
Figure 1. Network topology developed.
Sensors 21 04228 g001
Figure 2. Network model developed.
Figure 2. Network model developed.
Sensors 21 04228 g002
Figure 3. Flowchart of the logical part of the NCAP.
Figure 3. Flowchart of the logical part of the NCAP.
Sensors 21 04228 g003
Figure 4. WTIM developed in the laboratory.
Figure 4. WTIM developed in the laboratory.
Sensors 21 04228 g004
Figure 5. Signal conditioning circuit diagram.
Figure 5. Signal conditioning circuit diagram.
Sensors 21 04228 g005
Figure 6. Flowchart of the logical part of WTIM.
Figure 6. Flowchart of the logical part of WTIM.
Sensors 21 04228 g006
Figure 7. Generic protocol with AT command.
Figure 7. Generic protocol with AT command.
Sensors 21 04228 g007
Figure 8. Request command.
Figure 8. Request command.
Sensors 21 04228 g008
Figure 9. Response command.
Figure 9. Response command.
Sensors 21 04228 g009
Figure 10. Network topology applied in the city.
Figure 10. Network topology applied in the city.
Sensors 21 04228 g010
Figure 11. Reading of data via MQTT.
Figure 11. Reading of data via MQTT.
Sensors 21 04228 g011
Figure 12. Architecture of the sensor networks.
Figure 12. Architecture of the sensor networks.
Sensors 21 04228 g012
Figure 13. Quasi-characteristic polynomial.
Figure 13. Quasi-characteristic polynomial.
Sensors 21 04228 g013
Figure 14. Performance graph of S 1 and S 2 nodes.
Figure 14. Performance graph of S 1 and S 2 nodes.
Sensors 21 04228 g014
Figure 15. S 3 node performance graph.
Figure 15. S 3 node performance graph.
Sensors 21 04228 g015
Figure 16. Phase picture of the sensor network.
Figure 16. Phase picture of the sensor network.
Sensors 21 04228 g016
Table 1. Reading table of sensors and network data.
Table 1. Reading table of sensors and network data.
DateTimeTemp. °C
Low
RSSI
dbm
Req/Resp
Seconds
Press.
Low
RSSI
dbm
Req/Resp
Seconds
Wind
m/s
RSSI
dbm
Req/Resp
Seconds
14 November00:3019.29−740.2313915.591−740.228880.2194−740.23927
14 November01:3019.33−740.27177915.081−740.213780.2277−730.42216
14 November02:3019.52−740.45759915.086−740.373620.5611−750.23713
14 November03:3019.81−750.49296914.829−740.477350−740.08589
14 November04:3019.5−740.2077915.038−740.20251.3111−740.21133
14 November05:3019.44−740.2277915.346−7514 November0.5777−750.22465
14 November06:3019.59−720.47874915.639−750.435660.4888−740.49409
14 November07:3020.33−740.43999916.259−750.477010.6305−740.45841
Table 2. Variation of the balance points according to the network parameters.
Table 2. Variation of the balance points according to the network parameters.
m 1 n 1 μ θ 1 θ 2 r 1 r 2 Kl α β mn x 1 x 2 x 3
0.0600.0150.0800.0200.0500.50.510100.00800.00800.1300.1302.2982.4036.121
0.0650.0200.0850.0250.0551.01.015150.00850.00850.1350.1342.1982.4829.376
0.0700.0250.0900.0300.0601.51.520200.00900.00900.1400.1382.0572.58912.488
0.0750.0300.0950.0350.0652.02.025250.00950.00950.1450.1421.8732.71515.444
0.0800.0350.1000.0400.0702.52.530300.01000.01000.1500.1461.6432.85618.252
0.0850.0400.1050.0450.0753.03.035350.01050.01050.1550.1501.3663.00720.920
0.0900.0450.1100.0500.0803.53.540400.01100.01100.1600.1541.0433.16523.459
0.0950.0500.1150.0550.0854.04.045450.01150.01150.1650.1580.6733.32825.878
0.1000.0550.1200.0600.0904.54.550500.01200.01200.1700.1620.2583.49428.187
Table 3. Value of b i parameters.
Table 3. Value of b i parameters.
b 1 b 2 b 3 b 4 b 5
0.3130.1870.0220.2140.009
0.3510.3120.0440.3940.015
0.3710.4500.0710.6460.023
0.3820.5960.0980.9980.029
0.3850.7420.1231.4810.034
0.3820.8780.1402.1300.037
0.3740.9950.1412.9830.039
0.3601.0810.1174.0740.038
0.3411.1220.0565.4060.025
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Filho, T.; Fernando, L.; Rabelo, M.; Silva, S.; Santos, C.; Ribeiro, M.; Grout, I.A.; Moreira, W.; Oliveira-Jr, A. A Standard-Based Internet of Things Platform and Data Flow Modeling for Smart Environmental Monitoring. Sensors 2021, 21, 4228. https://doi.org/10.3390/s21124228

AMA Style

Filho T, Fernando L, Rabelo M, Silva S, Santos C, Ribeiro M, Grout IA, Moreira W, Oliveira-Jr A. A Standard-Based Internet of Things Platform and Data Flow Modeling for Smart Environmental Monitoring. Sensors. 2021; 21(12):4228. https://doi.org/10.3390/s21124228

Chicago/Turabian Style

Filho, Tércio, Luiz Fernando, Marcos Rabelo, Sérgio Silva, Carlos Santos, Maria Ribeiro, Ian A. Grout, Waldir Moreira, and Antonio Oliveira-Jr. 2021. "A Standard-Based Internet of Things Platform and Data Flow Modeling for Smart Environmental Monitoring" Sensors 21, no. 12: 4228. https://doi.org/10.3390/s21124228

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop