Everything there is to know about MegaTune Auto-Tune

Forum for discussing Tuner StudioMS tuning & datalogging software.
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.
Locked
Phoenix3D
MegaSquirt Newbie
Posts: 3
Joined: Fri Oct 08, 2004 3:07 am
Location: South Africa

Everything there is to know about MegaTune Auto-Tune

Post by Phoenix3D »

Hi Guys...

I would like to inquire as to when the possible inclusion of Autolearn(TUNE) (even if PC required to be attached) function mite be available for MS...?


It would seriously increase the Demand for the system.. Don't you think?

Just an Inquiring Mind.

Gordon
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Post by efahl »

Edit 24 JAN 2006, here are a few links to 1) Lance's manual entry for the Auto-Tune, and 2) some interesting messages I've posted on this thread:

http://www.megasquirt.info/megatune.htm#autotune

http://www.msefi.com/viewtopic.php?p=71413#71413
http://www.msefi.com/viewtopic.php?p=71602#71602
http://www.msefi.com/viewtopic.php?p=71939#71939
http://www.msefi.com/viewtopic.php?p=72654#72654
http://www.msefi.com/viewtopic.php?p=73267#73267
http://www.msefi.com/viewtopic.php?p=74782#74782

Install this:

http://www.not2fast.com/megasquirt/mt/prerelease/ 619 or later

Edit your favorite ini file, so that it contains "allowAutoTune = on" in the proper TableEditor definition (the last line below is the new page, the rest if s for context):
Edit: see this post http://www.msefi.com/viewtopic.php?p=72083#72083

Start up MT, go to the 3D tuning dialog and click the "Autotune" check box.

When EGO correction goes above 100%, the nearest VE vertex is adjusted up; when below 100%, VE is adjusted down.

This code uses a ground-up implementation of Per's algorithm. It has hard-coded parameters right now (exposed in the future), windowing on 1000-8000 RPM, 20-110 kPa. It will adjust a vertex if the operating point is within 300 RPM and 10 kPa of that vertex. The correction applied is 0.5 times the VE difference dictated by the ego correction value (math available on request). A one-second timebase is used, updates are once per second to allow the ego correction to stabilize (again, this will be a user-settable value someday).

If someone drives this around, let me know how it works.

Eric
Last edited by efahl on Tue Jan 24, 2006 4:05 pm, edited 3 times in total.
Phoenix3D
MegaSquirt Newbie
Posts: 3
Joined: Fri Oct 08, 2004 3:07 am
Location: South Africa

Post by Phoenix3D »

Eric..... 8) The Oh Mighty Creator of MegaTune..... :roll: :lol:

We Thank You so very much!!! :lol: :D :)


I will be updating with the new MT and will trying it out In the morning...

Will be very sure to let you know what happens.....

Kindest Regards
Gordon.
WolfGTI
MegaSquirt Newbie
Posts: 17
Joined: Mon Dec 13, 2004 11:22 am
Location: NJ

Post by WolfGTI »

I am going to run this on my daily for the next week - will report back.
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Post by efahl »

Ok, guys, but be careful, I do not have any safeguards on this thing, so it can tune from 0% to 255% VE (although it should take a while to do so).

You actually do have some control over the rate at which it tunes (even without access to the control parameters), by setting the ego correction controller authority ("EGO +/- Limit") to small values to make it move slower. Here's an example...

Code: Select all

egoCorr = 115%
ve      =  65%

deltaVE = 0.5 * ve/100 * (egoCorr-100)
        = 0.5 * 0.65 * 15
        = int(4.5)

newVe   = 65 + 4 = 69%
Now if you change the ego correction limits to +/-10%, then the maximum delta is changed correspondingly.

Eric
Phoenix3D
MegaSquirt Newbie
Posts: 3
Joined: Fri Oct 08, 2004 3:07 am
Location: South Africa

Post by Phoenix3D »

Thanks Eric...

Will keep an eye open...

Thanks agian, Will let you know how it goes.... :D

Regards
Gordon.
Clinton_H
MegaSquirt Newbie
Posts: 3
Joined: Wed Jun 08, 2005 9:32 pm
Location: Edmonton

Post by Clinton_H »

I'd like to try this option out, have a 1/2 hour dive to work every day that i could use it on. I tried to find the table editor but i didn't have any luck. Whould anyone be able to point me in the right direction. The autotune shows on the 3d map with the check mark box, not sure if all i need to do is check itor not. Thanks for any help.
1991 Talon AWD TSI
1994 Talon AWD TSI
1994 Colt AWD 4G63T
1997 Virago Chopper

Clinton
Clinton_H
MegaSquirt Newbie
Posts: 3
Joined: Wed Jun 08, 2005 9:32 pm
Location: Edmonton

Post by Clinton_H »

Got it, just had to dig in there and stop being afraid of the unknown. :) It was set to "ON" by default.
1991 Talon AWD TSI
1994 Talon AWD TSI
1994 Colt AWD 4G63T
1997 Virago Chopper

Clinton
Mike_Robert

Post by Mike_Robert »

Eric, this changes the VE table in memory, correct? We have to burn the settings to store them in flash, I'm guessing?

-Mike
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Post by efahl »

Mike,

That is correct, it updates the VE table in RAM, and requires that you click "Burn" to save the results...

Eric
Locked