Patent ID: 8922205

Claim:
A magnetic field sensor comprising: first and second bridge circuits each including a plurality of magnetic sense elements configured to sense an external field, each of the magnetic sense elements having an axis; a current line adjacent to each of the plurality of magnetic sense elements; first circuitry configured to: apply a first reset current pulse and subsequently apply a first stabilization current on the current line; and measure the magnitude and direction of the external field as sensed by a first plurality of magnetic sense elements and determine an external field in the direction of the axis; second circuitry configured to: determine a magnitude and direction of at least one of a second reset current pulse and a second stabilization current for creating a second reset field pulse and a second stabilization field, as compared to a default reset field pulse and a default stabilization field, respectively, apply to a second group of plurality of magnetic sense elements at least one of the second reset field pulse prior to measuring the external field direction and magnitude or the second stabilization field while measuring the external field direction and magnitude; and measure the external field direction and magnitude.