Notices
ECU Flash

logging many load variables

Thread Tools
 
Search this Thread
 
Old Aug 14, 2007 | 01:31 PM
  #16  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
I decided to get another log in warmer weather. Turns out the the result is different. Load fuel and load timing have almost the exact same values as in the previous run, but load boost runs about 10 load units lower in this run. Turns out that the boost also was about 0.5 psi lower in this new run.

Now I'm beginning to understand why its been such a challenge to do ECU-based boost control. The load value used by the ECU to control boost seems to follow a different path than the other load values depending on weather conditions.

Attached Thumbnails logging many load variables-evoscandatalog_2007.08.14_12.52.40_3rd_load_ram_vs_rpm.jpg  

Last edited by mrfred; Aug 14, 2007 at 01:42 PM.
Reply
Old Aug 14, 2007 | 01:45 PM
  #17  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by Mr. Evo IX
Do you have the code that we would put in our data.xml file to fix evoscan or is it not that easy to fix?
Some changes to the ROM are need also. The changes to the ROM can be accomplished using ECUFlash. Its going to take me some time to write up instructions.
Reply
Old Aug 14, 2007 | 02:23 PM
  #18  
jcsbanks's Avatar
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Nice work mrfred. If loadboost runs 10 lower in higher temperature, I wonder if it is a mechanism to keep the engine output up on a standard car where it would be able to boost higher? The Bosch stuff does this, and it will do other odd stuff like increase boost to keep the engine output up even if it is knocking!

I wonder if the various duty and boost desired engine load are used in these various circumstances?
Reply
Old Aug 14, 2007 | 02:59 PM
  #19  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by jcsbanks
Nice work mrfred. If loadboost runs 10 lower in higher temperature, I wonder if it is a mechanism to keep the engine output up on a standard car where it would be able to boost higher? The Bosch stuff does this, and it will do other odd stuff like increase boost to keep the engine output up even if it is knocking!

I wonder if the various duty and boost desired engine load are used in these various circumstances?
Sure seems like Mitsubishi is up to something like that for the boost control. Seems foolish to me as you suggest.

I was able to find the RAM variable for BDEL and log BDEL also. The "target load" in the plots is that logged BDEL with BCLO added to it in Excel. Seems to be invariant within this temperature range.

I am tempted to change the load variable in the boost control subroutine to one of the others so that boost is more invariant. Still need to do more logging before I try it though. I want to get at least one cool weather log and one or two 4th gear logs.
Reply
Old Aug 14, 2007 | 05:25 PM
  #20  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
you need to be careful doing that - as each memory address gets initialized in different parts of the code - so you could be using "yesterdays" load value or even worse and invalid load value...
Reply
Old Aug 14, 2007 | 06:26 PM
  #21  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by tephra
you need to be careful doing that - as each memory address gets initialized in different parts of the code - so you could be using "yesterdays" load value or even worse and invalid load value...
I'm still a newb at hacking assembly code, so I'm not sure what you mean by initializing the memory address. The multipurpose RAM variable (FFFF69CA in the USDM IX ROM) always gets updated just before it is used. Otherwise, my experience so far is that single purpose RAM variables like load FFFF6B42 are used throughout the code with no special preparation except perhaps during startup.

I've also already successfully played some tricks with switching out RAM variables. The fuel and timing lookup both use the multipurpose RAM variable for reading load. For both lookups, I switched out the multipurpose variable for an unused RAM address (and updated the load table with the same RAM address) so that I could read those load variables. Its working perfectly.
Reply
Old Aug 14, 2007 | 06:31 PM
  #22  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
say XXX gets updated in the timing routine, but you change the fuel routine to use it as well then the fuel routine needs to run after the timing routine - otherwise you are using and old value of XXX.

remember its just on big loop in the end...
Reply
Old Aug 14, 2007 | 06:59 PM
  #23  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by tephra
say XXX gets updated in the timing routine, but you change the fuel routine to use it as well then the fuel routine needs to run after the timing routine - otherwise you are using and old value of XXX.

remember its just on big loop in the end...
Yeah, I see your point there. I'd probably end up using one of the global load variables rather than one specific to the fuel or timing lookups.
Reply
Old Nov 17, 2007 | 10:26 AM
  #24  
nj1266's Avatar
Evolved Member
iTrader: (6)
 
Joined: Nov 2004
Posts: 3,254
Likes: 13
From: USA
Originally Posted by mrfred
I was able to find the RAM variable for BDEL and log BDEL also. The "target load" in the plots is that logged BDEL with BCLO added to it in Excel. Seems to be invariant within this temperature range.
Necro bump

What variables did you end up using to log the numbers to enter in the BDEL tables? I am currently using 6B48 and 6B49 in MUT8C and MUT8D respectively. I noticed a differene between this load and the 2byteload. The 2byteload is higher.
Reply
Old Nov 17, 2007 | 05:23 PM
  #25  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
It depends on how you've got boost control setup. If you haven't done my "boost control mods", then the ECU adjusts boost according to FFFF6B48 (load boost) that you are logging. My boost control mods thread explains how to change the load variable for boost control to the "load fuel" variable. If you've done that, then you'd want to be logging FFFF6B42 which is the 2-byte load that everyone logs for an Evo 9.

There can indeed be a pretty sizable difference between load fuel and load boost. That's the reason why I created the "boost control mod". The topic of the various 2-byte loads was just ressurrected a few days ago in tephra's 2-byte loads thread.
Reply
Old Nov 17, 2007 | 05:35 PM
  #26  
RazorLab's Avatar
EvoM Guru
20 Year Member
Liked
Loved
Community Favorite
iTrader: (8)
 
Joined: Aug 2003
Posts: 14,094
Likes: 1,092
From: Mid-Hudson, NY
I've been switching the load the ecu-boost follows to the normal 2byte load and it makes the boost much much more stable, repeatable and easier to tune.

btw welcome back mrfred.
Reply
Old Nov 17, 2007 | 06:34 PM
  #27  
nj1266's Avatar
Evolved Member
iTrader: (6)
 
Joined: Nov 2004
Posts: 3,254
Likes: 13
From: USA
Originally Posted by razorlab
I've been switching the load the ecu-boost follows to the normal 2byte load and it makes the boost much much more stable, repeatable and easier to tune.

btw welcome back mrfred.
Does that mean that you are entering the 2byteload that we all log in the BDEL minus BCLO? For example, for the 9 you are using the data from logging the 2 byte load this way:

2 byte load high bit = 27458
2 byte load low bit = 27459

After you log this 2byteload do you deduct BCLO from it and enter the number in the BDEL?
Reply
Old Nov 17, 2007 | 07:21 PM
  #28  
RazorLab's Avatar
EvoM Guru
20 Year Member
Liked
Loved
Community Favorite
iTrader: (8)
 
Joined: Aug 2003
Posts: 14,094
Likes: 1,092
From: Mid-Hudson, NY
Originally Posted by nj1266
Does that mean that you are entering the 2byteload that we all log in the BDEL minus BCLO? For example, for the 9 you are using the data from logging the 2 byte load this way:

2 byte load high bit = 27458
2 byte load low bit = 27459

After you log this 2byteload do you deduct BCLO from it and enter the number in the BDEL?
Yup.
Reply
Old Nov 18, 2007 | 10:26 PM
  #29  
mrfred's Avatar
Thread Starter
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by razorlab
...

btw welcome back mrfred.
Thanks! I won't have as much time as BC, but hope to keep contributing.
Reply
Old Nov 19, 2007 | 04:03 AM
  #30  
evo828's Avatar
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
loadcalc vs 2byte load

Although I have a different ROM id (evo 8 96530006) - so the adressess do not match - my 2bload is way lower than the load calculated by Evoscan. Sometime even 30 points. When taking this 2byte laod and the ignition - the pretty much match the the ignition table. So I assume this could be the right load for ignition. However - for fueling - the real afr are not matching the afr in the table - but this can be another issue (lean spool etc.).

Just to have an idea to compare - can you please also post the calculated loads together with the various 2byte loads. This way may be I can get an idea which 2byte load I am actually logging
Attached Thumbnails logging many load variables-log1-2bload-vs-loadcalc.jpg  

Last edited by evo828; Nov 19, 2007 at 04:12 AM.
Reply



All times are GMT -7. The time now is 01:05 PM.