Abstract:The thermal expansion and contraction of the mechanical structure, temperature drift of circuit components, and variations in the magnetic induction intensity of the permanent magnet all contribute to indication drift in micro electromagnetic force weighing sensors. Investigating the mechanisms of hardware-induced drift, conducting appropriate temperature tests, and implementing effective temperature compensation methods are crucial for mitigating temperature-related drift issues. For a sensor with a range of 200 g and a resolution of 0.1 mg, this study employs mathematical modeling to analyze key factors including the mechanical lever force transmission ratio, voltage reference of the driving circuit, acquisition resistor, and the temperature drift model of the permanent magnet. This analysis identifies the primary contributors to temperature drift and determines the optimal installation position for the temperature-compensated sensor. A linear temperature rise test is conducted, collecting and recording indication drift data at each 10℃ interval. Quadratic fitting is then applied to derive the temperature drift compensation function. The study proposes an interval temperature compensation method where the zero reference point and half-scale reference point proportionally follow the maximum scale reference point. This approach compensates for both mechanical and circuit drifts without altering the length of the scale range interval. Additionally, the concept of dynamic compensation sensitivity is introduced, updating the compensation sensitivity in real time based on the ratio of the compensated interval length to the graduation number. This addresses asymmetry issues in temperature compensation amounts across different scale intervals and enhances compensation accuracy. Experimental results show that the proposed method achieves dynamic temperature compensation for a 200 g sensor with a resolution of 0.1 mg within the 5℃~35℃ range, with a compensation error absolute value less than 0.5 mg, thereby improving the sensor′s adaptability in environments with significant temperature fluctuations.