Battery charge estimation: Refactor the filtering strategy and move it to the backend, doing integration before and filtering the resulting charge estimate

This commit is contained in:
Lorenz Meier
2016-04-29 11:05:44 +02:00
parent 343b8fb50f
commit 1b133931a6
3 changed files with 41 additions and 28 deletions
+3 -3
View File
@@ -106,12 +106,12 @@ PARAM_DEFINE_FLOAT(BAT_CRIT_THR, 0.09f);
*
* @group Battery Calibration
* @unit V
* @min 0.0
* @max 1.5
* @min 0.07
* @max 0.5
* @decimal 2
* @increment 0.01
*/
PARAM_DEFINE_FLOAT(BAT_V_LOAD_DROP, 0.07f);
PARAM_DEFINE_FLOAT(BAT_V_LOAD_DROP, 0.25f);
/**
* Number of cells.