Notices
DIY Turbo Discussion greddy on a 1.8? homebrew kit?

Tuning Issues

Thread Tools
 
Search this Thread
 
Old May 22, 2026 | 06:09 PM
  #1  
HY7's Avatar
HY7
Thread Starter
Newb
 
Joined: Jul 2020
Posts: 18
Total Cats: 0
Default Tuning Issues

Hi all,
I have a turbo NB Miata. It's a ton of fun but I think I'm in over my head trying to iron out some of the remaining wrinkles.

My target is ~8 PSI boost. I am happy to spend more time/money to prioritize reliability.
I have hardly any experience with TunerStudio but I am comfortable with math.
I swapped out the ECU, confirmed ignition timing, got a shop to install the turbo + exhaust, and then got the car tuned by a tuner. It generally runs well but for some reason is now rich overall.

I would appreciate any advice you might have.

Here's the build:
Vehicle: 2004 NB (~85k kms), 1.8L
ECU: MS3 Pro PnP
Injectors: Flow Force 640cc Injectors
Turbo: Flyin' Miata custom spec turbo system for NB chassis (GT2560R turbocharger) - also with coolant reroute
Blow-off/Bypass Valve: Recirculated bypass valve
Downpipe: FM 3" downpipe, NB chassis

Catalytic Converter: FM 3" catalytic converter for 3" downpipe, NB chassis
Muffler: MagnaFlow 4 X 9in. Oval Straight-Through Performance Exhaust Muffler 11229
Clutch: Supermiata Sport Clutch 94-05 Miata 1.8
Gas: 94 octane (located in Canada)

Electronic Boost Controller: none
Fuel Pressure Regulator: stock
Fuel Pump: stock


Here are some specific problems:
1. Rich Idle
It idles somewhat rich. If I lean out the idle squares on the VE table, I find that the idle tends to oscillate.
I went over the data for my injectors and I'm not sure if I should be changing the injector size (in Engine and Sequential settings) from 640cc to 752cc based on this:
https://goflowforce.com/pages/instru...3LoniVCA9qQxhM
I tried changing it and the car wouldn't start. I'm guessing I'd need a full re-tune.

2. Occasional Stalls
These typically occur on inclines or if there's any load on the electrical system (e.g. A/C). Do I just need to adjust the PWM Idle Voltage compensation? Is there an objective way to do this?

3. Foul Smelling Exhaust
Despite using the FM catalytic converter, the exhaust is quite foul smelling. I am guessing that this is related to the rich idle resulting in unburden hydrocarbon products, but not sure. Would this still be expected even if the tune was improved?

4. Runs Learner over Time
The longer the drive is, the more the car runs lean. Is this due to heat soak? Is there anything beyond what's in the the Flyin' Miata kit that I should be doing in the engine bay?

5. Do I need to install/upgrade other equipment to help address the above problems?
The tuner recommended an aftermarket fuel pressure regulator, but based on what I've read on this forum it seems like that is not necessary when pairing these fuel injectors with the Megasquirt 3. Is that necessary?
I also looked at upgrading the fuel pump. It's stock but also >20 years old. If replacing it makes sense, with my goals it seems like a Deatschwerks DW200 would be reasonable.
I also already have an electronic boost controller that I plan to install.

I attached a log with a drive. I wasn't able to go into boost much, but I think the main issues are outside boost anyways.
I've included some pictures of the engine bay and undercarriage in case I missed anything that could be important.

Thanks for any suggestions!











Attached Files
File Type: mlg
2026-05-22_06.57.16.mlg (3.47 MB, 3 views)
Old May 22, 2026 | 08:27 PM
  #2  
curly's Avatar
Cpt. Slow
iTrader: (25)
 
Joined: Oct 2005
Posts: 15,232
Total Cats: 1,412
From: Oregon City, OR
Default

Attach your tune too. We can make some minor changes that'll help with all your issues.

You're right on #1, changing injector size will require a retune. You could scale by a percentage, but I wouldn't trust that to be enough. But questions 2-4 require looking at the tune.

Edit: holy **** you weren't kidding, 11:0 idle. Yeah that'll stink. Post the tune and we can help more. Idle advance isn't doing anything to help, you should be able to idle at 14.7 easily.
Old May 22, 2026 | 09:30 PM
  #3  
HY7's Avatar
HY7
Thread Starter
Newb
 
Joined: Jul 2020
Posts: 18
Total Cats: 0
Default

Thanks for the reply. I thought I had saved the tune with the log but it looks like it didn't work. I'm 90% sure the attached tune is the one corresponding to the log.

Would it be fine to just leave the fuel injectors set to 640 cc? They are technically 640 cc but the FlowForce site makes it seem like they're more on NB Miatas with the higher fuel pressure. Does that affect anything if it's already tuned assuming that they are 640 cc instead of the 752 cc adjusted for NB fuel pressure?
Attached Files
File Type: msq
MyCar_2026-05-21_16.41.01.msq (286.3 KB, 3 views)
Old May 23, 2026 | 12:08 AM
  #4  
SimBa's Avatar
Elite Member
iTrader: (1)
 
Joined: Oct 2022
Posts: 1,922
Total Cats: 293
From: Idaho
Default

Just my $0.02
I ran my stock NB fuel pump/rail/etc... with a set of FF640's for a good while without issues. I liked those injectors quite a bit and would absolutely expect them to idle fine at 14.7 on pump gas. I have similar issues to what you describe on my 1050cc injectors which I assume is them being non-linear at those pulse widths.

Originally Posted by HY7
Hi all,
...
Here are some specific problems:
1. Rich Idle
It idles somewhat rich. If I lean out the idle squares on the VE table, I find that the idle tends to oscillate.
I went over the data for my injectors and I'm not sure if I should be changing the injector size (in Engine and Sequential settings) from 640cc to 752cc based on this:
https://goflowforce.com/pages/instru...3LoniVCA9qQxhM
I tried changing it and the car wouldn't start. I'm guessing I'd need a full re-tune.

2. Occasional Stalls
These typically occur on inclines or if there's any load on the electrical system (e.g. A/C). Do I just need to adjust the PWM Idle Voltage compensation? Is there an objective way to do this?

Voltage compensation might help but would likely be a Band-Aid. As Curly alluded to, idle timing correction will be faster and help catch those dips. For things like AC and cooling fans there are also going to be tables that can be dialed in to tell the ECU to expect more load. IE open the idle valve more than normal to hit the target RPM

3. Foul Smelling Exhaust
Despite using the FM catalytic converter, the exhaust is quite foul smelling. I am guessing that this is related to the rich idle resulting in unburden hydrocarbon products, but not sure. Would this still be expected even if the tune was improved?

I would bet this improves with a leaner idle.

4. Runs Learner over Time
The longer the drive is, the more the car runs lean. Is this due to heat soak? Is there anything beyond what's in the the Flyin' Miata kit that I should be doing in the engine bay?

You don't have EGO turned on in your tune, which basically allows the ECU to check the AFR reading and adjust fueling to hit your targets. Your Manifold Air Temp correction table is pulling fuel as the intake temps rise, which would be my guess about why it's leaning out. Either relaxing the MAT correction and/or enabling (and tuning) EGO should help with this.

5. Do I need to install/upgrade other equipment to help address the above problems?
The tuner recommended an aftermarket fuel pressure regulator, but based on what I've read on this forum it seems like that is not necessary when pairing these fuel injectors with the Megasquirt 3. Is that necessary?
I also looked at upgrading the fuel pump. It's stock but also >20 years old. If replacing it makes sense, with my goals it seems like a Deatschwerks DW200 would be reasonable.
I also already have an electronic boost controller that I plan to install.

IMO no, there's room for improvement in the tune before you start throwing parts at it. The FF640's are pretty popular for a reason. DW 200 would be a fine upgrade but the stock fuel pump (or DW100) should flow enough to blow up a stock block with those injectors (assuming no E85).
Interesting too that Overrun fuel cut is off and boost control is enabled. I also noticed that launch control is enabled, which I fully support, but wasn't sure if you were aware of that. At a glance the ignition table seems decent, maybe a bit relaxed in cruise (as is the AFR table) but nothing major there.
Old May 23, 2026 | 12:03 PM
  #5  
curly's Avatar
Cpt. Slow
iTrader: (25)
 
Joined: Oct 2005
Posts: 15,232
Total Cats: 1,412
From: Oregon City, OR
Default

Try the attached while logging, it's a bunch of changes to see if it'll actually control idle afrs, might need more changes. The rest of the tune looked ok, but definitely some unrefined parts.
Attached Files
File Type: msq
Old May 23, 2026 | 06:26 PM
  #6  
HY7's Avatar
HY7
Thread Starter
Newb
 
Joined: Jul 2020
Posts: 18
Total Cats: 0
Default

Thanks for the helpful replies.

Originally Posted by SimBa
Just my $0.02
I ran my stock NB fuel pump/rail/etc... with a set of FF640's for a good while without issues. I liked those injectors quite a bit and would absolutely expect them to idle fine at 14.7 on pump gas. I have similar issues to what you describe on my 1050cc injectors which I assume is them being non-linear at those pulse widths.
Awesome - I'll keep it stock then unless it should just be replaced due to age.

Originally Posted by SimBa
Voltage compensation might help but would likely be a Band-Aid. As Curly alluded to, idle timing correction will be faster and help catch those dips. For things like AC and cooling fans there are also going to be tables that can be dialed in to tell the ECU to expect more load. IE open the idle valve more than normal to hit the target RPM
Would I be correct to assume I'd do all of the fine tuning of these tables after the idle is fixed?

Originally Posted by SimBa
You don't have EGO turned on in your tune, which basically allows the ECU to check the AFR reading and adjust fueling to hit your targets. Your Manifold Air Temp correction table is pulling fuel as the intake temps rise, which would be my guess about why it's leaning out. Either relaxing the MAT correction and/or enabling (and tuning) EGO should help with this.
Ok great, thanks. Would it be best to fix the tune first and then turn on EGO?

Originally Posted by SimBa
IMO no, there's room for improvement in the tune before you start throwing parts at it. The FF640's are pretty popular for a reason. DW 200 would be a fine upgrade but the stock fuel pump (or DW100) should flow enough to blow up a stock block with those injectors (assuming no E85).
Thanks. I already own an EBC so I'll install that but otherwise I'll leave it as is. I don't plan to run E85 or go much beyond ~8-10psi so I'll plan to swap in the DW100 when the other one gets too old. Would you ever swap the fuel pump prior to it dying? Is there a risk of engine damage if the fuel pump fails under boost?

Originally Posted by SimBa
Interesting too that Overrun fuel cut is off and boost control is enabled. I also noticed that launch control is enabled, which I fully support, but wasn't sure if you were aware of that. At a glance the ignition table seems decent, maybe a bit relaxed in cruise (as is the AFR table) but nothing major there.
Should I turn on overrun fuel cutoff and disable boost control? It was not a deliberate choice by me but maybe the tuner chose those options. I already have an EFI boost control solenoid kit but haven't installed it yet. If I install it, then would boost control make sense?
I have no idea why launch control is on. I don't think the clutch is wired into the ECU so I doubt it's doing anything. I'm not particularly interested in launch control at this point.

Originally Posted by curly
Try the attached while logging, it's a bunch of changes to see if it'll actually control idle afrs, might need more changes. The rest of the tune looked ok, but definitely some unrefined parts.
Amazing. Thank you so much. I'll give it a shot.
Old May 24, 2026 | 08:19 PM
  #7  
HY7's Avatar
HY7
Thread Starter
Newb
 
Joined: Jul 2020
Posts: 18
Total Cats: 0
Default

I tried out the tune that you sent. In terms of RPMs, it idles great - even with the A/C turned on. It'll be a huge relief to not have to look at the RPMs every time I come to a stop. I really appreciate the changes you made for drivability.

The start was a bit jerky but I've had that before too. After the start, the AFRs at at idle were initially rich but that's probably WUE or ASE, right?
I've attached a log of a brief drive. I tried turning on the A/C part way through.
Attached Files
File Type: mlg
2026-05-24_17.03.21.mlg (4.25 MB, 2 views)
Old May 24, 2026 | 10:49 PM
  #8  
curly's Avatar
Cpt. Slow
iTrader: (25)
 
Joined: Oct 2005
Posts: 15,232
Total Cats: 1,412
From: Oregon City, OR
Default

Try the attached, just warm idle, you should be able to idle steadily at the 14.2 target, but the little idle I did see didn't seem happy, oscillating between 13.6-14.6, but it never had a chance to steady itself.
Attached Files
Old May 25, 2026 | 09:30 AM
  #9  
SimBa's Avatar
Elite Member
iTrader: (1)
 
Joined: Oct 2022
Posts: 1,922
Total Cats: 293
From: Idaho
Default

Originally Posted by HY7
Thanks for the helpful replies.


Awesome - I'll keep it stock then unless it should just be replaced due to age.


Would I be correct to assume I'd do all of the fine tuning of these tables after the idle is fixed?
It won't fix the lambda/afr, but it should keep the car from dying and/or shuddering when the fans or AC are kicked on.

Ok great, thanks. Would it be best to fix the tune first and then turn on EGO?
Generally yes. Ideally you'd take the car out, tune the fuel table with the car warmed up and corrections off and then use the conditions you tuned in (IE Ambient temps) as the zero point for your corrections going forward. EGO would be turned on and tuned after the fuel table is dialed in.

Thanks. I already own an EBC so I'll install that but otherwise I'll leave it as is. I don't plan to run E85 or go much beyond ~8-10psi so I'll plan to swap in the DW100 when the other one gets too old. Would you ever swap the fuel pump prior to it dying? Is there a risk of engine damage if the fuel pump fails under boost?
I don't think I've heard of an engine failure due to a fuel pump failure while driving, but if it started failing, fuel pressure dropped and cylinders started leaning out then I could see a piston melting or something. I've definitely heard of injectors clogging and running a cylinder lean and causing damage. Megasquirt should have AFR protections IIRC. Not sure if that would catch a failing fuel pump but if you started leaning out in boost in theory that could catch it.

If the current pump is old then it wouldn't hurt to throw in a new one, but I don't think it needs to be high on the priority list. Full disclosure, the DW200 is usually only ~$10 more. it is a bit louder but when you decide you need more power/fuel in the future you won't end up with a DW100 sitting on your shelf. Ask me how I know.

Should I turn on overrun fuel cutoff and disable boost control? It was not a deliberate choice by me but maybe the tuner chose those options. I already have an EFI boost control solenoid kit but haven't installed it yet. If I install it, then would boost control make sense?
I have no idea why launch control is on. I don't think the clutch is wired into the ECU so I doubt it's doing anything. I'm not particularly interested in launch control at this point.
Up to you on both of those. Overrun will help fuel economy some and quiet down any burbles/pops on decel. The only downside IMO is that it can cause a bit of jerkiness when going on/off throttle. I usually like to have it disabled when I'm autocrossing, but in general I'd lave it enabled.

I doubt having boost control or launch control enabled will hurt anything, but IMO best practice would be to disable anything you're not using. For example, on SpeedyEFI the boost control pin is defaulted to the evap solenoid plug. In that situation enabling boost control would be doing weird things with your evap system. Launch control can mess up rev matching down shifts if its set up improperly (assuming that clutch switch is wired in.

Amazing. Thank you so much. I'll give it a shot.
Again, just my opinions/theory. Curly has way more real world experience with this stuff.
Old May 25, 2026 | 10:31 PM
  #10  
HY7's Avatar
HY7
Thread Starter
Newb
 
Joined: Jul 2020
Posts: 18
Total Cats: 0
Default

Thanks for all the feedback.

I tried the latest tune today and attached a couple of logs. The 6:57 AM one has a stall that occurred when I was coming to a sudden stop at the bottom of a hill. If I'm reading this correctly, it looks like the MAP spiked causing the stall. I've had this issue before and found out that it was the clutch compressing the MAP vacuum line to the ECU. Looking under the dash I don't see anything obvious but I guess it could have happened.

Thanks again for your help.
Attached Files
File Type: mlg
2026-05-25_06.57.28.mlg (1.35 MB, 3 views)
File Type: mlg
2026-05-25_19.14.24.mlg (1.77 MB, 3 views)
Old May 26, 2026 | 05:03 PM
  #11  
oreo's Avatar
Junior Member
 
Joined: May 2007
Posts: 345
Total Cats: 99
From: Toronto Area, Ontario
Default

Hi.
I am not familiar with the MS3 pro, but I do have some comments.

I notice that you have an injector dead time that loods to be set for 1.27mS at what I assume is 13v. The web says that this brand and size should be set to 1.15mS.
If this is off, then this is not going to cause your problem, but it won't help you dial in your idle.

Looking at your log, I don't understand a few things.
-at time stamp 243.584 and 252.387 your AFR mysteriously drops to 25:1. I can't see anything else in the log that would reflect that the MS3 is trying to make this happen.
maybe I am missing something that someone else can comment on.

-time stamp 255.176 the ignition timing gets bumped down to 5.3 degrees. This appears to be caused by idle rpm timing correction being "on" and having large amounts of timing correction in there.
maybe Curly can comment.

-at time stamp 254.476 the rpm's are decreasing and the map is rising. This is where the engine stalls. The fuel map is particularly bumpy 900-2000rpm at 60-90 map, but they are somewhat bumpy everywhere
So why is the AFR stable as hell through this time period. (and the engine cannot stay running) This make no sense to me.

What part of Canada are you in?
Old May 26, 2026 | 05:18 PM
  #12  
curly's Avatar
Cpt. Slow
iTrader: (25)
 
Joined: Oct 2005
Posts: 15,232
Total Cats: 1,412
From: Oregon City, OR
Default

It's a really rough tune just to see if it'll idle at leaner than 11:0, haven't looked at the rest of the tune yet. The dead time could very well be the reason it's doesn't seem to be stable much leaner than 14:0, but that's still loads better. I did activate aggressive idle timing correction to stabilize RPM, haven't had a chance to look at the latest log though. Oreo's doing some good time stamps to look at though!
Old Yesterday | 12:13 AM
  #13  
HY7's Avatar
HY7
Thread Starter
Newb
 
Joined: Jul 2020
Posts: 18
Total Cats: 0
Default

Sorry for the big delay in replying. Got swamped at work.

Originally Posted by oreo
Hi.
I am not familiar with the MS3 pro, but I do have some comments.

I notice that you have an injector dead time that loods to be set for 1.27mS at what I assume is 13v. The web says that this brand and size should be set to 1.15mS.
If this is off, then this is not going to cause your problem, but it won't help you dial in your idle.
I'm basing it off of the FlowForce instructions here: https://goflowforce.com/pages/instructions
I'm using the FF640 table with the 4.0 BAR column (NB Miata)




Originally Posted by oreo
Looking at your log, I don't understand a few things.
-at time stamp 243.584 and 252.387 your AFR mysteriously drops to 25:1. I can't see anything else in the log that would reflect that the MS3 is trying to make this happen.
maybe I am missing something that someone else can comment on.

-time stamp 255.176 the ignition timing gets bumped down to 5.3 degrees. This appears to be caused by idle rpm timing correction being "on" and having large amounts of timing correction in there.
maybe Curly can comment.

-at time stamp 254.476 the rpm's are decreasing and the map is rising. This is where the engine stalls. The fuel map is particularly bumpy 900-2000rpm at 60-90 map, but they are somewhat bumpy everywhere
So why is the AFR stable as hell through this time period. (and the engine cannot stay running) This make no sense to me.
I'm not sure why this is happening. Since stalls and very low RPMS (without a complete stall) happen to occur on hills when the clutch is already in, wouldn't that point to a mechanical rather than software issue? I was thinking that perhaps the fuel pump struggles on inclines. Could that be a possibility?
Alternatively, perhaps the rate of RPM decline is too rapid for the software to compensate. The lightweight flywheel probably does not help. I would expect that to occur when rapidly stopping at flat locations as well, which doesn't seem to be the case.

Originally Posted by oreo
What part of Canada are you in?
Edmonton

Originally Posted by curly
It's a really rough tune just to see if it'll idle at leaner than 11:0, haven't looked at the rest of the tune yet. The dead time could very well be the reason it's doesn't seem to be stable much leaner than 14:0, but that's still loads better. I did activate aggressive idle timing correction to stabilize RPM, haven't had a chance to look at the latest log though. Oreo's doing some good time stamps to look at though!
Thanks again for the tune.
I have attached several logs, some with stalls that almost always occur when coming to a stop with the clutch in on an incline.

For 2026-05-27_18.29.47, at 128 sec the car stalled. This was coming to a rapid slowdown on a hill.
For 2026-05-27_07.00.27, at 320 sec the car stalled. This was again on an incline. I see that the MAP dropped low just before the stall and then rose quickly. I put it into 4th gear since I still had some speed to restart the engine while moving. I'm guessing that is not a good thing to do but I was in traffic.
For 2026-05-29_19.01.54, at 101 sec the car stalled. This was also on a hill. The MAP oscillates just before the stall. I can't figure out why it happened.
Attached Files
File Type: mlg
2026-05-28_08.00.15.mlg (4.23 MB, 0 views)
File Type: mlg
2026-05-27_07.00.27.mlg (3.89 MB, 0 views)
File Type: mlg
2026-05-27_18.29.47.mlg (3.38 MB, 0 views)
File Type: mlg
2026-05-29_07.04.00.mlg (3.92 MB, 0 views)
File Type: mlg
2026-05-29_19.01.54.mlg (3.81 MB, 0 views)
File Type: mlg
2026-05-28_15.47.53.mlg (4.12 MB, 0 views)
File Type: mlg
2026-05-26_07.02.20.mlg (4.07 MB, 0 views)
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
zxkevinxz
MEGAsquirt
5
May 27, 2024 04:59 PM
Boosted_97STO
MSPNP
3
May 8, 2024 08:46 AM
mr2nique
Engine Performance
10
Nov 21, 2022 09:51 AM
Matsie
ECUs and Tuning
17
Jul 3, 2021 11:05 AM
Turbonic77
MEGAsquirt
9
Aug 17, 2016 02:17 PM




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