Text this: Layered energy equalization structure for series battery pack based on multiple optimal matching