pulquero / BatteryAggregator

MIT License
32 stars 8 forks source link

After limitation or CCL or DCL (new feature), CVL goes also to 0V. after resuming normal condition, CVL remains 0V #36

Closed AlexdeKairos closed 4 months ago

AlexdeKairos commented 4 months ago

Testing the new feature of checking FETs state to decide if CCL or DCL must be limited, I found that upon application of both CCL and DCL to 0, CVL goes ALSO to 0v. I think that's a mistake and should not happen. All chargers go to 0V and undervoltage alarm triggers. But after resuming normal condition, the CVL remains 0 even if CCL and DCL goes back to normal. So no charging happens.

AlexdeKairos commented 4 months ago

Screenshot_20240404_133650_VRM Screenshot_20240404_133706_VRM

pulquero commented 4 months ago

Pushed fix.

AlexdeKairos commented 4 months ago

Seems to be fine on v3.0.20