Commit graph

15 commits

Author SHA1 Message Date
Daniel Öster
d2098e1de5 Merge branch 'main' into improvement/debug-at-runtime 2025-08-30 23:24:47 +03:00
Daniel Öster
a1e5bc57d0 Remove ifdef from logging 2025-08-29 23:16:36 +03:00
Daniel Öster
d715d169fe Avoid oscillation in precharge incase it fails/timeoutus 2025-08-19 21:27:29 +03:00
Jaakko Haakana
995cc7784c Add working unit tests 2025-07-26 15:19:49 +03:00
Jaakko Haakana
f609d54a14 Add some required includes 2025-07-25 19:11:07 +03:00
Jaakko Haakana
64d1fa418a Remove include.h, does not build yet 2025-07-23 09:32:53 +03:00
Jaakko Haakana
12b402f994 Initial hal changes 2025-06-22 23:30:11 +03:00
Jaakko Haakana
2d30370777 Make conflicting globals static 2025-06-18 20:52:01 +03:00
Daniel Öster
2d35e08848 Update precharge to handle separate pin definitions 2025-05-13 18:52:48 +03:00
Marijn van Galen
566039be5d
MEB: improvements (#848)
- Don't regulate precharge voltage with external voltage 0.
- Improve log output
- Wait before starting precharge.
- MEB: Improve handling of data from battery BMS
- Use actual_Cellvoltage_lowest / highest instead of calculating min/max ourselves.
- Correct conversion of temperature_min/max _dC
- Correct total_capacity_Wh calculation
- Set overall battery_temperature_dC in extended datalayer
- Set celltemperature values in extended datalayer
- Set temp_points temperature values in extended datalayer
- Fix TODO comments that are already solved
- Add temp point PIDs and store in extended datalayer.
- Display temp points and cell temperatures in advanced battery page
- MEB: Add events start/end balancing
- Use actual precharge status for precharge bit send to BMS
- Only set lowest/highest cell voltage in datalayer when they have actually been received.
2025-02-04 08:42:54 +01:00
mvgalen
1dcc6fed62 Fix code formatting. 2025-01-14 23:01:24 +01:00
mvgalen
40fbdc5f73 Fix code formatting. 2025-01-14 22:44:33 +01:00
mvgalen
9410b8732b Changes due to review comments
- Split bms_status (system status) to real_bms_status (bms status)
- Put #ifdef DEBUG_LOG around all log calls.
- Do not update bms_status (system status) directly, fire event instead from automatic precharge control
- Add Battery BMS status to webserver for MEB battery type only
2025-01-14 22:26:31 +01:00
mvgalen
f9132dfd30 Disable precharge bit if not precharging. 2025-01-13 19:50:42 +01:00
mvgalen
dccfca17ea Add Automatic Precharge Control for modified HIA4V1 boards 2025-01-02 21:58:24 +01:00