PDA

View Full Version : MAF tuning utility



CCrunner84
04-20-2016, 10:54 PM
Anyone interested in a MAF tuning utility?

A friend is finishing up his car, and went with a Chrome setup. I use HP Tuners on my current car and wasn't able to find anything similar to make things a little easier so I wrote a quick program. Just curious to see if I should bother sharing, or if there are already better methods available.

8879

Beta here, use at your own risk: https://drive.google.com/open?id=0B-Hpu4Dvh0tuLTFIa3VfRzdYODQ

CoopKill
04-21-2016, 02:31 AM
Can you explain how it works?

Dougal
04-21-2016, 03:47 AM
Im in to see more about the program you wrote.
Image posted looks good and perhaps makes reviewing the Evoscan datalogs easier.
Im also using Chrome ecu and aside from analysis the raw csv files in excel and using formula to calculate cerain things im also using megalog viewer to gain a better idea of whats happening and where and what to adjust on my tune.

awdonly
04-21-2016, 04:00 AM
I'm in to hear more

CCrunner84
04-21-2016, 10:30 AM
Essentially it loads in your CSV file, and then keeps track of the trim values, STFT & LTFT, for each maf cell. If you copy and paste the table from your tune I'll also parse it and give you the values to paste back into it. Right now I have the Low, Mid and High trim ranges as static variables, so it is taking this into account but I could break this out as another option if it's been changed from stock.

You can set the min 'hits' required, to make sure your getting good data, and also set if you'd like to average the STFT along with the LTFT. Everything is done per-bank behind the scenes and then averaged to give a final value.

I'm sure I'm glossing over some things, but I would be interested in getting some more Datalogs to check out, make sure things are working as expected.

Chris@Rvengeperformance
04-21-2016, 11:10 AM
very interesting, gives me an idea on one of these for the aem ems. You could parse the csv log for the engine load, actual afr, then the o2 feedback value. Have an area to paste in a fuel map and it could return a fuel map that was adjusted.

The best part about what you are doing is the hits feature. You could go for a decent drive and be pretty sure of your data if you set the hits to 3-5 or so. It would save a lot of log analysis. A gain setting could be added as well, so maybe it only adjusts 50% of the perceived difference and you could make sure its safe.

I might work on something when I have some free time, thank you for the inspiration.

CCrunner84
04-21-2016, 12:13 PM
Good idea, HPTuners also has a feature that'll cut values in half so once you get under say 5% you can make minor adjustments. I'll add this to my program, what also helps smooth things out is using the STFT + LTFT, I've had good results on my car.

Edit: Someone post up some Datalogs, let me do some more testing and I'll post it up for you guys to try once I think it's worthy.

KeithMac
04-23-2016, 09:27 AM
Looks a really handy tool!, I was looking at something similar for my Emanage Ultimate (post processing datalogs).

murphys_law
04-23-2016, 10:40 AM
very interesting, gives me an idea on one of these for the aem ems. You could parse the csv log for the engine load, actual afr, then the o2 feedback value. Have an area to paste in a fuel map and it could return a fuel map that was adjusted.

The best part about what you are doing is the hits feature. You could go for a decent drive and be pretty sure of your data if you set the hits to 3-5 or so. It would save a lot of log analysis. A gain setting could be added as well, so maybe it only adjusts 50% of the perceived difference and you could make sure its safe.

I might work on something when I have some free time, thank you for the inspiration.

AEM has a feature like this internally "auto log fuel map" just an FYI if you didn't know that.

Chris@Rvengeperformance
04-23-2016, 11:39 AM
AEM has a feature like this internally "auto log fuel map" just an FYI if you didn't know that.


Where is this? I've seen this talked about in aem pro, but can't find it in aemtuner.

CCrunner84
04-23-2016, 09:54 PM
Added an initial version for those of you that are willing to try it out, .NET Framework 4.0 is required. If there's anything else that's clunky/cumbersome trying to tune these let me know, I'll try to help.

murphys_law
04-23-2016, 10:45 PM
Where is this? I've seen this talked about in aem pro, but can't find it in aemtuner.

Ahh shit. Forgot you're on a v2.

Dougal
07-05-2016, 06:26 PM
So I have had a go with the MAF tuning utility and think i understand how it works and where to put data within it to get the results required to adjust MAF Smoothing table (VE) to get trims back in spec.

Thank you for making this.

My trims are way out and now I have a useful tool to be able to correct them directly.

I am going to give it a shot today and see if i can get my low frequency idle trims close to zero again.

murphys_law
07-06-2016, 10:17 PM
Essentially it loads in your CSV file, and then keeps track of the trim values, STFT & LTFT, for each maf cell. If you copy and paste the table from your tune I'll also parse it and give you the values to paste back into it. Right now I have the Low, Mid and High trim ranges as static variables, so it is taking this into account but I could break this out as another option if it's been changed from stock.

You can set the min 'hits' required, to make sure your getting good data, and also set if you'd like to average the STFT along with the LTFT. Everything is done per-bank behind the scenes and then averaged to give a final value.

I'm sure I'm glossing over some things, but I would be interested in getting some more Datalogs to check out, make sure things are working as expected.

Are the only things that are required to be logged trims and load value?