A rotating
magnet magnetic field vector interference compensation method based on adaptive spectrum tracking, comprising: establishing a reference digital model of a rotating magnetic component, obtaining a raw magnetic measurement vector
signal sequence of a three-component magnetic sensor at a preset
observation point, and constructing a time-domain observation vector; establishing a finite
harmonic model of each axial component; establishing a
spatial modulation function; combining the finite
harmonic model with the
spatial modulation function to obtain a modulated time-domain
signal; performing
fast Fourier transform on the modulated time-domain
signal, adaptively updating second-order IIR notch filter parameters under candidate frequency
point set constraints, and then performing inverse
fast Fourier transform to obtain a
noise-reduced time-domain
magnetic field signal; obtaining a non-stationary
magnetic field signal across rotating speeds based on the
noise-reduced time-domain magnetic field signal; performing vector fusion and coordinate unification on the non-stationary magnetic field signal to output a final dynamic magnetic vector
signal mapping after interference compensation. The present application can improve the filtering effect on
noise frequency points and improve the interference
compensation effect.