MX6.com User Control Panel


Go Back   MX6.com > 2G MX6 (93-97) > 2G MX6 General > 2G MX6 Projects/FAQ > 2G FAQ: Performance

       
Reply
 
LinkBack Thread Tools
Old 10-15-06, 22:10   #1 (permalink)
Geordi La Forge
  Total: 1457 Power: 5
 
Stealth's Avatar
 
Join Date: Feb 2004
Location: Free Roam
Age: 23
iTrader: (2)
How to setup Autotune for your MegaSquirt and Wideband setup

Had someone ask me to throw this together. Figured it would be pretty straightforward.

Auto tune on a Megasquirt comes pre programmed, auto-tune to only tune to 14.7 AFR and only under vacuum. If you want to use the autotune feature of your MS then you need to do a few alterations to set it up with your wideband.

If you have your MS running on the wideband already you can start from here.

1) Go into your C:\Program Files\MegaSquirt\car1\mtCfg\custom.ini

Then, determine which processor your MS is running. In my case its MS_1 so, Im going to go under #if MS_I and change some settings seen here.




I will go over the red dots top to bottom

If MS_1 then run the following parameters

1) turn autotune on

2) leave corrector at egoCorrection
3) Set your low and high RPM limits that you want it to tune
4) Set your low and high kPa limits that you want it to tune
5) Set your low and high VE limits that you want it to tune

6, 7) Set your sensitivity by detrmining how close RPM and kPa must be to a vertex before it will tune

8) Set how often you will allow it to tune a point on your VE table
9) Set the gain that you will allow it to tune by (.5 = It moves by a half percent each time it makes a change)
10) Set the window that you will allow it to tune (5 = up to 5% before it will not tune in one direction any more)


So save the custom.ini and exit.

2) Go to your Megatune program. Go More Settings > Lambda AFR Settings

Turn 8X8 AFR Taget on for VE table 1 (or whatever VE table you wish to use.)





After you do that, you will notice under More Settings > AFR Targets for VE Table 1 is now avalible.

Once you are in there, You need to cross refrence a Voltage/AFR in the documentation that came with your wideband unit.

You will then enter values into the table so that above 100Kpa you will be tuning twords a 11.5-12 AFR, and below 100 Kpa you will be tuning to a 14.7 (but you need to input the correct voltage for the Target VE table.)

Here is a table that I threw together By crossrefrencing the analog voltages with the gasoline AFR.

.39 V ~ 10.75 AFR
.47 V ~ 10.95 AFR
.63 V ~ 11.25 AFR
.71 V ~ 11.4 AFR
.78 V ~ 11.56 AFR
2.25 V ~ 14.5 AFR

So you can see im going to be tuning twords a 14.5 in vacuum at all RPMS, and tuning in the 11's under boost (a little richer under high boost / high rpm)





You can then go to Tuning > Ve Table 1 Then Tools > Autotune

The red dot will now chase the green dot around and tune to the target AFR you have set it to. It will only do so much tuning (depending on the parameters you entered in your custom.ini). Every so often you will want to go File > Burn to ECU so it resets the autotune variables and it will continue tuning.


You may have to do some final tweaking after the autotune, but you should be pretty set

Let me know if you have questions, I will add to this how to if needed.

Last edited by Stealth : 11-14-06 at 22:12.

Current Location : Saint Michael
Photobucket
Stealth is offline   Reply With Quote
Old 10-15-06, 22:35   #2 (permalink)
DSR
  Total: 525 Power: 5
 
dsr30's Avatar
 
Join Date: Sep 2004
Location: Salem, VA, USA
Age: 29
iTrader: (0)
great write up!!

If my reply is helpful please leave me some karma

http://www.cardomain.com/member_page...page_id=761672
Running a FASTEST95PGT built megasquirt, great service and support, Jeff's the man.

Illuminas, PGT 16" rims, hood pins, ZE cams, RR front mount insert, ATX-MTX, mx3 flywheel, XTD 6 puck clutch, MSD Blaster 2, Civic STS, Walbro 255lph, ph8A oil filter, Clutched Eaton M62, Nissan 370cc Injectors, MSnS-E, M3 Mirrors
dsr30 is offline   Reply With Quote
Old 10-15-06, 23:13   #3 (permalink)
  Total: 1590 Power: 5
 
KING6's Avatar
 
Join Date: Oct 2002
Location: Central, USA
Age: 24
iTrader: (16)

Maybe ill pay you to come get mine started... lol..

good write up though, im glad your understanding it all... I feel like i lost alot of interest in the MS after attempting to build my own..

KING6 is offline   Reply With Quote
Old 10-15-06, 23:27   #4 (permalink)
Geordi La Forge
  Total: 1457 Power: 5
 
Stealth's Avatar
 
Join Date: Feb 2004
Location: Free Roam
Age: 23
iTrader: (2)
Quote:
Originally Posted by KING6 View Post

Maybe ill pay you to come get mine started... lol..

good write up though, im glad your understanding it all... I feel like i lost alot of interest in the MS after attempting to build my own..
No Charge

Its really not that hard to understand. But then again, I am a programmer, and work with structured text so I know what everything in the custom.ini is doing

But yeah, I would be glad to come help you get yours up and running.

Current Location : Saint Michael
Photobucket
Stealth is offline   Reply With Quote
Old 10-16-06, 6:44   #5 (permalink)
  Total: 87 Power: 5
 
white94pgt's Avatar
 
Join Date: Jun 2003
Location: jacksonville, FL, USA
Age: 22
iTrader: (0)
nice work stealth, a mod needs to sticy this

you should post it up in the engine electronics forum on pt too

FWD sucks! turbo miata > turbo probe/mx6
white94pgt is offline   Reply With Quote
Old 10-16-06, 7:01   #6 (permalink)
  Total: 949 Power: 5
 
kid_puma's Avatar
 
Join Date: Aug 2003
Location: Ottawa,Ontario (Nations Capital), Canada
Age: 25
iTrader: (1)
nice write up man !

kid_puma is offline   Reply With Quote
Old 10-16-06, 10:55   #7 (permalink)
The Full Dong
  Total: 439 Power: 5
 
Radar's Avatar
 
Join Date: Jul 2002
Location: Hollywood/FL, FL, USA
Age: 25
iTrader: (2)
Just to add to this...

At a lot of places you don't need to run 14.7:1. Highway cruise you want to run ~15.5:1 for MPG sake. Any more rich than that is a waste really. In theory, you could run even leaner (watch EGT) since most of us don't have a cat. Too lean and you would melt it.

As for tuning while under load, you might want to change the limits IN boost, which is the two boxes in the top of the "LAMDA SENSOR TARGETS" window. You don't want the MS to inadvertly overshoot something and run excessivly rich or lean while running in closed loop.

I know the "lumpiness" variable is there, but that is only for autotune. If you are running an EGO authority of say 10% or more, if something goes askew, MS could end up "autocorrecting" you way lean.

KLZE Turbo-SHAODOME @ PROBETALK
Successfully Megasquirted: 94 MX6-ZEt, 92 MX3 ZE, 94 MX6 LS, 96 PGT ZE, 96 PGT w/ every bolton, 93 PGT, 93 PGTZE, 95 PGT ZE, Celica GTS built 20v-turbo, 95 PGT, 97 PGT ZE, 97 MX6 KLZE, 97 PGT w/ botlons, Mazguy's Built MX-6 Turbo, 97 Mustang V6 EDIS, Delorean with a T70 Turbo, and a 87' Built 1.8t VW Golf (25psi),97 SE-T. No more sig space 351whp/313tq
Radar is offline   Reply With Quote
Old 10-16-06, 16:03   #8 (permalink)
Geordi La Forge
  Total: 1457 Power: 5
 
Stealth's Avatar
 
Join Date: Feb 2004
Location: Free Roam
Age: 23
iTrader: (2)
Good addition radar I will modify my table to accomodate

The only reason those 2 boxes are not filled in is because I was building this table on a blank MSQ...

On my msq those 2 boxes are set at

Change EGO limit above (KPa) 255
Change EGO limit to (+-) 5

I do beleive I want to change that first setting to 100 KPa.

Current Location : Saint Michael
Photobucket
Stealth is offline   Reply With Quote
Old 10-16-06, 17:01   #9 (permalink)
MX6.com Supporter - Click Here for Information The Most Hated Sixer
  Total: 252 Power: 5
 
Alex's Avatar
 
Join Date: Jan 2004
Location: The World, IL, USA
Age: 22
iTrader: (0)
Thank you so much I will need this pretty soon

Hyundai Genesis, name isn't everything
1/4- 13.9 @98 (no bottle)
Alex is offline   Reply With Quote
Old 10-24-06, 20:35   #10 (permalink)
Geordi La Forge
  Total: 1457 Power: 5
 
Stealth's Avatar
 
Join Date: Feb 2004
Location: Free Roam
Age: 23
iTrader: (2)
I highly reccommend looking into your documentation before using these numbers just to be safe, but the following should be true for certain WB units.

AFR Voltage Cross refrence for any wideband running 0-5V and 10-20:1 AFR

Provided by adjat84th

.39 V ~ 10.75 AFR
.47 V ~ 10.95 AFR
.63 V ~ 11.25 AFR
.71 V ~ 11.4 AFR
.78 V ~ 11.56 AFR
1.00 V ~ 12.0 AFR
1.25 V ~ 12.5 AFR
1.50 V ~ 13.0 AFR
1.75 V ~ 13.5 AFR
2.00 V ~ 14.0 AFR
2.25 V ~ 14.5 AFR
2.35 V ~ 14.7 AFR
2.50 V ~ 15.0 AFR
2.75 V ~ 15.5 AFR
3.00 V ~ 16.0 AFR

Current Location : Saint Michael
Photobucket
Stealth is offline   Reply With Quote
Reply



Thread Tools

Posting Permissions
New Threads
Post Replies
Post Attachments
Edit Your Posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 21:06.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
© Copyright 2000-2006, MX6.com
MX6.com is in no way affiliated to Mazda Motor Corp.
All views expressed in this site are the personal opinion
of the author and not necessarily the owners of MX6.com.
MX6.com is sponsored, in part, by NuDatum Software
  • AutoForums.com
  • Truck
  • European
  • Import
  • Domestic
  • Manufacturer

AutoForums.com is the premier network of enthusiast-owned enthusiast-operated automotive communities.
We operate more than 100 automotive forums where our users consult peers for shopping information and advice, and share experiences and opinions as a community.

Visit AutoForums.com today.

For advertising information, please visit our AutoForums.com website and Contact Us, or send an email message to sales@autoforums.com.