Patent ID: 8390273

Claim:
An apparatus comprising: a power terminal; sensing circuitry that is coupled to the power terminal, wherein the sensing circuitry receives a plurality of sensor signal pulses through the power terminal, wherein the sensor signal pulses are in the current-domain; a state machine that is coupled to the sensing circuitry, wherein the state machine and sensing circuitry compare a sensor signal pulse of the plurality of sensor signals pulses to a plurality of thresholds to generates first control signal and a second control signal; a pulse width counter that is coupled to the state machine, wherein the pulse width counter determines a width of the sensor signal pulse based at least in part on at least one of the first and second control signals; a error counter that is coupled to the state machine, wherein the error counter determines an error in the width of the sensor signal pulse based at least in part on one of the first and second control signals; and a pulse width calculator that is coupled to the pulse width counter and the error counter, wherein the pulse width calculator determines a speed pulse width by removing at least a portion of the error from a pulse width count.