ArticlePDF Available

Flexible IoT Agriculture Systems for Irrigation Control Based on Software Services

Authors:

Abstract and Figures

IoT technology applied to agriculture has produced a number of contributions in the recent years. Such solutions are, most of the time, fully tailored to a particular functional target and focus extensively on sensor-hardware development and customization. As a result, software-centered solutions for IoT system development are infrequent. This is not suitable, as the software is the bottleneck in modern computer systems, being the main source of performance loss, errors, and even cyber attacks. This paper takes a software-centric perspective to model and design IoT systems in a flexible manner. We contribute a software framework that supports the design of the IoT systems’ software based on software services in a client–server model with REST interactions; and it is exemplified on the domain of efficient irrigation in agriculture. We decompose the services’ design into the set of constituent functions and operations both at client and server sides. As a result, we provide a simple and novel view on the design of IoT systems in agriculture from a sofware perspective: we contribute simple design structure based on the identification of the front-end software services, their internal software functions and operations, and their interconnections as software services. We have implemented the software framework on an IoT irrigation use case that monitors the conditions of the field and processes the sampled data, detecting alarms when needed. We demonstrate that the temporal overhead of our solution is bounded and suitable for the target domain, reaching a response time of roughly 11 s for bursts of 3000 requests.
Content may be subject to copyright.
Citation: Palomar-Cosín, E.;
García-Valls, M. Flexible IoT
Agriculture Systems for Irrigation
Control Based on Software Services.
Sensors 2022,22, 9999. https://
doi.org/10.3390/s22249999
Academic Editors: Jose Machado,
Katarzyna Antosz, Vijaya Kumar
Manupati, Yi Ren, Rochdi El Abdi,
Dariusz Mazurkiewicz, Marina
Ranga, Pierluigi Rea, Emilia Villani
and Erika Ottaviano
Received: 8 November 2022
Accepted: 14 December 2022
Published: 19 December 2022
Publisher’s Note: MDPI stays neutral
with regard to jurisdictional claims in
published maps and institutional affil-
iations.
Copyright: © 2022 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license (https://
creativecommons.org/licenses/by/
4.0/).
sensors
Article
Flexible IoT Agriculture Systems for Irrigation Control Based
on Software Services
Eva Palomar-Cosín and Marisol García-Valls *,†
Departamento de Comunicaciones, Universitat Politècnica de València, 46022 Valencia, Spain
*Correspondence: mgvalls@dcom.upv.es
These authors contributed equally to this work.
Abstract:
IoT technology applied to agriculture has produced a number of contributions in the
recent years. Such solutions are, most of the time, fully tailored to a particular functional target
and focus extensively on sensor-hardware development and customization. As a result, software-
centered solutions for IoT system development are infrequent. This is not suitable, as the software
is the bottleneck in modern computer systems, being the main source of performance loss, errors,
and even cyber attacks. This paper takes a software-centric perspective to model and design IoT
systems in a flexible manner. We contribute a software framework that supports the design of the
IoT systems’ software based on software services in a client–server model with REST interactions;
and it is exemplified on the domain of efficient irrigation in agriculture. We decompose the services’
design into the set of constituent functions and operations both at client and server sides. As a result,
we provide a simple and novel view on the design of IoT systems in agriculture from a sofware
perspective: we contribute simple design structure based on the identification of the front-end
software services, their internal software functions and operations, and their interconnections as
software services. We have implemented the software framework on an IoT irrigation use case that
monitors the conditions of the field and processes the sampled data, detecting alarms when needed.
We demonstrate that the temporal overhead of our solution is bounded and suitable for the target
domain, reaching a response time of roughly 11 s for bursts of 3000 requests.
Keywords:
IoT software services; flexible sofware design; agriculture irrigation software; agriculture;
software framework; alarm detection in IoT software
1. Introduction
One of the resources that is most affected by climate change is fresh water, which is
3% of the whole amount of water in the planet. This includes frozen water: glaciers and
polar ice caps. As such, available fresh water is a small percentage and a precious resource.
Activities that consume the most fresh water, such as the irrigation of crops and
massive recreational centers (among others), have to be carefully managed for extreme
efficiency. Precisely, irrigation is the activity that consumes the most, being aproximately
70% of the overall quantity [
1
,
2
]. Not long ago, the visual inspection for decision making on
the irrigation of crops was common practice. According to [
3
], this was the case in around
80% of US farms.
During the last decade, IoT technology has successfully been adopted in the vast
majority of application domains, including agriculture [
4
] as a basic instrument for im-
plementing a resource-efficient operation. As a result, the IoT paradigm is a key step in
the way that modern systems are conceived and architected. The interconnection of a
miriad of sensing and actuating nodes constitutes a powerful infrastructure to develop
applications that monitor and actuate on the physical objects and environment, enhancing
the intelligence and capacities of the human operators and users. The application areas of
IoT span from eHealth [
5
], to smart manufacturing [
6
] and automation, smart cities, and
Sensors 2022,22, 9999. https://doi.org/10.3390/s22249999 https://www.mdpi.com/journal/sensors
Sensors 2022,22, 9999 2 of 16
many more. IoT technology applied to agriculture irrigation can significantly contribute
to the rational usage of water as abundant and precise data are obtained from the field in
real-time. This serves greatly to improving the decision making on irrigation periods and
quantities, among others.
In the last decade, the number of contributions that apply the IoT technology to
agriculture has increased significantly. The vast majority of contributions provide a system-
level architecture that monitors different parameters such as characteristics of the soil and
the environment; these data are fed some target solution platform tailored to the particular
needs of individual agriculture fields. Other solutions typically target the design of the
hardware, i.e., the sensors that will be later located on the physical deployment. However,
to the best of our knowledge, there are no software-centric solutions for the development
of IoT software systems for agriculture. The few solutions where the software side is
present are reduced to a pure instrumental level, such as the usage of a particular API for
information exchange among the deployed computer-nodes (IoT sensors, single-board
computers, etc.) and deployed nodes and the cloud backends. There is a gap at the level
of software-centered solutions that support the flexible modeling and development of
IoT agriculture.
This work designs and prototypes a software framework for actively monitoring the
water management applied to irrigation in agriculture. We propose a software framework
that can extend the capacities of mainstream IoT platforms by providing a strategy to
design IoT agriculture software in a flexible manner. Our framework is based on software
services that model the front-end functionality of the interacting nodes in IoT systems
that use a client–server communication scheme. The system model is based on federated
areas with controlling servers that: (
i
) store monitored parameters, (
ii
) analyse the data
to detect alarms that may generate corresponding actuation values; and (
iii
) send the
actuation values to the IoT devices. A decomposition of the software services into their
constituent operations and functions is also contributed both for client and server sides;
and the mapping of these to the main functionality such as detection and actuation in
front of anomalies and alarms is provided. We prototype the software framework for an
irrigation control IoT software system and demonstrate that the interactions are achieved
efficiently with a maximum time of 11 ms for the worst-case situation.
The paper is organized as follows. Section 2elaborates the target application scenario,
analyses the possible communication strategies that can be used, and the common function-
ality of mainstream IoT platforms. Section 3describes the approach with the design process
based on software services; the decomposition of the internal structure of services; and the
proposed framework that details its constituent software modules, including the alarm
detection module. This section includes the mapping of the internal software services to
the framework modules. Section 4describes the prototype implementation of the proposed
framework applied in the context of the IoT software system for controlling irrigation
in agriculture. It defines the IoT sensoring infrastructure and associated servers, as well
as the alarm conditions that guide the irrigation control. A number of experiments are
also presented that validate the temporal behavior of the designed framework. Section 5
presents the related work. Section 6concludes the paper.
2. Application Model
2.1. Scenario Overview
The target scenario is an IoT agriculture systems that provides eco irrigation. The
IoT substrate is composed of smart sensors that sample soil and environment data; and
the server side that gathers and processes the sampled data. For this purpose, a software
framework is proposed on the IoT substrate to achieve eco irrigation: The plants receive
the needed water, but the software platform controls the quantity, amount, and frequency
of irrigation based on the data sampled by smart IoT devices located in the field.
The system includes a server platform based on services technology. Moreover, the
software functions of IoT sensor devices are also service-based.
Sensors 2022,22, 9999 3 of 16
One of the goals of the designed platform is that the temporal behavior of the software
logic running on the IoT devices is appropriate to achieve real-time monitoring, detecting
possible anomalies or alarms, and actuating as needed.
Figure 1illustrates the target system that includes sensors to report real-time readings
of wind speed, rain quantity, humidity, and temperature. Sensors are connected to the
control server by means of a well-defined interface. The server receives real-time data; then,
it processes these data, and generates configuration commands back to the IoT nodes.
Figure 1. System overview.
The integrated logic analyses the effects of the current atmospheric conditions such as
temperature, wind, and humidity, to activate the irrigation system. This logic also considers
the potential rain, as it includes a pluviometry sensor.
2.2. Communication Options
There are different options to implement such a scenario as far as the communication
platform is concerned and the integrated software libraries. If bare RPC (Remote Procedure
Call) software is used, faster exchange rates are achieved at the cost of supporting only
one-to-one communication between client and server sides. Using P/S (Publish-Subscribe)
supports multiple interaction models (1 to many, many to many, etc.) but the needed
distribution protocols to ensure coherency and non-duplication introduce higher over-
heads that may not pay off in many IoT scenarios. Moreover, implementing this scenario
with a communication protocol such as pub-sub or RPC is possible but error prone and
lacks sufficient flexibility to accomodate new nodes and functionality, which only need to
communicate to an area server.
Using REST-based interactions (such as [
7
]) to design and deploy this scenario en-
hances flexibility; but it comes at a cost that is the introduction of the protocol headers and
the associated cost of parsing them in the higher levels of the protocol. However, this can be
aleviated by using web-like interactions for constrained environments such as the CoAP [
8
]
protocol (Constrained Application Protocol). Additionally, the client software (browser) is
more time consuming than a native C software directly run on the hardware and operating
system. However, the lack of support functions of the native C software modules will have
to be crafted manually.
2.3. Mainstream IoT Platforms
Most current IoT platforms have a set of common modules as part of their structure.
The commom part is shown in Figure 2. The IoT platform boundaries are expressed with a
dashed line.
There are four main components that provide the basic harness and functions. These
are explained below.
The interface to IoT devices (contained inside the Proxy to Devices block) is performed
essentially by means of two different protocols: REST [
9
] (REpresentational State Transfer)
Sensors 2022,22, 9999 4 of 16
or publish–subscribe. There are a number of particular instantiations and libraries that
realize both of them. Interaction through REST provides a pure client–service model, and
it improves compatibility with web protocols; whereas interaction by means of publish–
subscribe models constitute a powerful
n
to
m
communication scheme based on a consumer–
producer model.
In the vast majority of current platforms, the interface to external users (such as system
operators and other actors that only visualize data) is performed by means of a web-based
protocol and a REST communication scheme. This function is represented with the User
Interface (REST) block. The usage of the web is due to the natural penetration of web
technology in virtually all application domains. The popularity of web protocols is due to
a number of reasons: its simple communication model; its ease of use; the improvement of
the performance of current tools; powerful visualization capacities; and natural integration
with paradigms such as cloud computing backends.
Figure 2. The structure of IoT platforms.
Additionally, most IoT platforms have a built-in block that stores the system informa-
tion (the System Model block). It provides facilities to define the devices and nodes that are
part of the system, their characteristics and interaction links. This block uses a data base
software (expressed here as Data Base block) that persistently stores the data of the system:
both the system model and the data gathered and generated by the platform itself.
Logic such as artificial intelligence and machine learning functions usually relies on
employing external libraries (library APIs), as it is typically not part of the internal core
per se.
3. Approach
This section describes the proposed software framework that enhances the function-
ality of common IoT platform functions. The target IoT infrastructure is specified as a
set of software services; we understand the concept of software service as a self contained
functionality piece that exposes a well-defined interface through which it receives and
transmits data.
Firstly, the service-oriented system model is explained that provides a simple interac-
tion scheme among system nodes. Then, we explain the proposed framework, describing
the modules that it integrates.
3.1. IoT System Model Based on Services
The target IoT system is based on the existence of federations of nodes (see Figure 3)
that include a number of smart IoT devices and an associated server. Federations have
been applied extensively in distributed systems and in more recent computing paradigms
Sensors 2022,22, 9999 5 of 16
such as fog [
5
]. One of the reasons is the inherent ordering that favors controllability and
accountability of nodes; this is particularly useful in the case of errors or missfunctions, as
it becomes simpler to trace back until reaching the fault source.
Figure 3. IoT system federations.
In our approach, the functionality offered by nodes is modeled as services and the
interactions across nodes are modeled as service invocations and/or requests. This means
that all nodes involved in the IoT system (e.g., smart IoT devices and server nodes) expose
their functionality as service APIs (Application Programming Interface) over a REST [
9
]
communication scheme. In this scenario, IoT devices monitor and actuate on the physical
environment. Monitoring implies gathering data about the field conditions and sending
these data to the server; whereas actuating implies receiving actuation commands from the
server to execute them on the physical system. The server controls the system actuation.
This means that the server configures the smart IoT devices operation, and stores the
sampled data.
Figure 4illustrates the interaction model across the nodes involved in our target IoT
system. A node can request information from (or send information to) another node by
using the appropriate REST method. The communication invocation is performed through
a well-formed URL (Uniform Resource Locator) that includes:
node part, representing the protocol and the node domain.
serviceX part, that includes the path to service xinside the server, and
params
part, containing the associated parameters that are the precise details about
the request.
Figure 4. Service-based communication scheme.
The specified parameters follow the scheme of URLs; this means that requests can
contain none or multiple parameters separated by the ‘&’ character in the form of key-value
pairs. An example could be:
temp=24&wind=12
. For the sake of clarity, Figure 4shows
Sensors 2022,22, 9999 6 of 16
an explicit URL containing all parameters. However, it is important to clarify that the
parameters (the key-value pairs) are communicated in a
post
method in a REST scheme.
That is, exchanged data are not communicated in a visible manner, but as part of the
message body.
Messages exchanged among nodes follow a format well suited to generic services.
The framework uses a de facto standard such as JSON [
10
] (JavaScript Object Notation)
for data exchange. JSON is nowadays one of the most widely used formats for text-
based data exchange in the majority of domains and especially in web services and REST-
based interactions.
A server-based design approach brings in a number of benefits. Firstly, it provides
the needed combination of expressive power, showing the connections and interelations
of clients and server sides; also, it offers the needed control over the communication,
since such scenarios employ a REST-based interaction that is a plain client–server scheme.
Additionally, this scheme translates into a resource efficient communication that can be
achieved by using the communication protocols for constrained environments.
Figure 5illustrates the service-based definition with
n
smart IoT devices that are
connected to a server. At the top level, Figure 5shows the service in the system. This
sample model shows a simplified version containing only one service per IoT node. The
model easily scales to more complex service configurations.
Figure 5. Service scheme at server and IoT devices.
This big picture is then further expanded in Figure 6that shows how each service
is also decomposed into a number of activities that collaborate to provide an integrated
functionality towards the outside nodes. To differentiate, constituent activities of IoT
devices are named operations; and constituent activities of server nodes are called functions.
At the server side, the constituent functions are assembled in a pipeline scheme, as the
data produced by each operation are fed to the subsequent one. Inside an IoT node, the
operations of a given service are executed in parallel, as explained below.
There are
n
IoT devices. Each IoT device has a set of services:
s1
,
· · · sn
. The server
has one software service, namely
sn+1
, that includes the logic for managing the
n
IoT
devices. Figure 6shows the decomposition of services of IoT devices such as service
s1
that
is composed of three operations
o1
,
o2
,
o3
; such operations can carry out actions such as
updating the sample rate of the device (
o1
), issuing actuation commands on the actuator
part of the IoT device (
o2
); and performing self-healing and self-monitoring actions that
result in sending some log data to the server (o3).
Sensors 2022,22, 9999 7 of 16
Figure 6. Expanded services scheme.
At the server side, service
sn+1
is made of the server functions
f1
,
· · · f5
. This means
that the server side functionality contains a pipeline of four services:
f1
is the entry module
acting as a gateway and receiver for the incoming data from the remote smart devices;
f2
is the parsing function that recognizes the incoming data and language, and rebuilds the
received elements and code entities;
f3
is the rendering logic that presents each received
element on the IoT system dashboard;
f4
is the analysis functionality that determines the
response to IoT devices, i.e., further (if any) configuration commands to be sent to the smart
devices for either actuation or self-tunning (e.g., adaptation of sampling period, etc.);
f5
is
in charge of submitting the response to the IoT devices.
IoT device services represent the physical devices that can be invoked via either a
client–server or a pub–sub protocol. The result of the invocation will be a resource specified
in JSON format, e.g., {“temperature”: 15} for some temperature sample readings.
IoT devices provide the sample readings to the IoT system platform using web-based
communication and the rest paradigms with a
post
request such as https://www.serverabc.
com/api/iotsys16543/telemetry that invokes a particular service to which it passes a type
Content-Type: application/json for the associated data {“temperature”: 15}.
3.2. Software Modules Overview
The software framework is architected as shown in Figure 7, containing a set of mod-
ules that extend the common functions of IoT platforms in the various ways listed below.
The IoT system needs to be architected based on services as decoupled functionality
pieces that expose clean interfaces. This is supported by the service design module.
A service-based design is highly flexible and naturally supports scalability in the
physical scenario. Adding or removing an IoT device can be mapped to the presence
or absence of a software service at the logical level.
Alarms and actuation logic programming using event-based technology is suppported
by the alarm definition module. This part provides an external enhancement to the
identification and detection of alarms, the specification of new actuation conditions,
or the addition of threshold value checking. The module supports the programming
of these functions in an event-based language to ensure maximum web compatibility,
as most platforms expose web interfaces and use web communication protocols.
Support for data analytics. More complex logic can be programmed for guiding the
actuation indications of the server on the field IoT devices. This is supported by the
data analysis module.
The actuation core module is the central point of the framework operation. It guides
the actuation based on the inputs from the modules alarms and data analytics. It
leverages the communications module to interact with the devices.
Acommunication module is provided that implements the mapping to the particular
networking protocols that need be used to properly interact with IoT devices and users.
Sensors 2022,22, 9999 8 of 16
Figure 7. Proposed solution and enhancement.
The analysis function
f4
runs the logic to detect the occurrence of situations represent-
ing an anomaly. This may trigger the system to perform corrective actions or to react to
mitigate the foreseen effects. These ocurrences are named alarms and they are programmed
inside function
f4
in an event-based mode; precisely, they are part of the alarm definition
module. Figure 8shows the activities that take place inside the server functions related to
the detection of an anomaly or alarm. Detected anomalies may have two different conse-
quences. Sometimes, they may only require to be signaled to the operator (e.g., display a
value highlighted in some red color to inform of some exceptional value or situation); how-
ever, it may be the case that the alarm implies some catastrophic effect for the system and
this may require one to invoke some exit function that discontinues the system operation
and requests the operator control until the situation is solved.
Figure 8. Anomaly/alarm detection and associated activities.
Mapping the server functions to the designed software module is straightforward. On
the one side, function
f4
includes modules actuation core,data analysis, and alarm definition.
The actuation core module is a leading and central part, as it determines the execution flow
shown under
f4
of Figure 8. On the other side, function
f5
includes the communication
module to interact with external actors in the needed underlying networking protocols.
3.3. Alarm Definition
Alarms express the occurrence of an event or entering a situation that requires that
an urgent action is taken. Examples of such actions are turning on a red light to indicate
danger, and some physical action to avoid negative consequences.
In our solution, an alarm is programmed using conditional language and boolean
expressions. An example of supported alarms are explained in what follows.
Definition 1.
A
single variable alarm
is an expression of type
if ethen action1
, where
e
is an expression of type
vδ
that involves checking the value of a variable
v
against a prefixed
threshold
δ
. The symbol
represents an operation of types
=
,
<
,
>
,
, so the expression is
Sensors 2022,22, 9999 9 of 16
evaluated to either true or false. If the evaluation result is
true
, then
action1
is performed. The
alarm can be extended with an
else
clause that will be executed if the expression is evaluated to
false, yielding the execution of
action2
. An example of a single variable alarm is
if tem p <
15.5
then flash red led, tem p being a variable that holds temperature variables.
A
multi-variable alarm
is an expression of type
if ethen action1
, where
e
can be decom-
posed into multiple (at least two) binary expressions such as
e1e2
, where
e1
and
e2
are expressions
that may contain multiple variables, logic operations, or scalar values.
represents logical opera-
tions such as logical AND, OR, NOT, among others. Expression
e
and all its subexpressions
e1
,
e2
,
etc., evaluate to either true or false. As in the previous case of single variable alarm, the specification
can be extended with an else clause that will be run if the expression is evaluated to be false.
4. Implementation and Results
Our solution is applied to the development of an eco irrigation system in the IoT
agriculture for delivering a solution that is capable of flexibly modifying the irrigation con-
ditions and alarms to experiment with implementation options in search for the maximum
benefit to the agriculture ecosystem and for water saving.
In this case, the design of the system contains four smart IoT devices controling four
respective sensors to measure wind, temperature, humidity of the environment, and rain
conditions. These devices are connected to an IoT platform [
11
] with capabilities of basic
device connectivity and telemetry presentation to which our approach is integrated.
The above provided modeling is instantiated in what follows. The client side services
are
s1
,
· · ·
,
s4
, with each associated to the previously mentioned IoT devices; and
s5
is the
server-side service. Each client-side service runs operations
o1
,
o2
,
o3
. For the case of the
wind sensor,
o1
corresponds to setting the sampling frequency of the wind speed or wind
direction at a software level;
o2
corresponds to further actuation of the device on itself, e.g.,
reducing the wind vane frequency if the wind direction is oscillating; and
o3
corresponds
to setting the logging mechanisms of this sensor to report its performance.
For the alarm definition, the scenario identifies a set of operation conditions that
determine whether the system operation is normal; or determines whether an alarm has
been fired that requires action or simply informing the operator. There are single and
multi-variable conditions:
1.
Wind effect. The wind is one of the worst enemies of irrigation, as it has a decisive
influence on the distribution and uniformity of the sprinkled water. This problem
is aggravated by the speed and direction of the wind. In the following are some
recommendations for a particular field and crops:
For wind speeds over 8 km/h, it is recommended to decrease the sprinkler
spacing by 2% every 1.5 km/h increase in wind speed.
For winds speeds exceeding 20 km/h, it is recommended not to irrigate; thus,
pumps must be stopped.
2.
Temperature. Each crop has its own optimum temperature to reach the highest
yields. If the plant temperature rises above the optimal point, precision irrigation is
automatically activated. In the following are some recommendations for a particular
field and crops:
Acceptable temperature values must stay in between 23
C and 32
C. Fruit
quality drops outside this range.
3.
Humidity. Acceptable ambient humidity is related to the particular plants. Moreover,
the sensibility to water excess or deficit is also dependent on the particular plant
and soil quality (e.g., carbon presence in soil). Such data are specific for each type of
soil and are related to the humidity value at a matrix potential. The condition to be
checked here is shown below:
A humidity value in the range from 20 kPa to 75 kPa is considered normal.
Sensors 2022,22, 9999 10 of 16
4.
Pluviometry. It is used in agriculture for irrigation control. This agricultural sensor
records and sends data about the additional water content or the amount of precip-
itation. The value of the pluviometry sensor may cause the irrigation pump to be
disconnected. A recommendation considered in this example is that values less than
50 L in a week are considered normal and do not have an effect in the irrigation
process. Values over 100 L will stop the irrigation pump for a day.
Table 1shows the conditions checked in the system in order to decide whether the
irrigation process has to be adjusted. The first column represents the normal operation
state; in this state, any action on the irrigation pump is not required, so that the irrigation
process will continue to operate normally. The second column determines a moderate
risk on the effectiveness of the irrigation due to windy conditions, mild temperatures,
or increasing humidity; this will require one to decrease the irrigation level, avoiding
unnecessary watering. The third column identifies risky conditions due to, for instance,
high winds; this will result in stopping the irrigation process, as it will have a negligible
effect on the actual watering of the crops.
In the following, it is demonstrated how the alarms are implemented in the software
framework that reflect the conditions specified in Table 1. The algorithm is shown in
JavaScript, which is the language in which the alarm detection module is implemented .
Sensors 2022,1, 0 10 of 16
4.
Pluviometry. It is used in agriculture for irrigation control. This agricultural sensor
records and sends data about the additional water content or the amount of precip-
itation. The value of the pluviometry sensor may cause the irrigation pump to be
disconnected. A recommendation considered in this example is that values less than
50 L in a week are considered normal and do not have an effect in the irrigation
process. Values over 100 L will stop the irrigation pump for a day.
Table 1shows the conditions checked in the system in order to decide whether the
irrigation process has to be adjusted. The first column represents the normal operation
state; in this state, any action on the irrigation pump is not required, so that the irrigation
process will continue to operate normally. The second column determines a moderate
risk on the effectiveness of the irrigation due to windy conditions, mild temperatures,
or increasing humidity; this will require one to decrease the irrigation level, avoiding
unnecessary watering. The third column identifies risky conditions due to, for instance,
high winds; this will result in stopping the irrigation process, as it will have a negligible
effect on the actual watering of the crops.
In the following, it is demonstrated how the alarms are implemented in the software
framework that reflect the conditions specified in Table 1. The algorithm is shown in
JavaScript, which is the language in which the alarm detection module is implemented.
var wind;
var temperature;
var humidity;
var rain;
var risk;
var info;
function NormalParameters () {
if ((wind < 8) && (temperature > 23 && temperature < 32) &&
(humidity > -75 && humidity < -20) && (rain < 50)) {
return false;
info = ‘‘The parameters are in the normal range of wind,
temperature, humidity and rain.’’;
risk = ‘‘No risk.’’;
}
}
function ModerateRisk () {
if ((wind > 8 && wind < 20) || ((temperature < 23 &&
temperature > 16) || (temperature < 38 && temperature > 32))
|| (humidity > -20 || humidity > -75) || (rain > 50 && rain < 100)) {
return true;
info = ‘‘The parameters are out of range.’’;
risk = ‘‘The risk is moderate.’’;
}
}
function HighRisk (){
if ((wind > 20) || (temperature > 38 || temperature < 16) ||
(humidity > -20 || humidity > -75) || (rain > 100)) {
return true;
info = ‘‘The parameters are out of range.’’;
risk = ‘‘The risk is high.’’;
}
}
Sensors 2022,22, 9999 11 of 16
Table 1. Definition of risk levels for alarm detection.
No Risk Moderate Risk High Risk
wind < 8 km/h wind > 8 km/h AND wind < 20 km/h wind > 20 km/h
temperature > 23 (temperature < 23 AND temperature > 16) temperature > 38
AND OR OR
temperature < 32 (temperature < 38 AND temperature > 32) temperature < 16
humidity > 75 humidity > 20 humidity > 20
AND OR OR
humidity < 20 humidity > 75 humidity > 75
rain < 50 rain > 50 AND rain < 100 rain > 100
The software framework has been tested to ensure that the proposal conforms to the
needed temporal behavior. We have used the bare capacities of an IoT platform [
11
]. As a
persistent storage option, we have used a PosgreSQL database. Our interest is to validate
our solution, obtaining measures about the response time perceived by the client side.
Then, we have measured the communication interaction at the client side, detecting the
time when the server initiates the sending of the response. Table 2shows this response
time behavior for different request bursts and for four different experiments (E1 through
E4). We observe that for a light demand from the framework (i.e., a burst of 10 service
requests), the cost is 229 ms. A mid-low burst rate leads to a cost of 1.02 s; whereas, the
communication becomes more efficient for high (1000) and very high (3000) bursts with a
cost of 2.31 s, and 9.349 s, respectively. Moreover, we have obtained the average times for
each burst rate.
Table 2. Response time in front of different request rates.
Request Burst E1 E2 E3 E4
10 0.229403 0.164141 0.129209 0.125360
100 1.020914 0.383103 0.493095 0.448629
1000 2.316834 3.6164326 4.487297 3.591282
3000 9.349804 8.853687 11.730795 14.558191
Table 3shows the average cost per request. It is observed that, as the number of
requests increases, the time it takes for each request to reach the server and back decreases.
The observed trend is the one that was initially expected. That is, for a high request number,
the underlying platform is close to its saturation; and it saturates if we cross the limits with
a very high request burst-rate.
Table 3. Average response time (in ms) in front of different request rates.
Request Burst Average
100 5.864345
1000 3.502961
3000 11.123119
The trend can be better compared with the plot shown in Figure 9. Here, a summary
of all the collected data is shown in four descriptive measures. The size of each box marks
the dimensions of the IQR (InterQuartile Range): the difference between the third and first
quartiles of the distribution. The median value is marked with a red line inside each box.
Minimum and maximum values are represented by short horizontal lines outside of the
box. If any outliers are present, they are marked as red crosses.
Sensors 2022,22, 9999 12 of 16
Figure 9. Summary of temporal behavior of test 1.
Additionally, we have designed and performed a second test on the temporal be-
haviour of our solution for the communication of different data sizes. It is important to
recall that in the first test, we have explored the temporal behavior of our solution and have
explored the limits and utilization boundaries of the underlying IoT platform. Then, this
second test stays within the boundaries that allow the underlying IoT platform to function
normally, as derived from the initial test.
In the second test, we have used the JSON data exchange format (also used for
serialization) and explored the temporal cost for different burst rates (low for 10; medium
for 100; high for 1000; and very high for 2000). Table 4shows the obtained results, as we
progressively vary the number of requests and the size of the exchanged data.
Analyzing Table 4, we observe that increasing the size of the JSON file does not
increase the arrival time of the data. For instance, focusing on the temporal cost for a low
burst-rate, we observe a similar cost for all data sizes (13 bytes through 3312 bytes) with
225
µ
s difference. On the other hand, we observe a behavior that is coherent with the initial
test: increasing the request burst-rate does not directly impact the communication time.
Table 4.
Temporal behaviour as the exchanged data size and the request bursts increase (in seconds).
Data Size (In Bytes) Low Medium-Low High Very High
13 bytes 0.645241 1.444396 4.866774 9.102204
24 bytes 0.831007 0.462578 2.845448 s 5.985796
91 bytes 0.640276 0.659791 2.258518 s 5.636820
201 bytes 0.968613 0.573597 4.297246 s 5.968502
408 bytes 0.468909 1.569857 1.457807 s 6.145699
824 bytes 0.828033 0.606376 3.987770 s 7.754083
1656 bytes 0.794128 0.687427 5.127063 s 7.394538
3312 bytes 0.894942 0.438648 3.574610 s 13.520767
Figure 10 summarises the results of the test, exhibiting a quite stable lower bound of
the first quartile temporal results for all data sizes. There are evident differences between
the upperbound, but these are due to the internal characteristics of underlying platfom.
Sensors 2022,22, 9999 13 of 16
Figure 10. Summary of response times
In summary, the effect of the proposed solution is minimal and the temporal behavior
is directly related to the underneath layers that we analyzed in the initial test. We observed
that the sending time increases as the number of requests raises. This was evidenced in the
accumulated times; but also when breaking down the total into average cost, as the latter
decreases with the number of request increases. These tests allow us to extract conclusions
such as, for example, what to do to reduce the sending time. For this, smart IoT devices
that do not require real-time interaction can be programmed to collect data from a number
of sampling periods and summarize them in a single JSON data message. However, we
must consider the downside, which is that the cost of sending small JSON objects is higher
given the inherent productivity of the underlying communication protocol such as [
12
],
among others.
5. Related Work
IoT technology applied to agriculture irrigation can significantly contribute to the rational
usage of water, as abundant and precise data are obtained from the field in real-time.
A number of works have appeared for IoT agriculture irrigation over the last decade,
right when the IoT paradigm experimentation became popular. It is important to note that
the literature related to the IoT agriculture system experiments has a large bias towards
sensor-hardware development and final system development that achieves the initially
specified functional characteristics. This is evidenced in [
13
] and particular examples are
are [
14
16
]. Nevertheless, to the best of our knowledge, there are practically no contribu-
tions that take a software-centric perspective to IoT agriculture. The software is typically
taken as an instrumental piece in the context of an overall final system development. This is
a common ground to other IoT domains such as medical systems or industrial automation
and manufacturing [17,18].
Approaches such as [
19
,
20
] focus on the design of customized sensors for irrigation
and sensing of field characteristics. These are different from our approach in that they focus
on the hardware design of the IoT sensors.
Other research lines have engineered solutions for the automated irrigation in fields
focusing on the system level view such as [
21
,
22
]. Some contributions such as [
23
] focus
on the hardware and also provide the design and development of an operator interface
for usability, but not focusing on interoperability. They are different from ours in that they
target a particular deployment; whereas, we propose a rather software-oriented approach
to design the system based on the web service interfaces that the intervening nodes (IoT
sensors and servers) provide. This provides high interoperability and yields to modular
designs of IoT systems, where nodes can be easily replaceable.
Sensors 2022,22, 9999 14 of 16
Other works have combined wireless sensing, IoT technology, and the cloud for
storing the monitored data. Examples are [
24
], which uses the cloud to store the sensed
data; Ref. [
25
], which provides a study on the actual performance of communication
between wireless sensing and the cloud backend; Ref. [
26
] relies on the inherent usage
of services for monitoring without further attention and uses the cloud backend to store
monitored parameters on which to later process to infer the actuation actions; others such
as [
27
] that have approached the fog paradigm in the search for improving performace,
although it is a quite immature contribution; or [
28
], which designs a smart irrigation
system that stores the monitored field values in the cloud. However, these cloud-based
approaches relying on the storage of data in the cloud servers can be improved by using
storage closer to the physical object (the field), as we propose. Additionally, our solution
provides a structured service-based design scheme that allows designers and engineers to
draw an initial map of the application-level logic that will be later more easily instantiated
in the physical domain.
Intelligent decision making in combination with the IoT sensing of crops has also been
explored in a number of solutions. This is in the case of [
29
] for improving temperature
management in greenhouses, which has an effect in irrigation; Ref. [
30
] that provided
an initial tracing pattern over business models based on events; Ref. [
31
] that reviews a
number of other contributions on agricultural IoT technology in general to which artificial
intelligence is also applied; or [
32
], which proposes a neural network used for decision
making respecting water supply, and fertilizer spray, among others.
There are also a number of contributions on system-level architectures for IoT-based
agriculture that directly or indirectly impact water management. In [
33
], it is presented
how to model solutions for monitoring water content in the soil. Another example is the
contribution of [
34
], which describes in detail the most commonly required components
(mostly focusing on hardware) of an IoT-based irrigation system.
As a result, and to the best of our knowledge, there is no solution that contributes a
software framework to design IoT agriculture irrigation systems from the point of view
of architecting them flexibly based on software services. This software-centric approach
provides a modular scheme that can be integrated in current IoT platforms, preserving the
temporal behavior required by the system. We use our previous work ([
35
] describing an
evaluation process for IoT platforms to perform the temporal validation of our proposal.
This previous work provides a structured baseline to identify the relevant software aspects
in an IoT project in order to validate the temporal behavior of key software pieces of the
overall system such as the IoT platform.
6. Conclusions
This paper has proposed a software framework that integrates strategies to design and
develop the software of IoT systems for irrigation control. The approach allows designers
to easily model IoT systems based on software services that interact through REST-based
protocols over a client–server model. The framework decomposes the client and server
sides of an IoT system into the precise constituent functions and operations, to draw a
clean map to the designer of where to hook further software services that may be needed
to enhance the overall functionality of the system. As a result, the framework enhances
the capacities of mainstream IoT platforms, providing a software hook that supports
the programming of the alarm detection to improve the decisions over irrigation instants.
Experiments have demonstrated that the temporal behavior of the proposed framework and
communication between client and server preserves the required latencies and validates the
solution. We show that even for high communication bursts of 3000 requests, the latency is
kept consistently below 11.2 s.
Author Contributions:
Conceptualization, Methodology: E.P.-C. and M.G.-V.; Investigation: E.P.-C.;
Graphs and experiments: E.P.-C.; Supervision: M.G.-V.; Journal version writing, reviewing, and
editing: M.G.-V.; Funding Acquisition: M.G.-V.; All authors have read and agreed to the published
version of the manuscript.
Sensors 2022,22, 9999 15 of 16
Funding:
This research was funded by the following projects: Design of services for resilient and real-
time execution of social dispersed computing applications in cyber-physical domains funded by Generalitat
Valenciana (Conselleria de Innovación, Universidades, Ciencia y Sociedad Digital), Spain, under
grant No. AICO/2021/138. The APC was funded by AICO/2021/138 (Subvenciones para grupos de
investigación consolidados). Also, this work has been supported by Grant PID2021-123168NB-I00
funded by MCIN/AEI/10.13039/501100011033 and ERDF A way of making Europe; and by project
Green Networks: Towards environmental-friendly 6G Networks under grant TED2021-131387B-I00 funded
by MCIN/AEI/10.13039/501100011033 and by the European Union NextGenerationEU/RTRP.
Data Availability Statement: Not Applicable.
Conflicts of Interest: The authors declare no conflict of interest.
References
1.
FAO (Food and Agriculture Organization of the United Nations). Water for Sustainable Food and Agriculture. Available online:
https://www.fao.org/3/a-i7959e.pdf (accessed on 15 April 2017)
2.
Hoogeveen, M.; Ono, Y.; Pfister, S.; Boulay, A.-M.; Berger, M.; Nansai, K.; Tahara, K.; Itsubo, N.; Inaba, A. Consistent characterisa-
tion factors at midpoint and endpoint relevant to agricultural water scarcity arising from freshwater consumption. Int. J. Life
Cycle Assess. 2018,23, 2276–2287.
3.
USDA (United States Department of Agriculture). Irrigation & Water Use. Available online: https://www.ers.usda.gov/topics/
farm-practices-management/irrigation-water-use/ (accessed on 1 October 2022).
4.
Ayaz, M.; Ammad-Uddin, M.; Sharif, Z.; Mansour, A.; Aggoune, E.M. Internet-of-Things (IoT)-Based Smart Agriculture: Toward
making the fields talk. IEEE Access 2019,7, 129551–129583. [CrossRef]
5.
García-Valls, M.; Calva-Urrego, C.; García-Fornes, A. Accelerating smart eHealth services execution at the fog computing
infrastructure. Future Gener. Comput. Syst. 2020,108, 882–893. [CrossRef]
6. Monostori, L. Cyber-physical production systems: Roots, expectations and R&D challenges. Procedia CIRP 2014,17, 9–13.
7.
Rescorla, E. HTTP over TLS—RFC 1818, IETF. May 2000. Available online: https://www.rfc-editor.org/rfc/pdfrfc/rfc2818.txt.pdf
(accessed on 1 October 2022).
8.
Shelby, Z.; Hartke, K.; Bormann, C. The Constrained Application Protocol (CoAP). RFC 7252. June 2014. Available online:
https://www.rfc-editor.org/rfc/pdfrfc/rfc7252.txt.pdf (accessed on October 2022).
9.
Fielding, R.T. Chapter 5: Representational State Transfer (REST). Architectural Styles and the Design of Network-Based Software
Architectures. Ph.D. Thesis, University of California, Irvine, CA, USA, 2000.
10.
Pezoa, F.; Reutter, J.L.; Suarez, F.; Ugarte, M.; Vrgoˇc, D. Foundations of JSON Schema. In Proceedings of the 25th International
Conference on World Wide Web, Montreal, QC, Canada 11–15 May 2016; pp. 263–273. [CrossRef]
11. Thingsboard IoT Platform. Available online: https://thingsboard.io/ (accessed on 1 July 2022).
12.
Fielding, R.; Gettys, J.; Mogul, J.; Frystyk, H.; Masinter, L.; Leach, P.; Berners-Lee, T. HyperText Transfer Protocol v1.1—HTTP
(RFC 2616). June 1999. Available online: https://www.w3.org/Protocols/rfc2616/rfc2616.html (accessed on 1 October 2022).
13.
Kansara, K.; Zaveri, V.; Shah, S.; Delwadkar, S.; Jani, K. Sensor based automated irrigation system with IoT: A technical review.
Int. J. Comput. Sci. Inf. Technol. 2015,6, 5331–5333.
14.
Munir, M.S.; Bajwa, I.S.; Naeem, M.A.; Ramzan, B. Design and Implementation of an IoT System for Smart Energy Consumption
and Smart Irrigation in Tunnel Farming . Energies 2018,11, 3427. [CrossRef]
15.
Shekhar, Y.; Dagur, E.; Mishra, S.; Jackson, R.; Veeramanikandan, M.; Sankaranarayanan, S. Intelligent IoT based automated
irrigation system. Int. J. Appl. Eng. Res. 2017,12, 7306–7320.
16.
Rajkumar, M.N.; Abinaya, S.; Kumar, V.V. Intelligent irrigation system—An IOT based approach. In Proceedings of the 2017
International Conference on Innovations in Green Energy and Healthcare Technologies (IGEHT), Coimbatore, India, 16–18 March
2017; pp. 1–5. [CrossRef]
17.
Mondal, D. The internet of thing (IoT) and industrial automation: A future perspective. World J. Model. Simul.
2019
,15, 140–149.
18.
Chen, W. Intelligent manufacturing production line data monitoring system for industrial internet of things. Comput. Commun.
2020,151, 31–41. [CrossRef]
19.
Salvi, S.; Framed Jain, S.A.; Sanjay, H.A.; Harshita, T.K.; Farhana, M.; Jain, N.; Suhas, M.V. Cloud based data analysis and
monitoring of smart multi-level irrigation system using IoT. In Proceedings of the International Conference on I-SMAC (IoT in
Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 10–11 February 2017; pp. 752–757.
20.
Singh, K.; Kumar, R. Design of a Low-Cost Sensor-Based IOT System for Smart Irrigation. In Applications in Ubiquitous Computing;
Kumar, R., Paiva, S., Eds.; EAI/Springer Innovations in Communication and Computing; Springer: Cham, Switzerland, 2020.
21.
Rohith, M.; Sainivedhana, R.; Fatima, N.S. IoT Enabled Smart Farming and Irrigation System. In Proceedings of the 5th
International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India, 6–8 May 2021; pp. 434–439.
22.
Guntur, J.; Raju, S.S.; Jayadeepthi, K.; Sravani, C.H. An automatic irrigation system using IOT devices. Mater. Today: Proc.
2022
,
68, 2233–2238. [CrossRef]
23.
Badreldeen, M.M.; Ragab, M.A.; Sedhom, A.; Mamdouh, W.M. IoT based smart irrigation system. Int. J. Ind. Sustain. Dev. (IJISD)
2022,3, 76–86.
Sensors 2022,22, 9999 16 of 16
24.
Saraf, S.B.; Gawali, D.H. IoT based smart irrigation monitoring and controlling system. In Proceedings of the 2nd IEEE
International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), Bangalore, India,
19–20 May 2017; pp. 815–819.
25.
Dattatraya, P.Y.; Agarkhed, J.; Patil, S. Cloud assisted performance enhancement of smart applications in Wireless Sensor
Networks. In Proceedings of the International Conference on Wireless Communications Signal Processing and Networking
(WiSPNET), Chennai, India, 23–25 March 2016; pp. 347–351.
26.
Cambra, C.; Sendra, S.; Lloret, J.; Garcia, L. An IoT service-oriented system for agriculture monitoring. In Proceedings of the 2017
IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [CrossRef]
27.
Fraga-Lamas, P.; Celaya-Echarri, M.; Azpilicueta, L.; Lopez-Iturri, P.; Falcone, F.; Fernandez-Camares, T.M. Design and empirical
validation of a LoRaWAN IoT smart irrigation system. Proceedings 2019;42, 62. [CrossRef]
28.
Srisruthi, S.; Swarna, N.; Ros, G.M.S.; Elizabeth, E. Sustainable agriculture using eco-friendly and energy efficient sensor
technology. In Proceedings of the IEEE International Conference on Recent Trends in Electronics, Information & Communication
Technology (RTEICT), Bangalore, India, 20–21 May 2016; pp. 1442–1446.
29.
Subahi, F.; Bouazza, K.E. An Intelligent IoT-Based System Design for Controlling and Monitoring Greenhouse Temperature. IEEE
Access 2020,8, 125488–125500. [CrossRef]
30.
Minbo, L.; Zhu, Z.; Guangyu, C. Information service system of agriculture IoT. J. Control. Meas. Electron. Comput. Commun.
2013
,
54, 415–426. [CrossRef]
31. Xu, J.; Gu, B.; Tian, G. Review of agricultural IoT technology. Artif. Intell. Agric. 2022,66, 10–22. [CrossRef]
32.
Kailash, N.; Satpute, V. IoT based intelligent irrigation support system for smart farming applications. Adv. Distrib. Comput. Artif.
Intell. J. (ADCAIJ) 2019,8, 75–85.
33.
Placidi, P.; Morbidelli, R.; Fortunati, D.; Papini, N.; Gobbi, F.; Scorzoni, A. Monitoring soil and ambient parameters in the IoT
precision agriculture scenario: An original modeling approach dedicated to low-cost soil water content sensors. Sensors
2021
,
21, 5110. [CrossRef] [PubMed]
34.
Murali, K.; Sridhar, B. A smart agriculture irrigation system using sensor array based IoT. J. Physics: Conf. Ser.
2021
,2062, 012010.
[CrossRef]
35.
García-Valls, M.; Palomar-Cosín, E. An Evaluation Process for IoT Platforms in Time-Sensitive Domains. Sensors 2022, 22, 9501.
[CrossRef] [PubMed]
... The adoption of mechanization in rice farming, including the use of automated transplanters and harvesters, has enhanced the efficiency and reduced labor costs, making rice production more competitive and sustainable [19,20]. Recent technological innovations, such as the wide and narrow row cropping (WNRC) system, modern irrigation systems, and precision farming development, have shown substantial promise in enhancing both yield and quality [21][22][23][24]. These advances are crucial for strengthening global food security and promoting broader economic and social development [25][26][27][28][29][30]. ...
Article
Full-text available
Optimizing planting density enhances light capture, improves air circulation, and promotes more efficient resource utilization, ultimately leading to increased crop productivity. It facilitates uniform growth, maximizes land use efficiency, reduces nutrient competition, and supports sustainable weed management, thereby improving yield and resource use efficiency. The wide and narrow row cropping (WNRC) system is an optimized planting method that adjusts the row spacing strategically to enhance crop growth and productivity. This study reviews the development and implementation of WNRC technology, focusing on its effects on crop growth, development, and environmental optimization. (1) Crop growth and environmental optimization: Modifying the row spacing in WNRC enhances light interception, air circulation, and the soil moisture distribution, creating an optimized growth environment that improves the photosynthetic efficiency and water use. (2) Genetic variation and yield performance: The performance of different crop varieties in WNRC systems varies, with specific varieties showing better adaptation to the altered spatial arrangement, leading to improved growth uniformity and higher yields. (3) Weed management: The planting density is optimized, reducing the need for herbicides and fostering more sustainable weed control methods. (4) Efficient input management: WNRC systems enhance the uniform application of fertilizers and pesticides, optimizing nutrient uptake, minimizing input wastage, and lowering the environmental impact. While WNRC offers substantial advantages in yield enhancement and resource optimization, challenges remain in adapting this technology to diverse cropping systems and environmental conditions. Further research is required to refine WNRC for specific regions and crops, ensuring its long-term agronomic and ecological benefits.
... Energy is generated when the footprint is pressed against the board from a depth of 5 mm to 10 mm. The triangular design maximizes power output and data capture, characterized by high durability and ease of use, allowing it to be easily integrated anywhere [34][35][36][37]. Each step produces 2 to 4 joules through electromagnetic induction by copper coils and magnets, which generate an average of five watts of power. ...
Article
Full-text available
The Internet of Things (IoT) is a paradigm in which objects equipped with sensors , actuators, and processors communicate with each other to serve a meaningful purpose. The current study is the quickly growing topic of interior design as detection for the IoT. To proceed with this development, we need to examine current gaps and trends in application. These papers include sensor monitoring, smart home and innovative city applications, network and infrastructure security, and many other expanding areas. The need to research the many IoT interior design as detection applications has grown because of recent developments in the industry. The classification of IoT detection algorithms is covered after a brief overview of the detection techniques and applications. This survey paper highlights the taxonomy for IoT technologies, highpoints some of the most significant technologies, and profiles some applications that have the potential to make a substantial impact on society. There needs to be more IoT detection approaches in recent papers, where there is a need for Ground Truth data. Finally, we discuss these current issues and propose fresh viewpoints in areas where more research is needed.
... Energy is generated when the footprint is pressed against the board from a depth of 5 mm to 10 mm. The triangular design maximizes power output and data capture, characterized by high durability and ease of use, allowing it to be easily integrated anywhere [34][35][36][37]. Each step produces 2 to 4 joules through electromagnetic induction by copper coils and magnets, which generate an average of five watts of power. ...
Article
Full-text available
The Internet of Things (IoT) is a paradigm in which objects equipped with sensors , actuators, and processors communicate with each other to serve a meaningful purpose. The current study is the quickly growing topic of interior design as detection for the IoT. To proceed with this development, we need to examine current gaps and trends in application. These papers include sensor monitoring, smart home and innovative city applications, network and infrastructure security, and many other expanding areas. The need to research the many IoT interior design as detection applications has grown because of recent developments in the industry. The classification of IoT detection algorithms is covered after a brief overview of the detection techniques and applications. This survey paper highlights the taxonomy for IoT technologies, highpoints some of the most significant technologies, and profiles some applications that have the potential to make a substantial impact on society. There needs to be more IoT detection approaches in recent papers, where there is a need for Ground Truth data. Finally, we discuss these current issues and propose fresh viewpoints in areas where more research is needed.
... Another flexible IoT agriculture system for irrigation control based on Software Services was described in [7]. The presented paper adopts a software-centric perspective to model and design IoT systems in a flexible manner and provided a simple and novel view of the design of IoT systems in agriculture from the software perspective. ...
Article
Full-text available
In this paper, a report on the development of an Internet of Things (IoT)-based connected university system is presented. There have been multiple smart solutions developed at the university over recent years. However, the user base of these systems is limited. The IoT-based connected university system allows for integration of multiple subsystems without the need to implement all of them in the same environment, thus enabling end-users to access multiple solutions through a single common interface. The implementation is based on microservice architecture, with the focus mainly on system robustness, scalability, and universality. In the system design, four subsystems are currently implemented, i.e., the subsystem for indoor navigation, the subsystem for parking assistants, the subsystem for smart classrooms or offices, and the subsystem for news aggregation from university life. The principles of all implemented subsystems, as well as the implementation of the system as a web interface and a mobile application, are presented in the paper. Moreover, the implementation of the indoor navigation subsystem that uses signals from Bluetooth beacons is described in detail. The paper also presents results proving the concept of the Bluetooth-based indoor navigation, taking into account different placements of nodes. The tests were performed in a real-world environment to evaluate the feasibility of the navigation module that utilizes deterministic fingerprinting algorithms to estimate the positions of users’ devices.
... In communication and information technology-related fields, the Internet of Things (IoT), as an emerging technology for smart interconnections, has been represented in recent years to link any object from anywhere at any time. It has been widely used in various areas such as manufacturing [1], agriculture [2], health [3], retail [4], military [5], and transportation [6]. IoT overcomes challenges in data mobility by the means of auspicious technologies such as cloud computing for different tasks, real-time applications, smart devices, and functional platforms to enable the availability of information/services and to improve the quality of human life as a facilitator and flourishing concept, especially in healthcare [7], energy systems [8], business development [9], and industrial performance [10]. ...
Article
Full-text available
Predictive maintenance (PdM) combines the Internet of Things (IoT) technologies with machine learning (ML) to predict probable failures, which leads to the necessity of maintenance for manufacturing equipment, providing the opportunity to solve the related problems and thus make adaptive decisions in a timely manner. However, a standard ML algorithm cannot be directly applied to a PdM dataset, which is highly imbalanced since, in most cases, signals correspond to normal rather than critical conditions. To deal with data imbalance, in this paper, a novel explainable ML method entitled "Balanced K-Star" based on the K-Star classification algorithm is proposed for PdM in an IoT-based manufacturing environment. Experiments conducted on a PdM dataset showed that the proposed Balanced K-Star method outperformed the standard K-Star method in terms of classification accuracy. The results also showed that the proposed method (98.75%) achieved higher accuracy than the state-of-the-art methods (91.74%) on the same data.
Article
The purpose of this paper is to disclose the social cause and effect links of the development of the agrarian AI economy and to determine the prospects for its sustainable development, i.e. optimisation of its social implications through change management. Based on the international statistics for 2022 and using the methods of regression, correlation, and trend analysis, we prove that, in combination with electronic infrastructure, expanded capabilities of the AI economy for social communications allow optimising its implications, i.e. ensuring its sustainable development. The paper's originality consists in a reconsideration of the agrarian AI economy from the position of society and description of its previously unknown—social—nature, and the development of a new approach to its sustainable development. The practical significance of the paper is that the developed approach to the management of the development of the agrarian AI economy will allow raising the effectiveness of this management and will maximise its contribution to the increase in the population’s quality of life and strengthening of food security. The scientific novelty of the authors’ conclusions lies in their discovering the essential difference between the social implications of the development of the AI economy in agriculture and these implications in other sectors. The research results showed that, unlike most other spheres, the development of the AI economy leads to an aggravation of social risks but to the creation of social advantages in agriculture. Given this conclusion, a unique approach for agriculture to sustainable development in the AI economy was developed—not through limitation but through stimulation of digitalisation with particular attention to technological support for the optimisation of social communications.
Article
Full-text available
Determining the actual temporal behavior of an IoT platform is of utmost importance as IoT systems are time-sensitive. IoT platforms play a central role in the operation of an IoT system, impacting the overall performance. As a result, initiating an IoT project without the exhaustive knowledge of such a core software piece may lead to a failed project if the finished systems do not meet the needed temporal response and scalability levels. Despite this fact, existing works on IoT software systems focus on the design and implementation of a particular system, providing a final evaluation as the validation. This is a risky approach as an incorrect decision on the core IoT platform may involve great monetary loss if the final evaluation proves that the system does not meet the expected validation criteria. To overcome this, we provide an evaluation process to determine the temporal behavior of IoT platforms to support early design decisions with respect to the appropriateness of the particular platform in its application as an IoT project. The process defines the steps towards the early evaluation of IoT platforms, ranging from the identification of the potential software items and the determination of the validation criteria to running the experiments and obtaining results. The process is exemplified on an exhaustive evaluation of a particular mainstream IoT platform for the case of a medical system for patient monitoring. In this time-sensitive scenario, results report the temporal behavior of the platform regarding the validation parameters expressed at the initial steps.
Article
Full-text available
The objectives of this paper is to design a Low-Cost Automatic Irrigation System that will help disadvantaged farmers save time and money. Agriculture is India's and many other countries' lifeblood. Agriculture in India is heavily reliant on rainwater, however rain alone is insufficient, thus underground water is used for irrigation in the agricultural area. The level of underground water is decreasing day by day. Poor management of water can happen due to over-irrigation in the field. Many areas are suffering from draughts. In several places, people have to travel many kilometers to get drinking water. Moreover, the electricity supply timings are very odd in fields. Because of this, farmers have to suffer so many sleepless nights. To effectively resolve these problems and to reduce human resources, modern technology can be used. One of the IoT applications is an innovative irrigation system. This article intends to build a system that automates the irrigation process while still giving farmers the option to manually turn the motor on or off by hitting a button on an Android app, hence reducing issues. The proposed system has been designed using Arduino uno, GSM Modules, Android Application and sensors such as temperature sensor and soil moisture sensor. The system offers a user-friendly interface for farmers and let them control the irrigation process automatically. The proposed system is cost-effective since the hardware required for implementation is inexpensive. It also does not necessitate any additional labour costs.
Article
Full-text available
The role of Agriculture is important to build a nation, since more than 58% of the population in our country is dependent on agriculture that means half of the population is investing in agriculture. However, many farmers are unfamiliar with intelligent irrigation systems designed to improve the water used for their crops. The proposed system is to precisely monitor the distribution of the water to crops. This IOT based system has a distributed wireless network of soil moisture sensors to monitor soil moisture. Other sensors such as temperature, humidity, rain, IR, LDR, foot. The gateway device also processes the detector’s information and transmits the data to the farmer. An algorithm was developed using threshold values for soil moisture and nutrients, and these values were programmed into a node com-based gateway to control water for irrigation. Complete sensor data is sent to the free cloud using NODEMCU and displayed on websites and apps. This proposed work presents extensive research on irrigation systems in smart agriculture.
Article
Full-text available
A low power wireless sensor network based on LoRaWAN protocol was designed with a focus on the IoT low-cost Precision Agriculture applications, such as greenhouse sensing and actuation. All subsystems used in this research are designed by using commercial components and free or open-source software libraries. The whole system was implemented to demonstrate the feasibility of a modular system built with cheap off-the-shelf components, including sensors. The experimental outputs were collected and stored in a database managed by a virtual machine running in a cloud service. The collected data can be visualized in real time by the user with a graphical interface. The reliability of the whole system was proven during a continued experiment with two natural soils, Loamy Sand and Silty Loam. Regarding soil parameters, the system performance has been compared with that of a reference sensor from Sentek. Measurements highlighted a good agreement for the temperature within the supposed accuracy of the adopted sensors and a non-constant sensitivity for the low-cost volumetric water contents (VWC) sensor. Finally, for the low-cost VWC sensor we implemented a novel procedure to optimize the parameters of the non-linear fitting equation correlating its analog voltage output with the reference VWC.
Article
Full-text available
Climate change is driving new solutions to manage water more efficiently. Such solutions involve the development of smart irrigation systems where Internet of Things (IoT) nodes are deployed throughout large areas. In addition, in the mentioned areas, wireless communications can be difficult due to the presence of obstacles and metallic objects that block electromagnetic wave propagation totally or partially. This article details the development of a smart irrigation system able to cover large urban areas thanks to the use of Low-Power Wide-Area Network (LPWAN) sensor nodes based on LoRa and LoRaWAN. IoT nodes collect soil temperature/moisture and air temperature data, and control water supply autonomously, either by making use of fog computing gateways or by relying on remote commands sent from a cloud. Since the selection of IoT node and gateway locations is essential to have good connectivity and to reduce energy consumption, this article uses an in-house 3D-ray launching radio-planning tool to determine the best locations in real scenarios. Specifically, this paper provides details on the modeling of a university campus, which includes elements like buildings, roads, green areas, or vehicles. In such a scenario, simulations and empirical measurements were performed for two different testbeds: a LoRaWAN testbed that operates at 868 MHz and a testbed based on LoRa with 433 MHz transceivers. All the measurements agree with the simulation results, showing the impact of shadowing effects and material features (e.g., permittivity, conductivity) in the electromagnetic propagation of near-ground and underground LoRaWAN communications. Higher RF power levels are observed for 433 MHz due to the higher transmitted power level and the lower radio propagation losses, and even in the worst gateway location, the received power level is higher than the sensitivity threshold (−148 dBm). Regarding water consumption, the provided estimations indicate that the proposed smart irrigation system is able to reduce roughly 23% of the amount of used water just by considering weather forecasts. The obtained results provide useful guidelines for future smart irrigation developers and show the radio planning tool accuracy, which allows for optimizing the sensor network topology and the overall performance of the network in terms of coverage, cost, and energy consumption.
Article
Agricultural Internet of Things (IoT) has brought new changes to agricultural production. It not only increases agricultural output but can also effectively improve the quality of agricultural products, reduce labor costs, increase farmers' income, and truly realize agricultural modernization and intelligence. This paper systematically summarizes the research status of agricultural IoT. Firstly, the current situation of agricultural IoT is illustrated and its system architecture is summarized. Then, the five key technologies of agricultural IoT are discussed in detail. Next, applications of agricultural IoT in five representative fields are introduced. Finally, the problems existing in agricultural IoT are analyzed and a forecast is given of the future development of agricultural IoT.
Article
- Villages are the back bone of our country. Agriculture is the main source of income. In our country, agriculture provides 18% of our country’s Gross Domestic Product (GDP). Our Government repeatedly highlighting the importance of innovations in the agriculture field through various schemes. Since our agriculture is largely depends on the irrigation system rather than natural rain, as an engineer it is our responsibility to atomize it with necessary optimization techniques. Our proposed work inculcates data control management, IoT, optimization and so on. Irrigation through atomized algorithm reduces time, money & water usage. In this period, this kind of atomization in each and every field utilizes all the recent technologies to implement its ideas beautifully.
Book
This book takes a deep dive into ubiquitous computing for applications in health, business, education, tourism, and transportation. The rich interdisciplinary contents of the book appeal to readers from diverse disciplines who aspire to create new and innovative research initiatives and applications in ubiquitous computing. Topics include condition monitoring and diagnostics; multi-objective optimization in design, multi-objective optimization of machining parameters, and more. The book benefits researchers, advanced students, as well as practitioners interested in applications of ubiquitous computing. • Features practical, tested applications in ubiquitous computing • Includes applications such as health, business, education, electronics, tourism, and transportation • Applicable to researchers, academics, students, and professionals