foxBMS  1.0.0
The foxBMS Battery Management System API Documentation
DATA_BLOCK_PACK_VALUES Struct Reference

#include <database_cfg.h>

Collaboration diagram for DATA_BLOCK_PACK_VALUES:

Data Fields

DATA_BLOCK_HEADER_s header
 
int32_t packCurrent_mA
 
uint8_t invalidPackCurrent
 
int32_t batteryVoltage_mV
 
uint8_t invalidBatteryVoltage
 
int32_t highVoltageBusVoltage_mV
 
uint8_t invalidHvBusVoltage
 
int32_t packPower_W
 
uint8_t invalidPackPower
 
int32_t stringVoltage_mV [BS_NR_OF_STRINGS]
 
uint8_t invalidStringVoltage [BS_NR_OF_STRINGS]
 
int32_t stringCurrent_mA [BS_NR_OF_STRINGS]
 
uint8_t invalidStringCurrent [BS_NR_OF_STRINGS]
 
int32_t stringPower_W [BS_NR_OF_STRINGS]
 
uint8_t invalidStringPower [BS_NR_OF_STRINGS]
 

Detailed Description

data block struct of pack measurement values

Definition at line 185 of file database_cfg.h.

Field Documentation

◆ batteryVoltage_mV

int32_t DATA_BLOCK_PACK_VALUES::batteryVoltage_mV

voltage between negative and positive battery pole, unit: mV

Definition at line 193 of file database_cfg.h.

◆ header

DATA_BLOCK_HEADER_s DATA_BLOCK_PACK_VALUES::header

Data block header

Definition at line 189 of file database_cfg.h.

◆ highVoltageBusVoltage_mV

int32_t DATA_BLOCK_PACK_VALUES::highVoltageBusVoltage_mV

voltage between negative battery pole and after positive main contactor, unit: mV

Definition at line 196 of file database_cfg.h.

◆ invalidBatteryVoltage

uint8_t DATA_BLOCK_PACK_VALUES::invalidBatteryVoltage

bitmask if voltage is valid. 0->valid, 1->invalid

Definition at line 194 of file database_cfg.h.

◆ invalidHvBusVoltage

uint8_t DATA_BLOCK_PACK_VALUES::invalidHvBusVoltage

bitmask if voltage is valid. 0->valid, 1->invalid

Definition at line 197 of file database_cfg.h.

◆ invalidPackCurrent

uint8_t DATA_BLOCK_PACK_VALUES::invalidPackCurrent

bitmask if current is valid. 0->valid, 1->invalid

Definition at line 192 of file database_cfg.h.

◆ invalidPackPower

uint8_t DATA_BLOCK_PACK_VALUES::invalidPackPower

bitmask if power is valid. 0->valid, 1->invalid

Definition at line 199 of file database_cfg.h.

◆ invalidStringCurrent

uint8_t DATA_BLOCK_PACK_VALUES::invalidStringCurrent[BS_NR_OF_STRINGS]

bitmask if currents are valid. 0->valid, 1->invalid

Definition at line 203 of file database_cfg.h.

◆ invalidStringPower

uint8_t DATA_BLOCK_PACK_VALUES::invalidStringPower[BS_NR_OF_STRINGS]

bitmask if power values are valid. 0->valid, 1->invalid

Definition at line 205 of file database_cfg.h.

◆ invalidStringVoltage

uint8_t DATA_BLOCK_PACK_VALUES::invalidStringVoltage[BS_NR_OF_STRINGS]

bitmask if voltages are valid. 0->valid, 1->invalid

Definition at line 201 of file database_cfg.h.

◆ packCurrent_mA

int32_t DATA_BLOCK_PACK_VALUES::packCurrent_mA

current in the whole battery pack, unit: mA

Definition at line 191 of file database_cfg.h.

◆ packPower_W

int32_t DATA_BLOCK_PACK_VALUES::packPower_W

power provided by respectively supplied to the battery pack, unit: W

Definition at line 198 of file database_cfg.h.

◆ stringCurrent_mA

int32_t DATA_BLOCK_PACK_VALUES::stringCurrent_mA[BS_NR_OF_STRINGS]

current in each string, unit: mA

Definition at line 202 of file database_cfg.h.

◆ stringPower_W

int32_t DATA_BLOCK_PACK_VALUES::stringPower_W[BS_NR_OF_STRINGS]

power of each string, unit: W

Definition at line 204 of file database_cfg.h.

◆ stringVoltage_mV

int32_t DATA_BLOCK_PACK_VALUES::stringVoltage_mV[BS_NR_OF_STRINGS]

voltage of each string, unit: mV

Definition at line 200 of file database_cfg.h.


The documentation for this struct was generated from the following file: