I. Introduction
Magnetometer is the main instrument to determine the attitudes in micro satellite. Magnetometer accuracy is an important indicator which influences the micro satellite attitude performance [1]–[7]. Attitude measurement and control system of a low power micro satellite is composed of magnetometer, sun sensor, gyroscope, momentum wheel, and magnetic torque. The control system of micro satellite realizes inertial orientation by using constant speed momentum wheel, so an important work of the control system is to control the pitch attitude. Magnetometer is used to estimate pitch attitude and pitch attitude rate. Sun sensor gets sun information in the light period, which is integrated with the solar calendar to gain pitch attitude of satellite. What is more, when sun sensor is combined with magnetometer, the satellite pitch attitude can be calculated with filters. Because of gyroscope's high precision, but high power consumption, it is only configured in pitch direction and periodically monitors satellite pitch rate. The satellite remanence interference is the main error sources of the magnetometer. Remanent magnetization is generally controlled by prelaunch remanence measurement and compensation. However, the effect is limited. Remanent magnetization is still about 900 nT after compensation. It will produce large error in attitude measurement. Traditional in-orbit error calibration algorithms only calibrated zero-biased error. In fact, scale factor error of magnetometer can't be ignored too.