VE table generator ?

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

VE table generator ?

Post by Motoren »

I was messing around with the Ve table generator, why doesn't it take into account what size injectors you are running?

It just come up with some weird high numbers for the most part, and there is a lot of difference between turbo and turbo w/intercooler too.
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
billr
Super MS/Extra'er
Posts: 6828
Joined: Sun May 15, 2011 11:41 am
Location: Walnut Creek, Calif. USA

Re: VE table generator ?

Post by billr »

The VE of a particular engine has nothing to do with the number of injectors or how much they flow. If you find changing injectors requires much change in the VE table, then either the req_fuel was incorrectly calculated or the injector dead-time is incorrect.

I can't really help with the turbo question, but would expect the VE to be quite different with inter-cooling. That's one of the main benefits of inter-cooling isn't it, to increase the amount of air on each cycle? I understand that some of the "increased air" is handled by VE, and some by having MAP "multiply" on, but can't explain much more than that. If you don't have multiply on, then the VE table will end up with some especially high values but they won't really represent VE any more.
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

I mean, if I use the "fuel VE table 1-> Tools-> VE table generator" to give me a fuelmap to start with. that just come up with something that seems very wrong.

my ms3pro is not up and running yet so I downloaded the pnp 2jz file to have something to play with.

this is how the VE table looks like from the pnp file.
Skærmbillede 2017-12-29 kl. 21.41.56.png
Skærmbillede 2017-12-29 kl. 21.41.56.png (156.25 KiB) Viewed 10122 times
and this is when I hit the generate button.
Skærmbillede 2017-12-29 kl. 21.42.30.png
Skærmbillede 2017-12-29 kl. 21.42.30.png (142.21 KiB) Viewed 10122 times
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

this is how its generating the VE table if I put in data from my friend 2jz engine.
Attachments
Skærmbillede 2017-12-29 kl. 22.04.12.png
Skærmbillede 2017-12-29 kl. 22.04.12.png (149.51 KiB) Viewed 10120 times
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VE table generator ?

Post by jsmcortina »

Hmm... both look wrong to me?!
EDIT: and the third is clearly garbage, how accurate is the input data?

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

last VE generator is plotted in with this dyne sheet, its with 280kpa absolut pressure and its crank hp. WHP will be around 100hp less. but the table generator doesn't say anything about it its who or not,
Attachments
Billede 29-12-2017 22.20.18.jpg
Billede 29-12-2017 22.20.18.jpg (251.05 KiB) Viewed 10113 times
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

No one knows why the table generator is making tables with such large values?
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: VE table generator ?

Post by LT401Vette »

Not really, that will take some digging. But it clearly doesn't like your inputs..
It looks like you converted nm to lbft, but not Hk to HP. I did though and things don't look much better.

I would guess it is with how close together your HP & TQ are RPM wise.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

The odd thing is that it make the VE number so large. They shouldn’t go much over 100 at peak torque right ?
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
VLC-05L
Experienced MS/Extra'er
Posts: 208
Joined: Wed Jan 21, 2015 3:11 am
Location: Australia

Re: VE table generator ?

Post by VLC-05L »

Motoren wrote:The odd thing is that it make the VE number so large. They shouldn’t go much over 100 at peak torque right ?
On a forced induction motor it is usual, expected even that the VE numbers will be greater than 100 at peak torque.
CB70 12V 3cyl 993cc Daihatsu | MS2X Sequential Fuel and Spark | Flex Fuel Launch Control | Raspberry Pi Dash
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

But when you use speed density and use "multiply map" you VE table shouldnt go much over 100VE as far as i understand it? even thought you are running 50psi boost
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
BlackBird_SR71
Experienced MS/Extra'er
Posts: 354
Joined: Tue Mar 22, 2016 2:26 pm

Re: VE table generator ?

Post by BlackBird_SR71 »

Motoren wrote:But when you use speed density and use "multiply map" you VE table shouldnt go much over 100VE as far as i understand it? even thought you are running 50psi boost
Simple answer is Nope. You can have Cell numbers all the way to 255 at the high end, if you want more resolution at idle for example.

Boosted VE numbers can be well over 100 . A normally aspirated VE calculation should come out to close to 100 on the 100 KPA row. But boosted figures can be well over 100. And these are not true percentage values from my understanding. Just hexidecimal numbers based on a fuel calculation. . A basic Fuel calculation is much easier to program than a true engine VE Table. I think that's where your confusion lays.

From my understanding, the TS VE Table is based on an ideal gas law. It is NOT n actual VE engine " Mechanical " or " Air Pump " calculation. If it did, the inputs in VE Table generator would require many more Parameters. Such as Bore and Stroke, CR, number of valves, size of valves, type of Cylinder head, Port Volumes, Camshaft specifications, exhaust manifold type and size, Intake manifold type, exhaust system sizing and muffled or un-muffled , Carb or TB CFM , Ambient air temperature and density and more...

There are a LOT of calculations to make to get a true VE mechanical calculation. I have some basic engine Dyno simulators that do calculate the true VE of engines . They have a TON of parameters to enter. And that's with just NA engines. Forced induction has a second page of parameters to enter....
prof315
Super MS/Extra'er
Posts: 3760
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: VE table generator ?

Post by prof315 »

So we had this same issue at a class I was attending this past weekend. It only seems to be an issue with forced induction. if you create a table for an N/A engine it works fine.
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

I will grap the ve table from the pnp 2jz ms3pro ecu. I was just wondering why it made such large numbers.

I’m the regards to blackbirds post, I don’t agree with the numbers, if you get a VE table with very high or very low numbers, then your required fuel is not set correct. Fuel injectors, engine ccm etc.
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
BlackBird_SR71
Experienced MS/Extra'er
Posts: 354
Joined: Tue Mar 22, 2016 2:26 pm

Re: VE table generator ?

Post by BlackBird_SR71 »

Motoren wrote:I will grap the ve table from the pnp 2jz ms3pro ecu. I was just wondering why it made such large numbers.

I’m the regards to blackbirds post, I don’t agree with the numbers, if you get a VE table with very high or very low numbers, then your required fuel is not set correct. Fuel injectors, engine ccm etc.


With respect. Tune a few more engines with big injectors and you'll find out why you may have to re-scale the VE tables. It is an advanced method of fine tuning the fuel table. .

Bear in mind that the TS way of generating VE tables can be out as much as 20% on the high and low scales. If you read the MSExtra Manuals thoroughly you will find that the MS Developers warn you repeatedly IN BIG RED letters that the VE table generator is ONLY and approximation... and can be wildly inaccurate. Happens especially when you start running larger injectors than normal . NA or Turbo. It' all to do with getting the necessary Cell resolution at idle and low RPM. You really don't want idle Cell resolutions any lower than 30 at the minimum. Any lower and you just can't tune the AFR fine enough. The Fuel percentage change between, 15 >14 Cell value compared to 30 > 29 is much larger . It is a " Coarse adjustment. )

Also, and this is very important that you understand. The VE Table generated by Tuner Studio is NOT a true engine VE table. I mentioned that before. It's just a Mathematical equation to generate a " Rough " fuel curve. In some cases VERY rough. They are just hexadecimal numbers.... nothing more.

Simplified Req-Fuel X VE value = Pulse Width . So 50 x 10 = 500. So does 10 x 50 + 500. Get it. It's just a way of manipulating the Fueling eqaution if the idle and low RPM Cell values are too low and don't offer good resolution. As long as you don't go over 255 in the Upper Cell areas you are fine.

But here is a very good explanation by one of the MS regulars.
I think you have a misunderstanding of how REQ_FUEL and the size of the VE values work.

First off, the VE values in your table are not real VE. It's possible (and desireable) to use the full 8 bit resolution of the VE table on an n/a engine, and have values of 200% and higher. this is not related in any way to your duty cycle, although the actual PW calculation gets part of it's value from there.

the req_fuel is basically the base pulsewidth that all of your enrichments, corrections, VE values, load, etc. get calculated into a final pulsewidth that you see on a running engine. The manual probably needs to be updated - I believe the idea of keeping values in the range of 8-16 was because of an old firmware that could cause damage if you went too far outside these ranges. also, I believe warmup enrichments are a % of your req_fuel, so keep that in mind if you do any changes there.

Now - if you are saying that the highest VE you have in your table is 100% (or close to it), and your req_fuel is 22%, this just means that your req_fuel is too high. What you want to do is minimize req_fuel as much as possible, in order to gain as much resolution as you can in your VE table. If you are only seeing values of 100 in your VE table then I bet at low load/RPM areas you are in the single digits, and it's even worse if you turn off multiply map.

this is bad for tuning - it's impossible to accurately tune when the smallest possible change is 1, and your VE values are less than 10 (that's a minimum 10% change in fueling for moving the VE up or down by 1). I wouldn't worry about using small req_fuels too much either - lots of people have successfully tuned with a smaller req_fuel to gain more resolution. I'm currently using a req_fuel of 2.4, with multiply map enabled my VE values range from ~60 to 240. That's lots of resolution.

Here is what I reccomend you do - save a backup of your MSQ since you just got it running decently. Open your VE table, go to Tools - VE Specific - Table Transform. You can safely cut your req_fuel in half and double your VE resolution, so I would enter 11 as your new req_fuel. save it and it will automatically rescale your VE table - your max VE value should be around 200. if you're comfortable, you can make your req_fuel even smaller - I like to leave a little margin at the edges, so try not to go much over 240-250 as your max VE.

Keep in mind you may need to do some tuning on your warmup enrichments after doing this - I haven't experienced any ill effects after dropping my req_fuel however.
hassmaschine
Super MS/Extra'er

Posts: 1331
Joined: Mon May 21, 2007 8:36 am
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

Yes I get what you are saying :)

I just thought that even with big enjectors and the required fuel set corrrect yours VE% would be over 30% and you would be fine with tuning idle due to the 0.1 steps. (I’m gonna run 2000cc injectors btw)

I’m gonna run flex fuel. Most of the time on pumpgas and some times on E50+. Won’t I run into trouble if I scale the VE table to 200ve on pumpgas ?

On a side note, I have never used the separate idle tune, where can I read about how that works ?
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
BlackBird_SR71
Experienced MS/Extra'er
Posts: 354
Joined: Tue Mar 22, 2016 2:26 pm

Re: VE table generator ?

Post by BlackBird_SR71 »

Motoren wrote:Yes I get what you are saying :)

I just thought that even with big enjectors and the required fuel set corrrect yours VE% would be over 30% and you would be fine with tuning idle due to the 0.1 steps. (I’m gonna run 2000cc injectors btw)

I’m gonna run flex fuel. Most of the time on pumpgas and some times on E50+. Won’t I run into trouble if I scale the VE table to 200ve on pumpgas ?

On a side note, I have never used the separate idle tune, where can I read about how that works ?
Actually, since you are running a MS3 you'll probably be fine. MS3 a much better Fuel algorithm than MS1 and MS2. Those adjust to only 1% not 0.1% as the MS3. Ms3 has much finer resolution than MS1 and MS2 .( My replies about adjusting Req_Fuel to a lower value to gain resolution were meant for MS1 and MS2 mainly )

And the VE Table generated by MS3 is usually much more accurate. You'll likely be fine with MS3 at it's default calculations.
Last edited by BlackBird_SR71 on Sun Feb 11, 2018 6:38 am, edited 2 times in total.
BlackBird_SR71
Experienced MS/Extra'er
Posts: 354
Joined: Tue Mar 22, 2016 2:26 pm

Re: VE table generator ?

Post by BlackBird_SR71 »

For a Baseline Tune on a Turbo engine, I usually like to start off with the factory HP and Torque figures at factory Boost. This will give you the best baseline VE Table generation. You can add higher values in the KPA Table and those should automatically re-scale. I just had to look up some stock specs for a 2JZ GET ( surprisingly hard to find info ) and got the following.

280 HP @5,600 RPM
333 Torque @4,000 RPM
Boost = 9 psi ( 162 KPA )

Running Flex fuel is going to require two separate tables. Make sure that you set the E50 fuel Stoich Value to 11.85

So I plugged these figures into Tuner Studio along with 2000 cc injectors and here is the VE Table that was generated for an MS3 Pro Ultimate.

Pump Fuel:
Pump Fuel 2000cc.jpg
Pump Fuel 2000cc.jpg (255.91 KiB) Viewed 9641 times
Pump Fuel VE 2000cc.jpg
Pump Fuel VE 2000cc.jpg (791.4 KiB) Viewed 9641 times
BlackBird_SR71
Experienced MS/Extra'er
Posts: 354
Joined: Tue Mar 22, 2016 2:26 pm

Re: VE table generator ?

Post by BlackBird_SR71 »

And here is E50 Tables based on same Parameters. Generated VE Table for E50 will be the same for pump Fuel. So with the idle Cell values around 24ish... you will probably just get away with it.

E50 Req-Fuel. Stoich = 11.85
E50 Req-Fuel.jpg
E50 Req-Fuel.jpg (249.26 KiB) Viewed 9641 times
Motoren
Helpful MS/Extra'er
Posts: 69
Joined: Wed Aug 02, 2017 3:24 pm

Re: VE table generator ?

Post by Motoren »

it seems like when you are generating the VE table it doesn't take into account that you use speed density with multiply MAP on.

don't know how it generates this table. it doesn't matter if you choose NA or turbo or whatever from the dropdown menu, it dosnt matter if you change your injectors either, so I don't know how it calculates a new VE table.

i don't know if someone can confirm that.
Kent
Supra mk3 2jz-gte
Ms3pro ultimate (installing)
Microsquirt trans control (installing)
Denmark
Post Reply