55 #ifndef FOXBMS__SOF_CFG_H_
56 #define FOXBMS__SOF_CFG_H_
67 #define SOF_STRING_CURRENT_CONTINUOUS_CHARGE_mA (120000.00f)
73 #define SOF_MOL_STRING_CURRENT_CONTINUOUS_CHARGE_mA (10000.00f)
74 #define SOF_RSL_STRING_CURRENT_CONTINUOUS_CHARGE_mA (11500.00f)
75 #define SOF_MSL_STRING_CURRENT_CONTINUOUS_CHARGE_mA (12200.00f)
82 #define SOF_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (120000.00f)
88 #define SOF_MOL_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (10000.00f)
89 #define SOF_RSL_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (11500.00f)
90 #define SOF_MSL_STRING_CURRENT_CONTINUOUS_DISCHARGE_mA (12200.00f)
98 #define SOF_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
104 #define SOF_MOL_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
105 #define SOF_RSL_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
106 #define SOF_MSL_STRING_CURRENT_LIMP_HOME_mA (20000.00f)
114 #define SOF_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
122 #define SOF_MOL_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
123 #define SOF_RSL_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
124 #define SOF_MSL_TEMPERATURE_LOW_CUTOFF_DISCHARGE_ddegC (0)
132 #define SOF_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
141 #define SOF_MOL_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
142 #define SOF_RSL_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
143 #define SOF_MSL_TEMPERATURE_LOW_LIMIT_DISCHARGE_ddegC (-100)
151 #define SOF_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
159 #define SOF_MOL_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
160 #define SOF_RSL_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
161 #define SOF_MSL_TEMPERATURE_LOW_CUTOFF_CHARGE_ddegC (0)
169 #define SOF_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
177 #define SOF_MOL_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
178 #define SOF_RSL_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
179 #define SOF_MSL_TEMPERATURE_LOW_LIMIT_CHARGE_ddegC (-100)
187 #define SOF_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
195 #define SOF_MOL_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
196 #define SOF_RSL_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
197 #define SOF_MSL_TEMPERATURE_HIGH_CUTOFF_DISCHARGE_ddegC (450)
205 #define SOF_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
214 #define SOF_MOL_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
215 #define SOF_RSL_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
216 #define SOF_MSL_TEMPERATURE_HIGH_LIMIT_DISCHARGE_ddegC (550)
224 #define SOF_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
232 #define SOF_MOL_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
233 #define SOF_RSL_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
234 #define SOF_MSL_TEMPERATURE_HIGH_CUTOFF_CHARGE_ddegC (450)
242 #define SOF_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
250 #define SOF_MOL_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
251 #define SOF_RSL_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
252 #define SOF_MSL_TEMPERATURE_HIGH_LIMIT_CHARGE_ddegC (550)
258 #define SOF_VOLTAGE_CUTOFF_CHARGE_mV (2400)
266 #define SOF_MOL_VOLTAGE_CUTOFF_CHARGE_mV (2400)
267 #define SOF_RSL_VOLTAGE_CUTOFF_CHARGE_mV (2400)
268 #define SOF_MSL_VOLTAGE_CUTOFF_CHARGE_mV (2400)
274 #define SOF_VOLTAGE_LIMIT_CHARGE_mV (2550)
282 #define SOF_MOL_VOLTAGE_LIMIT_CHARGE_mV (2550)
283 #define SOF_RSL_VOLTAGE_LIMIT_CHARGE_mV (2550)
284 #define SOF_MSL_VOLTAGE_LIMIT_CHARGE_mV (2550)
290 #define SOF_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
298 #define SOF_MOL_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
299 #define SOF_RSL_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
300 #define SOF_MSL_VOLTAGE_CUTOFF_DISCHARGE_mV (2000)
306 #define SOF_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
314 #define SOF_MOL_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
315 #define SOF_RSL_VOLTAGE_LIMIT_DISCHARGE_mV (1750)
316 #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
const SOF_CONFIG_s sof_maximumOperatingLimit
float maximumDischargeCurrent_mA
float maximumChargeCurrent_mA
int16_t limitLowTemperatureCharge_ddegC
int16_t limitLowerCellVoltage_mV
int16_t limitUpperCellVoltage_mV
int16_t cutoffHighTemperatureDischarge_ddegC
int16_t cutoffHighTemperatureCharge_ddegC
int16_t limitHighTemperatureCharge_ddegC
int16_t cutoffLowerCellVoltage_mV
int16_t limitHighTemperatureDischarge_ddegC
int16_t limitLowTemperatureDischarge_ddegC
int16_t cutoffLowTemperatureCharge_ddegC
int16_t cutoffLowTemperatureDischarge_ddegC
int16_t cutoffUpperCellVoltage_mV