Notices

How Load is Calculated

Thread Tools
 
Search this Thread
 
Old Oct 25, 2011 | 06:19 AM
  #1  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
How Load is Calculated

As they say, a picture is worth a thousand words:



I am not 100% with the algorithm, hell I am not 50% with it, but this should help some people visualise what's going on..

edit - yes that's compressor surge...

Last edited by tephra; Oct 25, 2011 at 06:23 AM.
Reply
Old Oct 25, 2011 | 09:05 AM
  #2  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
good to see you working on this. so, the plot shows load tracking with the lower of MAP and MAF calcs, but now for the inevitable questions:

- what is this this load used for - table axes and general load-based control of engine function? is it used for the air flow value in the fuel pulse width calc?

- back when i was doing evo 10 disassem, i recall there being uncomp load, baro+airtemp comp load, etc., just like in the 8/9 disassem. the vals were calced from what i call a master load. is the load in your plot one of the compensated loads, the master load, or something earlier than the master load?

Last edited by mrfred; Oct 25, 2011 at 10:23 AM.
Reply
Old Oct 25, 2011 | 09:27 AM
  #3  
Ev0ikon's Avatar
Evolved Member
iTrader: (18)
 
Joined: Jan 2004
Posts: 3,677
Likes: 11
From: 3rd Rock {from = sun}
Great! More grayhair for me!
Reply
Old Oct 25, 2011 | 09:51 AM
  #4  
gkania's Avatar
Evolving Member
iTrader: (6)
 
Joined: Dec 2004
Posts: 489
Likes: 0
From: Deltona
Does it not follow MAF after 5000rpms?
Reply
Old Oct 25, 2011 | 10:22 AM
  #5  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by gkania
Does it not follow MAF after 5000rpms?
Ah, you're right. Lighting was poor when I looked earlier. Will edit my post.
Reply
Old Oct 25, 2011 | 05:49 PM
  #6  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
Originally Posted by mrfred
good to see you working on this. so, the plot shows load tracking with the lower of MAP and MAF calcs, but now for the inevitable questions:

- what is this this load used for - table axes and general load-based control of engine function? is it used for the air flow value in the fuel pulse width calc?

- back when i was doing evo 10 disassem, i recall there being uncomp load, baro+airtemp comp load, etc., just like in the 8/9 disassem. the vals were calced from what i call a master load. is the load in your plot one of the compensated loads, the master load, or something earlier than the master load?
As far as I know everything comes from Load_RAW (or your master load).

My log is of the Load_RAW...

I will check the IPW calcs...
Reply
Old Oct 25, 2011 | 10:07 PM
  #7  
Beeble's Avatar
Evolving Member
 
Joined: Feb 2009
Posts: 340
Likes: 2
From: Australia
So some logging i did during spool with an underscaled MAF showed Load jumping quite a bit. i couldn't work out if it was the compressor, or it was switching from MAP to MAF. I suspected the latter... but I'm probably wrong
higher RPM it always tracked MAF which was too low

D - if you deliberately OVERscale the MAF, do you think it will still track the lower of the two up top (which would then be MAP)?

Will try and did up the logs...
Reply
Old Oct 25, 2011 | 10:13 PM
  #8  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
should do...

The algorithm is a bit more complicated than the "lower" of the two.

I think the main thing is we can log it and then you can see IRL
Reply
Old Oct 25, 2011 | 11:41 PM
  #9  
richardjh's Avatar
Evolved Member
 
Joined: Oct 2010
Posts: 2,447
Likes: 14
From: Australia
By chance, last night, I was going through the function responsible for main fuel map lookup... and was wondering about the load-selection code right there. It compares two load variable values, then applies The Chosen One for use by the fuel map scale.

The annoying thing, I thought, was that it didn't slap The Chosen One into any useful (ie. loggable) address. Quite unusual for the Mitsu code - their stuff usually looks very "debug" friendly, in that you can dip in and catch interim calc results in most places.

I was actually planning on rejigging things so it put "the" fuel load in a more permanent spot (kind of like that old Boost Error tweak), so I could log exactly what was going into the fuel map lookup.

Or was I over-thinking things? That has been known to happen occasionally... ahem...

Rich
Reply
Old Oct 25, 2011 | 11:43 PM
  #10  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
Are you talking about the load lookup routine at the top of the fuel map lookup routine?
Reply
Old Oct 26, 2011 | 12:10 AM
  #11  
richardjh's Avatar
Evolved Member
 
Joined: Oct 2010
Posts: 2,447
Likes: 14
From: Australia
Yep. I don't have the code in front of me, but it grabs what I presume are two load candidates, compares 'em, chooses one, and drops it in the load-scaling address.

Edit: Just correcting myself: that subroutine was actually performing checks of a couple of other variables (not a comparison between the loads).

What irked me was that it didn't put the chosen one somewhere I could log, straight off the bat! How rude...

Rich

Last edited by richardjh; Oct 26, 2011 at 07:25 AM.
Reply
Old Oct 26, 2011 | 08:13 AM
  #12  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by richardjh
Yep. I don't have the code in front of me, but it grabs what I presume are two load candidates, compares 'em, chooses one, and drops it in the load-scaling address.

Edit: Just correcting myself: that subroutine was actually performing checks of a couple of other variables (not a comparison between the loads).

What irked me was that it didn't put the chosen one somewhere I could log, straight off the bat! How rude...

Rich
You're correct in your assessment. That piece of Evo 10 code is essentially a direct port of the Evo 7-9 SH2 code.
Reply
Old Oct 28, 2011 | 06:19 AM
  #13  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
dave, any chance i can get you to get a log with the maf 25% overscaled and then another with map 25% overscaled? i think that would give some interesting info on the master load calc without putting your motor in jeopardy. (for those wondering how this can be safe, if the ecu somehow decides to use the higher load rather than the lower, this will cause more fuel to be pushed and cause the ecu to pick more conservative values from the timing map.) perhaps do it at a lower boost and maybe only alter the higher airflow cells so it still runs normally off-boost. i'd do it myself on 3dman1's evo, but atr doesn't doesn't have these loads available for logging yet.
Reply
Old Oct 31, 2011 | 05:12 AM
  #14  
rrkpitt15's Avatar
Evolving Member
iTrader: (1)
 
Joined: Mar 2010
Posts: 304
Likes: 0
From: PA
Is there a reason why the load switches from following the MAP sensor to MAF sensor in middle of a WOT pull?

What is going on when the ecu switches from the MAP sensor to the MAF sensor? Would this cause an inconsistent AFR where the ecu is switching from the MAP sensor to MAF sensor? If this is a problem, is there any way to stop the ecu from switching to the MAF sensor in the middle of a pull aka Speed Density?

I am a newb at all this buy i love learn. Any the only way to learn is to ask questions. Thanks!
Reply
Old Dec 10, 2011 | 05:50 AM
  #15  
zerocooll21's Avatar
Evolving Member
iTrader: (2)
 
Joined: Mar 2010
Posts: 241
Likes: 0
From: Boston
Nice work Teph, Sub'd
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
gccruz
09+ Ralliart Show and Shine
86
Aug 5, 2022 10:31 AM
Thrilla
For Sale - Interior / Exterior / Sound / Styling
1
Apr 23, 2017 01:32 PM
2bar_evo
For Sale/WTB - Engine / Drivetrain / Power
4
Oct 25, 2016 07:13 PM
ddejaege
Evo Dyno Tuning / Results
24
Jul 27, 2014 06:59 PM
mikeywick821
EvoM New Member / FAQs / EvoM Rules
31
Mar 24, 2014 09:47 AM




All times are GMT -7. The time now is 09:01 AM.