A Smart Battery Management System For Large Format Lithium Ion Cells