MS Labs - Miata Accessories info@mslabs.gr - Custom Megasquirts for your miata

Custom firmware modifications

 
Thread Tools
 
Search this Thread
 
Old 02-13-2011, 02:50 PM
  #1  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default Custom firmware modifications

After driving my car more than a full year on MS2, there are several issues that I wanted to correct, since I am a programmer and I have the source code, I fixed them myself.

Issue number one: You are driving and coast down. As you approach the idle region, the MS enters closed loop idle, and if you actually don't put the tranny in neutral or press the clutch in, the MS will try to maintain your idle speed, thus keeping the car moving and increasing the idle valve duty cycle to really high numbers...put it into neutral and you find yourself idling at 2500rpm or more.

So I connected the clutch & neutral switch to the PE1 input (switch tables) and changed the firmware to prevent the MS from entering closed loop idle if you are not in neutral and not pressing the clutch.

Watch for the "TRANS ENG" indicator. When it goes green, it means that either the tranny is in neutral or the clutch is pressed, thus allowing the code to enter closed loop idle.



Issue number two: When you heatsoak like I do in city traffic, you need to apply non-linear IAT corrections in low load/low rpm areas. Unfortunately the stock MS2 3.1.0 firmware applies this correction under all circumstances, whereas the older MS1 firmware did provide a way to taper down as the RPMs rise. So once again, I modified the code to do this.

Watch the lower right "Gair" gauge. As I increase the RPMs, the Gair is reduced to normal (ideal gas law) Gair value.



I've been testing the first modification for quite some time and it works really well, I did a first test of the second just today and though it does work, the non-linear corrections still need to be there beyond my hardcoded 2100rpm...I'll try 2500rpm and see where that takes me.
Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 02-13-2011, 02:55 PM
  #2  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

OMG I can't wait
You are truly awesome Dimitris.
If you want to test anything on any US cars I'll be your guinea pig
18psi is offline  
Leave a poscat 0 Leave a negcat
Old 02-13-2011, 04:37 PM
  #3  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

You deserve a bowdown Reverant. I would love to be intelligent to 'do' things like that.

Will you be making the code available for us numptys to use?
richyvrlimited is offline  
Leave a poscat 0 Leave a negcat
Old 02-13-2011, 04:44 PM
  #4  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

I never had #1 issue after I simply lowered the RPM in which PID is active.

#2 is cool.
Braineack is offline  
Leave a poscat 0 Leave a negcat
Old 02-13-2011, 04:51 PM
  #5  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Code will be made available once its tested out ok. #1 requires hardware mods (connect clutch and neutral switch to PE1), #2 does not. I had to delete some features (MAF, N2O, EAE) to make room for #2 as the processor flash memory is full.
Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 02-18-2011, 08:03 AM
  #6  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

More custom firmware awesomeness...

Different idle speeds if you have the A/C engaged! So you can idle at 800rpm without the A/C on, switch on the A/C and it will go to 1000rpm. It works on the bench, I need to test it on the car.

This is getting addictive!
Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 02-19-2011, 06:29 PM
  #7  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Good we need a clever bastard like yourself to keep the MSII relevant.

The fact it's semi MX5 based mods is all the better
richyvrlimited is offline  
Leave a poscat 0 Leave a negcat
Old 02-28-2011, 07:11 PM
  #8  
Asx
Junior Member
iTrader: (1)
 
Asx's Avatar
 
Join Date: Nov 2007
Location: Huntsville, AL
Posts: 78
Total Cats: 3
Default

Any progress? I'm extremely interested in the Gair compensation. This is /the/ reason I regret not getting the 12 tooth crank trigger and running a MSI
Asx is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 03:18 AM
  #9  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

It works all right. I plan on removing anything that seems to be out of place for a miata (several trigger wheels, nitrous, MAF) to make room for more features.
Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 03:40 AM
  #10  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Ahhh I (seriously) daydearm about being able to do stuff like that.

Keep up the great work Reverant
richyvrlimited is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 11:51 AM
  #11  
Elite Member
iTrader: (3)
 
skidude's Avatar
 
Join Date: Apr 2008
Location: Outside Portland Maine
Posts: 2,023
Total Cats: 19
Default

That's really cool, I'm just jealous I'll never be able to use it with MS3.
skidude is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 01:37 PM
  #12  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

I am really interested to see and use this with my DIYPNP...
Zaphod is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 01:50 PM
  #13  
Senior Member
iTrader: (2)
 
musanovic's Avatar
 
Join Date: Aug 2007
Location: North Cackalackey
Posts: 707
Total Cats: 2
Default


Way to go D.
musanovic is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 05:00 PM
  #14  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

A little patience goes a long way. I want to give these to a few locals here to test them out as well first...it will be a lot easier to debug locally than over the interwebs.
Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 05:43 PM
  #15  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Any ETA? (not being pushy, just curious)
18psi is offline  
Leave a poscat 0 Leave a negcat
Old 03-01-2011, 06:01 PM
  #16  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Said two first mods are already done. These two (clutch/neutral and IAT corr) are already on my car.

I *LOVE* the clutch/neutral modification. I can let the car in gear in slooowly moving traffic in 2nd/3rd gear and it moves without touch the throttle, and at the same time the CL Idle doesn't activate which means you won't find yourself with a 2k idle once you go in neutral. Also if you frequentuly find yourself with a 1500/1800rpm idle without knowing why...this will probably fix it. I used to have this issue, and I've NEVER had it eversince I did this mod. Hardware mod is required but its easy.

I really haven't stress tested the IAT corrections as I can't find a suitable place to WOT test it during the day where I move to the shop and back (roads are busy). The IAT correction value may need to be readjusted so I would like to be able to provide a suitable value.

I still haven't modified my own ECU for the A/C system (yes, a hardware modification is required). I will once a find some free time (lol), but it does work (I tested it on a spare ECU I had laying around). I want to completely change the way the current A/C scheme works in light of this.
Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 03-06-2011, 05:51 PM
  #17  
Junior Member
 
ampz's Avatar
 
Join Date: Mar 2006
Location: Sydney Australia
Posts: 138
Total Cats: 0
Default

These 3 functions are the ones IMO that will make an MS not just better but great in the miata.

The car drives good as it is, but the a/c and stop/go cruise do remind you that it is a modified ecu. Tuning gets close to ironing it out, but you can still tell.

Originally Posted by Reverant
Said two first mods are already done. These two (clutch/neutral and IAT corr) are already on my car.

I *LOVE* the clutch/neutral modification. I can let the car in gear in slooowly moving traffic in 2nd/3rd gear and it moves without touch the throttle, and at the same time the CL Idle doesn't activate which means you won't find yourself with a 2k idle once you go in neutral. Also if you frequentuly find yourself with a 1500/1800rpm idle without knowing why...this will probably fix it. I used to have this issue, and I've NEVER had it eversince I did this mod. Hardware mod is required but its easy.

I really haven't stress tested the IAT corrections as I can't find a suitable place to WOT test it during the day where I move to the shop and back (roads are busy). The IAT correction value may need to be readjusted so I would like to be able to provide a suitable value.

I still haven't modified my own ECU for the A/C system (yes, a hardware modification is required). I will once a find some free time (lol), but it does work (I tested it on a spare ECU I had laying around). I want to completely change the way the current A/C scheme works in light of this.
ampz is offline  
Leave a poscat 0 Leave a negcat
Old 03-07-2011, 05:37 PM
  #18  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

I did the A/C mod on my own ECU today, after swapping the MS3. Watch how the "target RPM" gauge on the lower left changes from 800rpm to 1000rpm when I press the A/C button.

Reverant is offline  
Leave a poscat 0 Leave a negcat
Old 03-07-2011, 05:48 PM
  #19  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

I want this and the AIT corrections mod. You have this in a MS3 firmware package?
Braineack is offline  
Leave a poscat 0 Leave a negcat
Old 03-07-2011, 05:53 PM
  #20  
Elite Member
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

MS3? Aaaah, the great mystery that is the MS3. Well, you see, the MS3 firmware isn't open source yet....I begged for the source on the msextra forum, so that I could add a second "thermo" fan option, but alas, I felt like shouting in the desert.
Reverant is offline  
Leave a poscat 0 Leave a negcat


Quick Reply: Custom firmware modifications



All times are GMT -4. The time now is 11:06 AM.