Abstract

In smart agricultural systems, the macroinformation sensing by adopting a mobile robot with multiple types of sensors is a key step for sustainable development of agriculture. Also, in a region monitoring strategy that meets the real-scene requirements, optimal operation of mobile robots is necessary. In this paper, a cloud-assisted region monitoring strategy of mobile robots in a smart greenhouse is presented. First, a hybrid framework that contains a cloud, a wireless network, and mobile multisensor robots is deployed to monitor a wide-region greenhouse. Then, a novel strategy that contains two phases is designed to ensure valid region monitoring and meet the time constraints of a mobile sensing robot. In the first phase, candidate region monitoring points are selected using the improved virtual forces. In the second phase, a moving path for the mobile node is calculated based on Euclidean distance. Subsequently, the applicability of the proposed strategy is verified by the greenhouse test system. The verification results show that the proposed algorithm has better performance than the conventional methods. The results also demonstrate that, by applying the proposed algorithm, the number of monitoring points and time consumption can reduce, while the valid monitoring region area is enlarged.

1. Introduction

As it is well-known, agriculture represents the basis of many other fields. With the development of urbanization, a number of countries have faced the problem of limited farmland and urban population growth [1, 2]. The model society trends require the agriculture to improve the yield per unit of land. Therefore, precision agriculture or smart agriculture has become a hot research topic for the industry and academia as a potential solution which might solve the mentioned problem. Smart greenhouse is one of the most typical representatives of the smart agriculture that should meet the growing requirement for food. To improve the automation and efficiency of a greenhouse, the solar-powered and the water- and energy-self-sufficient method [3, 4] and the information and communication technologies (ICTs) such as wireless sensor networks (WSNs) and intelligent control [58] are merged into the agricultural system. Therefore, a smart greenhouse system denotes an excellent option to realize intelligent and precision agriculture.

The data collection, especially macrodata collection, represents a precondition for the realization of a smart greenhouse. With the development of information collection technologies [911], the ICTs have been gradually introduced in a greenhouse, and the agricultural WSNs have become classical applications for information gathering. The agricultural WSNs have obtained a great progress [1214]. However, on the one hand, current WSNs are mostly composed of static nodes and constraint of energy charging, so that the monitoring systems lack the flexibility and lifespan [15]. On the other hand, with the increase in greenhouse size, the monitoring region is becoming wider [16]. Accordingly, traditional WSNs are not suitable for greenhouse region monitoring.

Many studies have been devoted to solving the data collection in greenhouse; namely, more and more WSN nodes have been deployed to meet the trends but that has increased the system cost significantly, especially for a large-region greenhouse [17, 18]. Besides, many studies have been focused on reducing energy consumption, but all proposed methods still have a constraint of limited energy of WSNs [19, 20]. Accordingly, to increase the mobility and flexibility simultaneously, mobile elements (a mobile robot or a mobile sensor node) have been introduced to the system. The related studies have also researched on this topic from different perspectives such as path planning and obstacle avoidance [2123]. However, the greenhouse region monitoring still faces the following problems: (1) how to construct a more efficient framework using the cloud computing and mobile elements to improve the data collection and (2) how to choose a better moving path for the greenhouse region monitoring with latency and energy constraints.

Recently, the cyber-physical system (CPS) has been more and more introduced into the agriculture. Motivated by the advantages of the CPS, especially cloud technologies, and the features of greenhouse region monitoring, we present a novel solution to solve these mentioned problems.

The contributions of this work can be summarized as follows:(1)A novel data collection system based on cloud computing, wireless networks, and mobile nodes is developed(2)To meet the requirements for region monitoring ratio and time consumption, a cloud-assisted region monitoring strategy of mobile robot is designed(3)To evaluate the framework and strategy, a real experiment is conducted, and the obtained results are discussed

The remainder of this paper is organized as follows: Section 2 introduces related work about information collection and region monitoring in agriculture. Section 3 gives the cloud-assisted information collection frameworks for smart greenhouse. Section 4 proposes the method information collection. Section 5 evaluates the proposed algorithm experimentally and discusses the obtained results. Section 6 concludes the paper.

2.1. Information Collection in Agriculture

As it is well-known, data collection represents the basis of smart greenhouse. Therefore, numerous studies have been focused on the data collection method. In [24], to achieve scientific cultivation and reduce management costs, a wireless sensor network architecture was adopted in the vegetable greenhouse to monitor environmental parameters. In [25], to schedule irrigation, the authors proposed a multiple sensor system to collect soil moisture and weather parameters. Then, using the collected data, the equipment was driven for precision irrigation. In [26], a wireless sensor network was adopted to detect the presence of snails by sensing the environmental data. The WSN motes were also designed with real application and deployed in the data collection. As the climate is a significant factor for crop yield and diseases, in [27], the authors realized a distributed monitoring system for a greenhouse using a WSN and analyzed the raw data to explore the condition of growing crops. In [28], the authors designed a farmland information collection system containing a portable farmland information collection device, a remote server, and a mobile phone APP. Furthermore, this system was implemented, and the information about collected air temperature and humidity, chlorophyll, and other farmland-related information was collected. In [29], by equipping wireless sensors on tractors and other equipment, a delay disruption tolerant information collection system was designed and implemented in the farmland. Different information collection method and applications were proposed in the aforementioned studies. However, the proposed solutions are mostly based on static wireless sensor networks and are not suitable for region monitoring in a smart greenhouse.

2.2. Region Monitoring Methods

With the development of information analysis, many studies demonstrated that region monitoring could be adopted to monitor the objective targets [30, 31]. In some studies, the increasing number of mobile nodes was used for region monitoring. In [32], the authors presented a distribute framework containing a server and clients running different strategies to monitor the region, which was impossible to install fixed cameras, based on the crowdsourcing and mobile device. In [33], mobile nodes in the wireless sensor network were used to monitor the uncovered region. Then, an algorithm was used to find out an optimal path of a mobile node to cover the target region. Recently, drones which are the type of unmanned aerial vehicles (UAVs) have made progress in the field, thus providing a good solution for the region monitoring problem. In [34], a UAV was used as a mobile information collector for region monitoring. Also, the region to be monitored was divided into cells. The author assigned to each UAV the cells to visit and optimized the path of each UAV by considering fairness. In addition, in [35], the authors used drones to monitor large regions effectively. Also, by combining the skyline query, a new strategy was proposed to search a more suitable UAV flying path. The abovementioned studies provide a reference and new solutions for the greenhouse region monitoring problem. However, to meet region monitoring, the greenhouse characteristics and low latency of region monitoring need to be considered.

3. Cloud-Assisted Data Collection Framework for Smart Greenhouse

In the section, a region monitoring architecture in a greenhouse is presented, the working process of the framework is explained, and the mobile robot is introduced.

3.1. Information Collection Framework for Greenhouse

With the development of Internet of Things (IoT) and cloud computing technologies, the ICTs have been proved as effective methods for information collection. Since the traditional frameworks for greenhouse lack the mobility, computing resources, and collection, the previous solutions are not gradually suitable for the new requirement. To improve the flexibility and scalability of a smart greenhouse, the wireless network, cloud computing, software applications, and greenhouse equipment are merged into an improved framework. The proposed framework for smart system sensing consists of three layers: the network layer, the cloud layer, and the application layer and the data sensing field, as shown in Figure 1. Meanwhile, all the components are linked by either wired or wireless networks and internet of things (IoT). We solely agree that big data analysis and artificial intelligence are the future trend in agriculture. The distributed cloud services, as far as we can see, are the most flexible and cost-efficient infrastructure for big data analysis in smart agriculture. It is known that cloud has become an important part for the smart agriculture. On the one hand, the proposed algorithm easily gets the global information for achieving the optimal results by using cloud technologies. On the other hand, big data is not in conflict with the cloud, as cloud is the basic platform of big data analysis.

In the application layer, different applications are constructed to meet the real requirements such as that for greenhouse management, data visualization, and mobile terminal operations. Data storage and computing task are performed in the cloud layer. In network layers, the data transfer is conducted via either wired or wireless networks. Meanwhile, the data sensing filed is used to collect data from different sensors of greenhouse such as temperature, humidity, light level, image of crop, and other parameters.

3.2. Mobile Region Monitoring Robot in the Framework

In the paper, the focus is on region monitoring in a greenhouse using a mobile robot. Therefore, a brief review of a mobile region-monitoring robot (MAMR) is provided. A MAMR is equipped with a wireless radio module, a power unit, and different sensors such camera and humiture sensor. The application layer or cloud servers conduct the region monitoring task; namely, the cloud server decomposes the task into multiple steps and determines the key orders to the mobile nodes according to the greenhouse global information. Then, the MAMR finishes the region monitoring following the cloud issuing orders. Finally, when a mobile node moves along the planning path, it transmits the information to the cloud server through the IoT system.

4. Mobile Robot Region Monitoring Strategy in Greenhouse

In the section, we first provide the problem formulation. Then, we present a region monitoring strategy for mobile robots, which contains two phases: candidate point selecting and moving path searching.

4.1. Problem Formulation

For the sake of simplicity, we consider a greenhouse as a flat rectangular and let be a flat rectangular region of a greenhouse. Also, we assume that, in a certain time period, there are n regions to be monitored and let be the set of these regions. Meanwhile, we assume that each monitoring region has a trajectory and starting point . A mobile robot equipped with different sensors is navigated through the defined monitoring region along the trajectory. Assume that a MAMR monitors region at certain points, which are on a trajectory . There are monitoring points on the trajectory . Let R be the sensing radius. In this work, a MAMR monitoring region is denoted as a circle. The set of monitoring circles is expressed as and the set of circles’ center locations is expressed as , and it is arranged according to the distance from the starting point of a monitoring region .

Definition 1. Real monitoring area (RMA): let be a monitoring region, where . The real monitoring area of can be defined as follows:where denotes the function for getting a real monitoring area of a mobile robot. Let be a valid monitoring region of monitoring circle and monitoring region . Thus, (1) can be simplified as follows:Furthermore, let be the sensing time of a MAMR at the point of the monitoring region . Thus, denotes the total sensing time of , and it is given byAssume that sensing time at any point is constant , so (3) can be simplified asTherefore, the total sensing time of is given byAccording to the above relations, let be the time consumption, which includes the moving time and monitoring time of a monitoring region , and it is expressed asMoreover, let be the moving time through a monitoring region. In summary, the total time consumption of all the monitoring regions can be calculated as

Definition 2. Region monitoring ratio (RMR): let and be the real area of monitoring and the area of , respectively. The region monitoring rate of a monitoring region , denoted as , is a fraction of the real monitoring area within the area of , and it can be expressed asTherefore, the region monitoring ratio of a whole greenhouse can be expressed asAssume that there is a constant area in each , and then (9) can be approximated as

Definition 3. Covering path (CP): CP is the moving path of a MAMR that covers all the monitoring regions. Let be the CP set, which can be formulated aswhere denotes that covers all the regions.
Each monitoring area tries to get its RMR that should be larger than the preset constant. Thus, the objective of this paper is to search a path from to meet the above requirement of RMR while meeting the following requirements:where is the preset value of the RMR and is the deadline of the monitoring region.

4.2. Proposed Method for Mobile Robot-Based Region Monitoring

Solving the problem defined by (12) is challenging due to the following reasons. The time consumption is related to the number of monitoring points and path length. In this section, we divide the problem (12) into two subproblems: selecting candidate monitoring points and an optimal region monitoring moving path. First, an improved virtual force is employed for selecting candidate points. Then, to meet the monitoring time consumption requirement, we develop an algorithm based on simulated annealing for determining an optimal moving path.

4.2.1. Selecting Strategy for Candidate Monitoring Points

In the traditional virtual force model, the force directions are random. It is known that the model is not suitable for a greenhouse. Meanwhile, the monitoring points are on the monitoring trajectory. Accordingly, we use a single direction along with the trajectory.

Meanwhile, a coverage coefficient of a monitoring region is introduced to the model, and it is formulated as

Thus, according to Hooke’s law, the virtual force is formulated aswhere k denotes the virtual force coefficient and . So, the total virtual force between the monitoring points (l, q) can be expressed as

Furthermore, the total virtual force of monitoring point set P can be formulated as

According to the above relations, we minimize the virtual force to determine the minimal number of monitoring points:

To solve the problem given by (17), we use the following equations to update a new location according to the current position :where is the moving distance of each iteration and is the threshold value of virtual force. The proposed strategy for selecting strategy for candidate monitoring points is shown in Algorithm 1, and it can be explained as follows: first, in the initialization step, the preset values of the variables are set. Then, the virtual force is calculated according to the corresponding equations. If the virtual force is larger than the threshold value, a new location of monitoring points is updated, and if the virtual force is less than the threshold value, the monitoring location would stop updating. Also, the RMR is calculated and judged whether its value meets the requirement. The iteration steps repeat until all the constraints are met.

Input: , R, , max_iteration, dmoving
Output: ,
 Initialize  = 1,  = R
repeat
  while (h < max_interaction)
   if
    for
     Calculate virtual force
     if
      update location according to (18)
      if
       
      else
       
     calculate the total force
  
until
Return
4.2.2. Hybrid Solution for Optimal Moving Path

To obtain the shortest moving path, we divide the strategies of searching the optimal moving path into two stages: intermonitoring region and outermonitoring region. In the first stage, a greedy strategy is used to get the shortest moving path. In the second stage, the problem is first classified as a traveling salesman problem (TSP), and then a simulated annealing is used to solve it.

4.2.3. Stage I: Intermonitoring Region

After Algorithm 1 is finished, in the monitoring region , the number of monitoring points and their locations can be obtained. The moving path of a mobile robot must contain the stating points, so the extended monitoring point set is defined as follows:where denotes the starting point of a trajectory . Furthermore, the location set that corresponds to the extended monitoring point set can be expressed aswhere 0 denotes the location of . Let be the neighboring point of p. Then, the Euclidean distance between p and any of its neighboring point q can be expressed as

As all the monitoring points are on the trajectory, to get an optimal moving path within the monitoring region, a greedy strategy is designed based on the neighboring distance; namely, in each iteration, the nearest neighboring point is selected as the next moving point. The process steps are given in Algorithm 2. First, using (19) and (20), the extended monitoring point set and the corresponding location set are determined, respectively. Next, the neighboring point set is created based on the distance value. Then, the neighboring point at the minimal distance is selected as the next moving point. Finally, the algorithm returns the moving path points and their locations of the monitoring region.

 Input: ,
 Output:
  Initialization:
  
  
  for f:1:
   Search neighboring points of
   Create neighboring points set
   for q:1:
    Calculate the distance according (21)
   Creating distance set of all neighboring points
   Selecting the minimal distance point
   
   
  return
4.2.4. Stage II: Outer Monitoring Region

In stage I, the moving path in the intermonitoring region is solved. Next, in the second stage, we focus on obtaining the shortest moving path in the outer monitoring region.

In the previous stage, the monitoring points in each monitoring subregion are obtained. Since the monitoring points’ distances are smaller than the distance between the subregions, the barycenter method is used for monitoring points’ locations normalization. Specifically, in a subregion , the barycenter can be formulated as

So, the barycenter of all the subregions can be expressed as

With regard to the above discussion, the outer shortest moving path selection can be transferred into a TSP problem. To solve the TSP problem, the simulated annealing is employed. The process of determining an optimal moving path in the outer monitoring region is given in Algorithm 3. In Algorithm 3, first the barycenter of each subregion is calculated; then, simulated annealing is used to obtain the shortest moving path, and finally, the algorithm returns the results to the mobile robot.

Input: ,
Output:
  Initialization: , .
  for i:1:n
   
   
  SA initialization//simulated annealing
  Repeat
   Metropolis sampling algorithm
   Calculate the corresponding target function value
  until
   The current solution is an optimal solution
  Return

5. Experimental Results

The proposed algorithm was evaluated experimentally. The obtained experimental results are presented and discussed in terms of different metrics. Besides, the proposed algorithm is compared with the traditional methods regarding the following three aspects: the number of monitoring points, average covering area, and time consumption.

5.1. Experimental Settings

A real experiment was performed using a mobile robot in the greenhouse that was planted with different crops, as shown in Figure 2. A hybrid method that contains the ultrasonic obstacle avoidance and automatic tracking (different colors) is adopted to cope with the robot obstacle avoidance. The mobile robot was equipped with many sensors to collect air temperature, humidity, and light intensity and a camera.

In order to demonstrate that the proposed planning algorithm performs correctly in a real environment, an experimental setup presented in Figure 2 was constructed. The experimental settings were as follows. The greenhouse area was , and it contained 10 subregions with the same size of 2 × 4 m2. The sensing radius R was 1 m. The other experimental parameters are given in Table 1. The proposed strategy was applied for several times, and the average results were calculated.

As already mentioned, there are few works that address the region monitoring problem. Therefore, we compared our method called the CARM with the following common methods: (1) the SSRL method which selects the same number of the monitoring points in a subregion as the CARM, but with a with random location; (2) the FMPS method which selects fixed monitoring location at the same distance along the trajectory. In the experiments, the distance of points was equal to the sensing radius.

5.2. Result Analysis
5.2.1. Number of Monitoring Points

The average number of monitoring points of different methods corresponding to their best performances in the real experiment is presented in Figure 3(a); namely, the average number of monitoring points at the RMR of 20%, 70%, and 90% of different methods is presented in Figure 3(a). In Figure 3(a), it can be seen that the average number of monitoring points increased with the increase in the RMR for all the methods. However, the CAMR outperformed the other methods in all the three cases, which was due to the optimization virtual force algorithm of the CAMR method which selected a more optimal number of monitoring points and their locations. The FMPS achieved better performance than the SSRL because monitoring points were evenly distributed along the trajectory. At the RMR of 70%, the CARM had almost 20% and 10% smaller average number of monitoring points than the SSRL and the FMPS, respectively.

5.2.2. Average Coverage Area

The average coverage area of different methods is presented in Figure 3(b). In Figure 3(b), it can be seen that, for all the values of the number of monitoring points, the average coverage area of the proposed method was the best because the CARM selected the most optimal number of monitoring points and their locations in order to get a large coverage area. As displayed in Figure 3(b), the SSRL obtained poor average coverage area performance because of random monitoring points selection which was employed in this method. Moreover, by increasing the number of monitoring points, the average coverage area performance enhanced for all the methods. In addition, when the number of points was 3, the coverage area of the CARM was larger than 35 m2. Besides, the CARM could adapt to a different number of monitoring points and had the best average coverage area performance among all the tested methods.

5.2.3. Time Consumption

The total sensing time consumption performance for each subregion of different methods at the RMR of 70% is presented in Figure 4(a). In general, the total sensing time of each method increased with the increase in the sensing time of a single point. The CARM achieved the best performance regarding this metric; in other words, the CARM took less time to finish the monitoring task that the other two methods. When the RMR was 70% and the sensing time of a single point was 5 s, the total sensing time consumption of the CARM was less than 15 s, while the other methods had longer sensing time, especially the SSRL because this method selected more points for monitoring.

The total time consumption performance at a different moving speed for the whole monitoring region of different methods at the RMR of 70% is presented in Figure 4(b). Generally, as the robot moving speed increased, the total time consumption reduced. Therefore, the total time consumption of all the methods decreased with the increase in the robot moving speed. Similarly, the CARM achieved the best performance in terms of the total time consumption which means that the CARM finished the monitoring task faster than the other methods, which was because the optimal algorithm was used to select the number of monitoring points and their locations. Meanwhile, at the RMR of 70%, the robot moving speed of 0.5 m/s, and the sensing time of a single point of 5 s, the CARM had 5% and 3% shorter total sensing time consumption compared to the SSRL and FMPS methods, respectively.

5.2.4. Cost Evaluation

It is known that cost evaluation is an essential part of the practical application. Obviously, according to Figures 3 and 4, the proposal method CARM can reduce the number of monitoring points for the same coverage area and decrease the time consumption comparing the traditional methods SSRL and FMPS. In other words, the proposed strategy can get lower maintenance cost. Indeed, the presented framework because of needing to build a cloud is more expensive than the traditional region monitoring framework, such as WSN. However, the public clouds can significantly reduce costs, as public clouds present a very low price (0.023∼0.04 dollar/GB for data storage and 0.017∼0.027 dollar/GB RAM of Amazon Web Services); furthermore, some companies offer free cloud services. Besides, private farms in China could not afford to hire professional technicians for maintenance of private servers, so, compared with using dedicated servers, making use of the public cloud is the most feasible solution.

6. Conclusions

An efficient region monitoring of plants in a smart greenhouse is important but challenging. In this paper, we propose a novel cloud-assisted region monitoring strategy of mobile robots based for a smart greenhouse to increase the monitoring region size and reduce the time consumption. First, an information collection framework based on mobile robots, wireless network, and cloud computing is introduced. Then, the region monitoring model of a mobile robot with cloud computing is constructed in accordance with the greenhouse features and cloud resources. Moreover, based on the model, two strategies are proposed to select the candidate monitoring points by adopting the improved virtual force and a hybrid solution for the optimal moving path. The proposed algorithm is verified by real experiments in the greenhouse. The experimental results demonstrate that the proposed algorithm can provide more efficient region monitoring of greenhouse than the conventional methods.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This paper was supported by the Science and Technology Planning Project of Guangdong Province, China (no. 2014A020208132), and Science and Technology Project of Guangzhou, China (no. 201607010018).