Notices
1999 - 2016 Super Duty 1999 to 2016 Ford F250, F350, F450 and F550 Super Duty with diesel V8 and gas V8 and V10 engines
Sponsored by:
Sponsored by: Real Truck

Chasing the dreaded P0171

Thread Tools
 
Search this Thread
 
Old Nov 1, 2017 | 01:50 PM
  #1  
redford's Avatar
redford
Thread Starter
|
FTE Leadership Emeritus
25 Year Member
Liked
Loved
Community Favorite
Joined: Sep 2000
Posts: 23,174
Likes: 1,678
From: Stephensville WI
Club FTE Gold Member
Chasing the dreaded P0171

I have been troubleshooting a P0171 error code for about a month now. It appears that I solved the issue, but it makes no sense to me.

A little over a month ago the CEL came on. I had just filled up the fuel tank so I thought perhaps the gas cap wasn't tight. Got to work, tightened cap, disconnected battery to reset code. All is good.

4 days later, the CEL returns. OK, I dragged out the code reader and checked the code. P0171. Lean Bank 1.

Truck was running good. No driveability issues. OK, purchased a can of CRC MAF cleaner, removed MAF and cleaned. Reset code, all is well.

4 days later CEL returns. P0171. OK, time to look at fuel trims and stored data. Long term trims were just over and just under 20 when CEL was set, so it isn't just a Bank 1 issue. Both sides are lean. Long term trims are bouncing between 5 and 19 when driving down the road.

I spent a Saturday testing for vacuum leaks. None were found. Propane applied to every hose, fitting, intake manifold joint and hose I could find did not change idle or fuel trim.

On a hunch, I pulled out the air cleaner when the engine was idling. Long term trims on both sides dropped to -12 and the truck stumbled, then recovered. Hmmmmm...that got me thinking about what I did before this started.

I changed the air filter.

I always ran a K&N filter on this engine. 5 weeks ago so pulled it out to clean it. I found that my intake had been infested with Asian Beetles. Hundreds and hundreds of mummified beetles were stuck to my air filter. It smelled terrible! Rather than attempt to clean it, I tossed the filter. I still had the original factory filter that came with the truck, so I threw that in and didn't give it a second thought.

Now, how the air cleaner created a P0171 error escapes me. Maybe someone can explain, but I took out the Motorcraft filter that has been on my shelf for about a decade and replaced it with a new Wix filter. My trim levels now run -5 to +5 most of the time.

How is that possible?
 
Reply
Old Nov 2, 2017 | 06:42 AM
  #2  
redford's Avatar
redford
Thread Starter
|
FTE Leadership Emeritus
25 Year Member
Liked
Loved
Community Favorite
Joined: Sep 2000
Posts: 23,174
Likes: 1,678
From: Stephensville WI
Club FTE Gold Member
No one has a theory?
 
Reply
Old Nov 4, 2017 | 10:37 AM
  #3  
TomTommy's Avatar
TomTommy
Senior User
Joined: Oct 2017
Posts: 130
Likes: 1
From: North of Milan
Okay, I'll try this...As a former NATOPS wing nut, it is what I live for Caveat: I do not have the necessaries for the 5.4L, I am basing this on DTC Theory of Operations published by Ford in 2015 (onehelluva big book- 1 1/2 thick with tiny print) and my own deductive/engineering analysis and reasoning. Your mileage may vary.


P0171 Lean Bank 1
Primary Cause: Adaptive Fuel Table reaches Rich Calibration Level
Causal: Freeze frame data to determine operating conditions when DTC was Set.

LONGFT1 and LONGFT2 PIDs apply.
Primary: Adaptive Airflow outside limits of strategy:
Causal: Electronic Throttle Control (ETC) employ adaptive airflow strategy the allows the PCM to correct for changes in airflow. During idle, the PCM monitors the throttle angle and airflow. If airflow is determined to be less than expected, the PCM adjust the throttle angle to compensate. The PCM only learns the AAS when the vehicle is at idle at normal operating temp and the airflow is less than the calibrated limit. Battery disconnect KAM (keep alive memory) will reset and PCM will learn new values based on the adaptive airflow strategy and not default values.

Primary: Fuel Trim
Causal: When engine is running at normal operating temps the oxygen sensors are warmed and the PCM determines engine can operate near the 14.7 to 1 gasoline stoichiometric air to fuel ratio, the PCM enters closed loop fuel control mode. O2 sensors can only indicate a rich or lean. As such, the fuel control strategy adjust desired air:fuel ratio causing O2 sensor to switch between the stoichiometric point. If time between rich and lean states are the same the system is operating at stoichiometric.
Air:Fuel control parameter is defined as Short Term Fuel Trim 1 & 2 (SHRTFT1 and 2) where stoichiometric is represented by 0%. Rich is identified by a positive number and lean by a negative number.Normal range is -25% and +25% Some events have time between switches and short term fuel trim excursions that are no equal. These excursions run the stoichiometric slightly lean or rich. The system has now entered a bias event. i.e. The fuel system can be biased slightly rich during closed loop fuel to help reduce NOx levels.

Primary: Long Term Fuel Trim
Causal: When engine is operating in closed loop fuel control, short term fuel trim corrections are learned by the PCM as long term fuel trim (LONGFT1 and 2). These values are stored in the KAM fuel trim tables. These tables are based oin engine speed, load and by bank with 2 heated oxygen sensors forward of the catalyst. Long term fuel trim is represented as a percentage, similar to short term fuel trim, but it is not a single parameter. A separate LONGFT value is used for each RPM and load point of engine operation. These corrections change depending on the operating conditions (RPM/Load), ambient air temperature, and fuel quality (% of Alcohol, Oxygenates). LONGFT1 and 2 PIDs display the fuel trim currently being used at the RPM and load point. Changes in LONGFT1 and 2 data will extrapolate to 4 primary out of scope events:
a) Contaminated MAF results in matching LONGFT1 and 2 correction values that are negative at idle (reducing fuel), but positive (adding fuel) at higher RPM and loads.
b) LONGFT1 values differing greatly from LONGFT2 values rule out issues common for both banks. (Fuel pressure, MAF)
c) Vacuum leaks result in large rich corrections (positive LONGFT1 and 2) at idle, but little ot no correction at higher RPMs and load.

Primary: Resetting LONGFT data
Causal: LONGFT corrections are reset by resetting KAM.

Primary: DTC P0171 and 174
Causal: Engine runs rich OR lean of stoichiometry (14.7:1 A:F ratio) if the PCM is not able to compensate enough to correct the condition. Ex: MAF measurement is inaccurate due to fouled connector. A contaminated MAF typically results in a rich system at low airflows where the PCM reduces fuel to a lean system at high airflows where the PCM increases fuel.

Primary: Intake Air System
Causal: A restriction within any of the intake system components may be significant enough to affect the ability of the PCMs adaptive fuel control.

Primary: Rich or Lean System DTCs.
Subject: Visual Inspection
Causal: Ignition OFF Check the air filter element and housing for blockage. Inspect the entire air intake system from the mass airflow (MAF) sensor to the intake manifold for leaks such as: hoses connecting to the MAF sensor assembly cracked or punctured intake air tube
loose connections on the intake air tube at the air cleaner housing or throttle body hoses connecting to the throttle body obstructions, restrictions, or damage Check the throttle plate for obstructions or sludge. Inspect the entire length of all the vacuum hoses for: correct connections
damage or cracks damaged or cracked vacuum tees Inspect the intake manifold or gasket for leaks. Inspect the exhaust gas recirculation (EGR) system for leaks such as: EGR valve gasket leak to intake manifold EGR valve diaphragm or control solenoid Verify the integrity of the positive crankcase ventilation (PCV) system. Verify the proper PCV valve part number. Inspect the exhaust system for leaks at flanges and gaskets. Visually inspect the HO2S for: pinched, shorted, and corroded wiring and pins oil or water contamination
crossed sensor wires Inspect for an incorrectly seated engine oil dipstick, dipstick tube, or oil fill cap.

Any of the above faults/failures will cause the fuel air ratio methodologies to compete with established default fuel:air ratios and cause a DTC/MIL condition. The common denominator in all fuel:air, lean:rich systems is the air intake. Be it a GE F-404 turbofan or a V-8 gasser...
The fact that your "air intake" was jammed up with beetles, causing a restricted air flow and a over rich table, was enough to force the PCM into a over lean at higher RPMs/load and ultimately throw the DTC.

Hope this helps...
 
Reply
Old Nov 4, 2017 | 11:45 AM
  #4  
redford's Avatar
redford
Thread Starter
|
FTE Leadership Emeritus
25 Year Member
Liked
Loved
Community Favorite
Joined: Sep 2000
Posts: 23,174
Likes: 1,678
From: Stephensville WI
Club FTE Gold Member
Well, the P0171 happened after I replaced the bugged up filter with one that was sitting on the shelf, used but fairly clean.

Since the MAF measures air flow and in theory any air leak past the MAF would cause the lean conditions, it surprised me when pulling the filter at idle made the truck go super rich and almost die.

Obviously the air filter I threw in the truck was bad. I would have thought a bad air filter would cause a rich condition.

Lesson for me, always go back to the last thing you did.
 
Reply
Old Nov 4, 2017 | 01:51 PM
  #5  
TomTommy's Avatar
TomTommy
Senior User
Joined: Oct 2017
Posts: 130
Likes: 1
From: North of Milan
I think the focus is not necessarily the MAF, but how it is part of the overall system.

As you mentioned, a bad air filter should cause a rich condition. But the PCM employs a adaptive airflow strategy-and along side the electronic throttle control to adjust throttle angle on the fly. So it was leaning it till it couldn't lean anymore, then you pulled the air filter and the system tried, but not fast enough, to compensate...The PCM had a hard time processing. It was expecting X amount of inHg and was setting the tables as such. Then the bubble hit and it couldn't compensate fast enough and went into a over lean condition. I just checked your ASL and it is less that 900 feet. Unless when you did this when you had a atmospheric pressure of around 25 inHg-which would have meant Stevensville is no long on the map-that should have no bearing on it.

Unless the PCM does not have a complete/continuous ground...

We had a navigation systems gremlin in a H-53 on cruise once...troubleshooters, a-techs, even a Sikorsky tech rep was flown out to the ship...turned out to be a nicked, and I mean pin ***** size, piece of insulation in one of the grounding cables to the avionics rack. First glance check was solid ground continuity, but individual cable check proved the chassis ground point to have about 160 ohms on it. Replaced the cable and all was well. Engineering inspection showed a length of approximately 3 inches above and below said nick was corroded. That bit of corrosion proved enough to slow the computers down to a crawl-especially when it came to nav calculations. Oh, it worked-eventually...but it was like comparing an 8088 1st Gen home PC where it would take 3 seconds to add 2+2 to what we use today.

With all the trons and computers flowing through our vehicles today, a solid ground continuity is more important than ever. It is on my maintenance cards to check all the ground points-chassis, engine, etc. for corrosion and if found pull a end to end continuity on that and replace/repair.

Yes, I treat all my vehicles like aircraft. Service life, time limited components, etc...there is a reason aircraft built in the 40's are still flying today and why some of the aircraft I flew were older than me
 
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Magister
1983 - 2012 Ranger & B-Series
5
May 27, 2019 07:12 AM
Torgmada
1983 - 2012 Ranger & B-Series
12
May 5, 2011 11:33 AM
cutrus
1983 - 2012 Ranger & B-Series
4
Nov 28, 2005 12:50 AM
Zigracer
1997 - 2003 F150
3
Apr 24, 2004 11:40 PM
bigdaddyt
Modular V8 (4.6L, 5.4L)
5
Jan 14, 2004 08:01 PM




All times are GMT -5. The time now is 02:26 AM.

story-0
Top 10 Most Expensive Ford Trucks Ever Sold on Bring a Trailer

Slideshow: 10 most expensive Ford trucks ever sold on Bring a Trailer.

By Joe Kucinski | 2026-05-27 16:24:34


VIEW MORE
story-1
2027 Ford Super Duty Buyer's Guide (Every Model, Engine, & Package)

Here's everything that has changed for the latest model year.

By Brett Foote | 2026-05-27 16:17:28


VIEW MORE
story-2
Top 10 Ford Truck Tragedies

Slideshow: Top 10 Ford truck tragedies.

By Joe Kucinski | 2026-05-18 19:34:33


VIEW MORE
story-3
AEV FXL Super Duty - the Super Duty Raptor Ford Doesn't Make

And it might be even better than that.

By Brett Foote | 2026-05-18 19:26:42


VIEW MORE
story-4
Lobo Vs Lobo: Proof the F-150 Lobo Should Be Even Lower!

Slideshow: Does lowering an F-150 Lobo RUIN the ride quality?

By Michael S. Palmer | 2026-05-18 19:20:37


VIEW MORE
story-5
Ford's 2001 Explorer Sportsman Concept Looks For a New Home

Slideshow: Ford's bizarre fishing-themed Explorer concept has resurfaced after spending decades largely forgotten.

By Verdad Gallardo | 2026-05-12 18:07:46


VIEW MORE
story-6
10 Best Ford Truck Engines We Miss the Most!

Slideshow: The 10 best Ford truck engines we miss the most.

By Joe Kucinski | 2026-05-12 13:09:47


VIEW MORE
story-7
2026 Shelby F-150 Off-Road: Better Than a Raptor R?

Slideshow: first look at the 810 hp 2026 Shelby F-150 Off-Road!

By Brett Foote | 2026-05-12 12:50:07


VIEW MORE
story-8
2027 Super Duty Carhartt Package First Look: 12 Things You NEED to Know!

Slideshow: Everything You Need to Know about the 2027 Super Duty Carhartt Package!

By Michael S. Palmer | 2026-05-07 17:51:06


VIEW MORE
story-9
10 Most Surprising 2026 Ford Truck Features!

Slideshow: 10 most surprising Ford truck options/features in 2026.

By Joe Kucinski | 2026-05-05 11:17:22


VIEW MORE