ECM Tuning
First, it took me a while to understand that the auto industry appears to have borrowed conventional terminology but completely misapplied it, so I was confused until I realized this. Terms like PID, histogram, etc are not remotely the same in the rest of industry. And the use of terminology is inconsistent. for example tuning and calibration is not the same. But now that I realize that, I have altered my interpretation to suit the auto world.
A significant aspect of tuning is actually calibration, primarily the MAF. Meaning the initial effort is to achieve an accurate calibration of mass air flow measurement by running the engine across the full range of flow, and correcting the results based on measured O2. In this manner the desired air:fuel ratio (Lambda) can be achieved via the fuel injectors. So when alternate air:fuel setpoints are being evaluated to provide additional power, it is suggested to alter the calibrated MAF calibration based on the new desired air:fuel to achieve the desired result based on the Lambda measured via O2.
.
This seems very convoluted to me; since the MAF was initially calibrated to assure accuracy, the inability to achieve different desired air:fuel would appear to be most likely associated with imprecise fuel injection, so why is that not also properly calibrated first? Then any new air:fuel ratios can be evaluated without MAF calibration every time.
Given the short and long term trimming of MAF based on O2 measurement, how does this interact with intended tuning?
As you can see there is much I need to learn, and an specifically interested about how this is implemented on the 1996. If you can provide decent references I would appreciate it, as I have been unable to find any via Google.
Anyway, I'm not sure this is helpful for your question, but the PCM file is a only collection of lookup tables. The injector characteristic is an assumption based on average performance of that model injector. If the performance of that injector degrades, how is the PCM to know? A simple feedback loop with the O2 sensor will indicate that something is wrong no matter what the source is, and PCM is able to correct it to a certain point. Obviously a perfect injector calibration set would be best, or even one O2 sensor per cylinder would be great too, but complexity and cost would increase.
Anyway, I'm not sure this is helpful for your question, but the PCM file is a only collection of lookup tables. The injector characteristic is an assumption based on average performance of that model injector. If the performance of that injector degrades, how is the PCM to know? A simple feedback loop with the O2 sensor will indicate that something is wrong no matter what the source is, and PCM is able to correct it to a certain point. Obviously a perfect injector calibration set would be best, or even one O2 sensor per cylinder would be great too, but complexity and cost would increase.
I would be interested in learning your experiences as you progress.





Each time they added better computer chips, they were able to do more. How many of you understand the progression from 8, to 16 to 32 to 64 bit processing ? Each time the chips got
better, the OS's could do more and do it faster.
Each time they added better computer chips, they were able to do more. How many of you understand the progression from 8, to 16 to 32 to 64 bit processing ? Each time the chips got
better, the OS's could do more and do it faster.





Also easier to debug than a very complicated algorithm.
It takes a lot of processing power to do lots of calculations and remember, it has to be dealing with all the other functions, timing, etc.
Those folks were learning also how to do it.
Last edited by drcook; Jan 22, 2020 at 05:53 PM.
The Best of Corvette for Corvette Enthusiasts





We work really hard to make sure our technical training content is 100% on point. The good news is that physics doesn't change, so many of the lessons can applied to any ECU. My books are over a decade old, but still apply to cars rolling off the assembly line today for this very reason. We also have a bunch of video content on our streaming site (see my sig), some of which is even FREE, none of it has ads.
We work really hard to make sure our technical training content is 100% on point. The good news is that physics doesn't change, so many of the lessons can applied to any ECU. My books are over a decade old, but still apply to cars rolling off the assembly line today for this very reason. We also have a bunch of video content on our streaming site (see my sig), some of which is even FREE, none of it has ads.
1. From the factory I assume the ECM is loaded with generic calibrations. You stress that calibration should also lead to smooth response curves such as MAF vs hz but from the factory are these as irregular, unsmooth, hatchy as the examples I typically see? Or is this the result of the long term and short term adjustments done by the ECM?
2. Or is the long term / short term adjustments stand alone loops which do not affect the calibration curves?
3. The calibration example in your book discusses achieving an accurate, smooth MAF relationship based on adjjustments using lambda=1 which is sensible. Later you discuss developing additional horsepower by evaluating richer lambda values, and during that process redefining the MAF curve again to achieve the desired lambda across the the range. On this point I am confused since the first step assured the MAF was accurately calibrated, so it would seem that if a different lambda could not be achieved that this would be associated with an inaccurate level of fuel injection? Why not calibrate the fuel as well, or is that not possible within the ECM?
These and many more questions arise because I have not been able to find a resource which describes how all of these control loops are configured to operate alone and in conjunction with each other ( I personally like flow charts as utilized in typical computer programming). Does this exist, and can you recommend a more detailed resource?
Thanks.... Charlie
You will occasionally see "rough" OEM numbers in things like the PE multiplier because the actual target ratio is calibrated at each point to either LBT or the minimum required for thermal control. This is by law for OEMs, not necessarily what they would prefer. In the performance world, we often smooth this out.
But when you go WOT and target a richer ratio, the same correction method works. If you do this for all points along the MAF curve, some will get corrected when you are at stoich and others during power enrichment, and some in the middle under both conditions. But in the end, it should drive you to one continuous curve. I do all of that with the trims disabled so I can concentrate on the base table(s) without trying to hit a moving target while trims are active. After I'm done, the trims are re-enabled but usually don't move much.Joel






