With the development of Internet of Things (IoT) technology, modern agriculture is moving in the direction of 4.0. The Agricultural IoT is inseparable from wireless communication. However, in traditional agricultural IoT router and gateway site selection, the influence of the actual terrain on transmission loss is not considered, which results in node power wastage and increased maintenance costs. Based on a multi-sensor fusion algorithm, a fast terrain sampler is designed in this study to collect point-cloud data of the experimental site terrain. A reasonable objective function is then designed under the premise of consideration of the electromagnetic wave free-space and diffraction losses, and the locations of the routers and gateway are optimized based on k-means and particle swarm optimization (PSO) algorithm. Simulations show that the running time of the PSO algorithm is very sensitive to the changes in the execution parameters, and the improved PSO algorithm converges faster than the genetic algorithm (GA) in all three initialization methods. After collecting field terrain data, five interpolation methods were compared, and the nearest-neighbor algorithm is used to obtain the terrain model. On-site collection of received signal-strength indication (RSSI) shows that the communication quality of the optimal point selected via this algorithm is significantly higher than those of nearby points. At the same time, it is proved that the RSSI data has serious discontinuities, so the traditional gradient descent method is not suitable for solving the objective function in this work. Therefore, the algorithm used herein is of great significance for the site selection of agricultural Internet of Things nodes. However, since there are many ways to calculate the diffraction loss, the objective function of this work still needs more correction studies. The tool proposed in this work can obtain a 3D model of farmland faster than traditional surveying and mapping methods. With future research, the 3D model may be applied to soil moisture analysis, rainfall and moisture direction inversion, and plant light exposure prediction.
Read full abstract