Calibration & Control
Idle speed control
Set the mechanical/base idle correctly before asking closed-loop control to correct it.
Idle calibration maps
Use these with the guide below to establish a good base air setting and then tune the slow air-path and fast spark-path corrections without oscillation.




Idle control strategy
Set Target Idle Speed: The target idle speed should first be set in the Target Idle Speed (rpm) map. A typical map is shown below. The idle speeds shown for temperatures below normal operating temperature will not be achieved (since spark advance is the only method the ECU has to adjust the idle speed). The can be set to the open loop idle speed when warm. Temperatures encountered under normal conditions should be set to the desired idle speed. Commonly this can be around 1000 RPM for example for a mini.

Target Idle Speed map by coolant temperature. The arrows mark the map entry and values.
Closed loop idle control can now be turned on by setting the Idle Control TPS/PPS enable limit (%) to 0.8. Closed loop control will now alter spark advance as necessary to achieve the idle speed set in the map (for normal operating temperatures)
The next maps to be calibrated are the target spark advance in idle and the idle air valve position. By setting the target spark in idle, you control the so called torque reserve. In idle we do not operate the engine at optimal spark efficiency to maintain a certain reserve in torque used by the idle controller to maintain stability. The picture below shows this well.


Image: idle control base spark map
This map sets the target spark advance in idle. The airpath will try to control the engine load in order to achieve this target spark advance in closed loop idle.
This map sets the precontrolled airmass for the the idle controller and as such is also the minimum position of the throttle. It needs to be calibrated in such way that the closed loop idle controller needs to be only perform a minimal correction. The outcome of this map together with all the other compensation maps for the different load consumers forms the base idle duty cycle in %.
As visible in the picture below, this base idle duty cycle then gets added to all the closed loop air path corrections as well as the dashpot compensation air amount.

Image: idle air valve postion
Editable fields
- Idle control PPS enable limit
- Closed loop idle speed control is enabled when pedal position is below this value
- Idle control TPS enable limit
- Closed loop idle speed control is enabled when throttle position is below this value
- Idle Control Offset to Target
- Closed loop idle speed control is enabled when engine speed is below this value + target idle speed
- Idle Air Valve Frequency
- Sets the frequency (in Hz) of the idle speed control valve pulse width modulated output
- Integrator Base Time
- Sets the timebase (in milliseconds) for the closed loop idle control integral term
- Positive Integrator Clamp DC
- Clamps the positive value of the closed loop idle control integral term
- Negative Integrator Clamp DC
- Clamps the negative value of the closed loop idle control integral term
- A/C Idle Spark Advance Offset
- Offset added to the spark advance value when the A/C clutch is engaged, to compensate for the additional load of the A/C compressor
- Rolling idle vehicle speed limit
- If you have a wheel speed input, then the idle PI terms are disabled with a positive speed error (engine speed > target) when vehicle speed is greater than this value
- Idle Air Fuel Pulse Width Offset
- Enables additional fuel as a function of idle air valve position map Only operates in Alpha-N primary load mode
- Stepper Motor Control
- Enables stepper motor control, selects stepper motor operating direction and which end is used for referencing at key-on 4 hardware outputs must also be selected as 'Stepper Output' in ECU Configuration
- Idle Motor Reset
- At key-on this value is the number of steps used to reference the idle stepper motor. It should set to the total number of steps of the motor plus an additional 20 steps to ensure that the full range is achieved from any start position
- Idle Motor Total Range
- This corresponds to the total number of steps of the idle stepper motor from fully open to fully closed
- Dashpot Function
- Enables the dashpot function which opens the idle valve with the throttle and slowly returns it back to the idle position This function is used to assist with the return to idle and low speed drivability
- Dashpot Decay Rate
- When closed loop idle conditions are met, the dashpot percentage value is decremented to zero at the rate (in milliseconds) set by this value
- Dashpot Spark Advance
- When closed loop idle conditions are met and the dashpot percentage value is greater than zero, the spark advance is fixed to this value
- Idle Learn Function
- Enables the idle learn function which adjusts the idle valve position calculation to compensate for the difference between base idle and final idle duty cycle This function is used to assist with the variance between engines
- Positive integral thresh. enable learn
- Idle learn increments if the closed loop idle control integral term is above this value
- Negative integral thresh. enable learn
- Idle learn decrements if the closed loop idle control integral term is below this value
- Positive Learn Clamp DC
- Clamps the positive value of the closed loop idle control learn term
- Negative Learn Clamp DC
- Clamps the negative value of the closed loop idle control learn term
- Catalyst Heating Strategy
- Enables the catalyst heating strategy
- Cat Heating Min Coolant Temp
- Catalyst heating strategy is enabled when coolant temperature is above this value and below the max value
- Cat Heating Max Coolant Temp
- Catalyst heating strategy is enabled when coolant temperature is below this value and above the min value
- Cat Heating Max Crank Counts
- Catalyst heating strategy is disabled when the crank counter is above this value
- Cat Heating Idle Spark Advance Offset
- Offset added to the idle spark advance value when the cat heating strategy is enabled
- Cat Heating Target Idle Speed Offset
- Offset added to the target idle speed value when the cat heating strategy is enabled
- Cat Heating Idle Speed DC Offset
- Offset added to the idle duty cycle value when the cat heating strategy is enabled
- Cat Heating Ramp In Timebase
- Time base to ramp in spark advance and idle duty cycle offsets during cat heating phase
- Cat Heating Ramp Out Timebase
- Time base to ramp out spark advance and idle duty cycle offsets during cat heating phase
- Clutch Down Idle Offset
- Enables the clutch down idle offset function which opens the idle valve when the clutch is depressed This function is used to assist with take off from rest by add torque reserve
- Clutch Down Idle Speed Offset
- Offset added to the target idle speed value when the clutch is down
- Clutch Down Idle Speed DC Offset
- Offset added to the idle duty cycle value when the clutch is down
- Clutch Down Idle Offset Timer
- Sets the timer after clutch up for idle offset to be cancelled
- Clutch Down Idle Spark Advance Offset
- Fixes spark advance to this value when conditions for overrun fuel cut-off are met
- Clutch Down Spark Offset Timebase
- Time base to ramp in spark advance offset during when clutch down strategy activates
See Paddle Shift Setup for the shared clutch switch voltage threshold.
A next step in the calibration process is then to calibrate all the separate load compensation maps such as the one for AC, for the gear/ torque converter on automatic cars and for the fan control and alternator load.
Once all the precontrolled load compensations are calibrated, the closed loop controller needs to be calibrated. It is a traditional PI closed loop controller but there is one acting only on the slow air path and another P controller acting on the fast torque spark path.
The integrator gain is multiplied with the idle speed error and then goes against that deviation by adding air when the speed is below target and subtracting air valve duty cycle when the engine speed Is over the set target speed.

Image: idle closed loop controller proportional gain
The proportional gain is also multiplied with the idle speed error and then goes against that deviation by adding air when the speed is below target and subtracting air valve duty cycle when the engine speed Is over the set target speed.
A second proportional gain is also multiplied with the idle speed error and then goes against that deviation by adding spark advance when the speed is below target and retarding the ignition angle when the engine speed Is over the set target speed. This control is quick acting because it can alter the engine torque in between two combustion cycles immediately.
For all of these controller gains, the general rule applies to make them as strong a possible without creating big control overshoots or oscillations. For rolling idle, a second set of gain parameters can be activated since the inertia of the powertrain is then bigger and integrator wind up could become an issue with the more aggressive standard idle gains.

Catalyst Heating settings in Idle Speed Control Variables.
Inside the idle control function, you will also find the catalyst heating control function. It can be triggered directly after start depending on the coolant temperature at start. It then becomes active for a number of crank counts until the catalyst reaches operating temperature.
The strategy exists out of two parts;
The first one increases the idle speed target to produce more exhaust gas flow to transport heat into the catalyst.
The second one retards the ignition as far as the combustion stability of the engine will allow in idle to decrease the thermal efficiency of the combustion and thus produce hotter and more exhaust gasses which will then transport more thermal energy towards the catalyst.
This function is typically only needed for about 800 to 1000 crank counts after start after which it is ramped out over a calibrateable ramp. At this point the catalyst has reached its light off temperature.
Since for both the increase idle speed and for the retarded spark, more air is needed by the engine an offset to the normal base idle DC is active during catalyst heating and needs to be calibrated here.

Crank Counter/Coolant Temp Offset map showing spark advance offsets by crank count and coolant temperature.
A second part of the catalyst heating strategy is inside the ignition correction factors function. It retards the ignition angle on cold part load acceleration to further assist the catalyst light off process. This function is also needed to reduce the aggressivity of the torque increase when leaving the catalyst heating idle which has lots of torque reserve over spark retard and go into part load operation. Without retarded values inside this map, the spark advance would immediately jump to its optimal value which due to the excessive amount of air/ manifold pressure would lead to a big jump in torque.

Image: catalyst heating phase in an emission cycle.
Idle control corrections and offsets
Idle Closed Loop Control
Rolling Idle Proportional Spark Advance (°)
Closed loop rolling idle speed control proportional spark advance action (in degrees BTDC) as a function of idle speed RPM error (difference between target idle speed and actual engine speed). This map is used when the vehicle speed is over rolling idle speed threshold
To activate this map, set Map Enable? on the right to Enabled.
User Defined Target Idle Speed Offset (RPM)
Idle target speed offset as a function of a user defined input
User can select the axis from the list in the drop down box and enable an idle target speed offset as a function of this value
To activate this map, choose an enabled mode in Map Enable? on the right.
Idle Duty Cycle Offsets
Idle Air Valve AC Offset (%)
Idle duty cycle offset percentage added to base idle duty cycle when A/C clutch is engaged
Used to compensate for the additional load on the engine caused by the A/C compressor
Map is a function of time (in seconds) since A/C clutch engaged by ECU
Idle Air Valve Cooling Fan1 Offset (%)
Idle duty cycle offset percentage added to base idle duty cycle when Cooling Fan 1 is engaged
Used to compensate for the additional electrical load on the engine caused by the cooling fan
Map is a function of time (in seconds) since Cooling Fan 1 engaged by ECU
Idle Air Valve Cooling Fan2 Offset (%)
Idle duty cycle offset percentage added to base idle duty cycle when Cooling Fan 2 is engaged
Used to compensate for the additional electrical load on the engine caused by the cooling fan
Map is a function of time (in seconds) since Cooling Fan 2 engaged by ECU
Idle Air Valve Dashpot (%)
Dashpot idle duty cycle percentage offset map as a function of throttle position
This value is added to the current idle duty cycle percentage when the throttle is opened to give a slower return to idle and prevent engine stall
Dashpot is decayed to zero when idle conditions are met, at the rate defined in Idle Speed Control Variables
Idle Air Valve Park-Neutral-Drive Offset (%)
Idle duty cycle offset percentage added to base idle duty cycle when Drive or Reverse is engaged
Used to compensate for the additional electrical load on the engine caused by the cooling fan
Map is a function of time (in seconds) since Drive or Reverse engaged by ECU
To activate this map, set Map Enable? on the right to Enabled.
Idle Air Valve TCM Torque Offset (%)
Idle duty cycle offset percentage added to base idle duty cycle as a function of torque request from the transmission controller
Used to compensate for the additional load on the engine caused by the absorption torque of the transmission
Map is a function of torque request in Nm
User Defined Offset (%)
Idle Duty Cycle offset as a function of a user defined input
User can select the axis from the list in the drop down box and enable an idle duty cycle offset as a function of this value
To activate this map, choose an enabled mode in Map Enable? on the right.

