Fine-tuning of battery/load UV/OV alerts

- Alerts now set to +-20% of actual measured voltage
- Hysteresis for load overvoltage reconnect setpoint made configurable
- Added check for PWM switch MOSFET driver undervoltage
This commit is contained in:
Martin Jaeger
2019-11-11 11:38:34 +01:00
parent f254c77ab6
commit 47954166be
5 changed files with 21 additions and 21 deletions
+1
View File
@@ -111,6 +111,7 @@ public:
float junction_temperature; ///< calculated using thermal model based on current and ambient
///< temperature measurement (unit: °C)
float ov_hysteresis; ///< Hysteresis to switch back on after an overvoltage event
private:
int determine_load_state();