60 #ifndef FOXBMS__BATTERY_CELL_CFG_H_
61 #define FOXBMS__BATTERY_CELL_CFG_H_
79 #define BC_TEMPERATURE_MAX_DISCHARGE_MSL_ddegC (550)
80 #define BC_TEMPERATURE_MAX_DISCHARGE_RSL_ddegC (500)
81 #define BC_TEMPERATURE_MAX_DISCHARGE_MOL_ddegC (450)
95 #define BC_TEMPERATURE_MIN_DISCHARGE_MSL_ddegC (-200)
96 #define BC_TEMPERATURE_MIN_DISCHARGE_RSL_ddegC (-150)
97 #define BC_TEMPERATURE_MIN_DISCHARGE_MOL_ddegC (-100)
111 #define BC_TEMPERATURE_MAX_CHARGE_MSL_ddegC (450)
112 #define BC_TEMPERATURE_MAX_CHARGE_RSL_ddegC (400)
113 #define BC_TEMPERATURE_MAX_CHARGE_MOL_ddegC (350)
127 #define BC_TEMPERATURE_MIN_CHARGE_MSL_ddegC (-200)
128 #define BC_TEMPERATURE_MIN_CHARGE_RSL_ddegC (-150)
129 #define BC_TEMPERATURE_MIN_CHARGE_MOL_ddegC (-100)
143 #define BC_VOLTAGE_MAX_MSL_mV (2800)
144 #define BC_VOLTAGE_MAX_RSL_mV (2750)
145 #define BC_VOLTAGE_MAX_MOL_mV (2720)
154 #define BC_VOLTAGE_NOMINAL_mV (2500)
167 #define BC_VOLTAGE_MIN_MSL_mV (1700)
168 #define BC_VOLTAGE_MIN_RSL_mV (1750)
169 #define BC_VOLTAGE_MIN_MOL_mV (1780)
182 #define BC_VOLTAGE_DEEP_DISCHARGE_mV (BC_VOLTAGE_MIN_MSL_mV)
195 #define BC_CURRENT_MAX_DISCHARGE_MSL_mA (180000u)
196 #define BC_CURRENT_MAX_DISCHARGE_RSL_mA (175000u)
197 #define BC_CURRENT_MAX_DISCHARGE_MOL_mA (170000u)
211 #define BC_CURRENT_MAX_CHARGE_MSL_mA (180000u)
212 #define BC_CURRENT_MAX_CHARGE_RSL_mA (175000u)
213 #define BC_CURRENT_MAX_CHARGE_MOL_mA (170000u)
221 #define BC_CAPACITY_mAh (3500u)
223 #define BC_ENERGY_Wh (10.0f)
225 #if BC_VOLTAGE_MIN_MSL_mV < BC_VOLTAGE_DEEP_DISCHARGE_mV
226 #error "Configuration error! - Maximum safety limit for under voltage can't be lower than deep-discharge limit"
uint16_t bc_stateOfChargeLookupTableLength
uint16_t bc_stateOfEnergyLookupTableLength
const BC_LUT_s bc_stateOfEnergyLookupTable[]
const BC_LUT_s bc_stateOfChargeLookupTable[]
General macros and definitions for the whole platform.