- The paper proposes a modular framework that integrates map features and driver behavior using a BiLSTM and cascaded PID controller to enhance EV energy forecasting.
- It employs high-resolution route data from OpenStreetMap and Valhalla APIs to accurately simulate driver-specific velocity profiles and energy consumption under diverse driving scenarios.
- Results show improved SOC predictions with realistic urban, freeway, and hilly validations, underpinning advances in eco-routing and personalized range estimation.
Personalized Electric Vehicle Energy Consumption Estimation via Integrated Driver Behavior and Map Data
Battery Electric Vehicle (BEV) range prediction is critically impeded by the failure to incorporate both high-resolution contextual map features and individual driver behavior, resulting in substantial errors in State-of-Charge (SOC) and energy use forecasts—especially in complex, urban driving scenarios. This paper proposes a modular framework that yields route- and driver-adaptive energy use estimates by tightly integrating map-based features (e.g., curvature, traffic controls, grade) with data-driven, personalized velocity prediction and physics-based energy consumption modeling.
The authors identify three primary limitations in existing literature: (1) rigid separation of driver behavior and route context in modeling pipelines, (2) limited forecasting horizons lacking anticipation of upcoming road events, and (3) an absence of joint inference for personalized velocity and energy consumption. The presented system closes these gaps by leveraging OpenStreetMap and Valhalla routing APIs for dense contextualization, a cascaded PID controller for physically realistic trajectory simulation, and a BiLSTM module for personalized velocity generation. This sequence of modules is coupled with a quasi-steady backward energy consumption model to compute power flows and SOC evolution.

Figure 2: Overview of the proposed framework, illustrating integration of driver behavior modeling, map features, and energy consumption estimation.
System Architecture
The processing pipeline comprises seven interlinked modules: (1) Map Display Handler (user-initiated route selection with Selenium on OSM), (2) Route Processor (Valhalla API feature extraction for every route node and edge), (3) Rule-based Velocity Profile Generator (applies posted speed limits, intersection logic), (4) Cascaded PID Controller (ensures jerk- and acceleration-constrained physically plausible reference trajectories), (5) Driver LSTM Module (BiLSTM encoder-decoder predicting individual-specific future velocity using both past behaviors and future route features), (6) Physics-based BEV Energy Consumption Model (estimates tractive, motor, and battery power, plus SOC using parameterized efficiency models), and (7) Visualization (synchronized plotting of all relevant profiles against map context).
Each module’s data flows were systematically engineered to maintain strict alignment between route distance sampling and feature assignment, such that downstream modeling (including sequence preparation for LSTM inference) was robust and reproducible.

Figure 1: Block diagram of the cascaded PID vehicle dynamics model, enabling smooth reference trajectory tracking with acceleration and jerk saturation.

Figure 3: PID Controller module showing command velocity generation and vehicle dynamics integration.
Theoretical Foundations
Velocity and Behavior Modeling
The system employs a sequence-to-sequence BiLSTM, trained on fine-grained driver telemetry and synthetic map features. It encodes past vehicle states and road features, combines these with anticipated future road context, and outputs driver-specific velocity trajectories. The input vector is highly engineered, containing vehicle dynamics, geometric, and traffic control attributes discretized at 1-meter intervals.

Figure 4: Architecture of the Driver LSTM Module, showing dual encoders (for past driving and future road context) and a recursive decoder for velocity sequence generation.
Past and future sequence fusion in the latent state space is achieved via dense layers and regularization, feeding an autoregressive LSTM decoder that outputs the future velocity profile, which is then denoised by Butterworth filtering without phase distortion.
Energy and SOC Modeling
A backward physics-based model translates the LSTM's personalized velocity and acceleration predictions into SOC depletion. At each time step, tractive power combines rolling resistance, aerodynamic drag, grade-induced forces, and inertial load; regenerative braking is modeled as a nonlinear function of deceleration magnitude. Battery and auxiliary loads (HVAC, electronics) are incorporated using empirically parameterized component efficiencies. Variable road grade and real driver behavior directly affect the magnitude and timing of both traction and regeneration, providing high-fidelity energy accounting.
Experimental Evaluation
Three canonical driving scenarios were designed for evaluation: urban, freeway, and hilly terrain. Each scenario is instantiated via real routes with distinctive geometric, signalization, and grade structures, and the model’s predictions are visualized in full sequence-aligned plots.
Urban Scenario
Velocity forecasts using the Driver LSTM exhibit contextually appropriate deceleration at intersections, frequent micro-oscillations, and generally do not reach zero at all potential stop points. The divergence is attributable to the future window size and the stochastic presence of stop events in the training set. Accelerations are less saturated and manifest driver individuality not present in reference PID profiles. The resulting power demand and SOC trajectories co-vary appropriately with these velocity changes, and regeneration is evident at deceleration events.

Figure 5: Urban route selection in Detroit, MI.

Figure 6: LSTM-predicted urban driving velocity profile, highlighting intersection behavior.

Figure 7: Predicted urban acceleration profile, reflecting smoother driver-specific control.

Figure 8: Predicted power demand for the urban route, showing both acceleration-associated peaks and regeneration valleys.

Figure 9: Predicted energy consumption trajectory (SOC depletion) for the urban route.
Freeway Scenario
On extended freeway routes, predicted velocities tightly track the legal limit with superposed micro-adjustments indicative of a real driver’s control actions. Predicted accelerations are low-magnitude (except at merge or exit events), and SOC drops are nearly linear, reflecting low-power cruising and infrequent regeneration.

Figure 10: Freeway route (Canton, MI to Ann Arbor, MI) map overview.

Figure 11: LSTM-predicted freeway velocity profile, tracking speed limits closely.

Figure 12: Predicted freeway acceleration profile with low variance.

Figure 13: Freeway route power demand showing minimal fluctuations, consistent with cruise behavior.

Figure 14: Energy consumption (SOC) curve for the freeway scenario.
Hilly Terrain Scenario
On routes with substantial grade variance, the LSTM prediction modulates velocity in response to climbs and descents, while the energy model produces a pronounced transition between SOC depletion (uphill) and recovery (downhill) phases. Regeneration magnitude and timing are in strict correspondence with negative road grades, validating the model’s ability to integrate behavior, context, and physics.

Figure 15: Map of the hilly terrain route in the Porcupine Mountains.

Figure 16: Predicted velocity profile over hilly terrain, with speed reductions on climbs.

Figure 17: Predicted acceleration reflecting response to grades.

Figure 18: Power demand indicating large positive values on climbs and negative (regenerative) power on descents.

Figure 19: SOC depletion trajectory for hilly terrain, confirming physically realistic impact of elevation.
Implications and Future Directions
The primary contribution of this research is the demonstration that integrating map-aware, bidirectional LSTM-based velocity forecasting with quasi-steady energy consumption models yields more accurate, personalized SOC profiles for BEVs across diverse environments. The framework’s modularity enables rapid adaptation to new map providers, driver identifications, or energy component models. The observed fidelity in urban stop, cruise, and hilly segments supports the claim that including both driver individuality and contextual anticipation is essential for next-generation range estimation and eco-routing systems.
Future work directions include:
- Extending the sequence modeling horizon via larger BiLSTM/transformer architectures to better capture stop events and atypical behaviors,
- Aggregating multi-driver datasets with explicit driver identity encoding for scaling personalization,
- Incorporating environmental factors (e.g., weather, real-time traffic),
- Coupling route selection with predicted energy usage for in-the-loop navigation and charge planning,
- Further disaggregating energy modeling to component-level loss accounting and dynamic auxiliary loads.
Conclusion
This paper establishes an end-to-end methodology for personalized electric vehicle range estimation, leveraging high-resolution route context, advanced sequential modeling of driver behavior, and robust physics-based energy consumption analysis. Results demonstrate that the system captures realistic, driver-specific SOC outcomes in urban, freeway, and hilly use cases, outperforming traditional models that neglect such integration. The approach provides a scalable foundation for advanced eco-navigation, driver-adaptive range management, and translation into intelligent energy-aware vehicle control systems.
Reference:
"Personalized electric vehicle energy consumption estimation framework that integrates driver behavior with map data" (2604.20764)