Next Article in Journal
Gait Analysis Using Accelerometry Data from a Single Smartphone: Agreement and Consistency between a Smartphone Application and Gold-Standard Gait Analysis System
Next Article in Special Issue
A Joint Resource Allocation, Security with Efficient Task Scheduling in Cloud Computing Using Hybrid Machine Learning Techniques
Previous Article in Journal
Self-Regulated Particle Swarm Multi-Task Optimization
Previous Article in Special Issue
Fault-Tolerant and Data-Intensive Resource Scheduling and Management for Scientific Applications in Cloud Computing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Edge Computing Driven Data Sensing Strategy in the Entire Crop Lifecycle for Smart Agriculture

College of Mechanical and Electrical Engineering, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
*
Author to whom correspondence should be addressed.
Submission received: 18 September 2021 / Revised: 1 November 2021 / Accepted: 4 November 2021 / Published: 11 November 2021
(This article belongs to the Special Issue Recent Advances in Big Data and Cloud Computing)

Abstract

:
In the context of smart agriculture, high-value data sensing in the entire crop lifecycle is fundamental for realizing crop cultivation control. However, the existing data sensing methods are deficient regarding the sensing data value, poor data correlation, and high data collection cost. The main problem for data sensing over the entire crop lifecycle is how to sense high-value data according to crop growth stage at a low cost. To solve this problem, a data sensing framework was developed by combining edge computing with the Internet of Things, and a novel data sensing strategy for the entire crop lifecycle is proposed in this paper. The proposed strategy includes four phases. In the first phase, the crop growth stage is divided by Gath-Geva (GG) fuzzy clustering, and the key growth parameters corresponding to the growth stage are extracted. In the second phase, based on the current crop growth information, a prediction method of the current crop growth stage is constructed by using a Tkagi-Sugneo (T-S) fuzzy neural network. In the third phase, based on Deng’s grey relational analysis method, the environmental sensing parameters of the corresponding crop growth stage are optimized. In the fourth phase, an adaptive sensing method of sensing nodes with effective sensing area constraints is established. Finally, based on the actual crop growth history data, the whole crop life cycle dataset is established to test the performance and prediction accuracy of the proposed method for crop growth stage division. Based on the historical data, the simulation data sensing environment is established. Then, the proposed algorithm is tested and compared with the traditional algorithms. The comparison results show that the proposed strategy can divide and predict a crop growth cycle with high accuracy. The proposed strategy can significantly reduce the sensing and data collection times and energy consumption and significantly improve the value of sensing data.

1. Introduction

In recent decades, in the background of the global population explosion, continuous urbanization, a sharp decrease in arable land area, and frequent extreme weather conditions, how to increase food production using limited land resources remains one of the most urgent and important issues in the agricultural field [1,2]. The Internet of Things (IoT), machine learning, artificial intelligence, unmanned aerial vehicles, and other new information technologies have been integrated into every part of modern agricultural production; the emergence and progress of new modern agricultural paradigms, such as smart agriculture, and unmanned farm have been greatly promoted [3,4,5,6,7]. The new agricultural paradigm centers on all data types during the entire lifecycle of crops and realizes detailed and intelligent control of agriculture. Therefore, how to complete fast and efficient sensing of crop and environmental parameters in different growth stages of crops has become an important basis for promoting the implementation and rapid progress of agricultural models.
After extensive academic and industry research, different frameworks and methods for crop data sensing have been proposed. In general, the following stages have been experienced. At first, the monitoring of related parameters of agricultural crops was mainly based on manual measurement of field parameters, such as soil temperature, humidity, and crop leaf area. However, this approach has the disadvantages of high labor intensity and low automation level [8]. With the introduction of sensor technology, wireless communication, and other technologies, this approach has entered the wireless-sensing stage based on static IoT. In other words, by deploying wireless sensing nodes with a small number of sensors in crop planting areas, agricultural IoT has been introduced to complete the crop parameters sensing [9]. However, the mentioned scheme still has a static monitoring system and a lack of mobility. To overcome these shortcomings, researchers have upgraded sensing nodes on the basis of the traditional IoT and introduced unmanned aerial vehicle (UAV) and multisensor systems. Agricultural data sensing has ushered in the current stage of multiparameter and mobile sensing [10,11].
Although agricultural wireless sensor networks (WSNs) have made significant progress in the field of agricultural data sensing, there has been little relevant research on entire crop lifecycle data sensing. At present, the field of agricultural data sensing faces the following challenges. The first challenge is the limited working time of the data sensing system due to limited energy. Despite advances in battery technology, the number of nodes used in the entire lifecycle of crops has significantly increased the types and size of sensing data. Sensing nodes have to deal with many tasks, but these nodes have relatively limited working time. The second challenge relates to the low density and relevance of the collected data. Although many parameters can be collected by a sensing network, different growth stages require different sensing data types. The existing methods do not consider the relevance between sensing data types and growth stages, hence, the collected data have low density and relevance. The third challenge relates to ignoring the overlapping area of sensing nodes. In traditional methods, a large number of sensing nodes are used. A large number of nodes means overlapping of sensing areas and redundancy of sensing data and, therefore, a decrease in the value of sensing data [12,13]. As a result, the sensing network has to spend more energy on collecting low-value data. The fourth challenge relates to the lack of intelligence of the current strategies. As the sensing nodes have low computing and storage capabilities, they can neither analyze sensing data nor adjust and optimize the sensing data type in realtime. Thus, it is urgent to develop new sensing frameworks and methods.
The abovementioned challenges of crop lifecycle data sensing of the traditional agricultural IoT require new solutions. To this end, a new crop parameter sensing framework was constructed by integrating edge computing and IoT, and an entire crop lifecycle data sensing strategy is proposed.
This study has three specific contributions to new knowledge about crop modeling. First, a lightweight entire crop lifecycle data sensing framework is proposed based on IoT and edge computing, and the data driven algorithms are used in the edge server to optimize sensing parameters and increase data values by reducing redundancy and enhancing the correlations between sensing data and crop growth stages; these algorithms can be found in Section 4.2Section 4.4. Second, the method of crop growth stage division and key feature selection and the crop growth stage prediction model based on a neural network are proposed. Third, an adaptive sensing method of sensing nodes is established.
Section 2 reviews related work on agricultural data sensing and edge computing. Section 3 introduces the new data sensing framework and working principle. Section 4 introduces the mathematical model and data sensing strategy. Section 5 presents the experimental results. Section 6 concludes the paper.

2. Related Work

2.1. Application of Edge Computing in Agriculture

With the advantages of being close to the equipment, good realtime performance, and strong computing capability, edge computing as a new computing paradigm has been highly used by academics, enterprises and in the agricultural field [14,15,16,17]. Caria et al. [18] constructed an intelligent pasture monitoring system for monitoring livestock and pasture environment based on edge computing, where an edge computing unit was designed using the raspberry PI as a computing module. Ferrández-Pastor et al. [19] designed a precision agriculture distributed computing framework based on the IoT by integrating edge computing and other new information technologies and conducted practical implementation and relevant experiments in greenhouses. Bu et al. [20] proposed an agricultural IoT framework integrating edge computing. The edge computing layer was used to monitor the working state of the sensors at the physical layer and compress sensing data. Debauche et al. [21] designed a platform for edge computing for monitoring a poultry breeding environment based on an Nvidia Jetson Nano microcomputing unit. In the abovementioned literature on edge computing, the location of computing resources is fixed, which makes it difficult to meet the needs of large-scale agricultural production. To overcome this limitation, mobile edge computing has been introduced [22,23]. Uddin designed an UAV mobile edge computing platform to meet the needs of large-scale farming [24]. However, the agricultural IoT frameworks based on edge computing and related primary applications are still in the initial stages  [25]. There have been few related studies on improving the parameter sensing performance and data value in the entire crop lifecycle using edge computing [26].

2.2. Data Sensing for Smart Agriculture

Agricultural data sensing is fundamental for optimizing field management and realizing precise agricultural control. Agricultural data collection has developed from manual field measuring to wireless automatic sensing, of which agricultural WSNs and agricultural IoTs are typical representatives [27,28]. Pallavi et al. [29] proposed a parameter remote sensing system based on agricultural IoT for greenhouses and realized intelligent opening and closing control of greenhouse windows considering sensing data. Happila et al. [30] built a remote crop monitoring platform based on a traditional agricultural sensor network by integrating cameras to monitor crops and their growth environment in real time. Cubero et al. [31] constructed a remote-controlled field robot equipped with color, multispectral, and hyperspectral cameras to detect diseases and insect pests on horticultural crops by using proximal sensing technology. Popescu et al. [32] proposed a hierarchical system based on the combination of UAV and WSNs for crop monitoring and parameter collection in precision agriculture. Marchese et al. [33] introduced the idea of integrating UAV, 5G, and an artificial satellite to construct a three-dimensional network for agricultural information collection. Munir et al. [34] introduced edge computing nodes between traditional agricultural IoT sensing nodes and remote servers to optimize irrigation sensing data. Furthermore, in [26], the authors proposed a new data sensing model based on high-performance edge computing to realize efficient unloading of data and smooth workflow optimization for monitoring crop soil environment.
The abovementioned studies have provided a necessary reference for agricultural parameter sensing, but there have been few related studies on the entire growth cycle of crops and parameter sensing optimization.

3. Agricultural Data Sensing Framework

3.1. Data Sensing Framework Structure

Combining the advantages of traditional IoT, sensors, and edge computing, a smart agricultural parameter sensing system was proposed, as shown in Figure 1. The proposed framework includes four layers: a sensing layer, an edge computing layer, a network layer, and an application layer. Specifically, the sensing layer is composed of multiple sensing nodes, which are equipped with a variety of sensors, and power, memory, microprocessing, and wireless communication modules. According to node functions, the sensing nodes in the proposed framework can be divided into crop monitoring nodes and environmental sensing nodes, which are used to sense crop growth and environmental parameters, respectively. The edge computing layer consists of multiple edge computing nodes, and to improve the working time of these nodes, they were equipped with rechargeable units. The network layer includes wired and wireless media, different communication protocols, and a variety of gateway, routing, and other equipment. This layer is responsible for connecting the sensing layer, edge computing layer, and application layer, and it provides communication between different layers and devices. The application layer is centered on the cloud server, including agricultural users and terminals, intelligent monitoring and control, and other applications and services. In particular, cluster topology is used to complete the networking in the sensing layer, and each cluster takes an edge computing node as a cluster head that manages the network resources of the cluster.

3.2. Working Principle

The proposed agricultural data sensing framework operation was divided into the following steps. First, based on the historical data, the cloud server established a crop expert system and classification standards for different stages of the entire lifecycle of crops, evaluated the crop growth indicators corresponding to each growth stage, and sorted the growth indicators according to their priority. At the same time, the environmental parameters under the main growth index of crops at different stages were analyzed regarding the correlation degree, and the environmental parameters with a high correlation degree at different growth stages were extracted as priority sensing environmental parameters. Second, an edge computing node obtained working parameters of the expert system and different nodes from the cloud server, drove the crop monitoring node to collect the current crop-related parameters periodically, such as sensing leaf area or stem height in different crop growth stages, at the preset frequencies, and collected the sensing data from different nodes. The edge computing node used an artificial neural network learning algorithm to identify the current growth stage and queried the key growth indicators of crops corresponding to the stage. The correlation degrees between the environmental parameters and growth indicators were calculated and the environmental parameters were sorted according to the correlation degrees. Third, the edge computing node selected the key feature parameters of crops and environmental parameters that met the sensing time constraint and selected the sensing node set with coverage and the number of nodes participating as the condition. Finally, the sensing nodes were driven to complete parameter sensing and upload the data to the edge computing node and cloud server.

4. System Model and Method

4.1. System Model

Based on the framework shown in Figure 1, the system model is introduced. In the monitoring region with a notation Λ , let A r Λ be the area of Λ and assume there were many sensor nodes deployed in Λ . The sensor nodes were organized into clusters. Let C = { c 1 , c 2 , c 3 , } be the sensing cluster set. Each cluster has an edge computing node and many sensor nodes, and each node can sense multiple parameters. All edge computing nodes have the same performance, structure, function, and performance. Let L = { l 1 , l 2 , l 3 , } be the growth stage set. For any cluster c C , in any growth stage l L , the sensing data type set can be divided into the crop growth index set and environmental parameter set Z = { z 1 , z 2 , z 3 , } .
Assume that the value vector of the environmental parameters is expressed as V ( z ) = ( v 1 , v 2 , v 3 , ) ; then, it is easy to obtain the total data value of environmental parameters as follows:
V ( Z ) = j f v ( z j ) ,
where v ( z j ) denotes the jth environmental parameter value.
Definition 1.
Effective sensing area ( A r v ) represents the difference between the total sensing area ( A r M ) and overlapping sensing areas ( A r o v e r ) , which can be expressed as follows:
A r v = A r M A r o v e r .
According to Definition 1, the effective value of the sensing environment data ( V ( c , Z ) ) can be obtained as:
V ( c , Z ) = A r v A r Λ V ( Z ) .
Without loss of generality, for a cluster c in a growth stage l , the numbers of sensing nodes of the crop growth index and environmental parameters are denoted by g and q, and the numbers of the corresponding sensing parameters are denoted by h and f, respectively. Therefore, the sensing times of crop index ( t ( X ) ) and environmental parameters t ( Z ) can be, respectively, calculated by:
t ( X ) = i h t ( x i ) ,
t ( Z ) = j f t ( z j ) ,
where t ( x i ) and t ( z j ) represent the sensing time of the ith crop growth index and the jth environmental parameter, respectively.
Assume that the communication rate is v c , then the total data collection times of crop growth indexes and environmental parameters can be, respectively, computed as:
t c ( x ) = g · i h d s ( x i ) v c + t ( X ) ,
t c ( Z ) = q · j f d s ( z j ) v c + t ( Z ) ,
where d s ( x i ) and d s ( z j ) represent the data sizes of the ith crop growth index and the jth environmental parameter, respectively.
Then, the main problem can be defined as how to sense data with the highest total value at a given time. Furthermore, according to the sensing data type, this problem can be decomposed into how to obtain the crop growth index data and environmental parameter data with the maximum value under the time constraint.

4.2. Division of Crop Growth Stages and Selection of Key Features Based on GG Fuzzy Clustering

4.2.1. Division of Crop Growth Stages

To realize fine division of the crop growth cycle and to improve the information value of sensing data, a method of crop growth stage division was developed based on GG fuzzy clustering [35]. It was assumed that the collected crop growth index data can be divided into n time slots; then, the historical data set of its time series can be defined as X L = { X L 1 , X L 2 , , X L n } . Furthermore, the growth stage can be divided into k ( 2 k n ) stages. The X L j X L is the jth slot crop growth index vector with h growth parameters. The partition matrix is given as U = [ u i j ] k × n , where i = 1 , 2 , , k ; j = 1 , 2 , , n , and u i j [ 0 , 1 ] is the membership degree of the jth time slot crop growth index belonging to the ith growth stage. The cluster center set is expressed as C O = { c o 1 , c o 2 , , c o k } . In addition, a classification coefficient and average fuzzy entropy were used to evaluate the clustering effect.
Definition 2.
Classification coefficient (CC) is defined as the square mean value of membership degree and is calculated by (8). The closer the classification coefficient is to one, the better the clustering effect is.
α = 1 n i k j n u i j
Definition 3.
Average fuzzy entropy (AFE) is defined as an information entropy contained in the membership degree distribution, and it is calculated by (9). The closer the average fuzzy entropy is to zero, the better the clustering effect is.
β = 1 n i k j n u i j ln u i j
Based on the above assumptions and definitions, the division algorithm of crop growth stages based on GG fuzzy clustering included the following steps:
  • Step 1: Set the terminal parameter ε ( ε > 0 ) ; initialize randomly the partition matrix U k × n 0 ; set the cluster number k = 2, the number of iterations ς ( ς = 1 , 2 , 3 , ) , and fuzzy weighting parameter m ( 1 , + ) .
  • Step 2: Calculate the clustering center by:
    c o j ς = i = 1 n ( u i j ( ς 1 ) ) m X L i / i = 1 n ( u i j ( ς 1 ) ) m .
  • Step 3: Calculate the covariance matrix and prior probability of each cluster, respectively, by:
    B j ( ς ) = i = 1 n u i j ( ς 1 ) ( X L i c o j ( t ) ) ( X L i c o j ( t ) ) T / i = 1 n u i j ( ς 1 ) ; 1 j k ,
    P j ς = i = 1 n ( u i j ( ς 1 ) ) / n .
  • Step 4: Calculate the fuzzy maximum likelihood distance by:
    D ( X L i , c o j ) B j = det ( B j ) exp [ ( X L i c o j ς ) T B j 1 ( X L i c o j ς ) / 2 ] / p j .
  • Step 5: Update the matrix by:
    u i j ς = 1 / η = 1 k ( D ( X L i , c j ) B j / D ( X L i , c η ) B j ) 2 / ( m 1 ) .
  • Step 6: Repeat Steps 2–5; update the partition matrix, and when | U ς U ς 1 | | < ε , stop updating. Then, calculate CC and AFE.
  • Step 7: Increase k by one, k = k++; repeat Steps 2–6, and when k = n , stop repeating. Search for the division results corresponding to optimal CC and AFE.
  • Step 8: According to the optimal clustering results, calculate the corresponding growth stage division of crops L = { l 1 , l 2 , l 3 , , l k } and growth index time series set.
To this point, the growth stage of the entire crop lifecycle can be obtained by the method based on historical data.

4.2.2. Key Features Selection

Without loss of generality, X L ( λ , l ) = { x l λ 1 , x l λ 2 , , x l λ η } is the time series data of the λ th ( λ h ) standardized crop growth index with η ( 1 η n ) time slots. Variance is used to represent the change in the growth index vector in the growth stage; the greater the variance is, the greater the change in the crop growth index in that stage will be. Therefore, the variance of X L ( λ , l ) can be obtained by:
σ 2 ( λ , l ) = ( x l λ i μ ( λ , l ) ) 2 η ,
where x l λ i X L ( λ , l ) ( 1 i η ) is the ith variable and μ ( λ , l ) is the mean value. Repeat the above steps to obtain the variance vector Δ = { σ 1 2 , σ 2 2 , , σ h 2 } of h crop growth indicators in stage l of crop growth. Then, the crop indexes that meet the condition (16) are selected as key features corresponding to growth stage l.
σ j 2 > θ ( σ j 2 Δ )
In (16), θ denotes the variance boundary condition.
Finally, sort the key features in order from the largest to the smallest and obtain the key features vector with the priorities decreasing in sequence X ( l ) ¯ = { x 1 ¯ , x 2 ¯ , x 3 ¯ , } .

4.3. Crop Growth Stage Prediction Based on a Neural Network

This section considers the specific growth stage prediction using the current sensing data and selecting the crop growth sensing parameter with a time constraint. First, all crop parameters were collected. Then, the growth stage prediction was performed using a neural network. Finally, the crop growth sensing parameter with the time constraint was selected.
A T-S fuzzy neural network (T-S FNN) [36] was adopted for predicting the growth stage. The T-S FNN network uses the “if-then” rule, which is defined as follows:
R i : if x 1 is A 1 i , x 2 is A 2 i , x 3 is A 3 i then y i = p 0 i + p 1 i x 1 + p 2 i x 2 + p 3 i x 3 + ,
where A j i denotes the fuzzy set, p j i ( j = 1 , 2 , , h ) is a set of fuzzy parameters, and y i the fuzzy output.
Antecedent network fuzzy layer design: Let x = [ x 1 , x 2 , , x h ] be the sensing data for all indicators of collected crops. The membership degree of input x j is calculated using the Gaussian function as follows:
μ A j i = exp ( ( x j o j i ) 2 / b j i ) ( 1 j h ; 1 i N ) ,
where o j i and b j i denote the center and width of the membership function, respectively; N is the number of fuzzy subsets.
The fuzzy calculation is performed for each membership degree, and the applicability of each fuzzy rule is obtained by using fuzzy operator as a multiplication operator, as follows:
ω i = j = 1 h μ A j i ( x j ) .
The normalized output value y i of the fuzzy model is calculated according to the fuzzy calculation results by:
y i = i = 1 N ω i ( p 0 i + p 1 i x 1 + + p h i x h ) .
Posterior network parameter adjustment: The learning process of the T-S FNN is as follows.
(1) Error calculation: y d and y T S are the expected and real outputs of the T-S FNN, respectively. The error e can be calculated by:
e = 1 2 ( y d y T S ) 2 .
(2) FNN parameters update: The FNN parameters are updated by:
p j i ( ϑ ) = p j i ( ϑ 1 ) e p j i ,
e p j i = ( y d y c ) ω i i = 1 N ω i x j ,
where p j i denotes the FNN parameters, is the learning rate, and ϑ is the training time.
(3) Modification of membership degree function parameter: Let o j i and b j i be the center and width of the membership degree function, respectively; γ is the learning momentum coefficient. The modification of the membership degree function parameter can be defined as:
o j i ( ϑ ) = o j i ( ϑ 1 ) γ e o j i ,
b j i ( ϑ ) = b j i ( ϑ 1 ) γ e b j i ·
The structure of a fuzzy neural network used for predicting crop growth stage is shown in Figure 2. After training and testing, a stable T-S fuzzy neural network was obtained. The obtained network was consistent with the actual crop growth stage division and evaluation, and it was downloaded to each edge computing node.
The edge computing node uses the T-S FNN to predict the growth stage and to obtain the current growth stage l L and the corresponding growth parameters X ( l ) ¯ = { x 1 ¯ , x 2 ¯ , x 3 ¯ , } . Then, the sensing parameters X ˙ ( l ) = { x ˙ 1 , x ˙ 2 , x ˙ 3 , } of each node with the time constraint are obtained by:
X ˙ ( l ) = { x ¯ i | i h t ( x ¯ i ) t lim ( X , l ) } ,
where t lim ( X , l ) is the time constraint for sensing the growth index in the growth stage l.

4.4. Environmental Sensing Parameter Optimization Based on Deng’s Grey Correlation Analysis

Since there are many environmental parameters of crop growth, direct selection of key environmental parameters affects the sensing data value. Therefore, based on the grey correlation analysis [37], the correlation degree between different growth indicators and environmental factors was calculated to obtain the environmental factors with the greatest influence.
Further, X 0 = { x 0 ( τ ) , τ = 1 , 2 , , n } is the crop growth index data of n time slots, and it represents the reference sequence; Z i = { z i ( τ ) , τ = 1 , 2 , , n } is the environment data of n time slots, and it represents the comparison sequence. Therefore, the grey correlation coefficient ξ between x 0 ( τ ) and z i ( τ ) can be calculated by:
ξ ( z 0 ( τ ) , x i ( τ ) ) = min i min i | x 0 ( τ ) z i ( τ ) | + ρ max i max i | x 0 ( τ ) z i ( τ ) | | x 0 ( τ ) z i ( τ ) | + ρ max i max i | x 0 ( τ ) z i ( τ ) | ,
where ρ [ 0 , 1 ] is the resolution parameter. The degree of grey correlation (DGC) between X 0 and Z i is obtained as:
ζ ( X 0 , Z i ) = 1 n τ = 1 n ξ ( x 0 ( τ ) , z i ( τ ) ) .
The closer the DGC value is to one, the better the correlation between the environmental parameter and crop growth index will be. However, the abovementioned methods consider only the correlation between a certain index and environmental parameters. In practical applications, the priority of crop indicators must be considered. For this reason, the weight of the crop growth index was considered to optimize the grey correlation degree; X ˙ j is the growth index set of stage l; the growth index weight degree of grey correlation (GIW-DGC) between X ˙ j and Z i can be obtained as:
ζ ( X ˙ j , Z i ) = σ 2 ( X ˙ j ) j = 1 | X ˙ ( l ) | σ 2 ( X ˙ ) · 1 n τ = 1 n ξ ( x j ( τ ) , z i ( τ ) ) ·
The edge computing nodes repeat the above-presented steps to obtain the GIW-DGC between X ( l ) ¯ = { x 1 ¯ , x 2 ¯ , x 3 ¯ , } and all environmental parameters. Then, the GIW-DGC is ranked, and the environmental parameters to sense are selected. The details of the method are given in Algorithm 1.
Algorithm 1: Environmental parameter selection based on grey correlation analysis
Sensors 21 07502 i001
First, edge computing nodes drove the sensor nodes to sense h crops’ growth index x ( current ) = [ x 1 , x 2 , , x h ] . Then, edge computing used the T-S FNN model to predict the growth stage l and the corresponding key growth feature X ( l ) ¯ . Second, the sensing parameter type X ˙ was selected from while meeting the constraint ( t ( X ( l ) ¯ ) t lim ( X , l ) ). Third, we selected Z ( X ˙ , l ) from the historical data set DH. Next, we computed and sorted the GIW-DGC between X ˙ and Z ( X ˙ , l ) . Then, we selected the greatest GIW-DGC as the sensing environmental parameters successively until meeting the time constraint T s e . Finally, the parameters were updated, and the results were returned.

4.5. Adaptive Sensing with Effective Sensing Area Constraint

In the previous section, the set of crop growth sensing parameter type X ˙ and the sensing time environmental parameters Z ( T s e , l ) of a growth stage l were obtained. Next, the adaptive sensing with effective sensing area constraint is introduced for sensing nodes. Let S ( c ) = { s 1 , s 2 , s 3 , } be the sensor set in a sensor node cluster c, the set of node sensing times N = { n 1 , n 2 , n 3 , } , and the location set P = { ( x 1 , y 1 ) , ( x 2 , y 2 ) , } . For a sensor node s S ( c ) , its location is ( x , y ) and its sensing time is n .
Assume that the set of selected sensing nodes set is S ˙ = { s ˙ 1 , s ˙ 2 , s ˙ 3 , } , and the set of candidate sensing nodes is S left = S ( c ) S ˙ . Then, the centroid ( x ˙ , y ˙ ) coordinates of S ˙ can be obtained as follows:
x ˙ = i | S ˙ | x i | S ˙ | , y ˙ = i | S ˙ | y i | S ˙ | .
The distance between s left ( s left S left ) and ( x ˙ , y ˙ ) can be obtained by:
d ( s left , S ˙ ) = ( x lef t x ˙ ) 2 + ( y left y ˙ ) 2 ,
where s left is the candidate sensor node and ( x lef t , y left ) indicates its location.
By repeating (31), the distance set D ( S left , S ˙ ) between all members of S left and the centroid can be obtained, and the set of sensing times of the candidate sensor node N ( S left ) can be obtained. Further, we can denote the normalized results of D ( S left , S ˙ ) and N ( S left ) , respectively. The score g d ( s left ) of s left can be obtained by:
g d ( s left ) = d ¯ ( s left , S ˙ ) d ¯ max + n ¯ min n ¯ ( s left ) ,
where n ¯ min is the minimum value of N ¯ ( S left ) .
Repeating the above steps, the maximum value score g d max and the corresponding sensor node s left ( g d max ) can be obtained. Then, the related sets are updated by S left = S left s left ( g d max ) and S ˙ = S ˙ + s left ( g d max ) . The above steps are included in the nodeSearch(•) function. According to (2), an effective sensing area A r v ( S ˙ ) of S ˙ can be obtained. The updating process of S ˙ stops when the following condition is met:
A r v ( S ˙ ) A r lim ,
where A r lim is the minimum effective sensing area in a particular application. According to the aforementioned parameters and steps, the method that is shown in Algorithm 2 can be constructed to complete adaptive sensing for the sensor nodes.
The specific steps are as follows. First, input the set and parameters S ( c ) , N , P , l, A r lim , and then initialize S ˙ , S left , and other parameters. Second, choose the first sensor node corresponding to the minimum sensing time to join the selected node set S ˙ . Third, invoke the nodeSearch(•) function to return s left ( g d max ) to join S ˙ . Meanwhile, calculate A r v ( S ˙ ) and determine whether it meets the constraint. Fourth, repeat Step 3 until A r v ( S ˙ ) A r lim . Then, update N and S ˙ . Finally, the edge computing nodes establish wireless connections with selected sensing nodes and drive the selected nodes’ complete parameter N sensing and upload to the edge server. The proposed method is applicable to both environmental parameters and crop growth index parameters.
Algorithm 2:An adaptive working strategy of sensing nodes with effective sensing area constraints
Sensors 21 07502 i002

5. Experimental Results

5.1. Experimental Setup and Parameters

In the experiment, the growth indexes and environmental parameters of lettuce in the whole growth cycle were considered, and 1500 historical datasets were established. The data were randomly divided into three groups of data at different growth stages (I(20); II(30); III(20)) and used as test data. Based on the dataset, relevant parameter (crop and environmental parameters) values were selected. The crop parameters were leaf number, leaf area, stem height, leaf color, and so on. The environmental parameters contained air humidity, air temperature, light intensity, soil humidity, soil temperature, soil nitrogen, phosphorus, and potassium. The simulation experiment of the lettuce growth and environmental parameters was performed.
To simplify the experiment, the data sensing experiments were performed with the objective of gathering the environmental parameters, and the crop growing area was established within 100 mm × 100 mm. Further, 200 sensing nodes and one edge computing node were randomly selected as a cluster. Each sensor node could sense 10 environmental parameters. It was assumed that the hardware and software structures of sensor nodes were the same, and the sensing time of each parameter was 3 s, according to the average value in the real application. The data size of each environmental parameter was 10 b, the effective sensing area constraint was 70% of the experiment area, and the sensing time constraint was 12 s. The details of the experimental parameters are given in Table 1.

5.2. Results and Analysis

(1) Classification coefficient (CC) and average fuzzy entropy (AFE): Based on the historical data, fuzzy clustering (FCM), K-means clustering (K-means), and GG-fuzzy clustering (GG-FC) were used to classify the growth stages. Then, the classification coefficient and average fuzzy entropy of different methods were calculated to evaluate the growth stage classification results. The results are shown in Figure 3, where it can be seen that the classification coefficient of the GG-FC was close to one, exceeding 99%; it means that the proposed method has a better division effect in crop growth stages than the others. Meanwhile, its average fuzzy entropy was less than 0.1. The results show that the proposed method had the best effect on the division of lettuce growth stages among all the methods. At the same time, the FCM classification coefficient was higher than the others; K-means performed the worst among all the methods. The average fuzzy entropy results were similar. Thus, the proposed GG fuzzy clustering method can be used to classify growth stages according to crop growth indicators. The proposed method can provide support for later optimization of data collection.
(2) Prediction accuracy of crop growth stage: The K-nearest neighbor algorithm (K-NN), BP neural network (BP-NN), and the proposed T-S FNN proposed were trained using the historical data collected in the experiment. Three groups of data at different growth stages were randomly selected (I(20); II(30); III(20)), the prediction verification was performed, and the prediction accuracy of the crop growth stage was calculated; the results are shown in Figure 4.
As shown in Figure 4, the prediction accuracy of the T-S FNN, BP-NN, and K-NN for the crop growth stage in the three test sets exceeded 96%, 80%, and 70%, respectively. The proposed T-S FNN prediction model had the highest prediction accuracy among all models, followed by the BP-NN and K-NN. The T-S FNN model could predict crop growth stage with high accuracy and could meet the actual requirement of more than 95% accuracy.
(3) Sensing time and data collection time: As described in the related work section, there are few relevant studies on data sensing for high-value data in the entire crop lifecycle. Therefore, we divided the related sensing methods into two categories: all nodes and sensors (ANS) [28,30] and partial nodes and sensors (PFSN) [34,38]; then we chose the two methods for comparison. Under the same simulation network conditions and parameters, the experiment was performed using commonly used data sensing methods, (ANS), (PNS), and the adaptive sensing method of sensor nodes with effective area constraints (ASM). The sensing time and data collection time of different methods were obtained. The data sensing time of the three methods is shown in Figure 5, where it can be seen that as the sensing time of a single sensor increased, the corresponding sensing time of the three methods increased accordingly. The total sensing time of ASM increased significantly. The single sensor sensing time (SST) directly affected the whole sensing time of each node. However, under different SST levels, the total sensing time corresponding to the ASM method was the minimum, especially when SST was equal to 1 s; compared with ANS and PNS, the sensing time can be reduced by about 60% and 40%, respectively. The reason was that the ASM optimized the sensors involved in the data sensing work according to the crop growth stage and reduced the number of the corresponding sensors.
The results of data collection time, including sensing time and data transmission time, for completing data collection under different communication rates in the network cluster are presented in Figure 6. As shown in Figure 6, with the continuous increase in the communication rate, the data collection time corresponding to the three schemes generally presented a downward trend. In other words, the higher the communication rate was, the shorter the data collection time was. Under the communication rate range of 100–300 b/s, the falling range (the Max collection time to the Min collection time) of the ANS was the largest, followed by those of the PNS and ASM, which was due to the small proportion of number sensing time under these conditions. Furthermore, the ASM selected nodes and sensors that were aware of the correlation analysis degree and optimized the number of nodes based on the constraint condition of the effective sensing area. Therefore, the ASM had the minimum data collection time at all communication rates. Even when the communication rate was 100 b/s, the sensing times of the ASM, PNS, and ANS were 7.6 s, 15 s, and 30 s, respectively; thus, the ASM still had minimal data collection time.
(4) Data value under different indicators: Based on the current growth stage of crops, under the constraints of sensing time, the data values of 10 sensing environmental parameters were scored by a percentage system. Then, the total value of sensing data (TDV), the data value of sensing time per unit (P-DV/ST), the data value of sensing node per unit (P-DV/NS), and the data value of effective sensing area per unit (P-DV/EA) under different indicators were calculated for the data collected in the three schemes, and the obtained results are shown in Table 2.

6. Conclusions

Smart agriculture requires a monitoring system to collect high-value data for the entire crop lifecycle in the context of big data at low cost. Therefore, a data collection framework was constructed by integrating sensors, edge computing, and IoT, and a data sensing strategy for the entire crop lifecycle based on edge computing was presented for improving the data value and decreasing the data collection cost. The strategy was divided into four parts, as follows: the GG fuzzy clustering crop growth stage division and key growth feature selection, current crop growth stage prediction by the T-S FNN, environmental sensing parameter optimization based on Deng’s grey correlation analysis, and adaptive sensing with effective sensing area constraint. Finally, the comparison results were obtained from an experiment. Experimental results verified that the proposed strategy can effectively divide the growth stages of the entire lifecycle, predict the current crop growth stage accurately, reduce the time of data sensing and collection, and improve the value of sensing data.
In the future, the proposed methods can be applied in practical experiments to adjust related parameters, and verify the effectiveness of the real application.

Author Contributions

Conceptualization, R.Z.; writing—original draft preparation, X.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Natural Science Foundation of Guangdong Province of China under Grant 2019A1515011346, 2021 Agricultural Science and Technology Innovation and Promotion System Construction Project of Department of Agriculture and Rural Affairs of Guangdong Province in China under Grant 2021KJ271, Guangzhou Science and Technology Project under Grant 202002030092.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the privacy policy of the organization.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Molotoks, A.; Smith, P.; Dawson, T.P. Impacts of land use, population, and climate change on global food security. Food Energy Secur. 2021, 10, e261. [Google Scholar] [CrossRef]
  2. Tomiyama, J.M.; Takagi, D.; Kantar, M.B. The effect of acute and chronic food shortage on human population equilibrium in a subsistence setting. Agric. Food Secur. 2020, 9, 6. [Google Scholar] [CrossRef]
  3. Li, X.; Ma, Z.; Zheng, J.; Liu, Y.; Zhu, L.; Zhou, N. An effective edge-assisted data collection approach for critical events in the SDWSN-based agricultural internet of things. Electronics 2020, 9, 907. [Google Scholar] [CrossRef]
  4. López, A.; Jurado, J.M.; Ogayar, C.J.; Feito, F.R. A framework for registering UAV-based imagery for crop-tracking in Precision Agriculture. Int. J. Appl. Earth Obs. Geoinf. 2021, 97, 102274. [Google Scholar] [CrossRef]
  5. Li, X.; Zhu, L.; Chu, X.; Fu, H. Edge computing-enabled wireless sensor networks for multiple data collection tasks in smart agriculture. J. Sens. 2020, 2020, 4398061. [Google Scholar] [CrossRef]
  6. Gupta, N.; Khosravy, M.; Patel, N.; Dey, N.; Gupta, S.; Darbari, H.; Crespo, R.G. Economic data analytic AI technique on IoT edge devices for health monitoring of agriculture machines. Appl. Intell. 2020, 50, 3990–4016. [Google Scholar] [CrossRef]
  7. Li, X.; Ma, Z.; Chu, X.; Liu, Y. A cloud-assisted region monitoring strategy of mobile robot in smart greenhouse. Mob. Inf. Syst. 2019, 2019, 5846232. [Google Scholar] [CrossRef]
  8. Zhu, Y.; Song, J.; Dong, F. Applications of wireless sensor network in the agriculture environment monitoring. Procedia Eng. 2011, 16, 608–614. [Google Scholar] [CrossRef] [Green Version]
  9. Awasthi, A.; Reddy, S.R.N. Monitoring for precision agriculture using wireless sensor network—A review. Glob. J. Comput. Sci. Technol. 2013, 13, 7-E. [Google Scholar]
  10. Cao, H.; Liu, Y.; Yue, X.; Zhu, W. Cloud-assisted UAV data collection for multiple emerging events in distributed WSNs. Sensors 2017, 17, 1818. [Google Scholar] [CrossRef] [PubMed]
  11. Tokekar, P.; Vander Hook, J.; Mulla, D.; Isler, V. Sensor planning for a symbiotic UAV and UGV system for precision agriculture. IEEE Trans. Robot. 2016, 32, 1498–1511. [Google Scholar] [CrossRef]
  12. More, A.; Raisinghani, V. A survey on energy efficient coverage protocols in wireless sensor networks. J. King Saud Univ.-Comput. Inf. Sci. 2017, 29, 428–448. [Google Scholar] [CrossRef] [Green Version]
  13. Kumar, S.; Chaurasiya, V.K. A strategy for elimination of data redundancy in internet of things (IoT) based wireless sensor network (wsn). IEEE Syst. J. 2018, 13, 1650–1657. [Google Scholar] [CrossRef]
  14. Ahmed, E.; Ahmed, A.; Yaqoob, I.; Shuja, J.; Gani, A.; Imran, M.; Shoaib, M. Bringing computation closer toward the user network: Is edge computing the solution? IEEE Commun. Mag. 2017, 55, 138–144. [Google Scholar] [CrossRef]
  15. Mao, Y.; You, C.; Zhang, J.; Huang, K.; Letaief, K.B. A survey on mobile edge computing: The communication perspective. IEEE Commun. Surv. Tutor. 2017, 19, 2322–2358. [Google Scholar] [CrossRef] [Green Version]
  16. Shahzadi, S.; Iqbal, M.; Dagiuklas, T.; Qayyum, Z.U. Multi-access edge computing: Open issues, challenges and future perspectives. J. Cloud Comput. 2017, 6, 30. [Google Scholar] [CrossRef]
  17. Wan, J.; Li, X.; Dai, H.N.; Kusiak, A.; Martínez-García, M.; Li, D. Artificial-intelligence-driven customized manufacturing factory: Key technologies, applications, and challenges. Proc. IEEE 2020, 109, 377–398. [Google Scholar] [CrossRef]
  18. Caria, M.; Schudrowitz, J.; Jukan, A.; Kemper, N. Smart farm computing systems for animal welfare monitoring. In Proceedings of the 2017 40th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 22–26 May 2017; pp. 152–157. [Google Scholar]
  19. Ferrández-Pastor, F.J.; García-Chamizo, J.M.; Nieto-Hidalgo, M.; Mora-Martínez, J. Precision agriculture design method using a distributed computing architecture on internet of things context. Sensors 2018, 18, 1731. [Google Scholar] [CrossRef] [Green Version]
  20. Bu, F.; Wang, X. A smart agriculture IoT system based on deep reinforcement learning. Future Gener. Comput. Syst. 2019, 99, 500–507. [Google Scholar] [CrossRef]
  21. Debauche, O.; Mahmoudi, S.; Mahmoudi, S.A.; Manneback, P.; Bindelle, J.; Lebeau, F. Edge computing and artificial intelligence for real-time poultry monitoring. Procedia Comput. Sci. 2020, 175, 534–541. [Google Scholar] [CrossRef]
  22. Zhang, K.; Leng, S.; He, Y.; Maharjan, S.; Zhang, Y. Mobile Edge Computing and Networking for Green and Low-Latency Internet of Things. IEEE Commun. Mag. 2018, 56, 39–45. [Google Scholar] [CrossRef]
  23. Fan, D.H.; Gao, S. The application of mobile edge computing in agricultural water monitoring system. IOP Conf. Ser. Earth Environ. Sci. 2018, 191, 012015. [Google Scholar] [CrossRef]
  24. Uddin, M.A.; Ayaz, M.; Mansour, A.; Sharif, Z.; Razzak, I. Cloud-connected flying edge computing for smart agriculture. Peer-to-Peer Netw. Appl. 2021, 14, 3405–3415. [Google Scholar] [CrossRef]
  25. O’Grady, M.J.; Langton, D.; O’Hare, G.M.P. Edge computing: A tractable model for smart agriculture? Artif. Intell. Agric. 2019, 3, 42–51. [Google Scholar] [CrossRef]
  26. Akhtar, M.N.; Shaikh, A.J.; Khan, A.; Awais, H.; Bakar, E.A.; Othman, A.R. Smart Sensing with Edge Computing in Precision Agriculture for Soil Assessment and Heavy Metal Monitoring: A Review. Agriculture 2021, 11, 475. [Google Scholar] [CrossRef]
  27. Kumar, R.; Mishra, R.; Gupta, H.P.; Dutta, T. Smart Sensing for Agriculture: Applications, Advancements, and Challenges. IEEE Consum. Electron. Mag. 2021, 10, 51–56. [Google Scholar] [CrossRef]
  28. Gomathi, N.; Jagtap, M.A.M. Smart Agriculture System Towards Iot Based Wireless Sensor Network. Turk. J. Comput. Math. Educ. 2021, 12, 4133–4150. [Google Scholar]
  29. Pallavi, S.; Mallapur, J.D.; Bendigeri, K.Y. Remote sensing and controlling of greenhouse agriculture parameters based on IoT. In Proceedings of the 2017 International Conference on Big Data, IoT and Data Science (BID), Pune, India, 20–22 December 2017; pp. 44–48. [Google Scholar]
  30. Happila, T.; Abinanthan, K.; Guhan, P.S.; Subaash, R.; Yogesh, P.M. Smart Agriculture System Using IoT for Sensing and Surveillance of Crops. Ann. Rom. Soc. Cell Biol. 2021, 25, 664–672. [Google Scholar]
  31. Cubero, S.; Marco-Noales, E.; Aleixos, N.; Barbé, S.; Blasco, J. Robhortic: A field robot to detect pests and diseases in horticultural crops by proximal sensing. Agriculture 2020, 10, 276. [Google Scholar] [CrossRef]
  32. Popescu, D.; Stoican, F.; Stamatescu, G.; Ichim, L.; Dragana, C. Advanced UAV–WSN system for intelligent monitoring in precision agriculture. Sensors 2020, 20, 817. [Google Scholar] [CrossRef] [Green Version]
  33. Marchese, M.; Moheddine, A.; Patrone, F. IoT and UAV integration in 5G hybrid terrestrial-satellite networks. Sensors 2019, 19, 3704. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Munir, M.S.; Bajwa, S.; Ashraf, A.; Anwar, W.; Rashid, R. Intelligent and Smart Irrigation System Using Edge Computing and IoT. Complexity 2021, 2021, 6691571. [Google Scholar] [CrossRef]
  35. Wu, X.; Zhou, H.; Wu, B.; Zhang, T. A possibilistic fuzzy Gath-Geva clustering algorithm using the exponential distance. Expert Syst. Appl. 2021, 184, 115550. [Google Scholar] [CrossRef]
  36. Zhang, S.; Jiang, H.; Yin, Y.; Xiao, W.; Zhao, B. The Prediction of the Gas Utilization Ratio based on TS Fuzzy Neural Network and Particle Swarm Optimization. Sensors 2018, 18, 625. [Google Scholar] [CrossRef] [Green Version]
  37. Fangfang, W. Research on the Model and Application Progress Based on Grey Relational Analysis Theory. Adv. Educ. Technol. Psychol. 2021, 5, 30–35. [Google Scholar]
  38. Dong, M.; Ota, K.; Liu, A. RMER: Reliable and energy-efficient data collection for large-scale wireless sensor networks. IEEE Internet Things J. 2016, 3, 511–519. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The data sensing framework for the entire crop lifecycle based on IoT and edge computing.
Figure 1. The data sensing framework for the entire crop lifecycle based on IoT and edge computing.
Sensors 21 07502 g001
Figure 2. The T-S FNN structure for predicting the crop growth stage.
Figure 2. The T-S FNN structure for predicting the crop growth stage.
Sensors 21 07502 g002
Figure 3. The results of CC and AFE in different methods.
Figure 3. The results of CC and AFE in different methods.
Sensors 21 07502 g003
Figure 4. The prediction accuracy of crop growth stage in different methods.
Figure 4. The prediction accuracy of crop growth stage in different methods.
Sensors 21 07502 g004
Figure 5. The results of sensing time in different methods.
Figure 5. The results of sensing time in different methods.
Sensors 21 07502 g005
Figure 6. The results of data collection time in different communication rates.
Figure 6. The results of data collection time in different communication rates.
Sensors 21 07502 g006
Table 1. Experiment parameters.
Table 1. Experiment parameters.
ParameterValueDescription
q20The number of sensor nodes
f10The sensor number of a node
t ( z ) 0.1–3 sThe sensing time of a sensor
v c 10–100 b/sThe communication rate
d s ( z ) 10 bThe data size of a sensor
T s e 12 sThe sensing time constraint
A r lim 7000 m × mThe effective sensing area
Table 2. The data value indicators of different methods.
Table 2. The data value indicators of different methods.
IndexANSPNSASM
TDV227.20270.00340.00
P-DV/ST18.9339.1349.28
P-DV/NS11.3618.0037.78
P-DV/EA0.02270.03860.0447
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, R.; Li, X. Edge Computing Driven Data Sensing Strategy in the Entire Crop Lifecycle for Smart Agriculture. Sensors 2021, 21, 7502. https://0-doi-org.brum.beds.ac.uk/10.3390/s21227502

AMA Style

Zhang R, Li X. Edge Computing Driven Data Sensing Strategy in the Entire Crop Lifecycle for Smart Agriculture. Sensors. 2021; 21(22):7502. https://0-doi-org.brum.beds.ac.uk/10.3390/s21227502

Chicago/Turabian Style

Zhang, Rihong, and Xiaomin Li. 2021. "Edge Computing Driven Data Sensing Strategy in the Entire Crop Lifecycle for Smart Agriculture" Sensors 21, no. 22: 7502. https://0-doi-org.brum.beds.ac.uk/10.3390/s21227502

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