Provided herein is a xylophone bar magnetometer (XBM) with automatic
resonance control, the XBM having a voltage input, a current drive input
and a sensor output, having a voltage input switch for switching between
a positive drive voltage and a negative drive voltage; a voltage
controlled oscillator (VCO) for controlling the voltage input switch; and
a feedback loop, connected between the sensor output and a input of the
VCO.