Abstract:In order to improve the placed error in closed loop test when used electronic simulator,a compensation method is introduced. It introduced static calibration method, placed error is estimated, the software designed the compensated matrix, and put compensated matrix into the dynamic colosed loop test. If we don’t change the place, compensated matrix is not changed. When the system was in loop control, according to dynamic system’s output to compute the quaternion, it makes the electronic simulator acceded the changed compensated quaternion. This method make the star sensor sampled the accurate image. The results show that the proposed method improves the output accuracy compared with the conventional piecewise linear correction method,and provided a reference for engineers and technicians in similar application.