MEGAsquirt A place to collectively sort out this megasquirt gizmo

MegaSquirt self learning mode?

Thread Tools
 
Search this Thread
 
Old 09-25-2009, 10:58 AM
  #1  
Newb
Thread Starter
 
s363134's Avatar
 
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, 77 views)
s363134 is offline  
Old 09-25-2009, 11:30 AM
  #2  
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,085
Total Cats: 375
Default

why not just tune the car? Why does everyone make this so hard?
hustler is offline  
Old 09-25-2009, 11:37 AM
  #3  
Newb
Thread Starter
 
s363134's Avatar
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default

Originally Posted by hustler
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  
Old 09-25-2009, 11:47 AM
  #4  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by s363134
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  
Old 09-25-2009, 12:13 PM
  #5  
Senior Member
iTrader: (7)
 
Marc D's Avatar
 
Join Date: Jul 2007
Location: Milpitas, CA
Posts: 1,047
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  
Old 09-25-2009, 12:16 PM
  #6  
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,085
Total Cats: 375
Default

People seriously buy EFI without a wideband?
hustler is offline  
Old 09-25-2009, 12:18 PM
  #7  
Senior Member
iTrader: (7)
 
wes65's Avatar
 
Join Date: Aug 2007
Location: Southern Indiana
Posts: 1,369
Total Cats: -1
Default

Originally Posted by Joe Perez
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  
Old 09-25-2009, 12:19 PM
  #8  
Newb
Thread Starter
 
s363134's Avatar
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default

Originally Posted by hustler
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  
Old 09-25-2009, 12:24 PM
  #9  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by wes65
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
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 09-25-2009, 12:25 PM
  #10  
Newb
Thread Starter
 
s363134's Avatar
 
Join Date: Sep 2009
Posts: 18
Total Cats: 0
Default

Originally Posted by wes65
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  
Old 09-25-2009, 12:26 PM
  #11  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by wes65
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  
Old 09-25-2009, 12:26 PM
  #12  
Senior Member
iTrader: (7)
 
wes65's Avatar
 
Join Date: Aug 2007
Location: Southern Indiana
Posts: 1,369
Total Cats: -1
Default

Originally Posted by Ben
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  
Old 09-25-2009, 12:28 PM
  #13  
Senior Member
iTrader: (7)
 
wes65's Avatar
 
Join Date: Aug 2007
Location: Southern Indiana
Posts: 1,369
Total Cats: -1
Default

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

Originally Posted by wes65
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.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 09-25-2009, 12:34 PM
  #15  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
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  
Old 09-25-2009, 12:47 PM
  #16  
Tour de Franzia
iTrader: (6)
 
hustler's Avatar
 
Join Date: Jun 2006
Location: Republic of Dallas
Posts: 29,085
Total Cats: 375
Default

Originally Posted by s363134
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  
Old 09-25-2009, 03:51 PM
  #17  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
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
www.diyautotune.com
Matt Cramer is offline  
Old 09-26-2009, 06:15 AM
  #18  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
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  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Big_gumby
WTB
0
09-30-2015 03:34 PM
Goldwar
DIY Turbo Discussion
2
09-29-2015 09:20 AM
Johnny Tater
MSPNP
1
09-27-2015 12:38 AM
ndragun
MEGAsquirt
0
09-20-2015 10:28 PM



Quick Reply: MegaSquirt self learning mode?



All times are GMT -4. The time now is 11:37 PM.