M42club.com - Home of the BMW E30/E36 318i/iS

DISCUSSION => Engine management => Topic started by: 16v of Fury on July 21, 2007, 12:47:48 PM

Title: Will The Stock ECU Adapt to ITB's?
Post by: 16v of Fury on July 21, 2007, 12:47:48 PM
If you were to just mount a set of ITB's in place (say, a Dbilas kit) and try to fire it up, would the stock ECU adapt over time to the ITB's...?

Or do you REALLY have to go the extent of starting from scratch with Megasquirt... ?
Title: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on July 21, 2007, 05:56:37 PM
Nope, won't work.  The only adapting it does is through the O2 sensor input, and that only has an effect on fueling via the Long Term Fuel Trim (which is basically a scaling factor that effects all fuel bins).  The E36 one had knock sensors which can cause changes in the ignition timing, but the car will never tune itself for performance so to speak.  Sorry to bring bad news, but custom software or a stand-alone is needed here.
Title: Will The Stock ECU Adapt to ITB's?
Post by: 16v of Fury on July 21, 2007, 06:50:03 PM
Where can I get a custom chip made for ITB's, any idea?
Title: Will The Stock ECU Adapt to ITB's?
Post by: DutchM42 on July 22, 2007, 07:08:49 AM
Rolling-road only.
Title: Will The Stock ECU Adapt to ITB's?
Post by: 16v of Fury on July 22, 2007, 10:15:34 AM
Anyone know a good place in NY to do that?
Title: Will The Stock ECU Adapt to ITB's?
Post by: dino245 on July 23, 2007, 09:55:24 AM
The stock ECU does not have the resolution or speed to calculate the required fuel for a set of ITB's. I am doing a set and switched to a Haltech for the added flexability and control to run ITB's. Dont waist your time, do it right or dont bother you will just get frustrated.
Title: Will The Stock ECU Adapt to ITB's?
Post by: Boyracer on July 23, 2007, 04:34:27 PM
Quote from: dino245;30157
The stock ECU does not have the resolution or speed to calculate the required fuel for a set of ITB's. I am doing a set and switched to a Haltech for the added flexability and control to run ITB's. Dont waist your time, do it right or dont bother you will just get frustrated.


Can you elaborate about the resolution and speed issue? What is actually the issue?

I would think ITB's would be a problem if they are bike type ie. they let lots of air in with just small throttle opening. Then the change might be too sudden compared to number of bins available.

But M3's with ITB ran with a Motronic too. Maybe they had more bins etc. But what I have learned, ITB's should not be a problem with Motronic, provided that it is properly programmed (custom chip). But I'm happy to learn more about this :)
Title: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on July 23, 2007, 05:02:32 PM
The issue is not even so much about the number of bins and response time of the Motronic.  The issue is more in the control algorithm.  The "learning" that the Motronic does is pretty rudimentary.  It does not modify its ignition timing maps (which is very much necessary when making major physical changes), and the fueling changes are ONLY applicable in 2 cases:
1) When in closed-loop running mode (when thrittle is less than ~85% I believe and/or under 4000RPM).  This is known as the short-term fuel trim.  It is the instantaneous fueling correction applied via O2 sensor feedback, and will only target an stoichiometric AFR since that is the ONLY thing our stock O2 sensor can do accurately.
2) It can apply a general scaling factor to fueling (a single constant scaling factor over the whole range of bins, not a one that varies with respect to anything other than the present fuel injection rate).  This is known as long-term fuel trim.  It comes from some basic "learning" based upon long-term trends in the O2 sensor input versus the initial bin settings.  It takes at least a couple hours of driving to get set from my experience.

So, neither of these Motronic functions can account for something like an ITB setup.  Even if the fuel could somehow be done properly by adaptation, the ignition timing would still be way off.  Even in the E36 the ignition timing would not be right, regardless of the knock sensors.  The knock sensors were more for protection against crappy gas being used on the relatively high compression M42.  The Motronic there starts with base ignition timing values, and will only retard them when knock is sensed.  It will not keep pushing them to extremes and use the sensors to tune for performance...the ignition will only get retarded by them.

So there!  I guess that would be the full explanation.  My recommendation is to go stand-alone.  Megasquirt, or Motec or Haltech systems.  The latter 2 are $$$ comparatively though.  Either way, expect to spend a good year messing with it and a TON of $ tuning it.  Also, shave your head first and spare yourself the pain of pulling all your hair out lol.

JK it is not THAT bad.  Well, maybe it is.
Title: Will The Stock ECU Adapt to ITB's?
Post by: MarkD on July 23, 2007, 05:38:12 PM
Quote from: dino245;30157
The stock ECU does not have the resolution or speed to calculate the required fuel for a set of ITB's. I am doing a set and switched to a Haltech for the added flexability and control to run ITB's. Dont waist your time, do it right or dont bother you will just get frustrated.

:confused:   :rolleyes:

I don't see any reason that you can't use ITB's on this motor and tune the Motronic to run it.  The s14's and s38's use a similar cpu and they run a Motronic.   Build an airbox to feed the ITB's, put an AFM or MAF ahead of it.

If you were in Canada, I'd tune it for you.
Title: Will The Stock ECU Adapt to ITB's?
Post by: 16v of Fury on July 23, 2007, 09:33:40 PM
I'm talking about a set of the Dbilas ITB's --- they already have an airbox and are a "bolt-on" item.

Do you have an M42 there in Canada to play with, Mark... ?
Title: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on July 23, 2007, 09:39:36 PM
Quote from: MarkD;30188
:confused:   :rolleyes:

I don't see any reason that you can't use ITB's on this motor and tune the Motronic to run it.  The s14's and s38's use a similar cpu and they run a Motronic.   Build an airbox to feed the ITB's, put an AFM or MAF ahead of it.

If you were in Canada, I'd tune it for you.


Tuning the Motronic is a black art that precious few people have managed to figure out.  I sure as hell have not (though I suppose a year or 2 of decompiling & studying everything might help).  I would venture to guess that having the Motronic chip tuned would run someone as much as a proper stand-alone.  Doing it with the Motronic is sweet because you can forget about rewiring things and keep it all OEM-ish.  The stand-alone is beneficial because you can tweak whatever you want yourself.  Pick your poison, I suppose.

Off-Topic:
Mark, how did you go about finding the maps & checksums in there?  I have EPROM dumps, but since all the program code is on there as well as the maps it is like finding a needle in a haystack (for someone like me who does not quite know what the data stacks look like in there).  Care to give some general pointers about the way the maps are laid out?  I HEAR that the first byte is the output variable, the next is the number of bins/columns per row, then the x-axis input variable, Y-Axis # of rows, Y-axis variable, and then the values.  Something like the last data value is representative of the highest RPM (for instance) and each one before it is an offset that is subtracted?  I understand the need for protecting your own hard work, so no hard feelings if you prefer to keep it under wraps.  I hear that the competition in the chip tuning world is insanely fierce.

One other question for ya...I am guessing you have done more than just reverse engineer the map portions.  Since you have mentioned MAF conversions, I would imagine you have rewritten the program code to disregard the IAT thermistor and just take in the MAF voltage and skip the conversion from volume flow to mass flow rate (mmmm, direct load input without additional math)?  As much as I have done my share of microcontroller programming, wading through the like 32K of instructions must have been a nightmare!  Kudos to you!
Title: Will The Stock ECU Adapt to ITB's?
Post by: Boyracer on July 24, 2007, 05:46:19 AM
Quote from: bmwman91;30184
So there!  I guess that would be the full explanation.  My recommendation is to go stand-alone.  Megasquirt, or Motec or Haltech systems.  The latter 2 are $$$ comparatively though.  Either way, expect to spend a good year messing with it and a TON of $ tuning it.  Also, shave your head first and spare yourself the pain of pulling all your hair out lol.


Yeah, I was not expecting Motronic to fully learn to run with ITB's by itself but I could not to see any reason why it could not be programmed to work with them in M3 stylee :)

Anyways, long and short term trim explanations were new for me... I thought Motronic would trim fueling on bin basis. Thank you for the explanation! :eek:

My current plan is to take the car on rolling road where new custom chip is created. Price is around 70€ / hour and provided that there is no need for performing engine adjustments it should be few hour job.

Plus side for custom chipping motronic is keeping the OEM feel I like, which I think might be even required to pass finnish inspections (you cannot change ECU or it is compared to engine swap). Also, no hassle with cabling.

Aftermarket ECU would allow tuning by miself after modifications... And Alpha-N would be easy to implement :)
Title: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on July 24, 2007, 10:31:43 AM
Quote from: Boyracer;30255
Yeah, I was not expecting Motronic to fully learn to run with ITB's by itself but I could not to see any reason why it could not be programmed to work with them in M3 stylee :)

Anyways, long and short term trim explanations were new for me... I thought Motronic would trim fueling on bin basis. Thank you for the explanation! :eek:

My current plan is to take the car on rolling road where new custom chip is created. Price is around 70€ / hour and provided that there is no need for performing engine adjustments it should be few hour job.

Plus side for custom chipping motronic is keeping the OEM feel I like, which I think might be even required to pass finnish inspections (you cannot change ECU or it is compared to engine swap). Also, no hassle with cabling.

Aftermarket ECU would allow tuning by miself after modifications... And Alpha-N would be easy to implement :)


Glad the explanation helped.  Now, this is based off of some first hand observations and a Bosch fuel injection handbook, so Mark should let me know if I am incorrect lol. :p

Hopefully the expert you are with can do it that quickly.  Getting the ignition timing AND fueling set properly is no easy task.  They are sorta inter-related.  You might get the fueling set ideally with the ignition not quite ideal, then when you adjust the ignition more to where you want it, the fuel maps will no longer be ideal, adjust those, then need to adjust ignition again, and so on.  From what I have experienced, it is an iterative process.  An expert should be able to get it running smoothly in a couple hours, but getting the maximum power out of it will cost you a lot of money.  I think the usual cost is said to be ~$1000US (~725€) in tuning for a fully-custom chip.

I completely agree with you about the benefits of keeping things as stock as possible (minus the ITB's of course!).  The Motronic is a very robust platform, and if you can work with it then life will be much easier.  You get to keep the fault diagnostics, the gauge control and all the stock sensors (or new ones if you want to change those bins as well).
Title: Will The Stock ECU Adapt to ITB's?
Post by: nuvolarossa on July 24, 2007, 04:16:25 PM
bmwman91, do you have the original map of your 318is motronic? maybe I can have some info about locations for timing maps and fueling of oem motronic and can help this forum a bit...
Title: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on July 24, 2007, 08:37:05 PM
As it turns out, I DO.  It is online even, in a .TXT file with the data in HEX format.  I tried using a demo of WinOLS and it did not help me TOO mcuh, but I was also too busy at work to dedicate much time to it lol.

Anyway, here it is:
http://www.e30tuner.com/M42Bins/M42STHEX.TXT
Title: Will The Stock ECU Adapt to ITB's?
Post by: badboypolar on July 24, 2007, 10:05:47 PM
Is that dump from the ROM in the ECM?
Title: Will The Stock ECU Adapt to ITB's?
Post by: DutchM42 on July 25, 2007, 03:07:28 PM
Quote from: 16v of Fury;30225
I'm talking about a set of the Dbilas ITB's --- they already have an airbox and are a "bolt-on" item.

Do you have an M42 there in Canada to play with, Mark... ?


These Dbilas ITB's are combined with a remap of the ECU by Dbilas on their rolling road. Or if you want to install them yourself find yourself a chiptuner and a rolling road. A friend of mine had these ITB's installed by Dbilas and it runs great.
Title: s14 ecu
Post by: ScreamerBeemer on August 25, 2007, 10:28:29 PM
So, I my mind got to wondering, which it does alot, how easy do any of you think an s14 ecu work with an m42 with ITB's? Similar sized motors and the itb's are factory on the s14. I know nothing much about the s14. I figured its a good question for some of you beemer gurus.
Title: Will The Stock ECU Adapt to ITB's?
Post by: BrandC on August 26, 2007, 06:34:04 PM
Quote from: ScreamerBeemer;32476
So, I my mind got to wondering, which it does alot, how easy do any of you think an s14 ecu work with an m42 with ITB's?


It's not going to be easy or beneficial to use S14 engine management. Better to just go stand-alone, Megasquirt if anything.
Title: 1000 words.
Post by: D. Clay on August 26, 2007, 07:09:27 PM
(http://www.m42club.com/forums/attachment.php?attachmentid=1381&d=1185513620)
Title: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on August 26, 2007, 07:31:39 PM
Quote from: D. Clay;32525
(http://www.m42club.com/forums/attachment.php?attachmentid=1381&d=1185513620)


Sheepdog, we need a crazy drooling smiley, stat.
Title: Will The Stock ECU Adapt to ITB's?
Post by: e30s4evr on August 26, 2007, 07:46:28 PM
This picture has been my screensaver for months now!
Title: Will The Stock ECU Adapt to ITB's?
Post by: Mannix on August 26, 2007, 09:50:06 PM
I don't get why the car would care if the throttlebody/plenum manifold were replaced with ITBS which have a plenum.  

The MAF tells the motor how much air goes in, TPS is doing it's thing, O2/coolant/crank/cam sensors doing their thing.  

Would it likely be BETTER after optimizing the maps for the shorter runners?  Sure.  Would it run?  I can't think of why it'd NOT run - air in, fumes out, shrug, dunno.

The motor does not know if there are ITBs or a single tb/plenum - it'd change some dynamics at certain parts of the rev range, ehhhh, I think it'd work fine.



Iain
Title: Will The Stock ECU Adapt to ITB's?
Post by: Boyracer on August 31, 2007, 03:57:06 AM
Quote from: Mannix;32539
I don't get why the car would care if the throttlebody/plenum manifold were replaced with ITBS which have a plenum.  

The MAF tells the motor how much air goes in, TPS is doing it's thing, O2/coolant/crank/cam sensors doing their thing.  

Would it likely be BETTER after optimizing the maps for the shorter runners?  Sure.  Would it run?  I can't think of why it'd NOT run - air in, fumes out, shrug, dunno.

The motor does not know if there are ITBs or a single tb/plenum - it'd change some dynamics at certain parts of the rev range, ehhhh, I think it'd work fine.


I seem to remember something about acceleration enrichment :confused:

Something to do with the rate of air entering the engine depending on throttle plate angle when quickly pressing throttle pedal or such. There could be constant on ECU for stock throttle body and if you change it to different, there might be problems on acceleration.

So if you change to ITB's which open faster than stock throttle body, quickly pressing the throttle pedal might cause AFR to go lean because ECU is not injecting enough extra fuel compared to air.

Someone correct me if I'm talking bollocks :D
Title: Will The Stock ECU Adapt to ITB's?
Post by: ose30 on August 31, 2007, 04:58:23 AM
Yes you're more or less right. If you change original TB to ITB Motronic does not know that. So you must rewrite the program also to match ITB's accleration enrichment. Also when you step on it and have WOT function, Motronic jumps to WOT map in the code, so you need to rewrite also that part. More or less the whole code needs to rewrite to match the new setup, if not, more or less problems will occur, but it can be done (has been done) so no need to go megasquirt or similar. In most cases Motronic is the way to go. If you use standalone systems, you got a new hobby, because these standalone systems need a lot of work to operate like original systems does.
Title: Re: Will The Stock ECU Adapt to ITB's?
Post by: Froos on June 09, 2017, 01:08:07 PM
So any new insight on this? Saving for a stand alone ecu and in the time beeing i can only run half throthle
Title: Re: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on June 13, 2017, 01:43:41 AM
Check in with Jay at SSSquid Tuning. I have learned a lot about the Motronic 1.7 and it definitely can run an engine with ITB's. BUT, it needs to be remapped, and you are going to need a professional tuner to do it if you want it to run as well as stock while also making optimal power. Jay should be able to do the required work on the idle, part-throttle and full throttle maps. You can probably get the tune 90% dialed in remotely before needing to think about dyno time.

I am doing a remote tune with him now, which means him sending experimental tunes, me burning them and then collecting run data. At the very least you will want some way to log AFR, so that means a wide-band O2 system that can also emulate the stock O2 sensor for the stock ECU to use (the Spartan Lambda Controller from 14point7 is a good unit). 14point7 also sells slightly more advanced systems which control the wide-band sensor and also log it along with RPM. Ideally you would be logging AFR, EGT and RPM for a remote tune.

Anyway, check out SSSquid tuning. Jay takes his work seriously and knows what he is doing.
Title: Re: Will The Stock ECU Adapt to ITB's?
Post by: Froos on June 15, 2017, 06:12:40 AM
Hey bmwman91, thanks for that! I wonder if it better that getting a standalone unit but defo worth considering, ill check them out
Title: Re: Will The Stock ECU Adapt to ITB's?
Post by: bmwman91 on June 18, 2017, 03:11:59 PM
Stand-alone is probably going to be better in every way in terms of tuning flexibility and modern features. BUT, the hardware will be like 4x the cost of a custom tune, and then you still need a custom tune. Additionally, if you plan to go stand-alone, you would really want to consider integrating a wide-band O2 system, a MAF or MAP sensor, fully sequential injection and then driving the ignition coils would require an external igniter module OR a conversion to VW "pencil" coils since they take a logic-level signal and fit in the M42 head. It would be a ton of work and much of it owuld involve wiring harness mods which take some degree of expertise.

A custom tune is a lot more straightforward. You would probably need to install a wide band O2 sensor for logging, but that is relatively cheap and easy (the Spartan SLC from 14point7 is cheap, and it provides a simulated narrow-band signal for the stock ECU).
Title: Re: Will The Stock ECU Adapt to ITB's?
Post by: Froos on June 19, 2017, 12:21:43 PM
Hello bmwman91. I think finding someone that can tune an old computer is probably expensive.
The system im saving for will have a wideband lamda, ev14 injectors, coil on plugs from vag,and all the sensors needed are already on the car, minus the barndoor. What the guy told me a map or maf sensor in not needed if you have inlet temp sensor. Cables and connectors, and the above (minus injecors) all for 750€