Text this: Functional Safety BMS Design Methodology for Automotive Lithium-Based Batteries