Layout optimization of soil moisture sensor in tea plantation based on affinity propagation clustering algorithm
-
-
Abstract
Abstract: Aiming at the layout problem of soil moisture sensors for water-saving irrigation, we proposed an optimal layout strategy of soil moisture sensors based on affinity propagation (AP) clustering algorithm. The soil moisture of tea plantation was as the research object. The tea plantation had 84-m width and 190-m length. Following the conventional method, 25 sensor nodes were evenly arranged in rectangular mode in tea plantation experimental area in order to guarantee full coverage of tea plantation sensor network. Soil moisture data of each sensor node in the test area was collected in real time for 3 days.The optimization of sensors was conducted based on soil water content and relative water content by AP clustering algorithm.Different clustering parameters were selected. The AP clustering algorithm was used to construct similarity matrix of node soil water content, to iteratively calculate the responsibility and availability of each node, and to form the clustering number and clustering center. When the clustering parameters were 10, 15, 20 and 25 times of preference, the AP clustering algorithm was used to calculate the soil moisture data in the experimental area for 3 days, the stable and consistent clustering results were obtained. Results showed that soil water content in the tested plantation presented an increasing trend from southwest to northeast and the largest difference of relative water content was 15%. The change is related to the topography of the tested area. For AP clustering, the maximum iterative times was designed as 1 000. Based on the results, the clustering result in the 3 days was 2. The number of sensors optimized by AP clustering algorithm was reduced from 25 to 2. The class mean of the relative water content of the soil in the experimental area was calculated, and compared with the relative water content of soil in the collection points of the cluster center, and the relative bias between them was less than 5%. The relative water content of the collection points in the cluster center was close to the average value of the experimental area, which indicated that the data collected by the cluster center can represent soil moisture situation in the experimental tea plantation. In order to verify the validity of this method, soil moisture data were collected randomly at 13 locations in the experimental area on January 2019. Results showed that the soil average relative water content of tea plantation in the experimental area based on 13 sampling points was 32.7%, the relative water content of soil in the cluster center based on 2 sensors was respectively 27.9% and 37% with an average in the cluster center of 32.45%. Compared with the average relative moisture in the experimental area, the relative bias was only 0.76%. It means that the AP clustering algorithm can optimize the distribution of soil moisture sensors in the experimental tea plantation. The relative soil moisture collected by the cluster center could reflect the overall situation of soil moisture in the tea plantation as long as using only 2 sensors arranged in the cluster center node determined by the optimization calculation. Thus, the AP clustering algorithm is suggested to use in optimization of the sensor layout, which can reduce the redundancy of data and accordingly realize cost saving in agricultural production system.
-
-