MEGAsquirt A place to collectively sort out this megasquirt gizmo

AFR gets leaner with higher IAT

Thread Tools
 
Search this Thread
 
Old 05-13-2007, 10:27 PM
  #1  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default AFR gets leaner with higher IAT

My AFRs get substantially leaner as IAT goes up. For example, I can go out for a drive do a bunch of tuning, think I have things dialed in. Then I park the car for like an hour, IAT goes from about 80 up to about 120, and CLT goes from about 205 down to 175 (not sure my sensor is calibrated properly). Then I restart the car and suddenly my idle and low-speed (10-15mph) AFRs are really lean until the IAT comes down again.

The only two things I can think of that would be affecting it are IAT-related timing (because timing can affect AFR), and maybe an incorrect Req Fuel that is causing the ECU to make too large of a pulse width change for a given IAT change. My Req Fuel is 13.0, and I'm using 2000 injectors (240cc according to one of the FAQs here, haven't verified). Bigger injector = smaller Req Fuel. Smaller Injector = larger pulse width change to achieve a given fuel delivery change, right?

Any ideas?

-Mike
grippgoat is offline  
Old 05-13-2007, 10:40 PM
  #2  
:(
iTrader: (7)
 
magnamx-5's Avatar
 
Join Date: Jul 2006
Location: nowhere
Posts: 8,255
Total Cats: 4
Default

check your warm up compensation maybe the values on that are to large on top or to small down low.
magnamx-5 is offline  
Old 05-13-2007, 11:24 PM
  #3  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

It's not warmup or after start. The coolant is still hot enough to be beyond the warmup settings.

-Mike
grippgoat is offline  
Old 05-14-2007, 12:02 AM
  #4  
Junior Member
 
mschlang's Avatar
 
Join Date: Jun 2006
Location: LV, NV
Posts: 225
Total Cats: 0
Default

Where is your IAT located? Sounds like it is heatsoaking. If your sensor is reading a higher temp than is actually being ingested, you will run lean. Hot air is less dense, so less fuel is required.
mschlang is offline  
Old 05-14-2007, 12:10 AM
  #5  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

Originally Posted by mschlang
Where is your IAT located? Sounds like it is heatsoaking. If your sensor is reading a higher temp than is actually being ingested, you will run lean. Hot air is less dense, so less fuel is required.
It's in the plastic tube that feeds the throttle body, right in front of the throttle body. It's an open-element GM sensor.

There aren't any IAT-based fuel corrections on the megasquirt, are there? Only the spark adjustments?

-Mike
grippgoat is offline  
Old 05-14-2007, 12:43 AM
  #6  
Junior Member
 
arga's Avatar
 
Join Date: Aug 2006
Location: Ridgecrest, Ca
Posts: 306
Total Cats: 0
Default

Lex was talking about this in Reverant's "Occasional rough idle" thread. In MS2 I can change IAT based enrichment/enleanment. I'm pretty sure you can do this in MS-SnE, too. I added 1% at 100 degrees, 7% at 130 and 12% at 160. Those numbers are crude and could stand some tuning, though, and I haven't seen intake temps higher than 120 so they're just a guess beyond that.
arga is offline  
Old 05-14-2007, 01:39 AM
  #7  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Edit the airdenfactor.inc file so that you don't get as lean as you describe when the "indicated" IAT goes up. You will have to recompile the firmware afterwards.

Jim
Reverant is offline  
Old 05-14-2007, 04:16 AM
  #8  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

Originally Posted by Reverant
Edit the airdenfactor.inc file so that you don't get as lean as you describe when the "indicated" IAT goes up. You will have to recompile the firmware afterwards.

Jim
What does that file do? It sounds related to what I was wondering on the Req Fuel setting. One of my suspicions was that I have it set to high, basically telling the MS that my injectors are smaller than they actually are, causing it make a larger PW change than it should for a given IAT change.

I found the IAT adjustments, though. They're buried deep under "Coolant-Related Air Density". Then you hit settings "Coolant-Related Air Density", change "Air Density Correction" to "Corrected", and then change "Correction Based on" to IAT corrected.

I'll give that a whirl at some point.

Is it normal to have VEs up around 115 at high load and high RPM at about 12.5:1?

-Mike
grippgoat is offline  
Old 05-14-2007, 07:15 AM
  #9  
:(
iTrader: (7)
 
magnamx-5's Avatar
 
Join Date: Jul 2006
Location: nowhere
Posts: 8,255
Total Cats: 4
Default

yes it is you have a turbo after all 200% would not be impossible at some point. Trust me if the sensor is heat soaking then it will keep you lean on inittial start up as you wont have much compensation in that coolant range there is adjustment all the way up to 74 degrees celcius for that.
magnamx-5 is offline  
Old 05-14-2007, 12:02 PM
  #10  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

Originally Posted by magnamx-5
yes it is you have a turbo after all 200% would not be impossible at some point. Trust me if the sensor is heat soaking then it will keep you lean on inittial start up as you wont have much compensation in that coolant range there is adjustment all the way up to 74 degrees celcius for that.
Sorry, meant to say NA motor. Haven't turbo'd yet.

-Mike
grippgoat is offline  
Old 05-14-2007, 01:59 PM
  #11  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Originally Posted by grippgoat
What does that file do?
It defines how much (in %) the MS should squirt relative to the air temperature. Ie:

50F 101%
70F 100%
80F 99%
90F 98%
...
And that's for each of the 255 discreet values defined in the table.

Jim
Reverant is offline  
Old 06-19-2007, 04:53 AM
  #12  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

I finally got my 440cc injectors in, and have the car running again, but I still see this problem where the AFR leans as IAT goes up, and I also need about 117 VE to get about 13.0:1, which seems way to high for an NA motor.

Can anyone share all their misc .inc files? Also, what's the difference between airdenfactor.inc and matfactor.inc?

-Mike
grippgoat is offline  
Old 06-19-2007, 07:48 AM
  #13  
:(
iTrader: (7)
 
magnamx-5's Avatar
 
Join Date: Jul 2006
Location: nowhere
Posts: 8,255
Total Cats: 4
Default

dude you should be way richer than 13-1 what is your DC? I would recalibrate my 02 sensor and then try my afr table. Name:  afrmap.jpg
Views: 1324
Size:  46.3 KB GL Just becouse you hit 117 VE doesnt mean you are overcompensating if the DC and everything else is normal then you migth just be making some nice power. try theses AF's in autotune and see how they work for ya.
magnamx-5 is offline  
Old 06-19-2007, 08:31 AM
  #14  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Originally Posted by grippgoat
Can anyone share all their misc .inc files? Also, what's the difference between airdenfactor.inc and matfactor.inc?
I can't share mine since I have a 2002 with the stock sensor. matfactor.inc tells the MS how much temperature (in degrees F,C) is each voltage "step" of the sensor. airdenfactor.inc tells the MS how much more/less it should open the injectors, relative to the air temperature. THAT is want you want to change. Which air temperature sensor do you have?

Jim
Reverant is offline  
Old 06-19-2007, 12:21 PM
  #15  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

I'm running a GM open element sensor.

My airdenfactor.inc looks like this:

Code:
; Generated using EasyTherm4.exe,
;
; GM AIT
;
; File generated for use with stock 2490 ohm resistor at R4
;
; Steinhart-Hart coefficients:  A= 1.625488E-03   B=1.953101E-04   C= 3.009536E-07
;
; Input Data:	Temp, degF	Resistance
;		1.1369377661552E-14		   25000
;		   100		    1800
;		   210		     185
;

AIRDENFACTOR:
			;    ADC  Temp, degF
	DB	100T	;     0    Sensor Failure - 100% applied
	DB	 61T	;     1    407.84
	DB	 65T	;     2    352.81
	DB	 67T	;     3    323.23
...
	DB	 98T	;   136     80.82
	DB	 98T	;   137     80.17
	DB	 98T	;   138     79.53
	DB	 98T	;   139     78.88
	DB	 98T	;   140     78.24
	DB	 98T	;   141     77.59
	DB	 98T	;   142     76.95
	DB	 99T	;   143     76.30
	DB	 99T	;   144     75.66
	DB	 99T	;   145     75.01
	DB	 99T	;   146     74.36
...
Which column is the percentage I'd want to change?

-Mike
grippgoat is offline  
Old 06-19-2007, 01:13 PM
  #16  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

The second column, the one that says 100T, 99T, 98T. That number is the actual percentage of the time to squirt. Ie:

For 73.36 degrees F, squirt 99% of the calculated pulse width.
For 323.23 degrees F, squirt 67% of the calculated pulse width.

To find item your ideal temperature, start a cold datalog and let the car warm up. Watch the AFR as the car warms up. When the AFR starts to lean out, write down the temperature. Let the car idle until the IAT rises no more - ie its fully heatsoaked. Give it some revs if you feel you need to change more areas. Once you have the datalog, open it up and notice at say, every 10degF increments how much off is the AFR. Calculate how much more you need to open up the injectors in % (dont' forget the 1ms opening time) and note the numbers down. Open up airdenfactor.inc, and for each 10degF increment, add the percentage to the second column, taking care NOT to the delete the capital T character. Once you are ready, recompile the code (run 'compile.bat') and you will end up with a file inside the "src" directory called "msns-extra.s19". Copy it to the parent folder (there will already be one there, overwrite it) and download the newly created firmware to your Megasquirt (connect the laptop to your MS and run "download-firmware.bat").

You may need to fine-tune the figures a second time using the same method, but you should be pretty close the first time around. Hope that helps.

Jim
Reverant is offline  
Old 06-19-2007, 02:03 PM
  #17  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

Thanks for the detailed explanation. You answered a bunch of questions I hadn't asked yet. Should I turn off warmup enrichment while the car warms up for this test?

I think I'll upgrade to 29v at the same time, since I don't have the source for 29t (I just got the .msq).

Do you realistically expect this to bring my high load high RPM cells down to something more reasonable? I looked at your .msq (don't remember where I got it), and your highest VEs are in the low 90s, which makes more sense for an NA motor.

-Mike
grippgoat is offline  
Old 06-19-2007, 04:49 PM
  #18  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

1) Don't turn off warmup enrichments.
2) Yes, airdenfactor.inc affects the entire RPM range so it should bring them down. Mine (VE) reaches 95% on the max torque cell.

Jim
Reverant is offline  
Old 06-21-2007, 04:50 PM
  #19  
Junior Member
Thread Starter
iTrader: (1)
 
grippgoat's Avatar
 
Join Date: Apr 2006
Location: Kirkland, WA
Posts: 239
Total Cats: 0
Default

Reverant, can you share your .inc file with me? I want to compare it against mine and the one that comes with 029v. Mine is extremely close to 029v (within about .5%), which is set up for a (the?) GM sensor. So I'm wondering if I have something else going on, like incorrect bias resistors or something. I've got a few mods to do to my board (TPS, Boost Control, Fan Control) so I'm going to poke around with the multi-meter a bit before I do a reflash.

-Mike
grippgoat is offline  
Old 06-21-2007, 05:31 PM
  #20  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

I'm running stock sensors (2002 Mazda CLT & IAT) so I don't know if it makes sense. No problem if you still want them though.

Jim
Reverant is offline  


Quick Reply: AFR gets leaner with higher IAT



All times are GMT -4. The time now is 03:36 AM.