MEGAsquirt A place to collectively sort out this megasquirt gizmo

Smoothing VE tables - Interpolation Spreadsheet

Thread Tools
 
Search this Thread
 
Old 06-22-2012, 06:11 AM
  #21  
Elite Member
iTrader: (2)
 
Oscar's Avatar
 
Join Date: Jan 2007
Location: Bolton, UK
Posts: 3,022
Total Cats: 120
Default

Am I the only one typing a cockload of numbers into the sheet and vice versa, or is there an easier way of doing this?
Oscar is offline  
Old 06-22-2012, 06:36 AM
  #22  
Junior Member
 
EunosBen's Avatar
 
Join Date: Sep 2010
Posts: 88
Total Cats: 3
Default

Originally Posted by Oscar
Am I the only one typing a cockload of numbers into the sheet and vice versa, or is there an easier way of doing this?
Select all cells in TS, CTRL+C to copy, paste into excel, reverse operation with new values. Win.
EunosBen is offline  
Old 06-22-2012, 06:36 AM
  #23  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

copy paste?
richyvrlimited is offline  
Old 06-22-2012, 06:59 AM
  #24  
Junior Member
Thread Starter
 
travisb's Avatar
 
Join Date: Sep 2011
Location: Chesterfield, VA
Posts: 252
Total Cats: 2
Default

Quick copy/paste - click anywhere in the VE table in TS. Press CTRL+A to select all. Then CTRL+C to copy the table. Go to the spreadsheet and click the top-left cell in the origial values section. Press CTRL+V to paste the values.

The new values are now generated. Select the new values. CTRL+C to copy. Go back to TS and click the top-left cell. Press CTRL+V to paste the new values.

Once you get used to this method it should take less than 5 seconds to get your new values.

Last edited by travisb; 06-22-2012 at 07:11 AM.
travisb is offline  
Old 06-22-2012, 07:10 AM
  #25  
Junior Member
Thread Starter
 
travisb's Avatar
 
Join Date: Sep 2011
Location: Chesterfield, VA
Posts: 252
Total Cats: 2
Default

Originally Posted by Oni
Can anyone confirm that smoothing the table is making a difference to drive quality / AFR stability?. i know that when VEAL was new people were saying " my maps now smooth but its driving better and more stable AFR". I know it makes sence that it would, perhaps it was only people with really ---- VE tables that said it made there tables better.

Thanks
Scott
I am nowhere near an expert in this area. I made this spreadsheet to help smooth my tables because I am not happy with what VEAL gives me. I'm not blaming VEAL. I'm new to tuning and working on cars and my VE values jump up and down from row to row and column to column. My VEAL results have a general shape that I like, but it's bumpy. Obviously there are other issues I still need to work out, so in my experience, smoothing the table smooth the ride.
travisb is offline  
Old 06-22-2012, 07:31 AM
  #26  
Elite Member
iTrader: (2)
 
Oscar's Avatar
 
Join Date: Jan 2007
Location: Bolton, UK
Posts: 3,022
Total Cats: 120
Default

Originally Posted by travisb
Quick copy/paste - click anywhere in the VE table in TS. Press CTRL+A to select all. Then CTRL+C to copy the table. Go to the spreadsheet and click the top-left cell in the origial values section. Press CTRL+V to paste the values.

The new values are now generated. Select the new values. CTRL+C to copy. Go back to TS and click the top-left cell. Press CTRL+V to paste the new values.

Once you get used to this method it should take less than 5 seconds to get your new values.
Oh well. In my defense, I'm stupid
Oscar is offline  
Old 06-22-2012, 08:00 AM
  #27  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Could you add in a strength factor to the interpolation? Being perfectly smooth isnt everything, sometimes the car wants what it wants and its not a pretty table. I still get better driving tunes smoothing by hand than any interpolation algorithm I've run into yet. But they're helpful as ---- when you jump into a car with the tune way the hell off.
Leafy is offline  
Old 06-22-2012, 09:56 AM
  #28  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by Leafy
Could you add in a strength factor to the interpolation? Being perfectly smooth isnt everything, sometimes the car wants what it wants and its not a pretty table. I still get better driving tunes smoothing by hand than any interpolation algorithm I've run into yet. But they're helpful as ---- when you jump into a car with the tune way the hell off.
i like this idea. my VE table has some steep peaks in it that are there because of changes in VE due to the VVT. I dont want to mow them all down.
y8s is offline  
Old 06-22-2012, 11:41 AM
  #29  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Yeah just have a cell that multiplies by the interpolation value and let us adjust it.
Leafy is offline  
Old 06-22-2012, 11:56 AM
  #30  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

I'm going to use my new smoothed table as a starting point fore VEAlive. It will be interesting to see if I end up wit a fairly smooth table. i thought VEAlive gave me a pretty smooth table to begin with.
miatauser884 is offline  
Old 06-22-2012, 11:59 AM
  #31  
Junior Member
Thread Starter
 
travisb's Avatar
 
Join Date: Sep 2011
Location: Chesterfield, VA
Posts: 252
Total Cats: 2
Default

Originally Posted by y8s
i like this idea. my VE table has some steep peaks in it that are there because of changes in VE due to the VVT. I dont want to mow them all down.
I added the capability to put in a table of factors to adjust the level of smoothing. See attachment.

There are two tabs in the spreadsheet, one for 16x16 and one for 12x12.

Paste your VE values as before into the Original Values section. To the right is the Smoothed Values section.

Below the Original Values are the Factored Values. To the right of the Factored Values is a section where you can enter your Factors using the same 12x12 or 16x16 size table.

For the factors, enter a number between 0 and 100. With higher factors, less smoothing will be applied and the values will be closer to your original ones. With lower factors, more smoothing will be applied.

Because of the Factors table you can choose how much or little smoothing to apply. You might want less smoothing in the idle regions and high map/high rpm area if those are already well tuned.

===============

Here is an example.

Take a table that looks like this:


It smooths like this:


With a factor of 50 across the entire table it looks like this:


Please test and let me know how it works for you.

New version with light blue-green-red coloring and black text in post 32. https://www.miataturbo.net/showpost....7&postcount=32
Attached Thumbnails Smoothing VE tables - Interpolation Spreadsheet-vef01.png   Smoothing VE tables - Interpolation Spreadsheet-vef02.png   Smoothing VE tables - Interpolation Spreadsheet-vef03.png  
Attached Files
File Type: xls
Smoothing_with_factors.xls (93.5 KB, 954 views)

Last edited by travisb; 06-22-2012 at 12:20 PM.
travisb is offline  
Old 06-22-2012, 12:19 PM
  #32  
Junior Member
Thread Starter
 
travisb's Avatar
 
Join Date: Sep 2011
Location: Chesterfield, VA
Posts: 252
Total Cats: 2
Default

Originally Posted by travisb
I added the capability to put in a table of factors to adjust the level of smoothing. See attachment.
New version with light blue-green-red coloring and black text. See attachment.
Attached Files
File Type: xls
Smoothing_with_factors.xls (70.0 KB, 1007 views)
travisb is offline  
Old 06-22-2012, 02:12 PM
  #33  
Junior Member
iTrader: (1)
 
Sokool's Avatar
 
Join Date: Jan 2009
Location: Bradenton, FL
Posts: 290
Total Cats: 5
Default

Been looking for somthing like this for a while. Thanks for this!
Sokool is offline  
Old 06-23-2012, 11:34 AM
  #34  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

I'm now am a smooth table believer. My VE table was pretty smooth from a lot of tuning in a very narrow MAT window, and having a nicely dialed in MAT correction table. I drove iwth my new smoothed tables (fuel, spark, afr) The difference was subtle, but i felt the transitions while shifting were more smooth.

I'm going to test the smoothing with autotune. i.e. tune a session, then smooth and see if beginning with a smooth table will result in a smoother VEAlive table. I really think this should bt incorporated into tunerstudio. after a VEAlive session it prompts you to smooth the table.

EDIT: I'm not sure if I could have used the word "smooth" any more in that post. lol
miatauser884 is offline  
Old 06-23-2012, 03:06 PM
  #35  
Elite Member
iTrader: (2)
 
Faeflora's Avatar
 
Join Date: Jan 2007
Location: Los Angeles, CA
Posts: 8,682
Total Cats: 130
Default

This is very cool. I am an interpolation freak, and I do exactly what this spreadsheet does. Manually. Interpolating 3 cells at a time across a 32x32 grid in hydra is not super fun.

Matt, in my experience, smooth fuel/VE will net better driveability. AFR may not be deadnuts perfect, but what is the point of having perfect AFR if car drives cruddy?
Faeflora is offline  
Old 06-23-2012, 06:05 PM
  #36  
Elite Member
iTrader: (5)
 
Stealth97's Avatar
 
Join Date: Oct 2007
Location: Canton, Ga
Posts: 2,156
Total Cats: 66
Default

just confirmed it worked in OpenOffice on my Mac. I'll see how it runs.
Stealth97 is offline  
Old 06-26-2012, 12:33 PM
  #37  
Junior Member
 
MX5RACER's Avatar
 
Join Date: Dec 2008
Location: Ft. Lauderdale, FL
Posts: 315
Total Cats: 9
Default

I have not plugged any values into the spreadsheets, but I looked at your formulas and they look good. I would add $ to lock the areas where your formulas are looking. For example:

=IF(OR(C2<>"",C3<>"",D2<>"",D3<>""),AVERAGE(C2,C3, D2,D3),"")
Would look like:
=IF(OR($C$2<>"",$C$3<>"",$D$2<>"",$D$3<>""),AVERAG E($C$2,$C$3,$D$2,$D$3),"")

This way no matter where you paste in your formula (This case W2), it will always look at C2, C3, D2 & D3 even if you pasted this formula into Z26 for example.
MX5RACER is offline  
Old 06-26-2012, 03:04 PM
  #38  
Senior Member
 
ianferrell's Avatar
 
Join Date: Aug 2010
Location: Maumelle, AR
Posts: 613
Total Cats: 3
Default

Thats pretty slick, I went through the factors table and upped the percentage on the cells that I know ve analyze live has done a pretty good job with.... Very interested to see how it drives, and how ve al does now.
ianferrell is offline  
Old 06-26-2012, 04:17 PM
  #39  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by MX5RACER
I have not plugged any values into the spreadsheets, but I looked at your formulas and they look good. I would add $ to lock the areas where your formulas are looking. For example:

=IF(OR(C2<>"",C3<>"",D2<>"",D3<>""),AVERAGE(C2,C3, D2,D3),"")
Would look like:
=IF(OR($C$2<>"",$C$3<>"",$D$2<>"",$D$3<>""),AVERAG E($C$2,$C$3,$D$2,$D$3),"")

This way no matter where you paste in your formula (This case W2), it will always look at C2, C3, D2 & D3 even if you pasted this formula into Z26 for example.
or you could name the cells and use the names instead of $X$N
y8s is offline  
Old 06-26-2017, 11:15 AM
  #40  
Senior Member
 
Schroedinger's Avatar
 
Join Date: Apr 2016
Location: Atlanta
Posts: 790
Total Cats: 188
Default

I'll probably get slagged for necro-posting this thread, but-

I found this thread in a search, and this Excel tool is flat out awesome for smoothing VE tables. I figured I would give other MS newbs who are new to the game a chance to check it out. Major props to the author.
Schroedinger is offline  


Quick Reply: Smoothing VE tables - Interpolation Spreadsheet



All times are GMT -4. The time now is 06:22 PM.