Path Planning for a Cartesian Apple Harvesting Robot Using the Improved Grey Wolf Optimizer
Abstract
1. Introduction
2. Materials and Methods
2.1. Continuous Apple Picking Strategy
2.2. Design of the Cartesian Apple Harvesting Robot
2.2.1. Mechanical Arm Structure and Continuous End-Effector Design
2.2.2. Robot Hand–Eye Calibration Model
2.3. Improvements of Apple Picking Method Based on Cartesian Motion Mode
2.3.1. Original Picking Method
2.3.2. Improved Picking Method
2.4. Grey Wolf Optimizer
2.5. Improvements of the Grey Wolf Optimizer
2.5.1. Logistic-Tent Chaotic Initialization Strategy
2.5.2. Improved Mutation Strategy
2.5.3. Solution Procedure
- (1)
- The fruit coordinate data were input. Key parameters were determined through preliminary tuning experiments to balance computational efficiency and solution quality.
- (2)
- The initial population was generated using the logistic-tent chaotic map according to Equation (17). For each grey wolf individual, a chaotic sequence of length N (number of fruits) was generated, and the initial path was obtained by sorting the indices based on the ascending order of the chaotic sequence .
- (3)
- The initial fitness was calculated as the reciprocal of the total path length based on Equation (16). The initial α, β, and δ wolves were identified.
- (4)
- During the iteration phase, if the current iteration t was less than Tmax, a position update was performed. For each individual in the population, a new candidate path was generated using the order crossover strategy based on the current α, β, and δ wolf paths. A greedy selection was applied at the individual level, where the original individual was replaced by the new candidate path if the latter had better fitness.
- (5)
- The fitness values of all individuals were calculated and updated. The α, β, and δ wolves were reselected.
- (6)
- The improved mutation strategy was conducted. The current mutation probability η(t) was computed using Equation (18). Two positions in the newly selected α wolf path were randomly swapped with probability η(t), and the fitness was compared. If the new path was better, Xα was updated with the new solution according to Equation (19).
- (7)
- The termination conditions were checked. The loop was exited if Tmax was reached or the solution showed no improvement. Otherwise, t was incremented by one, and the process continued.
- (8)
- The globally optimal path and its length were returned.
3. Results
3.1. Measurement of Fixed Retraction Distance H
3.2. Performance Evaluation of the IGWO
3.3. Laboratory Validation of Apple Harvesting Performance
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Huang, Y.; Lu, R.; Chen, K. Detection of Internal Defect of Apples by a Multichannel Vis/NIR Spectroscopic System. Postharvest Biol. Technol. 2020, 161, 111065. [Google Scholar] [CrossRef]
- Wang, F.; Zhao, C.; Yang, H.; Jiang, H.; Li, L.; Yang, G. Non-Destructive and in-Site Estimation of Apple Quality and Maturity by Hyperspectral Imaging. Comput. Electron. Agric. 2022, 195, 106843. [Google Scholar] [CrossRef]
- Lv, J.; Xu, H.; Xu, L.; Zou, L.; Rong, H.; Yang, B.; Niu, L.; Ma, Z. Recognition of Fruits and Vegetables with Similar-Color Background in Natural Environment: A Survey. J. Field Robot. 2022, 39, 888–904. [Google Scholar] [CrossRef]
- Yuan, F.; Wang, J.; Ding, W.; Mei, S.; Fang, C.; Chen, S. A Lightweight and Rapid Dragon Fruit Detection Method for Harvesting Robots. Agriculture 2025, 15, 1120. [Google Scholar] [CrossRef]
- Wang, Z.; Xun, Y.; Wang, Y.; Yang, Q. Review of Smart Robots for Fruit and Vegetable Picking in Agriculture. Int. J. Agric. Biol. Eng. 2022, 15, 33–54. [Google Scholar] [CrossRef]
- Hua, W.; Zhang, W.; Zhang, Z.; Liu, X.; Huang, M.; Igathinathane, C.; Vougioukas, S.; Saha, C.K.; Mustafa, N.S.; Salama, D.S.; et al. Vacuum Suction End-Effector Development for Robotic Harvesters of Fresh Market Apples. Biosyst. Eng. 2025, 249, 28–40. [Google Scholar] [CrossRef]
- Zhang, Z.; Igathinathane, C.; Li, J.; Cen, H.; Lu, Y.; Flores, P. Technology Progress in Mechanical Harvest of Fresh Market Apples. Comput. Electron. Agric. 2020, 175, 105606. [Google Scholar] [CrossRef]
- Zeng, Y.; Xue, L.; Tang, B.; Ying, C.; Liu, M.; Li, J.; Liao, K.; Ruan, C. Design and Experiment of Cantilevered Lotus Seedpod Picking Device. J. Field Robot. 2025, 42, 1550–1563. [Google Scholar] [CrossRef]
- Yan, B.; Quan, J.; Yan, W. Three-Dimensional Obstacle Avoidance Harvesting Path Planning Method for Apple-Harvesting Robot Based on Improved Ant Colony Algorithm. Agriculture 2024, 14, 1336. [Google Scholar] [CrossRef]
- Moradi, N.; Mafakheri, F.; Wang, C. Set Covering Routing Problems: A Review and Classification Scheme. Comput. Ind. Eng. 2024, 198, 110730. [Google Scholar] [CrossRef]
- Lin, G.; Zhu, L.; Li, J.; Zou, X.; Tang, Y. Collision-Free Path Planning for a Guava-Harvesting Robot Based on Recurrent Deep Reinforcement Learning. Comput. Electron. Agric. 2021, 188, 106350. [Google Scholar] [CrossRef]
- Cao, X.; Zou, X.; Jia, C.; Chen, M.; Zeng, Z. RRT-Based Path Planning for an Intelligent Litchi-Picking Manipulator. Comput. Electron. Agric. 2019, 156, 105–118. [Google Scholar] [CrossRef]
- Xiao, X.; Wang, Y.; Jiang, Y. Review of Research Advances in Fruit and Vegetable Harvesting Robots. J. Electr. Eng. Technol. 2024, 19, 773–789. [Google Scholar] [CrossRef]
- Reda, M.; Onsy, A.; Elhosseini, M.A.; Haikal, A.Y.; Badawy, M. A Discrete Variant of Cuckoo Search Algorithm to Solve the Travelling Salesman Problem and Path Planning for Autonomous Trolley inside Warehouse. Knowl.-Based Syst. 2022, 252, 109290. [Google Scholar] [CrossRef]
- Hu, X.; Pan, Z.; Lv, S. Picking Path Optimization of Agaricus Bisporus Picking Robot. Math. Probl. Eng. 2019, 2019, 8973153. [Google Scholar] [CrossRef]
- Gao, R.; Zhou, Q.; Cao, S.; Jiang, Q. Apple-Picking Robot Picking Path Planning Algorithm Based on Improved PSO. Electronics 2023, 12, 1832. [Google Scholar] [CrossRef]
- Li, C.; Ma, W.; Liu, F.; Fang, B.; Lu, H.; Sun, Y. Recognition of Citrus Fruit and Planning the Robotic Picking Sequence in Orchards. Signal Image Video Process. 2023, 17, 4425–4434. [Google Scholar] [CrossRef]
- Zhang, C.; Wang, H.; Fu, L.H.; Pei, Y.H.; Lan, C.Y.; Hou, H.Y.; Song, H. Three-Dimensional Continuous Picking Path Planning Based on Ant Colony Optimization Algorithm. PLoS ONE 2023, 18, e0282334. [Google Scholar] [CrossRef]
- Cao, X.; Yan, H.; Huang, Z.; Ai, S.; Xu, Y.; Fu, R.; Zou, X. A Multi-Objective Particle Swarm Optimization for Trajectory Planning of Fruit Picking Manipulator. Agronomy 2021, 11, 2286. [Google Scholar] [CrossRef]
- Zhang, H.; Ge, Y.; Sun, C.; Zeng, H.; Liu, N. Picking Path Planning Method of Dual Rollers Type Safflower Picking Robot Based on Improved Ant Colony Algorithm. Processes 2022, 10, 1213. [Google Scholar] [CrossRef]
- Lin, G.; Xiong, J.; Zhao, R.; Li, X.; Hu, H.; Zhu, L.; Zhang, R. Efficient Detection and Picking Sequence Planning of Tea Buds in a High-Density Canopy. Comput. Electron. Agric. 2023, 213, 108213. [Google Scholar] [CrossRef]
- Wang, Y.; Wu, H.; Zhu, Z.; Ye, Y.; Qian, M. Continuous Picking of Yellow Peaches with Recognition and Collision-Free Path. Comput. Electron. Agric. 2023, 214, 108273. [Google Scholar] [CrossRef]
- Wang, Y.; He, Z.; Cao, D.; Ma, L.; Li, K.; Jia, L.; Cui, Y. Coverage Path Planning for Kiwifruit Picking Robots Based on Deep Reinforcement Learning. Comput. Electron. Agric. 2023, 205, 107593. [Google Scholar] [CrossRef]
- Lu, Y.; Li, K.; Lin, R.; Wang, Y.; Han, H. Intelligent Layout Method of Ship Pipelines Based on an Improved Grey Wolf Optimization Algorithm. J. Mar. Sci. Eng. 2024, 12, 1971. [Google Scholar] [CrossRef]
- Zhang, W.; Zhang, S.; Wu, F.; Wang, Y. Path Planning of UAV Based on Improved Adaptive Grey Wolf Optimization Algorithm. IEEE Access 2021, 9, 89400–89411. [Google Scholar] [CrossRef]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
- Khan, M.F.; Ahmed, A.; Saleem, K. A Novel Design of Cryptographic SP-Network Based on Gold Sequences and Chaotic Logistic Tent System. IEEE Access 2019, 7, 84980–84991. [Google Scholar] [CrossRef]
- Demšar, J. Statistical Comparisons of Classifiers over Multiple Data Sets. J. Mach. Learn. Res. 2006, 7, 1–30. [Google Scholar]











| Apple Diameter (mm) | Test Speed (mm/s) | Fracture Distance (mm) | Fracture Force (N) | Remarks |
|---|---|---|---|---|
| 75.2 ± 1.3 | 200 | 56.7 ± 4.5 | 24.7 ± 2.4 | brittle fracture |
| 300 | 53.8 ± 3.1 | 26.7 ± 3.1 | brittle fracture | |
| 80.7 ± 1.2 | 200 | 60.4 ± 4.8 | 31.5 ± 1.5 | brittle fracture |
| 300 | 58.5 ± 3.6 | 32.1 ± 3.0 | brittle fracture | |
| 85.6 ± 2.7 | 200 | 68.7 ± 4.5 | 36.3 ± 1.3 | ductile fracture |
| 300 | 67.9 ± 3.7 | 37.8 ± 4.2 | brittle fracture |
| Number of Fruits | Algorithm * | Best Path Length | Worst Path Length | Mean Path Length | Runtime (s) |
|---|---|---|---|---|---|
| 20 | GA | 720.2 | 739.3 | 733.6 ± 5.8 | 3.4 |
| PSO | 700.7 | 715.2 | 707.9 ± 4.1 | 3.2 | |
| GWO | 667.8 | 690.5 | 685.3 ± 6.2 | 2.7 | |
| IGWO | 659.6 | 667.8 | 664.1 ± 2.5 | 15.2 | |
| 30 | GA | 942.6 | 973.8 | 954.9 ± 8.9 | 4.9 |
| PSO | 945.3 | 965.6 | 951.8 ± 6.3 | 4.7 | |
| GWO | 912.0 | 938.4 | 920.5 ± 7.1 | 4.0 | |
| IGWO | 871.9 | 878.4 | 874.8 ± 3.8 | 23.0 | |
| 50 | GA | 1498.0 | 1558.3 | 1533.6 ± 17.2 | 7.8 |
| PSO | 1312.2 | 1413.4 | 1384.7 ± 28.9 | 7.6 | |
| GWO | 1264.3 | 1289.6 | 1274.6 ± 7.5 | 7.1 | |
| IGWO | 1128.1 | 1157.3 | 1137.4 ± 8.5 | 38.6 |
| Serial Number | Image Coordinate (mm) | Base Frame Coordinates (mm) | Result | ||||
|---|---|---|---|---|---|---|---|
| Xc | Yc | Zc | Xb | Yb | Zb | ||
| 1 | 123 | −288 | 1166 | 113 | 1093 | 656 | Success |
| 2 | −62 | −247 | 1444 | −72 | 1052 | 930 | Failure |
| 3 | 29 | 125 | 1374 | 18 | 681 | 865 | Success |
| 4 | 645 | 141 | 1038 | 633 | 665 | 528 | Success |
| 5 | 625 | −50 | 1016 | 616 | 857 | 501 | Success |
| 6 | 634 | −154 | 1107 | 624 | 959 | 590 | Success |
| 7 | 450 | −260 | 1097 | 438 | 1063 | 583 | Success |
| 8 | 341 | −80 | 1001 | 332 | 883 | 489 | Success |
| 9 | 481 | 11 | 1011 | 469 | 795 | 501 | Success |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, D.; Jin, H.; Lu, C.; Wu, X.; Chen, Q.; Zhou, L.; Jiang, X.; Zhou, H. Path Planning for a Cartesian Apple Harvesting Robot Using the Improved Grey Wolf Optimizer. Agronomy 2026, 16, 272. https://doi.org/10.3390/agronomy16020272
Wang D, Jin H, Lu C, Wu X, Chen Q, Zhou L, Jiang X, Zhou H. Path Planning for a Cartesian Apple Harvesting Robot Using the Improved Grey Wolf Optimizer. Agronomy. 2026; 16(2):272. https://doi.org/10.3390/agronomy16020272
Chicago/Turabian StyleWang, Dachen, Huiping Jin, Chun Lu, Xuanbo Wu, Qing Chen, Lei Zhou, Xuesong Jiang, and Hongping Zhou. 2026. "Path Planning for a Cartesian Apple Harvesting Robot Using the Improved Grey Wolf Optimizer" Agronomy 16, no. 2: 272. https://doi.org/10.3390/agronomy16020272
APA StyleWang, D., Jin, H., Lu, C., Wu, X., Chen, Q., Zhou, L., Jiang, X., & Zhou, H. (2026). Path Planning for a Cartesian Apple Harvesting Robot Using the Improved Grey Wolf Optimizer. Agronomy, 16(2), 272. https://doi.org/10.3390/agronomy16020272

