A magnetic field sensing system may include a first magnetic field sensing element; a second magnetic field sensing element; means for generating a first magnetic field having a first non-zero frequency; means for generating a second magnetic field having a second frequency; a conductive target positioned to generate a reflected magnetic field in response to the first magnetic field; means for producing a first signal representing the first magnetic field and the reflected magnetic field during a first alternating time period; means for producing a second signal representing the second magnetic field during a second alternating time period; means for calculating an error value as a function of the first and second signals, wherein the error value is based, at least in part, on the second signal during the first time period; and means for applying the error value to the first signal during the first alternating time period.