Notices
ECU Flash

Speed Density Implementation Discussion

Thread Tools
 
Search this Thread
 
Old Oct 21, 2008 | 08:23 AM
  #31  
l2r99gst's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2004
Posts: 3,499
Likes: 4
From: CA
If you dealing with psia, though, then you won't ever need to worry about baro, since it is incorporated in the psia value. You would only need a baro measurement if you want certain tables or calculation based off of psig, like if you wanted something based off of boost pressure.
Reply
Old Oct 21, 2008 | 08:23 AM
  #32  
03whitegsr's Avatar
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
From my experience, you want the IAT sensor in the plenum of the manifold, in the direct air stream. You want the sensor to “heat soak” because under the conditions that cause the sensor to heat soak, the air velocity is low and the intake manifold is heating up the air considerably anyway so you want to accommodate that “heat soak.” I made the mistake of putting an IAT in a charge pipe once and I ended up chasing my own tail for a couple weeks trying to get a stable tune that wasn’t subject to enleanment issues after stopping from a freeway cruise. Tossed the sensor in the plenum and the car ran nearly perfect A/Fs from that point on, regardless of how hot the motor was.

Acceleration enrichment is another issue with MAP based systems. From what I have experienced, if you have a good solid map built up, you almost don’t need acceleration enrichment. I have it nearly disabled in the cars that I have tuned and it only becomes active on very large throttle movements. It’s worth putting in though. You want it to act very similar to an accelerator pump in a carb where a change in throttle position gives you a change in fuel, the larger the change, the more fuel. A straight 2D table with delta throttle on the x-axis and an additional IPW being the y-axis seems to work well. You also need to be able to dictate how many cycles or a time that the additional enrichment is applied for.

Last edited by 03whitegsr; Oct 21, 2008 at 08:27 AM.
Reply
Old Oct 21, 2008 | 08:26 AM
  #33  
03whitegsr's Avatar
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
Originally Posted by l2r99gst
If you dealing with psia, though, then you won't ever need to worry about baro, since it is incorporated in the psia value. You would only need a baro measurement if you want certain tables or calculation based off of psig, like if you wanted something based off of boost pressure.
The only thing I've seen a baro correction effectively used for on a turbo motor is for compensating for the higher exhaust back pressure. Many high end systems have actually gone over to directly measuring exhaust back pressure for this purpose instead of trying to indirectly compensate for it.

On an N/A systems with big cams and ITBs, they typcially use TPS instead of MAP for the main fuel axis and then use the baro reading to scale the whole table.
Reply
Old Oct 21, 2008 | 08:52 AM
  #34  
kikiturbo's Avatar
Evolved Member
15 Year Member
Liked
Loved
Community Favorite
 
Joined: Mar 2008
Posts: 2,108
Likes: 316
From: Croatia
Originally Posted by tephra
Vlado - the MAP axis change is what Bez has already done, so you are now targeting an AFR based upon the current MAP sensor...

But you are right tuning VE will be difficult, and also changes to the engine will also make this harder. Hopefully someone smarter than I am will be able to come up with a fool-proof way of doing this (ie Eric's injector scaling + latency trim resolution method)

I will read those posts again in a tick Just have to say the below b4 I forget

On the way home I thought about something, if we know the exact amount of 'air' going into the engine then can't we inject and exact amount of fuel to target an exact AFR?
well, we do know the exact ammount of air going into the engine right now, don't we?

however.. I think we should concentrate on removing the load from the equation and supstituting it with a MAP signal.. as for the fuel, you can keep the AFR and do a closed loop patch for the ecu so that we can map the whole thing with a wideband... then that map is converted, in the ECU, in injector timing... you could have the ecu map be in injector opening time, and have a separate piece of SW on the PC running the wide band and changing the injector timing on the fly to correct the fuelling in order to hit the target AFR... once you do it, you do not have to repeat untill you change the VE of the engine.. (different turbo, cams etc..)

this way you do not have to calculate the airflow at all.. of course you should keep some sort of baro compensation... but that could be a simple 1D table..

as I said, the only problem I see is Mivec... first it is run as a load vs RPM, so it could be MAP vs RPM... but it will change the VE during operation..

cheers

vlado

Last edited by kikiturbo; Oct 21, 2008 at 08:55 AM.
Reply
Old Oct 21, 2008 | 09:11 AM
  #35  
03whitegsr's Avatar
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
Mivec could be handled in two maps using linear interpolation, but probably better to have three.

Low, mid and high advance with binomial interpolation in between based on cam position.

I have to wonder what interpolation method would work better for the fuel mapping. Would linear interpolation increase the ECU process speed enough to offset the error that may be ran into by allowing you to maybe make two complete calculations for every fuel injector event?

Last edited by 03whitegsr; Oct 21, 2008 at 09:18 AM.
Reply
Old Oct 21, 2008 | 09:15 AM
  #36  
03whitegsr's Avatar
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
User definable tables for the IAT sensor and MAP sensor would be ideal. This would allow various sensors to be used.

For the IAT I believe you could get away with a two value table, Beta and Ro. These are parameters that characterize a thermistor to the equation R=Ro*exp(B/T-B/To). The disadvantage here though is that you would have to write an equation to use these values to calculate the temperature based on the voltage feed into the ADC from the thermistor circuit. With it being an exponential based equation, I assume you would want to use some Taylor series expansion, which gets a little more involved? A less taxing way, I assume, would be a 2D look-up table that used either linear interpolation with more values or binomial interpolation using fewer values?

For the MAP sensor, a simple offset and scale parameter could characterize most any sensors we would be interested in and simple linear interpolation would take care of the rest. It might be less intuitive to setup, since you aren’t programming a 2D input table, but it seems like it would be more straight forward and use less memory with equal or even less processing requirement since interpolation in a 2D table would still be needed?

EDIT: Sorry for the abundance of posts, OEM ECU based speed density would be the cat's meow for the EVO though and I'm happy to do what ever to help. Dontations? Info?

Last edited by 03whitegsr; Oct 21, 2008 at 09:37 AM. Reason: Changed a double post into something useful?
Reply
Old Oct 21, 2008 | 06:24 PM
  #37  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
^ yeah I plan to implement (or hijack) the sort of voltage -> scaled IAT/MAP output.

I am not sure how MIVEC impacts on this apart from changing VE- in which case it becomes a VE tuning exersise rather than a code/ECU behaviour exercise.

My plan for the IAT (or CAT as it really should be called) is to place it in the same place as this picture below:
http://backoftheenvelope.blogspot.co...p-and-iat.html

Anyone see an issue with that?

OK, this is my todo list so far:

1) Get the IAT installed
2) Get the IAT AND MAP sensor feeding into 2 (one for each) 2d tables that convert voltage into a Temp OR Psi - this means it doesn't matter WHAT sensors people get as they can customise then.
3) Get the ECU producing a g/s value for the mass of air(is that the correct terminology) going into the engine - Well aware that MrFred has already done this - But if I do it myself I will understand it all better

This still leaves the main part of the project which is to decide whether to go MAP axis OR use the g/s from above as the axis or whatever...

I also think that Acceleration Enrichment shouldn't be an issue as we are basically instantly updated on how much air is going into the engine so we can inject more/less fuel - Be good to get this point clarified.

One other thing - how does timing change with MAP vs g/s - ie does less air mass mean we can run more or less timing, or is it irrelevant - it it all about cylinder psi (ie MAP)
Reply
Old Oct 21, 2008 | 07:24 PM
  #38  
kikiturbo's Avatar
Evolved Member
15 Year Member
Liked
Loved
Community Favorite
 
Joined: Mar 2008
Posts: 2,108
Likes: 316
From: Croatia
timig usually works best as a simple MAP vs RPM map... as that will take care of different VE engine has at various rpm's (remember, even with just an ordinary cam the engine can be "on the cam" or not.. VE changes during the RPM band)

accel enrichment is not an issue, but do not know about lean spool..
may I suggest you download the mapping software fot DTA standalone and see how those maps are organized, that is a pretty good and simple standalone..
Reply
Old Oct 21, 2008 | 07:25 PM
  #39  
l2r99gst's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2004
Posts: 3,499
Likes: 4
From: CA
Originally Posted by tephra
One other thing - how does timing change with MAP vs g/s - ie does less air mass mean we can run more or less timing, or is it irrelevant - it it all about cylinder psi (ie MAP)
This is one of the main reasons why I would like the axes to stay as a g/rev value. Timing is a function of mass aiflow/rev, not necessarily boost pressure. The same boost pressures in colder temperatures or greater VE RPM ranges will result in much higher mass airflow, and thus much higher cylinder pressures.

You either have your axes as map, which makes it look nice and easy to read, and have all of your adjustment tables that need to constantly be tweaked or you have your axes as mass airflow/rev, which includes all of the calculations already. You can still have the tables adjustable, like VE, for the fine tuning, but at least the temp and pressure is already in the axes.

Of course, this is only my opinion, and it looks like many more people favor a MAP axis, but it would be much more 'meaningful' to me if were a mass airflow axis and weather changes, etc, shouldn't affect your tune as much.


Eric

Last edited by l2r99gst; Oct 21, 2008 at 07:29 PM.
Reply
Old Oct 21, 2008 | 07:50 PM
  #40  
justboosted02's Avatar
Evolved Member
15 Year Member
Liked
Loved
Community Favorite
iTrader: (31)
 
Joined: Jun 2006
Posts: 1,926
Likes: 14
From: northeast
Originally Posted by l2r99gst
This is one of the main reasons why I would like the axes to stay as a g/rev value. Timing is a function of mass aiflow/rev, not necessarily boost pressure. The same boost pressures in colder temperatures or greater VE RPM ranges will result in much higher mass airflow, and thus much higher cylinder pressures.

You either have your axes as map, which makes it look nice and easy to read, and have all of your adjustment tables that need to constantly be tweaked or you have your axes as mass airflow/rev, which includes all of the calculations already. You can still have the tables adjustable, like VE, for the fine tuning, but at least the temp and pressure is already in the axes.

Of course, this is only my opinion, and it looks like many more people favor a MAP axis, but it would be much more 'meaningful' to me if were a mass airflow axis and weather changes, etc, shouldn't affect your tune as much.


Eric

i would prefer a mass airflow also
Reply
Old Oct 21, 2008 | 08:08 PM
  #41  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
Ok that's something I don't understand, airmass (g/s) is a function of RPM, so why would you use that as one of the axis's and rpm as the other axis?

Or is this what you mean by g/rev as opposed to g/s?
Reply
Old Oct 21, 2008 | 10:20 PM
  #42  
03whitegsr's Avatar
Evolved Member
iTrader: (8)
 
Joined: Nov 2006
Posts: 4,001
Likes: 17
From: Utah
I think he means g/rev.

g/rev is merely a calculation of a VE, temperature compensation, and MAP along with engine speed and displacement.

You tune a table for AFR based on a RPM and g/rev and use a separate 3D table based on RPM and MAP that outputs g/rev. The second table is essentially a VE table.

Or you do an AFR table based on RPM and MAP and a separate 3D table based on RPM and MAP that is a VE table.

You're doing essentially the same thing, but IMO, it makes a lot more sense to do a VE table based on RPM and MAP and an AFR table based on the same thing. The numbers will make more sense and the graphs will make more sense visually as well. You can also lock the scaling of the two maps together to keep things less complicated. Otherwise, you'll be jumping from kPa to g/rev between maps. Which brings up another point, if you keep things in SI units, I think you'll be better off. If you want to see PSI, I would probably do it in the logging equations but leave all the ECU parameters in SI units.

If you try to do RPM and g/rev, you'll see that you are traversing cells diagonally despite holding a constant boost pressure because the VE changing across the RPM range will cause the g/rev to change as well. It's seems like a quick way to make tuning a little more cumbersome to me.

Last edited by 03whitegsr; Oct 21, 2008 at 10:24 PM.
Reply
Old Oct 21, 2008 | 10:28 PM
  #43  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Originally Posted by tephra
yes well I am getting my manifold taped for the IAT and I already have a MAP sensor, but I might get the MAP installed properly rather than taping the FPR line.
You could always try to make another 5 volt map sensor fit into the MDP hole you know tephra. Plenty of them out there including the one i'm using on my zeitronix setup.

BTW that paper of calculation substitution for Fuel mass as related to airmass over fuel ratio help you out?

You know if you wanted to figure out the VE of an engine it would be as simple as using the AFR via a wideband sensor and a bit of calculation substitution to come up with the real time VE.

Really its all a matter of what sensors you have and how you plan on making it work. You could i guess use a ball park VE kinda like the fuel trims and use a wideband sensor to find out how off it is. I think many system work like this.
Reply
Old Oct 21, 2008 | 11:30 PM
  #44  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
Roadspike - It did, but I am still understanding all the issues in my own head

I want to make this as user friendly as possible so that everyone here can use it without a manual

So 03whitegsr - You are advocating the MAP and RPM on the axis for Fuel and Timing maps approach, rather than g/rev and RPM?

When you say
g/rev is merely a calculation of a VE, temperature compensation, and MAP along with engine speed and displacement.
Doesn't g/rev mean grams per rev? so therefore RPM has nothing todo with the calcuation (except for the VE of the engine at that current RPM)

If you try to do RPM and g/rev, you'll see that you are traversing cells diagonally despite holding a constant boost pressure because the VE changing across the RPM range will cause the g/rev to change as well. It's seems like a quick way to make tuning a little more cumbersome to me.
But technically this is correct, same boost but better VE means a higher mass of air which means a different timing... I mean its still all going to be a 3D map...

Last edited by tephra; Oct 21, 2008 at 11:34 PM.
Reply
Old Oct 21, 2008 | 11:43 PM
  #45  
RoadSpike's Avatar
Evolved Member
iTrader: (5)
 
Joined: Oct 2006
Posts: 3,805
Likes: 2
From: Sacramento, CA
Originally Posted by tephra
Roadspike - It did, but I am still understanding all the issues in my own head

I want to make this as user friendly as possible so that everyone here can use it without a manual

So 03whitegsr - You are advocating the MAP and RPM on the axis for Fuel and Timing maps approach, rather than g/rev and RPM?

When you say

Doesn't g/rev mean grams per rev? so therefore RPM has nothing todo with the calcuation (except for the VE of the engine at that current RPM)
Understood tephra.

As far as what should be used for the scaling i would simply use whatever other speed density tuning setups use. This will provide more documentation to the user since they can extrapolate how to use the device from other known sources of tuning material.


Reply



All times are GMT -7. The time now is 03:43 AM.