RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 7:20 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 103 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: MAF Limit = 2048 kg/hr
PostPosted: Fri Aug 05, 2016 12:48 am 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Please use this thread to discuss. This is available in RR as of v0.43.

Caution for Turbochargers
If you run this with a Turbocharger that spools up quickly, you will overflow the Load variable in the 2500 to 3500RPM range since Load/Torque builds too quickly for the stock ECU code to handle and will result in extremely lean AFRs and engine damage.
Datalog and make sure you are not getting close to the 1389 Load (mg/stroke) limit.
If you are, delay the onset of boost a little bit.

Superchargers and NA tunes are OK to use with this.


I've changed the MAF Scaling tables to a 16x16 format instead of 256x1 because it will be easier to edit. Changes to the MAF Scaling table should generally only happen in percentages and any fine tuning should be taken care of in the main Fuel map.

As mentioned below, the copy/paste functions in RR don't seem to work intuitively for me. Use the attached MAF spreadsheet to copy/paste the values to/from Excel/RomRaider.

1. Select all yellow highlighted cells
2. "Ctrl + C" to Copy
3. In RR, click the top-left cell, then "Ctrl + V" to Paste


Wiki : https://sites.google.com/site/openms41/romraider/maf
Please check this out and let me know if the wording/content still needs to be clarified.

MAF Tuning Spreadsheet - thanks to "ba114" - viewtopic.php?f=42&t=12453


You do not have the required permissions to view the files attached to this post.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Fri Aug 05, 2016 2:18 am 
Offline
Experienced

Joined: Wed Oct 21, 2015 2:36 am
Posts: 980
Agree that this makes it easier to view the table, however might make it slightly more difficult to do the transfer function copying and pasting.


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Fri Aug 05, 2016 3:46 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Yeah, I agree. RR is a little finicky about copy/paste right now so please use the Excel sheet I attached to the first post.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Sat Aug 06, 2016 12:20 am 
Offline
Experienced

Joined: Tue Apr 21, 2015 4:18 pm
Posts: 166
mrf582 wrote:
Wiki : https://sites.google.com/site/openms41/romraider/maf
Please check this out and let me know if the wording/content still needs to be clarified.


So are you meaning there that once a person chooses 2048 kg/hr Mode, then he needs to divide all of the values in the bins by 2 for the purpose of establishing the starting point that correlates to the factory MAF scaling table before commencing fine tuning the table with values higher than 1024? If you mean something other than that, obviously I missed it...

Is the point of this to be able to install a resistor and have a given voltage correlate to a higher airflow so that load values can be calculated correctly when airflow exceeds the limit of the stock MAF?

Sorry if I'm getting this completely wrong!


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Sat Aug 06, 2016 2:14 am 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
tjabo wrote:
mrf582 wrote:
Wiki : https://sites.google.com/site/openms41/romraider/maf
Please check this out and let me know if the wording/content still needs to be clarified.


So are you meaning there that once a person chooses 2048 kg/hr Mode, then he needs to divide all of the values in the bins by 2 for the purpose of establishing the starting point that correlates to the factory MAF scaling table before commencing fine tuning the table with values higher than 1024? If you mean something other than that, obviously I missed it...

Is the point of this to be able to install a resistor and have a given voltage correlate to a higher airflow so that load values can be calculated correctly when airflow exceeds the limit of the stock MAF?

Sorry if I'm getting this completely wrong!

Yes, exactly. If in doubt, just copy/paste the values from the spreadsheet. More MAF Scalings will be added in the future. But they will just be a starting point.

And correct again. Only if you add a MAF that reads more than 1024 kg/hr at 5V or you use a resistor to 'trick' the MAF into simulating a bigger one that may exceed 1024 kg/hr at 5V.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Sat Aug 06, 2016 9:50 am 
Offline
Experienced

Joined: Tue Apr 21, 2015 4:18 pm
Posts: 166
Wow, this is an excellent feature!

Do you expect to have a basic scaling for a stock MAF plus a specified amount of added resistance available as a starting point to choose at some point, maybe like iamanonymous' setup or something? (although if I remember right he might not be actually changing his MAF scaling so maybe another example is a better one)


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Sun Aug 07, 2016 5:19 pm 
Offline
Experienced

Joined: Fri Nov 07, 2014 9:05 pm
Posts: 127
Location: Halifax, Canada
(redacted in light of new information)


Last edited by Northern on Wed Jun 07, 2017 3:25 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Sun Aug 07, 2016 9:25 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Yeah, the spreadsheet is setup so you can make a copy of the tab, and paste into it the MAF Scaling from a ROM and it will automatically populate the other stuff for viewing and pasting back into RomRaider. So as and when different MAF setups are generated/tested they can be added to this master list. I suggest someone try a stock MAF with a 2.2Kohm resistor and see how much more airflow that gets us.

I have a car with an 803 MAF 2.2Kohm resistor + 42 lb injectors that I will eventually tune (after fixing the clutch pivot pin) and share the findings on. But my day job takes up a lot of my time and desire to do other stuff.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Mon Aug 08, 2016 4:35 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
mrf582 wrote:
Yeah, I agree. RR is a little finicky about copy/paste right now so please use the Excel sheet I attached to the first post.


I believe the problem with copy and paste into tables is due to extra fields in the first row of data which should only contain the table type.
If you make your changes in the spreadsheet and then try to copy them to RR it will most likely fail.

You can worlk around this by first copying the data from the spreadsheet into a text editor.
A 2D table for example:
Code:
[Table2D] <tab> <tab> <tab> <tab> <tab> <tab> <tab> <eol>
0.8984375   0.9375   0.9765625   1.015625   1.0546875   1.09375   1.1328125   1.171875<eol>
1.128449917   1.29974997   1.487149954   1.683449984   1.891449928   2.124499798   2.388399839   2.6868999<eol>

What you won't normally see is that there are "tab" formatting characters in the first line up to the end of the line (eol). These all need to be deleted. On the first line place the cursor after the ] and press Shift-End to highlight all the tabs to the end of the line, then press delete.
Code:
[Table2D]<eol>
0.8984375   0.9375   0.9765625   1.015625   1.0546875   1.09375   1.1328125   1.171875<eol>
1.128449917   1.29974997   1.487149954   1.683449984   1.891449928   2.124499798   2.388399839   2.6868999<eol>

Now select all (Ctrl-a) and copy this data and paste it into the RR table.


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Mon Aug 08, 2016 7:56 pm 
Offline
Experienced

Joined: Tue Apr 21, 2015 4:18 pm
Posts: 166
Is this the best document to study in order to learn about developing a MAF scalar?:

http://www.romraider.com/forum/download/file.php?id=5305


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Mon Aug 08, 2016 8:12 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
This process is geared towards the Subaru ECUs. The MAF tab is looking for these Logger parameters, which if any are missing, it will not work.
  • COOLANT_TEMP = P2
  • AF_CORRECTION_1 = P3
  • AF_LEARNING_1 = P4
  • ENGINE_SPEED = P8
  • INTAKE_AIR_TEMP = P11
  • MASS_AIR_FLOW = P12
  • MASS_AIR_FLOW_V = P18
  • AFR = P58
  • CL_OL_16 = E3 or CL_OL_32 = E33
  • TIP_IN_THROTTLE_16 = E23 or TIP_IN_THROTTLE_32 = E54

The DS2 logging def for BMW is missing most of these.


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Mon Aug 08, 2016 10:56 pm 
Offline
Newbie

Joined: Thu Aug 29, 2013 10:54 pm
Posts: 15
mrf582 wrote:
Yeah, the spreadsheet is setup so you can make a copy of the tab, and paste into it the MAF Scaling from a ROM and it will automatically populate the other stuff for viewing and pasting back into RomRaider. So as and when different MAF setups are generated/tested they can be added to this master list. I suggest someone try a stock MAF with a 2.2Kohm resistor and see how much more airflow that gets us.

I have a car with an 803 MAF 2.2Kohm resistor + 42 lb injectors that I will eventually tune (after fixing the clutch pivot pin) and share the findings on. But my day job takes up a lot of my time and desire to do other stuff.


I've searched high and low for an 803 MAF scale. Most of the tunes I've been buying for customer cars require it with a 2.2k resistor, like yours. Their tunes are locked, of course, but one day I would love to try tuning my own FI S52 with a known good MAF map


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Mon Aug 08, 2016 11:22 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
offset wrote:
mrf582 wrote:
Yeah, the spreadsheet is setup so you can make a copy of the tab, and paste into it the MAF Scaling from a ROM and it will automatically populate the other stuff for viewing and pasting back into RomRaider. So as and when different MAF setups are generated/tested they can be added to this master list. I suggest someone try a stock MAF with a 2.2Kohm resistor and see how much more airflow that gets us.

I have a car with an 803 MAF 2.2Kohm resistor + 42 lb injectors that I will eventually tune (after fixing the clutch pivot pin) and share the findings on. But my day job takes up a lot of my time and desire to do other stuff.


I've searched high and low for an 803 MAF scale. Most of the tunes I've been buying for customer cars require it with a 2.2k resistor, like yours. Their tunes are locked, of course, but one day I would love to try tuning my own FI S52 with a known good MAF map

Do you have a leaf blower? Hook up both in series and measure voltage on both at a couple different flow rates. The difference should be a constant percent. Curious to know what that number is. At the very least, it will be a good starting point.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Tue Aug 09, 2016 4:44 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
mrf582 wrote:
Yeah, I agree. RR is a little finicky about copy/paste right now so please use the Excel sheet I attached to the first post.
https://github.com/RomRaider/RomRaider/issues/66
Next RR release should fix this problem up.


Top
 Profile  
 
 Post subject: Re: MAF Limit = 2048 kg/hr
PostPosted: Fri Aug 26, 2016 1:14 am 
Offline
Newbie

Joined: Thu Aug 29, 2013 10:54 pm
Posts: 15
This makes me really anxious to install my Dinan supercharger kit. I got the whole harness and DME from an original Dinan car (I can post the .bin if allowed/requested) and it has some kind of magic resistor box inline with the wiring for the stock MAF in draw through configuration. I believe it's only tuned for ~6psi, so I'm really curious to see how close Dinan's tune is to the stock MAF's "limit". The "load" only goes to 700, and the ignition timing maps a lot closer to a stock s52 than I thought they would be. I figured maybe with the heatsoak issues the non intercooled cars had, that there would be increased IAT based ignition retard, but there is not.

I guess I'll have to wait and log with stock pulleys to find out more.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 103 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl