  Fluxgate sensors are widely used in the field of low frequency and weak
vector magnetic field measurement because of their good performance, such as
high resolution and low power consumption. However, during the long-term
continuous observation, the drift errors of the fluxgate sensor will occur due
to the variable ambient temperature. This paper proposes a temperature
compensation method for fluxgate sensors based on polynomial fitting. First, a
physical model of the temperature & fluxgate sensor was established on the
COMSOL Multiphysics simulation platform, and the influence of temperature on
the measurement performance of the fluxgate sensor was analyzed. Second,
according to the existing temperature-magnetic field data, a temperature
compensation model of the fluxgate sensor was constructed. And compared it with
other temperature compensation method, the result shows that the proposed
temperature compensation method is relatively simple and can better achieve
real-time compensation for sensor application scenarios. Finally, to verify the
effectiveness of the proposed method, numerous laboratory experiments were
implemented. The temperature drift is reduced from more than 500 nT before
compensation to about 1 nT. The results show that the proposed method has a
good temperature compensation effect on the data measured by the fluxgate
sensor within a variable temperature background.
