Distributed Charging Control of Electric Vehicles Using Online Learning

Wann‐Jiun Ma, Vijay Gupta, Ufuk Topcu · DOI

Abstract

We propose an algorithm for distributed charging control of electric vehicles (EVs) using online learning and online convex optimization. Many distributed charging control algorithms in the literature implicitly assume fast two-way communication between a distribution company and EV customers. This assumption is impractical at present and raises privacy and security concerns. Our algorithm does not use this assumption; however, at the expense of slower convergence to the optimal solution. The proposed algorithm requires one-way communication, which is implemented through the distribution company publishing the pricing profiles of the previous days. We provide convergence results of the algorithm and illustrate the results through numerical examples.

Introduction

As the adoption of Electric Vehicles (EVs) accelerates, the power grid faces significant challenges. Uncoordinated charging can lead to massive power peaks, straining infrastructure and causing voltage deviations. Traditional "demand response" solutions often rely on iterative, two-way communication where utilities and customers negotiate charging schedules. However, this approach suffers from infrastructure limitations, privacy concerns regarding personal habits, and high daily complexity.

This paper introduces a distributed algorithm for EV charging management that requires only one-way communication from the utility to the customer. By framing the problem as an online learning task, the system achieves "valley-filling"—shifting load to periods of low demand—without requiring users to share private data or relying on high-latency two-way exchanges.

Methodology: Online Convex Optimization

The researchers treat the charging problem as Online Convex Optimization (OCO), modeled as a repeated game played over many days. Instead of a one-time negotiation, customers adjust their behavior based on historical public signals.

Optimistic Mirror Descent (OMD)

The core of the algorithm is Optimistic Mirror Descent. Each day, the utility publishes pricing profiles from previous days. Customers use this historical data to predict future prices and update their charging schedules to minimize costs. This "optimistic" approach incorporates a prediction of the next gradient, which significantly accelerates convergence compared to standard gradient descent.

One-Way Communication and Privacy

The only data transfer required is the utility publishing total load or price information. Customers never send their private charging constraints or desired schedules back to the utility. This preserves privacy and simplifies the communication infrastructure. To handle "inelastic" or unresponsive users, the authors propose using a subset of "controllable" customers to act as a buffer, ensuring grid stability even with partial participation.

Simulation Environment

The algorithm was evaluated through numerical simulations involving a population of 20 EV customers with specific energy requirements. The background grid demand was modeled using synthetic residential base load profiles.

The simulation utilizes two distinct base load profiles to test the algorithm's adaptability to changing grid conditions.

To test robustness, the simulations included scenarios where the base load "switches" between different profiles (as seen in the figure above), representing unpredictable shifts in residential electricity usage.

Key Results

The performance of the algorithm is measured by "regret"—the difference between the actual cost paid and the optimal cost achievable in hindsight.

Convergence and Speedup

The algorithm achieves sublinear regret, meaning that the average performance of the distributed one-way system approaches the theoretical optimum of a centralized two-way system over time. A critical finding is the impact of the prediction step.

Comparison of average regret over time with and without the prediction step (Optimistic Mirror Descent).

As shown in the figure above, including a prediction step (OMD) allows the system to reach a stable, optimized state much faster than standard methods. Even in volatile environments with switching base loads, the average regret continues to trend toward zero.

Valley-Filling

Qualitative analysis of the simulations confirms that the algorithm successfully shifts EV charging into the "valleys" of the base load curve. This effectively flattens total demand, reducing the need for peak-load infrastructure.

Conclusion and Future Work

This research demonstrates that efficient, privacy-preserving EV charging control is possible using one-way communication and online learning. While convergence is slower than two-way methods, the practical advantages in terms of infrastructure and security are significant. Future work will look to incorporate more complex network constraints, such as transformer limits and line losses, and explore non-convex battery degradation models.

Summary updated

Abstract

We propose an algorithm for distributed charging control of electric vehicles (EVs) using online learning and online convex optimization. Many distributed charging control algorithms in the literature implicitly assume fast two-way communication between a distribution company and EV customers. This assumption is impractical at present and raises privacy and security concerns. Our algorithm does not use this assumption; however, at the expense of slower convergence to the optimal solution. The proposed algorithm requires one-way communication, which is implemented through the distribution company publishing the pricing profiles of the previous days. We provide convergence results of the algorithm and illustrate the results through numerical examples.
BibTeX
@article{ma2017distributed,
  author = {Wann‐Jiun Ma and Vijay Gupta and Ufuk Topcu},
  title = {{Distributed Charging Control of Electric Vehicles Using Online Learning}},
  journal = {IEEE Trans. Automatic Control},
  year = {2017},
  doi = {10.1109/tac.2016.2636740},
}
Figure