MEGAsquirt A place to collectively sort out this megasquirt gizmo

The Newb Friendly Tuning Guide

Thread Tools
 
Search this Thread
 
Old 10-09-2018, 11:48 PM
  #1  
Junior Member
Thread Starter
 
Pedxing's Avatar
 
Join Date: Jun 2016
Location: Houston, Texas
Posts: 87
Total Cats: 117
Default The Newb Friendly Tuning Guide

Hey all, I'm back again for another mt.net exclusive tuning video series. I did a few more videos in the same vein as my previous megasquirt build guide. I wanted to to put out some good info that can help people get into Tuner Studio and Megasquirt tuning for the first time with a decent foundation.

First part is an intro that covers some Tuner Studio basics, screens, etc and set the stage for Idle Tuning.


Next is a review of all the screens used for start up and closed loop idle control.


Then we go through how to set up custom tuning dashboards in Tuner Studio which puts everything you need to tune your idle in real time right at your fingertips.


We now get out to the car and go over my basic approach to tuning in real time with tips.


Now we get serious: Intro to PID tuning. These three little numbers are often considered black magic. Here's how they work and why PID is the most commonly used feedback control method out there.


Ok so maybe you just installed a turbo or supercharger or you just bought a car that has one plus a Megasquirt. This will get you started in understanding how to SAFELY tune above 100 kPa in BOOST!
(This is part 1, the TunerStudio end of things. Part 2 will get into street tuning with VE Analyze Live aka AutoTune.


Now we head to the streets. Put your TunerStudio knowledge to work in a quick and easy method for getting the boost area of the fuel map tuned in no time. Don't grind it out making pass after pass, get some data and then use the magic of interpolation to fix the rest. You can literally get a decent tune in about 5 passes.


So now you've got your fueling in boost figured out but you're either still on wastegate pressure or maybe using a manual boost controller. So let's up our game and set up a cheap but reliable Electronic Boost Controller using the popular MAC Valves solenoid. Part 1 will show you how it works and how to plumb and wire it. And we can even use TunerStudio to test it and find our min/max duty cycles without even starting the engine.


Following on the previous video, now we're going to get our Boost Control Duty table set up. First, go over how it works, then show how to set up a quick tuning screen to help read your logs and tweak tables on the fly, and then how to work out your boost controller duty cycle curves. This will help you reach target quickly without spiking, and stay there as long as you need it, without sag. This will help to also avoid spool problems.



Back again with a special one for all those children of the corn out there -- that's right, E85. There is a lot of confusion and outright myths out there regarding conversion to ethanol (flex fuel) and I wanted to do one that put it all together so people can understand what makes e85 so useful in performance applications. This first video will talk about the basics of E85 and how it's different from gasoline, what mods you need installed first, and what are all the options and screens in TunerStudio to convert to e85, or better yet, run dual fuels just like the OEMs.


Last edited by Pedxing; 06-01-2021 at 10:25 AM.
Pedxing is offline  
Reply
Leave a poscat 49 Leave a negcat
Old 10-10-2018, 12:27 PM
  #2  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

this is awesome! I'll definitely review as soon as I have a chance, maybe I can help/contribute
18psi is offline  
Old 10-10-2018, 12:36 PM
  #3  
Retired Mech Design Engr
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Ahh, perhaps that Custom Tuning why and how and what for I asked about earlier.
DNMakinson is offline  
Old 10-10-2018, 01:37 PM
  #4  
Elite Member
iTrader: (2)
 
ridethecliche's Avatar
 
Join Date: Aug 2016
Location: New Fucking Jersey
Posts: 3,890
Total Cats: 143
Default

Looking forward to going through this!

Any chance you'll go through and do anything with engine states?
ridethecliche is offline  
Old 10-10-2018, 02:02 PM
  #5  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

The problem with engine states is not setting them/tuning them.
It's how inconsistently they work at times. So if you're looking for a magic setting it doesn't exist, nor is it even close to similar on different cars.

IMO
18psi is offline  
Old 10-10-2018, 02:02 PM
  #6  
Junior Member
iTrader: (1)
 
sometorque's Avatar
 
Join Date: Jul 2018
Location: Coral Springs, FL
Posts: 187
Total Cats: 57
Default

Awesome! I was going to post a thread asking for something like this (been reading the MS guides on diyautotune and various threads i've found), but this is insanely helpful for a n00b like me.
sometorque is offline  
Old 10-10-2018, 03:41 PM
  #7  
Junior Member
 
WigglingWaffles's Avatar
 
Join Date: Aug 2017
Location: Lansing, MI
Posts: 481
Total Cats: 39
Default

Replying for the sub.
really wish this wouldve existed when I first started lol
WigglingWaffles is offline  
Old 10-10-2018, 03:58 PM
  #8  
Junior Member
 
HmoobDude's Avatar
 
Join Date: Jul 2018
Location: Colorado
Posts: 118
Total Cats: 5
Default

Sub'd, interested to view this and keep up to date with.
HmoobDude is offline  
Old 10-10-2018, 07:24 PM
  #9  
Junior Member
Thread Starter
 
Pedxing's Avatar
 
Join Date: Jun 2016
Location: Houston, Texas
Posts: 87
Total Cats: 117
Default

Awesome, thanks guys. I'm not a pro tuner (or even close) but hopefully it hits the basics to an extent to get people working so they're not chasing their tail with changing setting after setting in a loop. Let me know if there are any glaring mistakes, I appreciate any feedback. I hope to continue the series with additional stuff.

For now I'm just on 1.4 firmware so I have zero experience with engine states. However I mean to try it -- I tend to research the crap out of things so hopefully I can distill what learn and bring it back in video form.

Also this car is not boosted however the boost is coming and when I do tuning for all that, I'll be putting out new episodes. The turbo and manifold is sitting on my desk right now.
Pedxing is offline  
Old 10-13-2018, 06:10 PM
  #10  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

nice work
WestfieldMX5 is offline  
Old 10-15-2018, 12:56 PM
  #11  
Junior Member
iTrader: (1)
 
scottns's Avatar
 
Join Date: Oct 2013
Location: Central MA
Posts: 143
Total Cats: 9
Default

Watched the first 2 so far. Nice simple explanations for things. Nice work. My car is running pretty good at the moment but I'll be going through everything again just to validate I am understanding things. I see a few things I can improve upon already.
scottns is offline  
Old 10-15-2018, 05:30 PM
  #12  
Newb
 
ravinaziankid's Avatar
 
Join Date: Apr 2014
Posts: 40
Total Cats: 2
Default

Thanks for these videos!
ravinaziankid is offline  
Old 10-18-2018, 05:31 PM
  #13  
Junior Member
 
ungluedflyer's Avatar
 
Join Date: Feb 2017
Location: Dallas, Texas
Posts: 100
Total Cats: 25
Default

Have a cat. You've more than earned it.
ungluedflyer is offline  
Old 10-19-2018, 01:21 AM
  #14  
Newb
 
Aerodyne's Avatar
 
Join Date: Jun 2014
Location: San Jose, CA
Posts: 17
Total Cats: 7
Default

My new to me MS3 Basic is coming in tomorrow so this is perfect timing.
Thanks for taking the time to do this!
Aerodyne is offline  
Old 10-19-2018, 01:57 AM
  #15  
Senior Member
 
SpartanSV's Avatar
 
Join Date: Apr 2017
Location: Greeley, CO
Posts: 1,226
Total Cats: 169
Default

I can't say I learned anything I didn't already know, but I spent a few hundred hours researching the < 100 hours of work I've actually done.

If you had made this a year ago it likely would have saved me some hair on my temples.
SpartanSV is offline  
Old 01-10-2019, 08:33 AM
  #16  
Newb
 
kreyszig's Avatar
 
Join Date: Jan 2019
Posts: 1
Total Cats: 1
Default

Thank you so much for these, absolutely what I need as a beginner
kreyszig is offline  
Old 01-15-2019, 04:56 PM
  #17  
Junior Member
Thread Starter
 
Pedxing's Avatar
 
Join Date: Jun 2016
Location: Houston, Texas
Posts: 87
Total Cats: 117
Default

Hey all, thanks for the feedback. New Part 5 is up at the end of Post 1. This is the intro to PID (proportional integral derivative) tuning, how it works in general (any control system), how you can tune it, and some specifics for how TunerStudio uses it. I see a lot of questions out there about this process and people are looking for the magic numbers to make their car perfect. Sort of "this worked for me" type of stuff. So I did this intro so people know where to start and how to adjust the numbers to get what they want and to remove what they don't want from the loop behavior. That way you can get your own perfect numbers as applies to your car.
Pedxing is offline  
Old 03-08-2019, 11:33 PM
  #18  
Newb
 
Dwalk51's Avatar
 
Join Date: Aug 2016
Location: Atlanta, Georgia
Posts: 43
Total Cats: 5
Default

Hey, just watched the whole series. There's lots of useful consolidation of info here that I feel like I had to cobble together in bits and pieces on my own so thank you for putting these together. A couple questions I have after watching part 5 on PID:
  1. are you recommending using EGO to correct AFR at idle? How does that mess with closed loop idle? I've read Brain and and other Miata gurus highly recommend closed loop idle, and I feel like I've also seen somewhere that folks tend to leave EGO disabled in the idle RPM range. It seems like EGO PID and closed loop idle PID might fight each other, or at least interfere with each other's operations since they're both feedback mechanisms feeding into two different control equations.
  2. do you have any suggestions for Intake Air Temperature (IAT) heatsoak? If I sit in my car with it idling for 60 min and mess with my idle settings trying to improve them, my IAT reading slowly creeps up and I believe there's some black magic going on in MS to try to compensate for hotter (read: thinner) air by pulling fuel, thus leaning out my readings until I move around again. This messes with any idle setting changes I make because it becomes difficult to replicate conditions. Maybe, hopefully, this is where EGO could kick in to compensate for false lean readings and closed loop idle could work to manage RPMs based on engine load?
I've spent so many hours messing with MS and trying to improve my idle, it's seriously frustrating to feel like I've got it right after tweaking it for an hour, only to have it idle like **** the next day when I pull up to a redlight. I suspect it's an IAT heatsoak issue, because that's the only thing I can tell is changing over the course of an hour of idling vs driving around with fresh air cooling off the sensor. I'm desperate for a fix, other than setting my idle RPM to 1000, which so far has been the only consistent solution.
Dwalk51 is offline  
Old 03-09-2019, 12:22 AM
  #19  
Junior Member
Thread Starter
 
Pedxing's Avatar
 
Join Date: Jun 2016
Location: Houston, Texas
Posts: 87
Total Cats: 117
Default

Originally Posted by Dwalk51
Hey, just watched the whole series. There's lots of useful consolidation of info here that I feel like I had to cobble together in bits and pieces on my own so thank you for putting these together. A couple questions I have after watching part 5 on PID:
  1. are you recommending using EGO to correct AFR at idle? How does that mess with closed loop idle? I've read Brain and and other Miata gurus highly recommend closed loop idle, and I feel like I've also seen somewhere that folks tend to leave EGO disabled in the idle RPM range. It seems like EGO PID and closed loop idle PID might fight each other, or at least interfere with each other's operations since they're both feedback mechanisms feeding into two different control equations.
  2. do you have any suggestions for Intake Air Temperature (IAT) heatsoak? If I sit in my car with it idling for 60 min and mess with my idle settings trying to improve them, my IAT reading slowly creeps up and I believe there's some black magic going on in MS to try to compensate for hotter (read: thinner) air by pulling fuel, thus leaning out my readings until I move around again. This messes with any idle setting changes I make because it becomes difficult to replicate conditions. Maybe, hopefully, this is where EGO could kick in to compensate for false lean readings and closed loop idle could work to manage RPMs based on engine load?
I've spent so many hours messing with MS and trying to improve my idle, it's seriously frustrating to feel like I've got it right after tweaking it for an hour, only to have it idle like **** the next day when I pull up to a redlight. I suspect it's an IAT heatsoak issue, because that's the only thing I can tell is changing over the course of an hour of idling vs driving around with fresh air cooling off the sensor. I'm desperate for a fix, other than setting my idle RPM to 1000, which so far has been the only consistent solution.
It is possible for ego and closed loop idle PID to fight each other or for one to mask problems with the other, but really they should compliment each other because they handle two different things. The idle PID closed loop is for reaching target rpm quickly with no occilation. Ego is for reaching target afr quickly with no occilation. Idle closed loop has a couple of tools to get to the rpm, iac and timing control (if enabled). Both can hide a problem with fuel because fuel and air and timing are linked.

So sometimes it can be good to tackle one at a time. Leave ego off until your fuel table and idle settings are good. Then enabling and tuning EGO with PID will allow the car to deal with external factors like temp or loads. Keeping the afr in the right range that the engine likes at idle then improves the idle rpm control keeping it stable and making it easy to maintain the afr. It's a beautiful thing.

Fun fact, when closed loop is on, it's always using PID control. The "basic" mode is PID but with the p and I locked to a default value.

For the iat, the above can help a lot. However good placement and shielding is also very helpful. I have mine placed inside a heat shield and also on the opposite side of the intake tubing from the exhaust. For turbo the best place is tapped into the cold side pipe or end tank itself of the intercooler, in front of the radiator. Very little heat soak there.
Pedxing is offline  
Old 04-30-2019, 11:12 AM
  #20  
Junior Member
 
rrjwilson's Avatar
 
Join Date: Aug 2008
Posts: 390
Total Cats: 1
Default

I'm attempting to create the custom dashboard.
I have the same Tuner Studio version (3.0.28) and my MS3 basic has firmware version (1.4.1) is the same as yours BUT i am unable to obtain Idle VE table or the Closed Loop Idle initial values.

Why is this?

Currently I am simply sticking with the Fuel VE table, making it much larger and so the bottom left corner is very "visible".

Would like to flag this series of videos too.
Uses MLVHD to tune and show tricks and tips it is immensely informative.
Hand tuning fuelling is wonderfully clear but it feels too clear. He explains it and you just get it which makes you suspicious that there is something he is missing out due to being so experienced.

Last edited by rrjwilson; 05-02-2019 at 05:38 AM.
rrjwilson is offline  


Quick Reply: The Newb Friendly Tuning Guide



All times are GMT -4. The time now is 03:24 PM.