A DEEP DIVE INTO BATTERY MANAGEMENT SYSTEM ARCHITECTURE