The Engine Control Module (ECM) monitors the crankshaft position sensor to detect minute fluctuations in crankshaft angular velocity during each power stroke. If the expected acceleration from cylinder 2 falls below a calibrated threshold within a specific window of engine revolutions, a misfire is recorded. The logic differentiates between emissions-impacting events and those capable of causing immediate hardware degradation.