User Tools

Site Tools


fueltrimupdatepoints

This is an old revision of the document!


Fuel-trims: What They Are and How They Work

Like any control system, there are two basic fuel modes in the DSM ECU: open loop and closed loop

In a nut shell, while running open loop the ECU just assumes it knows how much fuel is really going in and it assumes that accurate airflow data is being presented to it. It does not check these assumptions against anything. It just calculates how much fuel is need to achieve a certain A/F ratio based on airflow data. It looks this target A/F ratio up in an open loop fuel table indexed by RPM and engine load.

In closed loop mode, the ECU checks itself by “watching” the front O2 sensor feedback. The factory front O2 sensor switches abruptly around 14.7:1 A/F ratio. The ECU tries to adjust fuel so that the O2 sensor swings back and forth around this target. To do that, the ECU has to have some way to vary its basic fuel calculation. It uses fuel trims for this purpose. Think of these variables as dials if you want. Turn the dial one way and the ECU adds fuel, turn the dial the other way and the ECU reduces fuel.

While running closed loop mode, the ECU uses what's called a “short term fuel trim” (STFT) variable for quick changes. This is the variable is uses to force the O2 sensor to cycle. In a perfect setup, this variable would swing from positive to negative values of about equal amplitude. As it's swinging up and down, the front O2 sensor should swing up and down. This is the basic closed loop mode of operation.

The ECU will also watch what's going on with the short term fuel trim variable. If conditions are right and the short term variable has stayed positive or negative long enough, the ECU will move the long term STFT pattern into the long term variable (LTFT). This is called a learning mode. Let's say instead of swinging around 0%, STFT is swinging up and down around -5%. The ECU will eventually take note of this and move that -5% adjustment into the appropriate LTFT variable and then zero out the STFT variable. Since both are factored in, the end result will be the same but STFT should now swing around 0%.

The ECU uses at least a couple different LTFT variables depending primarily on airflow. Lower airflow values seen at idle will typically result in the LTFT Lo variable being used (and updated). Higher airflow values seen at cruise will result in LTFT Mid (2G) or LTFT Hi (1G) typically being used.

Details

There are several reasons the ECU might switch into or out of closed loop mode. In addition, even while running in closed loop mode, the ECU may or may not be running in a mode that allows learned STFT adjustments to propogate into the LTFT variables (learn mode). So there are really three different modes of operation.

  • Open loop (STFT and LTFT ignored)
  • Closed loop (STFT used but LTFT not updated)
  • Learn mode (STFT used and long term patterns moved into LTFT)

We'll attempt to document some of the conditions that will force the ECU into or out of these modes. First, it's probably no surprise that these conditions are different between 1G and 2G ECU codebases. So the conditions will be listed separately for each.

The ECU will force open loop mode for a number of different reasons. The following is intended to list out the more common reasons. If any one of these is true, then the ECU will run in full open loop mode. That is, STFT will not be used and, of course, learn mode will not be active either.

1G Open loop mode (any one true)

  • Throttle position too high (varies by RPM)
  • Airflow too low (units are tricky, but it's very low)
  • Coolant temp < 87F
  • The O2 sensor did not switch around 0.5v for over 20 seconds while running in closed loop mode. In that case, the ECU locks itself in open loop mode.

2G Open loop mode (any one true)

  • Throttle position too high (varies by RPM)
  • Airflow too low (units are tricky, but it's very low)
  • Coolant temp < 51F
  • Coolant temp > 228F
  • The O2 sensor did not switch around 0.5v for over 128 seconds while running in closed loop mode. In that case, the ECU locks itself in open loop mode.

All of the following have to be true for a full 5 seconds. If any single one is not true even for a millisecond, the timer starts over and trends in STFT will *not* be moved into LTFT.

1G Learn mode (all must be true)

  • Coolant temp >= 190F
  • Intake air temp < 123F
  • Baro >= 22.9 inHg
  • Baro < = 31.6 inHg

2G Learn mode (all must be true)

  • Coolant temp >= 180F
  • Intake air temp < 133F
  • Baro >= 22.9 inHg
  • Baro < = 31.6 inHg

\⇐

fueltrimupdatepoints.1214499528.txt.gz · Last modified: 2008/06/26 12:58 by twdorris