Page 1 of 13
Everything there is to know about MegaTune Auto-Tune
Posted: Sun Sep 04, 2005 10:03 am
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
Posted: Mon Sep 05, 2005 8:13 am
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 "Auto
tune" 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
Posted: Mon Sep 05, 2005 8:39 am
by Phoenix3D
Eric.....

The Oh Mighty Creator of MegaTune.....
We Thank You so very much!!!
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.
Posted: Mon Sep 05, 2005 9:00 am
by WolfGTI
I am going to run this on my daily for the next week - will report back.
Posted: Mon Sep 05, 2005 9:42 am
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
Posted: Mon Sep 05, 2005 9:47 am
by Phoenix3D
Thanks Eric...
Will keep an eye open...
Thanks agian, Will let you know how it goes....
Regards
Gordon.
Posted: Mon Sep 05, 2005 1:32 pm
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.
Posted: Mon Sep 05, 2005 2:49 pm
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.
Posted: Mon Sep 05, 2005 3:03 pm
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
Posted: Mon Sep 05, 2005 3:15 pm
by efahl
Mike,
That is correct, it updates the VE table in RAM, and requires that you click "Burn" to save the results...
Eric