主权项 |
1. A magnetic field sensor, comprising:
a plurality of magnetic field sensing elements configured to generate at least one magnetic field signal indicative of a magnetic field associated with an object; and a first state processor, the first state processor coupled to receive a signal representative of a first one of the at least one magnetic field signal, wherein the first state processor comprises:
a first state logic module configured to generate a first STATE_SM signal indicative of a first plurality of states associate with the first one of the at least one magnetic field signal, wherein the first plurality of states is indicative of a respective range of signal values of the first one of the least one magnetic field signal, wherein the first STATE_SM signal comprises a respective plurality of state transitions capable of respective state transition chatter, wherein the first state logic module is further configured to generate a first two-state POSCOMP signal having first and second different state transitions that occur when the first STATE_SM signal is representative of respective first and second states; anda first state peak logic module coupled to receive the first STATE_SM signal and configured to generate a first STATE_PEAK signal, wherein the first STATE_PEAK signal comprises a respective plurality of state peak transitions having respective reduced state chatter, wherein the magnetic field sensor further comprises: a vibration processor coupled to the first state processor, the vibration processor comprising:
a POSCOMP validation processor, wherein the POSCOMP validation processor is coupled to receive a first plurality of test results associated with a first plurality of tests and to set a state of a POSCOMP_OK flag signal if selected ones of the first plurality of test results is indicative of a respective passing condition, wherein the set POSCOMP_OK flag signal is indicative of the first POSCOMP signal being valid. |