Give some background for the MPP_TO_IDLE theshold

This commit is contained in:
Thomas Kolb 2020-04-12 17:45:19 +02:00
parent ff4133232b
commit 3806536c07

View file

@ -591,7 +591,10 @@ int main(void)
fxp_t VOLTAGE_THR_CV_TO_MPP = fxp_sub(CONST_VOLTAGE, fxp_from_float(0.300f)); fxp_t VOLTAGE_THR_CV_TO_MPP = fxp_sub(CONST_VOLTAGE, fxp_from_float(0.300f));
fxp_t VOLTAGE_THR_FLOAT_TO_MPP = fxp_sub(CONST_FLOAT_VOLTAGE, fxp_from_float(0.300f)); fxp_t VOLTAGE_THR_FLOAT_TO_MPP = fxp_sub(CONST_FLOAT_VOLTAGE, fxp_from_float(0.300f));
fxp_t POWER_THR_MPP_TO_IDLE = fxp_from_float(0.500f); // W // below this power in makes no sense to leave the converter on because the
// power used by it is more than what we can generate. Better wait until the
// input voltage rises again.
fxp_t POWER_THR_MPP_TO_IDLE = fxp_from_float(0.300f); // W
// input voltage must exceed this value to leave idle mode // input voltage must exceed this value to leave idle mode
fxp_t VOLTAGE_THR_IDLE_TO_MPP = fxp_from_float(19.0f); // V fxp_t VOLTAGE_THR_IDLE_TO_MPP = fxp_from_float(19.0f); // V