Path Tracking Controller and System Design for Agricultural Tractors Based on Improved Stanley and Sliding Mode Algorithms Considering Sideslip Compensation
Abstract
1. Introduction
- (1)
- Real-time sideslip observation and compensation: An ESO is designed to estimate the lateral slip angle in real time, effectively addressing model uncertainties and variations in tire–soil adhesion caused by unstructured field environments.
- (2)
- Look-ahead path curvature pre-compensation: An improved SGL is proposed, which incorporates a weighted error term based on previewed path points. This enhancement enables proactive adjustment of the desired heading angle during high-curvature turns, significantly mitigating understeering behavior typical of conventional Stanley methods.
- (3)
- Integrated robust control architecture: A sliding mode controller (SMC) is employed for heading tracking, offering strong robustness against disturbances and model variations. The synergistic integration of ESO, improved SGL, and SMC forms a composite control strategy that ensures high-precision path tracking under diverse and varying soil conditions, as validated through both simulation and field experiments.
2. Materials and Methods
2.1. System Overview and Modeling
- (1)
- The tractor moves in a horizontal plane, and vertical motion (e.g., pitch, roll) is neglected, as field terrain undulations in this study are within the range that does not significantly affect lateral stability;
- (2)
- Tire behavior follows the linear tire model (Pacejka’s first-order approximation). For small lateral slip angles, which is the common range for agricultural tractors during steady path tracking, the lateral tire force is linearly proportional to the slip angle, avoiding the complexity of high-order nonlinear tire models;
- (3)
- The tractor’s mass and moment of inertia are uniformly distributed, and the influence of auxiliary implements (e.g., plows, seeders) is incorporated into the total mass and yaw moment of inertia;
- (4)
- Aerodynamic forces are neglected, as the operating speed of agricultural tractors (typically ) is much lower than that of road vehicles, making aerodynamic interference negligible.
2.2. Path Tracking Controller Design
2.2.1. Improved Stanley Guidance Law
2.2.2. Sideslip Compensation
2.2.3. Heading Tracking Control Based on Sliding Mode
2.3. Data Flow and Processing in Practical Implementation
3. Results and Discussions
- (1)
- (2)
- SMC [24]: The sliding mode surface is set as where is the control gain. The reaching law selects the commonly used exponential reaching law.
- (3)
- EISGL in this paper.
3.1. Co-Simulation
3.2. Field Experiments
4. Conclusions
- (1)
- The EISGL controller’s three core modules address traditional limitations synergistically. The ESO accurately estimates the sideslip angle in real time, maintaining near-zero errors in straight-line simulation segments and quickly responding to dynamic changes (0.12 rad) in curved segments to offset tire-soil adhesion uncertainties. The improved Stanley guidance law, by fusing the average tangential angle deviation of look-ahead path points and nonlinear lateral error adjustment, proactively corrects the desired heading angle, eliminating understeering in U-turns that plagues conventional algorithms. The adaptive fuzzy sliding mode controller enhances robustness against field disturbances, suppressing chattering under low-adhesion conditions.
- (2)
- The EISGL controller significantly reduces lateral tracking errors. In field experiments, it achieved a mean absolute error (MAE) of 0.081 m and a maximum error of 0.26 m, outperforming both FSGL (MAE: 0.148 m, Max: 0.46 m) and SMC (MAE: 0.094 m, Max: 0.40 m). This performance is attributed to the proactive heading adjustment using look-ahead path points, which nearly eliminated overshoot during U-turns.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Garg, D.; Alam, M. Smart agriculture: A literature review. J. Manag. Anal. 2023, 10, 359–415. [Google Scholar] [CrossRef]
- Lacoste, M.; Cook, S.; McNee, M.; Gale, D.; Ingram, J.; Bellon-Maurel, V.; MacMillan, T.; Sylvester-Bradley, R.; Kindred, D.; Bramley, R.; et al. On-farm experimentation to transform global agriculture. Nat. Food 2022, 3, 11–18. [Google Scholar] [CrossRef]
- Shen, D.; Liang, H.; Shi, W. Rural population aging, capital deepening, and agricultural labor productivity. Sustainability 2023, 15, 8331. [Google Scholar] [CrossRef]
- Debnath, S.; Paul, M.; Debnath, T. Applications of LiDAR in agriculture and future research directions. J. Imaging 2023, 9, 57. [Google Scholar] [CrossRef]
- Rivera, G.; Porras, R.; Florencia, R.; Sánchez-Solís, J.P. LiDAR applications in precision agriculture for cultivating crops: A review of recent advances. Comput. Electron. Agric. 2023, 207, 107737. [Google Scholar] [CrossRef]
- Wang, T.; Chen, B.; Zhang, Z.; Li, H.; Zhang, M. Applications of machine vision in agricultural robot navigation: A review. Comput. Electron. Agric. 2022, 198, 107085. [Google Scholar] [CrossRef]
- Shin, J.; Mahmud, M.S.; Rehman, T.U.; Ravichandran, P.; Heung, B.; Chang, Y.K. Trends and prospect of machine vision technology for stresses and diseases detection in precision agriculture. AgriEngineering 2022, 5, 20–39. [Google Scholar] [CrossRef]
- Wang, A.; Wang, Y.; Ji, X.; Wang, K.; Qian, M.; Wei, X.; Song, Q.; Chen, W.; Zhang, S. Fuzzy backstepping controller for agricultural tractor-trailer vehicles path tracking control with experimental validation. Front. Plant Sci. 2024, 15, 1513544. [Google Scholar] [CrossRef]
- Ji, X.; Wei, X.; Wang, A.; Cui, B.; Song, Q. A novel composite adaptive terminal sliding mode controller for farm vehicles lateral path tracking control. Nonlinear Dyn. 2022, 110, 2415–2428. [Google Scholar] [CrossRef]
- Ruslan, N.A.I.; Amer, N.H.; Hudha, K.; Kadir, Z.A.; Ishak, S.A.F.M.; Dardin, S.M.F.S. Modelling and control strategies in path tracking control for autonomous tracked vehicles: A review of state of the art and challenges. J. Terramech. 2023, 105, 67–79. [Google Scholar] [CrossRef]
- He, J.; Hu, L.; Wang, P.; Liu, Y.; Man, Z.; Tu, T.; Yang, L.; Li, Y.; Yi, Y.; Li, W.; et al. Path tracking control method and performance test based on agricultural machinery pose correction. Comput. Electron. Agric. 2022, 200, 107185. [Google Scholar] [CrossRef]
- Cao, Y.; Ren, W. Optimal linear-consensus algorithms: An LQR perspective. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2009, 40, 819–830. [Google Scholar]
- Kumar, E.V.; Jerome, J. Robust LQR controller design for stabilizing and trajectory tracking of inverted pendulum. Procedia Eng. 2013, 64, 169–178. [Google Scholar] [CrossRef]
- Zhang, Y.; Gao, F.; Zhao, F. Research on path planning and tracking control of autonomous vehicles based on improved RRT* and PSO-LQR. Processes 2023, 11, 1841. [Google Scholar] [CrossRef]
- Fan, X.; Wang, J.; Wang, H.; Yang, L.; Xia, C. LQR trajectory tracking control of unmanned wheeled tractor based on improved quantum genetic algorithm. Machines 2023, 11, 62. [Google Scholar] [CrossRef]
- Yang, T.; Bai, Z.; Li, Z.; Feng, N.; Chen, L. Intelligent vehicle lateral control method based on feedforward+ predictive LQR algorithm. Actuators 2021, 10, 228. [Google Scholar] [CrossRef]
- Holkar, K.S.; Waghmare, L.M. An overview of model predictive control. Int. J. Control Autom. 2010, 3, 47–63. [Google Scholar]
- Schwenzer, M.; Ay, M.; Bergs, T.; Abel, D. Review on model predictive control: An engineering perspective. Int. J. Adv. Manuf. Technol. 2021, 117, 1327–1349. [Google Scholar] [CrossRef]
- Zuo, Z.; Yang, X.; Li, Z.; Wang, Y.; Han, Q.; Wang, L.; Luo, X. MPC-based cooperative control strategy of path planning and trajectory tracking for intelligent vehicles. IEEE Trans. Intell. Veh. 2020, 6, 513–522. [Google Scholar] [CrossRef]
- Wang, H.; Liu, B.; Ping, X.; An, Q. Path tracking control for autonomous vehicles based on an improved MPC. IEEE Access 2019, 7, 161064–161073. [Google Scholar] [CrossRef]
- Rokonuzzaman, M.; Mohajer, N.; Nahavandi, S. Effective adoption of vehicle models for autonomous vehicle path tracking: A switched MPC approach. Veh. Syst. Dyn. 2023, 61, 1236–1259. [Google Scholar] [CrossRef]
- Zhou, B.; Su, X.; Yu, H.; Guo, W.; Zhang, Q. Research on path tracking of articulated steering tractor based on modified model predictive control. Agriculture 2023, 13, 871. [Google Scholar] [CrossRef]
- Young, K.D.; Utkin, V.I.; Ozguner, U. A control engineer’s guide to sliding mode control. IEEE Trans. Control Syst. Technol. 1999, 7, 328–342. [Google Scholar] [CrossRef]
- Lee, H.; Utkin, V.I. Chattering suppression methods in sliding mode control systems. Annu. Rev. Control 2007, 31, 179–188. [Google Scholar] [CrossRef]
- Sabiha, A.D.; Kamel, M.A.; Said, E.; Hussein, W.M. ROS-based trajectory tracking control for autonomous tracked vehicle using optimized backstepping and sliding mode control. Rob. Auton. Syst. 2022, 152, 104058. [Google Scholar] [CrossRef]
- Yin, C.; Wang, S.; Li, X.; Yuan, G.; Jiang, C. Trajectory tracking based on adaptive sliding mode control for agricultural tractor. IEEE Access 2020, 8, 113021–113029. [Google Scholar] [CrossRef]
- Ding, C.; Ding, S.; Wei, X.; Mei, K. Composite SOSM controller for path tracking control of agricultural tractors subject to wheel slip. ISA Trans. 2022, 130, 389–398. [Google Scholar] [CrossRef]
- Zhang, T.; Jiao, X.; Lin, Z. Finite time trajectory tracking control of autonomous agricultural tractor integrated nonsingular fast terminal sliding mode and disturbance observer. Biosyst. Eng. 2022, 219, 153–164. [Google Scholar] [CrossRef]
- Han, G.; Fu, W.; Wang, W.; Wu, Z. The lateral tracking control for the intelligent vehicle based on adaptive PID neural network. Sensors 2017, 17, 1244. [Google Scholar] [CrossRef]
- Marino, R.; Scalzi, S.; Netto, M. Nested PID steering control for lane keeping in autonomous vehicles. Control Eng. Pract. 2011, 19, 1459–1467. [Google Scholar] [CrossRef]
- Samuel, M.; Hussein, M.; Mohamad, M.B. A review of some pure-pursuit based path tracking techniques for control of autonomous vehicle. Int. J. Comput. Appl. Technol. 2016, 135, 35–38. [Google Scholar] [CrossRef]
- Elbanhawi, M.; Simic, M.; Jazar, R. Receding horizon lateral vehicle control for pure pursuit path tracking. J. Vib. Control 2018, 24, 619–642. [Google Scholar] [CrossRef]
- Yang, Y.; Li, Y.; Wen, X.; Zhang, G.; Ma, Q.; Cheng, S.; Qi, J.; Xu, L.; Chen, L. An optimal goal point determination algorithm for automatic navigation of agricultural machinery: Improving the tracking accuracy of the Pure Pursuit algorithm. Comput. Electron. Agric. 2022, 194, 106760. [Google Scholar] [CrossRef]
- Wang, R.; Li, Y.; Fan, J.; Wang, T.; Chen, X. A novel pure pursuit algorithm for autonomous vehicles based on salp swarm algorithm and velocity controller. IEEE Access 2020, 8, 166525–166540. [Google Scholar] [CrossRef]
- Kim, S.; Lee, J.; Han, K.; Choi, S.B. Vehicle path tracking control using pure pursuit with MPC-based look-ahead distance optimization. IEEE Trans. Veh. Technol. 2023, 73, 53–66. [Google Scholar] [CrossRef]
- Thrun, S.; Montemerlo, M.; Dahlkamp, H.; Stavens, D.; Aron, A.; Diebel, J.; Fong, P.; Gale, J.; Halpenny, M.; Hoffmann, G.; et al. Stanley: The robot that won the DARPA Grand Challenge. J. Field Rob. 2006, 23, 661–692. [Google Scholar] [CrossRef]
- Wang, L.; Zhai, Z.; Zhu, Z.; Mao, E. Path tracking control of an autonomous tractor using improved Stanley controller optimized with multiple-population genetic algorithm. Actuators 2022, 11, 22. [Google Scholar] [CrossRef]
- Sun, Y.; Cui, B.; Ji, F.; Wei, X.; Zhu, Y. The full-field path tracking of agricultural machinery based on PSO-enhanced fuzzy stanley model. Appl. Sci. 2022, 12, 7683. [Google Scholar] [CrossRef]
- Cui, B.; Cui, X.; Wei, X.; Zhu, Y.; Ma, Z.; Zhao, Y.; Liu, Y. Design and Testing of a Tractor Automatic Navigation System Based on Dynamic Path Search and a Fuzzy Stanley Model. Agriculture 2024, 14, 2136. [Google Scholar] [CrossRef]
- Ji, X.; Ding, S.; Wei, X.; Cui, B. Path tracking of unmanned agricultural tractors based on a novel adaptive second-order sliding mode control. J. Franklin Inst. 2022, 360, 5811–5831. [Google Scholar] [CrossRef]
- Sontag, E.D.; Wang, Y. On characterizations of the input-to-state stability property. Syst. Control Lett. 1995, 24, 351–359. [Google Scholar] [CrossRef]
- KrstiC, M.; Kanellakopoulos, I.; KokotoviC, P.V. Nonlinear design of adaptive controllers for linear systems. IEEE Trans. Autom. Control 1994, 39, 738–752. [Google Scholar] [CrossRef]
- Kayacan, E.; Kayacan, E.; Ramon, H.; Saeys, W. Modeling and identification of the yaw dynamics of an autonomous tractor. In Proceedings of the 2013 9th Asian Control Conference, Istanbul, Turkey, 23–26 June 2013. [Google Scholar]
Parameter | Value | Unit |
---|---|---|
Wheelbase | 2314 | mm |
Mass | 4250 | kg |
Engine model | LR4A125-40 | \ |
Engine rated power | 81.5–2200 | kW-r/min |
Transmission gears | 24 | \ |
Controller | Maximum Value | MAE | STD | IAE |
---|---|---|---|---|
FSGL | 0.08 | 0.033 | 0.051 | 5.163 |
SMC | 0.03 | 0.012 | 0.028 | 2.644 |
EISGL | 0.01 | 0.004 | 0.017 | 0.527 |
Controller | Maximum Value | MAE | STD | IAE |
---|---|---|---|---|
FSGL | 0.46 | 0.148 | 0.170 | 22.264 |
SMC | 0.40 | 0.094 | 0.121 | 15.159 |
EISGL | 0.26 | 0.081 | 0.096 | 12.127 |
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. |
© 2025 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, A.; Ji, X.; Song, Q.; Wei, X.; Chen, W.; Wang, K. Path Tracking Controller and System Design for Agricultural Tractors Based on Improved Stanley and Sliding Mode Algorithms Considering Sideslip Compensation. Agronomy 2025, 15, 2329. https://doi.org/10.3390/agronomy15102329
Wang A, Ji X, Song Q, Wei X, Chen W, Wang K. Path Tracking Controller and System Design for Agricultural Tractors Based on Improved Stanley and Sliding Mode Algorithms Considering Sideslip Compensation. Agronomy. 2025; 15(10):2329. https://doi.org/10.3390/agronomy15102329
Chicago/Turabian StyleWang, Anzhe, Xin Ji, Qi Song, Xinhua Wei, Wenming Chen, and Kun Wang. 2025. "Path Tracking Controller and System Design for Agricultural Tractors Based on Improved Stanley and Sliding Mode Algorithms Considering Sideslip Compensation" Agronomy 15, no. 10: 2329. https://doi.org/10.3390/agronomy15102329
APA StyleWang, A., Ji, X., Song, Q., Wei, X., Chen, W., & Wang, K. (2025). Path Tracking Controller and System Design for Agricultural Tractors Based on Improved Stanley and Sliding Mode Algorithms Considering Sideslip Compensation. Agronomy, 15(10), 2329. https://doi.org/10.3390/agronomy15102329