4.8. Redundancy
4.8.1. Module Files
4.8.1.1. Driver
src/app/application/redundancy/redundancy.csrc/app/application/redundancy/redundancy.h
4.8.1.2. Configuration
none
4.8.1.3. Unit Test
tests/unit/app/application/redundancy/test_redundancy.c
4.8.2. Detailed Description
This section of the documentation is not yet complete.
4.8.3. FAQs
Question:
The database entries XXX_BASE and XXX_REDUNDANCY0 for cell voltages and
cell temperatures are only read and not written in function
MRC_ValidateAfeMeasurement().
Is that correct?
Answer:
It is correct that the cell voltage and cell temperature measurements from the
AFE is just read by the redundancy module.
Function MRC_ValidateCellVoltageMeasurement() receives the cell voltage
measurement values of the base and the redundant measurement as an input and
validates the measurements.
The validated cell voltages are then written into database entry
DATA_BLOCK_ID_CELL_VOLTAGE.
This database entry contains the validated measurements and is consecutively
used from all other modules throughout the BMS.
The same logic is applied to the cell temperature measurement values.
Here, the validated measurements are written into the database entry
DATA_BLOCK_ID_CELL_TEMPERATURE.
The database entries XXX_BASE and XXX_REDUNDANCY0 are used to update
the cell voltage and cell temperature measurements from the AFEs into the
database. The database entry XXX_REDUNDANCY0 will only be used if a redundant
AFE measurement is available. The redundancy module checks the validity of the
measurements and updates the validated measurements into the database entries
DATA_BLOCK_ID_CELL_VOLTAGE and DATA_BLOCK_ID_CELL_TEMPERATURE, which
are then used by all other modules, such as the SOX algorithm.