High performance active battery management system with multi-winding transformer