Table resolution and size

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Token
Helpful MS/Extra'er
Posts: 71
Joined: Mon Nov 12, 2007 9:49 am
Location: Los Angeles

Re: Table resolution and size

Post by Token »

I have been doing pretty good with the current resolution by giving needy areas more resolution at the cost of less needy areas. IMO couldn't hurt to have a little more though 8)
I'm an Alpha junkie!!

Old: MSII batch fuel, wasted spark. New: MS3x, sequential fuel, wasted spark, VVTi
Thanks to all who contributed to MSextra and MS3 code and thanks to DIY Tuning!
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: Table resolution and size

Post by AbatelliCristian »

Is possible increment the size vvt table? now is 8x8. I think is good increment the rpm row
masterx81
Master MS/Extra'er
Posts: 776
Joined: Mon Oct 25, 2004 7:36 am
Location: Asti - Italy

Re: Table resolution and size

Post by masterx81 »

I know that this is an 'hot topic', but i know some tuners that don't want to use the ms due to the 'limited' ve and spark table sizes.
Maybe would be nice to use ve and spark 2 and 4 tables (for who don't use dual table and blending) to extend the ve/spark 1 and 3.
With this mod, the switch-map feature would still be possible (as now the only way that i know to extend the maps is to switch 2 tables with load or rpm).
Enrico
Opel/Vauxhall Corsa GSi MS2
Subaru v4 EJ20 MS3
tpsretard2
Master MS/Extra'er
Posts: 662
Joined: Thu Feb 14, 2008 4:59 am

Re: Table resolution and size

Post by tpsretard2 »

my gems that is used in a customer prodrive rally car has one more load site than the MS and about 3 or 4 more in the rpm and the figures do not change much.

I started to use the rpm triggered map switch, after still fighting i was then found that it was a problem with the map sensor!!
Now i want to go back to the 16x16. Unless you are going to crazy boost and or crazy rpm it really is not needed. another omex based rally car i tune not much more resolution, actually has less on the load sites, only 11.. however i have a 500bhp rally car that runs up to 9k tuned on it..

Them saying it dos not have enough resolution or limited ve. they are idiots and i would not trust my tractor to them to map it...
if you know what you are doing it is enough. only thing that would be cool is for the people that to use the rpm or load site switch for wat ever reason is if tuner studio could know this and somehow show both to make tuning easier..
masterx81
Master MS/Extra'er
Posts: 776
Joined: Mon Oct 25, 2004 7:36 am
Location: Asti - Italy

Re: Table resolution and size

Post by masterx81 »

There are also bike guys that can take advantage of the ms3 system, and some more breakpoints can be helpful. In any case, the tables are already here (table 2 and 4 when not used for other things)...
Enrico
Opel/Vauxhall Corsa GSi MS2
Subaru v4 EJ20 MS3
subwoofer
Super MS/Extra'er
Posts: 884
Joined: Sat Apr 30, 2011 12:34 pm
Location: Sandefjord, Norway

Re: Table resolution and size

Post by subwoofer »

Reviving an old thread here with a wish 180 degrees in the opposite direction from most here. The flat-4 I am tuning now is ending up with a VE map as smooth as a baby's bottom, so I am only using 12 of the 16 bins either axis. This is still a lot more than I think is really necessary, could 8x8 be an option for a later release? As long as nothing wild happens, the interpolation will take care of everything and tuning will take a lot less time.
Joachim
1974 Jensen-Healey
1990 VW Caravelle Syncro - running MS3+X
2014 Ford Fiesta EcoBoost
knightrous
Experienced MS/Extra'er
Posts: 153
Joined: Tue Oct 06, 2009 4:58 pm
Location: NSW, Australia
Contact:

Re: Table resolution and size

Post by knightrous »

I did a quick search but couldn't find any discussion on it.
Could we have an option for those of us who don't use the switched tables to use that memory/allocations to get a 16X16 AFR / Spark table for use on MS2 (I know this is in the MS3 forums, but there isn't a thread like this in the MS2 section :P). As a new person to tuning, I have some difficulties getting my tune nice* when all my table scalling are different. I believe I would find it easier if there was a 1:1 alignment between AFR/Fuel/Spark :)

At the moment, I'm looking at back scaling my fuel table to 12X12 to achieve this, bit of a back step IMO, but I think it will help me out.



* This could all be down to my specific setup, motor, gearing and limited skills.
'89 Toyota MR2 AW11 - 1MZFE 3L V6 - Need to finish car before ecu :(
'89 Toyota MR2 AW11 - 16V 4AGZE - DIYPNP 1.5v
'90 Toyota MR2 SW20 - 1MZFE 3L V6 - MS3X
frank_ster
Experienced MS/Extra'er
Posts: 226
Joined: Tue Sep 11, 2007 11:07 am

Re: Table resolution and size

Post by frank_ster »

the 6 or so engines i have played with have had very flat ve tables. 12x12 or even 8x8 would work fine.
especially with pid ego control, the emissions i don't buy that. the acceleration enrichment cant be perfect enough to always have the perfect airfuel ratio.

the little inconsistency is what the cats are for.

for tuning a engine for the first time 8x8 is great. fine tuning 12x12 is good. the 16x16 tables i find i'm just using the interpolate button all the time.

for the people who say ms is crappy because the tables are not big enough are tards. i say give them 50x50 tables and they wouldn't be happy with that either.
2005 subaru legacy with buick grandnational engine and awd :D
1976 gmc k10 pickup vortec 383 tbi ms2 nv4500 3.42 final drives
Foolee
MS/Extra Newbie
Posts: 6
Joined: Thu Aug 09, 2012 3:58 pm

Re: Table resolution and size

Post by Foolee »

Well I'm new to MS. And I plan to invest in MS3 Pro for my turbo street truck shortly. I can understand why you guys want to keep it 16x16. The best argument I have seen against going 32x32, 24x24 or even 20x20 is how much memory it will use up. That being said Megasquirt is designed to accommodate a large crown of enthuses. I don't see why there cannot be a compromise. I don't see why it could not be had both ways. Enable 32x32, if future updates/supported features comes out that require the memory space then force the user back to 16x16 or something similar. Put the choice in the hands of the user on how the memory of their MS3 is being used. Not everyone uses all the features on MS. Not everyone uses, NOS, VVT, NLS, Boost Control, Knock Sensors, ect, on their build. The one thing I love about MS is the fact that you can customize it to meet your needs. This is something that other ECU manufactures don't offer. That's just my $0.02

-Darren Lee C.Tech
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: Table resolution and size

Post by muythaibxr »

Unfortunately with our current memory layout, it's not possible to do 32x32.

16x16 was already our "compromise" as most of us thought that 12x12 was big enough.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
dontz125
Super MS/Extra'er
Posts: 4217
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Table resolution and size

Post by dontz125 »

I was helping a fellow out last night who was trying to get his head wrapped around table switching. I think I got him clear on swapping between VE1 and VE2 using rpm or tps or kPa, and how this could make a 32x16 or 16x32 table (30x16 or 16x30, allowing for overlap), depending on how you set it up and which trigger data you used.

How hard would it be to allow switching based on two triggers? Swap between 1 and 2 based on rpm, swap between 1 and 3 based on tps / kPa; table 4 is selected when rpm AND tps / kPa setpoints are achieved.

Thoughts?
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
frank_ster
Experienced MS/Extra'er
Posts: 226
Joined: Tue Sep 11, 2007 11:07 am

Re: Table resolution and size

Post by frank_ster »

uh is the ve table like a moguls ? can you provide screen shots as to why that many tuning points is nessasary ?
2005 subaru legacy with buick grandnational engine and awd :D
1976 gmc k10 pickup vortec 383 tbi ms2 nv4500 3.42 final drives
dontz125
Super MS/Extra'er
Posts: 4217
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Table resolution and size

Post by dontz125 »

Heh - no, this was a curiosity question, not something that I particularly need ... :D
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
frank_ster
Experienced MS/Extra'er
Posts: 226
Joined: Tue Sep 11, 2007 11:07 am

Re: Table resolution and size

Post by frank_ster »

the only time i would of needed something like this is when the sequential injection squirt would hop over the intake valve closing threshold it was causing some weird issues until i figured out why.

any one requiring more than 16x16 is probably needs it as a band aid solution to another problem.
2005 subaru legacy with buick grandnational engine and awd :D
1976 gmc k10 pickup vortec 383 tbi ms2 nv4500 3.42 final drives
maik21
Experienced MS/Extra'er
Posts: 248
Joined: Mon May 14, 2012 12:19 am

Re: Table resolution and size

Post by maik21 »

new to megasquirt ecu. i purchase a holley commander 950 some years ago and holley ecu dont interpolate. it want hard to make engine work fine with a 16x16 fuel an ignition table. 1 year ago, i put a ms2 v3 in a nissan 2.0 engine. put ms extra code and it works veeeery fine and it was more easily than the holley system.

past week i finish assemble 2 megasquirt for my car(get rid of holley system) and a car`s friend .
mUnky
Helpful MS/Extra'er
Posts: 136
Joined: Tue Mar 26, 2013 4:58 pm

Re: Table resolution and size

Post by mUnky »

I want perfection for my tune. If I can demonstrate that sections of the table are subject to significant non-linearity, would that not be evidence that linear interpolation is not enough for that particular situation?

To what extent do neighboring cells affect the interpolation? I saw somewhere that the interpolation is weighted... could you guys expand on that a bit? I've been jumping pretty hard into engine management theory (and practice!) and it would appear that for really perfect operation, you really do just need a large number of tuning points.

I guess it goes without saying that if larger tables were implemented, it need not be mandatory? Nor do they necessarily have to double to 32x32...
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Table resolution and size

Post by Peter Florance »

mUnky wrote:I want perfection for my tune. If I can demonstrate that sections of the table are subject to significant non-linearity, would that not be evidence that linear interpolation is not enough for that particular situation?

To what extent do neighboring cells affect the interpolation? I saw somewhere that the interpolation is weighted... could you guys expand on that a bit? I've been jumping pretty hard into engine management theory (and practice!) and it would appear that for really perfect operation, you really do just need a large number of tuning points.

I guess it goes without saying that if larger tables were implemented, it need not be mandatory? Nor do they necessarily have to double to 32x32...
Actually 32 x 32 is four times as large, not double.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
wes kiser
Super MS/Extra'er
Posts: 1402
Joined: Tue Jan 03, 2006 2:49 pm
Location: Charlotte, NC

Re: Table resolution and size

Post by wes kiser »

mUnky wrote:I want perfection for my tune. If I can demonstrate that sections of the table are subject to significant non-linearity, would that not be evidence that linear interpolation is not enough for that particular situation?

To what extent do neighboring cells affect the interpolation? I saw somewhere that the interpolation is weighted... could you guys expand on that a bit? I've been jumping pretty hard into engine management theory (and practice!) and it would appear that for really perfect operation, you really do just need a large number of tuning points.

I guess it goes without saying that if larger tables were implemented, it need not be mandatory? Nor do they necessarily have to double to 32x32...

How do you intend to measure perfection?
86 Rx-7, swapped to 2.3 ford turbo (BW EFR 6758), ms3/ms3x sequential fuel /waste spark, ls2 coils
88 Tbird 2.3t, Microsquirt Module (PIMP), TFI ignition
mUnky
Helpful MS/Extra'er
Posts: 136
Joined: Tue Mar 26, 2013 4:58 pm

Re: Table resolution and size

Post by mUnky »

32x32 has four times the tuning points, yes, but I was referring to the length of the axis' and they're doubled :P

I'll measure perfection the only way I can; to the point at which I'm happy :D

I've just spent some time looking at old dyno graphs for my engine (with the old ECU a terrible microtech) and I'm having trouble designating tuning points, taking into account interpolation and still seeing optimal control. I guess I can say that a close-to-perfect tune will operate the engine at it's maximum efficiency, adapting to the physical parameters of the engine to such accuracy that the fitted sensors can not detect deviation. An unrealistic outcome for the home enthusiast yes, but still worth striving for, I feel.

It looks like the argument against larger maps is that the difficulty of implementation will outweigh the small benefits of finer tuning resolution.

That said, the "don't fix what isn't broken" philosophy is not one that I think is valid :P
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Table resolution and size

Post by Peter Florance »

mUnky wrote:32x32 has four times the tuning points, yes, but I was referring to the length of the axis' and they're doubled :P

I'll measure perfection the only way I can; to the point at which I'm happy :D

I've just spent some time looking at old dyno graphs for my engine (with the old ECU a terrible microtech) and I'm having trouble designating tuning points, taking into account interpolation and still seeing optimal control. I guess I can say that a close-to-perfect tune will operate the engine at it's maximum efficiency, adapting to the physical parameters of the engine to such accuracy that the fitted sensors can not detect deviation. An unrealistic outcome for the home enthusiast yes, but still worth striving for, I feel.

It looks like the argument against larger maps is that the difficulty of implementation will outweigh the small benefits of finer tuning resolution.

That said, the "don't fix what isn't broken" philosophy is not one that I think is valid :P
You should try tuning with current table size. I bet you will find it will work. I tuned an LT10S setup on a Diasio; I'd could have gotten it much closer with MS3 in about 25% of the dyno time.
I can't speak for developers, but if I were them, I would make you show them, with MSQ and datalog, how the current take setup doesn't work. And be willing to try suggested changes to your tune.
Also, I think if we really needed bigger tables, I think several active tuners (like Wes above) would have demonstrated it a long time ago.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Post Reply