Text this: Optimal algorithms for the charge equalisation controller of series connected lithium-ion battery cells in electric vehicle applications