foxBMS - Unit Tests  1.5.0
The foxBMS Unit Tests API Documentation
wire check configuration

Macros

#define BS_STANDBY_PERIODIC_OPEN_WIRE_CHECK   (false)
 
#define BS_STANDBY_OPEN_WIRE_PERIOD_ms   (600000)
 
#define BS_NORMAL_PERIODIC_OPEN_WIRE_CHECK   (false)
 
#define BS_NORMAL_OPEN_WIRE_PERIOD_ms   (600000)
 
#define BS_CHARGE_PERIODIC_OPEN_WIRE_CHECK   (false)
 
#define BS_CHARGE_OPEN_WIRE_PERIOD_ms   (600000)
 
#define BS_ERROR_OPEN_WIRE_PERIOD_ms   (30000)
 

Detailed Description

If open-wire check is performed, depending on the AFE implementation, cell voltages and temperatures are not updated and thus old values can be transmitted on the CAN bus. Check time is dependent on module configuration and external capacitance. Activate open-wire check with care! See the AFE implementation for details.

Macro Definition Documentation

◆ BS_CHARGE_OPEN_WIRE_PERIOD_ms

#define BS_CHARGE_OPEN_WIRE_PERIOD_ms   (600000)

Periodic open-wire check time in CHARGE state in ms

Definition at line 351 of file battery_system_cfg.h.

◆ BS_CHARGE_PERIODIC_OPEN_WIRE_CHECK

#define BS_CHARGE_PERIODIC_OPEN_WIRE_CHECK   (false)

open-wire check in charge mode (set to true or false)

Definition at line 348 of file battery_system_cfg.h.

◆ BS_ERROR_OPEN_WIRE_PERIOD_ms

#define BS_ERROR_OPEN_WIRE_PERIOD_ms   (30000)

Periodic open-wire check time in ERROR state in ms

Definition at line 354 of file battery_system_cfg.h.

◆ BS_NORMAL_OPEN_WIRE_PERIOD_ms

#define BS_NORMAL_OPEN_WIRE_PERIOD_ms   (600000)

Periodic open-wire check time in NORMAL state in ms

Definition at line 345 of file battery_system_cfg.h.

◆ BS_NORMAL_PERIODIC_OPEN_WIRE_CHECK

#define BS_NORMAL_PERIODIC_OPEN_WIRE_CHECK   (false)

open-wire check in normal mode (set to true or false)

Definition at line 342 of file battery_system_cfg.h.

◆ BS_STANDBY_OPEN_WIRE_PERIOD_ms

#define BS_STANDBY_OPEN_WIRE_PERIOD_ms   (600000)

Periodic open-wire check time in STANDBY state in ms

Definition at line 339 of file battery_system_cfg.h.

◆ BS_STANDBY_PERIODIC_OPEN_WIRE_CHECK

#define BS_STANDBY_PERIODIC_OPEN_WIRE_CHECK   (false)

enable open-wire checks during standby

Definition at line 336 of file battery_system_cfg.h.