Patent ID: 8680848

Claim:
A motion sensor, comprising: a plurality of magnetic field sensing elements configured to generate a plurality of magnetic field signals indicative of a magnetic field associated with an object; a plurality of AGC circuits coupled to receive a respective plurality of signals representative of the plurality of magnetic field signals and configured to generate a respective plurality of gain-adjusted output signals; an AGC processor configured to generate a plurality of AGC control signals to control respective gains of the plurality of AGC circuits; and a channel amplitude difference processor coupled to receive a first signal representative of a first one of the plurality of AGC control signals and a second signal representative of a second one of the plurality of AGC control signals, wherein the channel amplitude difference processor is configured to detect if a value of the first signal is representative of a different gain than a value of the second signal by a predetermined amount, and configured to generate an AMP_DIFF_FLAG signal indicative of the different gain in response to the detection, wherein, in response to the AMP_DIFF_FLAG signal, the AGC processor is configured to change the value of the first one of the plurality of AGC control signals to bring its value closer to the value of the second one of the AGC control signals.