Page 1 of 1

MAP sense algorithm.

Posted: Thu Feb 06, 2014 2:55 am
by abecedarian
Thought I'd post something I'd mentioned elsewhere.

During first cranking, i.e. after a reset / power outage or whatever, over two known 'complete' revolutions, the ECU samples the map sensor at every tooth detect event on the flywheel. It then determines where the MAP reading is highest, as in most vacuum and stores that crankshaft angle. It then sets a "window" of 15-20 degrees before and after that crankshaft position where it performs a sample and smooth function of those 30-40 samples to arrive at a close approximation of what the ECU should use for calculations. These windows would be stored in eeprom for future reference so this would only have to be done once, or if the ECU detects the values are out of the range previously set. Following the initial setup, the ECU would not perform this test again, unless it is hard reset, as in after a firmware upgrade or forced by the user.

I haven't thought much about it since then, but it seemed plausible at the time, and in context.

Re: MAP sense algorithm.

Posted: Thu Feb 06, 2014 12:23 pm
by AndreyB
Our current implementation uses user-defined averaging start angle and duration angle, but there is also a feature of showing the MAP graph (within one shaft revolution) on the console

Re: MAP sense algorithm.

Posted: Thu Feb 06, 2014 1:51 pm
by abecedarian
So... basically what I suggested?
:oops:

Does it allow that, and correlate 'peak vacuum' crank angles on per cylinder basis?