24V 6S 40A BMS for Lithium-Ion Battery with Balancing Function