Toyota
Yaris NCP90 91 92 93
Repair Manual
1Nz-Fe Engine Control System
Sfi System
Check any other dtcs output (in addition to dtc p0171 or p0172)
Perform active test using intelligent tester (control the injection volume)
Check harness and connector (heated oxygen sensor (sensor 1) - ecm)
DTC P0171 System Too Lean (Bank 1)
DTC P0172 System Too Rich (Bank 1)
DESCRIPTION
The fuel trim is related to the feedback compensation value, not to the basic injection time. The fuel trim includes the short-term fuel trim and the long-term fuel trim.The short-term fuel trim is the short-term fuel compensation used to maintain the air-fuel ratio at the stoichiometric air-fuel ratio. The signal from the heated oxygen sensor indicates whether the air-fuel ratio is rich or lean compared to the stoichiometric air-fuel ratio. This variance triggers a reduction in the fuel volume if the air-fuel ratio is rich, and an increase in the fuel volume if it is lean.
The short-term fuel trim varies from the central value due to individual engine differences, wear over time and changes in the operating environment. The long-term fuel trim, which controls the overall fuel compensation, steadies long-term deviations of the short-term fuel trim from the central value.
If both the short-term fuel trim and the long-term fuel trim are lean or rich beyond a certain value, the ECM determines this as a malfunction, illuminates the MIL and sets a DTC.
| DTC No. | DTC Detection Conditions | Trouble Areas |
| P0171 | With warm engine and stable air-fuel ratio feedback, fuel trim considerably in error to lean side (2 trip detection logic) |
|
| P0172 | With warm engine and stable air-fuel ratio feedback, fuel trim considerably in error to rich side (2 trip detection logic) |
|
- HINT:
- When DTC P0171 is recorded, the actual air-fuel ratio is on the lean side. When DTC P0172 is recorded, the actual air-fuel ratio is on the rich side.
- If the vehicle runs out of fuel, the air-fuel ratio is lean and DTC P0171 may be recorded. The MIL is then illuminated.
- When the total of the short-term and long-term fuel trim values is within 20 % (and ECT is more than 75°C (167°F)), the system is functioning normally.
WIRING DIAGRAM

INSPECTION PROCEDURE
- HINT:
- Read freeze frame data using an intelligent tester. Freeze frame data records the engine conditions when a malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was running or stopped, if the engine was warmed up or not, if the air-fuel ratio was lean or rich, and other data from the time the malfunction occurred.
- A high heated oxygen sensor (sensor 1) voltage (0.5 V or more) indicates a rich air-fuel ratio.
- A low heated oxygen sensor (sensor 1) voltage (0.4 V or less) indicates a lean air-fuel ratio.
Connect an intelligent tester to the DLC3.
Turn the ignition switch to ON and turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / DTC.
Read DTCs.
- Result:
Display (DTC Output) Proceed To P0171 or P0172 A P0171 or P0172 and other DTCs B
- HINT:
- If any DTCs other than P0171 or P0172 are output, troubleshoot those DTCs first.
| GO TO DTC CHART (Click here) | |||
| A | |
![]() |
Connect an intelligent tester to the DLC3.
Start the engine and turn the tester on.
Warm up the engine at an engine speed of 2,500 rpm for approximately 90 seconds.
Select the following menu items: Powertrain / Engine and ECT / Active Test / Control the Injection Volume for A/F Sensor.
Perform the Active Test Control with the intelligent tester and check the heated oxygen sensor status.
- Standard voltage:
- Heated oxygen sensor reacts in accordance with the increases and decreases in injection volume:
- +25 % = RICH output: More than 0.5 V
- -12.5 % = LEAN output: Less than 0.4 V
- NOTICE:
- The heated oxygen sensor (sensor 1) output has a few seconds of delay and the heated oxygen sensor (sensor 2) output has a maximum of 20 seconds of delay.
| Case | Heated Oxygen Sensor (Sensor 1) Output Voltage | Heated Oxygen Sensor (Sensor 2) Output Voltage | Main Suspected Trouble Area |
| 1 | ![]() ![]() | ![]() ![]() | - |
| 2 | ![]() ![]() | ![]() ![]() |
|
| 3 | ![]() ![]() | ![]() ![]() |
|
| 4 | ![]() ![]() | ![]() ![]() |
|
- Result:
Result Proceed To Case 1 C Case 2 B Case 3 A
| Go to step 11 | |||
| Go to step 15 | |||
| A | |
![]() |
Connect an intelligent tester to the DLC3.
Turn the ignition switch to ON and turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / Data List / Coolant Temp and MAF.
Allow the engine to idle until the Coolant Temp reaches 75°C (167°F) or more.
Read the MAF with the engine in an idling condition and at an engine speed of 2,500 rpm.
- Standard:
- MAF while engine idling: 1 to 3 g/sec (shift position: N, A/C: OFF).
- MAF at engine speed of 2,500 rpm: 2 to 6 g/sec (shift position: N, A/C: OFF).
| REPLACE MASS AIR FLOW METER (Click here) | |||
| OK | |
![]() |
Connect the intelligent tester to the DLC3.
Turn the ignition switch to ON and turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / Data List / Coolant Temp.
Read the Coolant Temp twice, when the engine is both cold and warmed up.
- Standard:
- With cold engine: Same as ambient air temperature.
- With warm engine: 75°C to 100°C (167°F to 212°F).
| REPLACE ENGINE COOLANT TEMPERATURE SENSOR | |||
| OK | |
![]() |
Check the PCV hose connections.
- OK:
- PCV hose is connected correctly and is not damaged.
| REPAIR OR REPLACE PCV HOSE | |||
| OK | |
![]() |
Check the air induction system for vacuum leakage.
- OK:
- No leakage from air induction system.
| REPAIR OR REPLACE AIR INDUCTION SYSTEM | |||
| OK | |
![]() |
![]() |
Disconnect the injector connectors, in order to prevent the engine from starting.
Install the spark plug onto the ignition coil.
Attach the spark plug assembly to the cylinder head.
Crank the engine for less than 2 seconds and check the spark.
- OK:
- Sparks jump across electrode gap.
Reconnect the injector connectors.
| REPAIR OR REPLACE IGNITION SYSTEM | |||
| OK | |
![]() |
Check for exhaust gas leakage.
- OK:
- No gas leakage.
| REPAIR OR REPLACE EXHAUST SYSTEM | |||
| OK | |
![]() |
Check the fuel pressure (Click here).
- Standard:
- 304 to 343 kPa (3.1 to 3.5 kgf/cm2, 44.1 to 49.7 psi)
| REPAIR OR REPLACE FUEL SYSTEM | |||
| OK | |
![]() |
Check the injection volume (Click here).
- Standard:
- 45 to 58 cm3(2.9 to 3.5 cu in.) per 15 seconds
| REPLACE FUEL INJECTOR ASSEMBLY (Click here) | |||
| OK | |
![]() |
![]() |
Disconnect the C36 HO2 sensor (sensor 1) connector.
Check the resistance.
- Standard resistance:
Tester Connections Specified Conditions HT1A (1) - +B (2) 5.3 to 7.5 Ω at 20 °C (68°F) HT1A (1) - E2 (4) 10 kΩ or higher
Reconnect the HO2 sensor connector.
| REPLACE HEATED OXYGEN SENSOR (Click here) | |||
| OK | |
![]() |
![]() |
Remove the integration relay from the engine room relay block.
Inspect the EFI fuse.
Remove the EFI fuse from the integration relay.
Check the EFI fuse resistance.
- Standard resistance:
- Below 1 Ω
Reinstall the EFI fuse.
Inspect the EFI relay.
Check the EFI relay resistance.
- Standard resistance:
Tester Connections Specified Conditions 1C-1 - 1A-4 10 kΩ or higher Below 1 Ω
(Apply battery voltage between terminals 1A-2 and 1A-3)
Reinstall the integration relay.
| REPLACE INTEGRATION NO.1 RELAY | |||
| OK | |
![]() |
![]() ![]() |
Disconnect the C36 HO2 sensor connector.
Turn the ignition switch to ON.
Measure the voltage between the +B terminal of the HO2 sensor connector and the body ground.
- Standard voltage:
Tester Connections Specified Conditions +B (C36-2) - Body ground 9 to 14 V
Turn the ignition switch off.
Disconnect the C20 ECM connector.
Check the resistance.
- Standard resistance (Check for open):
Tester Connections Specified Conditions HT1A (C36-1) - HT1A (C20-109) Below 1 Ω OX1A (C36-3) - OX1A (C20-112) E2 (C36-4) - EX1A (C20-90)
- Standard resistance (Check for short):
Tester Connections Specified Conditions HT1A (C36-1) or HT1A (C20-109) - Body ground 10 kΩ or higher OX1A (C36-3) or OX1A (C20-112) - Body ground E2 (C36-4) or EX1A- (C20-90) - Body ground
Reconnect the ECM connector.
Reconnect the HO2 sensor connector.
| REPAIR OR REPLACE HARNESS OR CONNECTOR | |||
| OK | |
![]() |
Replace the heated oxygen sensor (sensor1)(Click here).
| NEXT | |
![]() |

(a) Disconnect the negative battery cable for more than 1 minute to clear the air-fuel ratio learning value.
(b) Connect an intelligent tester to the DLC3.
(c) Turn the ignition switch to ON and turn the tester on.
(d) Switch the ECM from normal mode to check mode (Click here).
(e) Start the engine and let it idle until the engine coolant temperature is 75°C (167°F) or more.
(f) Allow the vehicle to run at 50 km/h (30 mph) or more for 3 minutes or more.
(g) Allow the engine to idle for approximately 2 minutes.
(h) Repeat steps (f) and (g) described above at least 3 times.
- NOTICE:
- If the conditions in this test are not strictly followed, malfunctions may not be detected.
| NEXT | |
![]() |
Connect an intelligent tester to the DLC3.
Turn the ignition switch to ON and turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / DTC.
Read DTCs.
- Result:
Display (DTC Output) Proceed To No output A P0171 or P0172 B
| Go to step 3 | |||
| A | |
![]() | |
| END | |












