Battery pack control schematic diagram