rusefi / rusefi

rusefi - GPL internal combustion engine control unit
http://rusefi.com
Other
729 stars 229 forks source link

Alternator Control PID windup #6524

Open ElDominio opened 1 month ago

ElDominio commented 1 month ago

Describe the bug Alternator PID Output stays at a high value after we're past the target voltage for a while, eventually starts lowering

Hardware

To Reproduce Steps to reproduce the behavior:

  1. Set up alternator control
  2. Be under the target voltage for a while
  3. Watch Alternator PID Output go to "Max" and stay there
  4. Watch battery voltage go past Target voltage
  5. Watch Alternator PID Output stay at "Max" for a few seconds until it goes down

Expected behavior The moment Battery Voltage is over target, PID should start outputting less voltage, at least quicker than a few seconds (this usually leads to nasty voltage spikes)

Additional context will try to provide logs without melting car

ElDominio commented 1 month ago

https://rusefi.com/forum/viewtopic.php?t=1088&start=30 i think this is mentioned here