Predictive Cruise Controller for Electric Vehicle to Save Energy and Extend Battery Lifetime