Custom firmware modifications - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MS Labs - Miata Accessories [email protected] - Custom Megasquirts for your miata

Reply
 
 
 
LinkBack Thread Tools Search this Thread
Old 02-13-2011, 03:50 PM   #1
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 02-13-2011, 03:55 PM   #2
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
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   Reply With Quote
Old 02-13-2011, 05:37 PM   #3
Elite Member
iTrader: (1)
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,658
Total Cats: 39
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   Reply With Quote
Old 02-13-2011, 05:44 PM   #4
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,860
Total Cats: 1,788
Default

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

#2 is cool.
Braineack is offline   Reply With Quote
Old 02-13-2011, 05:51 PM   #5
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 02-18-2011, 09:03 AM   #6
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 02-19-2011, 07:29 PM   #7
Elite Member
iTrader: (1)
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,658
Total Cats: 39
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   Reply With Quote
Old 02-28-2011, 08:11 PM   #8
Asx
Junior Member
iTrader: (1)
 
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   Reply With Quote
Old 03-01-2011, 04:18 AM   #9
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 03-01-2011, 04:40 AM   #10
Elite Member
iTrader: (1)
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,658
Total Cats: 39
Default

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

Keep up the great work Reverant
richyvrlimited is offline   Reply With Quote
Old 03-01-2011, 12:51 PM   #11
Hear me Meow
iTrader: (3)
 
skidude's Avatar
 
Join Date: Apr 2008
Location: Outside Portland Maine
Posts: 1,994
Total Cats: 13
Default

That's really cool, I'm just jealous I'll never be able to use it with MS3.
skidude is offline   Reply With Quote
Old 03-01-2011, 02:37 PM   #12
Senior Member
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,497
Total Cats: 81
Default

I am really interested to see and use this with my DIYPNP...
Zaphod is offline   Reply With Quote
Old 03-01-2011, 02:50 PM   #13
Senior Member
iTrader: (2)
 
Join Date: Aug 2007
Location: North Cackalackey
Posts: 716
Total Cats: 2
Default


Way to go D.
musanovic is offline   Reply With Quote
Old 03-01-2011, 06:00 PM   #14
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 03-01-2011, 06:43 PM   #15
Murderator
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 36,185
Total Cats: 2,582
Default

Any ETA? (not being pushy, just curious)
18psi is offline   Reply With Quote
Old 03-01-2011, 07:01 PM   #16
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 03-06-2011, 06:51 PM   #17
Junior Member
 
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.

Quote:
Originally Posted by Reverant View Post
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   Reply With Quote
Old 03-07-2011, 06:37 PM   #18
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
Old 03-07-2011, 06:48 PM   #19
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,860
Total Cats: 1,788
Default

I want this and the AIT corrections mod. You have this in a MS3 firmware package?
Braineack is offline   Reply With Quote
Old 03-07-2011, 06:53 PM   #20
Supporting Vendor
Thread Starter
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,440
Total Cats: 198
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   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
Fab9Tuning's NC MX-5 Turbo Kit Discussion- EFR/Garrett V-Band FAB Prefabbed Turbo Kits 216 03-22-2017 05:00 PM
Turbo 1995 Miata Low mileage Clean Tekel Cars for sale/trade 29 02-05-2016 05:16 PM
Time to start learning and play with tuning The Gleas MEGAsquirt 3 10-01-2015 10:30 AM
In need of base map for stock 1997 brandonbkd MEGAsquirt 0 09-29-2015 12:52 AM


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



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