Battery pack total voltage collection principle