VE value calculation when outside table range?

For discussing MicroSquirt (TM) configuration and tuning of fuel parameters (including idle valves, etc.).
Forum rules
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
shauer
MegaSquirt Newbie
Posts: 9
Joined: Wed Oct 05, 2005 9:39 am
Location: Rochester, NY USA
Contact:

VE value calculation when outside table range?

Post by shauer »

I've been driving my car daily now for the past several weeks and have the basic tuning set the way I want it and even have AE pretty close. I'm now looking at the finer details of tuning and have a question.

My ITB setup idles with a MAP of about 50 so I set the lowest MAP row on my VE table to 40. This works great except for times when the MAP is lower due to closing the throttles during decel or shifting gears. My logs show the MAP going as low as 20 in these cases and the mixture goes very rich. It looks like the injector PW is not changing significantly from a MAP of 40 to 20. This causes some hesitation during gear shifts as I get a rich stumble for a split second. I go from an AFR of 12.8:1 at 5500RPM to an AFR of about 8:1 while the thottles are closed during a gear shift. This over rich condition sets up a bad start condition for AE when I get back on the throttle.

My question is how does the code arrive at a VE value that is outside the range of the VE table on the low side? I know the code interpolates between values on the VE table but how about off scale low? Does the code interpolate between the lowest entered MAP value and "0"?

Should I add an entry to my VE table for these low MAP transients?
- Steve

1977 BMW 320i
MS II V3 mainboard, v2.36 firmware, EDIS4
Megatune v2.25
Bernard Fife
Super Squirter
Posts: 1009
Joined: Mon Feb 16, 2004 3:15 pm

Post by Bernard Fife »

Steve,

When outside the table range, MegaSquirt uses the last value (I.e., the lowest MAP value at the current rpm in your example). It does not interpolate between the last value and zero.

If the current rpm is between rpm bins, the rpm is still interpolated, so you would see a value between the two lowest MAP bins that bracket the current rpm.

Lance.
shauer
MegaSquirt Newbie
Posts: 9
Joined: Wed Oct 05, 2005 9:39 am
Location: Rochester, NY USA
Contact:

Post by shauer »

Thanks lance, that information helps a lot. I think I can remove a MAP bin in a linear portion of my VE table and add a MAP bin down around 20 or so. There seems to be enough variation with my setup in that range to warrant an entry on the VE table to keep the mixture under control.
- Steve

1977 BMW 320i
MS II V3 mainboard, v2.36 firmware, EDIS4
Megatune v2.25
Jedrik
Helpful Squirter
Posts: 78
Joined: Thu Oct 21, 2004 9:07 am
Location: Seattle WA
Contact:

Post by Jedrik »

Some decel in the AE settings might help you. start with 85-90%
Though this is only active WHILE the throtle is moving.

I also have a set of bins at 20 kPa set very lean for this reason. Still goes ritch but not bad.
PSIG
Experienced Squirter
Posts: 201
Joined: Fri Jun 11, 2004 11:02 pm
Location: Poulsbo, WA

Post by PSIG »

Jedrik wrote:...I also have a set of bins at 20 kPa set very lean for this reason. Still goes ritch but not bad.
Why is that?
shauer
MegaSquirt Newbie
Posts: 9
Joined: Wed Oct 05, 2005 9:39 am
Location: Rochester, NY USA
Contact:

Post by shauer »

Jedrik,

I do have decel set at 85% but it does not solve this specific problem since as you said it only cuts in while the throttles are moving. Decel cuts the fuel for the duration of the throttles moving from WOT to closed on a gear shift but then the mixture goes out of control like I described above.

I have a MAP bin at 70kpa that I can remove since my VE table is very linear between 60 and 80kpa. I'll remove that row and add one at 20 this weekend and I'm sure that will help.

Based on how non-linear my VE table is for my ITBs it does not surprise me that a single MAP bin at 20 will not be perfect but I'm sure it will help a lot compared to having no VE definition below 40kpa like I currently have.

Thanks for the information. I have been able to get my ITB setup running smoothly very quickly with the information I have found here.
- Steve

1977 BMW 320i
MS II V3 mainboard, v2.36 firmware, EDIS4
Megatune v2.25
Post Reply