Lithium battery BMS management system diagram analysis