MembersPage/MattiasSandgren/IdleValveTuningGuide

Idle Valve Tuning Guide

This is currently just information that I gathered together from what's scattered in the Wiki.


Electrical connection

Connect a diode (like 1n4007 or BY399 or ES2J or similar)


Q: What output channel is recommend for idle-valve (2-pin VDO-valve)?

Because these have onboard flyback by default.


Hints for Tuning Idle


Integral windup

But when releasing throttle (engine-braking), some throttle is needed at low RPM, otherwise it often stalls. Obviously, the integral "winds up" too much (actually negative in this case: closing iac too much), than it stalls before it could recover

How to eliminate integral windup ?

We strongly consider this mod if there is a report with detailed analysis and log of the "problem" (saying "trying for months" is no substitute for logs). Otherwise, if it's an integral value tuning problem, than better to tune the PID first anyway.

Negative integral windup

iac_integral_limit_dec=A0 is way too high. set it muuuch lower (05..40 is likely) to prevent negative integral windup.

When RPM is higher than target, integral goes negative; if high iac_integral_limit_dec allows it to go too negative, it requires too much time to diminish after RPM drops under target => engine stalls.


Set IAC actuator speed/PWM freq

Stepper speeds : 0 - 976 steps/s, 1 - 488, 2 - 326, 3 - 244, 4 - 195, 5 - 163, 6 - 139, 7 - 122, 8 - 108, 9 - 98, 10 - 89, 11 - 81, 12 - 75, 13 - 70, 14 - 65, 15 - 61.

PWM freq: 0 - 244 Hz, 1 - 195, 2 - 163, 3 - 139, 4 - 122, 5 - 108, 6 - 98, 7 - 89, 8 - 81, 9 - 75, 10 - 70, 11 - 65, 12 - 61, 13 - 57, 14 - 54, 15 - 51.


Other related pages

PIDControlTuning