54 #ifndef FOXBMS__SOF_CFG_H_
55 #define FOXBMS__SOF_CFG_H_
66 #define SOF_STRING_CURRENT_CONTINUOUS_CHARGE_mA (120000.00f)
72 #define SOF_MOL_STRING_CURRENT_CONTINUOUS_CHARGE_mA (10000.00f)
73 #define SOF_RSL_STRING_CURRENT_CONTINUOUS_CHARGE_mA (11500.00f)
74 #define SOF_MSL_STRING_CURRENT_CONTINUOUS_CHARGE_mA (12200.00f)
81 #define SOF_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (120000.00f)
87 #define SOF_MOL_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (10000.00f)
88 #define SOF_RSL_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (11500.00f)
89 #define SOF_MSL_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (12200.00f)
97 #define SOF_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
103 #define SOF_MOL_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
104 #define SOF_RSL_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
105 #define SOF_MSL_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
113 #define SOF_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
121 #define SOF_MOL_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
122 #define SOF_RSL_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
123 #define SOF_MSL_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
131 #define SOF_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
140 #define SOF_MOL_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
141 #define SOF_RSL_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
142 #define SOF_MSL_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
150 #define SOF_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
158 #define SOF_MOL_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
159 #define SOF_RSL_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
160 #define SOF_MSL_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
168 #define SOF_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
176 #define SOF_MOL_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
177 #define SOF_RSL_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
178 #define SOF_MSL_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
186 #define SOF_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
194 #define SOF_MOL_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
195 #define SOF_RSL_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
196 #define SOF_MSL_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
204 #define SOF_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
213 #define SOF_MOL_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
214 #define SOF_RSL_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
215 #define SOF_MSL_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
223 #define SOF_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
231 #define SOF_MOL_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
232 #define SOF_RSL_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
233 #define SOF_MSL_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
241 #define SOF_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
249 #define SOF_MOL_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
250 #define SOF_RSL_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
251 #define SOF_MSL_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
257 #define SOF_VOLTAGE_CUTOFF_CHARGE_mV (2400)
265 #define SOF_MOL_VOLTAGE_CUTOFF_CHARGE_mV (2400)
266 #define SOF_RSL_VOLTAGE_CUTOFF_CHARGE_mV (2400)
267 #define SOF_MSL_VOLTAGE_CUTOFF_CHARGE_mV (2400)
273 #define SOF_VOLTAGE_LIMIT_CHARGE_mV (2550)
281 #define SOF_MOL_VOLTAGE_LIMIT_CHARGE_mV (2550)
282 #define SOF_RSL_VOLTAGE_LIMIT_CHARGE_mV (2550)
283 #define SOF_MSL_VOLTAGE_LIMIT_CHARGE_mV (2550)
289 #define SOF_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
297 #define SOF_MOL_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
298 #define SOF_RSL_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
299 #define SOF_MSL_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
305 #define SOF_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
313 #define SOF_MOL_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
314 #define SOF_RSL_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
315 #define SOF_MSL_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
General macros and definitions for the whole platform.
const SOF_CONFIG_s sof_recommendedCurrent
const SOF_CONFIG_s sof_recommendedSafetyLimit
const SOF_CONFIG_s sof_configMaximumSafetyLimit
struct SOF_CONFIG SOF_CONFIG_s
const SOF_CONFIG_s sof_maximumOperatingLimit
int16_t limitUpperCellVoltage_mV
int16_t cutoffUpperCellVoltage_mV
int16_t limitHighTemperatureDischarge_ddegC
float maximumDischargeCurrent_mA
int16_t limitLowerCellVoltage_mV
int16_t cutoffLowTemperatureCharge_ddegC
int16_t limitLowTemperatureDischarge_ddegC
int16_t limitLowTemperatureCharge_ddegC
int16_t cutoffHighTemperatureDischarge_ddegC
float maximumChargeCurrent_mA
int16_t cutoffLowerCellVoltage_mV
int16_t limitHighTemperatureCharge_ddegC
int16_t cutoffLowTemperatureDischarge_ddegC
int16_t cutoffHighTemperatureCharge_ddegC