Tuning Wiki

The actuator and N75 page explains the hardware: wastegate and variable-geometry actuators, solenoids, boost creep and fault-finding. This page covers the control strategy that drives that hardware on an aftermarket or standalone ECU. Haltech's documentation is the worked example; other makers use different names and table structures.

Open loop and closed loop

Boost control runs in one of two modes (Haltech boost control manual).

  • Open loop does not use a target. The tuner commands a raw duty cycle to the boost solenoid and varies it to change boost.
  • Closed loop uses a target pressure that the controller tries to achieve, raising or lowering duty to reach it.

Open loop is the simplest and is often used to find out what duty the hardware needs. It does not compensate for changes in temperature, fuel or exhaust flow, so a boost result that looked right on one day can differ on another. Closed loop corrects for those changes only within the range of control it has been given.

The parts of a closed-loop controller

  • Target map. The boost the controller aims for, set against engine speed, throttle or other axes. The target can be corrected by air temperature, coolant temperature, gear, throttle position, flex-fuel composition or another channel.
  • Base duty. The duty the system is expected to need to reach the target. The controller adds its corrections to it. A poor base duty leaves the controller doing all of the work.
  • Start or spool behaviour. A spool-assist option holds duty at 100 per cent while boost is positive, and a control point offset, which by default is 50 kPa, sets where regulation begins. For a 200 kPa target, closed-loop control then activates above 150 kPa; below that the base duty applies, or 100 per cent with spool assist. The controller does not regulate the early part of the rise.
  • PID gains. Proportional gain sets how fast the system responds relative to how far it is from the target, integral sets how aggressively the proportional changes are applied, and derivative reduces overshoot when the proportional term is aggressive. A high gain gives quick response and risks overshoot or hunting; a low gain is stable and slow.

Protection

A typical overboost offset is 15 kPa: if boost exceeds the target by that amount, the duty is set to zero. Set a protection limit, with a fuel or ignition cut where the controller offers one, before tuning boost. A controller that only manipulates a solenoid cannot protect the engine from every cause of overboost.

A minimum throttle condition stops corrections being made until the throttle is open enough for boost to reach the target, which prevents overshoot when the throttle opens suddenly.

The wastegate spring sets the floor

A pressure-operated wastegate begins to open when boost pressure on the actuator overcomes its spring, so the spring pressure sets the lowest boost the system can hold: an electronic controller can raise boost above spring pressure by limiting the pressure reaching the actuator, but it cannot lower boost below it. The actual boost depends on plumbing, turbine flow and exhaust pressure, so do not treat spring rating as a safe boost target; see the actuator page.

The same applies to boost creep. If the wastegate cannot pass enough exhaust at high flow, boost rises regardless of duty, and no tuning of the controller cures a restricted or undersized wastegate.

Setting it up

  1. Confirm the hardware first: no leaks in the charge path, the correct plumbing and a wastegate that opens and closes freely. See turbocharger actuators and diverter and dump valves.
  2. Set overboost protection and the safe boost limit for the engine and turbo.
  3. Use open loop to find the duty that gives a modest, safe boost level, then build the base duty table from that.
  4. Move to closed loop, set the target conservatively and tune the gains while logging requested boost, actual boost, duty, ignition and knock correction, and mixture.
  5. Re-check across temperatures, gears and fuels. Flex-fuel composition is a possible target correction, and boost duty may need adjusting at higher ethanol content (Haltech flex-fuel guide): E85 and flex fuel.

More boost raises charge temperature and cylinder pressure, which loads everything covered on forced induction and charge cooling. Check mixture with a wideband sensor (air-fuel ratio and wideband lambda sensors) and the knock margin (ignition timing) before raising targets. Factory ECUs use their own torque-based boost models; see ME7 torque, load and boost control for one.

Sources