In inertial navigation system, gyro is used to measure the angular velocity of carrier relative to inertial space for achieve attitude matrix updated in real time. Gyro difficult to eliminate the error, results in strapdown inertial navigation system precision decrease with time. Star sensor is a high-precision attitude measuring instrument and don’t require any priori information, the attitude date can be provided by star sensor. Thus, gyro is simulated by star sensor in order to improve the precision of strapdown inertial navigation system.