58 #ifndef FOXBMS__LG_INR18650MJ1_H_
59 #define FOXBMS__LG_INR18650MJ1_H_
76 #define BC_TEMPERATURE_MAX_DISCHARGE_MSL_ddegC (600)
77 #define BC_TEMPERATURE_MAX_DISCHARGE_RSL_ddegC (550)
78 #define BC_TEMPERATURE_MAX_DISCHARGE_MOL_ddegC (500)
90 #define BC_TEMPERATURE_MIN_DISCHARGE_MSL_ddegC (-200)
91 #define BC_TEMPERATURE_MIN_DISCHARGE_RSL_ddegC (-150)
92 #define BC_TEMPERATURE_MIN_DISCHARGE_MOL_ddegC (-100)
104 #define BC_TEMPERATURE_MAX_CHARGE_MSL_ddegC (450)
105 #define BC_TEMPERATURE_MAX_CHARGE_RSL_ddegC (400)
106 #define BC_TEMPERATURE_MAX_CHARGE_MOL_ddegC (350)
118 #define BC_TEMPERATURE_MIN_CHARGE_MSL_ddegC (0)
119 #define BC_TEMPERATURE_MIN_CHARGE_RSL_ddegC (0)
120 #define BC_TEMPERATURE_MIN_CHARGE_MOL_ddegC (0)
132 #define BC_VOLTAGE_MAX_MSL_mV (4200u)
133 #define BC_VOLTAGE_MAX_RSL_mV (4150u)
134 #define BC_VOLTAGE_MAX_MOL_mV (4100u)
142 #define BC_VOLTAGE_NOMINAL_mV (3650u)
152 #define BC_VOLTAGE_MIN_MSL_mV (2000u)
153 #define BC_VOLTAGE_MIN_RSL_mV (2050u)
154 #define BC_VOLTAGE_MIN_MOL_mV (2100u)
165 #define BC_VOLTAGE_DEEP_DISCHARGE_mV (BC_VOLTAGE_MIN_MSL_mV - 100u)
176 #define BC_CURRENT_MAX_DISCHARGE_MSL_mA (10000u)
177 #define BC_CURRENT_MAX_DISCHARGE_RSL_mA (9500u)
178 #define BC_CURRENT_MAX_DISCHARGE_MOL_mA (9000u)
190 #define BC_CURRENT_MAX_CHARGE_MSL_mA (10000u)
191 #define BC_CURRENT_MAX_CHARGE_RSL_mA (9500u)
192 #define BC_CURRENT_MAX_CHARGE_MOL_mA (9000u)
200 #define BC_CAPACITY_mAh (3500u)
202 #if BC_VOLTAGE_MIN_MSL_mV < BC_VOLTAGE_DEEP_DISCHARGE_mV
203 #error "Configuration error! - Maximum safety limit for under voltage can't be lower than deep-discharge limit"
208 const int16_t voltage_mV;
222 #ifdef UNITY_UNIT_TEST
uint16_t bc_lginr18650mj1SocLutLength
uint16_t bc_lginr18650mj1SoeLutLength
const BC_LUT_s bc_lginr18650mj1SocLut[]
const BC_LUT_s bc_lginr18650mj1SoeLut[]