Patent attributes
Presented herein is a magnetic field sensor architecture that uses outputs of a peak detector and threshold detector operating in parallel to detect magnetic anomalies that may be associated with the target being sensed, e.g., a rotational ferromagnetic object such as a toothed gear, and use such detection to prevent sensor malfunction. The sensor includes an edge detection circuit and an error detection circuit. In one embodiment, the edge detection circuit includes circuits to detect edges (or transitions) of the threshold and peak detector output signals and the error detection circuit includes circuits, responsive to the edge detection circuit, to indicate an error when a “missed transition” occurs or a peak-to-peak value of an input signal as detected by the peak detector for a current cycle differs from an expected peak-to-peak value by a predetermined amount.