Patent attributes
A magnetic field sensor for detecting motion of an object includes magnetic field sensing elements to generate at least two phase-separated magnetic field signals and a processor including a vector angle generator to generate vector angle values as a function of the magnetic field signals and a vector angle comparator to generate a comparator output signal indicative of a difference between a plurality of vector angle values. An output signal generator responsive to the comparator output signal is configured to generate a sensor output signal indicative of a one or more conditions of motion of the object including: an absence of normal rotation, a direction change, and a vibration. In some embodiments, the vector angle comparator may generate a comparator output signal indicative of a comparison of a vector angle value and one or more threshold values. In this case, the output signal generator may be configured to generate a sensor output signal indicative of a speed of motion and/or a position of the object.