A magnetic array adaptive measurement method is proposed for TMR circular sensor arrays that are susceptible to interference from the external environment when measuring current. A design scheme for a TMR sensor is proposed and the influence of temperature, magnetic field and other factors on the measurement accuracy of the sensor is analysed by establishing a transfer function. A Least-Mean-Squares (LMS) algorithm-based filtering algorithm for magnetic array measurement is proposed, in which the measured magnetic field of the sensor for a certain period of time is used as input and the external spurious magnetic field signal is filtered to achieve adaptive shielding of the external magnetic field.