speeduino icon indicating copy to clipboard operation
speeduino copied to clipboard

Idle integral reset rpm hysteresis not working causing stall

Open 155ac opened this issue 2 years ago • 4 comments

The integral reset rpm hysteresis option is not working, making the engine stall in deceleration.

The iac value should be held until rpm drops below the rpm hysteresis setting then the pid should start.

Capturar Here the iac value should come from the iac stepper motor until the rpms drop below 1110 rpm, then the pid should start.

Here are my idle configs. idle

155ac avatar Sep 02 '23 16:09 155ac

That is very odd, the check is in place and is right AFAIK https://github.com/noisymime/speeduino/blob/master/speeduino/idle.ino#L719 Also, don't use 0 as minimum steps as it will definitely stall the engine, try something like 10.

VitorBoss avatar Sep 02 '23 20:09 VitorBoss

the minimum iac value is near zero because i adjust the throttle stop screw in a way that wen the engine is warm and with no load the value stay close to zero.

the problem is when is load on the engine i stalls because the pid is closing the valve very fast, because ther is no rpm hysteresis. When it should use the table and then it slowly going back to pid control, like how he does when the tps is above the reset. as you can see in the log as i close the throttle it go slowly from table to pid control, but is not doing based on rpm as it should.

Only the tps value is working, i try to increase and decrease the rpm hysteresis in settings, but it's still not working. idle error

155ac avatar Sep 02 '23 22:09 155ac

I'm also running the latest build 2023.05 and the idle work great in open loop, only in closed loop the problem appears so no hardware problems in the stepper motor and driver.

155ac avatar Sep 02 '23 22:09 155ac

the minimum iac value is near zero because i adjust the throttle stop screw in a way that wen the engine is warm and with no load the value stay close to zero.

the problem is when is load on the engine i stalls because the pid is closing the valve very fast, because ther is no rpm hysteresis. When it should use the table and then it slowly going back to pid control, like how he does when the tps is above the reset. as you can see in the log as i close the throttle it go slowly from table to pid control, but is not doing based on rpm as it should.

Only the tps value is working, i try to increase and decrease the rpm hysteresis in settings, but it's still not working.

idle error

I have the same issue, was a fix for this found?

ponzano avatar Jun 07 '24 09:06 ponzano