MEGAsquirt A place to collectively sort out this megasquirt gizmo

Need some help with AFRs

Thread Tools
 
Search this Thread
 
Old 05-28-2017, 03:16 AM
  #1  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default Need some help with AFRs

Hey all,
I have a 97 miata, just installed a ms2pnp, MAF delete with GM IAT. I tried to start the car with the included base map and had a heck of a time getting it to start and idle, I then tried a base map from DIY, still couldnt really get it to run or idle . I ended up flashing the MS to msextra 3.4.2 firmware, the only base map I could find for my year was from DIY and was for 3.3.1a, I ended up loading that base map, and was able to get it to start and run. I set the fixed timing to 10, and verified it was timed right, it looked good.
My idle was really bad so i ended up adjusting the idle speed by using the idle speed adjuster on the intake. So finally was able to get it to idle decently, but my AFR is all over the place. I finally got it to a point that I felt brave enough to take it for a little drive, but my AFRs are so bad. I have tried running the VE analyzer on some data logs, but it doesn't seem like it actually saves to the tune when I click save tune, so I have been "saving tune as" then going back in TS and loading the new tune.

I think my VE table is way off, im not sure about my AFR or my ignition. I feel way in over my head right now, so just looking for any help to get my car to a drivable state again.

Attached is the short drive i did, and my tune profile

Thanks!
Attached Files
File Type: msl
fifth.msl (730.7 KB, 81 views)
File Type: msq
why.msq (115.5 KB, 134 views)
init0 is offline  
Old 05-28-2017, 08:43 AM
  #2  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

Are you using a WB O2 sensor?
Your log doesn't seem to show AFRs, so we really can't see what's going wrong....
stefanst is offline  
Old 05-28-2017, 10:06 AM
  #3  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

Yes I'm using a wideband, I'm using an aem uego 30-4110. I can see AFRs when I look at the logs. Do I need to do something different when I save the logs so that AFRS show up?

Thanks for the help!
init0 is offline  
Old 05-28-2017, 03:25 PM
  #4  
Retired Mech Design Engr
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

If he has one available, I would suggest a base map from Trubokitty.com to start with.
DNMakinson is offline  
Old 05-28-2017, 06:02 PM
  #5  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

Originally Posted by init0
Yes I'm using a wideband, I'm using an aem uego 30-4110. I can see AFRs when I look at the logs. Do I need to do something different when I save the logs so that AFRS show up?

Thanks for the help!
Not sure if I can follow. When you look at the log it should already be somewhere on your drive, so you don't have to save it anymore.
How are you logging? From Tunerstudio, or are you converting from SD-card logs?

The log you posted "fitfth.msl" contains no field named "AFR". It has "AFRtarget" and "AFRload" both of which are related, but not what we need.
stefanst is offline  
Old 05-28-2017, 06:20 PM
  #6  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

Yes I'm logging with tunerstudio. If you go to the top of megalog viewer and click "configure, then configure afr" or something, then click aem new or something. I'm not home right now, but when I get home, I'll post what I'm doing.


EDIT:
So in Megalog viewer I had to go to
"Calculated Fields -> Wideband O2-AFR -> AEM Linear (Most Current)"

Last edited by init0; 05-28-2017 at 07:46 PM.
init0 is offline  
Old 05-28-2017, 06:48 PM
  #7  
Senior Member
 
Schroedinger's Avatar
 
Join Date: Apr 2016
Location: Atlanta
Posts: 790
Total Cats: 188
Default

Did you run the WBO2 before installing the Megasquirt, and did it appear to be working properly? Are you certain you have it grounded and wired properly?
Schroedinger is offline  
Old 05-28-2017, 07:00 PM
  #8  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

I ran the wbo2 when I installed the MS. I believe that it's wired right l. The power, ground, and signal are all wired into the MS. The readings on the gauge match the readings in TS. I guess I could plug the stock ecu in and emulate narrowband and see what readings I get off the gauge.
init0 is offline  
Old 05-28-2017, 07:07 PM
  #9  
Senior Member
 
hector's Avatar
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 807
Total Cats: 163
Default

The o2 readings are in voltage
hector is offline  
Old 05-28-2017, 07:21 PM
  #10  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

Originally Posted by hector
The o2 readings are in voltage
yeah. I'd have to look at my notes, but I wrote down a few voltage readings and what the afrs were.
init0 is offline  
Old 05-28-2017, 07:27 PM
  #11  
Senior Member
 
hector's Avatar
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 807
Total Cats: 163
Default

Yours is not the first time I see it that way.It might be a firmware thing maybe? What ecu and what firmware?
hector is offline  
Old 05-28-2017, 07:39 PM
  #12  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

Originally Posted by hector
Yours is not the first time I see it that way.It might be a firmware thing maybe? What ecu and what firmware?
I have a MS2PNP with MSExtra 3.4.2.

In Megalog viewer I see the AFR reading, not the voltage.
init0 is offline  
Old 05-28-2017, 08:20 PM
  #13  
Senior Member
 
hector's Avatar
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 807
Total Cats: 163
Default

Hmm, that's odd. Maybe its my ML viewer? Although I have the latest registered version.

Anyhow, I don't know how much it could be affecting things but change your dead time to 1ms or less and not the 1.3ms in the tune. I don't know how much it will help but it certainly can't be worse having the number be more realistic.
hector is offline  
Old 05-30-2017, 12:24 AM
  #14  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

Originally Posted by Schroedinger
Did you run the WBO2 before installing the Megasquirt, and did it appear to be working properly? Are you certain you have it grounded and wired properly?
After fighting with getting it to run normal. I decided to put the stock ECU back in, and set the AEM to emulate narrowband O2, and go for a drive. I'm right where I should be in cruising and accelerating, so it looks like the sensor is reporting the correct readings, so still something not right with my tune..... No idea what I should do.
init0 is offline  
Old 06-02-2017, 09:57 AM
  #15  
Junior Member
 
freedomgli's Avatar
 
Join Date: Jan 2007
Posts: 230
Total Cats: -23
Default

Originally Posted by init0
No idea what I should do.
Pause, breath, relax. Then read the Setting Up, Hardware and Tuner Studio manuals at msextra.com several times more so you have a good understanding of what all the different things do. Read all the basic stuff at turbokitty. Then try, try again. You're just learning how to tune, so it can be frustrating when things don't magically improve right away. Take baby steps. Try a known good base map and check all the basic settings to make sure they match your hardware and recognize that all base tunes need you to actually tune the VE table to work well for your car. Document each and every change you make. Go for a drive while keeping an eye on your AFRs. Data log. Study the data logs. If your AFRs are out of whack, stop for a second and manually tune those cells and then proceed. Rinse, repeat. Don't hammer on the car when it's lean but also don't freak out if you get very short duration lean periods during transitions under no/low-load situations. When auto-tuning things are changing all the time so it's less clear from the data logs exactly why certain things were happening. But data log anyways as they are still useful. Ideally, you want to freeze your VE table for a bit after you've done some auto tuning, then go for a drive and data log so you can see how the current tune is behaving.
freedomgli is offline  
Old 06-02-2017, 10:46 AM
  #16  
Newb
Thread Starter
 
init0's Avatar
 
Join Date: May 2017
Posts: 8
Total Cats: 0
Default

Thanks, that is pretty much what I have done.

I ended up buying the full version of TS. I have gone on a couple drives with VEAL, but I don't really know where I should be with my AFRs I guess.
Another problem I'm having is cold start, when I crank, it wont start on it's own like with the stock ECU, I have to give it gas to start up.
I think my idle is somewhat ok, but it just doesnt seem "right". The other problem I'm having is after I've been driving, it will idle fine BUT if I turn it on, then try and hot start, I have to give it lots of throttle, and then it will die out in the lower RPM, it wont idle.

So I'm getting somewhere, but still not all the way there yet.

If anyone wants to look at my data log and tune, and tell me where I should look, that would be great!
drive.zip is a drive log, 3 hot start logs, and my tune.
Attached Files
File Type: zip
drive.zip (938.6 KB, 6 views)
init0 is offline  
Old 06-02-2017, 11:05 AM
  #17  
Junior Member
 
freedomgli's Avatar
 
Join Date: Jan 2007
Posts: 230
Total Cats: -23
Default

Originally Posted by init0
I don't really know where I should be with my AFRs I guess.
I don't have my tuning laptop with me at the moment, and trubokitty.com is down for me right now, but did the base map you're using come with an AFR target table? If yes, then that is where you should be with your AFRs. If you're starting from scratch, then search the forum and look for examples of AFR target tables that other people have posted before to give you an idea of where you should be near stoich, where you should be richer, where you might want to lean things out a bit, etc.

Originally Posted by init0
Another problem I'm having is cold start, when I crank, it wont start on it's own like with the stock ECU, I have to give it gas to start up.
See, this is why you've got to read the manuals. Megasquirt2_Setting_Up-3.4

Originally Posted by init0
The other problem I'm having is after I've been driving, it will idle fine BUT if I turn it on, then try and hot start, I have to give it lots of throttle, and then it will die out in the lower RPM, it wont idle.
See above. Also, when you change your VE table, you will likely need to change some or all of your Startup settings. It may take you several iterations. Each time you change your VE table, you may also have to address your cranking pulse width, ASE adder, taper, WUE adder, etc. And that assumes that all your hardware is working correctly (e.g. good fuel injectors sized appropriately, stable fuel pressures, etc.)
freedomgli is offline  




All times are GMT -4. The time now is 05:46 PM.