The role of mcu and bms battery management system