Performance comparison of active balancing techniques for lithium-ion batteries