I'm not much a mathematics smartie-pants unfortunately. I mean, if I come across a formula and can translate the vocabulary, I can usually understand it but I'm not typically able to roll-my-own.
The stock Motronic 1.something in my old 5-series uses two VR sensors on the flywheel - one counts the 114 (116? Can't recall - it's an odd count) teeth and the other a single TDC(ish) pin. I've adopted a 60-2 pulley and sensor for the pending MS2 install and have been looking at everything I could remove going forward. However, it seems a shame to remove the makings of a perfectly good flywheel speed / accel / decel measuring system. Combined with the cam-driven single-tooth sensor required on the MS2 for COP and something to process it all, these sensors should be able to identify a specific cylinder on misfire. In a perfect world, it might be useful in combination with other sensors (IE per cylinder exhaust temp) to compare ignition and mixture specifics per cylinder (IE a faster or slower rate of acceleration from the point of ignition on that cylinder).
Does anyone have any insight into what the math might look like in the firmware?