MegaSquirt self learning mode? - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 09-25-2009, 11:58 AM   #1
Newb
Thread Starter
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default MegaSquirt self learning mode?

Hi all

Once again my apologies for what might be a redundant or dumb question, but here goes...

I went for a drive tonight with the stock ECU running the show while the MS1 setup to log all the various inputs etc so I can keep a reference of what the stock ECU does. Makes me wonder if there's a way the MS can be set to learn / mimics how the stock ECU behaves, self learning sort of speak, I realized there's an auto tune feature built into the MS but have heard that it's not as good as it sounds.

Mine's a stock motor with mild engine mods (Cams, exhaust, intake) so I find the stock ECU is quite safe for the setup, I'd like to be able to start out with this tune and slow work my way around. Currently I have no confidence in the MS at anything other than cruise mode.

I'm sure if I was to manually track through the log via MLV I'll be able to come up with an AFR target table, but seems redundant.

Is there a way in MLV / MegaTune to say "Use this log to setup my AFR target table, Timing and whatever else useful" ?

Would be pretty nice!!

Here's the log of my stock ECU...
Attached Files
File Type: zip datalog200909251958.xls.zip (577.6 KB, 60 views)
s363134 is offline   Reply With Quote
Old 09-25-2009, 12:30 PM   #2
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,114
Total Cats: 351
Default

why not just tune the car? Why does everyone make this so hard?
hustler is offline   Reply With Quote
Old 09-25-2009, 12:37 PM   #3
Newb
Thread Starter
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default

Quote:
Originally Posted by hustler View Post
why not just tune the car? Why does everyone make this so hard?
I know where you're coming from hustler, it cost quite a bit to tune so I'd only want to tune it once I've all that needs doing, possible FI of some sort...shhhh!!!...other half is sleeping (it's 1:35am here in Aus)...she can't know I'm spending more on the car :(. But in the mean time I'd like to start getting to know the MS but trying to do it as safe as possible.
s363134 is offline   Reply With Quote
Old 09-25-2009, 12:47 PM   #4
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

Quote:
Originally Posted by s363134 View Post
it cost quite a bit to tune
Not if you do it on the street with a WBO2.

Step 1: Steal somebody else's MSQ (or use the DIYAutoTune base maps) and make sure your AFR Targets table is as you desire it to be.
Step 2: Give gEGO a broad authority and a fast response time.
Step 3: Start the engine. Make initial coarse corrections by hand.
Step 4: Datalog. Use MLV to auto-correct the VE table (use VEX export / import) and then push the modified VE table back into the MS.
Step 5: Repeat step 4.
Step 6: Repeat step 4.
Step 7: Slow down gEGO a bit, and repeat step 4.

etc.
Joe Perez is offline   Reply With Quote
Old 09-25-2009, 01:13 PM   #5
Senior Member
iTrader: (7)
 
Join Date: Jul 2007
Location: Milpitas, CA
Posts: 1,057
Total Cats: 1
Default

Thats pretty much the way most of the guys do it here.

But, if you have been keeping tabs on TunerStudioMS, there will be a new feature in the release version that will incorporate MLV into TunerStudioMS for on the fly changes. Its crazy.
Marc D is offline   Reply With Quote
Old 09-25-2009, 01:16 PM   #6
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,114
Total Cats: 351
Default

People seriously buy EFI without a wideband?
hustler is offline   Reply With Quote
Old 09-25-2009, 01:18 PM   #7
Senior Member
iTrader: (7)
 
Join Date: Aug 2007
Location: Southern Indiana
Posts: 1,371
Total Cats: -1
Default

Quote:
Originally Posted by Joe Perez View Post
Not if you do it on the street with a WBO2.

Step 1: Steal somebody else's MSQ (or use the DIYAutoTune base maps) and make sure your AFR Targets table is as you desire it to be.
Step 2: Give gEGO a broad authority and a fast response time.
Step 3: Start the engine. Make initial coarse corrections by hand.
Step 4: Datalog. Use MLV to auto-correct the VE table (use VEX export / import) and then push the modified VE table back into the MS.
Step 5: Repeat step 4.
Step 6: Repeat step 4.
Step 7: Slow down gEGO a bit, and repeat step 4.

etc.
Sorry to threadjack, and i'm gonna let you finish but...

Is there an easy way to just export the vex without closing megatune, opening the map offline, exporting, closing megatune, and importing the vex?
wes65 is offline   Reply With Quote
Old 09-25-2009, 01:19 PM   #8
Newb
Thread Starter
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default

Quote:
Originally Posted by hustler View Post
People seriously buy EFI without a wideband?
Luckily I have one so it helps with VE table, but I wonder how you could tune timing without a visit to the dyno?
s363134 is offline   Reply With Quote
Old 09-25-2009, 01:24 PM   #9
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,689
Total Cats: 99
Default

Quote:
Originally Posted by wes65 View Post
Sorry to threadjack, and i'm gonna let you finish but...

Is there an easy way to just export the vex without closing megatune, opening the map offline, exporting, closing megatune, and importing the vex?
uhm. what?

I use my friends...
File
Open
Ben is offline   Reply With Quote
Old 09-25-2009, 01:25 PM   #10
Newb
Thread Starter
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default

Quote:
Originally Posted by wes65 View Post
Sorry to threadjack, and i'm gonna let you finish but...

Is there an easy way to just export the vex without closing megatune, opening the map offline, exporting, closing megatune, and importing the vex?
I didn't need to close MegaTune when working with MLV; I have both open at the same time, after exporting the VEX from MLV, I simply switch over to MegaTune and import table and burn to ECU.

Never need to go offline to load VEX or MSQ, my MS is configured for Inverted Spark though (Awesome mod btw Joe Perez )
s363134 is offline   Reply With Quote
Old 09-25-2009, 01:26 PM   #11
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

Quote:
Originally Posted by wes65 View Post
Is there an easy way to just export the vex without closing megatune, opening the map offline, exporting, closing megatune, and importing the vex?
Yes.
Joe Perez is offline   Reply With Quote
Old 09-25-2009, 01:26 PM   #12
Senior Member
iTrader: (7)
 
Join Date: Aug 2007
Location: Southern Indiana
Posts: 1,371
Total Cats: -1
Default

Quote:
Originally Posted by Ben View Post
uhm. what?

I use my friends...
File
Open
Is there an easy way of just importing the VEX file from an msq you just saved after a ve analysis? I just dont like the idea of burning an entire msq file over and over again. A lot of room for error.
wes65 is offline   Reply With Quote
Old 09-25-2009, 01:28 PM   #13
Senior Member
iTrader: (7)
 
Join Date: Aug 2007
Location: Southern Indiana
Posts: 1,371
Total Cats: -1
Default

Nvm, just ignore me. I see the little export button now.
wes65 is offline   Reply With Quote
Old 09-25-2009, 01:30 PM   #14
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,689
Total Cats: 99
Default

Quote:
Originally Posted by wes65 View Post
Is there an easy way of just importing the VEX file from an msq you just saved after a ve analysis? I just dont like the idea of burning an entire msq file over and over again. A lot of room for error.
I use tunerstudio. I believe it only updates changed information when you ask it to upload.
Ben is offline   Reply With Quote
Old 09-25-2009, 01:34 PM   #15
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,914
Default

Assuming you are doing this in realtime, with both MT and MLV on the same machine:

1: Open MT.

2: Start a datalog, and drive.

3: When finished, stop the log, and save the MSQ.

4: Open MLV.

5: Within MLV, import the log and the MSQ and perform the analysis.

6: Within MLV, export the modified VE table to a .VEX file.

7: Switch back over to MT, open the VE1 window, import the VEX, burn it, and close the VE1 window.

8: Goto 2.
Joe Perez is offline   Reply With Quote
Old 09-25-2009, 01:47 PM   #16
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,114
Total Cats: 351
Default

Quote:
Originally Posted by s363134 View Post
Luckily I have one so it helps with VE table, but I wonder how you could tune timing without a visit to the dyno?
just get the fuel table/enrichments/idle/cold start right, then go to a steady-state dyno and tune spark, its not hard. This is discussed ad nauseam in the DIY instructions.
hustler is offline   Reply With Quote
Old 09-25-2009, 04:51 PM   #17
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,264
Total Cats: 51
Default

I saw one guy on another forum who managed to capture his stock ECU's timing map by driving around with a timing light and web cam zip tied under his hood. I'm not entirely sure why you would want to log the stock ECU's timing curve in a Miata when there are a lot of good timing base maps out there, however.

Logging the stock timing map or fuel map would require extra IRQ pins that are not available in the MegaSquirt processor. Although I suppose somebody with enough determination could make a signal that converts duty cycle to a voltage and log it through a spare ADC.
Matt Cramer is offline   Reply With Quote
Old 09-26-2009, 07:15 AM   #18
Supporting Vendor
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
Default

I've logged the stock timing map on my 2002 via OBD-II, but it looks nothing like the MS map I use. It just knocked everywhere if I used the stock values.

Jim
Reverant is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
My solution for Oiltemp and Oilpressure input into Megasuirt (MS3) Zaphod MEGAsquirt 41 01-24-2016 01:25 PM
Any pnp megasquirt for 2001 Big_gumby WTB 0 09-30-2015 04:34 PM
1996 Turbo Build Goldwar DIY Turbo Discussion 2 09-29-2015 10:20 AM
First gen (white) megasquirt pnp 90-93 Miata firmware reflash Johnny Tater MSPNP 1 09-27-2015 01:38 AM
mslabs MS2 - Idle control issue ndragun MEGAsquirt 0 09-20-2015 11:28 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT -4. The time now is 10:57 PM.