cs.ROOct 6, 2026

Energy-Aware Path Following: Comparative Analysis of Reinforcement Learning and NMPC for Electric Vehicles

Authors: Mohamed Sabaa, Mostafa Emam

Organizations: Computer Science Department, Najran University, Najran, Saudi Arabia · Institute of Applied Mathematics and Scientific Computing, University of the Bundeswehr Munich, Neubiberg, 85579, Germany

Abstract

Path-following control strategies typically follow the bi-objective optimization dilemma: minimizing deviations from a reference path while maintaining smooth speed profiles. The latter objective is especially relevant for Electric Vehicles (EVs), since their limited driving range can be extended by recovering energy through regenerative braking, a feature that has not yet been sufficiently studied in the literature. In this work, we perform a comparative analysis of four controllers under one common Frenet frame-based kinematic vehicle model, utilizing a validated energy model (VT-CPEM) with explicit regenerative braking. Herein, we implement the following controllers: Nonlinear Model Predictive Control (NMPC), Proximal Policy Optimization (PPO), gain-scheduled Ackermann state-feedback baseline (PID-SF), and a Stanley geometric baseline. To satisfy real-time requirements, we implement the NMPC using JIT-compiled CasADi. Moreover, we train the PPO using traditional straight and S-curve tracks, after which we successfully transfer the unmodified policy to unseen tracks, including: an ISO 3888-1 lane-change, a chicane, randomly-generated parameterized-splines, and a ±3∘\pm3^\circ graded road. In addition, the policy transfers to a dynamic single-track vehicle model with linear tires, zero-shot with an acceptable initial performance, which was optimized after brief fine-tuning. Thereby, we demonstrate that our PPO is readily transferable to more comprehensive vehicle models. We conclude with a performance analysis of developed controllers and discuss ideas for future work.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Personalized electric vehicle energy consumption estimation framework that integrates driver behavior with map data

    Apr 22, 2026Sreechakra Vasudeva Raju Rachavelpula, Sangwhan ChaElectric VehiclesLithium-Ion Batteries

  2. A Distributionally Robust Reinforcement Learning Framework for Constrained Urban EV Dispatch

    Apr 28, 2026An Nguyen, Hoang Nguyen, Phuong Le +3Electric VehiclesBike-Sharing Systems

  3. Forecasting what Matters: Decision-Focused RL for Controlled EV Charging with Unknown Departure Times

    Jun 17, 2026Giuseppe Gabriele, Fabio Pavirani, Seyed Soroush Karimi Madahi +1Electric VehiclesReinforcement Learning Control