NefMoto

Technical => Documents & Helpers & How To's => Topic started by: maZer.GTi on October 20, 2013, 03:51:56 PM



Title: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on October 20, 2013, 03:51:56 PM
This should allow for a fairly close rough scale for bosch sensors in larger housings. Some fine tuning may be required, but so far the results look promising. You can specify the offset of MLHFM, or allow the program to find it automatically. When specifying the offset, make sure to follow this format:

0x[MLHFM offset]

Please, check the results before flashing, and report any problems or observations.

MAFadjust for Bosch sensors, by maZer.GTi and ddillenger

Notes:
- Fixed 16bit overshoot bug
-Fixed Hitachi bug, now results for hitachi should be ok
-New Version will write create txt file for copy and pasting into winols or tunerpro
-Please remember to correct the checksums prior to flashing.
-Failing to specify an offset for your MAF transfer function
 will result in an automated search. Please verify results prior to flashing.
-When specifying a percentage scale,
 use the change in surface area, NOT diameter.
-Unless specified, calculations are for Bosch sensors.
 For Hitachi, please remember to specify that in your command.

Usage: mafadjust [yourfile].bin [old_diameter] [new_diameter] [0xMLHFM_offset]
Usage: mafadjust [yourfile].bin [increase_diameter_percent] [MLHFM_offset]
Usage: mafadjust [yourfile].bin [old_diameter] [new_diameter] hitachi

Usage examples:

-- 73mm MAF scaled for 83mm housing
mafadjust 8D0907551A.bin 73 83

-- 73mm MAF scaled for 83mm housing, MLHFM @ 0x10D72
mafadjust 8D0907551A.bin 73 83 0x10D72

-- 73mm Hitachi MAF scaled for 83mm housing, MLHFM @ 0x10D72
mafadjust 8D0907551A.bin 73 83 0x10D72 hitachi

-- MAF scaled for 30% larger housing, MLHFM @ 0x10D72
mafadjust 8D0907551A.bin 30 0x10D72


Have fun, please post here with any feedback or suggestions :)


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: fknbrkn on October 20, 2013, 04:35:06 PM
thanks
it worked

result is very close to mine (rescaling by crosssection + calibrating by logs)


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: maZer.GTi on October 20, 2013, 04:36:06 PM
thanks
it worked

result is very close to mine (rescaling by crosssection + calibrating by logs)

Big thanks for your feedback :D
If you have some tips to make this tool better just let me know :)


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: userpike on October 20, 2013, 06:00:28 PM
Big thanks for your feedback :D
If you have some tips to make this tool better just let me know :)


Works great! Do the numbers represent I.D.?



Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: NOTORIOUS VR on October 20, 2013, 07:53:39 PM
Very cool!  But is there a reason why this is for the Bosch MAF sensor only and not the Hitachi?



Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: ddillenger on October 20, 2013, 08:02:56 PM
Lot more Bosch sensors in use than Hitachi. That, and Hitachi isn't as difficult to do manually.

It'll be added though. Bosch just took priority due to the difficulty in calculating the areas of reverse flow.


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: masterj on October 20, 2013, 11:13:50 PM
Very cool, Andreas! :)


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: TCSTigersClaw on October 20, 2013, 11:32:07 PM
thanks! I will try as soon as possible :)


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: userpike on October 20, 2013, 11:50:13 PM

Do the numbers represent I.D.?



The reason I ask is because my ori MAF housing has an O.D. of 70.12mm on my digi caliper. I have a 225 MAF housing with an I.D. of 69.92 mm with an O.D. of 79.82mm so I'm a bit confused.


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: ddillenger on October 21, 2013, 12:12:28 AM
All measurements are ID.


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: maZer.GTi on October 21, 2013, 06:53:53 AM
Very cool, Andreas! :)

Thanks :D


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: NOTORIOUS VR on October 22, 2013, 01:28:00 PM
Lot more Bosch sensors in use than Hitachi. That, and Hitachi isn't as difficult to do manually.

It'll be added though. Bosch just took priority due to the difficulty in calculating the areas of reverse flow.

Very cool!  Thx


Title: Re: Easily scale that BOSCH MAF for larger housings!
Post by: ddillenger on October 22, 2013, 02:43:47 PM
Mazer did the heavy lifting.

 :)


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: em.Euro.R18 on December 08, 2013, 01:40:05 PM
I'm not as computer literate as most on here but application seems to pop up for a second then disappear. Not sure how to run this type of file.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: fknbrkn on December 08, 2013, 03:16:22 PM
run itfrom command promt (WIN+R > "cmd")


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: em.Euro.R18 on December 08, 2013, 03:31:25 PM
OHHHH that makes perfect sense thanks.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: userpike on December 08, 2013, 07:00:32 PM
What fine tuning is suggested after recalculating the MAF with this?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on January 12, 2014, 01:07:34 PM
hello guys,

I installed the executable but I can not get it started.
I use cmd windos xp.

can you help?

thank you very much


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: snakey001 on January 12, 2014, 04:27:25 PM
thanx, it works grate


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on January 20, 2014, 05:30:53 PM
A+ utility. thanks man :)

any chance you can make an option to spit out something I can cut/paste directly into a map?

just plaintext of the whole row?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on January 21, 2014, 12:40:42 PM
guys, please, I ask you for help.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on January 21, 2014, 12:45:42 PM
Cut and paste the output from your cmd.exe box.

Please, not a screen shot.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on January 21, 2014, 12:56:47 PM
using the cmd says:

command not recognized.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on January 21, 2014, 01:16:49 PM
cmd message:

mafadjust not recognized as an internal or external command, operable program or file bacth.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on January 21, 2014, 01:17:12 PM
Is it in your current working directory?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on January 21, 2014, 01:19:24 PM
I can not figure out where it is installed mafadjust.

the file to edit is located in C:


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: fknbrkn on January 29, 2014, 06:29:15 PM
it has no setup
you must running downloaded file

simple way for those who doesnt know command line syntax
copy it to drive C: (or your OS system drive)
and your bin too

then run cmd
and type into it 'cd \'

after that use syntax at 1st page


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on January 29, 2014, 06:45:54 PM
I can not figure out where it is installed mafadjust.

the file to edit is located in C:

you should know where you *downloaded* it to.

move it to the same dir as the file to edit.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on March 25, 2014, 05:47:56 PM
A+ utility. thanks man :)

any chance you can make an option to spit out something I can cut/paste directly into a map?

just plaintext of the whole row?

Hi Nyet,

Newest version uploaded (1.2). This will create a xxx_mod.txt with the scaled transfer function inside so you can copy and paste it right into winols :)


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on March 25, 2014, 06:11:27 PM
Excellent! Thank you!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: AudiSportB5S4 on March 28, 2014, 07:57:42 AM
Has anyone run this tool using a 83mm RS4 MAF? I'm curious as to what kind of g/s are being pulled in on a K04 car running that setup.. Open element and RS4 MAF.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ddillenger on March 28, 2014, 11:06:24 AM
Why would you need to scale an RS4 MAF? This is used when putting your sensor in a larger housing. If you are using a factory sensor/housing, you just use the transfer function for that MAF.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: AudiSportB5S4 on March 28, 2014, 06:34:45 PM
I ran this on a 90mm MAF setup to compare my buddy's file to what this would generate... The result is definitely wrong, just not sure if its a bug or something I did. I posted the cmd prompt below and you can see it ran successfully.

(http://i427.photobucket.com/albums/pp352/AudiSportB5S4/ECUx%20Logs/MAFScalingStephen_zps2b8624a4.jpg) (http://s427.photobucket.com/user/AudiSportB5S4/media/ECUx%20Logs/MAFScalingStephen_zps2b8624a4.jpg.html)

(http://i427.photobucket.com/albums/pp352/AudiSportB5S4/ECUx%20Logs/CMDPrompt_zpsdf2340d4.jpg) (http://s427.photobucket.com/user/AudiSportB5S4/media/ECUx%20Logs/CMDPrompt_zpsdf2340d4.jpg.html)


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on March 30, 2014, 03:10:23 PM
I ran this on a 90mm MAF setup to compare my buddy's file to what this would generate... The result is definitely wrong, just not sure if its a bug or something I did. I posted the cmd prompt below and you can see it ran successfully.

(http://i427.photobucket.com/albums/pp352/AudiSportB5S4/ECUx%20Logs/MAFScalingStephen_zps2b8624a4.jpg) (http://s427.photobucket.com/user/AudiSportB5S4/media/ECUx%20Logs/MAFScalingStephen_zps2b8624a4.jpg.html)

(http://i427.photobucket.com/albums/pp352/AudiSportB5S4/ECUx%20Logs/CMDPrompt_zpsdf2340d4.jpg) (http://s427.photobucket.com/user/AudiSportB5S4/media/ECUx%20Logs/CMDPrompt_zpsdf2340d4.jpg.html)

Yes its a small bug, you need to specify the offset of mlhfm as parameter like 0x10234d

example: mafadjust Stephen_90MM.bin 73 90 hitachi 0x10234d

But you should read what mafadjust telling you, if you scroll down a little bit you will see the tool is telling you map looks not like mlhfm.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: AudiSportB5S4 on April 03, 2014, 12:06:43 PM
Just saw this, thanks for the reply!

What do you mean in your last sentence by "you will see the tool is telling you map looks not like mlhfm."


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on April 04, 2014, 05:10:58 PM
Just saw this, thanks for the reply!

What do you mean in your last sentence by "you will see the tool is telling you map looks not like mlhfm."

Scroll down through the output, you will see a prompt telling you that mlhfm is looks incorrect.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: stuklr on April 11, 2014, 10:05:42 PM
Just tried this tool. Using a stock M box with Hitachi MAF settings. I ran the .exe and then looked at the graph of MLHFM. It looks the same as AudiSportB5S4. Large jump in the center of the graph. I have attached my CDM window and the picture of the resulting graph. The data in the .txt file is the same as well.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ddillenger on April 11, 2014, 10:15:19 PM
Guys, please specify the offset of MLHFM and it'll work flawlessly. I was against having an auto detect function to begin with. This is just a tool to make things a bit easier.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: stuklr on April 11, 2014, 10:20:29 PM
I did in mine, Its in the CMD prompt window. 0x14254

Unless I have the address wrong?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ddillenger on April 11, 2014, 11:18:36 PM
To be honest, I always just scaled Hitachi manually.

Bosch is just trickier as it's got the region of negative flow. I used it on a Bosch M-box without incident, but not Hitachi. Thank you for bringing the problem to our attention, It'll get sorted.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: stuklr on April 12, 2014, 07:59:12 PM
I am already running an 85mm maf and have nice 1% fuel trims, but i wanted to try the tool out to see what it produced. Very cool idea. I will be sure to use it if I have to scale a bosch unit.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: BraxS4 on April 15, 2014, 08:48:12 AM
yeah like everyone said, dont bother trying this on your hitachi maf file.. it'll wreck it...


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: AudiSportB5S4 on April 22, 2014, 10:39:46 AM
Gotcha okay.. I was hoping to get some insight on how to get the scaling a bit more towards reality on this 90mm MAF my buddy is running on. I'm afraid just changing the MAF scaling alone will throw off other maps if the load goes too high though.. Currently @ WOT he only pulls in 200-210 g/s up top which I think is contributing to his problems running rich as the rpm climbs.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: BraxS4 on April 23, 2014, 02:01:53 PM
actually i was wrong, i was using me7check without it unrar'd "unzipped" which was working fine on one pc, but on my desktop it was not fixing the file, i actually unzipped it and it repaired the other files after, ill report back after i re try the scale and let you know, please keep me updated as well!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on April 23, 2014, 06:05:07 PM
yeah like everyone said, dont bother trying this on your hitachi maf file.. it'll wreck it...

New version uploaded! Thanks to you guys I was able to find the bug when used on Hitachi MAF's.
Redownload and use, should work now! :)

Also, added a new option for TFSI Maf (PWMMAF)

Usage:
mafadjust.exe 115ab.bin 65 72.8 0x1c50e6
mafadjust.exe 115ab.bin old_inner_diameter new_inner_diameter offset_MSHFMTPH



Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: stuklr on April 23, 2014, 07:13:33 PM
Great news! I wanted to compare what it produces to the scaling I have. Thanks for the excellent tool.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on April 23, 2014, 11:24:03 PM
Great news! I wanted to compare what it produces to the scaling I have. Thanks for the excellent tool.

Thanks for nice feedback! :)


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: BraxS4 on April 24, 2014, 03:36:49 PM
thanks also!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on April 26, 2014, 02:40:57 AM
hello guys,

You can change this little program for me 3.8.
Have the conversion values ​​for 256, rather than 512?

thanks in advance.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on April 26, 2014, 09:20:58 PM
hello guys,

You can change this little program for me 3.8.
Have the conversion values ​​for 256, rather than 512?

thanks in advance.

Hello, this tool can do M3.8 too. Just try it same way like me7


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: checcoa3 on April 27, 2014, 10:21:40 AM
Hello,

thanks for the reply.

I tried in every way but does not work with me3.8.3.
With ME7.5 works perfectly.

I can do some particular task?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: AudiSportB5S4 on April 29, 2014, 11:16:58 AM
New version uploaded! Thanks to you guys I was able to find the bug when used on Hitachi MAF's.
Redownload and use, should work now! :)

Also, added a new option for TFSI Maf (PWMMAF)

Usage:
mafadjust.exe 115ab.bin 65 72.8 0x1c50e6
mafadjust.exe 115ab.bin old_inner_diameter new_inner_diameter offset_MSHFMTPH



Very cool, thanks for updating!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: littco on May 13, 2014, 04:17:37 AM
If you increase the area why does the value initally decrease then when you use the utility?



Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on May 13, 2014, 09:39:39 AM
If you increase the area why does the value initally decrease then when you use the utility?



MLOFS is non zero.

do the math yourself and you'll see why. shift the whole thing down by MLOFS, scale, then shift it back up. The regions that were negative when shifted will be MORE negative scaled, and less positive when MLOFS is added back in.

alternately, you can leave it in place without shifting, and leave MLOFS zero, and then scaling the MAF is always a single operation


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: Jordy971 on June 29, 2014, 12:47:20 PM
Hi, it work with MSHFMU (Ford ME9.0) ??

Thank you


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on July 20, 2014, 05:38:17 PM
Hi, it work with MSHFMU (Ford ME9.0) ??

Thank you

Upload the File and write the offset for the linearisation map. I will take a look what i can do :)


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: Jordy971 on August 31, 2014, 05:07:18 PM
Okay thank you:

Factor 0.1
16 bit hilo
Address: 1C4C6E 129X01
Sign


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: MoparFreak69 on November 09, 2014, 05:40:28 PM
I scored a free 3" MAF housing from an A6 so I had to put it on my car and give this program a try. Worked excellent! Car has never run better!

Thanks a bunch for this utility guys!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: busso916 on November 11, 2014, 02:27:06 PM
Hi,
I used mafadjust on a 7.3.1 Alfa Romeo 147 GTA
the output values appear incorrect:

MLOFS is 200 kg/h (2000 in map), and the program does the calculations as if it was worth about 59..

Example: diameter 70 to 78 mm (+24,16%)

Minimum value in the map is 1385 (138,5 kg/h)
1385-2000 = -615
-615 * 1.2416 = -763.6
-763.6 + 2000 = 1236.416

The program says 1281

Maximum value in the map 14791
14791-2000 = 12791
12791 * 1.2416 = 15881
15881 + 2000 = 17881

The program says 18364

What is wrong?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on November 11, 2014, 02:43:23 PM
Hi,
I used mafadjust on a 7.3.1 Alfa Romeo 147 GTA
the output values appear incorrect:

MLOFS is 200 kg/h (2000 in map), and the program does the calculations as if it was worth about 59..

Example: diameter 70 to 78 mm (+24,16%)

Minimum value in the map is 1385 (138,5 kg/h)
1385-2000 = -615
-615 * 1.2416 = -763.6
-763.6 + 2000 = 1236.416

The program says 1281

Maximum value in the map 14791
14791-2000 = 12791
12791 * 1.2416 = 15881
15881 + 2000 = 17881

The program says 18364

What is wrong?

Upload the file and the command you used, and i will take a look.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: busso916 on November 12, 2014, 05:54:44 AM
Offset of map is 13808
old maf id: 70 mm
new maf id: 78 mm
surface increment: 24.16% (correct)

Here the command line

C:\mafadjust>mafadjust ss.mod 70 78 0x13808

increasing MLHFM with 24.16% from 1479.1kg/h -> 1836.4988571429kg/h
increasing done, generating output
starting to write results to Binary File ss_mod.bin
starting to write result to ClipBoard File ss_mod.txt
done!

C:\mafadjust>



Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: busso916 on November 14, 2014, 07:35:05 AM
Up!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on November 14, 2014, 05:27:15 PM
Offset of map is 13808
old maf id: 70 mm
new maf id: 78 mm
surface increment: 24.16% (correct)

Here the command line

C:\mafadjust>mafadjust ss.mod 70 78 0x13808

increasing MLHFM with 24.16% from 1479.1kg/h -> 1836.4988571429kg/h
increasing done, generating output
starting to write results to Binary File ss_mod.bin
starting to write result to ClipBoard File ss_mod.txt
done!

C:\mafadjust>



For me the map looks very good and should work, did you tested?
If you want to know how the values are calculated just study the code :)


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: TijnCU on December 05, 2014, 04:08:32 PM
I used this corrector on my file, but if I use the specified offset my file gets 1kb too big for some reason (513KB). If I manually copy the new values into the map, everything works.
I do have another question about scaling, I have tried using a 225hp maf scaling for my 150hp ecu, and dont get any maf reading. If I compare the 2, they are not really alike. I find the last 5 values of the 150hp version (top) to be strange, what is the function? This is a 018P ecu, but my 018AA and 018AR show the same style. The BAM (below) keeps a more lineair increase all the way to the end, but starts with smaller values and ends with larger. Anyone cares to explain me the difference in style, or is it just wrong adresses  ??? ::) To be more precise, I would like to know what the meaning is of those different style values, and if I need to adjust them when scaling.



Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on December 06, 2014, 06:00:00 PM
I used this corrector on my file, but if I use the specified offset my file gets 1kb too big for some reason (513KB). If I manually copy the new values into the map, everything works.
I do have another question about scaling, I have tried using a 225hp maf scaling for my 150hp ecu, and dont get any maf reading. If I compare the 2, they are not really alike. I find the last 5 values of the 150hp version (top) to be strange, what is the function? This is a 018P ecu, but my 018AA and 018AR show the same style. The BAM (below) keeps a more lineair increase all the way to the end, but starts with smaller values and ends with larger. Anyone cares to explain me the difference in style, or is it just wrong adresses  ??? ::) To be more precise, I would like to know what the meaning is of those different style values, and if I need to adjust them when scaling.



Upload the file you are trying and post the command that you are using to scale it.
And i try to help.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: TijnCU on December 07, 2014, 02:04:17 PM
For example, this attached AA bin. I use the command " mafadjust 018AA_ori.bin 59 69 0x10C46 "
This leads to the attached mod bin of 513kb  :o
I then copied the content of the 1x512 map and pasted this into my ori bin, then I get a 512kb bin that works. It is strange that it becomes 513kb in the first place though!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on December 08, 2014, 04:01:09 PM
For example, this attached AA bin. I use the command " mafadjust 018AA_ori.bin 59 69 0x10C46 "
This leads to the attached mod bin of 513kb

Actually, you are looking at 524288 vs 524289 (windows sucks ass).

Looks like a bad bug in the script. Somebody should fix it


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: TijnCU on December 09, 2014, 12:26:29 PM
Yeah that's what I thought. The scaling itself works fine  ::)
Could be linked to the fact I split the (fake) 1024kb bin into 512kb with TunerPro.
**oops I found my MLHFM adress to be wrong after all, that answers my first question :-) Correct adress is @ 0x10C3C in the 018AA bin


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on December 11, 2014, 08:01:54 PM
For example, this attached AA bin. I use the command " mafadjust 018AA_ori.bin 59 69 0x10C46 "
This leads to the attached mod bin of 513kb  :o
I then copied the content of the 1x512 map and pasted this into my ori bin, then I get a 512kb bin that works. It is strange that it becomes 513kb in the first place though!


Fixed, mafadjust have a small autodetect map function, on me7 you can try to run without entering mlhfm offset, in most cases the tool will find the correct offset.

mafadjust.exe 018AA_ori.bin 59 69

increasing MLHFM with 36.77% from 944.3kg/h -> 1291.5289571962kg/h
increasing done, generating output
starting to write results to Binary File 018AA_ori_mod.bin
starting to write result to ClipBoard File 018AA_ori_mod.txt
done!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on December 11, 2014, 08:06:18 PM
Guys, pay attention to the output! If you get an error, or a message such as:

selected map looks not like MLHFM, please check after process

post the output file here so we can fix it!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 20, 2015, 12:17:22 AM
I used the same method on MED9 to scale up MSHFMTPH by 76.37mm^2/65.92mm^2 = 1.34218 (34.218%) for a new larger MAF housing. The car runs fine, but when I log mass air flow the maximum value is still the same? With the OEM MAF it would max out at 363.76 g/s, and now with the bigger MAF and the rescaled MSHFMTPH, it still maxes out at 363.76 g/s?? Shouldn't the larger MAF be reading more flow after the scaling?

epy


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on February 20, 2015, 03:00:28 AM
I used the same method on MED9 to scale up MSHFMTPH by 76.37mm^2/65.92mm^2 = 1.34218 (34.218%) for a new larger MAF housing. The car runs fine, but when I log mass air flow the maximum value is still the same? With the OEM MAF it would max out at 363.76 g/s, and now with the bigger MAF and the rescaled MSHFMTPH, it still maxes out at 363.76 g/s?? Shouldn't the larger MAF be reading more flow after the scaling?

epy

You are logging with VCDS right?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 20, 2015, 03:11:18 AM
I am logging with the Meastro cable, which I think is the same thing. I also have VCDS. Should I log a different set of channels? I think it is accurate when it says it is maxed out because my fueling also gets off with O2 corrections maxing out at +25


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vwaudiguy on February 20, 2015, 08:06:24 AM
I used the same method on MED9 to scale up MSHFMTPH by 76.37mm^2/65.92mm^2 = 1.34218 (34.218%) for a new larger MAF housing. The car runs fine, but when I log mass air flow the maximum value is still the same? With the OEM MAF it would max out at 363.76 g/s, and now with the bigger MAF and the rescaled MSHFMTPH, it still maxes out at 363.76 g/s?? Shouldn't the larger MAF be reading more flow after the scaling?

epy

Why would you expect the reading to change? You have the same engine/setup correct?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 20, 2015, 08:46:26 AM
The reading should be the same up to the max value.  The larger MAF should have a larger range and be able to read a larger max.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 20, 2015, 08:51:18 AM
Specifically. The voltage or frequency at which a given mass flux is measured is less for a larger MAF such that the max voltage or frequency would represent a higher mass flux value.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vwaudiguy on February 20, 2015, 09:58:28 AM
But the airflow hasn't increased?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 20, 2015, 10:07:22 AM
Yes it has. I maxed out the smaller MAF. So I installed a bigger one so that the sensor is no longer out of range. But they both max out at exactly the same mass air flow value enemy as I continue to accelerate as the rpm's increase. Then the fueling goes lean because the mass air flow is increasing but the MAF is not measuring it. So the car adds too little fuel.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on February 24, 2015, 07:30:39 PM
Sensor value absolute maximums are 364.08 on VAGCOM and 499 on ECUx.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 25, 2015, 04:23:16 PM
That is interesting. So it is just the logging tool which is maxing out. Funny thing is I was using my Maestro cable for my "vag com logging" and it maxed at 363.76. I thought it was the same as a vag com cable when if came to logs. But as you indicate, as soon as I switched to my actual Vag Com cable, the max value I top out as is now 364.08. Wtf? I guess Maestro cannot be used as a log cable without caveats.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 25, 2015, 04:36:30 PM
Can I change these maximums ? ???


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on February 25, 2015, 04:41:03 PM
Can I change these maximums ? ???

You'll have to run the MAF underscaled.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 25, 2015, 05:05:01 PM
Since the maximum is only in the logger, is the ECU seeing real values? If so, what is the limit in the ECU?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: maZer.GTi on February 25, 2015, 05:27:59 PM
Since the maximum is only in the logger, is the ECU seeing real values? If so, what is the limit in the ECU?

Yes the Maximum is only for logging and diagnostic.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on February 25, 2015, 05:31:30 PM
Since the maximum is only in the logger, is the ECU seeing real values? If so, what is the limit in the ECU?

iirc around 900 g/sec, which should be loggable by ME7L


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ddillenger on February 25, 2015, 05:40:32 PM
iirc around 900 g/sec, which should be loggable by ME7L

Nye:

Stop thinking locally. This is a GLOBAL initiative!

Not everyone is tuning ME7 bruh!

haha

So who's hit the hard MAF limit? I want 900g/s!


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: ericpaulyoung on February 25, 2015, 07:35:17 PM
So is the ECU seeing the correct info? Or is there a cap in the ECU also?

EPY


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: yosh on April 26, 2015, 02:12:18 AM
Data acquisition package like INCA would log well beyond the range of VCDS and such tools. But cost puts it beyond the reach of most people :(


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: 59eurobug on August 28, 2016, 10:27:02 PM
I'm using this tool to learn how to scale my maf when I decide to upgrade my turbos/or go STK. I keep getting 2 errors with the file. I've done it both ways with and without the offset. What am I doing wrong? File is the community stage 2 file which I renamed ONLY for maf scaling purposes(I'm too lazy to type the whole thing in cmd)



Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: TijnCU on September 02, 2016, 05:02:27 AM
Did you correct the checksums after the mod?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: 59eurobug on October 24, 2016, 09:34:19 PM
Sorry for the late reply, but no I didn't correct. thought it was done automatically. I went to download the plugin for tuner-pro but its 122 euro now? thats almost 150. is there a different option?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on October 25, 2016, 02:32:52 AM
is there a different option?

You didn't bother reading any of the checksum stickies in the checksum forum?

Or, say, anything in the s4wiki?

Or even my sig?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: 59eurobug on October 25, 2016, 01:26:08 PM
I was actually trying to remember who's signature had the link to the checksum checker/corrector(yours) but couldn't find it. So thanks for posting, I only really have time for about an hour each night to read up and learn (2 jobs) so I apologize that I have been shortcutting it.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vwaudiguy on November 25, 2016, 10:47:02 PM
.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: EuroXs4 on February 18, 2017, 09:44:44 PM
Is mlhfm the only thing that needs to be changed in regards to scaling the maf???


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: rnagy86 on February 23, 2017, 02:55:26 AM
Did anyone ever try this on a 95 mm MAF with Bosch sensor element? It seems that the generated
MLHFM is way out of what it is supposed to be as for me at least the MAF values get way overscaled
and throws load calculation completely out of whack and by scaling it back down i am almost at the
same values as with the OEM 83mm MAF but then obviously the sensor can't really read much more
than in the OEM housing.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: armageddon on July 25, 2017, 03:24:32 PM
Did anyone ever try this on a 95 mm MAF with Bosch sensor element? It seems that the generated
MLHFM is way out of what it is supposed to be as for me at least the MAF values get way overscaled
and throws load calculation completely out of whack and by scaling it back down i am almost at the
same values as with the OEM 83mm MAF but then obviously the sensor can't really read much more
than in the OEM housing.


Did you solve this?

I am experiencing the same thing, although I manually calculated them, but the difference between the values given with mafadjust.exe is very small


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: rnagy86 on July 25, 2017, 11:43:13 PM
It was turbulent air. The plastic housing deformed and there was a huge leak on the bottom part
which could not be seen and it was sucking air in like crazy there. Since then i replaced it with a new
one and calculated for myself and that has been giving good results for the last couple of months.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: armageddon on July 26, 2017, 04:27:16 PM
ok, thanks.

I am using an aluminiun housing and have no leaks,

I down scaled it a bit and for now its all good.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: rnagy86 on July 27, 2017, 10:30:21 AM
ok, thanks.

I am using an aluminiun housing and have no leaks,

I down scaled it a bit and for now its all good.

I am basically running an MLHFM calculated with a spreadsheet instead of the tool,
I think the offiset (MLOFS) handling is buggy in the script but I did not have time to look at it.



Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vanrhj on October 11, 2018, 03:04:20 AM
I am basically running an MLHFM calculated with a spreadsheet instead of the tool,
I think the offiset (MLOFS) handling is buggy in the script but I did not have time to look at it.


Can u share the Spreadsheat please?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vanrhj on October 11, 2018, 03:14:39 AM
Did you solve this?

I am experiencing the same thing, although I manually calculated them, but the difference between the values given with mafadjust.exe is very small
Is 33.24% enough scaling on a 85mm maf housing?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vanrhj on October 14, 2018, 12:10:08 AM
Hi All
Do u start the MAF scaling and end scaling with the calculated percentage or will start and end scaling be divergent?
The reason behind my question is that my lowest value on the scale is 3.5 Kg/hr but when I do a log
the Air mass sometimes drop below that value to around 2.xx kg/hr. Can someone please explain why this is happening.
I used the Bosch sensor in a 83mm housing and did the scaling at 52%. Normal intake diameter for the mk5 gti is 67mm.


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vanrhj on October 14, 2018, 03:33:25 AM
I am logging with the Meastro cable, which I think is the same thing. I also have VCDS. Should I log a different set of channels? I think it is accurate when it says it is maxed out because my fueling also gets off with O2 corrections maxing out at +25
[/In maestro do u start scaling and end scaling with the same value or must one be a negative value and the other a positive value?quote]


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: vladvlad on June 18, 2020, 05:25:25 AM
Hi all. i tried to scale my 1.8t 225hp bam file from 73mm to 86mm maf case and mlsofs 200 and bosch oem sensor with this tool.
The script run ok and the file was created with some issues. In new file the lowest values are smaller than original file and after they are higher than them. I thinked all new values must be higher than original values. Did i wrong?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nupustas on May 16, 2021, 09:50:53 PM
Original 1,8t 225hp maf has plastic frame+steel grid, which means crossection is smaller than S6 maf(instaled only steel grid), see attached picture. When rescaling MAF, should i have evalute area of plastic frame, or just measured inner diameters?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nyet on May 17, 2021, 12:07:10 PM
Always ID

Air does not flow through solid plastic :P


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nupustas on May 18, 2021, 05:29:01 AM
Sorry for my english(it's not my native language), maybe not cleary asked. That i wanted to say: BAM maf (left picture) has aditional plastic frame inside maf, which means real cross section area is smaller than identical ID tube cross section area (as you wrote - "Air does not flow through solid plastic"). Im going to instal new maf without plastic frame, so rescaling only by ID works fine and difference by plastic frame will not affect anything?


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: BlackT on May 18, 2021, 06:53:54 AM
Sorry for my english(it's not my native language), maybe not cleary asked. That i wanted to say: BAM maf (left picture) has aditional plastic frame inside maf, which means real cross section area is smaller than identical ID tube cross section area (as you wrote - "Air does not flow through solid plastic"). Im going to instal new maf without plastic frame, so rescaling only by ID works fine and difference by plastic frame will not affect anything?

Few mm +- will not make any harm. Don't bother with that


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: nupustas on May 19, 2021, 10:08:51 AM
thanks


Title: Re: Easily scale your MAF for larger housings! (now with 50 percent more hitachi!)
Post by: mate96 on October 05, 2023, 12:24:20 AM
Hey, How can i get this script? arturbrojek@gmail.com