Smart Online Charging Algorithm for Electric Vehicles via Customized Actor-Critic Learning

Yongsheng Cao, Hao Wang, Demin Li, Guanglin ZhangIEEE Internet of Things Journal 2021 · DOI

Abstract

With the advances in the Internet-of-Things technology, electric vehicles (EVs) have become easier to schedule in daily life, which is reshaping the electric load curve. It is important to design efficient charging algorithms to mitigate the negative impact of EV charging on the power grid. This article investigates an EV charging scheduling problem to reduce the charging cost while shaving the peak charging load, under unknown future information about EVs, such as arrival time, departure time, and charging demand. First, we formulate an EV charging problem to minimize the electricity bill of the EV fleet and study the EV charging problem in an online setting without knowing future information. We develop an actor–critic learning-based smart charging algorithm (SCA) to schedule the EV charging against the uncertainties in EV charging behaviors. The SCA learns an optimal EV charging strategy with continuous charging actions instead of discrete approximation of charging. We further develop a more computationally efficient customized actor–critic learning charging (CALC) algorithm by reducing the state dimension and thus improving the computational efficiency. Finally, simulation results show that our proposed SCA can reduce EVs’ expected cost by 24.03%, 21.49%, 13.80%, compared with the eagerly charging algorithm, online charging algorithm, reinforcement learning (RL)-based adaptive energy management algorithm, respectively. CALC is more computationally efficient, and its performance is close to that of SCA with only a gap of 5.56% in the cost.

Introduction

The rapid adoption of electric vehicles (EVs) presents a dual challenge for the modern power grid: managing increased electricity demand and mitigating the economic impact of peak-load pricing. Effective scheduling is hindered by the inherent uncertainty of EV behaviors, including unpredictable arrival times, departure deadlines, and varying energy requirements. Traditional offline optimization methods require perfect future knowledge, which is unavailable in practice. Conversely, existing online methods often rely on discrete action spaces that approximate charging power, leading to inefficiencies and quantization errors. This paper introduces two reinforcement learning (RL) solutions—SCA and CALC—that utilize continuous action spaces to optimize charging costs and grid stability in real-time.

Methodology

The proposed framework leverages the Actor-Critic RL architecture, where an "Actor" learns the optimal charging policy and a "Critic" evaluates the resulting cost performance.

Smart Charging Algorithm (SCA)

SCA models the scheduling task as a Markov Decision Process (MDP) and employs asynchronous learning to handle continuous charging actions. By avoiding discrete "bins" for charging power, SCA ensures a more precise alignment with battery constraints and grid requirements.

Customized Actor-Critic Learning Charging (CALC)

To address the "curse of dimensionality" that occurs as the number of EVs grows, the authors developed CALC. This algorithm simplifies the state space by first optimizing the aggregate charging load for the entire fleet.

The state description of CALC illustrates how individual EV states are aggregated to reduce dimensionality.

Following the aggregate optimization, CALC uses Projection Theory to mathematically allocate the total power back to individual vehicles. This two-stage approach ensures that individual deadlines are met while significantly reducing the computational burden on the RL agent.

Experimental Results

The algorithms were tested using real-world community load data from Southern California Edison and statistical EV arrival distributions.

Cost and Peak Performance

SCA demonstrated superior cost-efficiency, reducing expected charging costs by 24.03% compared to a baseline "Eagerly Charging" (EC) strategy and by 13.80% compared to existing RL benchmarks. CALC performed nearly as well, with only a 5.56% cost gap compared to SCA, while offering much faster execution times.

Comparison of total load across different algorithms, demonstrating the peak-shaving capabilities of SCA and CALC.

Computational Efficiency

For a fleet of 40 EVs, CALC achieved a peak load reduction of 31.86%. More importantly, CALC solved the 40-EV scenario in just 90 seconds, whereas the full SCA required 476 seconds. This makes CALC highly suitable for real-time deployment in large-scale charging infrastructures.

Conclusion

This research provides a robust framework for online EV charging. While SCA offers the highest theoretical cost savings through its individual-focused continuous policy, CALC provides a practical, scalable alternative by reducing state dimensionality without significant performance loss. Future work will focus on coordinating multiple charging stations and integrating Vehicle-to-Grid (V2G) services.

Summary updated

BibTeX
@article{cao2021smart,
  author = {Yongsheng Cao and Hao Wang and Demin Li and Guanglin Zhang},
  title = {{Smart Online Charging Algorithm for Electric Vehicles via Customized Actor-Critic Learning}},
  journal = {IEEE Internet of Things Journal},
  year = {2021},
  doi = {10.1109/jiot.2021.3084923},
}
Figure