Optimal Active Cell Balancing for Lithium-Ion Battery Packs: A Two-Stage Strategy to Minimize Losses and Balancing Duration | IEEE Conference Publication | IEEE Xplore