FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
51 stars 29 forks source link

Vary DFCO MAP threshold based on current RPM #478

Closed alrijleh closed 2 months ago

alrijleh commented 2 months ago

I've noticed with my car (NA Miata) that at 4000 rpm the car will decelerate at around 20kpa, while at 2000 it will be closer to 30. In my experience, setting the DFCO threshold at 24 will result in the car never entering DFCO at low engine speeds, but 28 will result in a jolt when fuel cuts at high engine speed.

Adding an option to set the DFCO MAP threshold on a curve based on RPM would solve the issue, allowing for fuel saving at low engine speed, and smoother behavior at high engine speeds.

DenisMitchell commented 2 months ago

Can this be avoided by using the DFCO delay?

alrijleh commented 2 months ago

I currently have a small amount of DFCO delay (0.3 seconds) in place, and still observe this behavior. Another different approach to improving DFCO would be adding hysteresis to the MAP threshold like we do with RPM. ie cut below 22 MAP and enable fuel above 25 MAP