foxBMS
1.1.2
The foxBMS Battery Management System API Documentation
|
plausibility checks for cell voltage and cell temperatures More...
Go to the source code of this file.
Functions | |
STD_RETURN_TYPE_e | PL_CheckStringVoltage (int32_t voltageMic_mV, int32_t voltageCurrentSensor_mV) |
Pack voltage plausibility check between LTC and current sensor values. More... | |
STD_RETURN_TYPE_e | PL_CheckCellvoltage (int16_t baseCellVoltage, int16_t redundancy0CellVoltage, int16_t *pCellVoltage) |
Cell voltage plausibility check between two redundant cell voltage measurement values. More... | |
STD_RETURN_TYPE_e | PL_CheckCelltemperature (int16_t baseCelltemperature, int16_t redundancy0Celltemperature, int16_t *pCelltemperature) |
Cell temperature plausibility check between two redundant cell temperature measurement values. More... | |
STD_RETURN_TYPE_e | PL_CheckVoltageSpread (DATA_BLOCK_CELL_VOLTAGE_s *pCellvoltages, DATA_BLOCK_MIN_MAX_s *pMinMaxAverageValues) |
Cell voltage spread plausibility check. More... | |
STD_RETURN_TYPE_e | PL_CheckTemperatureSpread (DATA_BLOCK_CELL_TEMPERATURE_s *pCellTemperatures, DATA_BLOCK_MIN_MAX_s *pMinMaxAverageValues) |
Cell temperature spread plausibility check. More... | |
plausibility checks for cell voltage and cell temperatures
SPDX-License-Identifier: BSD-3-Clause
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
We kindly request you to use one or more of the following phrases to refer to foxBMS in your hardware, software, documentation or advertising materials:
Definition in file plausibility.h.
STD_RETURN_TYPE_e PL_CheckCelltemperature | ( | int16_t | baseCelltemperature, |
int16_t | redundancy0Celltemperature, | ||
int16_t * | pCelltemperature | ||
) |
Cell temperature plausibility check between two redundant cell temperature measurement values.
[in] | baseCelltemperature | cell temperature from base measurement |
[in] | redundancy0Celltemperature | cell temperature from redundant measurement |
[out] | pCelltemperature | output cell temperature after plausibility check |
Definition at line 102 of file plausibility.c.
STD_RETURN_TYPE_e PL_CheckCellvoltage | ( | int16_t | baseCellVoltage, |
int16_t | redundancy0CellVoltage, | ||
int16_t * | pCellVoltage | ||
) |
Cell voltage plausibility check between two redundant cell voltage measurement values.
[in] | baseCellVoltage | cell voltage from base measurement |
[in] | redundancy0CellVoltage | cell voltage from redundant measurement |
[out] | pCellVoltage | output cell voltage after plausibility check |
Definition at line 85 of file plausibility.c.
STD_RETURN_TYPE_e PL_CheckStringVoltage | ( | int32_t | voltageMic_mV, |
int32_t | voltageCurrentSensor_mV | ||
) |
Pack voltage plausibility check between LTC and current sensor values.
voltageMic_mV | pack voltage measured by MIC |
voltageCurrentSensor_mV | pack voltage measured by current sensor |
Definition at line 73 of file plausibility.c.
STD_RETURN_TYPE_e PL_CheckTemperatureSpread | ( | DATA_BLOCK_CELL_TEMPERATURE_s * | pCellTemperatures, |
DATA_BLOCK_MIN_MAX_s * | pMinMaxAverageValues | ||
) |
Cell temperature spread plausibility check.
[in,out] | pCellTemperatures | pointer to cell temperature database entry |
[in] | pMinMaxAverageValues | pointer to minimum/maximum/average database entry |
Definition at line 151 of file plausibility.c.
STD_RETURN_TYPE_e PL_CheckVoltageSpread | ( | DATA_BLOCK_CELL_VOLTAGE_s * | pCellvoltages, |
DATA_BLOCK_MIN_MAX_s * | pMinMaxAverageValues | ||
) |
Cell voltage spread plausibility check.
[in,out] | pCellvoltages | pointer to cell voltage database entry |
[in] | pMinMaxAverageValues | pointer to minimum/maximum/average database entry |
Definition at line 119 of file plausibility.c.