A device for measuring a first magnetic field and the temperature of a magneto-resistive transducer, the intensity of the first magnetic field being unknown, the magneto-resistive transducer capable of producing a measurement signal dependent on the intensity of the first magnetic field, the measurement signal also being dependent on the temperature of the magneto-resistive transducer, the device comprising:
- a processing unit configured to:
- establish a measurement of the intensity of the first magnetic field on the basis of the measurement signal produced, and
- establish a measurement of the temperature of the magneto-resistive transducer, and
- a generator electrically insulated from the magneto-resistive transducer, configured to generate, at the same time as the first magnetic field, a second magnetic field whose characteristics are known, their second magnetic field being combined with the first magnetic field to form a resultant magnetic field which is measured by the magneto-resistive transducer, wherein the processing unit is further configured to:
- extract, from the measurement signal produced, the component of this signal which is dependent solely on the second magnetic field alone, using the known characteristics of the second magnetic field, and
- establish the temperature of the magneto-resistive transducer on the basis of the component extracted.