1. Improving Electric Vehicle Pack Efļ¬ciency
and Longevity Through Accurate
Prediction of Power Demands
Alex Styler, ACRL S2011
1
2. ChargeCar Optimization
ā¢ Electric vehicle optimization is dependent on accurate prediction of
immediate future duty
ā¢ This project predicts immediate future duty using a weighted k-Nearest
Neighbor approach
ā¢ Rich driver history allows greater accuracy of prediction and improved
performance, car improves over time as data is gathered
ā¢ Although many subsystems can be optimized, including the BMS and thermal
management, for the scope of this project we optimize the use of a cache in
a heterogeneous power store
2
4. ā¢ Battery pack: high energy density, vehicle range, bad with high current
ā¢ Supercapacitor: high power density, very limited energy, great with high
current, expensive
ā¢ Analogous to a computer system with cheap memory (RAM or HDD) and
expense, fast memory (L1/L2 cache)
ā¢ With intelligent management, the supercapacitor acts as a cache to serve
high-power cycles such as rapid acceleration and regenerative breaking
4
5. Project Execution
ā¢ Developed an optimal controller, given foreknowledge of the upcoming duty
ā¢ Analyzed the lookahead horizon using this optimal controller to determine
what was useful for the learning system to predict
ā¢ Implemented a k-Nearest Neighbor algorithm (kd-Tree for speed, delay from
computing is expensive in the real system)
ā¢ Added useful features and manually adjusted feature weights to improve
performance
ā¢ Analyzed sensitivity to history data coverage
5
6. ā
ā
i2 integral over all trips for: No Capacitor, Best Static Policy,
Optimal Controller
6
7. Project Execution
ā¢ Developed an optimal controller, given foreknowledge of the upcoming duty
ā¢ Analyzed the lookahead horizon using this optimal controller to determine
what was useful for the learning system to predict
ā¢ Implemented a k-Nearest Neighbor algorithm (kd-Tree for speed, delay from
computing is expensive in the real system)
ā¢ Added useful features and manually adjusted feature weights to improve
performance
ā¢ Analyzed sensitivity to history data coverage
7
8. Optimal Controller
ā¢ The cumulative sum of charge taken from the battery must always be
greater than the cumulative sum of charge spent by the motor
ā¢ Any excess cumulative charge moved from the battery, not spent by the
motor, is stored by the capacitor
ā¢ This gives a small window of opportunity for taking power from the battery,
with the lower bound being the charge spent by the motor, and the upper
bound being charge spent by the motor + the total charge the capacitor can
hold
ā¢ We ļ¬t a piecewise linear function inside these bounds that minimizes the
sum of the rate squared
8
9. Lookahead Horizon
i2 integral reduction of Optimal Policy given varying limits of lookahead
āKneeā occurs between 90 and 120 seconds
9
10. k-Nearest Neighbor
ā¢ Very straightforward algorithm for this problem
ā¢ Natural choice given the relationship of features to upcoming duty
ā¢ Points near some intersection facing north will have similar upcoming
duties, but vastly different than points facing south at that intersection
ā¢ Computationally expensive, potentially bad for this problem if delays in
power management result in poor performance, in practice controls are
very low frequency
ā¢ Implemented as kd-Tree for sanity in runtime, also as controls must be
calculated at least as frequently as new GPS data comes in (about one per
second)
ā¢ Ground truth value is a neighbor-distance weighted average of upcoming
power demand curve (averaged at each time slice independently)
10
11. Feature Weighting and Selection
ā¢ Some features are very telling: GPS, time of day, charge spent so far
ā¢ Others are very high frequency and have little relation to the long-term
upcoming demand such as acceleration
ā¢ Final features were: GPS location, elevation, velocity, bearing, charge spent so
far, time of day, day of week (class based)
ā¢ Day of week feature was 0 distance for same day, 0.5 distance for same class
of days (weekday or weekend), and 1 distance otherwise
ā¢ Latitude and Longitude are heavily weighted, current position is vital to
upcoming prediction due to the difference of duty from trafļ¬c signals, road
type (highway, urban), usual trafļ¬c
ā¢ Charge spent thus far with a medium weight, captures a bit of trafļ¬c
encountered and direction, seemingly better than time of day or day of week
11
12. Results and Sensitivity
ā¢ Using a very low history set for each driver (10,000 points, about a week of
driving), with an N of 5 neighbors (similar results from 3-9 neighbors, not as
impressive N=1), and tested versus two weeks of driving
ā¢ Overall performance yields a 54.4% reduction in current squared. The
previous best static algorithms yield a 40.2% reduction, and the upper bound
is 74.1% reduction
ā¢ The best case, for a driver performing only regular commutes, we see a
76.3% reduction, compared to an upper bound of 79.0%, due to the history
providing complete coverage for prediction
ā¢ The average case, with drivers performing only a few irregular trips not in
the history, we see between 66-72% reduction
ā¢ The worst case, when the driver gave the car to his wife, we still see a 34.3%
reduction, likely from the overlap of driving near the home base, or similar
driving styles
12