59 #ifndef FOXBMS__BATTERY_CELL_CFG_H_
60 #define FOXBMS__BATTERY_CELL_CFG_H_
78 #define BC_TEMPERATURE_MAX_DISCHARGE_MSL_ddegC (550)
79 #define BC_TEMPERATURE_MAX_DISCHARGE_RSL_ddegC (500)
80 #define BC_TEMPERATURE_MAX_DISCHARGE_MOL_ddegC (450)
94 #define BC_TEMPERATURE_MIN_DISCHARGE_MSL_ddegC (-200)
95 #define BC_TEMPERATURE_MIN_DISCHARGE_RSL_ddegC (-150)
96 #define BC_TEMPERATURE_MIN_DISCHARGE_MOL_ddegC (-100)
110 #define BC_TEMPERATURE_MAX_CHARGE_MSL_ddegC (450)
111 #define BC_TEMPERATURE_MAX_CHARGE_RSL_ddegC (400)
112 #define BC_TEMPERATURE_MAX_CHARGE_MOL_ddegC (350)
126 #define BC_TEMPERATURE_MIN_CHARGE_MSL_ddegC (-200)
127 #define BC_TEMPERATURE_MIN_CHARGE_RSL_ddegC (-150)
128 #define BC_TEMPERATURE_MIN_CHARGE_MOL_ddegC (-100)
142 #define BC_VOLTAGE_MAX_MSL_mV (2800)
143 #define BC_VOLTAGE_MAX_RSL_mV (2750)
144 #define BC_VOLTAGE_MAX_MOL_mV (2720)
153 #define BC_VOLTAGE_NOMINAL_mV (2500)
166 #define BC_VOLTAGE_MIN_MSL_mV (1700)
167 #define BC_VOLTAGE_MIN_RSL_mV (1750)
168 #define BC_VOLTAGE_MIN_MOL_mV (1780)
181 #define BC_VOLTAGE_DEEP_DISCHARGE_mV (BC_VOLTAGE_MIN_MSL_mV)
194 #define BC_CURRENT_MAX_DISCHARGE_MSL_mA (180000u)
195 #define BC_CURRENT_MAX_DISCHARGE_RSL_mA (175000u)
196 #define BC_CURRENT_MAX_DISCHARGE_MOL_mA (170000u)
210 #define BC_CURRENT_MAX_CHARGE_MSL_mA (180000u)
211 #define BC_CURRENT_MAX_CHARGE_RSL_mA (175000u)
212 #define BC_CURRENT_MAX_CHARGE_MOL_mA (170000u)
220 #define BC_CAPACITY_mAh (3500u)
222 #define BC_ENERGY_Wh (10.0f)
224 #if BC_VOLTAGE_MIN_MSL_mV < BC_VOLTAGE_DEEP_DISCHARGE_mV
225 #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.