Half Req-fuel Twice the VE
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.
-
HotStreetVw
- MegaSquirt Newbie
- Posts: 5
- Joined: Tue Nov 16, 2004 8:27 pm
- Location: Lubbock
Half Req-fuel Twice the VE
Ive got a question.
Would running halft the req fuel value and twice the VE have any benifits?
I was thinking that it would give smaller adjustments to tuning the VE table.
For example a VE of 50 at 13:1, if you go to 51, the new afr is 12.74:1.
But if you had a VE of 100 at 13:1 and went to 101, the new afr is 12.87:2.
I think VE is limited to 255 right? As long as you stayed below that I think it might have merit. The VE table will not accept decimals right?
Im not looking to get flamed, just curious. Thanks
Success Story
http://www.msefi.com/viewtopic.php?p=80843
-
efahl
- Site Admin
- Posts: 232
- Joined: Mon Feb 16, 2004 3:15 pm
- Location: San Clemente, California, USA
- Contact:
Re: Half Req-fuel Twice the VE
Those are correct observations, but... You need to look at the whole picture.HotStreetVw wrote:For example a VE of 50 at 13:1, if you go to 51, the new afr is 12.74:1.
But if you had a VE of 100 at 13:1 and went to 101, the new afr is 12.87:2.
Code: Select all
PW = reqFuel * MAP / 100 * VE * all that other stuffAll of the arithmetic is done using integers, so the PW "curve" is in reality a step function; in MS-I's case, the step size is 0.1 ms. Let's do an example, with reqFuel at 10.0 ms and VE at 49-50, then do it again with 5.0 and 99-100 (assume kPa = 100, so MAP/100 = 1, for convenience). Note that reqFuel is stored internally as a single byte, in units of 0.1-ms, so 5.0 ms is stored as 50; intermediate computations are stored in 16-bit values, before they are converted back into a single-byte result, so here's the basic equation on one line, then broken up into intermediate results:
Code: Select all
pw = reqFuel * VE / 100
v1 = reqFuel * VE <<< 16-bit intermediate value
PW = v1 / 100 <<< 8-bit final resultCode: Select all
v1 = 100 * 49 = 4900
PW = 4900 / 100 = 49 == 4.9 ms
v1 = 100 * 50 = 5000
PW = 5000 / 100 = 50 = 5.0 msTry it again, with reqFuel = 5.0 (50 internally) and 99-100
Code: Select all
v1 = 50 * 99 = 4950
PW = 4950 / 100 = 49 == 4.9 ms <<< Here's where it happens.
v1 = 50 * 100 = 5000
PW = 5000 / 100 = 50 = 5.0 msExcellent question, though, it does point out some of the limitations that you face with this sort of thing.
Eric
-
HotStreetVw
- MegaSquirt Newbie
- Posts: 5
- Joined: Tue Nov 16, 2004 8:27 pm
- Location: Lubbock
Thanks
Success Story
http://www.msefi.com/viewtopic.php?p=80843
-
78Spit1500Fed
- Site Admin
- Posts: 90
- Joined: Thu Jul 29, 2004 4:36 am
- Location: Terre Haute, Indiana
- Contact:
At the MS-II website here: http://www.megasquirt.info/ms2/
The bulleted list has this to say about pulsewidth calculations:
Sounds great doesn't it?MS2 Page wrote:Fuel control to 1 µsec (100 times more resolution than MegaSquirt)
-Brian
-
HotStreetVw
- MegaSquirt Newbie
- Posts: 5
- Joined: Tue Nov 16, 2004 8:27 pm
- Location: Lubbock
Success Story
http://www.msefi.com/viewtopic.php?p=80843
