Lithium battery pack voltage and current calculation
Figure 1: BMS Architecture. The AFE provides the MCU and fuel gauge with voltage, temperature, and current readings from the battery. Since the AFE is physically closest to the battery, it is recommended that the AFE also controls the circuit breakers, which disconnect the battery from the rest of the system if any faults are triggered.