The accurate measurement of orchard canopy volume serves as a crucial foundation for wind regulation and dosage adjustments in precision orchard management. However, existing methods for measuring canopy volume fail to satisfy the high precision and real-time requirements necessary for accurate variable-rate applications in fruit orchards. To address these challenges, this study develops a canopy volume measurement model for orchard spraying using LiDAR point cloud data. In the domain of point cloud feature extraction, an improved Alpha Shape algorithm is proposed for extracting point cloud contours. This method improves the validity judgment for contour line segments, effectively reducing contour length errors on each 3D point cloud projection plane. Additionally, improvements to the mesh integral volume method incorporate the effects of canopy gaps in height difference calculations, significantly enhancing the accuracy of canopy volume estimation. For feature selection, a random forest-based recursive feature elimination method with cross-validation was employed to filter 10 features. Ultimately, five key features were retained for model training: the number of point clouds, the 2D point cloud contour along the X- and Z-projection directions, the 2D width in the Y-projection direction, and the 2D length in the Z-projection direction. During model construction, the study optimized the hyperparameters of partial least squares regression (PLSR), backpropagation (BP) neural networks, and gradient boosting decision trees (GBDT) to build canopy volume measurement models tailored to the dataset. Experimental results indicate that the PLSR model outperformed other approaches, achieving optimal performance with three principal components. The resulting canopy volume measurement model achieved an R2 of 0.9742, an RMSE of 0.1879, and an MAE of 0.1161. These results demonstrate that the PLSR model exhibits strong generalization ability, minimal prediction bias, and low average prediction error, offering a valuable reference for precision control of canopy spraying in orchards.
With the development of smart agriculture, autopilot technology is being used more and more widely in agriculture. Because most of the current global path planning only considers the shortest path, it is difficult to meet the articulated steering tractor operation needs in the orchard environment and address other issues, so this paper proposes a hybrid algorithm of an improved bidirectional search A* algorithm and improved differential evolution genetic algorithm(AGADE). First, the integrated priority function and search method of the traditional A* algorithm are improved by adding weight influence to the integrated priority, and the search method is changed to a bidirectional search. Second, the genetic algorithm fitness function and search strategy are improved; the fitness function is set as the path tree row center offset factor; the smoothing factor and safety coefficient are set; and the search strategy adopts differential evolution for cross mutation. Finally, the shortest path obtained by the improved bidirectional search A* algorithm is used as the initial population of an improved differential evolution genetic algorithm, optimized iteratively, and the optimal path is obtained by adding kinematic constraints through a cubic B-spline curve smoothing path. The convergence of the AGADE hybrid algorithm and GA algorithm on four different maps, path length, and trajectory curve are compared and analyzed through simulation tests. The convergence speed of the AGADE hybrid algorithm on four different complexity maps is improved by 92.8%, 64.5%, 50.0%, and 71.2% respectively. The path length is slightly increased compared with the GA algorithm, but the path trajectory curve is located in the center of the tree row, with fewer turns, and it meets the articulated steering tractor operation needs in the orchard environment, proving that the improved hybrid algorithm is effective.