Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   MAT Correction (https://www.miataturbo.net/megasquirt-18/mat-correction-58176/)

bearda 05-31-2011 09:20 PM

MAT Correction
 
It seems like I'm consistently running lean (or at least my ego corrections are running high) when it's warm out. The VE analyzer just wants to keep adding more fuel the warmed it gets, and tries to pull it back out the next cool day. It seems like I need to mess with the MAT correction table, but the Megamanual has next to no info on how it works:
http://www.msextra.com/doc/ms2extra/...ion.htm#matcor

I'm trying to find some info to get started with, but haven't been able to find a good example so far. If I'm running lean around 120 degrees should I be using a positive or negative number in the correction table? Any idea what actual effect a number like 10% has on the pulse width values?

miatamike203 05-31-2011 11:32 PM

Do a google search of "what is mat correction for". I did it today my self as i was not sure how to set it but there are a few links that go to MSextra.com. They will explain how it works.

aaronc7 05-31-2011 11:59 PM

change mat correction value to 50 initially.

that will work pretty well for other than really hot starts at idle. then you gotta add (positive) values to the MAT correction table. but be careful not to add too much- i added a bunch to get my idle spot on, it ended up making all other conditions/WOT too rich, ugh

Braineack 06-01-2011 07:26 AM

It's the internal ideal gas law code. I've already had it up with the developers about it.

thy scoff at the idea that this could happen because it violates the law.

richyvrlimited 06-01-2011 08:06 AM


Originally Posted by Braineack (Post 733305)
It's the internal ideal gas law code. I've already had it up with the developers about it.

thy scoff at the idea that this could happen because it violates the law.

I love MS, but it bugs me that the devs are so close-minded about stuff.

Similar with the PID code, Jason does PID for a living, yet because Ken can get it to work on his car there's nothing wrong with it.

I wish I was bright enough to be able to code.

miatauser884 06-01-2011 08:55 AM


Originally Posted by richyvrlimited (Post 733308)
I love MS, but it bugs me that the devs are so close-minded about stuff.

Similar with the PID code, Jason does PID for a living, yet because Ken can get it to work on his car there's nothing wrong with it.

I wish I was bright enough to be able to code.

Get up with that Mario guy over on MSextra. He's putting out modified versions of the code. He sounds pretty open minded about the code ideas.

Braineack 06-01-2011 09:06 AM


Originally Posted by richyvrlimited (Post 733308)
I love MS, but it bugs me that the devs are so close-minded about stuff.

Similar with the PID code, Jason does PID for a living, yet because Ken can get it to work on his car there's nothing wrong with it.

I wish I was bright enough to be able to code.

Honestly, the PID works great for me. I've had no issues tuining boost, idle and EGO.

I'm sure if Jason wanted to contribute, would write code and sign it over to Ken royality free, they'd be more than willing to take a serious look at it. I can understand that Ken and James want to use their own code, it's their baby. They did take a bunch of suggestions and implement changes done by this Mario fellow, I'm pretty sure they discussed royalities offline.

And to be fair to Ken, he agrees that while the ideal gas law cannot be disproven, there are other factors in play (not just heatsoak) that aren't being factored in.


The best way to handle the ideal gas law code at the moment is to alter the MAT correctoins table in a way that reduces the coded corrections. Setting the MAT corrections value to 50% cuts the enrichments by half, and you can fine tune the rest with the table.

richyvrlimited 06-01-2011 09:50 AM


Originally Posted by djp0623 (Post 733318)
Get up with that Mario guy over on MSextra. He's putting out modified versions of the code. He sounds pretty open minded about the code ideas.

Way ahead of you...

fastivab6tg25mr 01-31-2012 11:00 AM

sorry for bringing back such an old thread but im having a similar issue. get my tune dialed in perfectly... outside temp changes and my afrs turn into crap.

im running ms1v3.0 with extra029y4 on a 94 BP+T using miata cas and toyota cops.


Originally Posted by Braineack (Post 733319)
Setting the MAT corrections value to 50% cuts the enrichments by half, and you can fine tune the rest with the table.

are you talking about cutting the values in the offset side of the table in half or is there an actual MAT corrections value box that needs to be changed? im not really a computer guy and im having a hard time wrapping my head around this.

Braineack 01-31-2012 11:05 AM

it cuts the coded ideal gas law corrections, that wreek havok, in half.

Made up numbers: So instead of a MAT of 100°F causing the MS to pull 5% of fuel, it only pulls 2.5% of fuel--and I still find that too aggresive imho.

FatKao 01-31-2012 11:41 AM


Originally Posted by aaronc7 (Post 733215)
change mat correction value to 50 initially.

that will work pretty well for other than really hot starts at idle. then you gotta add (positive) values to the MAT correction table. but be careful not to add too much- i added a bunch to get my idle spot on, it ended up making all other conditions/WOT too rich, ugh

What did you end up settling on? I have MAJOR problems with hot restarts after the car comes off track.

Braineack 01-31-2012 11:46 AM

how close is your AIT sensor to the rad?

FatKao 01-31-2012 02:47 PM

It's about 1-2" off the throttle body attached to some plastic piping.


e: it does come out of the driver's side of the pipe so it can catch radiant heat from the radiator. Not sure if it matters because the whole engine bay is completely heat soaked after a session.

Braineack 01-31-2012 03:49 PM

oh it matters. The best way to defeating this is moving the AIT outside the engine bay, just post IC.

tuning your MAT corrections curve will solve it completely, but it's a band-aid solution that can cause other issues.

gslender 02-01-2012 12:00 AM

I've been able to introduce a few changes where needed in code... so what's wrong and what needs fixing???

Braineack 02-01-2012 09:26 AM

in MSI the MAT corrections were able to decay out after a certain RPM. So you could use them to combat heatsoak related starting issues.

Before I moved my AIT sensor to my IC endtank, I could see the AIT jump from 70°F right after to stopping the car and climb to 90, even 100°F, within a few minutes.

Since the ideal gas law code is VERY aggresive, the car runs lean as crap when you start it back up...sometimes barely able to catch/idle.

You can solve this by tuning the MAT corrections table, where you pretty much end up negating the ideal gas law temp corrections.

The only solution I was able to work out with Ken and James was for them to allow me to disable and AIT corrections during ASE. I didn't like to solution. The problem is, you really need to start getting real airflow across the sensor in order for the temperatures to drop back down, this means more than idling. Typically ASE is only a few seconds, so it's not enough time.

I moved my AIT sensor to my IC and it's been much better to protect it against heatsoak, but you still see a delta after the car has been shut off, just not as much.

So, if I use the MAT corrections to add back in fuel when the temperature climbs past 85°F (I think that's where the first 1% is removed), and since I can't have the MAT corrections table decay as the RPMs increase, if I enter boost and actually see temperatures well over 100°F, then my fueling gets screwed up--I'm fighting the ideal code, when in this case would probably would well.

This is especially apparent on the dyno when the intake temps are greater than normal.

Ken and James pretty much refused my idea of adding in a RPM point where the MAT corrections were disabled, they were open to the idea of a MAP trigger point, but it was never implemented. I made the case that the MSI already has this, but they never wanted to add the same feature to MSII or MSIII. Reverant went ahead and already custom coded this cut-off point for his MSIIs, and it was actually one of the reasons he didn't want to jump on the MSIII bandwagon until the code was available for open source, to fix this specific issue.

fastivab6tg25mr 02-01-2012 10:27 AM

i still dont understand how i can change the mat corrections to 50%

Braineack 02-01-2012 10:35 AM

Then you have bigger problems.

But I probably wouldn't start by opening up the software and looking at the dropdown where the MAT Corrections parameters reside. I certainally then wouldn't see one labled "MAT Correction value." And I wouldn't open that dialouge window and see that I can input a value from 50-100% to change the scaling of the ideal gas air density corrections.

FatKao 02-01-2012 10:57 AM

What about doing in hardware what you can't do in software? Use a space MS output to trigger a circuit to switch from an ambient air sensor to an in-intake sensor?

fastivab6tg25mr 02-01-2012 10:58 AM

ive been looking in tunerstudio advanced>coolant related air density,all there is is the table. no corrections%, i went through the settings and changed it to

air density=corrected
corrections based on= iat corrected
but i dont see mat corrections %

ive been looking through it but cant seem to find what you describe. if you could be more specific where to find it... im retarded but i am trying to learn.


All times are GMT -4. The time now is 12:27 AM.


© 2024 MH Sub I, LLC dba Internet Brands