Modeling, design, and implementation of a novel battery cell equalizer for electric, hybrid electric, and plug-in hybrid electric vehicles