PDA

View Full Version : Disassembly: Lean Spool



Greg E
03-20-2012, 11:52 PM
Got side tracked for a bit while going thru the peripheries tonight. Bit 00 of periphery 1 in the periphery table is labeled as something called Lean Spool.

I like Merlin's description best of what exactly this does.


LEAN SPOOL is a tuning enhancement Mitsubishi employ to reduce the turbo spool time. A gasoline engine will produce hotter exhaust gas and more power at an AFR of 12.5:1 than 10.5:1. It achieves this by running a leaner AFR duing the rapid engine acceleration period than is set-out in the fuel map and in the process produce more torque. All of which results in quicker on-road car.

So when I was peaking thru the code over the weekend tracing down how IPW is calculated I stumbled on this area of the code. There were 4 table references but they pointed to an empty table. Oddly though, there were 2 axis references and they were populated with a header and values! 3 of the tables shared 1 axis with 14 elements and the 4th had only 7. The unit of measure was RPM.

Well tonight, I stumbled across this area of code again tracing periphery 1. Digging deeper into the logic, it came very clear what exactly this section of code was doing. Brought out the DSM disassembly and sure enough, the logic is identical! Lean Spool!

Enabling bit 00 alone won't do anything. Just lag the processor unnoticeablely slightly as it reads thru this code, goes to the empty table look up and adds 0 to its IPW calculation.

So what I did was create 4 tables in open memory, link them into the code and populate their values. Here's the result.

http://i.imgur.com/c4XNo.jpg

Lean spool starts at 3000rpms and stops at 6000rpms. These were the values already programmed in memory. It's best to edit these values to match when your turbos first start to spool. The default value in the code is 3000rpms, but on most TD04 turbos, you might want to set this to closer to 2200rpms. I don't see any point in editing the coolant value.

The Lean Spool Load table is the point above which lean spool will activate. Again, since these values are tuned for the more laggy TD05 turbos, you might want to drop them to something more conservative. My stock 98 sees 1psi at about 75-80 load in 3rd gear WOT.

The Lean Spool AFR table is how much leaner your AFR will be off the High Octane fuel table. If you want to run .5 AFR leaner, then set the AFR in this table to .5 AFR leaner than the AFR in your fuel table. I wouldn't go past 14.7 unless you enjoy playing with fire.

The Lean Spool Trailing Time - Rich Side table controls the time of Lean Spool operation through the RPM band. The units you see in the table are how long it will take to return to the normal High Octane fuel map. You'll have to play around with this to see what works best for you. The values populated here are the stock DSM values.

The Lean Spool Trailing Time - Lean Side table controls the time to go from the High Octane table to the Lean Spool AFR table. Again, these are the stock DSM values.

There are a couple other values not pictured. One is the AFR MAX value (16.1 by default) and the other is the AFR Enable value (13.0 by default). These are self-explanatory.

To be honest, with TD04's (especially the billets!!) spool is so fast, this feature probably isn't necessary and might be better off left disabled. I'll play with it on my car for a bit and post results.

You TD05 and bigger guys though will probably love this feature! It's the next best thing to VVT.

Toni
03-21-2012, 12:04 AM
Wow neat find! Man the more work you do the more I wish I went back in time as a fly (well invisible human would be better) in the design room for these ECUs.

Greg E
03-21-2012, 12:07 AM
Wow neat find! Man the more work you do the more I wish I went back in time as a fly (well invisible human would be better) in the design room for these ECUs.

Just get me the higher level source code this was written in and I'll reward you very handsomely!!!!

J. Fast
03-21-2012, 12:08 AM
Very old trick, nice to see it can be implemented in a flash. That's how I spool em up. I always get asked about my lean dip at 3500, "you've got a lean spot there ...look at the AFR hump on the logs". Now you know. Pretty cool you can crack code Greg, that's proscribed for me, I can't stare at code all day, not for me.

Greg E
03-21-2012, 12:11 AM
Very old trick, nice to see it can be implemented in a flash. That's how I spool em up. I always get asked about my lean dip at 3500, "you've got a lean spot there ...look at the AFR hump on the logs". Now you know. Pretty cool you can crack code Greg, that's proscribed for me, I can't stare at code all day, not for me.

I lost my girl last week because she gave up trying to pry me away from the computer. True story! :lol:

HLxDrummer
03-22-2012, 12:20 PM
Alright, I got a question. What would be the difference between doing this and just leaning out a portion of the high octane map? If it is airflow based, it would be the same thing right?

Greg E
03-22-2012, 12:54 PM
Your fuel table.is just your base table with numbers in it. If you tuned the fuel table.for lean spool, you're only tuning for the same driving condition. Say foot to the floor in 3rd at 2000 rpms. In order for you to take full advantage of your newly tuned fuel table, you would have to start at 2000rpm in 3rd.

Let's be honest, in a drag race application, that's not going to work. When you're road coursing, you're constantly changing gears and throttle so that won't do much good either. When you're driving on the streets, your right foot behavior always changes.

The lean spool code is programmed to know when you're punching it and you tune the timer parameters and intensity of it. It'll do the math for you so that you will get lean spool in any driving conditions any time.

Toni
03-22-2012, 01:06 PM
Can that paralleled to us tuning with piggy backs and having issues with partial throttle, varying rpm etc?

Greg E
03-22-2012, 01:24 PM
Can that paralleled to us tuning with piggy backs and having issues with partial throttle, varying rpm etc?

Nope. The bit to enable this section of code is disabled. Even if it was somehow turned on, the tables the code references are blank. I had to create them then point the code to them in order to get it to work.

striker2
06-01-2013, 12:22 AM
I know its old but does anybody have any results from using lean spool yet?

KeithMac
06-01-2013, 03:32 AM
Thanks for confirming it is off in the stock code, that was another question I had for you!.

Very helpfu posts Greg, keep them coming!.

Greg E
06-01-2013, 09:21 AM
Thanks for confirming it is off in the stock code, that was another question I had for you!.

Very helpfu posts Greg, keep them coming!.

If you got time, click on my user name and do a search for all threads started by me. You'll be over-whelmed by all the info. :)

KeithMac
06-01-2013, 01:57 PM
Yeh I've already read through quite a lot of them!, makes tuning my lowly 1st gen a lot easier knowing what its trying to do at what point!.

Sounds like the platform has finally found a good tuning solution without having to go standalone and all the problems that entails.

Greg E
06-01-2013, 05:34 PM
Wish I would have figured all this out years ago.... Probably be rich right now.

NOMIEZVR4
08-06-2013, 08:09 PM
Is lean spool disabled by default in v2? Under bit1 chrome mod lean spool is disabled by default...

And if its not, then how should I disable it? Thanks :)

Greg E
08-06-2013, 10:37 PM
Yes it's disabled by default.