[Common, Software & diagnosis]
P0171, Bank1 system lean diagnostic trouble code (DTC)
P0171 diagnostic trouble code is caused by either fuel or air delivery system. P0171 means the engine is running lean, meaning too much air is coming into the engine.
Engine control module (ECM)
The system controlling the automobile engine is called Engine Control Module(ECM) or Powertrain Control Module (PCM). The ECM is programmed to ensure the engine is running in optimal condition. One of the key missions of ECM is the perfect combustion with the right mixture of fuel and oxygen by completely burning fuel and leaving no left over fuel or air.
Stoichiometric index
This perfect ratio is called stoichiometric index. For gasoline engine, the stoichiometric air–fuel mixture is about 14.7:1. What this means is that 14.7 grams of air for one gram of fuel is the perfect ratio. ECM controls the injector opening time to maintain the 14.7:1 ratio.
System lean or rich
For 4 cylinder gasoline engine. If more air is flowing into the engine, then ECM injects more fuel to match the 14.7:1 ratio. This is what we are calling the engine is running lean possibly producing - P0171 DTC. On the other hand, if too little air is coming into the engine then injects the less fuel. We say the engine is running rich with possible DTC P0172.
Possible causes
- Dirty Mass Air Flow (MAF) sensor.
- Vaccum leak after the MAF sensor.
- PCV valve stuck,loose connection, leak, hose leak.
- Dirty fuel filter, fuel pump malfunction, fuel line clogged.
- Injector malfunction or leak, low fuel pressure.
Possible solutions
- Clean the mass air flow sensor.
- Inspect vaccum leak and fix/replace PCV valve, hose, and connectors.
- Test fuel pressure, replace pressure regulator, fuel filtre and/or fuel pump.
- Test and replace the oxygen sensors.
- Test injector leak, replace injector hose, connectors and injectors.
Further readings
- Learn the basics of fuel trims to better understand the issues.
- Learn short term fuel trim (STFT) and long term fuel trim (LTFT).
- Also learn P0172 system too rich condition.
Notes. Above explanation is for gasoline internal combustion engine. Diesel and tunned engins may not be applicable to above.
References
1. https://www.obd-codes.com/p0171
2. https://www.samarins.com/diagnose/p0171.html
3. https://www.youtube.com/watch?v=tPZb1uWu9oo
4. https://www.youtube.com/watch?v=mM6j7E5vE7s
5. https://www.youtube.com/watch?v=pIJdCZgEiys
(5)Login for comments
P0107, P0108: Manifold absolute pressure (MAP) sensor
P0133, P1157, P2238, P2252, P2A00: Air fuel ratio (A/F) sensor (Sensor 1)
P0134, P0135: Air fuel ratio (A/F) sensor (Sensor 1) heater
P0137, P0138, P0139: Secondary HO2S (Sensor 2)
P0141: Secondary HO2S (Sensor 2) heater
P2648, P2649: VTEC system
P0401, P0404, P0406, P2413: Exhaust gas recirculation (EGR) system
P0443: EVAP canister purge valve