Automatic mixture control

For discussing Phil Tobin's TunerStudio MS is the MegaSquirt edition of TunerStudio, a next generation tuning application. It provides the ability to configure and tune all MegaSquirt controllers and is 100% compatible with MegaTune ini files and msq's.

Moderator: LT401Vette

Post Reply
dlenardu
MegaSquirt Newbie
Posts: 7
Joined: Sun Aug 30, 2009 12:43 pm

Automatic mixture control

Post by dlenardu »

I enabled AMC and ran for several hours under different load conditions. Now, how do I "fetch" the new VE table from flash so that I can burn it?
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Automatic mixture control

Post by Bernard Fife »

dlnardu,

If the table is in flash memory, it is already 'burned'. Burning means transferring the contents of RAM to flash memory. You can retrieve it by not allowing TunerStudio to burn a MSQ when you connect, instead the let TS fetch all the parameters from MS-II and then save the MSQ. You might have to disable 'Options/Preferences/Automatically Load & Save Current Tune'), otherwise I believe the altered table will be overwritten with the old one, putting you right back where you started.

There is more on automatic mixture control here: http://www.megamanual.com/mt29.htm#sm

and here: http://www.megamanual.com/ms2/amc.htm

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
dlenardu
MegaSquirt Newbie
Posts: 7
Joined: Sun Aug 30, 2009 12:43 pm

Re: Automatic mixture control

Post by dlenardu »

I thought that is the way it is suppose to be but when I connect it does "notify" me of the setting change. When I check the VE tables it is the same as it was when I left it. I must not have something setup correctly.
dlenardu
MegaSquirt Newbie
Posts: 7
Joined: Sun Aug 30, 2009 12:43 pm

Re: Automatic mixture control

Post by dlenardu »

Well, I have checked everything and it seems to all be correct but still not seeing any change when I connect TS to the unit. Any ideas of what to look for?
dlenardu
MegaSquirt Newbie
Posts: 7
Joined: Sun Aug 30, 2009 12:43 pm

Re: Automatic mixture control

Post by dlenardu »

Here is my .msq. Please take a look at it and let me know. Thanks in advance.
You do not have the required permissions to view the files attached to this post.
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Automatic mixture control

Post by Bernard Fife »

dlenardu,

You will want to check if AMC is actually making any updates. There is a variable in the outpc structure that increments every time an update is made. This variable is labelled "amcUpdates". However, this variable is not datalogged in the default INI. To add it, go to the [Datalog] section of the INI (near the end, line 1909 in the 2.905 code), and add the line:

Code: Select all

   entry = amcUpdates,            "AMCup",        int,  "%d"
This can go anywhere in the series of 'entry' listings. You can use any text editor to do this (notepad, or something similar). The file you want to change ios likely mainController.ini in your TunerStudio project folder. Then go for a drive and check a datalog to see if AMCup is incrementing.

If the VE table is not updating, then check that your settings are loose enough to allow changes to be noticed and burned (http://www.megamanual.com/mt29.htm#sm) - i.e. you haven't set the step size or vertex tolerances too low or the minimum change or update intervals too high.

If you still don't have any updates, you may not have 'flash update' enabled (http://www.megamanual.com/mt29.htm#sm) for Automatic Mixture Control, or your VE table may already be perfect (as defined by the settings you choose).

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
drholl

Re: Automatic mixture control

Post by drholl »

Lance, this AMC update information is very nice to have, if only, just for piece of mind.

Should the entry go in the;
mtCfg/megasquirt-II.ini.2.X file
Or mtCfg/megasquirt-II.ini ?

Thanks
Holl

Sorry to have such a simple question, but I'm the guy who knows cars, but computers hate me. They cry when I get near them.
Bernard Fife
Master Squirter
Posts: 475
Joined: Thu Oct 29, 2009 12:54 pm

Re: Automatic mixture control

Post by Bernard Fife »

Holl,

It goes in the mtCfg/megasquirt-II.ini file for MegaTune, or the mainController.ini file for TunerStudio.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it.” - George Bernard Shaw
Post Reply