RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 5:40 pm

All times are UTC





Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Tue Mar 19, 2019 12:03 pm 
Offline
Experienced

Joined: Sat Jan 14, 2017 9:46 pm
Posts: 534
It only interpolate between the cells ... should be liniarized interpolation, so no higher polynom.
Also you have to rescale you axis ... done interpolation in excel.

values arent correct ... Why should engine now need more fuel in lower loads / rpm ...?
It doesnt get more air there.
Also you need extrapolation not interpolation ... and its only approximation you need to log and tune by yourself for better values after all!

So nearly you done things you could do if you change injectors for rescale tables for beginning ... but you dont you want extrapolate not interpolate.
If ecu could extrapolate you can see by reverse engineering , disambling like via ida pro...


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Tue Mar 19, 2019 12:20 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
Yes I get your point, which is what I commented about in my previous post.
What makes sense to me is ADDING rows and columns to the current table cells (including axis of course) in a linear fashion, all the way to 7000rpm. But given that I can't paste tables in RR even with the current number of rows/columns, how can I do it with a higher number of rows/columns?


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Tue Mar 19, 2019 2:05 pm 
Offline
Experienced

Joined: Sat Jan 14, 2017 9:46 pm
Posts: 534
in simple words:
:lol: no there is no option in RR to do this and it isnt needen.
There is a table for chaning x and y values of axis, but sometimes need to correct some maps by yourself and not with axis descriptor.
So put in last colum your 7000 or 6800, 6900 this 200rpm isnt so important ... and rescale .
After this do remap (have a look re-map vs re-scale) the map via logging and testing.
So you are done. :roll:


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Tue Mar 19, 2019 5:42 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
Ok so here is how I proceeded:

- to reach 6944rpm with the same amount of rows, I increased the "rpm steps" for some of the values, as such:
* I left the first 5 rows alone, to help precision around idle
* I increased the "rpm step" between 5th and 6th row by 384rpm (median value between 256 and 512) instead of 256
*the next one by 480 instead of 256
* the one after that by 480 as in the original table
* all next "480" original steps by 512 (there were three 480 steps in between 512 ones originally)

- I then divided the new rpm values by the old ones where indicated, to come up with a ratio
- I multiplied the corresponding IPW rows by that ratio, so IPW increases proportionately to RPM
- I left the load values all the same, as they're not RPM dependent.

The one thing I'd like to draw guys your attention at is that the "384rpm" step doesn't match any of the original steps' values (96/256/480/512) and I don't know if the DME would be able to recognize a "rpm step" value that is not present in the original table.

Attached is the new table, which I hope makes sense. Thanks for your feedbacks in advance.


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


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 12:08 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
Bump, how does that table look guys? Given how sensitive a matter fueling is, I'd rather not screw this one up :)
I guess if it's ok I should do the same with full load enrichment and part load ones right?


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 12:25 pm 
Offline
Experienced

Joined: Thu Nov 15, 2018 3:00 pm
Posts: 718
Location: Europe, France (French/English)
Your way of thinking is completly wrong to me.

Just change the rpm axis in your fueling table.


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 2:02 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
dx4picco wrote:
Your way of thinking is completly wrong to me.

Just change the rpm axis in your fueling table.


That's what I did, didn't I? The values are different from the original ones for that table. And I updated the IPW cells proportionately. The increase in IPW's duration matches the increase in RPM. If I change the axis without changing the IPW values I end up "giving" the same amount of fuel for a higher rpm. I know as rpm increase there is less time for injectors to operate given that the combustion cycle takes less time, but there has to be some sort of compensation I guess?

Attached is a screenshot of the original base fuel table, for comparison purposes.


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


Last edited by Breeze1 on Wed Mar 20, 2019 2:05 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 2:05 pm 
Offline
Experienced

Joined: Thu Nov 15, 2018 3:00 pm
Posts: 718
Location: Europe, France (French/English)
No, you are thinking the wrong way.

Ipw is depending on load only. Not rpm.

That why you need bigger injector on turbo cars because you would need to open longen than the cycle duration.


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 2:10 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
I hate to disagree, but I don't think that's the case. If IPW was dependent on load only then why BMW would populate the table with an rpm axis in the first place? There would be only a load axis with corresponding IPW values wouldn't it?
I'm only quoting theoretical stuff here, but as rule of thumb, for a same amount of load, higher rpm means higher fuel requirements up to the point where the duty cycle of the injector can't catch up with the combustion cycle, which makes injectors go static...which explains why IPW decreases after a certain rpm point. It doesn't mean that load is not the primary factor to be taken into account, as the table shows, but if it was the only one, then I don't think there would an RPM axis.
Anyway, my method consists just of updating the IPW values proportionately to keep sticking to variations as intended by BMW (decrease or increase IPW by z% between rpm level x and rpm level y for e.g.). That way if the DME interpolates it will do so between more accurate IPW values given that they are proportional to the new RPM axis rather than the old one. I might very well be wrong, but that does seem to make sense to me...

If we take as an example the last rpm rows as shown here, in the original table, we can see that for a same given load, IPW increases until the last cell, where it decreases.


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


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 3:21 pm 
Offline
Experienced
User avatar

Joined: Sat Oct 14, 2017 4:54 am
Posts: 296
Location: Oregon, USA (English)
Why are you editing your fuel table? Is it just because you raised the rev limiter?
Is the car a daily driver?


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 3:28 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
323toslow wrote:
Why are you editing your fuel table? Is it just because you raised the rev limiter?
Is the car a daily driver?


Yes it is a daily (well, mostly on weekends but I walk to my workplace most week days). I'm currently working on something in between what I originally did and what dx4picco advised. It goes like this:

I understand that my approach was somewhat wrong because there are other "invisible" parameters taken into account to populate that table, with obviously lots of logging by BMW, and that IPW do not necessarily/always increase linearly with rpm (sometimes it does, sometimes it decreases). But still :lol: , I couldn't reasonably (IMHO) leave the same IPW's for higher rpm tresholds, to avoid running lean, at least for the rows where IPW clearly increases with RPM.

So I'm upscaling the RPM axis and modifying IPW's, but this time proceeding by analogy with what is in the original table. For e.g. the RPM row which shows 5408 in my new table, I'll paste the values for the 5504rpm row in the original table. And for the last RPM row (6944), I'll paste the original value for 6496 and slightly increase it, just to be on the safe side, since I don't know what pattern IPW would follow (up or down) at that rpm (most likely decrease, but how about combustion chamber - insufficient- cooling? I'd rather be too rich than too lean).


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 4:02 pm 
Offline
Experienced

Joined: Thu Nov 15, 2018 3:00 pm
Posts: 718
Location: Europe, France (French/English)
lets try to be short.

In gasoline engine you try to reach lambda 1, meaning stoichiometric ratio between air and fuel, namely 14.5-14.7 afr.
Now lets see how bmw ecu work. It uses a MAF sensor, that measure the air mass going into the engine.
It then divides the air mass by the number of cycle happening, namely rpm. This air mass (kg/h) divided by the number of cycle per time, is the Load (mg per stroke, mg of air per intake stroke).
Now, 600mg of air per intake stroke at 1500 rpm, to be at labmda 1 you need 15ms injector pulse width, which is 18.75% duty cycle on your injector.
600mg of air per intake stroke at 6000 rpm, to be at lambda 1 you need exactly as much fuel per stroke as at 1500rpm, 15ms, equivalent to 75% duty cycle of the injector.

why is the map 2D table and not 1D? because its not the only map ruling the ipw, you have accel table , deccel table, vanos correction table and all interact. Can you run same ipw in each load column? yes I do. Can you change to higher PW for higher rpm? yes you can if you decide to control your WOT enrichment with main table and not the wot one.

No offense but try to school yourself a bit more on the MS platform to avoid mistakes.


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 4:41 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
Ok so here is the "new" table. Basically what I did is this:

- take a "new" (after rescaling) rpm axis value
- compare it to the closest value(s) in the original table:
* if it's very close to an original value (say 200rpm or less), just copy and paste the IPW values from the original table to the rescaled one
* if it somewhat falls in between two original rpm values, compare IPW in rows respectively associated to both OV and copy and paste the richest IPW values between them to the new table
- For the last row (6944rpm), paste the values from the OV's last row (6496) and richen them slightly.


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


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 4:50 pm 
Offline
Experienced

Joined: Mon Apr 16, 2018 9:28 am
Posts: 243
dx4picco wrote:
lets try to be short.

In gasoline engine you try to reach lambda 1, meaning stoichiometric ratio between air and fuel, namely 14.5-14.7 afr.
I know that, but as mentioned in another post, I'm running OL constantly since I have no O2 sensors on the car.Which means I can't rely on adaptative learnings to trim fuel as should be at low/mid loads and have to get as right as possible on the tables, and after that make logs with a WB to get things really accurate.

Now lets see how bmw ecu work. It uses a MAF sensor, that measure the air mass going into the engine.
It then divides the air mass by the number of cycle happening, namely rpm. This air mass (kg/h) divided by the number of cycle per time, is the Load (mg per stroke, mg of air per intake stroke).
Now, 600mg of air per intake stroke at 1500 rpm, to be at labmda 1 you need 15ms injector pulse width, which is 18.75% duty cycle on your injector.
600mg of air per intake stroke at 6000 rpm, to be at lambda 1 you need exactly as much fuel per stroke as at 1500rpm, 15ms, equivalent to 75% duty cycle of the injector.

Hence my comment on the fact that it doesn't change linearly with rpm because of other "invisible parameters". That still doesn't change the fact that you can't (IMO) just blindly copy/paste the same IPW values for a different rpm axis, when you clearly see that on the stock table, the IPW values increase with rpm's for a given load, for the last 5 rows with the exception of the last one. I was trying to follow the same logic. Btw, there is no such thing as lambda=1 at high loads/rpm's, unless you're trying to make your engine detonate, but I'm guessing you were making a link between the base table and the ones you mention hereafter (enrichment and so on...).

why is the map 2D table and not 1D? because its not the only map ruling the ipw, you have accel table , deccel table, vanos correction table and all interact. Can you run same ipw in each load column? yes I do. Can you change to higher PW for higher rpm? yes you can if you decide to control your WOT enrichment with main table and not the wot one.

No offense but try to school yourself a bit more on the MS platform to avoid mistakes.
This is why I'm here and this is why I'm asking questions in the first place...


No offense taken. Answers in blue in your text to make things less tedious.


Top
 Profile  
 
 Post subject: Re: MS42 tuning process - checklist
PostPosted: Wed Mar 20, 2019 4:56 pm 
Offline
Experienced
User avatar

Joined: Sat Oct 14, 2017 4:54 am
Posts: 296
Location: Oregon, USA (English)
I really think you are over thinking this since your car isnt going to be hitting the new rev limiter one hundred percent of the time. Horse Power drops off before 6500rpm so there is absolutely no point in running any gear to rev limiter.

If you wanna just smash the gas in neutral every once in a while, to hear your newly set and aggressive rev limiter, using the stock fuel table is not going to be an issue, unless perhaps you plan on putting a brick on your gas pedal and walking away from the car.

But your last few posts about calculating IPW and such has intrigued me, so I did some quick reading and it seems to me, that to do the calculations as correctly as possible without actually having a wideband afr gauge....you would need to figure out the volumetric efficiency for your particular setup. Im sure there is a formula for “reverse” calculating the stock fuel table to get an idea of what BMW feels is the VE of the engine.

It is definitely interesting, and at some point, I myself will have to dive into my fuel tables as well.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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