The invention relates to a method for testing
satellite-earth
time synchronization in a
satellite semi-physical
simulation test. The method comprises the following steps: S1, establishing a
satellite dynamics
simulation model, and operating the satellite dynamics
simulation model in a satellite dynamics simulation computer; S2, generating a synchronous second pulse
signal, and separately sending the synchronous second pulse
signal to an on-board computer and the satellite dynamics simulation computer; S3, receiving, by the satellite dynamics simulation model, a
time signal sent by the on-board computer in real time, comparing the
time signal with a
time signal corresponding to the second pulse
signal, taking the time signal sent by the on-board computer as an
orbit calculation time after a judgment is correct, and obtaining a satellite attitude
quaternion through calculation; and S4, adopting a
star sensor electrical
signal source to receive the satellite attitude
quaternion sent by the satellite dynamics simulation computer, simulation in-
orbit star
sky, transmitting the simulated in-
orbit star
sky to a
star sensor, and then forming closed-
loop control with the on-board computer through the
star sensor. A time
delay in
data transmission can be reduced,
time synchronization between the on-board computer and the ground satellite dynamics simulation computer is guaranteed, and test precision of a satellite
control system is improved.